Data storage method and device

By storing the screen attribute parameters of the OLED display in the memory of the application processor and sequential storage of sectors, the problem of insufficient compensation for aging of OLED displays is solved, extending the service life of the display and saving memory costs.

CN120276656AActive Publication Date: 2025-07-08HONOR DEVICE CO LTD

Patent Information

Application Number
CN202311852086.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2025-07-08
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

In the prior art, the aging compensation method of the OLED display screen causes sudden aging of the display screen, poor display quality, and cannot meet the user's replacement cycle.

Method used

By storing screen attribute parameters in the memory of the application processor, data storage is stored using the order of sector usage of the memory, the number of writes in each sector is reduced and the display compensation time of the display screen is extended.

Benefits of technology

The display compensation time of the display screen is extended, the aging compensation effect of the display screen is improved, the number of memory written times is reduced, the device cost of FPC is saved, and more space is provided for electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120276656A_ABST
    Figure CN120276656A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data storage method and device, and relates to the technical field of terminals. The method comprises the steps that an application processor obtains a first parameter from a DDIC, the first parameter is stored from a first storage position of a storage, and the storage is arranged in the application processor; the DDIC performs display compensation on the display screen by using the first parameter; the application processor stores the second parameter from a second storage position of the memory, wherein the first storage position is different from the second storage position; and the DDIC obtains the second parameter from the memory and performs display compensation on the display screen by using the second parameter. Therefore, the electronic equipment can also write the screen attribute parameters into different sectors in the memory in sequence according to the use sequence of the sectors, the write-in frequency of any sector in the memory is reduced, the total write-in frequency of the data is further improved, and the display compensation duration of the display screen is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technologies, and in particular, to a data storage method and apparatus. Background Art

[0002] Organic light-emitting diode (OLED) display technology is a new generation of display technology following liquid crystal display technology. OLED does not require a backlight and can emit light independently through the radiative transition process of organic materials, capable of displaying a more vivid picture with higher contrast. Driven by thin film transistors (TFTs) as the active matrix (AM), AMOLED exhibits advantages such as a wide color gamut, low power consumption, and flexibility, and is one of the most promising display technologies. However, as the lighting time of the light-emitting layer (EL) material of OLED products increases, the brightness gradually decays. Therefore, in order to ensure the display effect of the display screen, it is necessary to compensate for the aging of the display screen.

[0003] Generally, the DDIC in an electronic device needs to frequently record the screen attribute parameters and store the screen attribute parameters in the memory associated with the DDIC. Then, the DDIC can convert the screen attribute parameters into compensation values through an algorithm to compensate for the aging of the display screen.

[0004] However, the above data storage method may cause a particularly serious sudden aging situation of the display screen, resulting in poor display quality. Summary of the Invention

[0005] Embodiments of this application provide a data storage method and apparatus, which are applied to the field of terminal technologies and are used to extend the time for aging compensation of a display screen.

[0006] In a first aspect, embodiments of this application propose a data storage method. The data storage method is applied to an electronic device, which includes an application processor and a display driver integrated circuit (DDIC), and includes: the DDIC obtains a first parameter; the application processor obtains the first parameter from the DDIC and stores the first parameter starting from a first storage location in the memory, where the memory is disposed in the application processor; the DDIC obtains the first parameter from the memory and uses the first parameter to perform display compensation on the display screen; the DDIC obtains a second parameter, where the first parameter and the second parameter are parameters for screen aging compensation obtained at different times; the application processor obtains the second parameter from the DDIC and stores the second parameter starting from a second storage location in the memory, where the first storage location is different from the second storage location; the DDIC obtains the second parameter from the memory and uses the second parameter to perform display compensation on the display screen.

[0007] The first parameter may be the screen attribute parameter 1 described in the embodiments of the present application. The memory may be the memory 2 described in the embodiments of the present application. The second parameter may be the screen attribute parameter 2 described in the embodiments of the present application.

[0008] As Figure 7 shown, the first storage location may be sector 1, and the second storage location may be sector 301.

[0009] It can be understood that the memory can support data storage in the order of sector usage. Therefore, even if the maximum number of writes of the memory is limited, the electronic device can write the screen attribute parameters into different sectors of the memory in the order of sector usage, reducing the number of writes in any sector of the memory, thereby increasing the total number of data writes and extending the duration of display compensation for the display screen.

[0010] Moreover, the data storage method provided in the embodiments of the present application can achieve storing the screen attribute parameters on the application processor side. In this scenario, there is no need to set a memory in the FPC to store the screen attribute parameters, saving the device size of the FPC. The saved space can be reserved for other devices in the electronic device, such as the battery. This not only saves the device cost of the FPC, but also leaves room for improvement for other devices in the electronic device.

[0011] In a possible implementation, the application processor includes a system-on-chip (SOC), and a memory is set in the SOC.

[0012] Since the memory in the SOC can achieve data storage in the order of sector usage, and the memory in the SOC can have a large storage space, using the memory in the SOC to store the screen attribute parameters can extend the duration of display compensation for the display screen.

[0013] In a possible implementation, the parameters for screen aging compensation include one or more of the following: display brightness, gray scale, temperature, or frame rate.

[0014] It can be understood that the electronic device can determine the screen aging situation based on the recorded parameters for screen aging compensation, and determine the compensation parameters based on the screen aging situation when performing display compensation. The more parameter types included in the parameters for screen aging compensation, the more accurate the recorded screen aging situation can be.

[0015] In a possible implementation, in the memory, the first parameter is stored within the first storage range, the second parameter is stored within the second storage range, the first storage location is the first storage location within the first storage range, the second storage location is the first storage location within the second storage range, the third storage location is the last storage location within the first storage range, and when the second parameter is the next parameter of the first parameter, the second storage location is the next storage location of the third storage location.

[0016] As Figure 7 shown, the first storage range can be Sector 1 - Sector 300, and the second storage range can be Sector 301 - Sector 600. The third storage location can be Sector 300.

[0017] The electronic device can store the parameters in sequence according to the sectors, reducing the number of writes to any sector in the memory, thereby increasing the total number of data writes and extending the duration of display compensation on the display screen.

[0018] In a possible implementation, after storing the first parameter starting from the first storage location of the memory, the method further includes: the application processor obtains a first message from the memory, and the first message contains the identifier of the third storage location; storing the second parameter starting from the second storage location of the memory, including: in response to the first message, determining to store the second parameter starting from the second storage location based on the third storage location.

[0019] The memory can enable the application processor to understand the data storage situation in the memory by returning the first message to the application processor, and determine that the second storage can be performed at the next location of the third storage location, that is, the second storage location, for the second parameter.

[0020] In a possible implementation, using the first parameter for display compensation of the display screen includes: inputting the first parameter into the brightness compensation model and outputting a first compensation parameter corresponding to the first parameter; using the first compensation parameter for display compensation of the display screen.

[0021] The DDIC can determine the compensation parameter through the brightness compensation model and perform precise display compensation on the display screen based on the compensation parameter. The brightness compensation parameter can determine the compensation parameter based on the input screen attribute parameters.

