CN116775200A - AOD display method and electronic equipment - Google Patents

AOD display method and electronic equipment Download PDF

Info

Publication number
CN116775200A
CN116775200A CN202311071495.2A CN202311071495A CN116775200A CN 116775200 A CN116775200 A CN 116775200A CN 202311071495 A CN202311071495 A CN 202311071495A CN 116775200 A CN116775200 A CN 116775200A
Authority
CN
China
Prior art keywords
screen
noise
display
ambient light
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311071495.2A
Other languages
Chinese (zh)
Other versions
CN116775200B (en
Inventor
王浩
王思文
朱英杰
刘铁良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202311071495.2A priority Critical patent/CN116775200B/en
Publication of CN116775200A publication Critical patent/CN116775200A/en
Application granted granted Critical
Publication of CN116775200B publication Critical patent/CN116775200B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application provides an AOD display method and electronic equipment, wherein the method is executed by the electronic equipment and comprises the following steps: acquiring sensor data, wherein the sensor data comprises screen noise data generated by lighting of a display screen of the electronic equipment; if the current state of the display screen of the electronic equipment is a preset state, calculating the current screen noise, wherein the preset state represents that the display screen of the electronic equipment is in a screen-off state and is displayed in a full-screen AOD; and performing noise removal on the sensor data according to the current screen noise, and performing screen dimming on the sensor data after the noise removal so as to adjust the full-screen AOD display effect. The method can improve the AOD display effect.

Description

AOD display method and electronic equipment
Technical Field
The application relates to the technical field of electronics, in particular to an AOD display method and electronic equipment.
Background
Currently, electronic devices are provided with various interaction modes, and a rich experience is provided for users in the process of using the electronic devices. In general, an electronic device may include a bright screen state in which a user may perform various operations on the electronic device and a dead screen (or lock screen) state; in the off-screen state, the electronic equipment enters into dormancy, if a user wants to view some information, such as time, date or notification, in the off-screen state, the user needs to press a power key to trigger the electronic equipment to display a screen saver interface to acquire the information, and the operation is inconvenient for the user.
With the development of off-screen display (AOD) technology, the electronic device can continuously display useful information, such as continuous display time, date, notification and the like, in an off-screen state. However, in the current related art, the content of information displayed by the AOD is limited, and the display effect is poor.
Disclosure of Invention
The application provides an AOD display method and electronic equipment, which can improve the AOD display effect.
In a first aspect, the present application provides an AOD display method, the method being performed by an electronic device, comprising:
acquiring sensor data, wherein the sensor data comprises screen noise data generated by the luminescence of a display screen of the electronic equipment;
if the current state of the display screen of the electronic equipment is a preset state, calculating current screen noise, wherein the preset state represents that the display screen of the electronic equipment is in a screen-off state and is displayed in a full-screen AOD;
and performing noise removal on the sensor data according to the current screen noise, and performing screen dimming on the sensor data after the noise removal so as to adjust the full-screen AOD display effect.
The sensor data may be ambient light data, which may be collected by an ambient light sensor. Optionally, the electronic device may acquire the data collected by the ambient light sensor with a fixed period of time and integrate the data to obtain the ambient light data. Alternatively, the fixed duration may be 350 milliseconds. After the sensor is acquired, the electronic device can monitor the state of the display screen, if the current state of the display screen is a preset state, the electronic device is indicated to be in full-screen AOD display, and then screen dimming is required according to the ambient light data so as to adapt to the ambient light with different intensities. And because the acquired sensor data includes the screen noise data generated by the light emission of the display screen, the electronic device needs to remove the screen noise caused by the screen noise data. Thus, the electronic device may calculate the current screen noise, noise-remove the sensor data according to the current screen noise, and screen-dim according to the noise-removed sensor data.
It will be appreciated that after screen dimming according to the currently acquired sensor data, the electronic device may continue to acquire sensor data in the next cycle and repeatedly perform the above steps to achieve automatic continuous dimming of the display screen.
According to the implementation mode, when the electronic equipment performs AOD display on the full-screen interface, screen noise can be removed from the acquired ambient light data, real ambient light data is obtained, and further continuous and automatic screen dimming is performed according to the real ambient light data, so that the AOD display effect is better, and user experience is improved.
With reference to the first aspect, in some implementations of the first aspect, the calculating the current screen noise includes:
monitoring backlight parameters of the display screen and a picture brushing event, wherein the backlight parameters represent brightness information of the display screen, and the picture brushing event represents RGB information of an image displayed by the display screen;
and calculating the current screen noise according to the backlight parameter and the picture brushing event.
The electronic device may calculate current screen noise according to the backlight parameters and the image brushing event of the display screen, and optionally, the electronic device may start a matte write-back (CWB) function to monitor the backlight parameters and the image brushing event of the display screen. Here, the backlight parameter of the display screen may represent brightness information of the display screen, the brightness value range is generally 0 to 4096 levels, the brush event may represent red, yellow, blue, RGB information of an image displayed by the display screen, and the RGB value range is generally 0 to 255. Then, the electronic equipment can call a matting algorithm library to calculate according to the backlight parameters and the matting event so as to obtain the current screen noise.
With reference to the first aspect, in some implementations of the first aspect, the foregoing sensor data is ambient light data, and calculating the current screen noise according to the backlight parameter and the map brushing event includes:
determining first noise according to the backlight parameters and a first curve function, wherein the first curve function represents the corresponding relation between different brightness values of a display screen and the influence of the different brightness values on the ambient light, and the first noise represents the influence of the ambient light corresponding to the backlight parameters;
determining second noise according to the image brushing event and a second curve function, wherein the second curve function represents the corresponding relation between different RGB information of a display image and the influence on the ambient light, and the second noise represents the influence on the ambient light corresponding to the image brushing event;
and calculating the current screen noise according to the first noise and the second noise.
The matting algorithm library may include at least two curve functions, wherein a first curve function represents a corresponding relation between different brightness values of the display screen and an influence on ambient light, and a second curve function represents a corresponding relation between different RGB information of the display image and the influence on ambient light. Therefore, when the electronic device monitors the current backlight parameter and the image brushing event, the magnitude of the influence on the ambient light corresponding to the backlight parameter (representing the brightness information of the display screen), namely the first noise, can be determined according to the first curve function, and the magnitude of the influence on the ambient light corresponding to the image brushing event (representing the RGB information of the image displayed by the display screen), namely the second noise, can be determined according to the second curve function. The electronic device may then calculate a current screen noise from the first noise and the second noise.
Since the electronic device may determine the brightness value and the RGB value when determining the first noise corresponding to the backlight parameter and the second noise corresponding to the image brushing event, but the brightness value and the RGB value in the actual scene are not necessarily at the full level, the electronic device needs to weight the first noise and the second noise when calculating the current screen noise according to the first noise and the second noise, so as to obtain the noise corresponding to the actual scene.
In some implementations, calculating the current screen noise according to the first noise and the second noise includes: and carrying out weighted summation on the first noise and the second noise to obtain the current screen noise.
It can be understood that when determining the weighting coefficients corresponding to the first noise and the second noise respectively, the electronic device may be determined according to the brightness value corresponding to the backlight parameter and the RGB value corresponding to the image brushing event, or may be determined in combination with the actual scene requirement.
According to the implementation mode, the electronic equipment calculates the current screen noise by monitoring the backlight parameters of the display screen and the image brushing event, and then removes noise in the sensor data according to the current screen noise, so that the AOD display effect is better.
With reference to the first aspect, in some implementations of the first aspect, after the acquiring the sensor data, the method further includes:
monitoring a screen-on event and a screen-off event of the display screen, and storing the state of the display screen according to the screen-on event and the screen-off event of the display screen.
The electronic device needs to determine what state the display screen is currently in, because the electronic device determines whether the current state of the display screen is a preset state. Here, the electronic device may monitor the on-screen event and the off-screen event of the display screen, alternatively, the electronic device may monitor the on-screen event and the off-screen event of the display screen through the HWC module in the AP processor. If a bright screen event and a dead screen event are monitored, the state of the display screen may be saved.
With reference to the first aspect, in some implementations of the first aspect, the performing screen dimming according to the sensor data after noise removal includes:
judging whether a preset condition is met according to the sensor data after noise removal, wherein the preset condition represents that the change degree of the sensor data reaches a threshold value;
and if the preset condition is met, performing screen dimming according to the sensor data after the noise is removed.
The electronic device enters the sleep state when in the screen-off state, and if the AOD display effect is to be adjusted, the processor needs to be awakened. At this time, if the electronic device wakes up the processor every time the sensor data after noise removal is calculated, the processing power consumption of the electronic device will be increased. Therefore, after the sensor data after noise removal is obtained, the electronic device can also judge whether the preset condition is met, if the preset condition is met, screen dimming is performed, and if the preset condition is not met, screen dimming is not performed currently. The preset condition can represent that the change degree of the sensor data reaches a threshold value, the change degree of the sensor data can be determined according to the difference between the sensor data after the current noise is removed and the sensor data after the last noise is removed, and if the change degree of the sensor data reaches the threshold value, the preset condition is met, so that screen dimming can be performed. Thus, the processing power consumption of the electronic device can be reduced.
With reference to the first aspect, in some implementations of the first aspect, the noise removing the sensor data according to the current screen noise includes:
And removing noise from the sensor data based on the matting calibration data and the current screen noise.
In the process of removing noise of the electronic equipment, in order to further improve the accuracy of the obtained sensor data, the electronic equipment can be provided with the matting calibration data in advance, and the matting calibration data is used as a reference to remove noise of the sensor data based on current screen noise.
With reference to the first aspect, in some implementations of the first aspect, the electronic device may include a full-screen AOD application, a matting algorithm library, a HWC module, a module for storing matting calibration data (abbreviated as a storage module), an ambient light sensor application, a full-screen AOD virtual sensor application, an ambient light sensor driver, and a full-screen AOD virtual sensor driver. The full-screen AOD application, the matting algorithm library, the HWC module and the module for storing matting calibration data (simply referred to as a storage module) can be integrated in the AP processor, and the ambient light sensor application, the full-screen AOD virtual sensor application, the ambient light sensor drive and the full-screen AOD virtual sensor drive can be integrated in the Modem processor. The AOD display method may include:
the ambient light sensor drives to acquire data acquired by the ambient light sensor and integrates the data, so as to calculate ambient light data;
The driving of the ambient light sensor judges whether the current state of the display screen is a preset state, if the current state is not the preset state, the data collected by the ambient light sensor is continuously obtained and integrated, and if the current state is the preset state, the ambient light data is sent to the HWC module through the application of the ambient light sensor;
the HWC module monitors a screen-on event and a screen-off event of the display screen, judges whether the current state of the display screen is a preset state, if not, continues to monitor the screen-on event and the screen-off event of the display screen, if so, starts a CWB function, monitors backlight parameters and a map-brushing event of the display screen;
the HWC module calls a matting algorithm library to calculate and obtain current screen noise according to the backlight parameters and the matting events, and carries out noise removal on the ambient light data according to the current screen noise to obtain real ambient light data;
the HWC module sends real ambient light data to an ambient light sensor driver through an ambient light sensor application, and the ambient light sensor driver sends the real ambient light data to a full-screen AOD virtual sensor driver;
the full-screen AOD virtual sensor driver judges whether the real environment light data meets preset conditions, and if so, the real environment light data is sent to the full-screen AOD application through the full-screen AOD virtual sensor application;
And the full-screen AOD application performs screen dimming according to the real ambient light data so as to adjust the full-screen AOD display effect.
In a second aspect, the present application provides an apparatus, which is included in an electronic device, the apparatus having a function of implementing the above first aspect and the behavior of the electronic device in the possible implementation manners of the above first aspect. The functions may be realized by hardware, or may be realized by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the functions described above. Such as a receiving module or unit, a processing module or unit, etc.
In a third aspect, the present application provides an electronic device, including: a processor, a memory, and an interface; the processor, the memory and the interface cooperate with each other such that the electronic device performs any one of the methods of the technical solutions of the first aspect.
In a fourth aspect, the present application provides a chip comprising a processor. The processor is configured to read and execute a computer program stored in the memory to perform the method of the first aspect and any possible implementation thereof.
Optionally, the chip further comprises a memory, and the memory is connected with the processor through a circuit or a wire.
Further optionally, the chip further comprises a communication interface.
In a fifth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, which when executed by a processor causes the processor to perform any one of the methods of the first aspect.
In a sixth aspect, the application provides a computer program product comprising: computer program code which, when run on an electronic device, causes the electronic device to perform any one of the methods of the solutions of the first aspect.
Drawings
FIG. 1 is a schematic diagram of an example AOD display effect provided by the related art;
fig. 2 is a schematic structural diagram of an example of an electronic device according to an embodiment of the present application;
FIG. 3 is a block diagram of a software architecture of an example electronic device according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating an example of a process for turning on an AOD display function according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an AOD display according to an embodiment of the present application;
FIG. 6 is a flowchart of an exemplary AOD display method according to an embodiment of the present application;
fig. 7 is a block interaction flowchart of an example AOD display method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" means two or more than two.
The terms "first," "second," "third," and the like, are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", or a third "may explicitly or implicitly include one or more such feature.
Currently, electronic devices are provided with various interaction modes, and a rich experience is provided for users in the process of using the electronic devices. In general, an electronic device may include a bright screen state in which the electronic device is awakened and a dead screen (or lock screen) state in which a user may perform various operations on the electronic device, such as making a call, viewing a video, browsing a web page, etc.; in the off-screen state, the electronic device enters into sleep, and the user can not operate any more, but if the user wants to view some information, such as time, date or notification, in the off-screen state, the user needs to press a power key, and at this time, the electronic device can be triggered to display a screen saver interface, and the screen saver interface can be presented with the information such as time, date or notification. In some related technologies, the screen saver interface of the electronic device may also receive an interactive operation of a user, for example, a photographing control is presented on the screen saver interface, and the user may trigger to start the photographing application without unlocking the screen. However, these processes in the related art all require the user to trigger the display screen saver interface to be implemented, and in some scenarios the user may not be convenient to operate the electronic device.
Accordingly, AOD technology has grown and AOD displays have enabled electronic devices to continue to display useful information, such as time, date, notification, etc., in an off-screen state, i.e., electronic devices that still display such information in the event of an off-screen (i.e., a blackout screen). For example, the effect of AOD display in the related art is shown in fig. 1, that is, information such as time, date, electric quantity and the like may be displayed in a partial area of the display screen, and in the case that a message notification arrives, notification prompt information may also be displayed.
However, as can be seen from the example shown in fig. 1, since the electronic device is AOD displayed in a partial area of the display screen, the content of the displayed information is relatively limited; in the related art, no control which can be operated by a user exists on an AOD display interface of the electronic equipment, namely interaction with the user cannot be performed, and if the user needs to interact with the electronic equipment in a screen-off state, the screen-protection interface is still triggered or the screen is unlocked and then the operation is performed. That is, the AOD display method in the related art is not highly interactive to the user.
The AOD display method provided by the embodiment of the application can be used for carrying out AOD display on the full screen interface of the electronic equipment, and can be used for carrying out continuous and automatic screen dimming according to the influence of ambient light, thereby improving the AOD display effect and correspondingly improving the user experience. It should be noted that, the AOD display method provided by the embodiment of the present application may be applied to an electronic device capable of AOD display, such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (mobile personal computer, UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA), and the like, and the embodiment of the present application does not limit the specific type of the electronic device.
Fig. 2 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application. Taking the example of the electronic device 100 being a mobile phone, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, a subscriber identity module (subscriber identification module, SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a Modem processor (Modem), a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it may be called directly from memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces 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 receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic device 100.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing functions of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. The structures of the antennas 1 and 2 in fig. 2 are only one example. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer-executable program code that includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The ambient light sensor 180L is used to sense ambient light level. The electronic device 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. Ambient light sensor 180L may also cooperate with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent false touches.
The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 3 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system may be divided into an application layer, a hardware description layer, a kernel layer, and a driver layer from top to bottom.
The application layer may include a series of application packages, which may include, for example, a full screen AOD application, an ambient light sensor application, and a full screen AOD virtual sensor application. In addition, the application package may include applications (not shown in fig. 3) such as cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The hardware description layer may include a matting algorithm library and HWC (hwcomposer) module. The kernel layer may include a module (which may be simply referred to as a memory module) that stores the matting calibration data. The drive layer may include an ambient light sensor drive and a full screen AOD virtual sensor drive.
In some embodiments, a full screen AOD application, a matting algorithm library, a HWC module, and a module to store matting calibration data may be integrated in an AP processor, and an ambient light sensor application, a full screen AOD virtual sensor application, an ambient light sensor driver, and a full screen AOD virtual sensor driver may be integrated in a Modem processor.
The ambient light sensor application may, among other things, obtain ambient light data from the ambient light sensor driver and transmit the ambient light data to the HWC module of the AP processor. The HWC module is a module for synthesizing and displaying windows (layers) in Android, can monitor a bright screen event and a off screen event of the electronic equipment, monitors backlight parameters and a picture brushing event when the off screen is off and the AOD is in a full screen display state, invokes a picture matting algorithm library to calculate screen noise at the moment, and finally carries out screen noise removal on received ambient light data in combination with picture matting calibration data and returns the screen noise to an ambient light sensor application. The ambient light sensor application sends ambient light data with screen noise removed to the full-screen AOD virtual sensor drive through the ambient light sensor drive, the full-screen AOD virtual sensor drive carries out threshold filtering on the received ambient light data, and when preset conditions are met, the ambient light data is transmitted to the full-screen AOD application through the full-screen AOD virtual sensor application for processing. The full screen AOD application may then dim the screen according to the received ambient light data.
It can be appreciated that the full-screen AOD virtual sensor driver described above is a virtual driver that can be virtually generated when the electronic device is powered on and that can begin to operate when the electronic device is powered on.
In some embodiments, the software system of the electronic device may include an application framework layer, an Zhuoyun row (Android run) and a system library in addition to the software structure shown in fig. 3.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
The application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like. The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc. The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture. The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.). The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like. The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android runtimes include core libraries and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), 2D graphics engine (e.g., SGL), etc. The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications. Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc. The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like. The 2D graphics engine is a drawing engine for 2D drawing.
For easy understanding, the following embodiments of the present application will take an electronic device having a structure shown in fig. 2 and fig. 3 as an example, and specifically describe an AOD display method provided by the embodiments of the present application with reference to the accompanying drawings and application scenarios.
Firstly, an application scenario of the AOD display method provided by the application is introduced, in general, when a user uses an electronic device, if a power key is pressed down, the electronic device can be triggered to enter a screen-off state, and in the case that the electronic device does not start an AOD function, the screen-off state of the electronic device is a black screen state, and at the moment, the user cannot perform interactive operation with the electronic device. And in the case that the electronic device turns on the AOD function, the electronic device may perform AOD display. The embodiment of the application provides a mode for starting an AOD function, as shown in fig. 4, a display and brightness control 41 is displayed on a setting interface of electronic equipment, a user clicks the display and brightness control 41, and the electronic equipment enters the setting interface of display and brightness; and displaying an off-screen display control 42 on the setting interface of display and brightness, clicking the off-screen display control 42 by a user, and entering the setting interface of off-screen display by the electronic equipment.
As can be seen from the setup interface of the off screen display, if the user wants to turn on the AOD function, the switch control 43 can be clicked and a different off screen style selected when the AOD function is turned on. In the embodiment of the application, the screen quenching grid is provided with a full-screen AOD mode and a classical mode, wherein the full-screen AOD mode is used for displaying information to be displayed on a full-screen interface of the electronic equipment. In some embodiments, in the full-screen AOD mode, the user may also customize the display mode, pattern, color, background, etc. of the selected information, and optionally, the background may be the same as or different from the screen saver interface set by the electronic device.
For example, as shown in fig. 5, the full-screen AOD display interface provided by the embodiments of the present application may be displayed after the electronic device enters the off-screen state after the user presses the power key. As can be seen from fig. 5, the full screen interface of the electronic device is displayed with information such as time, date, and electric quantity, and the background of the information fills the full screen interface of the electronic device. And controls of the camera application and the flashlight application are also displayed below the full screen interface, and the controls can respond to triggering operations of a user, for example, the user clicks the controls of the camera application, and the electronic device can enter the camera running interface. In the case where the electronic device receives the message notification, notification prompt information may be displayed on the interface shown in fig. 5, and the user may click on the prompt information to display, or the like. That is, in the off-screen state in the embodiment of the present application, the user may still perform an interactive operation with the electronic device due to the full-screen AOD display.
In some embodiments, the display brightness of the electronic device when performing full-screen AOD display may be lower than the display brightness of the screen saver interface, which may reduce the processing power consumption of the electronic device to some extent. For example, in the case where the background of the AOD display is the same as the screen saver interface provided by the electronic device, the display brightness at the time of full-screen AOD display is darker than the display brightness of the screen saver interface from the visual point of view. In other embodiments, where the display brightness is lower than the display brightness of the screen saver interface when full-screen AOD display is performed, the electronic device may highlight text information on the full-screen AOD display interface to facilitate a user focusing on the displayed text information.
However, when the electronic device performs full-screen AOD display, the display brightness of the electronic device is easily affected by external ambient light, for example, the brighter the display brightness of the electronic device is required when the ambient light is stronger, the darker the display brightness of the electronic device is required when the ambient light is weaker, and the electronic device needs to perform screen dimming according to the ambient light. Because the current popular electronic devices are all comprehensive screens, and the ambient light sensor for collecting the ambient light data is usually arranged below the display screen, the ambient light data collected by the ambient light sensor is affected by the screen lighting, that is, the collected ambient light data contains screen noise. Therefore, when the embodiment of the application is used for full-screen AOD display, if the electronic equipment is required to realize accurate screen dimming, the screen luminous influence in the ambient light data is required to be removed, namely screen noise is removed.
Based on this, an embodiment of the present application proposes an AOD display method, and fig. 6 is a schematic flow chart of an example of an AOD display method provided by the embodiment of the present application, where the method may be executed by an electronic device, and may specifically include:
s101, acquiring sensor data.
The sensor data may be ambient light data, which may be collected by an ambient light sensor. In one implementation, the ambient light sensor driver may acquire data collected by the ambient light sensor and integrate the data with a fixed period of time. Alternatively, the fixed duration may be 350 milliseconds (ms), i.e., the ambient light sensor drive acquires and integrates ambient light data once every 350 ms. It will be appreciated that, because the ambient light sensor collects data and is affected by the screen luminescence, the ambient light sensor drives the integrated ambient light data to include real ambient light data and screen noise data.
Alternatively, the sensor data (i.e., ambient light data) acquired by the electronic device may include data for three channels of color, intensity, and direction.
S102, if the current state of the display screen of the electronic equipment is a preset state, calculating current screen noise.
The preset state may represent that the display screen of the electronic device is in a screen off state (Doze state) and is being displayed in a full screen AOD. If the current state of the display screen of the electronic device is a preset state, the electronic device is indicated to be in full-screen AOD display, and then screen dimming is required according to the ambient light data so as to adapt to the ambient light with different intensities. Because the acquired sensor data includes the screen noise data, the electronic device needs to remove the screen noise caused by the screen noise data, so that the electronic device needs to calculate the current screen noise at this time.
In one implementation, the electronic device may monitor a bright screen event and a dead screen event of the display screen, and save a state of the display screen according to the bright screen event and the dead screen event. For example, when the electronic device monitors a screen-off event, the state of the display screen is saved as a screen-off state (Doze). Alternatively, the electronic device may monitor the display for a bright screen event and a off screen event through a HWC module in the AP processor. For example, the user is using the electronic device to perform interactive operation, if the power key is pressed, the electronic device is triggered to enter a screen off state, and the electronic device can monitor the screen off event.
In one implementation, in calculating the current screen noise, the electronic device may calculate the current screen noise based on the backlight parameters of the display screen and the brush event. Optionally, when the current state of the display screen of the electronic device is a preset state, the electronic device may start a scratch write back (CWB) function to monitor backlight parameters and a brush event of the display screen. The backlight parameter of the display screen may represent brightness information of the display screen, the brightness value range is generally 0 to 4096 level, the image brushing event may represent RGB information of an image displayed by the display screen, and the RGB value range is generally 0 to 255. Then, the electronic equipment can call a matting algorithm library to calculate according to the backlight parameters and the matting event so as to obtain the current screen noise.
Optionally, the matting algorithm library may include at least two curve functions, a first curve function represents a corresponding relationship between different brightness values of the display screen and an influence magnitude caused to the ambient light, and a second curve function represents a corresponding relationship between different RGB information of the display image and the influence magnitude caused to the ambient light. Therefore, if the electronic device monitors the current backlight parameter and the image brushing event, the influence of the backlight parameter on the ambient light, namely the first noise, can be determined according to the first curve function, and the influence of the image brushing event on the ambient light, namely the second noise, can be determined according to the second curve function. The electronic device may then calculate a current screen noise from the first noise and the second noise. Optionally, the electronic device may weight sum the first noise and the second noise to calculate the current screen noise; it should be noted that, the electronic device may determine the weighting coefficient according to the brightness value corresponding to the backlight parameter and the RGB value corresponding to the image brushing event, but the embodiment of the present application does not limit the manner of weighting and summing.
S103, carrying out noise removal on the sensor data according to the current screen noise, and carrying out screen dimming according to the sensor data after the noise removal so as to adjust the full-screen AOD display effect.
Because the current screen noise is obtained through calculation, the acquired sensor data comprise real ambient light data and screen noise data, and then the electronic equipment can remove the screen noise data in the sensor data to obtain the real ambient light data. In one implementation manner, when noise is removed from the sensor data, the noise-removed channel values may be obtained by processing the three channels corresponding to the sensor data, and then the electronic device may integrate the noise-removed channel values to obtain the noise-removed sensor data. In one implementation, the electronic device may also combine the stored matting calibration data to remove screen noise data from the sensor data to obtain real ambient light data.
Then, the electronic device can perform screen dimming according to the sensor data after noise removal so as to adjust the full-screen AOD display effect. Because the AOD display is performed in the off-screen state of the electronic equipment, and the electronic equipment is in the dormant state in the off-screen state, if the electronic equipment needs to adjust the AOD display effect, the processor needs to be awakened to realize the AOD display. Therefore, in order to avoid the problem that the power consumption is too high caused by frequent wake-up of the processor by the electronic device, in an achievable manner, the electronic device can also judge whether a preset condition is met after obtaining the sensor data after noise removal, if the preset condition is met, screen dimming is performed, and if the preset condition is not met, screen dimming is not performed currently.
Optionally, the preset condition may indicate that the degree of change of the ambient light data reaches a threshold, where the degree of change of the ambient light data may be determined according to a difference between the ambient light data after the current noise is removed and the ambient light data after the previous noise is removed, and if the degree of change of the ambient light data reaches the threshold, it indicates that the preset condition is met, and the electronic device may perform the screen dimming processing.
It will be appreciated that after screen dimming according to the currently acquired sensor data, the electronic device may continue to acquire sensor data in the next cycle and repeatedly perform steps S102 to S103 to achieve automatic continuous dimming of the display screen.
According to the AOD display method, when the electronic equipment performs AOD display on the full-screen interface, screen noise can be removed from the acquired ambient light data, so that real ambient light data is obtained, and further continuous and automatic screen dimming is performed according to the real ambient light data, so that the AOD display effect is better, and user experience is improved.
For the AOD display method provided by the embodiment of the present application, the following description is made with reference to the software architecture shown in fig. 3, and fig. 7 is a module interaction timing diagram of an example of the AOD display method provided by the embodiment of the present application, where the embodiment is shown by integrating a full-screen AOD application, a matting algorithm library, a HWC module, and a module for storing matting calibration data (abbreviated as a storage module) into an AP processor, and integrating an ambient light sensor application, a full-screen AOD virtual sensor application, an ambient light sensor driver, and a full-screen AOD virtual sensor driver into a Modem processor, which may specifically include:
S11, driving by an ambient light sensor to acquire acquired data and integrating, and calculating to obtain ambient light data.
Optionally, the ambient light sensor driver may acquire data collected by the ambient light sensor with a fixed period of time as a period and integrate the data to obtain ambient light data, where the ambient light data includes real ambient light data and screen noise data.
S12, the ambient light sensor drive judges whether the current state of the display screen is a preset state, if so, S13 is executed, and if not, S11 is executed.
The preset state may characterize that a display screen of the electronic device is in a screen off state (Doze) and is being displayed in a full screen AOD. If the current state of the display screen is a preset state, the ambient light sensor is driven to execute subsequent operations; if the current state of the display screen is not the preset state, the ambient light sensor is driven to continuously acquire the acquired data and integrate.
Alternatively, the ambient light sensor driver may obtain the current state of the display screen from the HWC module in the AP processor.
S13, the ambient light sensor driver sends ambient light data to the HWC module through the ambient light sensor application.
Alternatively, the ambient light sensor driver may send ambient light data to the HWC module by running a stop run stop mechanism.
S14, the HWC module monitors a bright screen event and a dead screen event of the display screen.
S15, the HWC module judges whether the current state of the display screen is a preset state, if so, the S16 is executed, and if not, the S14 is executed.
That is, if the current state of the display screen is a preset state, the HWC module performs a subsequent operation; if the current state of the display screen is not the preset state, the HWC module continuously monitors the bright screen event and the off screen event of the display screen.
S16, the HWC module starts the CWB function, monitors backlight parameters of the display screen and monitors a map brushing event.
S17, the HWC module calls a matting algorithm library to calculate and obtain current screen noise according to the backlight parameters and the matting event.
The execution process of S17 may be referred to the description of S102, and will not be repeated here.
And S18, the HWC module performs noise removal on the ambient light data according to the current screen noise to obtain real ambient light data.
The execution process of S18 may be referred to the description of S103, and will not be repeated here. Optionally, the HWC module may call the matting calibration data stored in the storage module to remove the screen noise data in the ambient light data, to obtain the real ambient light data.
S19, the HWC module sends the real ambient light data to the ambient light sensor driver via the ambient light sensor application.
Likewise, the HWC module may send real ambient light data to the ambient light sensor driver via a run stop mechanism.
S20, the ambient light sensor driver sends real ambient light data to the full-screen AOD virtual sensor driver.
S21, judging whether the real environment light data meet the preset conditions or not by the full-screen AOD virtual sensor driver, executing S22 if the real environment light data meet the preset conditions, and not currently carrying out screen dimming if the real environment light data do not meet the preset conditions.
The preset condition may be that the degree of change of the ambient light data reaches a threshold value, and if the difference between the current real ambient light data and the last real ambient light data reaches the threshold value, a subsequent screen dimming step is performed.
S22, the full-screen AOD virtual sensor driver sends the real ambient light data to the full-screen AOD application through the full-screen AOD virtual sensor application.
S23, screen dimming is carried out by the full-screen AOD application according to the real environment light data so as to adjust the full-screen AOD display effect.
Optionally, the screen dimming performed by the full-screen AOD application may be to adjust parameters such as brightness and color of the display screen, so as to adapt to the current ambient light to the greatest extent.
According to the AOD display method, when the electronic equipment performs AOD display on the full-screen interface, screen noise can be removed from the acquired ambient light data, so that real ambient light data is obtained, and further continuous and automatic screen dimming is performed according to the real ambient light data, so that the AOD display effect is better, and user experience is improved.
Examples of the AOD display method provided by the embodiments of the present application are described above in detail. It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application in conjunction with the embodiments, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional modules of the electronic device according to the method example, for example, each function can be divided into each functional module, for example, a detection unit, a processing unit, a display unit, and the like, and two or more functions can be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
The electronic device provided in this embodiment is configured to execute the AOD display method described above, so that the same effects as those of the implementation method described above can be achieved.
In case an integrated unit is employed, the electronic device may further comprise a processing module, a storage module and a communication module. The processing module can be used for controlling and managing the actions of the electronic equipment. The memory module may be used to support the electronic device to execute stored program code, data, etc. And the communication module can be used for supporting the communication between the electronic device and other devices.
Wherein the processing module may be a processor or a controller. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, digital signal processing (digital signal processor, DSP) and microprocessor combinations, and the like. The memory module may be a memory. The communication module can be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip and other equipment which interact with other electronic equipment.
In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having the structure shown in fig. 2.
The embodiment of the application also provides a computer readable storage medium, in which a computer program is stored, which when executed by a processor, causes the processor to execute the AOD display method of any of the above embodiments.
The embodiment of the application also provides a computer program product which, when run on a computer, causes the computer to perform the above-mentioned related steps to implement the AOD display method in the above-mentioned embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be embodied as a chip, component or module, which may include a processor and a memory coupled to each other; the memory is used for storing computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory, so that the chip executes the AOD display method in each method embodiment.
The electronic device, the computer readable storage medium, the computer program product or the chip provided in this embodiment are used to execute the corresponding method provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding method provided above, and will not be described herein.
It will be appreciated by those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (10)

