WO2024222437A1 - Display method and electronic device - Google Patents
Display method and electronic device Download PDFInfo
- Publication number
- WO2024222437A1 WO2024222437A1 PCT/CN2024/086581 CN2024086581W WO2024222437A1 WO 2024222437 A1 WO2024222437 A1 WO 2024222437A1 CN 2024086581 W CN2024086581 W CN 2024086581W WO 2024222437 A1 WO2024222437 A1 WO 2024222437A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- original image
- image
- brightness value
- compensation sequence
- sequence diagram
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1415—Digital output to display device ; Cooperation and interconnection of the display device with other functional units with means for detecting differences between the image stored in the host and the images displayed on the displays
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/2007—Display of intermediate tones
- G09G3/2074—Display of intermediate tones using sub-pixels
Definitions
- the present application relates to the field of image display technology, and in particular to a display method and an electronic device.
- AOD always on display
- the AOD function requires electronic devices to display content for a long time. Depending on the displayed content, the usage of different pixels on the screen is different. If the pixels in an area are displayed at high brightness for a long time, the degree of pixel aging in this area will be higher than that in other areas of the screen. The pixels in this area will not display bright enough, causing the aging area of the pixels on the screen to have burn-in marks when the electronic device displays other content. This phenomenon is called "screen burn-in".
- the present application provides a display method and an electronic device for preventing the screen burn-in problem caused by the all-weather display function.
- the present application provides a display method, which can be performed by an electronic device.
- the method includes:
- the electronic device acquires an original image.
- the electronic device generates a compensated image based on the original image, wherein the brightness value of each pixel in the compensated image is related to the brightness value of the corresponding pixel in the original image.
- the electronic device generates an N-frame compensation sequence diagram based on the original image and the compensated image, and displays the original image and the N-frame compensation sequence diagram according to preset dynamic display parameters.
- the electronic device can generate a compensated image based on the original image, and then generate an N-frame compensation sequence diagram based on the original image and the compensated image.
- the electronic device can evenly use each pixel in the screen for display, thereby preventing the burn-in problem caused by the high degree of aging of individual pixels when the same image is displayed for a long time.
- generating a compensated image based on the original image includes: calculating the brightness value of each pixel in the compensated image based on the brightness value of each pixel in the original image and a preset brightness value; or calculating the brightness value of each pixel in the compensated image based on the brightness value of each pixel in the original image and an average brightness value of the original image; or calculating the brightness value of each pixel in the compensated image based on the brightness value of each pixel in the original image and the highest brightness value of the original image.
- the present application provides multiple methods for generating compensated images. After the compensated images generated based on the above methods are superimposed on the original image, a white or gray image can be obtained, so that the compensated images can be used to compensate for the attenuation of screen pixel brightness when the electronic device displays the original image.
- the N-frame compensation sequence diagram includes a first compensation sequence diagram, a second compensation sequence diagram, a third compensation sequence diagram and a fourth compensation sequence diagram; the N-frame compensation sequence diagram is generated according to the original image and the compensated image, including: replacing the brightness value of the pixel unit at the first position in the original image with the brightness value of the pixel unit at the first position of the compensated image to obtain the first compensation sequence diagram, the first position is a pixel unit position whose row number and column number are both odd numbers; a pixel unit includes adjacent Y pixels, Y is a positive integer; replacing the brightness value of the pixel unit at the second position in the original image with the brightness value of the pixel unit at the second position of the compensated image
- the second compensation sequence diagram is obtained by replacing the brightness value of the pixel unit at the third position in the original image with the brightness value of the pixel unit at the third position of the compensated image, where the second position is the pixel unit position with an even row number and an odd column number; the third compensation sequence diagram is obtained
- the electronic device can use the pixel unit as the processing unit, and replace the brightness values of the pixel units at the odd and even numbered positions in the original image with the brightness values of the pixel units at the corresponding positions in the compensated image, respectively, to obtain four compensation sequence diagrams.
- the display effect of the compensation sequence diagram will not be significantly different from that of the original image, and displaying the compensation sequence diagram can achieve the effect of balancing the usage of each pixel on the screen.
- generating N frames of compensation sequence diagram according to the original image and the compensated image includes: The brightness value of the pixel unit in the i-th row in the original image is replaced by the brightness value of the pixel unit in the i-th row of the compensated image to obtain the i-th frame compensation sequence diagram; i is a positive integer less than N, and N is the total number of rows of pixel units in the original image; a pixel unit includes adjacent Y pixels, and Y is a positive integer.
- the electronic device can use the pixel unit as the processing unit, and replace the brightness value of each row of pixel units in the original image with the brightness value of the pixel unit at the corresponding position in the compensated image, and obtain N compensation sequence images.
- each compensation sequence image there is a row of pixel units whose brightness value is different from the original image. Therefore, the display effect of each frame of the compensation sequence image will not be significantly different from the original image, ensuring the user experience.
- the electronic device displays the N frames of compensation sequence images obtained in the above manner to prevent each pixel in the screen from displaying a single image for a long time, causing screen burn-in.
- generating N frames of compensation sequence diagrams based on the original image and the compensated image includes: replacing the brightness value of the i-th column of pixel units in the original image with the brightness value of the i-th column of pixel units in the compensated image to obtain the i-th frame of compensation sequence diagram; i is a positive integer less than N, and N is the total number of pixel columns in the original image; a pixel unit includes Y adjacent pixels, and Y is a positive integer.
- the electronic device can use the pixel unit as the processing unit, and replace the brightness value of each column of pixel units in the original image with the brightness value of the pixel unit at the corresponding position in the compensated image, and obtain N compensation sequence images.
- each compensation sequence image there is a column of pixel units whose brightness value is different from the original image, so the display effect of each frame of the compensation sequence image will not be significantly different from the original image, ensuring the user experience.
- the electronic device displays the N frames of compensation sequence images obtained in the above manner to prevent each pixel in the screen from displaying a single image for a long time, causing screen burn-in.
- generating the compensated image according to the original image includes: preprocessing the original image, and generating the compensated image according to the preprocessed original image;
- the preprocessing includes at least one of the following: determining a target area in the original image whose brightness is greater than a set threshold, and reducing the brightness of the target area; reducing the brightness of the original image; dividing the original image into multiple areas, and adjusting the brightness of each area separately; setting the size of the original image according to the size of the display area, and the size of the original image after setting is larger than the size of the display area.
- the electronic device can first preprocess the original image.
- the burn-in risk of the preprocessed original image is already lower than that of the original image.
- Generating a compensated image based on the preprocessed original image can further ensure the anti-burn-in effect of the display method provided in the embodiment of the present application.
- the original image and the N-frame compensation sequence diagram are displayed according to preset dynamic display parameters, including: calculating the total number of frames of the original image and the compensation sequence diagram displayed within a preset time length according to the preset dynamic display parameters, and calculating the number of frames P of the original image displayed within the preset time length and the number of frames Q of the compensation sequence diagram displayed within the preset time length according to a preset display ratio and the total number of frames; P and Q are positive integers; the original image and the N-frame compensation sequence diagram are displayed with the preset time length as the dynamic effect period, and P frames of original images and Q frames of compensation sequence diagram are displayed in each dynamic effect period; the Q frame compensation sequence diagram belongs to the N frame compensation sequence diagram.
- the electronic device can determine the dynamic effect cycle of the electronic device displaying the original image and N frames of compensation sequence diagram according to the preset dynamic display parameters, as well as the number of frames P of the original image displayed in each dynamic effect cycle and the number of frames Q of the compensation sequence diagram displayed.
- the electronic device can display P frames of original images and Q frames of compensation sequence diagrams in one dynamic effect cycle.
- the P frames of original images and Q frames of compensation sequence diagrams displayed in one dynamic effect cycle can be cross-arranged to ensure the display effect.
- the Q is less than or equal to the N.
- a set of display sequences may include P frame original images and Q frame compensation sequence diagrams.
- Q may also be an integer greater than N, and the electronic device may cyclically display N frames of compensation sequence diagrams in a preset time length. This method may also achieve the purpose of balancing the screen pixel display brightness.
- the method after calculating the number of frames P of the original image displayed within a preset time length and the number of frames Q of the compensation sequence diagram displayed within a preset time length according to the preset display ratio and the total number of frames, before displaying the original image and the N-frame compensation sequence diagram with the preset time length as the animation period, the method also includes: obtaining the screen temperature, determining the temperature coefficient according to the screen temperature; adjusting the preset display ratio according to the temperature coefficient, or adjusting Q according to the temperature coefficient.
- the electronic device can determine the temperature coefficient according to the screen temperature, and adjust the preset display ratio according to the temperature coefficient. For example, when the temperature coefficient is high, the ratio of the compensation sequence diagram can be increased. Or the electronic device can adjust the number of frames of the compensation sequence diagram displayed within a preset time length according to the temperature coefficient. For example, when the temperature coefficient is high, the number of frames of the compensation sequence diagram displayed within a preset time length can be increased. In this way, To reduce the impact of high screen temperature on screen pixel aging.
- displaying the original image and the N-frame compensation sequence diagram according to preset dynamic display parameters includes: displaying the preprocessed original image and the N-frame compensation sequence diagram according to preset dynamic display parameters.
- electronic devices can display pre-processed original images and N-frame compensated images, further reducing the risk of screen burn-in.
- the present application provides an electronic device, the electronic device comprising a plurality of functional modules; the plurality of functional modules interact with each other to implement the method performed by the electronic device in the first aspect and its respective embodiments.
- the plurality of functional modules may be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules may be arbitrarily combined or divided based on specific implementation.
- the present application provides an electronic device comprising at least one processor and at least one memory, wherein the at least one memory stores computer program instructions, and when the electronic device is running, the at least one processor executes the method executed by the electronic device in the above-mentioned first aspect and each embodiment thereof.
- the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method executed by the electronic device in any of the above aspects and each embodiment thereof.
- the present application also provides a computer-readable storage medium, in which a computer program is stored.
- a computer program is stored.
- the computer program executes the method executed by the electronic device in any of the above aspects and its various embodiments.
- the present application also provides a chip, which is used to read a computer program stored in a memory and execute the method executed by the electronic device in any of the above aspects and its various embodiments.
- the present application further provides a chip system, which includes a processor for supporting a computer device to implement the method executed by an electronic device in any of the above aspects and its various embodiments.
- the chip system also includes a memory, which is used to store the necessary programs and data of the computer device.
- the chip system can be composed of a chip, or it can include a chip and other discrete devices.
- FIG1 is a schematic diagram of an all-weather display of an electronic device provided by an embodiment of the present application.
- FIG2 is a schematic diagram of a screen burn-in phenomenon provided by an embodiment of the present application.
- FIG3 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
- FIG4 is a software structure block diagram of an electronic device provided in an embodiment of the present application.
- FIG5 is a flow chart of a display method provided in an embodiment of the present application.
- FIG6 is a schematic diagram of an original image and a compensated image provided by an embodiment of the present application.
- FIG7 is a schematic diagram of a pixel shift provided in an embodiment of the present application.
- FIG8 is a schematic diagram of a first method for generating a compensation sequence diagram provided in an embodiment of the present application.
- FIG9 is a schematic diagram of a second method for generating a compensation sequence diagram provided in an embodiment of the present application.
- FIG10 is a schematic diagram of a third method for generating a compensation sequence diagram provided in an embodiment of the present application.
- FIG11 is a schematic diagram of a display sequence provided in an embodiment of the present application.
- FIG12 is a schematic diagram of a display method provided in an embodiment of the present application.
- FIG. 13 is a schematic diagram of a mask display provided in an embodiment of the present application.
- At least one refers to one or more
- plural refers to two or more.
- “And/or” describes the association relationship of associated objects, indicating that three relationships may exist.
- a and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
- the character “/” generally indicates that the previous and next associated objects are in an “or” relationship.
- “At least one of the following” or similar expressions refers to any combination of these items, including any combination of single or plural items.
- At least one of a, b or c can mean: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or plural.
- AOD always on display
- FIG1 is a schematic diagram of an electronic device with an all-weather display provided by an embodiment of the present application. Referring to FIG1, an electronic device supporting the AOD function can still display wallpapers, clock controls, etc. when the screen is off.
- the display area of the screen of an electronic device is an array composed of pixels. Usually, a pixel is composed of three sub-pixels: red, green and blue.
- the screen resolution can reflect the clarity of the image displayed on the screen.
- the screen resolution refers to the number of pixels that the screen can display. For example, a screen resolution of 160*128 means that the screen can display 160 horizontal pixels and 128 vertical pixels. Under the same screen size, the higher the resolution, the finer the display effect.
- the AOD function requires the electronic device to display content for a long time. Depending on the displayed content, the usage of different pixels on the screen is different. If the pixels in an area are displayed at high brightness for a long time, the degree of pixel aging in this area will be higher than that in other areas of the screen. The pixels in this area will not display enough brightness, causing the aging area of the pixels on the screen to show burn-in marks when the electronic device displays other content.
- the above phenomenon is called "burn-in”.
- Figure 2 is a schematic diagram of a burn-in phenomenon provided in an embodiment of the present application.
- the pixel position corresponding to the white area in the picture may be burn-in, as shown in Figure 2.
- the position of the cuffs of the character on the screen shows a burn-in mark, which causes the screen to still show the burn-in mark when displaying other content, affecting the display effect.
- the present application provides a display method to prevent the burn-in problem caused by the all-weather display function.
- the method can be performed by an electronic device.
- the electronic device After the electronic device obtains the original image, it generates a compensated image based on the original image.
- the electronic device generates an N-frame compensation sequence diagram based on the original image and the compensated image, and displays the original image and the N-frame compensation sequence diagram according to the preset dynamic display parameters.
- the electronic device can use each pixel in the screen evenly for display, thereby preventing the burn-in problem caused by the high degree of aging of individual pixels when the same image is displayed for a long time.
- the electronic devices in the embodiments of the present application may be tablet computers, mobile phones, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), wearable devices, etc.
- the embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
- FIG3 is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application.
- the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging 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, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
- SIM subscriber identification module
- the processor 110 may include one or more processing units, for example: the processor 110 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), 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.
- different processing units may be independent devices or integrated in one or more processors.
- the controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.
- a memory may also be set in the processor 110 for storing instructions and data.
- the memory in the processor 110 is a high-speed cache memory.
- the memory may save instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated access is avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
- the USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc.
- the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices.
- the charging management module 140 is used to receive charging input from the charger.
- the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
- the power management module 141 receives input from the battery 142 and/or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
- the wireless communication function of the electronic device 100 can be realized by antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.
- Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna can be used to cover a single or multiple communication frequency bands.
- Different antennas can also be reused to improve the utilization of the antennas.
- antenna 1 can be reused as a diversity antenna for a wireless local area network.
- the antenna can be used in combination with a tuning switch.
- the mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to the electronic device 100.
- the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
- the mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
- the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
- at least some of the functional modules of the mobile communication module 150 can be set in the processor 110.
- at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
- the wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the electronic device 100.
- WLAN wireless local area networks
- BT wireless fidelity
- GNSS global navigation satellite system
- FM frequency modulation
- NFC near field communication
- IR infrared
- the wireless communication module 160 can be one or more devices integrating at least one communication processing module.
- the wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110.
- the wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify the signal, and convert it into electromagnetic waves for radiation through the antenna 2.
- the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
- the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology.
- the GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and/or a satellite based augmentation system (SBAS).
- GPS global positioning system
- GLONASS global navigation satellite system
- BDS Beidou navigation satellite system
- QZSS quasi-zenith satellite system
- SBAS satellite based augmentation system
- the display screen 194 is used to display the display interface of the application, such as displaying the display page of the application installed on the electronic device 100.
- the display screen 194 includes a display panel.
- the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc.
- the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
- the camera 193 is used to capture still images or videos.
- the object generates an optical image through the lens and projects it onto the photosensitive element.
- the photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor.
- CMOS complementary metal oxide semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal.
- the ISP outputs the digital image signal to the DSP for processing.
- the DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.
- the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
- the internal memory 121 can be used to store computer executable program codes, which include instructions.
- the processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121.
- the internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, and the software code of at least one application program, etc.
- the data storage area can store data generated during the use of the electronic device 100 (such as captured images, recorded videos, etc.).
- the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
- UFS universal flash storage
- the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device.
- the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as pictures and videos are saved in the external memory card.
- the electronic device 100 can use the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, And application processors to realize audio functions, such as music playback, recording, etc.
- the sensor module 180 may include a pressure sensor 180A, an acceleration sensor 180B, a touch sensor 180C, etc.
- the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
- the pressure sensor 180A can be disposed on the display screen 194 .
- the touch sensor 180C is also called a "touch panel”.
- the touch sensor 180C can be set on the display screen 194, and the touch sensor 180C and the display screen 194 form a touch screen, also called a "touch screen”.
- the touch sensor 180C is used to detect touch operations acting on or near it.
- the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
- Visual output related to the touch operation can be provided through the display screen 194.
- the touch sensor 180C can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
- the button 190 includes a power button, a volume button, etc.
- the button 190 can be a mechanical button. It can also be a touch button.
- the electronic device 100 can receive the button input and generate a key signal input related to the user settings and function control of the electronic device 100.
- the motor 191 can generate a vibration prompt.
- the motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects.
- the touch vibration feedback effect can also support customization.
- the indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, and can also be used to indicate messages, missed calls, notifications, etc.
- the SIM card interface 195 is used to connect the SIM card. The SIM card can be inserted into the SIM card interface 195, or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
- FIG3 do not constitute a specific limitation on the electronic device 100.
- the electronic device may also include more or fewer components than shown, or combine some components, or split some components, or arrange the components differently.
- the combination/connection relationship between the components in FIG3 may also be adjusted and modified.
- FIG4 is a block diagram of the software structure of an electronic device provided in an embodiment of the present application.
- the software structure of the electronic device can be a layered architecture, for example, the software can be divided into several layers, each layer has a clear role and division of labor.
- the layers communicate with each other through software interfaces.
- the operating system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer (framework, FWK), the runtime (runtime) and the system library, and the kernel layer.
- the application layer may include a series of application packages. As shown in FIG4 , the application layer may include a camera, settings, a skin module, a user interface (UI), a third-party application, etc. Among them, the third-party application may include a gallery, a calendar, calls, maps, navigation, WLAN, Bluetooth, music, video, short messages, etc. In an embodiment of the present application, the application layer may include a target installation package of a target application that the electronic device requests to download from a server, and the function files and layout files in the target installation package are adapted to the electronic device.
- UI user interface
- the third-party application may include a gallery, a calendar, calls, maps, navigation, WLAN, Bluetooth, music, video, short messages, etc.
- the application layer may include a target installation package of a target application that the electronic device requests to download from a server, and the function files and layout files in the target installation package are adapted to the electronic device.
- the application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer.
- the application framework layer may include some predefined functions. As shown in FIG4 , the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
- the window manager is used to manage window programs.
- the window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
- the content provider is used to store and obtain data and make the data accessible to applications.
- the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
- the view system includes visual controls, such as controls for displaying text, controls for displaying images, etc.
- the view system can be used to build applications.
- a display interface can be composed of one or more views.
- a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
- the phone manager is used to provide communication functions for electronic devices, such as the management of call status (including answering, hanging up, etc.).
- the resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
- the notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
- the notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
- the runtime includes the core library and the virtual machine.
- the runtime is responsible for the scheduling and management of the operating system.
- the core library consists of two parts: one is the function that the Java language needs to call, and the other is the core library of the operating system.
- the application layer and the application framework layer run in the virtual machine.
- the virtual machine executes the Java files of the application layer and the application framework layer. It is a binary file.
- the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
- the system library can include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), image processing library, etc.
- functional modules such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), image processing library, etc.
- the surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
- the media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
- the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
- the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
- a 2D graphics engine is a drawing engine for 2D drawings.
- the kernel layer is the layer between hardware and software.
- the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
- the hardware layer can include various types of sensors, such as accelerometers, gyroscopes, touch sensors, etc.
- the structure shown in Figures 3 and 4 is only an example of the electronic device provided in the embodiment of the present application, and cannot be used to limit the electronic device provided in the embodiment of the present application.
- the electronic device may have more or fewer devices or modules than those in the structure shown in Figures 3 or 4.
- FIG5 is a flow chart of a display method provided by an embodiment of the present application.
- the method may be executed by an electronic device, and the electronic device may have the structure shown in FIG3 and/or FIG4. Referring to FIG5, the method includes the following steps:
- S501 The electronic device obtains an original image.
- the electronic device supports the AOD function.
- the electronic device can display the lock screen wallpaper all day long. That is to say, the lock screen wallpaper can be displayed when the electronic device is in the screen-on and screen-off states.
- the user can set a custom image as the lock screen wallpaper, or select a system preset image as the lock screen wallpaper.
- the electronic device can obtain the original image that the user chooses to set as the lock screen wallpaper.
- S502 The electronic device generates a compensated image according to the original image.
- the compensated image in the embodiment of the present application is an image used to compensate for the attenuation of screen pixel brightness when the electronic device displays the original image, and the brightness value of each pixel in the compensated image is related to the brightness value of the corresponding pixel in the original image.
- a white or gray image can be obtained.
- Figure 6 is a schematic diagram of an original image and a compensated image provided in an embodiment of the present application. Referring to Figure 6, for an area with higher brightness in the original image (such as a white area in the original image as shown in Figure 6), the brightness of the image at the same position in the compensated image is lower (such as a black area in the compensated image as shown in Figure 6). If the original image and the compensated image are superimposed, a white image can be obtained.
- the sum of the brightness value of the pixel in the compensated image and the brightness value of the pixel at the same position in the original image can be a preset value.
- Method 1 Calculate the brightness value of each pixel in the compensated image according to the brightness value of each pixel in the original image and the preset brightness value.
- the electronic device may obtain the brightness value of the pixel in the original image, calculate the difference between the preset brightness value and the brightness value, and use the calculated result as the brightness value of the pixel at the same position in the compensated image.
- the preset brightness value may be the maximum brightness value of a pixel (255, 255, 255)
- RGB'i is the brightness value of the i-th pixel in the compensated image
- RGBi (r,g,b) is the brightness value of the i-th pixel in the original image
- Method 2 Calculate the brightness value of each pixel in the compensated image according to the brightness value of each pixel in the original image and the average brightness value of the original image.
- the electronic device may calculate the average brightness value of the original image, then calculate the difference between the average brightness value and the brightness value of the original image, and use the calculated result as the brightness value of the pixel at the same position of the compensated image.
- RGB'i is the brightness value of the i-th pixel in the compensated image
- RGB(avgR,avgG,avgB) is the average brightness value of the original image
- RGBi (r,g,b) is the brightness value of the i-th pixel in the original image.
- Method 3 Calculate the brightness value of each pixel in the compensated image according to the brightness value of each pixel in the original image and the highest brightness value of the original image.
- RGB'i is the brightness value of the i-th pixel in the compensated image
- RGB(maxR,maxG,maxB) is the maximum brightness value of the original image
- RGBi (r,g,b) is the brightness value of the i-th pixel in the original image.
- Compensation images can also be generated by other methods, which are not limited in this application.
- the electronic device may preprocess the original image, and then generate the compensated image based on the preprocessed original image.
- the present application embodiment provides the following preprocessing, and the electronic device may perform at least one of the following preprocessing:
- the electronic device may determine a target area in the original image whose brightness is greater than a preset brightness threshold, and reduce the brightness of the target area.
- the electronic device may lower the overall brightness of the original image.
- the electronic device may divide the original image into a plurality of regions, for example, each divided region may include a preset number of pixels.
- the electronic device may adjust the brightness of each divided region, for example, by reducing the brightness of a portion of an image in a region, or reducing the overall brightness of the region.
- the electronic device can set the size of the original image to be larger than the size of the display area, so that when the electronic device displays the original image, it can shift the original image within the range of the display area to prevent the screen from displaying the same content for a long time and causing screen burn-in.
- FIG7 is a schematic diagram of a pixel shift provided in an embodiment of the present application.
- the size of the original image is larger than the image size of the display area, such as the length of the display area is 32 pixels smaller than the length of the original image, and the width of the display area is 32 pixels smaller than the width of the original image, that is, adding 16 pixels to each side of the display area can obtain the size of the original image.
- the electronic device can display different positions of the original image in the display area at different times. For example, referring to (b) in FIG7 , the electronic device can display the original image in different states at different times, thereby utilizing each pixel of the screen for display through pixel shift equalization.
- the electronic device first preprocesses the original image.
- the burn-in risk of the preprocessed original image is already lower than that of the original image.
- Generating a compensated image based on the preprocessed original image can further ensure the anti-burn-in effect of the display method provided in the embodiment of the present application.
- S503 The electronic device generates N frames of compensation sequence diagram according to the original image and the compensated image.
- the electronic device can generate N frames of compensation sequence diagrams based on the original image and the compensated image.
- Each frame of the compensation sequence diagram is generated on the basis of the original image by replacing the brightness values of a part of the pixels with the brightness values of the pixels at the same position in the compensated image. Therefore, the display effect of each frame of the compensation sequence diagram will not be significantly different from that of the original image, and by displaying multiple frames of compensation sequence diagrams, the screen display brightness can be balanced to prevent different areas from aging quickly due to high brightness.
- the pixel unit is a pixel unit composed of multiple adjacent pixels.
- a pixel unit may include Y pixels, where Y is a positive integer.
- the pixel unit may be in a variety of shapes such as a rectangle, a triangle, and a diamond.
- the electronic device may use the pixel unit as a processing unit to perform image processing, for example, replacing the brightness value of a row of pixel units in the original image with the brightness value of a row of pixel units at the same position in the compensated image, etc.
- the electronic device may replace the brightness value of the pixel unit at the first position in the original image with the compensated image
- the first compensation sequence diagram is obtained by calculating the brightness value of the pixel unit at the first position of the pixel unit, wherein the pixel unit is used as the processing unit, and the first position is the pixel unit position whose row number and column number are both odd numbers.
- the electronic device can replace the brightness value of the pixel unit at the second position in the original image with the brightness value of the pixel unit at the second position in the compensated image to obtain a second compensation sequence diagram, wherein the second position is the pixel unit position with an even row number and an odd column number.
- the electronic device can replace the brightness value of the pixel unit at the third position in the original image with the brightness value of the pixel unit at the third position in the compensated image to obtain a third compensated sequence diagram, wherein the third position is a pixel unit position with an even number of row and column numbers.
- the electronic device can replace the brightness value of the pixel unit at the fourth position in the original image with the brightness value of the pixel unit at the fourth position in the compensated image to obtain a fourth compensation sequence diagram, wherein the fourth position is a pixel unit position with an odd row number and an even column number.
- the electronic device can generate four compensation sequence diagrams, namely, a first compensation sequence diagram, a second compensation sequence diagram, a third compensation sequence diagram, and a fourth compensation sequence diagram.
- FIG8 is a schematic diagram of the first method for generating a compensation sequence diagram provided by an embodiment of the present application. Referring to FIG8, for ease of explanation, it is assumed that the original image is a completely white image, and the compensated image is a completely black image.
- the electronic device may replace the brightness value of the pixel unit at the first position in the original image with the brightness value of the pixel unit at the first position of the compensated image to obtain a first compensation sequence diagram; the electronic device may replace the brightness value of the pixel unit at the second position in the original image with the brightness value of the pixel unit at the second position of the compensated image to obtain a second compensation sequence diagram; the electronic device may replace the brightness value of the pixel unit at the third position in the original image with the brightness value of the pixel unit at the third position of the compensated image to obtain a third compensation sequence diagram; the electronic device may replace the brightness value of the pixel unit at the fourth position in the original image with the brightness value of the pixel unit at the fourth position of the compensated image to obtain a fourth compensation sequence diagram.
- the electronic device may replace the brightness value of the pixel unit in the i-th row in the original image with the brightness value of the pixel unit in the i-th row in the compensated image to obtain the i-th frame compensation sequence diagram; i is a positive integer less than N. In this method, N is the total number of rows of pixel units in the original image.
- the electronic device performs the above steps N times to obtain N frames of compensation sequence diagrams, in which the brightness value of a row of pixel units in each frame of the compensation sequence diagram is the brightness value of the pixel units at the same position in the compensated image, and the brightness values of the remaining pixel units are the brightness values of the pixel units at the same position in the original image.
- FIG9 is a schematic diagram of a second method for generating a compensation sequence diagram provided by an embodiment of the present application.
- the compensated image is a full black image.
- the electronic device can replace the brightness values of N rows of pixel units of the original image in sequence to generate N frames of compensated images.
- the electronic device may replace the brightness value of the pixel unit in the i-th column of the original image with the brightness value of the pixel unit in the i-th column of the compensated image to obtain the i-th frame compensation sequence diagram; i is a positive integer less than N. In this method, N is the total number of columns of pixel units in the original image.
- the electronic device performs the above steps N times to obtain N frames of compensation sequence diagrams, in which the brightness value of a column of pixel units in each frame of compensation sequence diagram is the brightness value of the pixel unit at the same position in the compensated image, and the brightness values of the remaining pixel units are the brightness values of the pixel units at the same position in the original image.
- FIG10 is a schematic diagram of a third method for generating a compensation sequence diagram provided in an embodiment of the present application.
- the compensated image is a full black image.
- the electronic device can replace the brightness values of N columns of pixel units of the original image in sequence to generate N frames of compensated images.
- the electronic device replaces the brightness value of the pixel unit in the original image with the brightness value of the corresponding pixel unit in the compensated image, and the electronic device may replace the brightness value of each pixel included in the pixel unit in the original image with the brightness value of the corresponding pixel in the compensated image.
- the electronic device may replace the brightness values of the four pixels in the original image with the brightness values of the corresponding pixels in the compensated image.
- the above three methods are three examples of methods for generating N-frame compensation sequence diagrams.
- the compensation sequence diagram may also be generated in other methods, which is not limited in the present application.
- S504 The electronic device displays the original image and the N-frame compensation sequence image according to preset dynamic display parameters.
- the electronic device can calculate the time required to display an image within a preset time period according to preset dynamic display parameters.
- the total number of frames, and the number of frames of the original image displayed within the preset time length and the number of frames of the compensation sequence diagram displayed within the preset time length are determined according to the preset ratio between the display time length of the original image and the display time length of the compensation sequence diagram.
- the dynamic display parameters may include a motion effect curve, a preset time length, etc. Among them, the motion effect curve can be used to indicate the speed of switching image frames when the electronic device dynamically displays the original image and multiple frames of compensation sequence diagrams.
- the preset time length can be used as a motion effect cycle, and the electronic device can display the original image and multiple frames of compensation sequence diagrams within one motion effect cycle.
- the electronic device determines the number of frames P of the original image displayed within the preset time length T according to the dynamic display parameters, and the number of frames Q of the compensation sequence diagram displayed within the preset time length T, where P and Q are both positive integers.
- the electronic device may combine the P-frame original image and the Q-frame compensation sequence diagram to obtain a set of display sequences, in which the P-frame original image and the Q-frame original image may be arranged crosswise.
- the electronic device may use a preset duration as the motion effect cycle, and display multiple frames of images in the display sequence in sequence within one motion effect cycle.
- the electronic device may generate multiple groups of display sequences, and the Q-frame compensation sequence diagram in each group of display sequences is part or all of the compensation sequence diagrams in the N-frame compensation sequence diagram generated by the electronic device, that is, Q is a positive integer less than or equal to N.
- the electronic device displays a set of display sequences within each motion effect cycle, and a round of N-frame compensation sequence diagram display can be completed by displaying a set of display sequences (when Q is equal to N) or multiple sets of display sequences (when Q is less than N) to ensure the effect of balanced screen usage.
- Figure 11 is a schematic diagram of a display sequence provided in an embodiment of the present application.
- the electronic device can generate 10 frames of compensation sequence diagrams, and the electronic device determines to display 10 frames of original images and 5 frames of compensation sequence diagrams within a preset time length, the electronic device can generate two groups of display sequences.
- each group of display sequences generated by the electronic device includes 10 frames of original images and 5 frames of compensation sequence diagrams, and the 10 frames of original images and the 5 frames of compensation sequence diagrams are arranged crosswise, so that the display effect can be guaranteed when the electronic device displays the display sequence.
- the electronic device can complete a round of display of 10 frames of compensation sequence diagrams, so that the brightness of each pixel on the screen is balanced.
- Q can also be an integer greater than N, and the electronic device can cyclically display N frames of compensation sequence diagrams in a preset time length. This method can also achieve the purpose of balancing the screen pixel display brightness, which will not be repeated here.
- the electronic device when the electronic device performs pixel shift preprocessing on the original image, the electronic device can adjust the position of the image in the display area when displaying the original image and the N-frame compensation sequence diagram. For example, refer to the method of displaying the image in the display area shown in Figure 7, so as to utilize each pixel of the screen for display through pixel shift equalization.
- the electronic device may also display the preprocessed original image and N-frame compensation sequence diagram according to the dynamic display parameters.
- the electronic device may also display the preprocessed original image and N-frame compensation sequence diagram according to the dynamic display parameters.
- the electronic device may also display the preprocessed original image and N-frame compensation sequence diagram according to the dynamic display parameters.
- reference may be made to the above-mentioned method for displaying the original image and N-frame compensation sequence diagram by the electronic device, and repeated parts will not be repeated.
- the electronic device may obtain the screen temperature when calculating the number of frames of the compensation sequence diagram displayed within a preset time, and determine the temperature coefficient according to the screen temperature.
- the electronic device can adjust the preset display ratio or the number of frames of the compensation sequence image displayed within the preset duration according to the temperature coefficient. For example, when the temperature coefficient is 1, the electronic device can adjust the preset display ratio so that the duration of displaying the compensation image is twice the original value, or the electronic device can adjust the number of frames of the compensation sequence image displayed within the preset duration to twice the original value. In this way, the impact of excessive screen temperature on screen pixel aging can be reduced.
- the electronic device when it adjusts the preset display ratio according to the temperature coefficient, it can also adjust the preset duration. For example, when the temperature coefficient is 1, the electronic device can adjust the preset display ratio so that the duration of displaying the compensated image is twice the original value, and the electronic device can increase the value of the preset duration.
- the duration of an adjusted motion effect cycle increases, the duration of displaying the original image and the duration of displaying the compensated image in a corresponding motion effect cycle will both increase, and the increase in the duration of displaying the compensated image in a motion effect cycle is greater than the increase in the duration of displaying the original image in a motion effect cycle. In this way, the dynamic display effect can be guaranteed, while increasing the duration of displaying the compensated image to reduce the impact of excessive temperature on screen pixel aging.
- the embodiment of the present application also provides a display method.
- multiple images can be pre-set in the electronic device, and the user can select an image from the multiple images as a wallpaper.
- the electronic device can normally display different areas in the image at different times according to the pre-configured display parameters.
- the electronic device displays other areas in the image in grayscale.
- FIG12 is a schematic diagram of a display method provided by an embodiment of the present application.
- the pattern filled with oblique lines in the figure represents grayscale display
- the pattern filled with white represents normal display.
- the electronic device normally displays different areas at different times, so that when the electronic device displays an image based on this method, the user can see the effect of each area lighting up in turn. This method can balance the use of various areas of the screen. Pixels are displayed to prevent screen burn-in.
- the electronic device can also display a "mask" on the wallpaper image set by the user when the AOD function is turned on.
- the mask can be a layer located on the wallpaper layer.
- Figure 13 is a schematic diagram of a mask display provided in an embodiment of the present application. Referring to Figure 13, the electronic device can display a mask on the wallpaper.
- the mask includes a transparent area and a non-transparent area.
- the wallpaper can be displayed through the transparent area of the mask, and the non-transparent area will block the wallpaper.
- the electronic device can adjust the position of the transparent area to display different areas of the wallpaper at different times, achieve balanced use of each pixel of the screen for display, and prevent screen burn-in.
- the present application also provides an electronic device, which includes multiple functional modules; the multiple functional modules interact with each other to implement the functions performed by the electronic device in each method described in the embodiments of the present application. For example, the steps performed by the electronic device in the embodiment shown in Figure 5 are executed.
- the multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on the specific implementation.
- the present application further provides an electronic device, which includes at least one processor and at least one memory, wherein the at least one memory stores computer program instructions, and when the electronic device is running, the at least one processor performs the functions performed by the site in each method described in the embodiments of the present application. For example, the steps performed by the electronic device in the embodiment shown in FIG5 are performed.
- the present application further provides a computer program product comprising instructions, and when the computer program product is run on a computer, the computer is enabled to execute the methods described in the embodiments of the present application.
- the present application further provides a computer-readable storage medium, in which a computer program is stored.
- a computer program is stored.
- the computer program executes the methods described in the embodiments of the present application.
- the present application further provides a chip, which is used to read a computer program stored in a memory to implement the methods described in the embodiments of the present application.
- the present application provides a chip system, which includes a processor for supporting a computer device to implement the methods described in the embodiments of the present application.
- the chip system also includes a memory, which is used to store the necessary programs and data for the computer device.
- the chip system can be composed of a chip, or it can include a chip and other discrete devices.
- the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
- a computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
- These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
- These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
Description
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2023年04月25日提交中华人民共和国国家知识产权局、申请号为202310475872.2、发明名称为“一种显示方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on April 25, 2023, with application number 202310475872.2 and invention name "A display method and electronic device", all contents of which are incorporated by reference in this application.
本申请涉及图像显示技术领域,尤其涉及一种显示方法及电子设备。The present application relates to the field of image display technology, and in particular to a display method and an electronic device.
全天候显示(always on display,AOD)是一种允许电子设备全天候显示各类信息的功能,该功能支持电子设备在息屏时依然可以显示图片、时钟控件等。Always on display (AOD) is a function that allows electronic devices to display various types of information around the clock. This function supports electronic devices to display pictures, clock controls, etc. when the screen is off.
AOD功能需要电子设备长时间显示内容,根据显示内容不同,屏幕上不同像素处的使用情况不同。如一个区域内的像素长时间进行高亮度显示,则该区域的像素老化程度要高于屏幕中的其他区域,该区域的像素会出现显示亮度不足的情况,导致电子设备显示其它内容时屏幕中的像素老化区域出现烙印痕迹,该现象称为“烧屏”。The AOD function requires electronic devices to display content for a long time. Depending on the displayed content, the usage of different pixels on the screen is different. If the pixels in an area are displayed at high brightness for a long time, the degree of pixel aging in this area will be higher than that in other areas of the screen. The pixels in this area will not display bright enough, causing the aging area of the pixels on the screen to have burn-in marks when the electronic device displays other content. This phenomenon is called "screen burn-in".
发明内容Summary of the invention
本申请提供一种显示方法及电子设备,用以防止全天候显示功能带来的烧屏问题。The present application provides a display method and an electronic device for preventing the screen burn-in problem caused by the all-weather display function.
第一方面,本申请提供一种显示方法,该方法可以由电子设备执行。该方法包括:In a first aspect, the present application provides a display method, which can be performed by an electronic device. The method includes:
电子设备获取原始图像。电子设备根据所述原始图像生成补偿图像,所述补偿图像中每个像素的亮度值与所述原始图像中对应像素的亮度值相关。电子设备根据所述原始图像和所述补偿图像生成N帧补偿序图,并根据预设的动态显示参数对所述原始图像和所述N帧补偿序图进行显示。The electronic device acquires an original image. The electronic device generates a compensated image based on the original image, wherein the brightness value of each pixel in the compensated image is related to the brightness value of the corresponding pixel in the original image. The electronic device generates an N-frame compensation sequence diagram based on the original image and the compensated image, and displays the original image and the N-frame compensation sequence diagram according to preset dynamic display parameters.
在该方法中,电子设备可以根据原始图像生成补偿图像后,再根据原始图像和补偿图像生成N帧补偿序图,电子设备通过显示原始图像和N帧补偿序图可以均衡使用屏幕中的每个像素进行显示,从而防止长时间显示同一图像时,个别像素老化程度较高而带来的烧屏问题。In this method, the electronic device can generate a compensated image based on the original image, and then generate an N-frame compensation sequence diagram based on the original image and the compensated image. By displaying the original image and the N-frame compensation sequence diagram, the electronic device can evenly use each pixel in the screen for display, thereby preventing the burn-in problem caused by the high degree of aging of individual pixels when the same image is displayed for a long time.
在一个可能的设计中,所述根据所述原始图像生成补偿图像,包括:根据所述原始图像中每个像素的亮度值和预设亮度值计算所述补偿图像中每个像素的亮度值;或者根据所述原始图像中每个像素的亮度值和所述原始图像的平均亮度值计算所述补偿图像中每个像素的亮度值;或者根据所述原始图像中每个像素的亮度值和所述原始图像的最高亮度值计算所述补偿图像中每个像素的亮度值。In one possible design, generating a compensated image based on the original image includes: calculating the brightness value of each pixel in the compensated image based on the brightness value of each pixel in the original image and a preset brightness value; or calculating the brightness value of each pixel in the compensated image based on the brightness value of each pixel in the original image and an average brightness value of the original image; or calculating the brightness value of each pixel in the compensated image based on the brightness value of each pixel in the original image and the highest brightness value of the original image.
通过该设计,本申请提供多种生成补偿图像的方式,基于上述方式生成的补偿图像与原始图像叠加后,可以得到一张白色或灰色的图像,从而补偿图像可以用于对电子设备显示原始图像时屏幕像素亮度衰减进行补偿。Through this design, the present application provides multiple methods for generating compensated images. After the compensated images generated based on the above methods are superimposed on the original image, a white or gray image can be obtained, so that the compensated images can be used to compensate for the attenuation of screen pixel brightness when the electronic device displays the original image.
在一个可能的设计中,所述N帧补偿序图包括第一补偿序图、第二补偿序图、第三补偿序图和第四补偿序图;所述根据所述原始图像和所述补偿图像生成N帧补偿序图,包括:将所述原始图像中第一位置处像素单元的亮度值替换为所述补偿图像的第一位置处像素单元的亮度值,得到所述第一补偿序图,所述第一位置为行序号与列序号均为奇数的像素单元位置;一个像素单元包括相邻的Y个像素,Y为正整数;将所述原始图像中第二位置处像素单元的亮度值替换为所述补偿图像的第二位置处像素单元的亮度值,得到所述第二补偿序图,所述第二位置为行序号为偶数、列序号为奇数的像素单元位置;将所述原始图像中的第三位置处像素单元的亮度值替换为所述补偿图像的第三位置处像素单元的亮度值,得到所述第三补偿序图,所述第三位置为行序号与列序号均为偶数的像素单元位置;将所述原始图像中的第四位置处像素单元的亮度值替换为所述补偿图像的第四位置处像素单元的亮度值,得到所述第四补偿序图,所述第四位置为行序号为奇数、列序号为偶数的像素单元位置。In a possible design, the N-frame compensation sequence diagram includes a first compensation sequence diagram, a second compensation sequence diagram, a third compensation sequence diagram and a fourth compensation sequence diagram; the N-frame compensation sequence diagram is generated according to the original image and the compensated image, including: replacing the brightness value of the pixel unit at the first position in the original image with the brightness value of the pixel unit at the first position of the compensated image to obtain the first compensation sequence diagram, the first position is a pixel unit position whose row number and column number are both odd numbers; a pixel unit includes adjacent Y pixels, Y is a positive integer; replacing the brightness value of the pixel unit at the second position in the original image with the brightness value of the pixel unit at the second position of the compensated image The second compensation sequence diagram is obtained by replacing the brightness value of the pixel unit at the third position in the original image with the brightness value of the pixel unit at the third position of the compensated image, where the second position is the pixel unit position with an even row number and an odd column number; the third compensation sequence diagram is obtained by replacing the brightness value of the pixel unit at the third position in the original image with the brightness value of the pixel unit at the third position of the compensated image, where the third position is the pixel unit position with an even row number and a column number; the fourth compensation sequence diagram is obtained by replacing the brightness value of the pixel unit at the fourth position in the original image with the brightness value of the pixel unit at the fourth position of the compensated image, where the fourth position is the pixel unit position with an odd row number and an even column number.
通过该设计,电子设备可以以像素单元为处理单元,分别将原始图像中奇、偶序号位置的像素单元的亮度值替换为补偿图像中对应位置的像素单元的亮度值,得到四张补偿序图,补偿序图相较于原始图像的显示效果不会有较大的差别,并且显示补偿序图能够实现均衡屏幕各像素使用程度的效果。Through this design, the electronic device can use the pixel unit as the processing unit, and replace the brightness values of the pixel units at the odd and even numbered positions in the original image with the brightness values of the pixel units at the corresponding positions in the compensated image, respectively, to obtain four compensation sequence diagrams. The display effect of the compensation sequence diagram will not be significantly different from that of the original image, and displaying the compensation sequence diagram can achieve the effect of balancing the usage of each pixel on the screen.
在一个可能的设计中,所述根据所述原始图像和所述补偿图像生成N帧补偿序图,包括:将所述 原始图像中第i行像素单元的亮度值替换为所述补偿图像的第i行像素单元的亮度值,得到第i帧补偿序图;i为小于N的正整数,所述N为所述原始图像的像素单元的总行数;一个像素单元包括相邻的Y个像素,Y为正整数。In a possible design, generating N frames of compensation sequence diagram according to the original image and the compensated image includes: The brightness value of the pixel unit in the i-th row in the original image is replaced by the brightness value of the pixel unit in the i-th row of the compensated image to obtain the i-th frame compensation sequence diagram; i is a positive integer less than N, and N is the total number of rows of pixel units in the original image; a pixel unit includes adjacent Y pixels, and Y is a positive integer.
通过该设计,电子设备可以以像素单元为处理单元,分别将原始图像中每行像素单元的亮度值替换为补偿图像中对应位置处的像素单元的亮度值,得到N张补偿序图,每张补偿序图中存在一行像素单元的亮度值与原始图像不同,因此每帧补偿序图相较于原始图像的显示效果不会有较大的差别,保证用户体验。同时电子设备显示上述方式得到的N帧补偿序图可以防止屏幕中各像素长时间显示单一图像造成烧屏。Through this design, the electronic device can use the pixel unit as the processing unit, and replace the brightness value of each row of pixel units in the original image with the brightness value of the pixel unit at the corresponding position in the compensated image, and obtain N compensation sequence images. In each compensation sequence image, there is a row of pixel units whose brightness value is different from the original image. Therefore, the display effect of each frame of the compensation sequence image will not be significantly different from the original image, ensuring the user experience. At the same time, the electronic device displays the N frames of compensation sequence images obtained in the above manner to prevent each pixel in the screen from displaying a single image for a long time, causing screen burn-in.
在一个可能的设计中,所述根据所述原始图像和所述补偿图像生成N帧补偿序图,包括:将所述原始图像中第i列像素单元的亮度值替换为所述补偿图像的第i列像素单元的亮度值,得到第i帧补偿序图;i为小于N的正整数,所述N为所述原始图像的像素总列数;一个像素单元包括相邻的Y个像素,Y为正整数。In a possible design, generating N frames of compensation sequence diagrams based on the original image and the compensated image includes: replacing the brightness value of the i-th column of pixel units in the original image with the brightness value of the i-th column of pixel units in the compensated image to obtain the i-th frame of compensation sequence diagram; i is a positive integer less than N, and N is the total number of pixel columns in the original image; a pixel unit includes Y adjacent pixels, and Y is a positive integer.
通过该设计,电子设备可以以像素单元为处理单元,分别将原始图像中每列像素单元的亮度值替换为补偿图像中对应位置处的像素单元的亮度值,得到N张补偿序图,每张补偿序图中存在一列像素单元的亮度值与原始图像不同,因此每帧补偿序图相较于原始图像的显示效果不会有较大的差别,保证用户体验。同时电子设备显示上述方式得到的N帧补偿序图可以防止屏幕中各像素长时间显示单一图像造成烧屏。Through this design, the electronic device can use the pixel unit as the processing unit, and replace the brightness value of each column of pixel units in the original image with the brightness value of the pixel unit at the corresponding position in the compensated image, and obtain N compensation sequence images. In each compensation sequence image, there is a column of pixel units whose brightness value is different from the original image, so the display effect of each frame of the compensation sequence image will not be significantly different from the original image, ensuring the user experience. At the same time, the electronic device displays the N frames of compensation sequence images obtained in the above manner to prevent each pixel in the screen from displaying a single image for a long time, causing screen burn-in.
在一个可能的设计中,所述根据所述原始图像生成补偿图像,包括:对所述原始图像进行预处理,根据预处理后的原始图像生成所述补偿图像;In a possible design, generating the compensated image according to the original image includes: preprocessing the original image, and generating the compensated image according to the preprocessed original image;
其中,所述预处理包括以下至少一项:确定所述原始图像中亮度大于设定阈值的目标区域,降低所述目标区域的亮度;降低所述原始图像的亮度;将所述原始图像划分为多个区域,分别调整每个区域的亮度;根据显示区域的大小设置所述原始图像的大小,设置后的原始图像的大小大于所述显示区域的大小。Among them, the preprocessing includes at least one of the following: determining a target area in the original image whose brightness is greater than a set threshold, and reducing the brightness of the target area; reducing the brightness of the original image; dividing the original image into multiple areas, and adjusting the brightness of each area separately; setting the size of the original image according to the size of the display area, and the size of the original image after setting is larger than the size of the display area.
通过该设计,电子设备可以先对原始图像进行预处理,预处理后的原始图像的烧屏风险已经低于原始图像,基于预处理后的原始图像生成补偿图像可以进一步保证本申请实施例提供的显示方法的防烧屏效果。Through this design, the electronic device can first preprocess the original image. The burn-in risk of the preprocessed original image is already lower than that of the original image. Generating a compensated image based on the preprocessed original image can further ensure the anti-burn-in effect of the display method provided in the embodiment of the present application.
在一个可能的设计中,所述根据预设的动态显示参数对所述原始图像和所述N帧补偿序图进行显示,包括:根据所述预设的动态显示参数计算预设时长内显示原始图像和补偿序图的总帧数,根据预设的显示比例和所述总帧数计算预设时长内显示原始图像的帧数P和显示补偿序图的帧数Q;所述P、所述Q为正整数;以所述预设时长为动效周期对所述原始图像和所述N帧补偿序图进行显示,每个动效周期内显示P帧原始图像以及Q帧补偿序图;所述Q帧补偿序图属于所述N帧补偿序图。In a possible design, the original image and the N-frame compensation sequence diagram are displayed according to preset dynamic display parameters, including: calculating the total number of frames of the original image and the compensation sequence diagram displayed within a preset time length according to the preset dynamic display parameters, and calculating the number of frames P of the original image displayed within the preset time length and the number of frames Q of the compensation sequence diagram displayed within the preset time length according to a preset display ratio and the total number of frames; P and Q are positive integers; the original image and the N-frame compensation sequence diagram are displayed with the preset time length as the dynamic effect period, and P frames of original images and Q frames of compensation sequence diagram are displayed in each dynamic effect period; the Q frame compensation sequence diagram belongs to the N frame compensation sequence diagram.
通过该设计,电子设备可以根据预设的动态显示参数确定电子设备显示原始图像和N帧补偿序图的动效周期,以及每个动效周期内显示原始图像的帧数P以及显示补偿序图的帧数Q。电子设备在一个动效周期内可以显示P帧原始图像以及Q帧补偿序图,如一个动效周期内显示的P帧原始图像和Q帧补偿序图可以交叉排列,保证显示效果。Through this design, the electronic device can determine the dynamic effect cycle of the electronic device displaying the original image and N frames of compensation sequence diagram according to the preset dynamic display parameters, as well as the number of frames P of the original image displayed in each dynamic effect cycle and the number of frames Q of the compensation sequence diagram displayed. The electronic device can display P frames of original images and Q frames of compensation sequence diagrams in one dynamic effect cycle. For example, the P frames of original images and Q frames of compensation sequence diagrams displayed in one dynamic effect cycle can be cross-arranged to ensure the display effect.
在一个可能的设计中,所述Q小于或等于所述N。In one possible design, the Q is less than or equal to the N.
通过该设计,电子设备在每个动效周期内显示一组显示序列,一组显示序列可以包括P帧原始图像和Q帧补偿序图,通过显示一组显示序列(Q等于N时)或多组显示序列(Q小于N时)可以完成一轮N帧补偿序图的显示,以保证均衡屏幕使用程度的效果。Through this design, the electronic device displays a set of display sequences in each animation cycle. A set of display sequences may include P frame original images and Q frame compensation sequence diagrams. By displaying one set of display sequences (when Q is equal to N) or multiple sets of display sequences (when Q is less than N), a round of N frame compensation sequence diagram display can be completed to ensure the effect of balanced screen usage.
可选地,Q还可以为大于N的整数,则电子设备在一个预设时长中可以循环显示N帧补偿序图,该方式同样可以实现均衡屏幕像素显示亮度的目的。Optionally, Q may also be an integer greater than N, and the electronic device may cyclically display N frames of compensation sequence diagrams in a preset time length. This method may also achieve the purpose of balancing the screen pixel display brightness.
在一个可能的设计中,在所述根据预设的显示比例和所述总帧数计算预设时长内显示原始图像的帧数P和显示补偿序图的帧数Q之后,以所述预设时长为动效周期对所述原始图像和所述N帧补偿序图进行显示之前,所述方法还包括:获取屏幕温度,根据所述屏幕温度确定温度系数;根据所述温度系数调整所述预设的显示比例,或根据所述温度系数调整所述Q。In a possible design, after calculating the number of frames P of the original image displayed within a preset time length and the number of frames Q of the compensation sequence diagram displayed within a preset time length according to the preset display ratio and the total number of frames, before displaying the original image and the N-frame compensation sequence diagram with the preset time length as the animation period, the method also includes: obtaining the screen temperature, determining the temperature coefficient according to the screen temperature; adjusting the preset display ratio according to the temperature coefficient, or adjusting Q according to the temperature coefficient.
通过该设计,电子设备可以根据屏幕温度确定温度系数,并根据温度系数调整预设的显示比例,如当温度系数较高时,可以增大显示补偿序图的比例。或者电子设备可以根据温度系数调整预设时长内显示补偿序图的帧数,如当温度系数较高时,可以增加预设时长内显示补偿序图的帧数。通过该方式,可 以减轻屏幕温度过高对屏幕像素老化的影响。With this design, the electronic device can determine the temperature coefficient according to the screen temperature, and adjust the preset display ratio according to the temperature coefficient. For example, when the temperature coefficient is high, the ratio of the compensation sequence diagram can be increased. Or the electronic device can adjust the number of frames of the compensation sequence diagram displayed within a preset time length according to the temperature coefficient. For example, when the temperature coefficient is high, the number of frames of the compensation sequence diagram displayed within a preset time length can be increased. In this way, To reduce the impact of high screen temperature on screen pixel aging.
在一个可能的设计中,所述根据预设的动态显示参数对所述原始图像和所述N帧补偿序图进行显示,包括:根据预设的动态显示参数对预处理后的原始图像和所述N帧补偿序图进行显示。In a possible design, displaying the original image and the N-frame compensation sequence diagram according to preset dynamic display parameters includes: displaying the preprocessed original image and the N-frame compensation sequence diagram according to preset dynamic display parameters.
通过该设计,电子设备可以显示预处理后的原始图像和N帧补偿图像,进一步降低烧屏风险。Through this design, electronic devices can display pre-processed original images and N-frame compensated images, further reducing the risk of screen burn-in.
第二方面,本申请提供一种电子设备,所述电子设备包括多个功能模块;所述多个功能模块相互作用,实现上述第一方面及其各实施方式中电子设备所执行的方法。所述多个功能模块可以基于软件、硬件或软件和硬件的结合实现,且所述多个功能模块可以基于具体实现进行任意组合或分割。In a second aspect, the present application provides an electronic device, the electronic device comprising a plurality of functional modules; the plurality of functional modules interact with each other to implement the method performed by the electronic device in the first aspect and its respective embodiments. The plurality of functional modules may be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules may be arbitrarily combined or divided based on specific implementation.
第三方面,本申请提供一种电子设备,包括至少一个处理器和至少一个存储器,所述至少一个存储器中存储计算机程序指令,所述电子设备运行时,所述至少一个处理器执行上述第一方面及其各实施方式中电子设备执行的方法。In a third aspect, the present application provides an electronic device comprising at least one processor and at least one memory, wherein the at least one memory stores computer program instructions, and when the electronic device is running, the at least one processor executes the method executed by the electronic device in the above-mentioned first aspect and each embodiment thereof.
第四方面,本申请还提供一种包含指令的计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行上述任一方面及其各实施方式中的电子设备执行的方法。In a fourth aspect, the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method executed by the electronic device in any of the above aspects and each embodiment thereof.
第五方面,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序被计算机执行时,使得所述计算机执行上述任一方面及其各实施方式中的电子设备执行的方法。In a fifth aspect, the present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the method executed by the electronic device in any of the above aspects and its various embodiments.
第六方面,本申请还提供一种芯片,所述芯片用于读取存储器中存储的计算机程序,执行上述任一方面及其各实施方式中的电子设备执行的方法。In a sixth aspect, the present application also provides a chip, which is used to read a computer program stored in a memory and execute the method executed by the electronic device in any of the above aspects and its various embodiments.
第七方面,本申请还提供一种芯片系统,该芯片系统包括处理器,用于支持计算机装置实现上述任一方面及其各实施方式中的电子设备执行的方法。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的程序和数据。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a seventh aspect, the present application further provides a chip system, which includes a processor for supporting a computer device to implement the method executed by an electronic device in any of the above aspects and its various embodiments. In a possible design, the chip system also includes a memory, which is used to store the necessary programs and data of the computer device. The chip system can be composed of a chip, or it can include a chip and other discrete devices.
图1为本申请实施例提供的一种电子设备全天候显示的示意图;FIG1 is a schematic diagram of an all-weather display of an electronic device provided by an embodiment of the present application;
图2为本申请实施例提供的一种烧屏现象的示意图;FIG2 is a schematic diagram of a screen burn-in phenomenon provided by an embodiment of the present application;
图3为本申请实施例提供的一种电子设备的结构示意图;FIG3 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
图4为本申请实施例提供的一种电子设备的软件结构框图;FIG4 is a software structure block diagram of an electronic device provided in an embodiment of the present application;
图5为本申请实施例提供的一种显示方法的流程图;FIG5 is a flow chart of a display method provided in an embodiment of the present application;
图6为本申请实施例提供的一种原始图像和补偿图像的示意图;FIG6 is a schematic diagram of an original image and a compensated image provided by an embodiment of the present application;
图7为本申请实施例提供的一种像素偏移的示意图;FIG7 is a schematic diagram of a pixel shift provided in an embodiment of the present application;
图8为本申请实施例提供的第一种生成补偿序图方式的示意图;FIG8 is a schematic diagram of a first method for generating a compensation sequence diagram provided in an embodiment of the present application;
图9为本申请实施例提供的第二种生成补偿序图方式的示意图;FIG9 is a schematic diagram of a second method for generating a compensation sequence diagram provided in an embodiment of the present application;
图10为本申请实施例提供的第三种生成补偿序图方式的示意图;FIG10 is a schematic diagram of a third method for generating a compensation sequence diagram provided in an embodiment of the present application;
图11为本申请实施例提供的一种显示序列的示意图;FIG11 is a schematic diagram of a display sequence provided in an embodiment of the present application;
图12为本申请实施例提供的一种显示方法的示意图;FIG12 is a schematic diagram of a display method provided in an embodiment of the present application;
图13为本申请实施例提供的一种遮罩显示的示意图。FIG. 13 is a schematic diagram of a mask display provided in an embodiment of the present application.
为了使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例作进一步地详细描述。其中,在本申请实施例的描述中,以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings. Among them, in the description of the embodiments of the present application, the terms "first" and "second" are used only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.
应理解,本申请实施例中“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一(项)个”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a、b或c中的至少一项(个),可以表示:a,b,c,a和b, a和c,b和c,或a、b和c,其中a、b、c可以是单个,也可以是多个。It should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character "/" generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or plural.
全天候显示(always on display,AOD)是一种允许电子设备全天候显示各类信息的功能,该功能支持电子设备在息屏时依然可以显示图片、时钟控件等。例如,图1为本申请实施例提供的一种电子设备全天候显示的示意图。参考图1,支持AOD功能的电子设备息屏时,仍然可以显示壁纸、时钟控件等内容。Always on display (AOD) is a function that allows electronic devices to display various types of information around the clock. This function supports electronic devices to still display pictures, clock controls, etc. when the screen is off. For example, FIG1 is a schematic diagram of an electronic device with an all-weather display provided by an embodiment of the present application. Referring to FIG1, an electronic device supporting the AOD function can still display wallpapers, clock controls, etc. when the screen is off.
电子设备的屏幕的显示区是由像素组成的一个阵列,通常一个像素是由红色、绿色和蓝色三个亚像素组成的。屏幕分辨率可以反应屏幕显示图像的清晰度,屏幕分辨率是指屏幕所能显示的像素的数量。例如,屏幕分辨率为160*128表示屏幕可以显示的水平像素数量为160,垂直像素数量为128。在屏幕尺寸一样的情况下,分辨率越高,显示效果就越精细。The display area of the screen of an electronic device is an array composed of pixels. Usually, a pixel is composed of three sub-pixels: red, green and blue. The screen resolution can reflect the clarity of the image displayed on the screen. The screen resolution refers to the number of pixels that the screen can display. For example, a screen resolution of 160*128 means that the screen can display 160 horizontal pixels and 128 vertical pixels. Under the same screen size, the higher the resolution, the finer the display effect.
AOD功能需要电子设备长时间显示内容,根据显示内容不同,屏幕上不同像素处的使用情况不同。如一个区域内的像素长时间进行高亮度显示,则该区域的像素老化程度要高于屏幕中的其他区域,该区域的像素会出现显示亮度不足的情况,导致电子设备显示其它内容时屏幕中的像素老化区域出种现烙印痕迹,上述现象称为“烧屏”。例如,图2为本申请实施例提供的一种烧屏现象的示意图。假设图1所示的锁屏图像中人物袖口部分为白色,电子设备在屏幕上长时间显示该图片时,该图片中的白色区域对应像素位置可能会出现烧屏,如图2所示屏幕中人物袖口部分的位置处出现烙印痕迹,而导致屏幕在显示其它内容时依然出现该烧屏痕迹,影响显示效果。The AOD function requires the electronic device to display content for a long time. Depending on the displayed content, the usage of different pixels on the screen is different. If the pixels in an area are displayed at high brightness for a long time, the degree of pixel aging in this area will be higher than that in other areas of the screen. The pixels in this area will not display enough brightness, causing the aging area of the pixels on the screen to show burn-in marks when the electronic device displays other content. The above phenomenon is called "burn-in". For example, Figure 2 is a schematic diagram of a burn-in phenomenon provided in an embodiment of the present application. Assuming that the cuffs of the character in the lock screen image shown in Figure 1 are white, when the electronic device displays the picture on the screen for a long time, the pixel position corresponding to the white area in the picture may be burn-in, as shown in Figure 2. The position of the cuffs of the character on the screen shows a burn-in mark, which causes the screen to still show the burn-in mark when displaying other content, affecting the display effect.
基于上述问题,本申请提供一种显示方法,以防止全天候显示功能带来的烧屏问题。该方法可以由电子设备执行。在本申请实施例提供的显示方法中,电子设备获取原始图像后,根据原始图像生成补偿图像。电子设备根据原始图像和补偿图像生成N帧补偿序图,并根据预设的动态显示参数对原始图像和N帧补偿序图进行显示。通过方案,电子设备可以均衡使用屏幕中的每个像素进行显示,从而防止长时间显示同一图像时,个别像素老化程度较高而带来的烧屏问题。Based on the above problems, the present application provides a display method to prevent the burn-in problem caused by the all-weather display function. The method can be performed by an electronic device. In the display method provided in the embodiment of the present application, after the electronic device obtains the original image, it generates a compensated image based on the original image. The electronic device generates an N-frame compensation sequence diagram based on the original image and the compensated image, and displays the original image and the N-frame compensation sequence diagram according to the preset dynamic display parameters. Through the scheme, the electronic device can use each pixel in the screen evenly for display, thereby preventing the burn-in problem caused by the high degree of aging of individual pixels when the same image is displayed for a long time.
以下介绍电子设备、和用于使用这样的电子设备的实施例。本申请实施例中的电子设备可以为平板电脑、手机、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)、可穿戴设备等,本申请实施例对电子设备的具体类型不作任何限制。The following introduces electronic devices and embodiments for using such electronic devices. The electronic devices in the embodiments of the present application may be tablet computers, mobile phones, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), wearable devices, etc. The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
图3为本申请实施例提供的一种电子设备100的结构示意图。如图3所示,电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。FIG3 is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application. As shown in FIG3, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging 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, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。The processor 110 may include one or more processing units, for example: the processor 110 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), 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. Among them, different processing units may be independent devices or integrated in one or more processors. Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. A memory may also be set in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a high-speed cache memory. The memory may save instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated access is avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。充电管理模块140用于从充电器接收充电输入。电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. The charging management module 140 is used to receive charging input from the charger. The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。天线1和天线2用于发射和接收电磁波信号。电子设备100中 的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The wireless communication function of the electronic device 100 can be realized by antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify the signal, and convert it into electromagnetic waves for radiation through the antenna 2.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and/or a satellite based augmentation system (SBAS).
显示屏194用于显示应用的显示界面,例如显示电子设备100上安装的应用的显示页面等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display the display interface of the application, such as displaying the display page of the application installed on the electronic device 100. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,以及至少一个应用程序的软件代码等。存储数据区可存储电子设备100使用过程中所产生的数据(例如拍摄的图像、录制的视频等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, and the software code of at least one application program, etc. The data storage area can store data generated during the use of the electronic device 100 (such as captured images, recorded videos, etc.). In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将图片,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as pictures and videos are saved in the external memory card.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D, 以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can use the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, And application processors to realize audio functions, such as music playback, recording, etc.
其中,传感器模块180可以包括压力传感器180A,加速度传感器180B,触摸传感器180C等。Among them, the sensor module 180 may include a pressure sensor 180A, an acceleration sensor 180B, a touch sensor 180C, etc.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194 .
触摸传感器180C,也称“触控面板”。触摸传感器180C可以设置于显示屏194,由触摸传感器180C与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180C用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180C也可以设置于电子设备100的表面,与显示屏194所处的位置不同。The touch sensor 180C is also called a "touch panel". The touch sensor 180C can be set on the display screen 194, and the touch sensor 180C and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180C is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180C can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现与电子设备100的接触和分离。The button 190 includes a power button, a volume button, etc. The button 190 can be a mechanical button. It can also be a touch button. The electronic device 100 can receive the button input and generate a key signal input related to the user settings and function control of the electronic device 100. The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect the SIM card. The SIM card can be inserted into the SIM card interface 195, or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
可以理解的是,图3所示的部件并不构成对电子设备100的具体限定,电子设备还可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。此外,图3中的部件之间的组合/连接关系也是可以调整修改的。It is understood that the components shown in FIG3 do not constitute a specific limitation on the electronic device 100. The electronic device may also include more or fewer components than shown, or combine some components, or split some components, or arrange the components differently. In addition, the combination/connection relationship between the components in FIG3 may also be adjusted and modified.
图4为本申请实施例提供的一种电子设备的软件结构框图。如图4所示,电子设备的软件结构可以是分层架构,例如可以将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将操作系统分为四层,从上至下分别为应用程序层,应用程序框架层(framework,FWK),运行时(runtime)和系统库,以及内核层。FIG4 is a block diagram of the software structure of an electronic device provided in an embodiment of the present application. As shown in FIG4, the software structure of the electronic device can be a layered architecture, for example, the software can be divided into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer (framework, FWK), the runtime (runtime) and the system library, and the kernel layer.
应用程序层可以包括一系列应用程序包(application package)。如图4所示,应用程序层可以包括相机、设置、皮肤模块、用户界面(user interface,UI)、三方应用程序等。其中,三方应用程序可以包括图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等。在本申请实施例中,应用程序层可以包括电子设备从服务器请求下载的目标应用的目标安装包,该目标安装包中的功能文件和布局文件适配于电子设备。The application layer may include a series of application packages. As shown in FIG4 , the application layer may include a camera, settings, a skin module, a user interface (UI), a third-party application, etc. Among them, the third-party application may include a gallery, a calendar, calls, maps, navigation, WLAN, Bluetooth, music, video, short messages, etc. In an embodiment of the present application, the application layer may include a target installation package of a target application that the electronic device requests to download from a server, and the function files and layout files in the target installation package are adapted to the electronic device.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层可以包括一些预先定义的函数。如图4所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器。The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer may include some predefined functions. As shown in FIG4 , the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data and make the data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
电话管理器用于提供电子设备的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions for electronic devices, such as the management of call status (including answering, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
运行时包括核心库和虚拟机。运行时负责操作系统的调度和管理。The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是操作系统的核心库。应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行 为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The core library consists of two parts: one is the function that the Java language needs to call, and the other is the core library of the operating system. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer. It is a binary file. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),二维图形引擎(例如:SGL)、图像处理库等。The system library can include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), image processing library, etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
2D图形引擎是2D绘图的绘图引擎。A 2D graphics engine is a drawing engine for 2D drawings.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
硬件层可以包括各类传感器,例如加速度传感器、陀螺仪传感器、触摸传感器等。The hardware layer can include various types of sensors, such as accelerometers, gyroscopes, touch sensors, etc.
需要说明的是,图3和图4所示的结构仅作为本申请实施例提供的电子设备的一种示例,并不能对本申请实施例提供的电子设备进行任何限定,具体实施中,电子设备可以具有比图3或图4所示的结构中更多或更少的器件或模块。It should be noted that the structure shown in Figures 3 and 4 is only an example of the electronic device provided in the embodiment of the present application, and cannot be used to limit the electronic device provided in the embodiment of the present application. In a specific implementation, the electronic device may have more or fewer devices or modules than those in the structure shown in Figures 3 or 4.
下面对本申请实施例提供的显示方法进行介绍。The display method provided in the embodiment of the present application is introduced below.
图5为本申请实施例提供的一种显示方法的流程图。该方法可以由电子设备执行,电子设备可以具有图3和/或图4所示的结构。参考图5,该方法包括以下步骤:FIG5 is a flow chart of a display method provided by an embodiment of the present application. The method may be executed by an electronic device, and the electronic device may have the structure shown in FIG3 and/or FIG4. Referring to FIG5, the method includes the following steps:
S501:电子设备获取原始图像。S501: The electronic device obtains an original image.
在本申请实施例中,电子设备支持AOD功能,当用户选择开启AOD功能时,电子设备可以将锁屏壁纸进行全天候显示。也就是说,在电子设备亮屏和熄屏状态下,均可以显示锁屏壁纸。用户可以设置自定义图像作为锁屏壁纸,也可以选择系统预置的图像作为锁屏壁纸。电子设备可以获取用户选择设置为锁屏壁纸的原始图像。In an embodiment of the present application, the electronic device supports the AOD function. When the user chooses to turn on the AOD function, the electronic device can display the lock screen wallpaper all day long. That is to say, the lock screen wallpaper can be displayed when the electronic device is in the screen-on and screen-off states. The user can set a custom image as the lock screen wallpaper, or select a system preset image as the lock screen wallpaper. The electronic device can obtain the original image that the user chooses to set as the lock screen wallpaper.
S502:电子设备根据原始图像生成补偿图像。S502: The electronic device generates a compensated image according to the original image.
可选的,本申请实施例中的补偿图像为用于对电子设备显示原始图像时屏幕像素亮度衰减进行补偿的图像,补偿图像中每个像素的亮度值与原始图像中对应像素的亮度值相关。将原始图像和补偿图像叠加后,可以得到一张白色或灰色的图像。例如,图6为本申请实施例提供的一种原始图像和补偿图像的示意图。参考图6,对于原始图像中亮度较高的区域(如图6所示的原始图像中的白色区域),补偿图像中同一位置处图像的亮度较低(如图6所示的补偿图像中的黑色区域),若将原始图像和补偿图像叠加,可以得到一张白色的图像。Optionally, the compensated image in the embodiment of the present application is an image used to compensate for the attenuation of screen pixel brightness when the electronic device displays the original image, and the brightness value of each pixel in the compensated image is related to the brightness value of the corresponding pixel in the original image. After superimposing the original image and the compensated image, a white or gray image can be obtained. For example, Figure 6 is a schematic diagram of an original image and a compensated image provided in an embodiment of the present application. Referring to Figure 6, for an area with higher brightness in the original image (such as a white area in the original image as shown in Figure 6), the brightness of the image at the same position in the compensated image is lower (such as a black area in the compensated image as shown in Figure 6). If the original image and the compensated image are superimposed, a white image can be obtained.
在本申请实施例中,补偿图像中像素的亮度值与原始图像中同一位置处的像素的亮度值之间的和可以为预设值。下面对本申请实施例提供的几种生成补偿图像的方式进行介绍:In the embodiment of the present application, the sum of the brightness value of the pixel in the compensated image and the brightness value of the pixel at the same position in the original image can be a preset value. The following is an introduction to several methods of generating compensated images provided in the embodiment of the present application:
方式1:根据原始图像中每个像素的亮度值和预设亮度值计算补偿图像中每个像素的亮度值。Method 1: Calculate the brightness value of each pixel in the compensated image according to the brightness value of each pixel in the original image and the preset brightness value.
一种可选的实施方式中,电子设备可以获取原始图像中像素的亮度值,计算预设亮度值和该亮度值的差,并将计算得到的结果作为补偿图像中同一位置处像素的亮度值。例如,以原始图像和补偿图像均为RGB格式为例,预设亮度值可以为一个像素的最大亮度值(255,255,255),则原始图像的亮度值和补偿图像的亮度值可以满足以下公式:
RGB’i=RGB(255,255,255)-RGBi(r,g,b)In an optional implementation, the electronic device may obtain the brightness value of the pixel in the original image, calculate the difference between the preset brightness value and the brightness value, and use the calculated result as the brightness value of the pixel at the same position in the compensated image. For example, taking the original image and the compensated image both in RGB format, the preset brightness value may be the maximum brightness value of a pixel (255, 255, 255), then the brightness value of the original image and the brightness value of the compensated image may satisfy the following formula:
RGB' i =RGB(255,255,255)-RGB i (r,g,b)
其中,RGB’i为补偿图像中第i个像素的亮度值,RGBi(r,g,b)为原始图像中第i个像素的亮度值。Where RGB'i is the brightness value of the i-th pixel in the compensated image, and RGBi (r,g,b) is the brightness value of the i-th pixel in the original image.
方式2:根据原始图像中每个像素的亮度值和原始图像的平均亮度值计算补偿图像中每个像素的亮度值。Method 2: Calculate the brightness value of each pixel in the compensated image according to the brightness value of each pixel in the original image and the average brightness value of the original image.
一种可选的实施方式中,电子设备可以计算原始图像的平均亮度值,再计算平均亮度值与原始图像的亮度值之间的差值,并将计算得到的结果作为补偿图像同一位置处的像素的亮度值。例如,以原始图像和补偿图像均为RGB格式为例,原始图像的亮度值和补偿图像的亮度值可以满足以下公式:
RGB’i=RGB(avgR,avgG,avgB)-RGBi(r,g,b)In an optional implementation, the electronic device may calculate the average brightness value of the original image, then calculate the difference between the average brightness value and the brightness value of the original image, and use the calculated result as the brightness value of the pixel at the same position of the compensated image. For example, taking the original image and the compensated image both in RGB format, the brightness value of the original image and the brightness value of the compensated image may satisfy the following formula:
RGB' i =RGB(avgR,avgG,avgB)-RGB i (r,g,b)
其中,RGB’i为补偿图像中第i个像素的亮度值,RGB(avgR,avgG,avgB)为原始图像的平均亮度值,RGBi(r,g,b)为原始图像中第i个像素的亮度值。 Where RGB'i is the brightness value of the i-th pixel in the compensated image, RGB(avgR,avgG,avgB) is the average brightness value of the original image, and RGBi (r,g,b) is the brightness value of the i-th pixel in the original image.
方式3:根据原始图像中每个像素的亮度值和原始图像的最高亮度值计算补偿图像中每个像素的亮度值。Method 3: Calculate the brightness value of each pixel in the compensated image according to the brightness value of each pixel in the original image and the highest brightness value of the original image.
一种可选的实施方式中,电子设备可以确定原始图像的最高亮度值,再计算最高亮度值与原始图像的亮度值之间的差值,并将计算得到的结果作为补偿图像同一位置处的像素的亮度值。例如,以原始图像和补偿图像均为RGB格式为例,原始图像的亮度值和补偿图像的亮度值可以满足以下公式:
RGB’i=RGB(maxR,maxG,maxB)-RGBi(r,g,b)In an optional implementation, the electronic device may determine the highest brightness value of the original image, calculate the difference between the highest brightness value and the brightness value of the original image, and use the calculated result as the brightness value of the pixel at the same position of the compensated image. For example, taking the original image and the compensated image both in RGB format, the brightness value of the original image and the brightness value of the compensated image may satisfy the following formula:
RGB' i =RGB(maxR,maxG,maxB)-RGB i (r,g,b)
其中,RGB’i为补偿图像中第i个像素的亮度值,RGB(maxR,maxG,maxB)为原始图像的最大亮度值,RGBi(r,g,b)为原始图像中第i个像素的亮度值。Where RGB'i is the brightness value of the i-th pixel in the compensated image, RGB(maxR,maxG,maxB) is the maximum brightness value of the original image, and RGBi (r,g,b) is the brightness value of the i-th pixel in the original image.
可以理解,以上三种方式是生成补偿图像方式的三种示例,还可以通过其他方式生成补偿图像,本申请对此不做限定。It can be understood that the above three methods are three examples of methods for generating compensation images. Compensation images can also be generated by other methods, which are not limited in this application.
在本申请一些实施例中,电子设备在根据原始图像生成补偿图像之前,可以对原始图像进行预处理,再根据预处理后的原始图像生成补偿图像。本申请实施例提供以下预处理,电子设备可以执行以下预处理的至少一项:In some embodiments of the present application, before generating a compensated image based on the original image, the electronic device may preprocess the original image, and then generate the compensated image based on the preprocessed original image. The present application embodiment provides the following preprocessing, and the electronic device may perform at least one of the following preprocessing:
1、降低原始图像中部分区域的亮度。1. Reduce the brightness of some areas in the original image.
可选地,电子设备可以确定原始图像中亮度大于预设亮度阈值的目标区域,并降低该目标区域的亮度。Optionally, the electronic device may determine a target area in the original image whose brightness is greater than a preset brightness threshold, and reduce the brightness of the target area.
2、降低原始图像的亮度。2. Reduce the brightness of the original image.
可选地,电子设备可以调低原始图像整体的亮度。Optionally, the electronic device may lower the overall brightness of the original image.
3、将原始图像划分为多个区域,分别调整每个区域的亮度。3. Divide the original image into multiple areas and adjust the brightness of each area separately.
可选地,电子设备可以将原始图像划分为多个区域,例如划分后的每个区域可以包括预设数量的像素。电子设备可以对划分后的每个区域进行亮度调整,例如降低一个区域的图像中部分区域的亮度,或者降低该区域的整体亮度等。Optionally, the electronic device may divide the original image into a plurality of regions, for example, each divided region may include a preset number of pixels. The electronic device may adjust the brightness of each divided region, for example, by reducing the brightness of a portion of an image in a region, or reducing the overall brightness of the region.
4、像素位移。4. Pixel displacement.
可选地,电子设备可以设置原始图像的大小大于显示区域的大小,从而电子设备在显示原始图像时,可以在显示区域的范围内对原始图像进行位移,防止屏幕长时间显示同样的内容而导致烧屏。Optionally, the electronic device can set the size of the original image to be larger than the size of the display area, so that when the electronic device displays the original image, it can shift the original image within the range of the display area to prevent the screen from displaying the same content for a long time and causing screen burn-in.
例如,图7为本申请实施例提供的一种像素偏移的示意图。参考图7中的(a),原始图像的大小大于显示区域的图像大小,如显示区域的长比原始图像的长小32像素,显示区域的宽比原始图像的宽小32像素,也就是说对显示区域的各边增加16像素可以得到原始图像的大小。电子设备可以在不同时刻在显示区域中显示原始图像的不同位置。例如,参考图7中的(b),电子设备可以在不同时刻显示不同状态的原始图像,从而通过像素位移均衡利用屏幕各像素进行显示。For example, FIG7 is a schematic diagram of a pixel shift provided in an embodiment of the present application. Referring to (a) in FIG7 , the size of the original image is larger than the image size of the display area, such as the length of the display area is 32 pixels smaller than the length of the original image, and the width of the display area is 32 pixels smaller than the width of the original image, that is, adding 16 pixels to each side of the display area can obtain the size of the original image. The electronic device can display different positions of the original image in the display area at different times. For example, referring to (b) in FIG7 , the electronic device can display the original image in different states at different times, thereby utilizing each pixel of the screen for display through pixel shift equalization.
通过以上设计,电子设备先对原始图像进行预处理,预处理后的原始图像的烧屏风险已经低于原始图像,基于预处理后的原始图像生成补偿图像可以进一步保证本申请实施例提供的显示方法的防烧屏效果。Through the above design, the electronic device first preprocesses the original image. The burn-in risk of the preprocessed original image is already lower than that of the original image. Generating a compensated image based on the preprocessed original image can further ensure the anti-burn-in effect of the display method provided in the embodiment of the present application.
S503:电子设备根据原始图像和补偿图像生成N帧补偿序图。S503: The electronic device generates N frames of compensation sequence diagram according to the original image and the compensated image.
在本申请实施例中,为保证显示效果,电子设备可以根据原始图像和补偿图像生成N帧补偿序图,每帧补偿序图是在原始图像的基础上、将一部分像素的亮度值替换为补偿图像中相同位置处像素的亮度值生成的,从而每帧补偿序图相较于原始图像的显示效果不会有较大的差别,并且通过显示多帧补偿序图可以使得屏幕显示亮度均衡,防止不同区域因亮度较高而快速老化。In an embodiment of the present application, to ensure the display effect, the electronic device can generate N frames of compensation sequence diagrams based on the original image and the compensated image. Each frame of the compensation sequence diagram is generated on the basis of the original image by replacing the brightness values of a part of the pixels with the brightness values of the pixels at the same position in the compensated image. Therefore, the display effect of each frame of the compensation sequence diagram will not be significantly different from that of the original image, and by displaying multiple frames of compensation sequence diagrams, the screen display brightness can be balanced to prevent different areas from aging quickly due to high brightness.
下面对本申请实施例提供多种生成N帧补偿序图的方式进行进一步介绍。The following further introduces the various methods for generating N-frame compensation sequence diagrams provided in the embodiments of the present application.
首先,对以下生成N帧补偿序图的方式中涉及的像素单元进行介绍。本申请实施例中像素单元为多个相邻的像素组成的像素单元,例如,一个像素单元可以包括Y个像素,Y为正整数。本申请实施例中像素单元可以为矩形、三角形、菱形等多种形状。电子设备可以将像素单元作为一个处理单元进行图像处理,例如,将原始图像中一行像素单元的亮度值替换为补偿图像中相同位置处的一行像素单元的亮度值等。First, the pixel units involved in the following method of generating an N-frame compensation sequence diagram are introduced. In the embodiment of the present application, the pixel unit is a pixel unit composed of multiple adjacent pixels. For example, a pixel unit may include Y pixels, where Y is a positive integer. In the embodiment of the present application, the pixel unit may be in a variety of shapes such as a rectangle, a triangle, and a diamond. The electronic device may use the pixel unit as a processing unit to perform image processing, for example, replacing the brightness value of a row of pixel units in the original image with the brightness value of a row of pixel units at the same position in the compensated image, etc.
方式1、奇偶位置替换方式Method 1: Odd-even position replacement method
一种可选的实施方式中,电子设备可以将原始图像中第一位置处像素单元的亮度值替换为补偿图像 的第一位置处像素单元的亮度值,得到第一补偿序图。其中,以像素单元作为处理单元,第一位置为行序号与列序号均为奇数的像素单元位置。In an optional implementation, the electronic device may replace the brightness value of the pixel unit at the first position in the original image with the compensated image The first compensation sequence diagram is obtained by calculating the brightness value of the pixel unit at the first position of the pixel unit, wherein the pixel unit is used as the processing unit, and the first position is the pixel unit position whose row number and column number are both odd numbers.
电子设备可以将原始图像中第二位置处像素单元的亮度值替换为补偿图像的第二位置处像素单元的亮度值,得到第二补偿序图。其中,第二位置为行序号为偶数、列序号为奇数的像素单元位置。The electronic device can replace the brightness value of the pixel unit at the second position in the original image with the brightness value of the pixel unit at the second position in the compensated image to obtain a second compensation sequence diagram, wherein the second position is the pixel unit position with an even row number and an odd column number.
电子设备可以将原始图像中第三位置处像素单元的亮度值替换为补偿图像的第三位置处像素单元的亮度值,得到第三补偿序图。其中,第三位置为行序号与列序号均为偶数的像素单元位置。The electronic device can replace the brightness value of the pixel unit at the third position in the original image with the brightness value of the pixel unit at the third position in the compensated image to obtain a third compensated sequence diagram, wherein the third position is a pixel unit position with an even number of row and column numbers.
电子设备可以将原始图像中第四位置处像素单元的亮度值替换为补偿图像的第四位置处像素单元的亮度值,得到第四补偿序图。其中,第四位置为行序号为奇数、列序号为偶数的像素单元位置。The electronic device can replace the brightness value of the pixel unit at the fourth position in the original image with the brightness value of the pixel unit at the fourth position in the compensated image to obtain a fourth compensation sequence diagram, wherein the fourth position is a pixel unit position with an odd row number and an even column number.
也就是说,在该方式中,N的值为4,电子设备可以生成第一补偿序图、第二补偿序图、第三补偿序图和第四补偿序图这四帧补偿序图。That is, in this manner, the value of N is 4, and the electronic device can generate four compensation sequence diagrams, namely, a first compensation sequence diagram, a second compensation sequence diagram, a third compensation sequence diagram, and a fourth compensation sequence diagram.
例如,图8为本申请实施例提供的第一种生成补偿序图方式的示意图。参考图8,为便于说明,假设原始图像为全白图像,则补偿图像为全黑图像。电子设备可以将原始图像中第一位置处的像素单元的亮度值替换为补偿图像的第一位置处的像素单元的亮度值,得到第一补偿序图;电子设备可以将原始图像中第二位置处的像素单元的亮度值替换为补偿图像的第二位置处的像素单元的亮度值,得到第二补偿序图;电子设备可以将原始图像中第三位置处的像素单元的亮度值替换为补偿图像的第三位置处的像素单元的亮度值,得到第三补偿序图;电子设备可以将原始图像中第四位置处的像素单元的亮度值替换为补偿图像的第四位置处的像素单元的亮度值,得到第四补偿序图。For example, FIG8 is a schematic diagram of the first method for generating a compensation sequence diagram provided by an embodiment of the present application. Referring to FIG8, for ease of explanation, it is assumed that the original image is a completely white image, and the compensated image is a completely black image. The electronic device may replace the brightness value of the pixel unit at the first position in the original image with the brightness value of the pixel unit at the first position of the compensated image to obtain a first compensation sequence diagram; the electronic device may replace the brightness value of the pixel unit at the second position in the original image with the brightness value of the pixel unit at the second position of the compensated image to obtain a second compensation sequence diagram; the electronic device may replace the brightness value of the pixel unit at the third position in the original image with the brightness value of the pixel unit at the third position of the compensated image to obtain a third compensation sequence diagram; the electronic device may replace the brightness value of the pixel unit at the fourth position in the original image with the brightness value of the pixel unit at the fourth position of the compensated image to obtain a fourth compensation sequence diagram.
方式2、按行扫描方式Method 2: Scan by line
一种可选的实施方式中,电子设备可以将原始图像中第i行像素单元的亮度值替换为补偿图像的第i行像素单元的亮度值,得到第i帧补偿序图;i为小于N的正整数。在该方式中,N为原始图像的像素单元的总行数。In an optional implementation, the electronic device may replace the brightness value of the pixel unit in the i-th row in the original image with the brightness value of the pixel unit in the i-th row in the compensated image to obtain the i-th frame compensation sequence diagram; i is a positive integer less than N. In this method, N is the total number of rows of pixel units in the original image.
电子设备执行N次上述步骤,可以得到N帧补偿序图,每帧补偿序图中一行像素单元的亮度值为补偿图像中相同位置的像素单元的亮度值,其余像素单元的亮度值为原始图像中相同位置的像素单元的亮度值。The electronic device performs the above steps N times to obtain N frames of compensation sequence diagrams, in which the brightness value of a row of pixel units in each frame of the compensation sequence diagram is the brightness value of the pixel units at the same position in the compensated image, and the brightness values of the remaining pixel units are the brightness values of the pixel units at the same position in the original image.
图9为本申请实施例提供的第二种生成补偿序图方式的示意图。参考图9,为便于说明,假设原始图像为全白图像,则补偿图像为全黑图像。电子设备可以对原始图像的N行像素单元依次进行亮度值替换,生成N帧补偿图像。FIG9 is a schematic diagram of a second method for generating a compensation sequence diagram provided by an embodiment of the present application. Referring to FIG9, for ease of explanation, assuming that the original image is a full white image, the compensated image is a full black image. The electronic device can replace the brightness values of N rows of pixel units of the original image in sequence to generate N frames of compensated images.
方式3、按列扫描方式Method 3: Scan by column
一种可选的实施方式中,电子设备可以将原始图像中第i列像素单元的亮度值替换为补偿图像的第i列像素单元的亮度值,得到第i帧补偿序图;i为小于N的正整数。在该方式中,N为原始图像的像素单元的总列数。In an optional implementation, the electronic device may replace the brightness value of the pixel unit in the i-th column of the original image with the brightness value of the pixel unit in the i-th column of the compensated image to obtain the i-th frame compensation sequence diagram; i is a positive integer less than N. In this method, N is the total number of columns of pixel units in the original image.
电子设备执行N次上述步骤,可以得到N帧补偿序图,每帧补偿序图中一列像素单元的亮度值为补偿图像中相同位置的像素单元的亮度值,其余像素单元的亮度值为原始图像中相同位置的像素单元的亮度值。The electronic device performs the above steps N times to obtain N frames of compensation sequence diagrams, in which the brightness value of a column of pixel units in each frame of compensation sequence diagram is the brightness value of the pixel unit at the same position in the compensated image, and the brightness values of the remaining pixel units are the brightness values of the pixel units at the same position in the original image.
图10为本申请实施例提供的第三种生成补偿序图方式的示意图。参考图10,为便于说明,假设原始图像为全白图像,则补偿图像为全黑图像。电子设备可以对原始图像的N列像素单元依次进行亮度值替换,生成N帧补偿图像。FIG10 is a schematic diagram of a third method for generating a compensation sequence diagram provided in an embodiment of the present application. Referring to FIG10 , for ease of explanation, assuming that the original image is a full white image, the compensated image is a full black image. The electronic device can replace the brightness values of N columns of pixel units of the original image in sequence to generate N frames of compensated images.
可选地,在上述三种方式中,电子设备将原始图像中像素单元的亮度值替换为补偿图像中对应像素单元的亮度值,可以为电子设备将原始图像中该像素单元包括的每个像素的亮度值替换为补偿图像中对应像素的亮度值。例如,当一个像素单元包括四个像素时,电子设备可以分别将原始图像中四个像素的亮度值替换为补偿图像中对应像素的亮度值。Optionally, in the above three methods, the electronic device replaces the brightness value of the pixel unit in the original image with the brightness value of the corresponding pixel unit in the compensated image, and the electronic device may replace the brightness value of each pixel included in the pixel unit in the original image with the brightness value of the corresponding pixel in the compensated image. For example, when a pixel unit includes four pixels, the electronic device may replace the brightness values of the four pixels in the original image with the brightness values of the corresponding pixels in the compensated image.
可以理解,以上三种方式是生成N帧补偿序图方式的三种示例,还可以以其他方式生成补偿序图,本申请对此不做限定。It can be understood that the above three methods are three examples of methods for generating N-frame compensation sequence diagrams. The compensation sequence diagram may also be generated in other methods, which is not limited in the present application.
S504:电子设备根据预设的动态显示参数对原始图像和N帧补偿序图进行显示。S504: The electronic device displays the original image and the N-frame compensation sequence image according to preset dynamic display parameters.
本申请一种可选的实施方式中,电子设备可以根据预设的动态显示参数计算预设时长内显示图像的 总帧数,并根据原始图像的显示时长与补偿序图的显示时长之间的预设比例确定预设时长内显示原始图像的帧数以及预设时长内显示补偿序图的帧数。可选的,动态显示参数可以包括动效曲线、预设时长等。其中,动效曲线可以用于指示电子设备动态显示原始图像和多帧补偿序图时切换图像帧的速度。预设时长可以作为一个动效周期,电子设备可以在一个动效周期内显示原始图像和多帧补偿序图。In an optional implementation of the present application, the electronic device can calculate the time required to display an image within a preset time period according to preset dynamic display parameters. The total number of frames, and the number of frames of the original image displayed within the preset time length and the number of frames of the compensation sequence diagram displayed within the preset time length are determined according to the preset ratio between the display time length of the original image and the display time length of the compensation sequence diagram. Optionally, the dynamic display parameters may include a motion effect curve, a preset time length, etc. Among them, the motion effect curve can be used to indicate the speed of switching image frames when the electronic device dynamically displays the original image and multiple frames of compensation sequence diagrams. The preset time length can be used as a motion effect cycle, and the electronic device can display the original image and multiple frames of compensation sequence diagrams within one motion effect cycle.
例如,本申请实施例中电子设备根据动态显示参数确定出的预设时长T内显示原始图像的帧数为P、以及确定出的预设时长T内显示补偿序图的帧数为Q,其中,P和Q均为正整数。For example, in the embodiment of the present application, the electronic device determines the number of frames P of the original image displayed within the preset time length T according to the dynamic display parameters, and the number of frames Q of the compensation sequence diagram displayed within the preset time length T, where P and Q are both positive integers.
一种可选的实施方式中,电子设备可以将P帧原始图像和Q帧补偿序图组合得到一组显示序列,在该组显示序列中P帧原始图像和Q帧原始图像可以交叉排列。电子设备可以以预设时长为动效周期,在一个动效周期内按顺序显示显示序列中的多帧图像。可选地,电子设备可以生成多组显示序列,每组显示序列中的Q帧补偿序图为电子设备生成的N帧补偿序图中的部分或全部补偿序图,也就是说,Q为小于或等于N的正整数。电子设备在每个动效周期内显示一组显示序列,通过显示一组显示序列(Q等于N时)或多组显示序列(Q小于N时)可以完成一轮N帧补偿序图的显示,以保证均衡屏幕使用程度的效果。In an optional implementation, the electronic device may combine the P-frame original image and the Q-frame compensation sequence diagram to obtain a set of display sequences, in which the P-frame original image and the Q-frame original image may be arranged crosswise. The electronic device may use a preset duration as the motion effect cycle, and display multiple frames of images in the display sequence in sequence within one motion effect cycle. Optionally, the electronic device may generate multiple groups of display sequences, and the Q-frame compensation sequence diagram in each group of display sequences is part or all of the compensation sequence diagrams in the N-frame compensation sequence diagram generated by the electronic device, that is, Q is a positive integer less than or equal to N. The electronic device displays a set of display sequences within each motion effect cycle, and a round of N-frame compensation sequence diagram display can be completed by displaying a set of display sequences (when Q is equal to N) or multiple sets of display sequences (when Q is less than N) to ensure the effect of balanced screen usage.
举例来说,图11为本申请实施例提供的显示序列的示意图。参考图11,为便于说明,假设原始图像为全白图像,则补偿图像为全黑图像。假设电子设备生成10帧补偿序图,电子设备确定预设时长内显示10帧原始图像和5帧补偿序图,则电子设备可以生成两组显示序列。如图11所示,电子设备生成的每组显示序列中包括10帧原始图像和5帧补偿序图,且10帧原始图像和5帧补偿序图交叉排列,从而电子设备显示显示序列时可以保证显示效果。在两个预设时长后,电子设备可以完成一轮10帧补偿序图的显示,使得屏幕各像素的亮度均衡。For example, Figure 11 is a schematic diagram of a display sequence provided in an embodiment of the present application. Referring to Figure 11, for ease of explanation, assuming that the original image is an all-white image, the compensated image is an all-black image. Assuming that the electronic device generates 10 frames of compensation sequence diagrams, and the electronic device determines to display 10 frames of original images and 5 frames of compensation sequence diagrams within a preset time length, the electronic device can generate two groups of display sequences. As shown in Figure 11, each group of display sequences generated by the electronic device includes 10 frames of original images and 5 frames of compensation sequence diagrams, and the 10 frames of original images and the 5 frames of compensation sequence diagrams are arranged crosswise, so that the display effect can be guaranteed when the electronic device displays the display sequence. After two preset time lengths, the electronic device can complete a round of display of 10 frames of compensation sequence diagrams, so that the brightness of each pixel on the screen is balanced.
在本申请另外一些可选的实施方式中,Q还可以为大于N的整数,则电子设备在一个预设时长中可以循环显示N帧补偿序图,该方式同样可以实现均衡屏幕像素显示亮度的目的,此处不再赘述。In some other optional embodiments of the present application, Q can also be an integer greater than N, and the electronic device can cyclically display N frames of compensation sequence diagrams in a preset time length. This method can also achieve the purpose of balancing the screen pixel display brightness, which will not be repeated here.
需要说明的是,当电子设备对原始图像执行像素位移预处理时,电子设备在显示原始图像和N帧补偿序图时,可以在显示区域内调整图像的位置,例如可以参见图7所示的在显示区域内显示图像的方式,从而通过像素位移均衡利用屏幕各像素进行显示。It should be noted that when the electronic device performs pixel shift preprocessing on the original image, the electronic device can adjust the position of the image in the display area when displaying the original image and the N-frame compensation sequence diagram. For example, refer to the method of displaying the image in the display area shown in Figure 7, so as to utilize each pixel of the screen for display through pixel shift equalization.
可选地,电子设备还可以根据动态显示参数显示预处理后的原始图像和N帧补偿序图,具体实施可以参见上述电子设备显示原始图像和N帧补偿序图的方法,重复之处不再赘述。Optionally, the electronic device may also display the preprocessed original image and N-frame compensation sequence diagram according to the dynamic display parameters. For specific implementation, reference may be made to the above-mentioned method for displaying the original image and N-frame compensation sequence diagram by the electronic device, and repeated parts will not be repeated.
在本申请一些实施例中,考虑电子设备屏幕温度也会增加烧屏的风险,电子设备在计算预设时长内显示补偿序图的帧数时,可以获取屏幕温度,并根据屏幕温度确定温度系数,例如,温度系数可以满足以下公式:
温度系数=(当前屏幕温度-温度阈值)/10In some embodiments of the present application, considering that the screen temperature of the electronic device may also increase the risk of screen burn-in, the electronic device may obtain the screen temperature when calculating the number of frames of the compensation sequence diagram displayed within a preset time, and determine the temperature coefficient according to the screen temperature. For example, the temperature coefficient may satisfy the following formula:
Temperature coefficient = (current screen temperature - temperature threshold) / 10
电子设备可以根据温度系数调整预设的显示比例或预设时长内显示补偿序图的帧数。例如,当温度系数为1时,电子设备可以调整预设的显示比例以使显示补偿图像的时长为原始数值的2倍,或者电子设备可以调整预设时长内显示补偿序图的帧数为原始数值的2倍。通过该方式,可以减轻屏幕温度过高对屏幕像素老化的影响。The electronic device can adjust the preset display ratio or the number of frames of the compensation sequence image displayed within the preset duration according to the temperature coefficient. For example, when the temperature coefficient is 1, the electronic device can adjust the preset display ratio so that the duration of displaying the compensation image is twice the original value, or the electronic device can adjust the number of frames of the compensation sequence image displayed within the preset duration to twice the original value. In this way, the impact of excessive screen temperature on screen pixel aging can be reduced.
可选地,电子设备在根据温度系数调整预设的显示比例时,还可以调整预设时长,如当温度系数为1时,电子设备可以调整预设的显示比例以使显示补偿图像的时长为原始数值的2倍,同时电子设备可以增加预设时长的值。也就是说,调整后的一个动效周期的时长增加,相应的一个动效周期中显示原始图像的时长和补偿图像的时长均会增加,并且一个动效周期中显示补偿图像的时长的增幅要大于一个动效周期中显示原始图像的时长的增幅。通过该方式,可以保证动态显示效果,同时增加显示补偿图像的时长以减轻温度过高对屏幕像素老化的影响。Optionally, when the electronic device adjusts the preset display ratio according to the temperature coefficient, it can also adjust the preset duration. For example, when the temperature coefficient is 1, the electronic device can adjust the preset display ratio so that the duration of displaying the compensated image is twice the original value, and the electronic device can increase the value of the preset duration. In other words, as the duration of an adjusted motion effect cycle increases, the duration of displaying the original image and the duration of displaying the compensated image in a corresponding motion effect cycle will both increase, and the increase in the duration of displaying the compensated image in a motion effect cycle is greater than the increase in the duration of displaying the original image in a motion effect cycle. In this way, the dynamic display effect can be guaranteed, while increasing the duration of displaying the compensated image to reduce the impact of excessive temperature on screen pixel aging.
本申请实施例还提供一种显示方法。在该方法中,电子设备中可以预置多张图像,用户可以从多张图像中选择一张图像作为壁纸。在电子设备开启AOD功能时,电子设备可以根据预配置的显示参数在不同时间分别正常显示图像中的不同区域。在正常显示部分区域时,电子设备对图像中的其他区域进行灰度显示。The embodiment of the present application also provides a display method. In this method, multiple images can be pre-set in the electronic device, and the user can select an image from the multiple images as a wallpaper. When the AOD function of the electronic device is turned on, the electronic device can normally display different areas in the image at different times according to the pre-configured display parameters. When displaying part of the area normally, the electronic device displays other areas in the image in grayscale.
举例来说,图12为本申请实施例提供的一种显示方法的示意图。参考图12,图中斜线填充的图案表示灰度显示,白色填充的图案表示正常显示。电子设备分别在不同时间正常显示不同区域,使得电子设备在基于该方式显示图像时,用户可以看到各个区域依次亮起的效果。该方式可以均衡使用屏幕的各 像素进行显示,防止烧屏。For example, FIG12 is a schematic diagram of a display method provided by an embodiment of the present application. Referring to FIG12, the pattern filled with oblique lines in the figure represents grayscale display, and the pattern filled with white represents normal display. The electronic device normally displays different areas at different times, so that when the electronic device displays an image based on this method, the user can see the effect of each area lighting up in turn. This method can balance the use of various areas of the screen. Pixels are displayed to prevent screen burn-in.
在本申请另一些实施例中,电子设备还可以在开启AOD功能时,在用户设置的壁纸图像上同时显示“遮罩”,遮罩可以为位于壁纸图层上的一个图层。图13为本申请实施例提供的一种遮罩显示的示意图。参考图13,电子设备可以在壁纸上显示遮罩,遮罩包括透明区域以及非透明区域,透过遮罩的透明区域可以显示壁纸,非透明区域会遮挡壁纸。电子设备可以调整透明区域的位置,从而实现在不同时间显示壁纸的不同区域,实现均衡使用屏幕的各像素进行显示,防止烧屏。In other embodiments of the present application, the electronic device can also display a "mask" on the wallpaper image set by the user when the AOD function is turned on. The mask can be a layer located on the wallpaper layer. Figure 13 is a schematic diagram of a mask display provided in an embodiment of the present application. Referring to Figure 13, the electronic device can display a mask on the wallpaper. The mask includes a transparent area and a non-transparent area. The wallpaper can be displayed through the transparent area of the mask, and the non-transparent area will block the wallpaper. The electronic device can adjust the position of the transparent area to display different areas of the wallpaper at different times, achieve balanced use of each pixel of the screen for display, and prevent screen burn-in.
基于以上实施例,本申请还提供一种电子设备,所述电子设备包括多个功能模块;所述多个功能模块相互作用,实现本申请实施例所描述的各方法中电子设备所执行的功能。如执行图5所示实施例中电子设备执行的步骤。所述多个功能模块可以基于软件、硬件或软件和硬件的结合实现,且所述多个功能模块可以基于具体实现进行任意组合或分割。Based on the above embodiments, the present application also provides an electronic device, which includes multiple functional modules; the multiple functional modules interact with each other to implement the functions performed by the electronic device in each method described in the embodiments of the present application. For example, the steps performed by the electronic device in the embodiment shown in Figure 5 are executed. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on the specific implementation.
基于以上实施例,本申请还提供一种电子设备,该电子设备包括至少一个处理器和至少一个存储器,所述至少一个存储器中存储计算机程序指令,所述电子设备运行时,所述至少一个处理器执行本申请实施例所描述的各方法中站点所执行的功能。如执行图5所示实施例中电子设备执行的步骤。Based on the above embodiments, the present application further provides an electronic device, which includes at least one processor and at least one memory, wherein the at least one memory stores computer program instructions, and when the electronic device is running, the at least one processor performs the functions performed by the site in each method described in the embodiments of the present application. For example, the steps performed by the electronic device in the embodiment shown in FIG5 are performed.
基于以上实施例,本申请还提供一种包含指令的计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行本申请实施例所描述的各方法。Based on the above embodiments, the present application further provides a computer program product comprising instructions, and when the computer program product is run on a computer, the computer is enabled to execute the methods described in the embodiments of the present application.
基于以上实施例,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序被计算机执行时,使得所述计算机执行本申请实施例所描述的各方法。Based on the above embodiments, the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the methods described in the embodiments of the present application.
基于以上实施例,本申请还提供了一种芯片,所述芯片用于读取存储器中存储的计算机程序,实现本申请实施例所描述的各方法。Based on the above embodiments, the present application further provides a chip, which is used to read a computer program stored in a memory to implement the methods described in the embodiments of the present application.
基于以上实施例,本申请提供了一种芯片系统,该芯片系统包括处理器,用于支持计算机装置实现本申请实施例所描述的各方法。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的程序和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。Based on the above embodiments, the present application provides a chip system, which includes a processor for supporting a computer device to implement the methods described in the embodiments of the present application. In one possible design, the chip system also includes a memory, which is used to store the necessary programs and data for the computer device. The chip system can be composed of a chip, or it can include a chip and other discrete devices.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to the flowchart and/or block diagram of the method, device (system), and computer program product according to the present application. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the process and/or box in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the function specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的保护范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。 Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of protection of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims (14)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310475872.2A CN118840955B (en) | 2023-04-25 | 2023-04-25 | Display method and electronic equipment |
| CN202310475872.2 | 2023-04-25 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024222437A1 true WO2024222437A1 (en) | 2024-10-31 |
Family
ID=93143145
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/086581 Pending WO2024222437A1 (en) | 2023-04-25 | 2024-04-08 | Display method and electronic device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN118840955B (en) |
| WO (1) | WO2024222437A1 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103489405A (en) * | 2013-09-30 | 2014-01-01 | 京东方科技集团股份有限公司 | Method, device and system for compensating displaying |
| KR20150025987A (en) * | 2013-08-30 | 2015-03-11 | 엘지디스플레이 주식회사 | Organic light emitting display and method of driving the same |
| CN107909974A (en) * | 2017-11-21 | 2018-04-13 | 青岛海信电器股份有限公司 | Pixel compensation method, device and TV |
| KR20210033300A (en) * | 2019-09-18 | 2021-03-26 | 엘지디스플레이 주식회사 | Organic lighting emitting diode display comprising a circuit for compensation degradation the same, and method for degradation compensation |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107909964A (en) * | 2017-12-07 | 2018-04-13 | 北海威德电子科技有限公司 | A kind of display compensation method of display panel and device |
| CN109377945B (en) * | 2018-11-08 | 2021-01-22 | 京东方科技集团股份有限公司 | Pixel compensation method, device and system |
-
2023
- 2023-04-25 CN CN202310475872.2A patent/CN118840955B/en active Active
-
2024
- 2024-04-08 WO PCT/CN2024/086581 patent/WO2024222437A1/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20150025987A (en) * | 2013-08-30 | 2015-03-11 | 엘지디스플레이 주식회사 | Organic light emitting display and method of driving the same |
| CN103489405A (en) * | 2013-09-30 | 2014-01-01 | 京东方科技集团股份有限公司 | Method, device and system for compensating displaying |
| CN107909974A (en) * | 2017-11-21 | 2018-04-13 | 青岛海信电器股份有限公司 | Pixel compensation method, device and TV |
| KR20210033300A (en) * | 2019-09-18 | 2021-03-26 | 엘지디스플레이 주식회사 | Organic lighting emitting diode display comprising a circuit for compensation degradation the same, and method for degradation compensation |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118840955A (en) | 2024-10-25 |
| CN118840955B (en) | 2025-12-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20230419570A1 (en) | Image Processing Method and Electronic Device | |
| CN112825232B (en) | Compensation method and electronic equipment | |
| CN111508039B (en) | Word processing method of ink screen and communication terminal | |
| WO2022042285A1 (en) | Method for displaying interface of application program and electronic device | |
| CN112184595B (en) | Mobile terminal and image display method thereof | |
| CN114023272B (en) | Method and terminal equipment for eliminating residual shadow of ink screen | |
| CN111767016B (en) | Display processing method and device | |
| CN113157357B (en) | A method, device, terminal and storage medium for page display | |
| CN113965642A (en) | Display method and electronic equipment | |
| CN114359087B (en) | Image processing method, device, equipment and medium | |
| WO2021057472A1 (en) | Display control method and electronic device | |
| WO2025209372A1 (en) | Wallpaper display method and electronic device | |
| WO2023005751A1 (en) | Rendering method and electronic device | |
| CN113038141B (en) | Video frame processing method and electronic equipment | |
| WO2024164627A1 (en) | Color switching method and apparatus, medium, and electronic device | |
| US20250363965A1 (en) | Image processing method and electronic device | |
| CN114063945B (en) | Mobile terminal and image display method thereof | |
| WO2024222437A1 (en) | Display method and electronic device | |
| EP4560466A1 (en) | Interface rendering method and electronic device | |
| WO2024156222A1 (en) | Display method and electronic device | |
| CN113891008B (en) | Exposure intensity adjusting method and related equipment | |
| CN114639358A (en) | Ink screen refreshing method, terminal device, storage medium and program product | |
| CN114911545A (en) | Color mode conversion method, electronic device and readable medium thereof | |
| EP4307212A1 (en) | Image processing method and related device | |
| CN113259582B (en) | Picture generation method and terminal |
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: 24795818 Country of ref document: EP Kind code of ref document: A1 |