[0022] In a possible implementation, after the DDIC obtains the first parameter, the method further includes: the DDIC determines a first count value corresponding to the first parameter by using a brightness compensation model; the application processor obtains the first parameter from the DDIC and stores the first parameter starting from the first storage location in the memory, including: the application processor obtains the first count value from the DDIC and stores the first count value starting from the first storage location; the DDIC obtains the first parameter from the memory and performs display compensation on the display screen by using the first parameter, including: the DDIC obtains the first count value from the memory, determines a first compensation parameter corresponding to the first count value based on the brightness compensation model, and performs display compensation on the display screen by using the first compensation parameter.

[0023] The first count value may be the count value 1 described in the embodiments of the present application.

[0024] It can be understood that the DDIC can return the first count value corresponding to the first parameter to the application processor, so that the application processor can store the first count value in the memory. Since the amount of data of the counter is small and can occupy a small storage space, it saves more storage space.

[0025] In a second aspect, an embodiment of the present application provides a data storage device, which may be an electronic device, or a chip or a chip system inside the electronic device. The data storage device may include an acquisition unit and a processing unit. When the data storage device is an electronic device, the acquisition unit is used to execute the acquisition step, so that the electronic device implements a data storage method described in the first aspect or any one of the possible implementation manners of the first aspect. When the data storage device is an electronic device, the processing unit may be a processor. The data storage device may further include a storage unit, and the storage unit may be a memory. The storage unit is used to store instructions, and the processing unit executes the instructions stored in the storage unit, so that the electronic device implements a data storage method described in the first aspect or any one of the possible implementation manners of the first aspect. When the data storage device is a chip or a chip system inside the electronic device, the processing unit may be a processor. The processing unit executes the instructions stored in the storage unit, so that the electronic device implements a data storage method described in the first aspect or any one of the possible implementation manners of the first aspect. The storage unit may be a storage unit inside the chip (for example, a register, a cache, etc.), or a storage unit outside the chip and inside the electronic device (for example, a read-only memory, a random access memory, etc.).

[0026] Exemplarily, an acquisition unit is configured to acquire a first parameter; a processing unit is configured to acquire the first parameter from a DDIC, and the processing unit is configured to store the first parameter starting from a first storage location of a memory, where the memory is disposed in an application processor; the acquisition unit is further configured to acquire the first parameter from the memory, and the processing unit is configured to perform display compensation on a display screen by using the first parameter; the acquisition unit is further configured to acquire a second parameter, where the first parameter and the second parameter are parameters for screen aging compensation acquired at different times; the acquisition unit is further configured to acquire the second parameter from the DDIC, and the processing unit is further configured to store the second parameter starting from a second storage location of the memory, where the first storage location is different from the second storage location; the processing unit is further configured to acquire the second parameter from the memory and perform display compensation on the display screen by using the second parameter.

[0027] In a possible implementation manner, the application processor includes a system-on-chip (SOC), and a memory is disposed in the SOC.

[0028] In a possible implementation manner, the parameters for screen aging compensation include one or more of the following: display brightness, gray scale, temperature, or frame rate.

[0029] In a possible implementation manner, in the memory, the first parameter is stored within a first storage range, the second parameter is stored within a second storage range, the first storage location is the first storage location in the first storage range, the second storage location is the first storage location in the second storage range, the third storage location is the last storage location in the first storage range, and when the second parameter is the next parameter of the first parameter, the second storage location is the next storage location of the third storage location.

[0030] In a possible implementation manner, the acquisition unit is further configured to acquire a first message from the memory, where the first message includes an identifier of the third storage location; in response to the first message, the processing unit is further configured to determine to store the second parameter starting from the second storage location based on the third storage location.

[0031] In a possible implementation manner, the processing unit is specifically configured to input the first parameter into a brightness compensation model and output a first compensation parameter corresponding to the first parameter; the processing unit is further specifically configured to perform display compensation on the display screen by using the first compensation parameter.

[0032] In a possible implementation, the processing unit is further configured to determine a first count value corresponding to the first parameter by using a brightness compensation model; the obtaining unit is further configured to obtain the first count value from the DDIC and store the first count value starting from the first storage location; the obtaining unit is further configured to obtain the first count value from the memory, determine a first compensation parameter corresponding to the first count value based on the brightness compensation model, and perform display compensation on the display screen by using the first compensation parameter.

[0033] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory. The memory is used to store code instructions, and the processor is used to run the code instructions to execute the method described in the first aspect or any possible implementation manner of the first aspect.

[0034] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction runs on a computer, the computer is caused to execute the method described in the first aspect or any possible implementation manner of the first aspect.

[0035] In a fifth aspect, an embodiment of the present application provides a computer program product including a computer program. When the computer program runs on a computer, the computer is caused to execute the method described in the first aspect or any possible implementation manner of the first aspect.

[0036] In a sixth aspect, the present application provides a chip or a chip system. The chip or the chip system includes at least one processor and a communication interface. The communication interface and the at least one processor are interconnected by a line. The at least one processor is used to run a computer program or instruction to execute the method described in the first aspect or any possible implementation manner of the first aspect. Among them, the communication interface in the chip may be an input / output interface, a pin, a circuit, etc.

[0037] In a possible implementation, the chip or the chip system described above in the present application further includes at least one memory, and instructions are stored in the at least one memory. The memory may be a storage unit inside the chip, such as a register, a cache, etc., or may also be a storage unit of the chip (such as a read-only memory, a random access memory, etc.).

[0038] It should be understood that the second aspect to the sixth aspect of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects obtained by each aspect and the corresponding feasible implementation manners are similar, and will not be repeated. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A schematic diagram of a scenario provided by an embodiment of the present application;

[0040] Figure 2 Schematic diagram of a brightness compensation process provided by an embodiment of the present application;

[0041] Figure 3 Schematic diagram of a memory 1 provided by an embodiment of the present application;

[0042] Figure 4 Schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application;

[0043] Figure 5 Schematic diagram of the software structure of an electronic device provided by an embodiment of the present application;

[0044] Figure 6 Schematic diagram of module interaction of a data storage method provided by an embodiment of the present application;

[0045] Figure 7 Schematic diagram of a memory 2 provided by an embodiment of the present application;

[0046] Figure 8 Schematic diagram of module interaction of a data reading method provided by an embodiment of the present application;

[0047] Figure 9 Schematic diagram of the process of a data storage method provided by an embodiment of the present application;

[0048] Figure 10 Schematic diagram of the structure of another data storage device provided by an embodiment of the present application;

[0049] Figure 11 Schematic diagram of the structure of a data storage device provided by an embodiment of the present application;

[0050] Figure 12 Schematic diagram of the hardware structure of another electronic device provided by an embodiment of the present application. Detailed implementation manners

[0051] For the convenience of clearly describing the technical solutions of the embodiments of the present application, the following briefly introduces some terms and technologies involved in the embodiments of the present application:

[0052] 1. Always-on display

[0053] The always-on display is also known as the off-screen display. The always-on display is a function that displays specific content in a partial area of the display screen without lighting up the entire display screen. When the electronic device is in the sleep state, the user can view the time, date, battery level, notification messages, etc. in the always-on display interface without waking up the display screen.

[0054] 2. Screen brightness

[0055] Screen brightness is an important indicator for measuring the screen luminous intensity of a display screen, and the unit is nit.

[0056] The screen brightness is adjusted through the display brightness. Therefore, the screen brightness can have a one-to-one correspondence with the display brightness value (DBV).

