Display method and electronic device

By generating compensation images and compensation sequence diagrams, the screen pixels of electronic devices are used in a balanced manner, which solves the problem of screen burn-in caused by all-weather display, achieves balanced use of screen brightness and guarantees user experience.

WO2024222437A1PCT designated stage expired Publication Date: 2024-10-31HUAWEI TECH CO LTD

Patent Information

Application Number
PCT/CN2024/086581
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-25
Filing Date
2024-04-08
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

The all-weather display function causes the screen pixels of electronic devices to age and cause screen burn-in. Especially when the same image is displayed for a long time, individual pixels have a high degree of aging, resulting in insufficient brightness and burn-in marks.

Method used

By generating compensation images and N-frame compensation sequences, each pixel of the screen is used evenly to prevent individual pixels from aging. Multiple methods are used to generate compensation images, such as calculating compensation images based on brightness values, average brightness values, and maximum brightness values, and replacing The pixel unit brightness value of the original image generates a compensation sequence diagram, which is displayed in combination with the preset dynamic display parameters.

Benefits of technology

It effectively prevents the aging of screen pixels caused by long-term display of a single image, maintains a balanced screen brightness, avoids screen burn-in, and ensures user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024086581_31102024_PF_FP_ABST
    Figure CN2024086581_31102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a display method and an electronic device. The method comprises: an electronic device acquiring an original image; the electronic device generating a compensation image according to the original image, wherein the brightness value of each pixel in the compensation image is related to the brightness value of the corresponding pixel in the original image; and the electronic device generating N frames of compensation sequence diagrams according to the original image and the compensation image, and displaying the original image and the N frames of compensation sequence diagrams according to a preset dynamic display parameter. By means of the solution, an electronic device can use, by means of displaying an original image and N frames of compensation sequence diagrams and in a balanced manner, each pixel in a screen for display, thereby preventing a screen burning problem caused by a relatively high aging degree of individual pixels when the same image is displayed for a long time.
Need to check novelty before this filing date? Find Prior Art

Description

Display method and electronic device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to 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", the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of image display technology, and in particular to a display method and electronic equipment. Background Art

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

[0005] The AOD function requires electronic devices to display content for extended periods of time. Depending on the content being displayed, different pixels on the screen are used differently. If pixels in a certain area are displayed at high brightness for extended periods, they will age more rapidly than other areas of the screen. This can cause the pixels in this area to display insufficient brightness, resulting in burn-in when the electronic device displays other content. This phenomenon is known as screen burn-in.

[0006] Summary of the Invention

[0007] The present application provides a display method and electronic device for preventing the burn-in problem caused by the all-weather display function.

[0008] In a first aspect, the present application provides a display method, which can be performed by an electronic device. The method includes:

[0009] 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 correlated with the brightness value of the corresponding pixel in the original image. The electronic device generates N frames of compensated sequential graph based on the original image and the compensated image, and displays the original image and the N frames of compensated sequential graph according to preset dynamic display parameters.

[0010] In this method, the electronic device can generate a compensated image based on the original image, and then generate N frames of compensation sequence diagrams based on the original image and the compensated image. By displaying the original image and the N frames of compensation sequence diagrams, 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.

[0011] 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 the 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.

[0012] Through this design, the present application provides multiple ways to generate compensated images. After the compensated image generated based on the above method is superimposed on the original image, a white or gray image can be obtained. The compensated image can be used to compensate for the attenuation of screen pixel brightness when the electronic device displays the original image.

[0013] In one 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; generating the N-frame compensation sequence diagram according to the original image and the compensated image includes: 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 being a pixel unit position with an odd row number and a column number; a pixel unit includes Y adjacent pixels, where 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.

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

[0015] In one 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 pixel unit in the i-th row in the original image with 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 Y adjacent pixels, and Y is a positive integer.

[0016] This design allows electronic devices to use pixel units as processing units, replacing the brightness values ​​of each row of pixel units in the original image with the brightness values ​​of the pixel units at the corresponding position in the compensated image. This results in N compensated sequence images. In each compensated sequence image, there is a row of pixel units with brightness values ​​that differ from the original image. Therefore, the display effect of each compensated sequence image is not significantly different from the original image, ensuring a good user experience. Furthermore, displaying the N compensated sequence images obtained in this manner prevents screen burn-in, which can occur if each pixel on the screen displays a single image for a long time.