1. An AOD display method, the method performed by an electronic device, the method comprising:
acquiring sensor data, wherein the sensor data comprises screen noise data generated by the luminescence of a display screen of the electronic equipment;
if the current state of the display screen of the electronic equipment is a preset state, calculating current screen noise, wherein the preset state represents that the display screen of the electronic equipment is in a screen-off state and is in full screen-off AOD display;
and performing noise removal on the sensor data according to the current screen noise, and performing screen dimming on the sensor data after the noise removal so as to adjust the full-screen AOD display effect.
2. The method of claim 1, wherein said calculating current screen noise comprises:
Monitoring backlight parameters of the display screen and a picture brushing event, wherein the backlight parameters represent brightness information of the display screen, and the picture brushing event represents RGB information of an image displayed by the display screen;
and calculating the current screen noise according to the backlight parameter and the picture brushing event.
3. The method of claim 2, wherein the sensor data is ambient light data, and wherein the calculating the current screen noise from the backlight parameter and the brush event comprises:
determining first noise according to the backlight parameters and a first curve function, wherein the first curve function represents the corresponding relation between different brightness values of a display screen and the influence of the different brightness values on the ambient light, and the first noise represents the influence of the ambient light corresponding to the backlight parameters;
determining second noise according to the image brushing event and a second curve function, wherein the second curve function represents the corresponding relation between different RGB information of a display image and the influence on the ambient light, and the second noise represents the influence on the ambient light corresponding to the image brushing event;
and calculating the current screen noise according to the first noise and the second noise.
4. A method according to claim 3, wherein said calculating said current screen noise from said first noise and said second noise comprises:
and carrying out weighted summation on the first noise and the second noise to obtain the current screen noise.
5. The method of any one of claims 1 to 4, wherein after the acquiring sensor data, the method further comprises:
monitoring a screen-on event and a screen-off event of the display screen, and storing the state of the display screen according to the screen-on event and the screen-off event of the display screen.
6. The method according to any one of claims 1 to 4, wherein the performing screen dimming according to the noise-removed sensor data comprises:
judging whether a preset condition is met according to the sensor data after noise removal, wherein the preset condition represents that the change degree of the sensor data reaches a threshold value;
and if the preset condition is met, performing screen dimming according to the sensor data after the noise is removed.
7. The method of any of claims 1 to 4, wherein said noise removing the sensor data from the current screen noise comprises:
And removing noise from the sensor data based on the matting calibration data and the current screen noise.
8. The method of any one of claims 1 to 4, wherein the acquiring sensor data comprises:
and acquiring data acquired by the sensor by taking the fixed time length as a period and integrating the data to obtain the sensor data.
9. An electronic device, comprising:
one or more processors;
one or more memories;
the memory stores one or more programs that, when executed by the processor, cause the electronic device to perform the method of any of claims 1-8.
10. A computer readable storage medium, in which a computer program is stored which, when executed by a processor, invokes instructions to cause an electronic device to perform the method of any one of claims 1 to 8.
CN202311071495.2A 2023-08-24 2023-08-24 AOD display method and electronic equipment Active CN116775200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311071495.2A CN116775200B (en) 2023-08-24 2023-08-24 AOD display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311071495.2A CN116775200B (en) 2023-08-24 2023-08-24 AOD display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN116775200A true CN116775200A (en) 2023-09-19
CN116775200B CN116775200B (en) 2023-11-17