[0057] Exemplarily, the adjustment range of DBV is set to [0, 3515], which can be used to adjust the screen brightness range of [0 nit, 500 nit]. When the light is strong, the user can increase the DBV to 3515, or the electronic device can automatically adjust the DBV to adjust the screen brightness of the display screen to 500 nit for easy viewing of the display content. When the light is weak, the user can decrease the DBV to 50 to adjust the screen brightness of the display screen to 20 nit to avoid excessive difference between the ambient light and the screen brightness of the display screen causing eye stinging to the user.

[0058] It should be noted that the corresponding relationship between the specific values of DBV and the screen brightness shown in the embodiments of the present application is only for illustrative purposes and does not constitute a specific limitation on the actual corresponding relationship between DBV and the screen brightness.

[0059] 3. Screen attribute parameters

[0060] The screen attribute parameters can be parameters for performing screen aging compensation.

[0061] The screen attribute parameters can include one or more of the following: DBV, gray scale, temperature, or frame rate obtained based on frame rate control (FRC), etc.

[0062] For example, in order to improve the aging situation of the display screen, the electronic device can periodically obtain the screen attribute parameters, determine the compensation parameters through the analysis of the screen attribute parameters, and perform aging compensation on the display screen based on the compensation parameters.

[0063] 4. Other terms

[0064] In the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. For example, the first chip and the second chip are only used to distinguish different chips and do not limit their sequence. Those skilled in the art can understand that terms such as "first" and "second" do not limit the quantity and execution order, and terms such as "first" and "second" do not necessarily limit to be different.

[0065] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the present application should not be construed as being more preferred or having more advantages than other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.

[0066] In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships can exist. For example, A and / or B can represent the situations of: A existing alone, A and B existing simultaneously, and B existing alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the preceding and following associated objects. "At least one (item)" or its similar expressions refer to any combination of these items, including any combination of single item (s) or plural items (s). For example, at least one (item) of a, b, or c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c can be single or multiple.

[0067] 5. Electronic device

[0068] The electronic devices in the embodiments of this application may include handheld devices with display functions, in-vehicle devices, etc. For example, some electronic devices are: mobile phones, tablet computers, handheld computers, laptop computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grid, wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication functions, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, electronic devices in 5G networks or electronic devices in future evolved public land mobile networks (PLMNs), etc. The embodiments of this application are not limited thereto.

[0069] In addition, in the embodiments of this application, the electronic device may also be an electronic device in the internet of things (IoT) system. The IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, so as to realize an intelligent network of human-machine interconnection and object-object interconnection.

[0070] The electronic device in the embodiments of this application may also be referred to as: electronic device, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile platform, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, etc.

[0071] In the embodiments of the present application, an electronic device or each network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also referred to as main memory). The operating system can be any one or more computer operating systems that implement service processing through processes. For example, the Linux operating system, the Unix operating system, the Android operating system, the iOS operating system, or the Windows operating system, etc. The application layer includes applications such as a browser, an address book, a word processing software, an instant messaging software, etc.

[0072] Exemplarily, Figure 1 is a schematic diagram of a scenario provided by the embodiments of the present application. In Figure 1 the corresponding embodiment, taking the electronic device as a mobile phone as an example for illustration, this example does not limit the embodiments of the present application.

[0073] In response to the operation of opening the desktop, the electronic device displays a desktop interface as shown in Figure 1 a in. The desktop interface may include: icons of at least one application, such as including one or more of the following: an icon of a clock application, an icon of a calendar application, an icon of a gallery application, an icon of a memo application, an icon of a camera application, an icon of an address book application, an icon of a phone application, or an icon of an information application, etc.

[0074] In response to the user's screen-off operation, the electronic device can display a screen-off display interface as shown in Figure 1 b in after the screen is turned off. In the area 101 of the screen-off display interface, one or more of the following can be displayed: image information, time information, or battery information, etc.

[0075] A button 102 for unlocking the device can also be displayed in the screen-off display interface. When the user often uses the screen-off display function, the display screen will have different degrees of aging. When the aging is serious, the display screen will have afterimages or color deviation. For example, in response to the user's triggering operation on the button 102, the electronic device displays an interface as shown in Figure 1 c in. Figure 1 The interface shown in c in may include: afterimages formed by part of the content in the screen-off display interface, such as the afterimages displayed in the area 103.

[0076] It is understandable that the colors in different regions are different (which can be understood as different grayscale values or different grayscales). For example, some regions are white (with higher grayscale values); while other regions are black or other colors, etc. (with lower grayscale values). Then, as the display time of the display screen increases, the display screen will not only age but also age to different degrees, resulting in different aging traces when the user views the display screen. In severe cases, afterimages or color deviation of the display screen will occur.

[0077] Under normal circumstances, in order to alleviate the aging of the display screen, the electronic device can use the Deburnin model to perform display compensation on the display screen. Refer to Figure 2 the corresponding embodiment.

[0078] Among them, the Deburnin model can also be called a brightness compensation model or a preset model. The Deburnin model can determine compensation parameters based on the input screen attribute parameters. The compensation parameters can be used to perform display compensation on the display screen.

[0079] Exemplarily, Figure 2 is a schematic diagram of a brightness compensation process provided by an embodiment of the present application. In Figure 2 the corresponding embodiment, the brightness compensation process involves a DDIC and a flexible printed circuit (FPC). A memory 1 can be set in the FPC, and the memory 1 can be used to store the screen attribute parameters obtained by the DDIC.

[0080] As Figure 2 shown, the brightness compensation process can be as follows:

[0081] S201. The DDIC obtains screen attribute parameters.

[0082] S202. The DDIC writes the screen attribute parameters into the memory 1 in the FPC.

[0083] The memory 1 can also be called a flash memory (or flash).

[0084] Multiple sectors can be set in the memory 1, and any sector can store data of a fixed size.

[0085] The memory 1 has a maximum write (burn-in) count. It is understandable that when the maximum write count of the memory 1 is M times, any sector in the memory 1 can support M times of data writing.

[0086] For example, the maximum number of write operations for Memory 1 is 100,000 times, that is, any sector in Memory 1 can support 100,000 data write operations. For example, when the DDIC needs to write the screen attribute parameters into Memory 1 once every minute, Memory 1 can only support data writing for approximately 69 days, which is 100,000 / (24 * 60). Therefore, the limitation of the write count of Memory 1 results in the number of times of display compensation of the display screen not being able to meet the user's replacement cycle. The replacement cycle can be about 3.5 years.

[0087] Memory 1 can perform cyclic writing of data in units of the total capacity of the written data. For example, the DDIC can determine the data capacity of the screen attribute parameters and the number of sectors occupied by this data capacity in Memory 1, and start storing the screen attribute parameters from the first sector in Memory 1.

[0088] Exemplarily, Figure 3 is a schematic diagram of a Memory 1 provided by an embodiment of the present application. In Figure 3 the corresponding embodiment, taking the total capacity of Memory 1 as 30 Mbit, there are 900 sectors set in Memory 1, and the total capacity of the screen attribute parameters is 10 Mbit as an example, the process of writing the screen attribute parameters into Memory 1 is schematically described.

[0089] It can be understood that in order to achieve periodic display compensation of the display screen, the DDIC can periodically obtain the screen attribute parameters and periodically store the screen attribute parameters in Memory 1.

[0090] For the process of storing the screen attribute parameters for the first time, when the DDIC determines that the total capacity of the screen attribute parameters is 10 Mbit, it can determine that 300 sectors are required for data storage, and start storing the screen attribute parameters from Sector 1 in Memory 1. The screen attribute parameters stored for the first time occupy Sectors 1 - 300.

[0091] For the process of storing the screen attribute parameters for the second time, the DDIC can erase the data in Memory 1. Then, when the DDIC determines that the total capacity of the screen attribute parameters is 10 Mbit, it can determine that 300 sectors are required for data storage, and start storing the screen attribute parameters from Sector 1 in Memory 1. The screen attribute parameters stored for the second time occupy Sectors 1 - 300.

[0092] For the process of storing the screen attribute parameters for the Nth time, the DDIC can erase the data stored for the (N - 1)th time in Memory 1. Then, when the DDIC determines that the total capacity of the screen attribute parameters is 10 Mbit, it can determine that 300 sectors are required for data storage, and start storing the screen attribute parameters from Sector 1 in Memory 1. The screen attribute parameters stored for the Nth time occupy Sectors 1 - 300.

[0093] It is understandable that when the maximum number of write operations of the memory 1 is 100,000 times, any sector in the memory 1 can support 100,000 data write operations. For example, when the DDIC needs to write the screen attribute parameters into the memory 1 once every minute, the memory 1 can support data writing for 100000 / (24*60) (about 69) days. When the memory 1 reaches the maximum number of write operations, the DDIC will no longer be able to continue writing the screen attribute parameters into the memory 1, resulting in the failure of the display compensation function of the display screen.

[0094] Among them, the failure of the display compensation function of the display screen will cause the display screen to suddenly age severely (such as suddenly appearing with afterimages or color cast), and the display quality is poor.

[0095] S203. The DDIC reads the screen attribute parameters from the memory 1, and obtains the compensation parameters corresponding to the screen attribute parameters by using the brightness compensation model.

[0096] S204. The DDIC inputs the compensation parameters into a random access memory (RAM).

[0097] S205. The DDIC performs display compensation on the display screen by using the compensation parameters in the RAM.

[0098] For example, the DDIC can perform image processing on the input image by using the compensation parameters, and obtain the output image after display compensation.

[0099] Combined with Figure 2 the description in, the limitation of the maximum number of write operations of the memory 1 results in that the number of times of display compensation of the display screen cannot meet the replacement cycle of the user. Usually, the replacement cycle of the user can be about 3.5 years.

[0100] In view of this, the embodiment of the present application provides a data storage method, so that the electronic device can store the screen attribute parameters into the memory 2 of the application processor. Since the total capacity of the memory 2 is large and the memory 2 can support data storage according to the usage order of the sectors, even if the maximum number of write operations of the memory 2 is limited, the electronic device can sequentially write the screen attribute parameters into different sectors in the memory 2 according to the usage order of the sectors, reduce the number of write operations of any sector in the memory 2, and thus increase the total number of data write operations and extend the duration of display compensation of the display screen.

[0101] For example, the DDIC can start storing the screen attribute parameters obtained in the first minute from the first sector in the memory 2, and start storing the screen attribute parameters obtained in the second minute into the second sector in the memory 2. The first sector is different from the second sector.

[0102] To better understand the embodiments of the present application, the structure of the electronic device in the embodiments of the present application will be introduced below. Exemplarily, Figure 4 FIG. is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.

[0103] The electronic device 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, antenna 1, 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, a headphone interface 170D, a sensor module 180, a button 190, an indicator 192, a camera 193, and a display screen 194, etc., and a DDIC 196.

[0104] The DDIC 196 may be used to control the OLED display panel. The display driver chip drives the display panel through an electrical signal to transmit image data. In the embodiments of the present application, the DDIC 196 may be used to obtain screen attribute parameters, convert the screen attribute parameters into compensation parameters, and compensate for the aging condition of the display screen based on the compensation parameters.

[0105] It can be understood that the structure schematically shown in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0106] The processor 110 may include one or more processing units. Among them, different processing units may be independent devices or integrated in one or more processors. The processor 110 may include an application processor (AP) 111.

[0107] The application processor 111 may be used to obtain screen attribute parameters from the DDIC, determine the data size of the screen attribute parameters, and the location of the screen attribute parameters in the memory 2, and then store the screen attribute parameters in the memory 2.

[0108] A system on chip (SOC) ( Figure 4 not shown in the figure) may be provided in the application processor 111. The SOC may also be referred to as a system-on-chip. The SOC is an integrated circuit with a dedicated target, which contains a complete system and all the content of the embedded software, and is used to implement the entire process from determining the system function, to software / hardware partitioning, and to completing the design.

[0109] The SOC is provided with a memory 2 ( Figure 4 not shown in the figure). The memory 2 can be used to store the screen attribute parameters described in the embodiments of the present application, or can also store other data in the electronic device, etc.

[0110] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modulation and demodulation processor, and baseband processor, etc.

[0111] The wireless communication module 160 can provide wireless communication solutions applied to the electronic device, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), etc.

[0112] The electronic device implements the display function through the GPU, display screen 194, and application processor, etc. The GPU is a microprocessor for data storage, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.

[0113] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the electronic device may include one or N display screens 194, where N is a positive integer greater than 1. For example, the display screen 194 can be used to display an interface as described in Figure 1 the figure.

[0114] The electronic device can implement the shooting function through the ISP, camera 193, video codec, GPU, display screen 194, and application processor, etc.

[0115] 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 internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The internal memory 121 can include a program storage area and a data storage area. For example, the internal memory 121 can be used to store the executable program code in the data storage method.

[0116] The electronic device can implement the audio function through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor, etc. For example, music playback, recording, etc.

[0117] The sensor module 180 may include a touch sensor and an ambient light sensor ( Figure 4 not shown in the figure).

[0118] The touch sensor can be disposed on the display screen 194. The touch sensor and the display screen 194 form a touch screen, also known as a "touch control screen". The touch sensor is used to receive any touch operation of the user on the display screen 194.

[0119] The ambient light sensor is used to sense the ambient light brightness. The electronic device can adaptively adjust the brightness of the display screen according to the sensed ambient light brightness.

[0120] The software system of the electronic device can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture, etc., which will not be elaborated here.

[0121] Exemplarily, Figure 5 This is a schematic diagram of the software structure of an electronic device provided by an embodiment of the present application.

[0122] The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the android system includes an application layer and an application framework layer from top to bottom.

[0123] The application layer may include a series of application packages. As Figure 5 shown, the application packages may include an AOD application and system user interface applications. The AOD application is used to control the AOD display of the electronic device, and the system user interface is used to control the desktop display of the electronic device.

[0124] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.

[0125] As Figure 5 shown, the application framework layer may include one or more of the following, for example: a display composition system (surface flinger) and a window manager.

[0126] The display composition system receives the surfaces of all windows as inputs, calculates the positions of each surface in the final composite image, and hands the processed image results to the hardware composer (HWC) for subsequent processing.

[0127] The window manager is used to manage window programs. The window manager is used to determine the screen-on time of the display screen. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, touch the screen, drag the screen, capture the screen, etc.

[0128] In a possible implementation, the application framework layer may further include one or more of the following: a content provider, a resource manager, a view system, or a notification manager, etc.( Figure 5 which are not shown in

[0129] The content provider is used to store and obtain data, and make this data accessible to the application. The data may include videos, images, audio, incoming and outgoing calls, browsing history and bookmarks, phone books, etc. The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on. The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction.

[0130] In the embodiment of the present application, the application processor includes the application layer and the application framework layer provided in the above embodiments.

[0131] The electronic device may further include a DDIC. The DDIC can be used to convert the obtained screen attribute parameters into compensation parameters, and perform display compensation on the display screen based on the compensation parameters.

[0132] The application processor can perform data interaction with the DDIC. The DDIC can implement the data writing function and the data reading function through the interaction with the application processor. For example, the DDIC can write the obtained screen attribute parameters into the application processor, or read the screen attribute parameters from the application processor.

[0133] In a possible implementation, Figure 5 it may further include: Android Runtime, Hardware Abstraction Layer, or Kernel Layer, etc.

[0134] It can be understood that in the embodiment of the present application, Figure 5 the software architecture described in, the layers included in the software architecture, and the software modules included in any layer are not limited.

[0135] The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. These several specific embodiments below can be implemented independently or in combination with each other. For the same or similar concepts or processes, they may not be repeated in some embodiments.

[0136] Exemplarily, Figure 6 is a schematic diagram of module interaction of a data storage method provided in an embodiment of the present application. In Figure 6In a corresponding embodiment, the electronic device may include: an application processor, a DDIC, and a memory 2, and the memory 2 may be a memory provided in the application processor. The meaning of any device can be referred to Figure 4 or Figure 5 the description in, which will not be elaborated here.

[0137] As Figure 6 shown, the data storage method may include the following steps:

[0138] S601. When the screen is detected to be turned on, the DDIC obtains screen attribute parameters once every first duration.

[0139] The screen being turned on can be understood as the display screen of the electronic device being powered on. When the screen is on, the brightness of the display screen of the electronic device is higher than the preset brightness. Among them, being powered on can be understood as the current being greater than the preset current value.

[0140] The first duration can be a value such as 2 seconds or 5 seconds, and this is not limited in the embodiments of the present application.

[0141] Combined with Figure 1 the corresponding embodiment, when the electronic device displays the interface shown in a in Figure 1 , it can execute the step of obtaining screen attribute parameters once every first duration in S601. Or, in response to the user's operation of turning off the screen, when the electronic device displays the interface shown in b in Figure 1 , it can execute the step of obtaining screen attribute parameters once every first duration in S601, and this is not limited in the embodiments of the present application.

[0142] Exemplarily, after detecting that the device screen is turned on, the DDIC can obtain screen attribute parameters once and start timing. Furthermore, when the DDIC detects that the screen-on time reaches the first duration, it obtains the screen attribute parameters again. Or, after detecting that the device screen is turned on, the DDIC can obtain screen attribute parameters once when it detects that the screen-on time reaches the first duration, and this is not limited in the embodiments of the present application.

[0143] S602. The DDIC stores the screen attribute parameters obtained every first duration into the RAM.

[0144] The RAM can temporarily store the screen attribute parameters obtained by the DDIC.

[0145] It can be understood that the electronic device can obtain multiple screen attribute parameters by periodically executing the steps shown in S601 - S602, and store the screen attribute parameters into the RAM in sequence.

[0146] Taking any screen attribute parameter obtained by the DDIC as the screen attribute parameter 1 as an example, the storage process of the screen attribute parameter 1 and the display compensation process based on the screen attribute parameter 1 will be schematically described.

[0147] When the DDIC obtains the screen attribute parameter 1, the electronic device can store the screen attribute parameter 1 in the memory 2 based on S603 - S608, and perform display compensation for the display screen using the screen attribute parameter 1 based on S609 - S610.

[0148] It can be understood that S603 - S608 can correspond to the data writing process, and S609 - S610 can correspond to the display screen compensation process. The order between S603 - S608 and S609 - S610 is not limited in the embodiments of the present application.

[0149] S603. The application processor sends a message for obtaining the screen attribute parameter to the DDIC every second duration.

[0150] The second duration can be a value such as 30 seconds or 1 minute.

[0151] It can be understood that generally, the second duration can be greater than the first duration. For example, when the second duration is 1 minute, the application processor can obtain the screen attribute parameter 1 obtained by the DDIC when the screen-on time reaches 1 minute from the DDIC. Within the one minute of screen-on, the DDIC can obtain the screen attribute parameter 12 times.

[0152] Exemplarily, after detecting that the device is screen-on, the application processor can start timing, and when detecting that the screen-on time reaches the second duration, obtain the screen attribute parameter 1 from the DDIC.

[0153] S604. The DDIC returns the screen attribute parameter 1 to the application processor.

[0154] In response to the message for obtaining the screen attribute parameter sent by the application processor, the DDIC can obtain the currently stored screen attribute parameter 1 from the RAM.

[0155] In a possible implementation, the DDIC can input the screen attribute parameter 1 into the brightness compensation model, and the brightness compensation model outputs the corresponding count value 1. This count value 1 can be used to uniquely identify the screen attribute parameter 1, that is, subsequently, the DDIC can determine the specific parameters included in the screen attribute parameter 1 through the conversion of the count value 1. For example, when the screen attribute parameter 1 includes: the DBV is 800 nit, the gray scale is 255, the temperature is 37 degrees, and the frame rate is 60 Hz, the DDIC can determine that the count value 1 can be 128 through the brightness compensation model. Among them, the conversion relationship between the screen attribute parameter and the calculated value can be set in the brightness compensation model.

[0156] It can be understood that the DDIC can return the count value 1 corresponding to the screen attribute parameter 1 to the application processor, so that the application processor can store the count value 1 in the memory 2. Since the data volume of the counter is small and can occupy a small storage space, it saves more storage space.

[0157] S605. The application processor determines to start storing the screen attribute parameter 1 from the storage location 1 in the memory 2.

[0158] The memory 2 includes multiple sectors, and any sector can store data of a fixed size.

[0159] The memory 2 is set with a maximum number of write times. It can be understood that when the maximum number of write times of the memory 2 is Q times, any sector in the memory 1 can support Q times of data writing.

[0160] The storage location 1 can be understood as the location where the screen attribute parameter 1 starts to be stored in the memory 2, and the storage location 1 can be one of the sectors in the memory 2.

[0161] The memory 2 has a memory management function to achieve trading space for the number of write times, that is, the memory 2 can support data storage in the order of sector usage, and the Figure 7 corresponding embodiments are used to illustrate the data storage process.

[0162] Exemplarily, Figure 7 is a schematic diagram of a memory 2 provided by an embodiment of the present application. In Figure 7 the corresponding embodiment, taking the total capacity of the memory 2 as 30 Mbit, there are 900 sectors set in the memory 1, and the total capacities of the screen attribute parameter 1, the screen attribute parameter 2, and the screen attribute parameter 3 are all 10 Mbit as an example, the process of writing the screen attribute parameter 1 into the memory 2 is illustrated.

[0163] It can be understood that in order to achieve periodic display compensation of the display screen, the DDIC can periodically obtain the screen attribute parameters and periodically store the screen attribute parameters in the memory 2.

[0164] In the case where the memory 2 has not stored data before, the application processor can determine to start data storage of the screen attribute parameter 1 from sector 1 and write the screen attribute parameter 1 into sectors 1 - 300. In this scenario, the storage location 1 can be sector 1. Further, the memory 2 can return the usage situation of the sectors to the application processor through an identifier (such as flag). For example, after storing the screen attribute parameter 1, the memory 2 can return flag = sector300 to the application processor.

[0165] When the DDIC obtains the screen attribute parameter 2, the application processor can erase the data in the memory 2. Then, the application processor can determine to start storing the screen attribute parameter 2 from sector 301 and write the screen attribute parameter 2 into sectors 301 - 600. In this scenario, the storage location 1 can be sector 301. Further, after the storage of the screen attribute parameter 2 is completed, the memory 2 can return flag = sector600 to the application processor. Among them, the screen attribute parameter 2 can be the next parameter of the screen attribute parameter 1.

[0166] When the DDIC obtains the screen attribute parameter 3, the application processor can erase the data in the memory 2. Then, the application processor can determine to start storing the screen attribute parameter 3 from sector 601 and write the screen attribute parameter 3 into sectors 601 - 900. In this scenario, the storage location 1 can be sector 601. Further, after the storage of the screen attribute parameter 3 is completed, the memory 2 can return flag = sector900 to the application processor. Among them, the screen attribute parameter 3 can be the next parameter of the screen attribute parameter 2.

[0167] It can be understood that when the maximum number of write operations of the memory 2 is 100,000 times, any sector in the memory 1 can support 100,000 times of data writing. For example, when the DDIC needs to write the screen attribute parameter into the memory 1 once every minute, the memory 1 can support data writing for 100000 / (24*60)*3 (about 208) days.

[0168] When the storage capacities of the memory 1 and the memory 2 are the same, compared with the memory 1, the memory 2 can increase the number of data writing operations by nearly three times through the memory management function, significantly increasing the duration of display compensation of the display screen.

[0169] In a possible implementation, in order to ensure the normal operation of the application processor, the memory 2 needs to store other data in addition to the screen attribute parameters. Therefore, the total capacity of the memory 2 is much larger than that of the memory 1. In this scenario, storing data in the memory 2 can significantly increase the duration of display compensation of the display screen.

[0170] In a possible implementation, when the screen attribute parameter 1 is converted into the count value 1 based on S605, the memory 2 can also store the count values obtained from multiple calculations. Since the amount of data of the count values is small, storing the data in the memory 2 can significantly increase the duration of display compensation of the display screen.

[0171] It can be understood that Figure 7 the number of sectors and the total data capacity of the memory 2 described in

[0172] S606. The application processor sends storage location 1 and screen attribute parameter 1 to the memory 2.

[0173] S607. The memory 2 stores the screen attribute parameter 1 starting from the storage location 1.

[0174] S608. The memory 2 returns a response message (storage location 2) to the application processor.

[0175] In the memory 2, the storage location 2 can be the sector corresponding to the end of the storage of the screen attribute parameter 1. Such as the sector 304 described in S605. Subsequently, the application processor can determine the storage location of other data (such as the screen attribute parameter 2) in the memory 2 according to the storage location 2.

[0176] S609. The DDIC inputs the screen attribute parameter 1 into the brightness compensation model and outputs the compensation parameter 1.

[0177] The brightness compensation model can output the compensation parameter 1 corresponding to the screen attribute parameter 1. Among them, the corresponding relationship between the screen attribute parameter and the compensation parameter can be set in the brightness compensation parameter.

[0178] In the case where the screen attribute parameter 1 includes multiple attribute parameters, the compensation parameter 1 can also include the compensation parameters corresponding to the multiple attribute parameters respectively. For example, when the screen attribute parameter 1 includes one or more of the following: DBV1, gray scale 1, temperature 1, or frame rate 1, the compensation parameter 1 can include one or more of the following: the compensation parameter corresponding to DBV1, the compensation parameter corresponding to gray scale 1, the compensation parameter corresponding to temperature 1, or the compensation parameter corresponding to frame rate 1.

[0179] In a possible implementation manner, when the brightness compensation model converts the screen attribute parameter 1 into a count value 1, the brightness compensation model can also output the offset 1 corresponding to the count value 1. For example, the DDIC can convert the offset 1 into the compensation parameter 1 according to the parameter situation in the screen attribute parameter 1. Among them, the corresponding relationship between the count value and the offset can be set in the brightness compensation parameter.

[0180] S610. The DDIC performs display compensation on the display screen by using the compensation parameter 1.

[0181] The embodiments of the present application do not limit the method of display compensation.

[0182] Based on this, the embodiments of the present application can be based on Figure 6The data storage method described stores the screen attribute parameters in the memory 2 of the application processor. Since the total capacity of this memory is large and the memory 2 supports data storage in the order of sector usage, the number of data write times can be increased, and the duration of display panel aging compensation can be extended.

[0183] Based on the Figure 6 corresponding embodiment, the electronic device can also, when detecting device startup, based on Figure 8 the corresponding embodiment, read the compensation parameters and perform display compensation for the display panel.

[0184] Figure 8 FIG. is a schematic diagram of module interaction for a data reading method provided by an embodiment of the present application. In Figure 8 the corresponding embodiment, the electronic device may include: an application processor, a DDIC, and a memory 2, and the memory 2 may be a memory disposed in the application processor.

[0185] As Figure 8 shown, the data reading method may include the following steps:

[0186] S801. In response to device startup, the application processor may send a message for obtaining screen attribute parameters to the memory 2.

[0187] Device startup includes: device power-on or device restart.

[0188] S802. The memory 2 sends the screen attribute parameter 1 to the application processor.

[0189] S803. The application processor returns the screen attribute parameter 1 to the DDIC.

[0190] S804. The DDIC obtains the screen attribute parameter 1 and the screen attribute parameter 4.

[0191] The screen compensation parameter 4 may be obtained by the DDIC in response to device startup.

[0192] S805. The DDIC inputs the screen attribute parameter 1 and the screen attribute parameter 4 into the brightness compensation model and outputs the compensation parameter 2.

[0193] In a possible implementation, since the screen aging phenomenon is a continuous phenomenon, the DDIC may also, after obtaining the screen attribute parameter 1 and the screen compensation parameter 4, calculate the cumulative value of the screen attribute parameter 1 and the screen compensation parameter 4, and input the cumulative value into the brightness compensation model to output the compensation parameter 2.

[0194] The process of the DDIC obtaining compensation parameter 2 based on the brightness compensation model can be similar to the process of the DDIC obtaining compensation parameter 1 based on the brightness compensation model in S609, which will not be elaborated here.

[0195] In a possible implementation, the DDIC may also not obtain the screen attribute parameter 4, that is, input the screen attribute parameter 1 into the brightness compensation module, and obtain the compensation parameter 1 corresponding to the screen attribute parameter 1, and perform display compensation on the display screen based on the compensation parameter 1. This application embodiment does not make a limitation on this.

[0196] In a possible implementation, the DDIC may also temporarily store the obtained compensation parameter 2 in the RAM.

[0197] S806. The DDIC uses the compensation parameter 2 to perform display compensation on the display screen.

[0198] Based on this, the electronic device can be based on Figure 8 the corresponding embodiment, read the screen attribute parameter 1 from the memory 2 when detecting that the device starts, and perform aging compensation on the display screen based on the screen attribute parameter 1 and the accumulated value of the currently obtained screen attribute parameter 4.

[0199] Combined with Figures 6 - 8 the corresponding embodiment, the data storage method provided in this application embodiment can implement storing the screen attribute parameter to the AP side. In this scenario, there is no need to set a memory in the FPC, which saves the device size of the FPC, and the saved space can be reserved for other devices in the electronic device, such as the battery. This can not only save the device cost of the FPC, but also leave room for improvement for other devices in the electronic device with the saved space.

[0200] To describe the content in this application embodiment more clearly, Figure 9 is a schematic flowchart of a data storage method provided in this application embodiment. As Figure 9 shown, the data storage method may include the following steps:

[0201] S901. The DDIC obtains the screen attribute parameter.

[0202] The screen attribute parameter may be Figure 6 the screen attribute parameter 1 or the screen attribute parameter 2 described in

[0203] S902. The DDIC writes the screen attribute parameter into the memory 2 in the AP.

[0204] Among them, the process of storing the screen attribute parameter into the memory 2 in the AP can refer to the description in S605, which will not be elaborated here.

[0205] In a possible implementation, the DDIC can also calculate the count value corresponding to the screen attribute parameter, and then write the count value into the memory 2.

[0206] S903. The DDIC reads the screen attribute parameter from the memory 2, and uses the brightness compensation model to obtain the compensation parameter corresponding to the screen attribute parameter.

[0207] For the process of the DDIC reading the screen attribute parameter and obtaining the compensation parameter, reference can be made to the description in S804 - S805, which will not be elaborated here.

[0208] S904. The DDIC inputs the compensation parameter into the RAM.

[0209] S905. The DDIC uses the compensation parameter in the RAM to perform display compensation on the display screen.

[0210] Based on this, the electronic device can, based on Figure 9 the corresponding embodiment, store the obtained screen attribute parameter into the memory 2, read the screen attribute parameter from the memory 2, and use the screen attribute parameter to implement aging compensation of the display screen.

[0211] Figure 10 It is a schematic flowchart of another data storage method provided by an embodiment of the present application. As Figure 10 shown, the data storage method may include the following steps:

[0212] S1001. The DDIC obtains the first parameter.

[0213] The first parameter may be the screen attribute parameter 1 described in the embodiment of the present application.

[0214] S1002. The application processor obtains the first parameter from the DDIC, and stores the first parameter at the first storage location of the memory. The memory is arranged in the application processor.

[0215] Figure 10 The memory described in

[0216] may be the memory 2 described in the embodiment of the present application. Referring to the description in S605, the first storage location may be sector 1.

[0217] S1003. The DDIC obtains the first parameter from the memory, and uses the first parameter to perform display compensation on the display screen.

[0218] For the step of the DDIC using the first parameter to perform display compensation on the display screen, reference can be made to the steps shown in S609 - S610, which will not be elaborated here.

[0219] S1004. The DDIC obtains a second parameter, and the first parameter and the second parameter are parameters for screen aging compensation obtained at different times.

[0220] The second parameter may be the screen attribute parameter 2 described in the embodiments of the present application.

[0221] S1005. The application processor obtains the second parameter from the DDIC, and stores the first parameter at a second storage location in the memory, where the first storage location is different from the second storage location.

[0222] Referring to the description in S605, the second storage location may be sector 301.

[0223] S1006. The DDIC obtains the second parameter from the memory, and uses the second parameter to perform display compensation on the display screen.

[0224] The steps of the DDIC using the second parameter to perform display compensation on the display screen may refer to the process of the DDIC using the screen attribute parameter 1 for display compensation shown in the steps of S609 - S610, which will not be elaborated here.

[0225] Based on this, the memory 2 can support data storage in the order of sector usage. Therefore, even if the maximum write count of the memory 2 is limited, the electronic device can write the screen attribute parameters into different sectors in the memory 2 in the order of sector usage, reducing the write count of any sector in the memory 2, thereby increasing the total write count of the data and extending the duration of display compensation for the display screen.

[0226] It should be noted that the module names involved in the embodiments of the present application can all be defined as other names, as long as the functions of each module can be achieved, and no specific restrictions are imposed on the module names.

[0227] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the embodiments of the present application are all information and data authorized by the user or fully authorized by all parties. And the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions, and corresponding operation entrances are provided for users to choose to authorize or refuse.

[0228] The data storage method of the embodiments of the present application has been described above. Next, the device for executing the above method provided by the embodiments of the present application will be described. Those skilled in the art can understand that the method and the device can be combined and cited with each other, and the relevant device provided by the embodiments of the present application can execute the steps in the above-listed sorting method.

[0229] AsFigure 11 As shown Figure 11 FIG. is a schematic structural diagram of another data storage device provided by an embodiment of the present application. The data storage device may be an electronic device in an embodiment of the present application, or a chip or chip system in the electronic device.

[0230] As Figure 11 shown, the data storage device 1100 may be used in a communication device, a circuit, a hardware component, or a chip. The data storage device 1100 includes: an acquisition unit 1101 and a processing unit 1102.

[0231] The acquisition unit 1101 is used to support the data acquisition step of the data storage method. The processing unit 1102 is used to support the information processing step of the data storage device 1100.

[0232] In a possible implementation manner, the data storage device 1100 may further include a communication unit 1103. The communication unit 1103 is used to support the data storage device 1100 to perform steps such as receiving or sending messages.

[0233] The data storage devices described in the embodiments of the present application may all include Figure 11 the units described in the corresponding embodiments.

[0234] Specifically, the processing unit 1102 and the acquisition unit 1101 may be integrated together, and communication may occur between the processing unit 1102 and the acquisition unit 1101.

[0235] In a possible implementation manner, the data storage device 1100 may further include: a storage unit 1104. Among them, the storage unit 1104 may include one or more memories, and the memory may be a device or circuit for storing programs or data in one or more devices.

[0236] The storage unit 1104 may exist independently and be connected to the processing unit 1102 through a communication bus. The storage unit 1104 may also be integrated with the processing unit 1102.

[0237] Taking the data storage device 1100 as an example of the chip or chip system of the electronic device in the embodiments of the present application, the storage unit 1104 can store computer-executable instructions of the method of the electronic device, so that the processing unit 1102 executes the method of the electronic device in the above embodiments. The storage unit 1104 can be a register, a cache, or a random access memory (RAM), etc., and the storage unit 1104 can be integrated with the processing unit 1102. The storage unit 1104 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, and the storage unit 1104 can be independent of the processing unit 1102.

[0238] In a possible implementation manner, the data storage device 1100 may further include: a communication unit 1103. Among them, the communication unit 1103 is used to support the data storage device 1100 to interact with other devices. Exemplarily, when the data storage device 1100 is an electronic device, the communication unit 1103 can be a communication interface or an interface circuit. When the data storage device 1100 is a chip or a chip system inside an electronic device, the communication unit 1103 can be a communication interface. For example, the communication interface can be an input / output interface, a pin, or a circuit, etc.

[0239] The device in this embodiment can correspondingly be used to execute the steps performed in the above method embodiment, and its implementation principle and technical effect are similar, and will not be described in detail here.

[0240] Figure 12 It is a schematic diagram of the hardware structure of another electronic device provided by the embodiments of the present application.

[0241] The electronic device includes a processor 1201, a communication line 1204, and at least one communication interface ( Figure 12 exemplarily described by taking the communication interface 1203 as an example).

[0242] The processor 1201 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the solution of the present application.

[0243] The communication line 1204 may include a circuit for transmitting information between the above components.

[0244] A communication interface 1203, using any device such as a transceiver, is used to communicate with other devices or communication networks, such as Ethernet, wireless local area networks (WLAN), etc.

[0245] Optionally, the electronic device may further include a memory 1202.

[0246] The memory 1202 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but not limited thereto. The memory can exist independently and be connected to the processor through a communication line 1204. The memory can also be integrated with the processor.

[0247] Among them, the memory 1202 is used to store computer execution instructions for implementing the solution of this application, and is controlled by the processor 1201 to execute. The processor 1201 is used to execute the computer execution instructions stored in the memory 1202, thereby implementing the method provided in the embodiments of this application.

[0248] Optionally, the computer execution instructions in the embodiments of this application may also be referred to as application code, and the embodiments of this application do not make specific limitations thereon.

[0249] In a specific implementation, as an embodiment, the processor 1201 may include one or more CPUs, such as Figure 12 CPU0 and CPU1 in

[0250] In a specific implementation, as an embodiment, the electronic device may include multiple processors, such as Figure 12The processors 1201 and 1205 therein. Each of these processors can be a single-CPU processor or a multi-CPU processor. The processors herein can refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).

[0251] In the above embodiments, the instructions stored in the memory for the processor to execute can be implemented in the form of a computer program product. Among them, the computer program product can be pre-written in the memory or downloaded and installed in the memory in the form of software.

[0252] The data storage method provided by the embodiments of the present application can be applied to an electronic device with communication functions. The electronic device includes an electronic device. The specific device form of the electronic device and the like can refer to the above relevant description and will not be elaborated here.

[0253] The embodiments of the present application provide an electronic device, which includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the electronic device executes the above method.

[0254] The embodiments of the present application provide a chip. The chip includes a processor, and the processor is used to call a computer program in the memory to execute the technical solutions in the above embodiments. Its implementation principle and technical effects are similar to those of the above relevant embodiments and will not be elaborated here.

[0255] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the above method is implemented. The methods described in the above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. The computer-readable medium can include a computer storage medium and a communication medium, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium accessible by a computer.

[0256] In one possible implementation, the computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM), or other optical disc storage, magnetic disk storage, or any other medium targeted to carry or store the required program code in the form of instructions or data structures and accessible by a computer. Moreover, any connection is properly termed a computer-readable medium. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of the medium. As used herein, disk and optical disc include optical disc, laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, and Blu-ray disc, where disks typically reproduce data magnetically, while optical discs reproduce data optically using a laser. Combinations of the above should also be included within the scope of computer-readable media.

[0257] An embodiment of the present application provides a computer program product. The computer program product includes a computer program that, when run, causes a computer to execute the above method.

[0258] Embodiments of the present application are described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and combinations of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable device to generate a machine such that the instructions executed by the processing unit of the computer or other programmable data processing device produce means for implementing the functions specified in one Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0259] The above specific implementation manners further elaborate on the purpose, technical solutions, and beneficial effects of the present invention. It should be understood that the above are only specific implementation manners of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the present invention should be included within the protection scope of the present invention.

Claims

1. A data storage method, characterized in that, Applied to an electronic device, the electronic device includes an application processor and a display driver integrated circuit (DDIC), and includes: The DDIC obtains a first parameter; The application processor obtains the first parameter from the DDIC and stores the first parameter starting from a first storage location in a memory, where the memory is provided in the application processor; The DDIC obtains the first parameter from the memory and performs display compensation on a display screen by using the first parameter; The DDIC obtains a second parameter, where the first parameter and the second parameter are parameters for screen aging compensation obtained at different times; The application processor obtains the second parameter from the DDIC and stores the second parameter starting from a second storage location in the memory, where the first storage location is different from the second storage location; The DDIC obtains the second parameter from the memory and performs display compensation on the display screen by using the second parameter.

2. The method according to claim 1, wherein The application processor includes a system-on-chip (SOC), and the memory is provided in the SOC.