[0017] In one 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 pixel unit in the original image with the brightness value of the i-th column pixel unit in 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 pixel columns in the original image; a pixel unit includes Y adjacent pixels, and Y is a positive integer.

[0018] This design allows electronic devices to use pixel units as processing units, replacing the brightness values ​​of each column of pixel units in the original image with the brightness values ​​of the pixel units at the corresponding position in the compensated image. This results in N compensated sequence images. Each compensated sequence image has a column of pixel units with brightness values ​​that differ from the original image. Therefore, the display effect of each compensated sequence image is not significantly different from the original image, ensuring a good user experience. Furthermore, displaying the N compensated sequence images obtained in this manner prevents screen burn-in, which can occur if each pixel on the screen displays a single image for an extended period of time.

[0019] In one 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;

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

[0021] Through this design, the electronic device can first preprocess the original image. The burn-in risk of the preprocessed original image is 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.

[0022] In one 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 image 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.

[0023] With this design, the electronic device can determine the animation cycle for displaying the original image and N frames of the compensation sequence diagram based on preset dynamic display parameters, as well as the number of original image frames (P) and compensation sequence diagram frames (Q) displayed within each animation cycle. The electronic device can display P frames of original images and Q frames of compensation sequence diagrams within one animation cycle. For example, the P frames of original images and Q frames of compensation sequence diagrams displayed within one animation cycle can be arranged in an interlaced manner to ensure the display effect.

[0024] In one possible design, Q is less than or equal to N.

[0025] Through this design, the electronic device displays a set of display sequences in each animation cycle. A set of display sequences can 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.

[0026] Optionally, Q can also be an integer greater than N, and the electronic device can cyclically display N frames of compensation sequence diagrams within a preset time length. This method can also achieve the purpose of balancing the screen pixel display brightness.

[0027] In one possible design, after calculating the number P of frames of the original image displayed within a preset duration and the number Q of frames of the compensation sequence diagram displayed within a preset duration based on the preset display ratio and the total number of frames, and before displaying the original image and the N-frame compensation sequence diagram with the preset duration as the animation period, the method further includes: obtaining the screen temperature, determining a temperature coefficient based on the screen temperature; adjusting the preset display ratio based on the temperature coefficient, or adjusting Q based on the temperature coefficient.

[0028] With this design, the electronic device can determine the temperature coefficient based on the screen temperature and adjust the preset display ratio based on the temperature coefficient. For example, when the temperature coefficient is high, the ratio of the compensation sequence diagram can be increased. Alternatively, the electronic device can adjust the number of frames displayed within a preset duration based on the temperature coefficient. For example, when the temperature coefficient is high, the number of frames displayed within a preset duration can be increased. In this way, the impact of high screen temperature on screen pixel aging can be reduced.

[0029] In one 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.

[0030] Through this design, electronic devices can display pre-processed original images and N-frame compensated images, further reducing the risk of screen burn-in.

[0031] In a second aspect, the present application provides an electronic device comprising multiple functional modules; the multiple functional modules interact with each other to implement the method performed by the electronic device in the first aspect and its respective embodiments. 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.

[0032] 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. 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 its various embodiments.

[0033] In a fourth aspect, the present application further provides a computer program product comprising instructions, which, when run on a computer, enables the computer to execute the method executed by the electronic device in any of the above aspects and its various embodiments.

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

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

[0036] 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 respective embodiments. In one possible design, the chip system also includes a memory for storing 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. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] FIG1 is a schematic diagram of an all-weather display of an electronic device provided by an embodiment of the present application;

[0038] FIG2 is a schematic diagram of a screen burn-in phenomenon provided by an embodiment of the present application;

[0039] FIG3 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0040] FIG4 is a software structure block diagram of an electronic device provided in an embodiment of the present application;

[0041] FIG5 is a flow chart of a display method provided in an embodiment of the present application;

[0042] FIG6 is a schematic diagram of an original image and a compensated image provided by an embodiment of the present application;

[0043] FIG7 is a schematic diagram of a pixel shift provided in an embodiment of the present application;

[0044] FIG8 is a schematic diagram of a first method for generating a compensation sequence diagram provided in an embodiment of the present application;