Family

ID=88008505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311071495.2A Active CN116775200B (en) 2023-08-24 2023-08-24 AOD display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN116775200B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009212964A (en) * 2008-03-05 2009-09-17 Toshiba Mobile Display Co Ltd Photo-sensor incorporated mobile terminal and photometric control method of the photo-sensor incorporated mobile terminal
CN107665697A (en) * 2017-10-20 2018-02-06 维沃移动通信有限公司 The adjusting method and mobile terminal of a kind of screen intensity
CN107748640A (en) * 2017-10-31 2018-03-02 维沃移动通信有限公司 One kind puts out screen display methods and mobile terminal
CN111405109A (en) * 2020-03-09 2020-07-10 北京小米移动软件有限公司 Brightness control method, brightness control device and electronic equipment
CN113804290A (en) * 2021-05-17 2021-12-17 荣耀终端有限公司 Ambient light detection method, electronic device and chip system
CN113889055A (en) * 2021-09-30 2022-01-04 荣耀终端有限公司 Screen brightness adjusting method, electronic equipment and storage medium
CN115589442A (en) * 2022-01-30 2023-01-10 李素南 Information screen display method, mobile terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009212964A (en) * 2008-03-05 2009-09-17 Toshiba Mobile Display Co Ltd Photo-sensor incorporated mobile terminal and photometric control method of the photo-sensor incorporated mobile terminal
CN107665697A (en) * 2017-10-20 2018-02-06 维沃移动通信有限公司 The adjusting method and mobile terminal of a kind of screen intensity
CN107748640A (en) * 2017-10-31 2018-03-02 维沃移动通信有限公司 One kind puts out screen display methods and mobile terminal
CN111405109A (en) * 2020-03-09 2020-07-10 北京小米移动软件有限公司 Brightness control method, brightness control device and electronic equipment
CN113804290A (en) * 2021-05-17 2021-12-17 荣耀终端有限公司 Ambient light detection method, electronic device and chip system
CN113889055A (en) * 2021-09-30 2022-01-04 荣耀终端有限公司 Screen brightness adjusting method, electronic equipment and storage medium
CN115589442A (en) * 2022-01-30 2023-01-10 李素南 Information screen display method, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN116775200B (en) 2023-11-17

