Window Address Command Processing Method and System

By analyzing and adjusting the window address command of the MIPI DSI driver IC, the problems of the applicability and power consumption of the MIPI DSI driver IC in the window function are solved, and flexible window address processing and low-power window address command system are realized.

CN116243879BActive Publication Date: 2025-07-25SHENZHEN AIXIESHENG TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310002680.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-03
Publication Date
2025-07-25
Estimated Expiration
2043-01-03

AI Technical Summary

Technical Problem

The existing MIPI DSI driver ICs have poor applicability and flexibility in window opening function, and are large in power consumption, which is limited to specific window opening address and timing requirements.

Method used

Through the MIPI decoding module, the MCU module judges its reception time between the Vsync signal and the TE signal, delays the generation of TE signal to synchronize the window image data transmission, and adjusts the address according to the conditions of the image data processing module to ensure that the window opening conditions are met and RAM is written.

Benefits of technology

The window opening without restricting the window opening address is realized, which reduces the timing requirements for the window opening address command, improves applicability and reduces power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116243879B_ABST
    Figure CN116243879B_ABST
Patent Text Reader

Abstract

This application relates to a method and system for processing window address commands. The method includes: issuing a window address command and window image data; parsing the window address command to obtain the window address; determining whether the window address command is received between the Vsync signal and the TE signal. If so, controlling the synchronization signal generation module to delay the generation of the TE signal so that the host delays issuing the window image data. If not, waiting for the Vsync signal to interrupt; the MCU module determines whether the window address command meets the window opening conditions set by the image data processing module. If so, re-issue the received window address command to the RAM control module. If not, process the window address command into an address that meets the window opening conditions and re-issue it to the RAM control module, and synchronously control the image data processing module to perform reduction processing on the window image data; according to the window address, write the window image data to the position of the corresponding entire frame image in the RAM. This processing method has strong applicability and low power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of LCD display technology, and in particular, to a method and system for processing window address commands. Background Art

[0002] For current LCD display products, MIPI DSI has two modes, namely the command mode (Command Mode) and the video mode (Video Mode). The so-called Command Mode means that the MIPI DSI transmitting device (host) needs to interact with the driver IC on the display screen for window address commands. The display screen that supports the Command Mode requires the display screen itself to integrate a driver IC and a frame buffer (RAM). The advantage is that it can achieve a low-power mode. For example, when the display screen is in a static state for a long time, the transmitting device can choose not to send image data temporarily. At this time, the display screen can still obtain data from the frame buffer through the driver IC to refresh the display. Even more, when only a small area of the entire frame changes, the transmitting device can only send the image data of the changed area to the display screen. The prerequisite is that the transmitting device needs to send a window address command first to inform the driver IC which position of the image in the current frame is to be received, and the driver IC will operate to update only the data at the corresponding position of the frame buffer. This is the so-called windowing function.

[0003] Currently, in order to save costs and volume, reduce the memory space of the frame buffer, or to solve the problem of insufficient frame buffer bandwidth, the driver ICs that support the Command Mode usually add a compression algorithm to the image data, which has great limitations on the windowing function. For example, it can only support windowing for windows with certain window addresses. If the column address needs to be divisible by 4 or 2, the row address must be odd or even; or there are timing requirements for the window address command, such as the time interval between the window address command and the image data of the previous frame or the corresponding frame of the image data cannot be too small. The existing windowing methods can only support windowing for windows with certain window addresses and have timing requirements for the window address command. These limitations make the applicability and flexibility of the driver IC poor and the power consumption large.

[0004] In summary, there is an urgent need for a method and system for processing window address commands with strong applicability and low power consumption. Summary of the Invention

[0005] Based on this, in view of the above technical problems, it is necessary to provide a method and system for processing window address commands that can have strong applicability and low power consumption.

[0006] In a first aspect, a method for processing window address commands is provided, and the method includes:

[0007] The window opening address command and window image data sent by the host, where the window image data is sent synchronously according to the TE signal fed back by the synchronization signal generation module;

[0008] The MIPI decoding module analyzes the window opening address command, obtains the window opening address, and sends the window opening address to the MCU module and the RAM control module;

[0009] The MCU module determines whether the window opening address command is received between the Vsync signal and the TE signal;

[0010] If the window opening address command is received between the Vsync signal and the TE signal, the MCU module controls the synchronization signal generation module to delay the generation of the TE signal so that the host delays the sending of the window image data; otherwise, it waits for the interruption of the Vsync signal;

[0011] The MCU module determines whether the window opening address command meets the window opening conditions set by the image data processing module. If so, it resends the received window opening address command to the RAM control module. If not, it processes the window opening address command into an address that meets the window opening conditions, resends it to the RAM control module, and synchronously controls the image data processing module to perform a reduction process on the window image data;

[0012] The RAM control module writes the window image data to the position of the corresponding entire frame image in the RAM according to the window opening address.

[0013] In one embodiment, after the RAM control module writes the window image data to the position of the corresponding entire frame image in the RAM according to the window opening address, the method further includes:

[0014] The frame image processing module outputs the entire frame image according to the window image data and the TE signal.

[0015] In one embodiment, the method further includes:

[0016] The MCU module determines whether the window opening address command meets the window opening timing conditions set by the RAM control module by analyzing and comparing the received window opening address command.

[0017] In one embodiment, the reduction process on the window image data includes:

[0018] The MCU module synchronously controls the image data processing module to increase the start address of the window image data and decrease the end address of the window image data.

[0019] In one embodiment, the MCU module synchronously controls the image data processing module to increase the starting address of the window image data and decrease the ending address of the window image data specifically as follows:

[0020] The MCU module synchronously controls the image data processing module to perform row truncation and / or column truncation on the window image data.

[0021] In one embodiment, if the window opening address command is not received between the Vsync signal and the TE signal, the method further includes:

[0022] The MCU module needs to detect the interruption of the Vsync signal and then reissue the window opening address command to the RAM control module, and the time interval between the window opening address command and the image data of the previous frame is not less than a preset time.

[0023] In one embodiment, after detecting the Vsync signal, the method further includes:

[0024] The MCU module generates the timing of the TE signal by controlling the synchronization signal generation module.

[0025] In a second aspect, a window opening address command processing system is provided. The system includes a host, an MIPI decoding module, an image data processing module, a RAM control module, a synchronization signal generation module, a frame image processing module, and an MCU module. Among them,

[0026] The host is used to issue the window opening address command and the window image data. The window image data is synchronously issued according to the TE signal fed back by the synchronization signal generation module.

[0027] The MIPI decoding module analyzes the window opening address command, obtains the window opening address, and sends the window opening address to the MCU module and the RAM control module.

[0028] The MCU module determines whether the window opening address command is received between the Vsync signal and the TE signal.

[0029] If the window opening address command is received between the Vsync signal and the TE signal, the MCU module controls the synchronization signal generation module to delay the generation of the TE signal so that the host delays the issuance of the window image data. Otherwise, it waits for the interruption of the Vsync signal.

[0030] The MCU module determines whether the windowing address command meets the windowing conditions set by the image data processing module. If so, it resends the received windowing address command to the RAM control module. If not, it processes the windowing address command into an address that meets the windowing conditions and resends it to the RAM control module, and synchronously controls the image data processing module to perform reduction processing on the window image data;

[0031] The RAM control module writes the window image data to the position of the corresponding full-frame image in the RAM according to the windowing address.

[0032] In one embodiment, the frame image processing module is used to output a full-frame image according to the window image data and the TE signal.

[0033] In one embodiment, the MCU module is specifically used to determine whether the windowing address command meets the windowing timing conditions set by the RAM control module by detecting the Vsync signal output by the synchronization signal generation module.

[0034] In one embodiment, the MCU module is further used to synchronously control the image data processing module to increase the start address of the window image data and decrease the end address of the window image data.

[0035] In one embodiment, the MCU module is further specifically used to synchronously control the image data processing module to perform row truncation and / or column truncation processing on the window image data.

[0036] In one embodiment, after the MCU module detects the interruption of the Vsync signal, it resends the windowing address command to the RAM control module, and the time interval between the windowing address command and the image data of the previous frame is not less than a preset time.

[0037] In one embodiment, the MCU module is further used to control the timing of generating the TE signal by the synchronization signal generation module.

[0038] The above window opening address command method and system, through the issued window opening address command and window image data; parse the window opening address command to obtain the window opening address; determine whether the window opening address command is received between the Vsync signal and the TE signal, if so, control the synchronization signal generation module to delay the generation of the TE signal so that the host delays the issuance of the window image data, if not, wait for the Vsync signal to interrupt; the MCU module determines whether the window opening address command meets the window opening conditions set by the image data processing module, if so, re-issue the received window opening address command to the RAM control module, if not, process the window opening address command into an address that meets the window opening conditions, re-issue it to the RAM control module, and synchronously control the image data processing module to perform reduction processing on the window image data; according to the window opening address, write the window image data to the position of the corresponding entire frame image in the RAM. Using this method, window opening of the window opening address is not restricted, and there is no timing requirement for the window opening address command, making the window opening address command processing method highly applicable and low in power consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 is a schematic flowchart of a window opening address command processing method in an embodiment;

[0040] Figure 2 is a schematic structural diagram of a window opening address command processing system in an embodiment;

[0041] Figure 3 is a schematic diagram of a window opening address command processing process in an embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0042] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0043] In one embodiment, as Figures 1-3 shown, a window opening address command processing method is provided, which will be described by taking the following image processing system as an example. The image processing system includes a host, a MIPI decoding module, an image data processing module, a RAM control module, a synchronization signal generation module, a frame image processing module, and an MCU module. The method includes the following steps:

[0044] Step S101, the host issues a window opening address command and window image data, and the window image data is synchronized and issued according to the TE signal fed back by the synchronization signal generation module.

[0045] In this embodiment, the window includes a full window and a small window. The window opening address command is an instruction including the window opening address sent by the host. The window image data refers to the image data corresponding to the window area. The window opening address command and the window image data are in one-to-one correspondence. The TE signal is a feedback signal from the synchronization signal generation module to the host. The host sends the window opening address command in advance and synchronously sends the window image data according to the TE signal fed back by the synchronization signal generation module.

[0046] Step S102: The MIPI decoding module analyzes the window opening address command, obtains the window opening address, and sends the window opening address to the MCU module and the RAM control module.

[0047] In this embodiment, the MIPI decoding module analyzes the window opening address command, obtains the window opening address, and sends the window opening address to the MCU module and the RAM control module.

[0048] Step S103: The MCU module determines whether the window opening address command is received between the Vsync signal and the TE signal.

[0049] In this embodiment, the Vsync signal is sent by the synchronization signal generation module. The MCU module can determine whether the window opening address command meets the timing requirements of the driving IC by detecting the Vsync signal. If the window opening address command is received between the Vsync signal and the TE signal, the window opening address command meets the timing requirements of the driving IC, and step S104 is executed. If the window opening address command is not received between the Vsync signal and the TE signal, the method further includes: the MCU module waits for the Vsync signal to interrupt.

[0050] Preferably, after Vsync, the MCU module controls the synchronization signal generation module to generate the timing of the TE signal.

[0051] Step S104: If the window opening address command is received between the Vsync signal and the TE signal, the MCU module controls the synchronization signal generation module to delay the generation of the TE signal so that the host delays the sending of the window image data.

[0052] In this embodiment, if the window opening address command is received between the Vsync signal and the TE signal, the synchronization signal generation module is controlled to delay the generation of the TE signal so that the host delays the sending of the window image data, so as to ensure that there is enough time interval between the window opening address command and the corresponding frame image data.

[0053] Step S105: The MCU module determines whether the windowing address command meets the windowing conditions set by the image data processing module. If so, it resends the received windowing address command to the RAM control module. If not, the MCU module processes the windowing address command into an address that meets the windowing conditions and resends it to the RAM control module, and simultaneously controls the image data processing module to perform reduction processing on the window image data.

[0054] In this embodiment, the MCU module monitors the windowing address command in real time. The MCU module determines whether the windowing address command meets the windowing conditions set by the image data processing module. If it meets the windowing conditions set by the image data processing module, it directly resends the received windowing address command to the RAM control module, and the image data processing module directly passes through the window image data without the need for MCU unit processing, saving resources and power consumption. If it does not meet the windowing conditions set by the image data processing module, the MCU module increases the start address of the windowing address command and decreases the end address, processes it into an address that meets the windowing conditions, resends it to the RAM control module, and simultaneously controls the image data processing module to perform reduction processing on the window image data to match the windowing address, and sends the processed window image data. Specifically, the MCU module determines whether the windowing address command meets the windowing conditions set by the image data processing module by parsing and comparing the received windowing address command. The MCU module simultaneously controls the image data processing module to increase the start address of the window image data and decrease the end address of the window image data. Further, the MCU module simultaneously controls the image data processing module to perform row truncation or / and column truncation processing on the window image data. For example Figure 3 Example of processing a non-conforming windowing address: If the driver IC requires that both the column start address and the column end address of the windowing address be divisible by 4 after adding 1, the row start address is even, and the row end address is odd. And the column start address of the windowing address sent by the host is 0x142 (322), the column end address is 0x192 (401), the row start address is 0x321 (801), and the row end address is 0x386 (902), then the windowing address processed by the MCU is: column start address 0x144, column end address 0x18F, row start address 0x322, row end address 0x385. The MCU module simultaneously controls the image data processing module to intercept 2 columns of data at the start position of the received image data, intercept 3 columns of data at the end position, intercept 1 row of data at the start position of the row, and intercept 1 row of data at the end position of the row. In this way, the RAM control module can receive the windowing data that meets the requirements.

[0055] Step S106: The RAM control module writes the window image data to the corresponding position in the RAM according to the windowing address.

[0056] In this embodiment, the corresponding position refers to the storage position of the window image data corresponding to the window address in the RAM. The RAM control module writes the processed window image data to the corresponding address position in the RAM according to the windowing address, so as to implement the function of local image data update.

[0057] In the above windowing address command processing method, through the issued windowing address command and the window image data; parsing the windowing address command to obtain the windowing address; determining whether the windowing address command is received between the Vsync signal and the TE signal, if so, controlling the synchronization signal generation module to delay the generation of the TE signal so that the host delays the issuance of the window image data, if not, waiting for the Vsync signal to interrupt; the MCU module determines whether the windowing address command meets the windowing conditions set by the image data processing module, if so, re-issuing the received windowing address command to the RAM control module, if not, processing the windowing address command into an address that meets the windowing conditions, re-issuing it to the RAM control module, and synchronously controlling the image data processing module to perform reduction processing on the window image data; according to the windowing address, writing the window image data to the position of the corresponding entire frame image in the RAM. It realizes window windowing without restricting the windowing address, and there is no timing requirement for the windowing address command, making the windowing address command processing method highly applicable and low in power consumption.

[0058] In one embodiment, after step S106, the method further includes:

[0059] Step S107, outputting the entire frame image according to the window image data and the TE signal

[0060] In this embodiment, the frame image processing module outputs the entire frame image according to the window image data and the TE signal.

[0061] It should be understood that although Figure 1 the steps in the flowchart are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly stated in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, Figure 1 at least a part of the steps in

[0062] In one embodiment, asFigure 2 As shown in the figure, a window address command processing system is provided. The system includes: a host, an MIPI decoding module, an image data processing module, a RAM control module, a synchronization signal generation module, a frame image processing module, and an MCU module, where:

[0063] The host is used to issue a window address command and window image data. The window image data is synchronized and issued according to the TE signal fed back by the synchronization signal generation module.

[0064] The MIPI decoding module is used to parse the window address command, obtain the window address, and send the window address to the MCU module and the RAM control module.

[0065] The MCU module determines whether the window address command is received between the Vsync signal and the TE signal.

[0066] If the window address command is received between the Vsync signal and the TE signal, the MCU module controls the synchronization signal generation module to delay the generation of the TE signal so that the host delays the issuance of the window image data. Otherwise, it waits for the interruption of the Vsync signal.

[0067] The MCU module determines whether the window address command meets the window opening conditions set by the image data processing module. If so, it re-issues the received window address command to the RAM control module. If not, it processes the window address command into an address that meets the window opening conditions, re-issues it to the RAM control module, and synchronously controls the image data processing module to perform a reduction process on the window image data.

[0068] The RAM control module writes the window image data to the position of the corresponding full-frame image in the RAM according to the window address.

[0069] Furthermore, the frame image processing module is used to output a full-frame image according to the window image data and the TE signal.

[0070] Furthermore, the MCU module is specifically used to determine whether it meets the window opening timing conditions required by the RAM control module by detecting the Vsync signal output by the synchronization signal generation module.

[0071] Furthermore, the MCU module is also used to control the timing of the TE signal generated by the synchronization signal generation module.

[0072] Further, the MCU module is further configured to re-issue the windowing address command to the RAM control module after detecting the interruption of the Vsync signal, and the time interval between the windowing address command and the image data of the previous frame is not less than a preset time.

[0073] Further, the MCU module is further configured to synchronously control the image data processing module to increase the start address of the window image data and decrease the end address of the window image data.

[0074] Further, the MCU module is specifically configured to synchronously control the image data processing module to perform line truncation and / or column truncation on the window image data.

[0075] For the specific limitations of the windowing address command processing system, reference can be made to the limitations of the windowing address command processing method in the foregoing text, which will not be elaborated here. Each module in the above windowing address command processing system can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.

[0076] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above method embodiments. Among them, any reference to the memory, storage, database, or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0077] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.

[0078] The above-described embodiments merely represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.

Claims

1. A method for processing window address commands, characterized in that, The method includes: The window opening address command and window image data sent by the host, and the window image data is synchronously sent according to the TE signal fed back by the synchronization signal generation module; The MIPI decoding module analyzes the window opening address command, obtains the window opening address, and sends the window opening address to the MCU module and the RAM control module; The MCU module determines whether the window opening address command is received between the Vsync signal and the TE signal; If the window opening address command is received between the Vsync signal and the TE signal, the MCU module controls the synchronization signal generation module to delay generating the TE signal so that the host delays sending the window image data; otherwise, wait for the Vsync signal to interrupt; The MCU module determines whether the window opening address command meets the window opening conditions set by the image data processing module. If so, resend the received window opening address command to the RAM control module. If not, process the window opening address command into an address that meets the window opening conditions, resend it to the RAM control module, and synchronously control the image data processing module to perform a reduction process on the window image data; The RAM control module writes the window image data to the position of the corresponding entire frame image in the RAM according to the window opening address.

2. The method according to claim 1, wherein After the RAM control module writes the window image data to the position of the corresponding entire frame image according to the window opening address, the method further includes: The frame image processing module outputs the entire frame image according to the window image data and the TE signal.

3. The method according to claim 1, wherein The method further includes: The MCU module determines whether the window opening address command meets the window opening timing conditions set by the RAM control module by detecting the Vsync signal output by the synchronization signal generation module.

4. The method according to claim 1 or 2, characterized in that, The reduction process on the window image data includes: The MCU module synchronously controls the image data processing module to increase the start address of the window image data and decrease the end address of the window image data.

5. The method according to claim 4, wherein The MCU module synchronously controls the image data processing module to increase the start address of the window image data and decrease the end address of the window image data specifically: The MCU module synchronously controls the image data processing module to perform line truncation or / and column truncation processing on the window image data.

6. The method according to claim 3, characterized in that, If the window opening address command is not received between the Vsync signal and the TE signal, the method further includes: After the MCU module detects the interruption of the Vsync signal, it resends the window opening address command to the RAM control module, and the time interval between the window opening address command and the image data of the previous frame is not less than a preset time.

7. The method according to claim 3, wherein After detecting the Vsync signal, the method further includes: The MCU module controls the timing of generating the TE signal by the synchronization signal generation module.

8. A window address command processing system, characterized in that, The system includes a host, an MIPI decoding module, an image data processing module, a RAM control module, a synchronization signal generation module, a frame image processing module, and an MCU module, where The host is used to issue window opening address commands and window image data, and the window image data is synchronously issued according to the TE signal fed back by the synchronization signal generation module; The MIPI decoding module is used to parse the window opening address command, obtain the window opening address, and send the window opening address to the MCU module and the RAM control module; The MCU module is further used to determine whether the window opening address command is received between the Vsync signal and the TE signal; If the window opening address command is received between the Vsync signal and the TE signal, the MCU module is further used to control the synchronization signal generation module to delay the generation of the TE signal so that the host delays the issuance of the window image data. Otherwise, wait for the interruption of the Vsync signal; The MCU module is used to determine whether the window opening address command meets the window opening conditions set by the image data processing module. If so, re-issue the received window opening address command to the RAM control module. If not, process the window opening address command into an address that meets the window opening conditions, re-issue it to the RAM control module, and synchronously control the image data processing module to perform a reduction process on the window image data; The RAM control module is used to write the window image data to the corresponding position of the entire frame image according to the window opening address.

9. The system according to claim 8, wherein The frame image processing module is used to output the entire frame image according to the window image data and the TE signal.

10. The system according to claim 8, wherein Specifically, the MCU module is used to determine whether the window opening address command meets the window opening timing conditions set by the RAM control module by detecting the Vsync signal output by the synchronization signal generation module.

Citation Information

Patent Citations

  • Monitoring image synchronous switching method and device

    CN106331591A

  • Screen refreshing method and computer readable storage medium

    CN113625986A