[0045] FIG9 is a schematic diagram of a second method for generating a compensation sequence diagram provided in an embodiment of the present application;

[0046] FIG10 is a schematic diagram of a third method for generating a compensation sequence diagram provided in an embodiment of the present application;

[0047] FIG11 is a schematic diagram of a display sequence provided in an embodiment of the present application;

[0048] FIG12 is a schematic diagram of a display method provided in an embodiment of the present application;

[0049] FIG13 is a schematic diagram of a mask display provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings. In the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.

[0051] It should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "more" 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 represent: the existence of A alone, the existence of A and B at the same time, and the existence of B 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 represent: 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 multiple.

[0052] Always on display (AOD) is a feature that allows electronic devices to display various types of information around the clock. This feature allows electronic devices to display images, clock controls, and the like even when the screen is off. For example, Figure 1 is a schematic diagram of an electronic device with always on display, as provided in an embodiment of the present application. Referring to Figure 1, an electronic device supporting the AOD feature can still display content such as wallpapers and clock controls even when the screen is off.

[0053] The display area of ​​an electronic device's screen is composed of an array of pixels. Typically, a pixel is composed of three sub-pixels: red, green, and blue. Screen resolution reflects the clarity of the displayed image and refers to the number of pixels a screen can display. For example, a screen resolution of 160*128 means the screen can display 160 horizontal pixels and 128 vertical pixels. For the same screen size, a higher resolution results in a finer display.

[0054] 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 at sufficient 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 by 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, a burn-in mark appears at the position of the cuff of the character on the screen, causing the screen to still show the burn-in mark when displaying other content, affecting the display effect.

[0055] 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 executed 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 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 displaying the same image for a long time.

[0056] The following describes 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, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptop 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.

[0057] 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 194, and a subscriber identification module (SIM) card interface 195.

[0058] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors. The controller may serve as the nerve center and command center of the electronic device 100. The controller may generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. The processor 110 may also include memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a high-speed cache memory. This memory may store instructions or data that have just been used or are being recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids duplicate accesses, reduces the processor 110's waiting time, and thus improves system efficiency.

[0059] The USB interface 130 is an interface that complies with USB standards and specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer 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 194, the camera 193, and the wireless communication module 160.

[0060] The wireless communication functionality of electronic device 100 can be implemented using antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, a modem processor, and a baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0061] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G 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.

[0062] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0063] 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 a network and other devices through wireless communication technologies. The wireless communication technologies 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).

[0064] Display screen 194 is used to display the display interface of an application, such as displaying the display page of an application installed on electronic device 100. 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), a MiniLED, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.

[0065] 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 light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion 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.

[0066] 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, 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.

[0067] 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 via the external memory interface 120 to implement data storage functions. For example, files such as pictures and videos can be stored on the external memory card.

[0068] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0069] Among them, the sensor module 180 may include a pressure sensor 180A, an acceleration sensor 180B, a touch sensor 180C, etc.

[0070] The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194 .

[0071] Touch sensor 180C, also known as a "touch panel," can be disposed on display screen 194. The touch sensor 180C and display screen 194 form a touch screen, also known as a "touch screen." Touch sensor 180C is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to an application processor to determine the type of touch event. Visual output related to the touch operations can be provided via display screen 194. In other embodiments, touch sensor 180C can also be disposed on the surface of electronic device 100, at a location different from that of display screen 194.

[0072] The buttons 190 include 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 button input and generate 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.

[0073] It is understood that the components shown in FIG3 do not constitute a specific limitation on the electronic device 100. The electronic device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. In addition, the combination / connection relationship between the components in FIG3 may also be adjusted and modified.

[0074] Figure 4 is a block diagram of the software structure of an electronic device provided in an embodiment of the present application. As shown in Figure 4, the software structure of the electronic device can be a layered architecture. For example, the software can be divided into several layers, each with 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 system library, and the kernel layer.

[0075] The application layer may include a series of application packages. As shown in Figure 4, the application layer may include a camera, settings, skin module, user interface (UI), third-party applications, etc. Among them, third-party applications may include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, 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.

[0076] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer may include some predefined functions. As shown in Figure 4, the application framework layer may include a window manager, content provider, view system, telephony manager, resource manager, and notification manager.