Similar Documents

Publication Publication Date Title
CN113325941B (en) Method for displaying finger print under screen and electronic equipment
CN113192464B (en) Backlight adjusting method and electronic equipment
WO2022052897A1 (en) Method and device for adjusting memory configuration parameter
CN111258700A (en) Icon management method and intelligent terminal
CN113805797B (en) Processing method of network resource, electronic equipment and computer readable storage medium
CN115525372B (en) Method and device for displaying interface
CN117079596B (en) Screen brightness adjusting method, terminal equipment and storage medium
CN111381996B (en) Memory exception handling method and device
CN114531519B (en) Control method based on vertical synchronous signal and electronic equipment
CN116775200B (en) AOD display method and electronic equipment
CN113660370B (en) Fingerprint input method and electronic equipment
CN114257502B (en) Log reporting method and device
CN115794361A (en) Method for managing memory and electronic equipment
CN117009005A (en) Display method, automobile and electronic equipment
CN114077529A (en) Log uploading method and device, electronic equipment and computer readable storage medium
CN116450363B (en) Resource scheduling method and electronic equipment
CN116048831B (en) Target signal processing method and electronic equipment
CN116736999B (en) Control method of electronic equipment and electronic equipment
CN116688494B (en) Method and electronic device for generating game prediction frame
CN117154900B (en) Charging control method and electronic equipment
CN116672707B (en) Method and electronic device for generating game prediction frame
CN114006976B (en) Interface display method and terminal equipment
WO2024093431A1 (en) Image drawing method and electronic device
CN117133215A (en) Method, chip, electronic device and readable storage medium for determining gray scale value
CN117130766A (en) Thread processing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant