Screen light-on method, display screen and electronic device
By loading screen-on control commands in parallel during the screen-on phase, the problem of slow screen-on speed was solved, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-05-23
- Publication Date
- 2026-08-04
AI Technical Summary
The slow screen-on speed of electronic devices results in a poor user experience.
During the screen-on phase, screen-on control commands are loaded in parallel to shorten the screen-on time, including loading at least some of the whole machine interaction commands in parallel during the screen-on initialization operation.
The screen's brightness has been improved, enhancing the user experience.
Smart Images

Figure CN121050635B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic device technology, and more particularly to screen lighting methods, displays, and electronic devices. Background Technology
[0002] With the rapid development of electronic device technology, people's daily lives are increasingly intertwined with using electronic devices to obtain information. Users typically need to turn on the screen to access information, resulting in multiple screen-on cycles daily. However, the speed at which the screen lights up directly impacts the user experience. Currently, electronic devices often take a considerable amount of time to turn on, leading to a slow screen-on speed and a poor user experience. Summary of the Invention
[0003] This application provides a screen-on method, a display screen, and an electronic device to shorten the screen-on time, thereby improving the screen-on speed and enhancing the user experience of the electronic device.
[0004] To achieve the above objectives, the embodiments of this application adopt the following technical solution: During the screen-on phase, the electronic device controls the screen to load at least some of the overall machine interaction instructions for controlling the screen to turn on in parallel during the screen-on initialization operation. Compared with the related technology where the screen loads instructions separately before performing the screen-on initialization operation, this application effectively saves the time consumed by the screen loading instructions separately by controlling the screen to load instructions in parallel during the idle time of the screen-on initialization operation, thereby improving the screen-on speed and enhancing the user experience of the electronic device.
[0005] Firstly, a screen-on method is provided, applied to an electronic device including a display screen. During the screen-on phase, the electronic device sends a first screen-on command from the software system to the display screen at a first instant, and the display screen responds to the first screen-on command by initiating a screen-on initialization operation. At a second instant following the first instant, the electronic device further sends at least some screen-on control commands from the software system to the display screen, and the display screen responds to the screen-on control commands by loading at least some of the screen-on control commands in parallel during the screen-on initialization operation. At a third instant, the electronic device sends a second screen-on command from the software system to the display screen, and the display screen responds to the second screen-on command by initiating screen-on.
[0006] In this application, the electronic device sends at least some of the screen-on control commands to the display screen during the screen-on phase, so that the display screen loads the screen-on control commands in parallel while performing the screen-on initialization operation in response to the first screen-on command. This saves the time required for the display screen to load the at least some of the screen-on control commands separately during other time periods outside of the screen-on initialization operation, thereby improving the screen-on speed and enhancing the user experience of the electronic device.
[0007] In one possible implementation of the first aspect, the electronic device can determine the first duration of the screen-on control command at a fourth time point before the first time point, and further compare the first duration with a preset initialization duration threshold. If the first duration is less than or equal to the initialization duration threshold, the electronic device sends a screen-on control command to the display screen, thereby causing the display screen to load the screen-on control command in parallel during the screen-on initialization operation in response to the screen-on control command.
[0008] In one possible implementation of the first aspect, the electronic device can acquire a screen-on control command, then calculate the data volume of the screen-on control command, and thereby obtain a first duration of the screen-on control command based on the data volume.
[0009] In another possible implementation of the first aspect, the electronic device determines the first duration of the screen-on control command at the fourth moment, and compares the first duration with the initialization duration threshold of the display screen. If the electronic device determines that the first duration is greater than the initialization duration threshold, it packages the screen-on control command separately to obtain a first screen-on control sub-instruction and a second screen-on control sub-instruction. Then, at the fifth moment, the electronic device sends the first screen-on control sub-instruction from the software system to the display screen, causing the display screen to load the first screen-on control sub-instruction separately after the fifth moment. Next, at the first moment, the electronic device sends the first screen-on command from the software system to the display screen, causing the display screen to perform a screen-on initialization operation in response to the first screen-on command. At the second moment after the first moment, the electronic device sends the second screen-on control sub-instruction to the display screen, causing the display screen to load the second screen-on control sub-instruction in parallel during the screen-on initialization operation.
[0010] In this application, the first duration of the screen-on control command is determined at a fourth time point before the first time point. Then, based on a comparison between the first duration and a threshold for the initialization duration of the display screen, it is determined whether to send the screen-on control command to the display screen at the second time point, or to send only a portion of the screen-on control command. This ensures that the command processing module completes the sending of the screen-on control command during the screen-on initialization phase, allowing the display screen to load commands in parallel. This saves the time spent by the display screen loading the screen-on control command individually, thus improving the screen-on speed.
[0011] In one possible implementation of the first aspect, the electronic device can package a second screen-on control sub-instruction from the screen-on control instruction by using an initialization duration threshold, and make the second duration of the second screen-on control sub-instruction equal to the initialization duration threshold. Then, the electronic device packages the other instructions in the screen-on control instruction, excluding the second screen-on control sub-instruction, into a first screen-on control sub-instruction of the screen-on control instruction.
[0012] In this application, when the first duration of the screen-on control instruction exceeds the initialization duration threshold, the electronic device packages the screen-on control instructions separately according to the initialization duration threshold, so that the second duration of the second screen-on control sub-instruction is equal to the initialization duration threshold. In this way, when the electronic device sends the second screen-on control sub-instruction to the display screen at the second moment, it can fully utilize the display screen's screen-on initialization operation process, allowing the display screen to load as many screen-on control instructions in parallel as possible during the screen-on initialization operation phase, and to load as few screen-on control instructions individually as possible before the first moment. This minimizes the time the display screen spends loading screen-on control instructions during the screen-on phase, thereby improving screen-on speed and enhancing the user experience of the electronic device.
[0013] In one possible implementation of the first aspect, the electronic device obtains the screen-on time of the display, and if the screen-on time is greater than or equal to a screen-on time threshold, it reduces the initialization time threshold to obtain a new initialization time threshold. Thus, when the electronic device controls the display to turn on the screen again, it can determine at least a portion of the screen-on control instructions with a relatively small data volume according to the new initialization time threshold, and send this portion of the screen-on control instructions to the display at a second moment. Therefore, the time spent by the display in parallel loading this portion of the screen-on control instructions during the screen-on initialization operation phase will be reduced, thus preventing an increase in the overall screen-on time.
[0014] In this application, considering that parallel loading of screen-on control commands during the screen-on initialization phase of an electronic device may lead to increased device load and thus longer screen-on time, the electronic device obtains the screen-on time and compares it with a screen-on time threshold. If the screen-on time is greater than or equal to the threshold, the initialization time threshold is reduced to obtain a new threshold. This allows the electronic device to determine, through the command acquisition module, a smaller portion of the screen-on control commands based on the new threshold the next time the screen is controlled to turn on. Thus, the time spent parallel loading of at least some screen-on control commands during the next screen-on initialization phase is reduced, preventing an increase in overall screen-on time and ensuring a shorter screen-on time for the next time the electronic device controls the screen, thereby improving the screen-on speed.
[0015] In another possible implementation of the first aspect, if the screen-on time is greater than or equal to the screen-on time threshold, the electronic device can further reduce the data size of the second screen-on control sub-instruction by directly decreasing its proportion. This ensures that sending the second screen-on control sub-instruction to the display at the second moment shortens the screen-on time and improves the screen-on speed. It also saves the computation time spent obtaining the first screen-on control instruction and comparing it with the initial duration threshold when the electronic device controls the screen to turn on again, further shortening the screen-on time and improving the screen-on speed.
[0016] In another possible implementation of the first aspect, when the electronic device sends at least a portion of the screen-on control commands (OD) to the display via the instruction processing module at a second moment, the electronic device can obtain the sending status of the overload compensation control commands and confirm whether the sending status indicates that the overload compensation control commands were successfully sent or failed to be sent. If the sending status indicates that the overload compensation control commands failed to be sent, the electronic device generates a screen-off control command. Upon receiving the screen-off control command, the display responds by powering off and then powering back on, and reloads the overload compensation control commands during the screen-on initialization process.
[0017] In this application, since the failure to issue an overload compensation control command indicates that an OD (Obstruction Displacement) ghosting problem will occur when the display is on, and OD ghosting severely affects the user experience of the electronic device, the electronic device needs to immediately control the display to turn off and then on again upon confirming the presence of OD ghosting. Therefore, when the overload compensation control command issuance status indicates failure, the electronic device generates a screen-off control command to power off the display and then power it back on. Upon power-back, the overload compensation control command is reloaded in parallel during the screen-on initialization process. This ensures that the display successfully loads the overload compensation control command during the screen-on phase, thereby improving the OD ghosting problem and ensuring a better user experience.
[0018] Secondly, another screen-on method is provided for use in the display screen of an electronic device. At a first moment, the display screen initiates a screen-on initialization operation in response to a first screen-on command sent from the software system to the display screen. Then, at a second moment, the display screen further initiates a screen-on control command sent from the software system to the display screen, thereby loading at least some screen-on control commands in parallel during the screen-on initialization operation. After completing the screen-on initialization operation, at a third moment, the display screen initiates a screen-on operation in response to a second screen-on command sent from the software system to the display screen.
[0019] In one possible implementation of the second aspect, the display screen may further respond to the first screen-on control sub-instruction issued by the electronic device at the fifth moment before performing the screen-on initialization operation in response to the first interaction instruction, thereby loading the first screen-on control sub-instruction separately. Then, at the first moment, the display screen responds to the first screen-on instruction issued by the electronic device from the software system side to the display screen side to begin performing the screen-on initialization operation. Subsequently, at the second moment, the display screen responds to the second screen-on control sub-instruction further issued by the electronic device from the software system side to the display screen side, thereby loading the second screen-on control sub-instruction in parallel during the execution of the screen-on initialization operation.
[0020] In one possible implementation of the second aspect, when the display receives a screen-off control command from the electronic device, it powers off and then powers on again in response to the command. Afterward, upon powering on again, the display re-executes the screen-on initialization operation in response to a first screen-on command sent from the software system to the display. Subsequently, the display responds to a further overload compensation control command sent from the software system to the display, thereby loading a second screen-on control sub-command in parallel during the re-execution of the screen-on initialization operation.
[0021] The technical effects of any implementation of the screen-lighting method provided in the second aspect can be found in the technical effects of different implementation methods in the first aspect, and will not be repeated here.
[0022] Thirdly, this application provides a display screen that performs the functions described in the second aspect above. This function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the aforementioned functions.
[0023] Fourthly, this application provides an electronic device that performs the function described in the first aspect. This function can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the aforementioned function.
[0024] Fifthly, this application provides an electronic device, including: a display screen, a processor, and a memory; the memory is used to store computer program code, the computer program code including computer execution instructions, and when the electronic device is running, the processor executes the computer execution instructions to cause the electronic device to perform the method described in the first aspect above.
[0025] In a sixth aspect, this application provides a computer-readable storage medium storing computer instructions that, when executed on an electronic device, enable the electronic device to perform the method described in the first aspect above.
[0026] In a seventh aspect, this application provides a computer program product containing instructions that, when run on a computer, enable the computer to perform the method described in the first aspect above.
[0027] Eighthly, an apparatus is provided, comprising a processor for supporting an electronic device in performing the functions described in the first aspect above. In one possible design, the apparatus further comprises a memory for storing program instructions and data necessary for the electronic device.
[0028] The technical effects of any of the design methods in aspects three through eight can be found in the technical effects of different implementation methods in aspect one, and will not be repeated here. Attached Figure Description
[0029] Figure 1 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application;
[0030] Figure 2 This is a schematic diagram illustrating an image display effect change according to an embodiment of this application;
[0031] Figure 3 This is a schematic diagram illustrating a scenario where the display driver of an electronic device interacts with the display screen via commands, according to an embodiment of this application.
[0032] Figure 4 This is a schematic diagram illustrating the implementation process of a screen-on method according to an embodiment of this application;
[0033] Figure 5 This is a schematic diagram of the screen lighting timing of a display screen according to an embodiment of this application;
[0034] Figure 6 This is a schematic diagram of another screen-on timing of the display screen involved in the embodiments of this application;
[0035] Figure 7 This is a schematic diagram illustrating the implementation process of another screen-on method according to an embodiment of this application;
[0036] Figure 8 This is a schematic diagram of the initialization duration threshold of the display screen involved in an embodiment of this application;
[0037] Figure 9 This is a schematic diagram illustrating the implementation process of another screen-on method according to an embodiment of this application;
[0038] Figure 10 This is another schematic diagram of the screen lighting timing of the display screen involved in the embodiments of this application;
[0039] Figure 11 This is a schematic diagram of the process of reducing the initialization time threshold in a screen-on method according to an embodiment of this application;
[0040] Figure 12 This is a schematic diagram illustrating the implementation process of reducing the proportion of data volume of the second screen-on sub-instruction in a screen-on method according to an embodiment of this application;
[0041] Figure 13 This is a schematic diagram illustrating the implementation process of a screen-on method according to an embodiment of this application, where the display screen is powered off and then powered on again.
[0042] Figure 14 This is a schematic diagram of the logic flow of a screen-on method according to an embodiment of this application. Detailed Implementation
[0043] The technical solutions of the embodiments of this application are described below with reference to the accompanying drawings. In the description of the embodiments of this application, the terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to limit the application. As used in the specification and appended claims of this application, the singular expressions "a," "the," "the," "the," and "this" are intended to also include expressions such as "one or more," unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, "at least one" and "one or more" refer to one or more (including two). The term "and / or" is used to describe the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.
[0044] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized. The term "connection" includes direct connections and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.
[0045] In the embodiments of this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.
[0046] Before introducing the embodiments of this application, a brief introduction to the relevant technical terms involved in the embodiments of this application will be given here.
[0047] I. Overdrive technology.
[0048] Overdrive, or OD for short, is a technology that improves screen response time and reduces motion blur by altering the control voltage on the internal liquid crystal molecules when the monitor's brightness changes. This increases the torque on the liquid crystal molecules, accelerates their rotation, and forces them to re-align within a shorter time to achieve a predetermined transmittance.
[0049] II. Average image level.
[0050] Average picture level (APL) is the average brightness of the entire content displayed on the screen. The peak brightness of the screen is adjusted based on the average picture level. The screen can preload APL gamma data before turning on to adjust the peak brightness according to the APL gamma data, or the screen can load APL gamma data during the screen-on process to achieve peak brightness adjustment.
[0051] III. One-time programmable devices.
[0052] One-time programmable (OTP) devices are non-volatile memories, typically suitable for applications where the program remains unchanged. For example, OTP devices are commonly used in displays to store the display's gamma data. Display manufacturers often program display parameters such as color temperature, color difference, grayscale, contrast ratio, and maximum APL brightness into the OTP device before the display is factory-tested. After the display is assembled into an electronic device, these parameters can be directly loaded during each screen-on process to achieve the desired image display effect.
[0053] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0054] First, please refer to Figure 1 , Figure 1 This is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of this application. Figure 1 As shown, 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, an antenna 1, an antenna 2, a mobile communication module 140, a wireless communication module 150, a sensor module 160, a display screen 170, etc.
[0055] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0056] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, memory, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of electronic device 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. In some embodiments, processor 110 may generate screen-on instructions and / or screen-on control instructions during the screen-on phase of display screen 170 via the controller. Furthermore, processor 110 may also send the generated screen-on instructions and / or screen-on control instructions to display screen 170 via the controller.
[0057] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0058] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0059] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0060] The wireless communication function of electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 140, wireless communication module 150, modem processor, and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0061] Mobile communication module 140 can provide solutions for wireless communication applications, including 2G / 3G / 4G / 5G / 6G, on electronic device 100. The modem processor can include a modulator and a demodulator. Wireless communication module 150 can provide solutions for wireless communication applications, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies, on electronic device 100.
[0062] In some embodiments, the electronic device 100 can communicate and interact with other devices through wireless communication functions, thereby obtaining screen-on control commands from other devices.
[0063] Electronic device 100 implements display functions through a GPU, a display screen 170, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 170 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0064] The display screen (or screen) 170 is used to display images, videos, etc. The display screen 170 includes a display panel. The display panel may include, but is not limited to, a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a mini organic light-emitting diode (MINILED), a micro organic light-emitting diode (MicroLed), a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 170, where N is a positive integer greater than 1. In some embodiments, the display screen 170 can be turned on during the screen-on phase by loading a screen-on control command generated by the electronic device 100, thereby improving OD ghosting problems, adjusting grayscale, adjusting contrast parameters, and / or adjusting APL maximum brightness, etc.
[0065] 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 200. In some embodiments, the electronic device 100 can also obtain screen-on control commands from external memory through the external memory interface 120.
[0066] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phone book, etc.). In addition, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. In some embodiments, electronic device 100 may store acquired screen-on control instructions in internal memory 121. Alternatively, in other embodiments, electronic device 100 may also directly generate screen-on control instructions locally and store the generated screen-on control instructions in internal memory 121.
[0067] The sensor module 160 may include a folding angle detection sensor, a pressure sensor, a fingerprint sensor, and a touch sensor, etc., disposed on the display screen.
[0068] Based on the above brief description of the electronic devices involved in the embodiments of this application, the overall concept of the screen-lighting method provided in the embodiments of this application is first proposed.
[0069] With the rapid development of electronic device technology, people's daily lives are increasingly intertwined with using electronic devices to obtain information. When using electronic devices to access information, users typically need to turn on the screen to view the information. Therefore, users trigger screen-on scenarios multiple times a day. However, the speed at which the screen lights up directly impacts the user experience. For example, the faster the screen lights up, the better the user experience; conversely, the slower the screen lights up, the worse the user experience.
[0070] In related technologies, in order to solve the OD ghosting problem of the display screen, or to adjust the display effect of the display screen, it may be necessary for the electronic device to send the whole machine interaction command from the software system side to the display device side to control the display screen to turn on. However, the electronic device sending the command from the software system side to the display screen side will cause the display screen to turn on for a longer time, and may even cause some functions of the electronic device that require the display screen to turn on quickly to achieve to be unable to achieve due to the longer display screen turn-on time.
[0071] For example, such as Figure 2 As shown, to solve the OD (Obstruction Displacement) ghosting problem when displaying multimedia content, electronic devices need to send OD overload compensation control commands from the software system to the display device during the screen-on phase. This allows the display to load the OD overload compensation data in the overload compensation control commands during the screen-on phase, thereby improving the OD ghosting problem. However, because the overload compensation control commands are large (e.g., more than 30 lines, and each line of commands writes up to 300 data pages), the display takes at least 20 milliseconds (ms) to load the commands. Thus, even if sending OD overload compensation control commands from the system to the display during the screen-on phase solves the OD ghosting problem, the display's loading of commands during this phase undoubtedly prolongs the screen-on response time.
[0072] For example, when electronic devices are adjusting the display effect of an image on a screen, if adjustments are needed to display parameters such as color difference, grayscale, and APL maximum brightness, the electronic device also needs to send a system-wide interactive command to the display. This command instructs the display to load the gamma data in the command during the screen-on phase to improve the image display effect. However, since the gamma data in the system-wide interactive command sent by the electronic device to the display typically contains more than 500 lines, loading more than 500 lines of gamma data during the screen-on phase will extend the screen-on time by at least 30ms, thus also causing an increase in screen-on duration.
[0073] In summary, in related technologies, electronic device displays often require a relatively long time to turn on, resulting in a slow screen-on speed and a poor user experience. This is especially true when users frequently trigger the screen to turn on, as the slow response time of each screen-on significantly impacts the user experience.
[0074] To address the aforementioned issues, this application provides a screen-on method. Since the system-wide interaction commands sent from the software system to the display during the screen-on phase are primarily used to control the display and improve its display effect, they are directly loaded and take effect. Therefore, the loading of at least some of these system-wide interaction commands by the display does not affect the internal initialization process. Thus, during the screen-on phase, the electronic device controls the display to load at least some of the system-wide interaction commands used to control the display to turn on simultaneously during the screen-on initialization operation. Compared to the related technologies where the display loads commands separately before performing the screen-on initialization operation, this application effectively saves the time spent loading commands separately by controlling the display to load commands in parallel during the idle time of the screen-on initialization operation, thereby improving the screen-on speed and enhancing the user experience of the electronic device.
[0075] For example, such as Figure 3 As shown, in an electronic device, the application layer of the software system includes a screen-on application. This application interacts with the display screen at the hardware layer via a display driver at the kernel layer. The display driver includes an instruction acquisition module, an instruction processing module, and an instruction loading module. Based on this, when the screen-on application responds to a user's operation to control the display screen to turn on, the electronic device can send initialization code to the display screen during the screen-on phase via the instruction processing module. After sending the initialization code, the display screen sends a first screen-on command. Upon receiving the first screen-on command, the display screen immediately responds by loading the initialization code and executing the screen-on initialization operation. Furthermore, the electronic device also acquires the overall interaction commands that need to be sent to the display screen during the screen-on phase via the instruction acquisition module and sends these commands to the display screen via the instruction processing module. This allows the display screen to perform parallel instruction loading while loading the initialization code and executing the screen-on initialization operation. In addition, the electronic device sends a second screen-on command to the display screen via the instruction processing module to control the display screen to start turning on. The display screen can then begin turning on upon responding to the second screen-on command. In the process of an electronic device sending various commands to the display screen via the display driver to control the screen to turn on, it also obtains the sending status of the commands sent to the display screen by the command loading module in the display driver. This allows the electronic device to determine whether it needs to resend commands to the display screen based on the sending status. Furthermore, the electronic device can also obtain the time taken from the start of the screen-on initialization operation to the start of screen-on, and thus determine whether the amount of data in the commands sent to the display screen by the command processing module needs to be adjusted based on the screen-on time.
[0076] It should be noted that the overall interaction command sent by the electronic device to the display screen through the display driver is a screen-on control command issued from the software system to the display screen during the screen-on phase. This command can include the aforementioned OD overload compensation control command and commands containing gamma data. When the screen-on control command is an OD overload compensation control command, loading the overload compensation control command during the screen-on phase can improve the OD ghosting problem. When the screen-on control command contains gamma data, specifically gamma data that adjusts the display's APL (Average Brightness Proportion) maximum brightness, loading this gamma data during the screen-on phase can adjust the APL maximum brightness. It should be understood that gamma data can also be gamma data used to adjust other display parameters such as color temperature, color difference, contrast ratio, and grayscale. Depending on the design needs of different applications, in different implementations, the gamma data can of course be other types of data not listed here, allowing the display to load gamma data during the screen-on phase to adjust other display parameters. That is, the embodiments of this application do not limit the specific types of gamma data.
[0077] In addition, the screen-on control command can also be other interactive commands issued by the electronic device from the software system to the display screen during the screen-on phase. For example, when the display screen has already completed mass production and assembly, making it inconvenient to re-program data to the OTP device within the display screen, the electronic device can use the data controlling the display screen's interaction as the screen-on control command, which is then issued from the software system to the display screen during the screen-on phase. The display screen can then respond to the electronic device's control and execute the corresponding interactive operation by loading the command. It should be understood that, based on different design needs of actual applications, the screen-on control command can, of course, be other commands not listed here in different implementations. This application does not limit the specific types of screen-on control commands.
[0078] Based on the description of the overall concept of the screen-on method provided in the embodiments of this application, several specific embodiments of the screen-on method provided in the embodiments of this application are further proposed.
[0079] Please refer to Figure 4 , Figure 4 This is a schematic flowchart illustrating a possible embodiment of the screen-lighting method provided in this application. It should be understood that, although... Figure 4 The figures show the execution order of some method steps, but the screen-lighting method provided in this application can, of course, employ a different execution order than that shown in the figures, based on different design needs of actual applications. That is, Figure 4The order of the method steps shown does not constitute a limitation on the execution logic order of the screen-on method provided in the embodiments of this application. Any other order based on... Figure 4 Reasonable changes to the sequence of steps shown should be included within the protection scope of the screen-on method provided in the embodiments of this application.
[0080] like Figure 4 As shown, in some embodiments, when the screen-on method provided in this application is executed on an electronic device, during the screen-on phase, the electronic device sends a first screen-on command from the software system to the display screen at a first moment, and the display screen responds to the first screen-on command and begins to perform a screen-on initialization operation. At a second moment after the first moment, the electronic device further sends at least some screen-on control commands from the software system to the display screen, and the display screen responds to the screen-on control commands, loading at least some of the screen-on control commands in parallel during the screen-on initialization operation. At a third moment, the electronic device sends a second screen-on command from the software system to the display screen, and the display screen responds to the second screen-on command and begins to light up.
[0081] It should be noted that the electronic device can send the first screen-on command, at least some screen-on control commands, and the second screen-on command from the software system to the display screen through the display driver in the software system kernel layer. The first screen-on command, at least some screen-on control commands, and the second screen-on command can be sent to the mobile industry processor interface (MIPI) of the display driver integrated circuit (DDIC) inside the display screen.
[0082] For example, such as Figure 5As shown, the first screen-on command is command 11 sent by the electronic device to the MIPI through the command processing module. At least part of the screen-on control command is command a sent by the electronic device to the MIPI through the command processing module after sending command 11. The second screen-on command is command 29 sent by the electronic device to the MIPI through the command processing module. During the screen-on phase, the voltages of each channel of the display are pulled up sequentially according to the device timing sequence. Then, the reset pin of the DDIC is pulled high, and the DDIC starts to power on. After powering on, the DDIC receives the initialization code sent by the electronic device to the software system through the command processing module via the MIPI, and waits for command 11 indicating the end of the initialization code sent by the electronic device through the command processing module. After receiving command 11 through the MIPI at the first moment, the DDIC starts loading the initial code to perform a series of initialization settings for the display. After receiving command a through the MIPI at the second moment after the first moment, the DDIC loads command a in parallel during the process of loading the initial code to perform the screen-on initialization operation. Furthermore, after loading the Initial Code and completing the screen-on initialization operation, the DDIC waits for the electronic device to send instruction 29 from the software system via the instruction processing module. After receiving instruction 29 via MIPI at the third moment, the DDIC determines that it is time to start lighting up the display screen, and thus the DDIC begins to drive the display screen to light up.
[0083] also, Figure 5 The instruction 51 received by the DDIC via MIPI is a command sent by the electronic device to the display screen through the instruction processing module, indicating that the display screen is fully lit. Additionally, Figure 5 The dashed arrow on the MIPI waveform indicates the moment when the display has completed the screen-on initialization operation. Therefore, the time period from when the DDIC receives instruction 11 via MIPI to the moment indicated by the dashed arrow on the MIPI waveform is the screen-on initialization operation phase in which the display loads the Initial Code and performs the screen-on initialization operation. Figure 5 The tear effect (TE) signal shown is a signal that indicates that the electronic device starts to transmit the image data to be displayed to the DDIC through the instruction processing module. That is, after the DDIC completes the screen lighting initialization operation, the electronic device can start to transmit the image data to be displayed to the DDIC through the instruction processing module, so that the DDIC can load the image data to be displayed and refresh the display image data through the display screen when the display screen is lit up in response to instruction 29.
[0084] It should be noted that by sending at least some screen-on control commands to the DDIC's MIPI through the instruction processing module at a second moment after the first moment, the electronic device can enable the DDIC to load at least some screen-on control commands in parallel during the screen-on initialization operation phase, thereby saving the time consumed by the display screen to load screen-on control commands separately during the screen-on phase.
[0085] For example, such as Figure 6 As shown, at the first moment T1, the electronic device sends instruction 11 to the MIPI of the DDIC inside the display screen through the instruction processing module. At the second moment T2, the electronic device sends instruction a to the MIPI of the DDIC through the instruction processing module. Thus, during the screen-on initialization operation phase, while the DDIC loads the Initial Code in response to instruction 11 for initialization settings, it can load instruction a in parallel, saving the time required to load instruction a separately. At the third moment T3, after the DDIC has completed the screen-on initialization operation and loaded instruction a, the electronic device further sends instruction 29 to the MIPI of the DDIC through the instruction processing module, and the DDIC responds to instruction 29 by starting to drive the display screen to light up.
[0086] It should be noted that the duration between the first and second moments can be 2ms. For example... Figure 6 As shown, after the electronic device sends instruction 11 to the MIPI of the DDIC inside the display screen through the instruction processing module at the first time T1, it can delay for 2ms to reach the second time T2, and then send instruction a to the MIPI of the DDIC through the instruction processing module.
[0087] In this embodiment, during the screen-on phase of the electronic device, the instruction processing module sends at least a portion of the screen-on control instructions to the DDIC of the display screen. This allows the DDIC to load the screen-on control instructions in parallel while performing the screen-on initialization operation in response to the first screen-on instruction. This saves the time that would otherwise be spent by the DDIC loading the at least a portion of the screen-on control instructions separately during other time periods outside of the screen-on initialization operation. In other words, the screen-on method provided in this embodiment can shorten the screen-on time during the screen-on phase, thereby improving the screen-on speed and enhancing the user experience of the electronic device.
[0088] In some embodiments, the at least partial screen-on control command sent by the electronic device from the software system side to the display screen side at a second moment via the instruction processing module can be a complete screen-on control command that the electronic device needs to send to the display screen during the screen-on phase. Alternatively, the at least partial screen-on control command can also be a portion of the screen-on control sub-instructions obtained by the instruction acquisition module through separate packaging of the screen-on control commands. The electronic device can obtain the time required for the instruction processing module to send the screen-on control command from the software system side to the display screen side via the instruction acquisition module, and thus determine whether to send a complete screen-on control command or a portion of the screen-on control command to the display screen at the second moment based on this time.
[0089] For ease of understanding and explanation, the following text will use the first duration of the screen-on control command instead of the time required for the electronic device to send the screen-on control command from the software system side to the display screen side through the command processing module to provide a detailed description of the screen-on method provided in this application.
[0090] In some embodiments, the electronic device can acquire a screen-on control command through an instruction acquisition module, and then calculate the data volume of the screen-on control command through the instruction acquisition module, thereby obtaining the first duration of the screen-on control command based on the data volume.
[0091] For example, assume that the amount of data in the screen-on control command calculated by the electronic device through the command acquisition module is N, and that the time required for the electronic device to send a command of amount n to the DDIC of the display screen through the command processing module is 2ms. Therefore, when N = 10n, the time for the electronic device to send a screen-on control command of amount N to the DDIC of the display screen through the command processing module is 20ms. That is, the first duration for the electronic device to determine the screen-on control command is 20ms.
[0092] It should be noted that the screen-on control command can be directly stored in the electronic device's internal memory. In this case, the electronic device can retrieve the screen-on control command from the internal memory via the command acquisition module. Alternatively, the screen-on control command can be pre-stored in external memory, and the electronic device connects to the external memory via an external memory interface. In this case, the electronic device can also retrieve the screen-on control command from the external memory via the external memory interface through the command acquisition module.
[0093] In some embodiments, such as Figure 7As shown, the electronic device can determine the first duration of the screen-on control command at the fourth moment before the first moment through the instruction acquisition module. Furthermore, the electronic device can further compare the first duration with a preset initialization duration threshold through the instruction acquisition module. If the comparison determines that the first duration is less than or equal to the initialization duration threshold, the electronic device determines that it can complete the issuance of the screen-on control command during the screen-on initialization operation phase. Thus, the electronic device, through the instruction processing module, issues a first screen-on command from the software system to the display at the first moment, causing the display to perform a screen-on initialization operation in response to the first screen-on command. At the second moment, the electronic device, through the instruction processing module, issues a screen-on control command from the software system to the display, causing the display to load the screen-on control command in parallel during the screen-on initialization operation. In addition, at the third moment after the display has completed the screen-on initialization operation, the electronic device issues a second screen-on command to the display through the instruction processing module, and the display can begin to light up in response to the second screen-on command.
[0094] It should be noted that the initialization time threshold is a measured value obtained by measuring the time taken to perform the screen-on initialization operation when the screen is not loading screen-on control commands in parallel. For example... Figure 8 As shown, assuming the dashed arrow on the MIPI waveform points to time Tn, the display responds to instruction 11 at time T1 to perform a screen-on initialization operation until the end of time Tn. Thus, the duration "Tn-T1" between time Tn and time T1 is the initialization duration threshold. In some embodiments, the initialization duration threshold can be 50ms. It should be understood that, based on different design needs of actual applications, the initialization duration threshold for the display screen's screen-on initialization operation can naturally be different in different feasible implementations due to the different types of displays. The screen-on method provided in this application does not limit the specific size of the display screen's initialization duration threshold.
[0095] In this embodiment, the electronic device first determines the first duration of the screen-on control command through the command loading module. Then, if the first duration is less than or equal to the initialization duration threshold, the complete screen-on control command is sent to the display screen through the command processing module at a second moment. This ensures that the command processing module completes the sending of the screen-on control command during the screen-on initialization phase, allowing the display screen to load commands in parallel. This saves the time spent by the display screen loading the screen-on control command separately, thus improving the screen-on speed.
[0096] In some embodiments, such as Figure 9As shown, at the fourth moment, the electronic device determines the first duration of the screen-on control command and compares it with the initialization duration threshold of the display screen. If the electronic device determines that the first duration is greater than the initialization duration threshold, it determines that it cannot complete the issuance of the screen-on control command during the screen-on initialization operation phase. Therefore, the electronic device packages the screen-on control command separately through the command loading module, resulting in the first and second screen-on control sub-instructions. At the fifth moment, the electronic device, through the command processing module, issues the first screen-on control sub-instruction from the software system to the display screen, causing the display screen to load the first screen-on control sub-instruction separately at the fifth moment. At the first moment, the electronic device, through the command processing module, issues the first screen-on command from the software system to the display screen, causing the display screen to respond to the first screen-on command and perform a screen-on initialization operation. At the second moment, the electronic device, through the command processing module, issues the second screen-on control sub-instruction to the display screen, and the display screen responds to the second screen-on control sub-instruction, loading the second screen-on control sub-instruction in parallel during the screen-on initialization operation. In the third moment after the display screen completes the initial screen-on operation, the electronic device sends a second screen-on command to the display screen through the command processing module, and the display screen responds to the second screen-on command and turns on.
[0097] It should be noted that the second duration of the second screen-on control sub-instruction is the time required for the electronic device to send the second screen-on control sub-instruction from the software system side to the display screen side through the instruction processing module. The second duration is less than or equal to the display screen initialization duration threshold.
[0098] For example, such as Figure 10As shown, when the electronic device determines at the fourth time T4 that the first duration is greater than the initialization duration threshold of the display screen, it packages the screen-on control instruction a into a first screen-on control sub-instruction (instruction a1) and a second screen-on control sub-instruction (instruction a2). At the fifth time T5, the electronic device sends instruction a1 to the MIPI of the DDIC inside the display screen through the instruction processing module, so that the DDIC loads instruction a1 separately. At the first time T1, the electronic device sends instruction 11 to the MIPI of the DDIC through the instruction processing module, so that the DDIC starts to execute the screen-on initialization operation. Furthermore, at the second time T2, the electronic device sends instruction a2 to the MIPI of the DDIC through the instruction processing module, so that the DDIC, in the screen-on initialization operation phase, loads instruction a2 in parallel while loading the Initial Code in response to instruction 11 for initialization settings, thus saving the time required to load instruction a2 separately. At the third moment T3, after the DDIC has completed the screen-on initialization operation and loaded instruction a2, the electronic device sends instruction 29 to the DDIC's MIPI at the second moment T2. In response to instruction 29, the DDIC starts to drive the display screen to light up.
[0099] In this embodiment, when the electronic device has a first duration longer than the initialization duration threshold, it first packages the screen-on control commands separately to obtain a first screen-on control sub-command and a second screen-on control sub-command. The first screen-on control sub-command is first sent to the display screen through the command processing module. Then, during the screen-on initialization operation phase, the second screen-on control sub-command is sent to the display screen through the command processing module. In this way, the display screen can load a portion of the screen-on control commands in parallel during the screen-on initialization operation phase. Therefore, compared to loading the screen-on control commands separately during the screen-on phase, the screen-on method provided in this embodiment can still save the time spent loading the screen-on control commands separately during the screen-on phase, thereby improving the screen-on speed.
[0100] In some embodiments, the electronic device can package a second screen-on control sub-instruction from the screen-on control instruction by using an initialization duration threshold, and make the second duration of the second screen-on control sub-instruction equal to the initialization duration threshold. Then, the electronic device packages the other instructions in the screen-on control instruction, excluding the second screen-on control sub-instruction, into a first screen-on control sub-instruction of the screen-on control instruction.
[0101] For example, assuming the initialization time threshold of the display screen is 50ms, and the amount of data for the screen-on control command obtained by the electronic device through the instruction acquisition module is N1, and the first duration of the screen-on control command determined by the electronic device through the instruction acquisition module is 80ms. In this case, the electronic device can first determine the amount of data n1 that the instruction processing module can send within the initialization time threshold of 50ms, and then, through the instruction loading module, divide the screen-on control command into a portion of the screen-on control command with a data amount of n1, and package this portion of the command as the second screen-on control sub-instruction of the screen-on control command. The remaining portion of the screen-on control command, which is another portion of the screen-on control command with a data amount of N1-n1, is packaged by the electronic device through the instruction acquisition module as the first screen-on control sub-instruction of the screen-on control command.
[0102] In this embodiment, when the first duration of the screen-on control instruction exceeds the initialization duration threshold, the electronic device packages the screen-on control instructions separately according to the initialization duration threshold through the instruction acquisition module, ensuring that the second duration of the second screen-on control sub-instruction is less than or equal to the initialization duration threshold. This allows the electronic device to fully utilize the screen-on initialization process when the instruction processing module sends the second screen-on control sub-instruction to the display screen at the second moment. This enables the display screen to load as many screen-on control instructions as possible in parallel during the initialization phase, while loading as few screen-on control instructions individually as possible before the first moment. This minimizes the time the display screen spends loading screen-on control instructions during the screen-on phase, improving screen-on speed and enhancing the user experience.
[0103] In some embodiments, the electronic device may also determine whether the amount of data in at least a portion of the screen-on control commands sent to the screen at a second moment needs to be adjusted by monitoring the time taken from the start of the screen-on initialization operation to the screen turning on. For example, as Figure 11 As shown, after the electronic device lights up the screen in response to the second screen-on command, it obtains the screen-on time consumption through the command loading module. If the screen-on time consumption is greater than or equal to the screen-on time consumption threshold, the initialization time threshold is reduced to obtain a new initialization time threshold. Thus, the next time the electronic device controls the screen to light up, it can use the command acquisition module to determine at least a portion of the screen-on control commands with a relatively small data volume according to the new initialization time threshold, and send this portion of the screen-on control commands to the screen at the second moment. Therefore, the time spent by the screen in parallel loading of this portion of the screen-on control commands during the screen-on initialization operation phase is reduced, thus preventing an increase in the overall screen-on time consumption.
[0104] It should be noted that the screen-on time threshold is the time consumed from the execution of the screen-on initialization operation to the screen turning on when no screen-on control commands are loaded in parallel. The electronic device can perform screen-on timing measurements on the display screen even when no screen-on control commands are loaded in parallel, thereby measuring the time consumed from the screen initialization operation in response to the first screen-on command to the screen turning on in response to the second screen-on command, and using this time as the screen-on time threshold. Furthermore, the electronic device can send screen-on control commands to the display screen through the command processing module, so that the display screen loads screen-on control commands in parallel during the screen initialization operation phase, and obtain the duration between the first and third moments, using this duration as the screen-on time consumption. The electronic device can compare the screen-on time consumption with the screen-on time threshold through the command loading module to determine whether the screen-on time consumption is greater than or equal to the screen-on time threshold.
[0105] In some embodiments, if the electronic device, when controlling the display screen to turn on for the first time, compares the first duration with the initialization duration threshold through the instruction acquisition module and finds that the first duration is less than or equal to the initialization duration threshold, and thus, during the first screen-on, the electronic device sends a screen-on control command to the display screen through the instruction processing module at the second moment, resulting in the screen-on time being greater than or equal to the screen-on time threshold, then after the electronic device reduces the initialization duration threshold to obtain a new initialization duration threshold, when the electronic device compares the first duration of the screen-on control command with the new initialization duration threshold for the second time, the first duration may be greater than the new initialization duration threshold. Therefore, when the electronic device controls the display screen to turn on for the second time, if the instruction acquisition module confirms that the screen-on control command is greater than the new initialization duration threshold, it can package the screen-on control command separately to obtain a first screen-on control sub-instruction and a second screen-on control sub-instruction. Then, the instruction processing module sends the first screen-on control sub-instruction to the display screen at the fifth moment, and then sends the second screen-on control sub-instruction to the display screen at the second moment.
[0106] In this embodiment, considering that parallel loading of screen-on control commands during the screen-on initialization phase of an electronic device may lead to increased device load and thus longer screen-on time, the electronic device obtains the screen-on time and compares it with a screen-on time threshold. If the screen-on time is greater than or equal to the threshold, the initialization time threshold is reduced to obtain a new threshold. This allows the electronic device to determine, through the command acquisition module, a smaller portion of the screen-on control commands based on the new threshold the next time the screen is controlled to turn on. Thus, the time spent parallel loading of at least some screen-on control commands during the next screen-on initialization phase is reduced, preventing an increase in overall screen-on time and ensuring a shorter screen-on time for the next time the electronic device controls the screen, thereby improving the screen-on speed.
[0107] In some embodiments, when the screen-on control command sent by the electronic device to the display screen at the second moment through the instruction processing module is itself the second screen-on control sub-instruction of the screen-on control command, if the screen-on time consumption is still greater than or equal to the screen-on time consumption threshold, the electronic device may not reduce the initialization time threshold, but instead directly reduce the proportion of the data volume of the second screen-on control sub-instruction in the screen-on control sub-instruction, thereby reducing the data volume of the second screen-on control sub-instruction. For example... Figure 12 As shown, after the electronic device sends a second screen-on command to the display screen at the third moment through the command processing module so that the display screen can respond to the second screen-on command and turn on, the electronic device obtains the screen-on time consumption through the command loading module, and reduces the data volume ratio of the second screen-on control sub-command if the screen-on time consumption is greater than or equal to the screen-on time consumption threshold.
[0108] For example, when the initialization duration threshold is 50ms and the first duration of the screen-on control command is 80ms, the electronic device determines that the amount of data that can be sent by the command processing module within the initialization duration threshold of 50ms is n1. Therefore, the command acquisition module divides the screen-on control command into a portion of data n1, packages it as a second screen-on control sub-command, and packages the remaining portion of the screen-on control command (N1-n1) as a first screen-on control sub-command (N1 is the amount of data in the screen-on control command). Subsequently, if the electronic device sends the second screen-on control sub-command to the display screen at the second moment through the command processing module, causing the screen-on time between the first and third moments to be greater than or equal to the screen-on time consumption threshold, the electronic device reduces the proportion of the second screen-on control sub-command's data n1 / N1. Therefore, during the next screen lighting process, the instruction acquisition module can directly divide the reduced portion of the screen lighting control instructions into a second screen lighting control sub-instruction based on the reduced data volume ratio, while the remaining portion of the screen lighting control instructions is still packaged as the first screen lighting control sub-instruction.
[0109] In this embodiment, the electronic device reduces the data volume ratio of the second screen-on control sub-instruction by directly decreasing it, thereby reducing the data volume of the second screen-on control sub-instruction when the electronic device controls the display screen to turn on next time. This ensures that the electronic device sends the second screen-on control sub-instruction to the display screen at the second moment through the instruction processing module, shortening the screen-on time and improving the screen-on speed. Furthermore, it saves the computation time spent by the instruction acquisition module in obtaining the first duration of the screen-on control instruction and comparing it with the initial duration threshold when the electronic device controls the display screen to turn on next time, further shortening the screen-on time and improving the screen-on speed.
[0110] In some embodiments, when the electronic device sends at least a portion of the screen-on control instructions to the display via the instruction processing module at a second moment, which is at least a portion of the overload compensation control instructions at OD, after the electronic device sends at least a portion of the overload compensation control instructions from the software system side to the display screen side via the instruction processing module, it can also obtain the sending status of the at least a portion of the overload compensation instructions via the instruction loading module, thereby determining whether it is necessary to control the display screen to turn on again after it has turned off based on the sending status. For example, as... Figure 13As shown, during the screen-on phase, the electronic device sends a first screen-on command from the software system to the screen via the command processing module at the first moment. The screen responds to the first screen-on command and begins the screen-on initialization operation. At the second moment, the electronic device sends at least a portion of the overload compensation control command from the software system to the screen via the command processing module. The screen responds to the at least portion of the overload compensation control command and loads the at least portion of the overload compensation control command in parallel during the screen-on initialization operation. At the third moment, the electronic device sends a second screen-on command from the software system to the screen via the command processing module. The screen responds to the second screen-on command and lights up.
[0111] After the third moment, the electronic device can obtain the issuance status of at least some overload compensation control commands through the command loading module. Furthermore, the electronic device also uses the command loading module to confirm whether the issuance status indicates that at least some overload compensation control commands were successfully issued or failed. Since a failure to issue an overload compensation control command indicates an OD (Obstruction Displacement) ghosting problem when the screen is on, and OD ghosting severely impacts the user experience, the electronic device needs to immediately turn the screen off and then on again upon confirming the presence of OD ghosting. Therefore, when the issuance status indicates that the overload compensation control command has failed, the electronic device generates a screen-off control command through the command acquisition module and sends this command to the display through the command processing module. Upon receiving the screen-off control command, the display responds by powering off and then powering back on, and then reloads at least some of the overload compensation control commands in parallel during the screen-on initialization process.
[0112] It should be noted that after the display screen is powered on again, the electronic device will send a first screen-on command from the software system to the display screen again through the command processing module. After sending the first screen-on command, the command processing module will further send at least some overload compensation control commands to the display screen. This allows the display screen to simultaneously load at least some overload compensation control commands during the screen-on initialization operation in response to the first screen-on command. Furthermore, after the display screen completes the screen-on initialization operation, the electronic device will also send a second screen-on command from the software system to the display screen through the command processing module, so that the display screen will respond to the second screen-on command and light up again.
[0113] Furthermore, when the electronic device obtains the overload compensation control command issuance status through the instruction loading module, it can read back the corresponding register of the display screen through the instruction loading module. The change in the index of the register read back by the display driver is then used as the issuance status of the overload compensation control command, confirming whether the issuance status indicates success or failure. For example, assuming the index of the register corresponding to the display screen is "03" before the instruction processing module issues the overload compensation control command to the display screen, if the index has changed to "04" after the electronic device issues the second screen-on command through the instruction processing module, the electronic device can determine that the overload compensation control command issuance status indicates success. However, if the index read back by the instruction loading module is still "03", the electronic device can determine that the overload compensation control command issuance status indicates failure.
[0114] In this embodiment, the electronic device obtains the overload compensation control command's issuance status through the command loading module. If the issuance status indicates that the overload compensation control command issuance has failed, a screen-off control command is generated to power off the display screen and then power it back on. After power-on, the overload compensation control command is reloaded in parallel during the screen-on initialization operation. This ensures that the display screen lights up only after successfully loading the overload compensation control command during the screen-on phase, thereby improving the OD (Obstruction Displacement) ghosting problem that occurs when the display screen lights up and ensuring a better user experience.
[0115] In some embodiments, such as Figure 14As shown, during the screen-on phase, the electronic device retrieves the screen-on control command from its internal memory via the command acquisition module. Then, the command acquisition module calculates the data volume of the screen-on control command to determine its first duration. After calculating the first duration, the electronic device further compares it with the screen's initialization duration threshold via the command acquisition module to determine if the first duration is greater than or equal to the initialization duration threshold. If the command acquisition module determines that the first duration is greater than or equal to the initialization duration threshold, it further packages the screen-on control command into two sub-commands to obtain the first and second screen-on control sub-commands. Then, the electronic device uses the command processing module to monitor whether the first screen-on command is sent to the screen's DDIC to determine if the DDIC performs a screen-on initialization operation. Alternatively, if the command acquisition module determines that the first duration is less than the initialization duration threshold, the electronic device can directly use the command processing module to determine if the DDIC performs a screen-on initialization operation. Thus, after the electronic device determines through the instruction processing module that the DDIC will perform the screen-on initialization operation, it further sends a screen-on control command to the DDIC, causing the DDIC to begin parallel instruction loading during the screen-on initialization process. After sending the screen-on control command to the DDIC through the instruction processing module, the electronic device also obtains the screen-on duration and the sending status of the screen-on control command through the instruction loading module. Therefore, when the screen-on duration is greater than or equal to the screen-on time threshold, the initialization duration threshold is reduced to obtain a new initialization duration threshold. The next time the screen is controlled to turn on, the instruction loading module uses the new initialization duration threshold to determine whether the first duration is greater than or equal to the initialization duration threshold. Alternatively, if the screen-on control command is an overload compensation control command of OD, and the overload compensation control command issuance status indicates that the overload compensation control command issuance has failed, the electronic device sends a screen-off control command to the DDIC through the command processing module to control the display screen to power off and then power on again. After the display screen is powered on again, the electronic device re-determines through the command acquisition module whether the first duration is greater than or equal to the initialization duration threshold and subsequent operations. This allows the display screen to load the overload compensation control command issued by the command processing module to the DDIC in parallel during the screen-on initialization operation after power-on.
[0116] Furthermore, if the electronic device sends a first screen-on command to the DDIC via the command processing module, but the DDIC does not respond to the first screen-on command and perform the screen-on initialization operation, the electronic device determines that the display screen may be malfunctioning and unable to perform subsequent screen-on operations. Therefore, the electronic device further processes the display screen malfunction through the command processing module. For example, if the display screen fails to power on due to a circuit fault, it will be unable to respond to the electronic device's control to light up. In this case, the electronic device will further send a command to the DDIC via the command processing module to control the DDIC to provide feedback on the cause of the display screen malfunction. If the cause of the malfunction is determined not to be a fault in the display screen circuit, further processing such as circuit connection testing will be performed to troubleshoot the problem.
[0117] It should be noted that when the first duration is greater than or equal to the initial duration threshold, the screen-on control command sent by the electronic device to the DDIC through the instruction processing module is the second screen-on control sub-instruction obtained after the instruction loading module packages and processes the screen-on control command separately. When the first duration is less than the initial duration threshold, the screen-on control command sent by the electronic device to the DDIC through the instruction processing module is the screen-on control command itself. Furthermore, the screen-on control command sent by the instruction processing module to the DDIC can also be packaged and processed by the instruction loading module before being sent by the instruction processing module to the DDIC.
[0118] In some embodiments, the screen-on method provided in this application can also be applied to the display screen of an electronic device. When the screen-on method provided in this application is executed on the display screen, at a first moment, the display screen begins to perform a screen-on initialization operation in response to the electronic device sending a first screen-on command from the software system side to the display screen side. Then, at a second moment, the display screen responds to the electronic device further sending at least some screen-on control commands from the software system side to the display screen side, thereby loading at least some screen-on control commands in parallel during the execution of the screen-on initialization operation. After the display screen completes the screen-on initialization operation, at a third moment, the display screen lights up in response to the second screen-on command sent from the software system side to the display screen side.
[0119] In some embodiments, before performing the screen-on initialization operation in response to the first interactive instruction, the display screen may first respond to the first screen-on control sub-instruction issued by the electronic device at a fifth moment to load the first screen-on control sub-instruction separately. Then, at a first moment, the display screen responds to the first screen-on instruction issued by the electronic device from the software system side to the display screen side to begin performing the screen-on initialization operation. Subsequently, at a second moment, the display screen responds to the second screen-on control sub-instruction further issued by the electronic device from the software system side to the display screen side, thereby loading the second screen-on control sub-instruction in parallel during the execution of the screen-on initialization operation.
[0120] In some embodiments, when the display receives a screen-off control command from the electronic device, it powers off and then powers back on in response to the command. Afterward, the display re-executes the screen-on initialization operation in response to a first screen-on command sent from the software system to the display. Subsequently, the display responds to a further overload compensation control command sent from the software system to the display, thereby loading a second screen-on control sub-command in parallel during the re-execution of the screen-on initialization operation.
[0121] It should be noted that when the screen-on method provided in this application is executed on the display screen, the operations performed by the display screen are the same as those performed by the display screen of the electronic device in the various embodiments of the screen-on method executed by the electronic device described above. The same content will not be repeated here.
[0122] In some embodiments, this application provides a display screen that implements the screen-on method described in the various embodiments. This function can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described function.
[0123] In some embodiments, this application provides an electronic device including: a display screen, a processor, and a memory; the memory is used to store computer program code, the computer program code including computer execution instructions, and when the electronic device is running, the processor executes the computer execution instructions to cause the electronic device to perform the screen-on method as described in the above embodiments.
[0124] In some embodiments, this application provides a computer-readable storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform the screen-on method as described above.
[0125] In some embodiments, this application provides a computer program product that, when run on an electronic device, causes the electronic device to perform the screen-on method as described in the above embodiments.
[0126] In some embodiments, this application provides a computer program product containing instructions that, when run on a computer, enable the computer to execute the screen-on method described in the various embodiments.
[0127] In some embodiments, this application provides an apparatus including a processor for supporting an electronic device in implementing the screen-on method described in the various embodiments above. In one possible design, the apparatus further includes a memory for storing necessary program instructions and data of the electronic device.
[0128] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0129] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate. The components shown as units may be one physical unit or multiple physical units, i.e., they may be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0130] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0131] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for screen lightening, characterized in that, Applied to an electronic device, the electronic device including a display screen, the method includes: At the first moment, the electronic device generates a first screen-on command, and in response to the first screen-on command, the display screen performs a screen-on initialization operation; At a second moment, in response to at least a partial screen-on control command generated by the electronic device, the display screen loads the at least a partial screen-on control command in parallel during the execution of the screen-on initialization operation, and the second moment is after the first moment; At the third moment, the electronic device generates a second screen-on command, and in response to the second screen-on command, the display screen lights up. The third moment occurs after the second moment. The electronic device obtains the screen-on time of the display screen and compares the screen-on time with a preset screen-on time threshold; the screen-on time is the duration between the first moment and the third moment; If the screen-on time is greater than or equal to the screen-on time threshold, the electronic device will reduce the preset initialization time threshold to obtain a new initialization time threshold.
2. The method of claim 1, wherein, The method further includes: At the fourth moment, the electronic device determines the first duration of the screen-on control command and compares the first duration with a preset initialization duration threshold; the fourth moment is prior to the first moment. The at least partial screen-on control command generated by the electronic device, in response to the screen-on initialization operation, is loaded in parallel by the display screen, including: If the first duration is less than or equal to the initialization duration threshold, in response to the screen-on control command, the display screen loads the screen-on control command in parallel during the execution of the screen-on initialization operation.
3. The method of claim 2, wherein, The method further includes: If the first duration is greater than the initialization duration threshold, the electronic device packages the screen-on control instruction into a first screen-on control sub-instruction and a second screen-on control sub-instruction; the second duration of the second screen-on control sub-instruction is less than or equal to the initialization duration threshold. At the fifth moment, in response to the first screen-on control sub-instruction, the display screen loads the first screen-on control sub-instruction, and the fifth moment is between the fourth moment and the first moment; The method of responding to at least a partial screen-on control command generated by the electronic device, wherein the display screen loads the at least a partial screen-on control command in parallel during the execution of the screen-on initialization operation, further includes: In response to the second screen-on control sub-instruction, the display screen loads the second screen-on control sub-instruction in parallel during the execution of the screen-on initialization operation.
4. The method of claim 3, wherein, After the display screen is turned on, the method further includes: The electronic device obtains the screen-on time of the display screen and compares the screen-on time with a preset screen-on time threshold; the screen-on time is the duration between the first moment and the third moment; If the screen-on time is greater than or equal to the screen-on time threshold, the electronic device reduces the data volume ratio of the second screen-on control sub-instruction.
5. The method according to any one of claims 2 to 4, characterized in that, The electronic device determines the first duration of the screen-on control command, including: The electronic device acquires the screen-on control command; The electronic device calculates the first duration of the screen-on control command based on the amount of data in the screen-on control command.
6. The method according to any one of claims 1 to 4, characterized in that, The at least partially screen-on control command includes an overload compensation control command, and the method further includes: The electronic device acquires the issuance status of the overload compensation control command; When the overload compensation control command fails to be sent in the sent state, the electronic device generates a screen-off control command. In response to the screen-off control command, the display screen is powered off and then powered on again, and the overload compensation control command is loaded in parallel during the screen-on initialization operation.
7. A method for screen lightening, characterized in that, A display screen applied to an electronic device, the method comprising: At the first moment, the display screen responds to the first screen-on command generated by the electronic device and performs a screen-on initialization operation; At the second moment, the display screen responds to at least a portion of the screen-on control commands generated by the electronic device, and loads the at least a portion of the screen-on control commands in parallel during the execution of the screen-on initialization operation; the second moment is after the first moment. At a third moment, the display screen lights up in response to a second screen-on command generated by the electronic device, and the third moment occurs after the second moment. The electronic device obtains the screen-on time of the display screen and compares the screen-on time with a preset screen-on time threshold; the screen-on time is the duration between the first moment and the third moment; If the screen-on time is greater than or equal to the screen-on time threshold, the electronic device will reduce the preset initialization time threshold to obtain a new initialization time threshold.
8. The method of claim 7, wherein, The method further includes: At the fifth moment, the display screen receives a first screen-on control sub-instruction generated by the electronic device; the fifth moment is prior to the first moment; the first screen-on control sub-instruction is a portion of the screen-on control instruction. The display screen responds to at least some of the screen-on control commands generated by the electronic device, and loads the at least some of the screen-on control commands in parallel during the execution of the screen-on initialization operation, including: The display screen responds to the second screen-on control sub-instruction generated by the electronic device, and loads the second screen-on control sub-instruction in parallel during the execution of the screen-on initialization operation; the second screen-on control sub-instruction is a part of the screen-on control instruction, and the data volume of the second screen-on control sub-instruction plus the data volume of the first screen-on control sub-instruction equals the data volume of the screen-on control instruction.
9. The method according to claim 7 or 8, characterized in that, The at least partially screen-on control command includes an overload compensation control command, and the method further includes: The display screen responds to the screen-off control command generated by the electronic device by powering off the screen and then powering on again. The display screen reloads the overload compensation control command in parallel during the screen-on initialization operation.
10. A display screen, characterized by The display screen includes computer instructions that, when executed on the display screen, cause the display screen to perform the method as described in any one of claims 7 to 9.
11. An electronic device, comprising: The electronic device includes: a display screen, a processor, and a memory, the processor being coupled to the memory; the memory is used to store computer program code; the computer program code includes computer instructions, which, when executed by the processor, cause the electronic device to perform the method as described in any one of claims 1-9.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-9.
13. A computer program product, characterised in that, The computer program product includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-9.