[0077] The window manager manages windowed applications. It can determine the display size, determine whether a status bar is present, lock the screen, and take screenshots. Content providers store and retrieve data and make it accessible to applications. This data can include video, images, audio, incoming and outgoing calls, browsing history and bookmarks, and phone books.

[0078] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.

[0079] The phone manager is used to provide communication functions for electronic devices, such as call status management (including answering, hanging up, etc.).

[0080] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0081] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.

[0082] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.

[0083] The core library consists of two parts: one containing the Java language's callable functions and the other containing the operating system's core libraries. The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

[0084] The system library can include multiple functional modules, such as a surface manager, media libraries, a 3D graphics processing library (e.g., OpenGL ES), a 2D graphics engine (e.g., SGL), and an image processing library.

[0085] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.

[0086] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0087] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0088] A 2D graphics engine is a drawing engine for 2D drawings.

[0089] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.

[0090] The hardware layer can include various sensors, such as accelerometers, gyroscopes, touch sensors, etc.

[0091] 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 limit the electronic device provided in the embodiment of the present application. In specific implementations, the electronic device may have more or fewer devices or modules than in the structure shown in Figures 3 or 4.

[0092] The following is an introduction to the display method provided in the embodiments of the present application.

[0093] FIG5 is a flow chart of a display method provided by an embodiment of the present application. The method can be performed by an electronic device, and the electronic device can have the structure shown in FIG3 and / or FIG4. Referring to FIG5, the method includes the following steps:

[0094] S501: The electronic device obtains an original image.

[0095] 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, the lock screen wallpaper can be displayed in both the screen-on and screen-off states of the electronic device. 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 selected by the user as the lock screen wallpaper.

[0096] S502: The electronic device generates a compensated image according to the original image.

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

[0098] 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 describes several methods for generating compensated images provided in the embodiment of the present application:

[0099] Method 1: Calculate the brightness value of each pixel in the compensated image based on the brightness value of each pixel in the original image and the preset brightness value.

[0100] In an optional embodiment, the electronic device can 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 as an example, the preset brightness value can 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 can satisfy the following formula: RGB' i =RGB(255,255,255)-RGB i (r,g,b)

[0101] Among them, RGB' i To compensate the brightness value of the i-th pixel in the image, RGB i (r, g, b) is the brightness value of the i-th pixel in the original image.

[0102] Method 2: Calculate the brightness value of each pixel in the compensated image based on the brightness value of each pixel in the original image and the average brightness value of the original image.

[0103] In an optional embodiment, the electronic device can 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 in the compensated image. For example, taking the original image and the compensated image as an example, the brightness value of the original image and the brightness value of the compensated image can satisfy the following formula: RGB' i =RGB(avgR,avgG,avgB)-RGB i (r,g,b)

[0104] Among them, RGB' i To compensate the brightness value of the i-th pixel in the image, RGB (avgR, avgG, avgB) is the average brightness value of the original image, RGB i (r, g, b) is the brightness value of the i-th pixel in the original image.

[0105] Method 3: Calculate 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.

[0106] In an optional embodiment, the electronic device can determine the maximum brightness value of the original image, then calculate the difference between the maximum 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 in the compensated image. For example, taking the original image and the compensated image as both in RGB format, the brightness value of the original image and the brightness value of the compensated image can satisfy the following formula: RGB' i =RGB(maxR,maxG,maxB)-RGB i (r,g,b)

[0107] Among them, RGB' i To compensate the brightness value of the i-th pixel in the image, RGB(maxR,maxG,maxB) is the maximum brightness value of the original image, RGB i (r, g, b) is the brightness value of the i-th pixel in the original image.

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

[0109] In some embodiments of the present application, the electronic device may preprocess the original image before generating a compensated image based on the original image, and then generate the compensated image based on the preprocessed original image. The embodiments of the present application provide the following preprocessing, and the electronic device may perform at least one of the following preprocessing:

[0110] 1. Reduce the brightness of some areas in the original image.

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

[0112] 2. Reduce the brightness of the original image.

[0113] Optionally, the electronic device may lower the overall brightness of the original image.

[0114] 3. Divide the original image into multiple areas and adjust the brightness of each area separately.

[0115] Optionally, the electronic device may divide the original image into a plurality of regions, for example, each of the divided regions may include a preset number of pixels. The electronic device may adjust the brightness of each of the divided regions, for example, by reducing the brightness of a portion of an image in a region, or reducing the overall brightness of the region.

[0116] 4. Pixel displacement.

[0117] 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, the original image can be displaced 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.

[0118] For example, Figure 7 is a schematic diagram of a pixel offset provided in an embodiment of the present application. Referring to (a) in Figure 7, 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 Figure 7, 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 displacement balancing.

[0119] Through the above design, the electronic device first preprocesses the original image. The burn-in risk of the preprocessed original image is 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.

[0120] S503: The electronic device generates N frames of compensation sequence images according to the original image and the compensated image.

[0121] In an embodiment of the present application, in order 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.

[0122] The following further introduces the various methods for generating N-frame compensation sequence diagrams provided in the embodiments of the present application.

[0123] 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 for 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.

[0124] Method 1: Odd-even position replacement method

[0125] In an optional embodiment, 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 in the compensated image to obtain a first compensation sequence diagram, wherein the pixel unit is used as the processing unit, and the first position is the pixel unit position with an odd row number and an odd column number.

[0126] 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 in the compensated image to obtain a second compensated sequence image, wherein the second position is the pixel unit position with an even row number and an odd column number.

[0127] 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 in the compensated image to obtain a third compensated sequence image, wherein the third position is a pixel unit position with an even row number and an even column number.

[0128] 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 in the compensated image to obtain a fourth compensated sequence image, wherein the fourth position is the pixel unit position with an odd row number and an even column number.

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

[0130] For example, Figure 8 is a schematic diagram of the first method of generating a compensation sequence diagram provided by an embodiment of the present application. Referring to Figure 8, 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 can 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 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 of the compensated image to obtain a second compensation sequence diagram; 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 of the compensated image to obtain a third compensation sequence diagram; 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 of the compensated image to obtain a fourth compensation sequence diagram.

[0131] Method 2: Scan by line

[0132] In an optional embodiment, the electronic device may replace the brightness values ​​of the pixel units in the i-th row of the original image with the brightness values ​​of the pixel units in the i-th row of the compensated image to obtain the i-th frame compensation sequence image, where i is a positive integer less than N. In this method, N is the total number of pixel rows in the original image.

[0133] The electronic device performs the above steps N times to obtain N frames of compensation sequence images, where the brightness value of a row of pixel units in each frame of the compensation sequence image 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.

[0134] Figure 9 is a schematic diagram of a second method for generating a compensation sequence image provided by an embodiment of the present application. Referring to Figure 9 , for ease of illustration, assume that the original image is a completely white image, and the compensated image is a completely black image. The electronic device can sequentially replace the brightness values ​​of N rows of pixel cells in the original image to generate N frames of compensated images.

[0135] Method 3: Column scanning

[0136] In an optional embodiment, the electronic device may replace the brightness values ​​of the pixel units in the i-th column of the original image with the brightness values ​​of the pixel units in the i-th column of the compensated image to obtain the i-th frame compensation sequence image, where i is a positive integer less than N. In this method, N is the total number of pixel columns in the original image.

[0137] The electronic device performs the above steps N times to obtain N frames of compensation sequence images, in which the brightness value of a column of pixel units in each frame of the compensation sequence image 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.

[0138] Figure 10 is a schematic diagram of a third method for generating a compensation sequence image provided by an embodiment of the present application. Referring to Figure 10 , for ease of illustration, assume that the original image is a completely white image, and the compensated image is a completely black image. The electronic device can sequentially replace the brightness values ​​of N columns of pixel cells in the original image to generate N frames of compensated images.

[0139] Optionally, in the three aforementioned methods, the electronic device may replace the brightness value of a pixel unit in the original image with the brightness value of the corresponding pixel unit in the compensated image. 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.

[0140] It can be understood that the above three methods are three examples of methods for generating N-frame compensation sequence diagrams. Compensation sequence diagrams can also be generated in other methods, which are not limited in this application.

[0141] S504: The electronic device displays the original image and the N-frame compensation sequence image according to preset dynamic display parameters.