3. The method according to claim 1 or 2, characterized in that, The parameters for screen aging compensation include one or more of the following: display brightness, gray scale, temperature, or frame rate.

4. The method according to any one of claims 1 to 3, characterized in that, In the memory, the first parameter is stored within a first storage range, the second parameter is stored within a second storage range, the first storage location is the first storage location in the first storage range, the second storage location is the first storage location in the second storage range, the third storage location is the last storage location in the first storage range, and when the second parameter is the next parameter of the first parameter, the second storage location is the next storage location of the third storage location.

5. The method according to claim 4, wherein: After storing the first parameter starting from the first storage location in the memory, the method further includes: the application processor obtains a first message from the memory, and the first message includes an identifier of the third storage location; Storing the second parameter starting from the second storage location in the memory includes: in response to the first message, determining to store the second parameter starting from the second storage location based on the third storage location.

6. The method according to any one of claims 1-5, characterized in that, Performing display compensation on the display screen by using the first parameter includes: Inputting the first parameter into a brightness compensation model and outputting a first compensation parameter corresponding to the first parameter; Performing display compensation on the display screen by using the first compensation parameter.

7. The method according to claim 6, wherein: After the DDIC obtains the first parameter, the method further includes: the DDIC determines a first count value corresponding to the first parameter by using the brightness compensation model; The application processor obtains the first parameter from the DDIC and stores the first parameter starting from a first storage location in the memory, including: the application processor obtains the first count value from the DDIC and stores the first count value starting from the first storage location; The DDIC obtains the first parameter from the memory and performs display compensation on the display screen by using the first parameter, including: the DDIC obtains the first count value from the memory, determines the first compensation parameter corresponding to the first count value based on the brightness compensation model, and performs display compensation on the display screen by using the first compensation parameter.

8. An electronic device, characterized in that, Including: A processor and a memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the electronic device executes the method according to any one of claims 1-7.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, the method according to any one of claims 1-7 is implemented.

10. A chip system, characterized in that, Including at least one processor and a communication interface, the communication interface and the at least one processor are interconnected by a line, and the at least one processor is configured to run a computer program or instruction to execute the method according to any one of claims 1-7.

11. A computer program product, characterized in that, Including a computer program, when the computer program is run, the computer is caused to execute the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Picture quality controlling method and flat panel display using the same

    CN101046930A

  • Electronic equipment, display method and device and storage medium

    CN114724506A

  • Mura compensation method and device, equipment and storage medium

    CN114783351A

  • Display screen control method, device and system, electronic equipment and storage medium

    CN115311989A

  • electric pole capable of adjusting recording area of CCTV

    KR102214540B1

Cited By

  • Screen brightness compensation method and device, electronic equipment and readable storage medium

    CN121075263A