[0142] In an optional embodiment of the present application, the electronic device can calculate the total number of frames of the image displayed within a preset duration based on preset dynamic display parameters, and determine the number of frames of the original image displayed within the preset duration and the number of frames of the compensation sequence diagram displayed within the preset duration based on a preset ratio between the display duration of the original image and the display duration of the compensation sequence diagram. Optionally, the dynamic display parameters may include a motion effect curve, a preset duration, 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 duration 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.

[0143] For example, in the embodiment of the present application, the electronic device determines the number of frames of the original image displayed within the preset time length T according to the dynamic display parameters as P, and the number of frames of the compensation sequence diagram displayed within the preset time length T as Q, where P and Q are both positive integers.

[0144] In an optional embodiment, the electronic device can 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 can be arranged crosswise. The electronic device can 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 can 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 in each motion effect cycle, and a round of N-frame compensation sequence diagram display can be completed 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) to ensure the effect of balanced screen usage.

[0145] For example, Figure 11 is a schematic diagram of a display sequence provided by an embodiment of the present application. Referring to Figure 11, for ease of explanation, assuming that the original image is a completely white image, the compensated image is a completely 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 sets of display sequences. As shown in Figure 11, each set 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 electronic device can ensure the display effect when displaying 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.

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

[0147] 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 within 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 within the display area shown in Figure 7, so as to utilize each pixel of the screen for display through pixel shift balancing.

[0148] 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, please refer to the above-mentioned method for the electronic device to display the original image and N-frame compensation sequence diagram, and the repeated parts will be omitted.

[0149] In 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 image displayed within a preset time, and determine a temperature coefficient based on the screen temperature. For example, the temperature coefficient may satisfy the following formula: Temperature coefficient = (current screen temperature - temperature threshold) / 10

[0150] The electronic device can adjust the preset display ratio or the number of frames displayed within a preset duration of the compensation sequence image based on 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 the compensation image display is twice the original value, or the electronic device can adjust the number of frames displayed within the preset duration of the compensation sequence image to twice the original value. In this way, the impact of excessive screen temperature on screen pixel aging can be reduced.

[0151] 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. That is to say, the duration of an adjusted motion effect cycle increases, and 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, and at the same time, the duration of displaying the compensated image can be increased to reduce the impact of excessive temperature on screen pixel aging.

[0152] The present application also provides a display method. In this method, multiple images can be pre-installed in an electronic device, and a user can select one of the multiple images as a wallpaper. When the AOD function of the electronic device is enabled, the electronic device can normally display different areas of the image at different times according to pre-configured display parameters. While displaying some areas normally, the electronic device displays other areas of the image in grayscale.

[0153] For example, Figure 12 is a schematic diagram of a display method provided by an embodiment of the present application. Referring to Figure 12, the pattern filled with diagonal 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 sequence. This method can evenly use each pixel of the screen for display and prevent screen burn-in.

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

[0155] Based on the above embodiments, the present application further provides an electronic device, comprising 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 FIG5 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.

[0156] Based on the above embodiments, the present application further provides an electronic device, comprising at least one processor and at least one memory, wherein the at least one memory stores computer program instructions. When the electronic device is running, the at least one processor executes the functions performed by the station 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 FIG. 5 are executed.

[0157] Based on the above embodiments, the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the methods described in the embodiments of the present application.

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

[0159] 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 various methods described in the embodiments of the present application.

[0160] Based on the above embodiments, the present application provides a chip system, which includes a processor for supporting a computer device to implement the various methods described in the embodiments of the present application. In one possible design, the chip system also includes a memory for storing the necessary programs and data for the computer device. The chip system can be composed of a chip or can include a chip and other discrete devices.

[0161] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can 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 can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0162] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or box in the flow chart and / or block diagram, as well as the combination of the flow chart and / or box in the flow chart 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 functions specified in one or more flow charts and / or one or more boxes in the block diagram.

[0163] 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 operate in a specific manner, so that the instructions stored in the computer-readable memory produce a 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.

[0164] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that 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.

[0165] Obviously, those skilled in the art may make various modifications and variations to this application without departing from the scope of protection of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.

Claims

1. A display method, characterized in that: Applied to electronic equipment, the method comprises: Get the original image; Generating a compensated image according to 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; Generate N frames of compensation sequence graph according to the original image and the compensated image; The original image and the N-frame compensation sequence diagram are displayed according to preset dynamic display parameters.

2. The method according to claim 1, characterized in that The step of generating a compensated image according to the original image comprises: Calculating the brightness value of each pixel in the compensated image according to 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 according to the brightness value of each pixel in the original image and the average brightness value of the original image; or The brightness value of each pixel in the compensated image is calculated according to the brightness value of each pixel in the original image and the highest brightness value of the original image.

3. The method according to claim 1 or 2, characterized in that 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 generating of the N-frame compensation sequence diagram according to the original image and the compensated image includes: The brightness value of the pixel unit at the first position in the original image is replaced by the brightness value of the pixel unit at the first position in the compensated image to obtain the first compensation sequence diagram, wherein the first position is a pixel unit position whose row number and column number are both odd numbers; a pixel unit includes Y adjacent pixels, where 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 in the compensated image to obtain the second compensation sequence diagram, wherein the second position is the pixel unit position with an even row number and an odd column number; 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 in the compensated image to obtain the third compensation sequence diagram, wherein the third position is a pixel unit position whose row number and column number are both even numbers; The brightness value of the pixel unit at the fourth position in the original image is replaced by the brightness value of the pixel unit at the fourth position in the compensated image to obtain the fourth compensation sequence diagram, wherein the fourth position is the pixel unit position with an odd row number and an even column number.

4. The method according to claim 1 or 2, characterized in that: The generating N frames of compensation sequence diagram according to the original image and the compensated image comprises: The brightness value of the pixel unit in the i-th row in the original image is replaced with 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 Y adjacent pixels, and Y is a positive integer.

5. The method according to claim 1 or 2, characterized in that: The generating N frames of compensation sequence diagram according to the original image and the compensated image comprises: The brightness value of the pixel unit in the i-th column in the original image is replaced 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, 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.

6. The method according to any one of claims 1 to 5, characterized in that: The step of generating a compensated image according to the original image comprises: Preprocessing the original image, and generating the compensated image according to the preprocessed original image; Wherein, the preprocessing includes at least one of the following: Determine a target area in the original image whose brightness is greater than a set threshold, and reduce the brightness of the target area; reducing the brightness of the original image; Dividing the original image into multiple regions, and adjusting the brightness of each region respectively; The size of the original image is set 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.

7. The method according to any one of claims 1 to 6, characterized in that: The displaying of the original image and the N-frame compensation sequence diagram according to preset dynamic display parameters includes: The total number of frames of the original image and the compensation sequence diagram displayed within the preset time length is calculated according to the preset dynamic display parameters, and 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 are calculated according to the 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 duration as the animation cycle, and P is displayed in each animation cycle. frame original image and Q frame compensation sequence diagram; the Q frame compensation sequence diagram belongs to the N frame compensation sequence diagram.

8. The method according to claim 7, characterized in that The Q is less than or equal to the N.

9. The method according to claim 7 or 8, characterized in that 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 cycle, the method further includes: Acquiring a screen temperature, and determining a temperature coefficient according to the screen temperature; The preset display ratio is adjusted according to the temperature coefficient, or the Q is adjusted according to the temperature coefficient.

10. The method according to claim 3, characterized in that The displaying of the original image and the N-frame compensation sequence diagram according to preset dynamic display parameters includes: The preprocessed original image and the N-frame compensation sequence diagram are displayed according to preset dynamic display parameters.

11. An electronic device, characterized in that: The system comprises at least one processor, wherein the at least one processor is coupled to at least one memory, and the at least one processor is configured to read a computer program stored in the at least one memory to execute the method according to any one of claims 1 to 10.

12. An electronic device, characterized in that: It comprises a plurality of functional modules; the plurality of functional modules interact with each other to implement the method as claimed in any one of claims 1 to 10.

13. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer, the computer is enabled to execute the method according to any one of claims 1 to 10.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method, device and system for compensating displaying

    CN103489405A

  • Pixel compensation method and device and television

    CN107909974A

  • Organic light emitting display device and driving method thereof

    KR1020150025987A

  • Golf swing analysis system and operation method thereof

    KR102301022B1

Cited By

  • Display optimization method and system, display equipment and storage medium

    CN121459719A