TWI794958B - Display driving circuit and image and command synchronization method - Google Patents

Display driving circuit and image and command synchronization method Download PDF

Info

Publication number
TWI794958B
TWI794958B TW110133286A TW110133286A TWI794958B TW I794958 B TWI794958 B TW I794958B TW 110133286 A TW110133286 A TW 110133286A TW 110133286 A TW110133286 A TW 110133286A TW I794958 B TWI794958 B TW I794958B
Authority
TW
Taiwan
Prior art keywords
display
image
driving circuit
area
display driving
Prior art date
Application number
TW110133286A
Other languages
Chinese (zh)
Other versions
TW202312136A (en
Inventor
邵廣一
白宗堯
Original Assignee
大陸商昆山瑞創芯電子有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大陸商昆山瑞創芯電子有限公司 filed Critical 大陸商昆山瑞創芯電子有限公司
Priority to TW110133286A priority Critical patent/TWI794958B/en
Application granted granted Critical
Publication of TWI794958B publication Critical patent/TWI794958B/en
Publication of TW202312136A publication Critical patent/TW202312136A/en

Links

Images

Abstract

An image and command synchronization method applied to a display driving circuit is disclosed. The image and command synchronization method includes the following steps: (a) defining an area range of a command set in the image in advance; (b) determining whether the command is enabled and its type; (c) if a determination result of the step (b) is yes, the display driving circuit recognizing the command; and (d) before the display driving circuit transmits a next frame, executing the command to switch a state of the display driving circuit and transmitting the image.

Description

顯示驅動電路及圖像與指令同步方法Display driving circuit and image and instruction synchronization method

本發明係與顯示驅動電路有關,特別是關於一種顯示驅動電路以及應用於顯示驅動電路的圖像與指令同步方法。The present invention is related to a display driving circuit, in particular to a display driving circuit and an image and command synchronization method applied to the display driving circuit.

在各種顯示系統搭配顯示驅動IC及螢幕進行動態的圖像輸出的過程中,隨著顯示驅動IC的功能日益多元化,在某些應用場景(例如智慧型手機)下,系統端需發送指令(Command)給顯示驅動IC,使顯示驅動IC處於某種特定顯示狀態,而同時系統端還需在精準的時刻發送對應此特定顯示狀態之經處理過的特定圖像,使得經處理過的特定圖像與顯示驅動IC的特定顯示狀態能夠同步生效並輸出給螢幕端顯示/呈現,從而達到預期的顯示效果。In the process of dynamic image output of various display systems with display driver ICs and screens, as the functions of display driver ICs become more and more diversified, in some application scenarios (such as smart phones), the system side needs to send instructions ( Command) to the display driver IC, so that the display driver IC is in a specific display state, and at the same time, the system needs to send the processed specific image corresponding to this specific display state at a precise moment, so that the processed specific image The specific display state of the image and the display driver IC can take effect synchronously and be output to the screen for display/presentation, so as to achieve the expected display effect.

然而,若系統端發送的指令與圖像數據無法同步,例如指令與圖像錯開N幀(N>3),則最終螢幕端的顯示效果就無法符合預期,造成例如閃屏或延遲等現象,大致可分為下列兩種情況:However, if the command and image data sent by the system cannot be synchronized, for example, the command and the image are staggered by N frames (N > 3), the final display effect on the screen cannot meet expectations, resulting in phenomena such as flickering or delay. Can be divided into the following two situations:

(1)如圖1所示,系統端AP發送的圖像數據DAT快於狀態切換指令CMD,而使記憶體RAM先由狀態A切換為狀態B,但顯示驅動電路IC則尚未切換狀態而仍維持於狀態A,其可能原因為系統端AP輸出的圖像數據DAT未能精準地控制在狀態切換指令CMD生效對應之時間點開始刷圖,造成兩者不能同步生效而無法得到預期的顯示效果。(1) As shown in Figure 1, the image data DAT sent by the AP at the system side is faster than the state switching command CMD, so that the memory RAM is switched from state A to state B first, but the display driver IC has not yet switched states and is still Maintained in state A, the possible reason is that the image data DAT output by the AP on the system side cannot be accurately controlled to start refreshing the image at the time corresponding to the state switching command CMD taking effect, causing the two to fail to take effect synchronously and the expected display effect cannot be obtained .

(2)如圖2所示,系統端AP發送的狀態切換指令CMD快於圖像數據DAT,而使顯示驅動電路IC先由狀態A切換為狀態B,但記憶體RAM則尚未切換狀態而仍維持於狀態A,其可能原因為系統端AP的圖像處理單元過於繁忙而導致其輸出圖像數據DAT之時間有所延遲,造成兩者不能同步生效而無法得到預期的顯示效果。(2) As shown in Figure 2, the state switching command CMD sent by the AP on the system side is faster than the image data DAT, so that the display driving circuit IC is switched from state A to state B first, but the state of the memory RAM has not yet switched and is still Maintaining state A, the possible reason is that the image processing unit of the AP on the system side is too busy, resulting in a delay in the output of the image data DAT, resulting in the two not being able to take effect synchronously, and the expected display effect cannot be obtained.

因此,本發明提出一種顯示驅動電路以及應用於顯示驅動電路的圖像與指令同步方法,其能確保顯示驅動電路在同時(同一幀內)收到狀態切換指令與圖像數據,從而達到刷圖與切換狀態同步響應,以有效避免先前技術中由於顯示圖像內容與顯示驅動電路狀態切換不同步所導致的非預期顯示效果。Therefore, the present invention proposes a display drive circuit and an image and command synchronization method applied to the display drive circuit, which can ensure that the display drive circuit receives the state switching command and image data at the same time (within the same frame), so as to achieve image refresh. Responding synchronously with the switching state, so as to effectively avoid the unexpected display effect caused by the asynchronous display image content and display driving circuit state switching in the prior art.

根據本發明之一較佳具體實施例為一種應用於顯示驅動電路的圖像與指令同步方法。於此實施例中,圖像與指令同步方法包括下列步驟:(a)提前定義指令集於圖像中之區域範圍;(b)判斷指令是否致能及其類型;(c)若步驟(b)之判斷結果為是,顯示驅動電路識別指令;以及(d)在顯示驅動電路傳送下一幀畫面之前,執行指令切換顯示驅動電路之狀態並傳送圖像。A preferred embodiment of the present invention is a method for synchronizing images and commands applied to a display driving circuit. In this embodiment, the image and command synchronization method includes the following steps: (a) define in advance the range of the command set in the image; (b) determine whether the command is enabled and its type; (c) if step (b) ) is yes, the display drive circuit recognizes the command; and (d) before the display drive circuit transmits the next frame, execute the command to switch the state of the display drive circuit and transmit the image.

於一實施例中,若步驟(b)之判斷結果為否,顯示驅動電路之狀態不變並依正常流程傳送圖像。In one embodiment, if the judgment result of step (b) is negative, the status of the display driving circuit remains unchanged and the image is transmitted according to a normal process.

於一實施例中,指令為狀態切換指令且係由系統端將指令加密於圖像之特定區域中後同步傳輸至顯示驅動電路。In one embodiment, the command is a state switching command, and the system side encrypts the command in a specific area of the image and transmits it to the display driving circuit synchronously.

於一實施例中,當顯示驅動電路接收到圖像時,顯示驅動電路從圖像之特定區域中解碼出指令,以控制後續切換時序。In one embodiment, when the display driving circuit receives an image, the display driving circuit decodes instructions from a specific area of the image to control the subsequent switching sequence.

於一實施例中,顯示驅動電路耦接顯示單元,於步驟(d)中,當顯示驅動電路從第一狀態切換至第二狀態並同時傳送圖像至顯示單元時,顯示單元以第二狀態顯示圖像。In one embodiment, the display driving circuit is coupled to the display unit, and in step (d), when the display driving circuit switches from the first state to the second state and transmits an image to the display unit at the same time, the display unit is in the second state Display the image.

於一實施例中,圖像之特定區域係對應於顯示單元之非有效顯示區域。In one embodiment, the specific area of the image corresponds to the non-active display area of the display unit.

於一實施例中,非有效顯示區域係選自槽口(Notch)區域、圓角區域、盲孔區域、屏下指紋識別區域中之至少一者。In one embodiment, the non-effective display area is selected from at least one of a notch area, a rounded corner area, a blind hole area, and an under-screen fingerprint recognition area.

於一實施例中,圖像之特定區域係對應於顯示單元之有效顯示區域。In one embodiment, the specific area of the image corresponds to the effective display area of the display unit.

於一實施例中,有效顯示區域為狀態欄之至少一條數據區域。In one embodiment, the effective display area is at least one data area of the status bar.

於一實施例中,步驟(a)還包括:根據提前定義之區域範圍作為指令集的起始/結束位置,並且指令集之起始區域係採用特定數據格式,其依序包含標頭、第一指令、第二指令、…、循環冗餘校驗。In one embodiment, step (a) further includes: using the area range defined in advance as the start/end position of the instruction set, and the start area of the instruction set adopts a specific data format, which includes the header, the first An instruction, a second instruction, . . . , a cyclic redundancy check.

根據本發明之另一較佳具體實施例為一種用以實現圖像與指令同步的顯示驅動電路。於此實施例中,顯示驅動電路包括定義單元、判斷單元及控制單元。定義單元用以提前定義指令集於圖像中之區域範圍。判斷單元耦接定義單元,用以判斷指令是否致能及其類型。控制單元耦接判斷單元。若判斷單元之判斷結果為是,控制單元識別指令並在顯示驅動電路傳送下一幀畫面之前,執行指令切換顯示驅動電路之狀態並傳送圖像。Another preferred embodiment of the present invention is a display driving circuit for synchronizing images and commands. In this embodiment, the display driving circuit includes a definition unit, a judgment unit and a control unit. The definition unit is used to define in advance the area range of the instruction set in the image. The judging unit is coupled to the defining unit for judging whether the command is enabled and its type. The control unit is coupled to the judging unit. If the judging result of the judging unit is yes, the control unit recognizes the command and executes the command to switch the state of the display driving circuit and transmit the image before the display driving circuit transmits the next frame.

於一實施例中,若判斷單元之判斷結果為否,控制單元維持顯示驅動電路之狀態不變並依正常流程傳送圖像。In one embodiment, if the judging result of the judging unit is negative, the control unit maintains the state of the display driving circuit and transmits images according to a normal process.

於一實施例中,顯示驅動電路耦接系統端,指令為狀態切換指令且係由系統端將指令加密於圖像之特定區域中後同步傳輸至顯示驅動電路。In one embodiment, the display driving circuit is coupled to the system side, and the command is a state switching command, and the system side encrypts the command in a specific area of the image and transmits it to the display driving circuit synchronously.

於一實施例中,當顯示驅動電路接收到圖像時,顯示驅動電路從圖像之特定區域中解碼出指令,以控制後續切換時序。In one embodiment, when the display driving circuit receives an image, the display driving circuit decodes instructions from a specific area of the image to control the subsequent switching sequence.

於一實施例中,顯示驅動電路耦接顯示單元。當顯示驅動電路從第一狀態切換至第二狀態並同時傳送圖像至顯示單元時,顯示單元以第二狀態顯示圖像。In one embodiment, the display driving circuit is coupled to the display unit. When the display driving circuit switches from the first state to the second state and transmits the image to the display unit at the same time, the display unit displays the image in the second state.

於一實施例中,圖像之特定區域係對應於顯示單元之非有效顯示區域。In one embodiment, the specific area of the image corresponds to the non-active display area of the display unit.

於一實施例中,非有效顯示區域係選自槽口(Notch)區域、圓角區域、盲孔區域、屏下指紋識別區域中之至少一者。In one embodiment, the non-effective display area is selected from at least one of a notch area, a rounded corner area, a blind hole area, and an under-screen fingerprint recognition area.

於一實施例中,圖像之特定區域係對應於顯示單元之有效顯示區域。In one embodiment, the specific area of the image corresponds to the effective display area of the display unit.

於一實施例中,有效顯示區域為狀態欄之至少一條數據區域。In one embodiment, the effective display area is at least one data area of the status bar.

於一實施例中,定義單元還根據提前定義之區域範圍作為指令集的起始/結束位置,並且指令集之起始區域係採用特定數據格式,其依序包含標頭、第一指令、第二指令、…、循環冗餘校驗。In one embodiment, the definition unit is also used as the start/end position of the instruction set according to the area range defined in advance, and the start area of the instruction set adopts a specific data format, which sequentially includes the header, the first instruction, the second Two instructions, ..., cyclic redundancy check.

相較於先前技術,本發明提出的顯示驅動電路及圖像與指令同步方法能透過系統端將狀態切換指令加密於圖像數據中之特定區域同步傳輸至顯示驅動電路,再由顯示驅動電路從圖像數據中解碼出狀態切換指令,以確保顯示驅動電路能在同時(同一幀內)收到指令與圖像數據,從而達到刷圖與切換狀態同步響應,避免在顯示驅動電路切換狀態的過程中,由於顯示圖像內容與顯示驅動電路狀態不同步所導致的非預期的顯示效果,故能有效解決先前技術所遭遇到的問題。Compared with the prior art, the display drive circuit and image and command synchronization method proposed by the present invention can encrypt the state switching command in a specific area in the image data and transmit it to the display drive circuit synchronously through the system side, and then the display drive circuit from the The state switching instruction is decoded from the image data to ensure that the display driving circuit can receive the instruction and image data at the same time (in the same frame), so as to achieve a synchronous response between image refresh and switching state, and avoid the process of switching state in the display driving circuit In this method, the unexpected display effect caused by the asynchronous display image content and the state of the display driving circuit can effectively solve the problems encountered in the prior art.

根據本發明之一較佳具體實施例為一種圖像與指令同步方法。於此實施例中,圖像與指令同步方法可應用於具有顯示功能的電子裝置(例如智慧型手機)的顯示驅動電路,且顯示驅動電路可耦接於系統端(例如應用程式作業系統)與顯示單元(例如顯示面板)之間,但不以此為限。A preferred embodiment of the present invention is a method for synchronizing images and instructions. In this embodiment, the image and command synchronization method can be applied to a display driving circuit of an electronic device with a display function (such as a smart phone), and the display driving circuit can be coupled to the system side (such as an application operating system) and Between display units (such as display panels), but not limited thereto.

請參照圖3,圖3繪示此實施例中之圖像與指令同步方法的流程圖。如圖3所示,圖像與指令同步方法可包括下列步驟:Please refer to FIG. 3 . FIG. 3 shows a flow chart of the image and command synchronization method in this embodiment. As shown in Figure 3, the image and command synchronization method may include the following steps:

步驟S10:提前定義指令集於圖像中之區域範圍;Step S10: Defining in advance the area range of the instruction set in the image;

步驟S12:判斷指令是否致能及其類型;Step S12: judging whether the command is enabled and its type;

步驟S14:若步驟S12之判斷結果為是,顯示驅動電路識別指令;Step S14: If the judgment result of step S12 is yes, display the drive circuit identification instruction;

步驟S16:在顯示驅動電路傳送下一幀畫面之前,執行指令切換顯示驅動電路之狀態並傳送圖像;以及Step S16: Before the display drive circuit transmits the next frame, execute an instruction to switch the state of the display drive circuit and transmit an image; and

步驟S18:若步驟S12之判斷結果為否,顯示驅動電路之狀態不變並依正常流程傳送圖像。Step S18: If the judgment result of step S12 is negative, the status of the display driving circuit remains unchanged and the image is transmitted according to the normal process.

於實際應用中,如圖4所示,上述指令可以是使顯示驅動電路IC從狀態A切換至狀態B的狀態切換指令CMD且係由系統端AP將狀態切換指令CMD加密於狀態B的圖像數據DAT之特定區域K中後同步傳輸至顯示驅動電路IC。如圖5所示,當顯示驅動電路IC接收到狀態B的圖像數據DAT時,顯示驅動電路從圖像數據DAT之特定區域K中解碼出狀態切換指令CMD,以控制後續的切換時序。由於顯示驅動電路IC可完全掌控狀態切換指令CMD與圖像數據DAT之響應時序,因此,圖像數據DAT與狀態切換指令CMD能夠同步生效並輸出給顯示單元顯示/呈現,從而達到預期的顯示效果。In practical applications, as shown in FIG. 4, the above command may be a state switching command CMD for switching the display driving circuit IC from state A to state B, and the system side AP encrypts the state switching command CMD in the image of state B. The data DAT is sent to the display driving circuit IC post-synchronously in the specific area K. As shown in FIG. 5 , when the display driving circuit IC receives the image data DAT of state B, the display driving circuit decodes the state switching command CMD from the specific area K of the image data DAT to control the subsequent switching sequence. Since the display drive circuit IC can completely control the response timing of the state switching command CMD and the image data DAT, the image data DAT and the state switching command CMD can be synchronously effective and output to the display unit for display/presentation, so as to achieve the desired display effect .

需說明的是,上述圖像數據DAT之特定區域K可對應於顯示單元(例如顯示面板)之有效顯示區域或非有效顯示區域。It should be noted that the specific area K of the above image data DAT may correspond to an effective display area or a non-effective display area of a display unit (such as a display panel).

如圖6所示,若圖像之特定區域對應於顯示單元的非有效顯示區域,則其可對應於顯示單元的槽口(Notch)區域、圓角區域、盲孔區域、屏下指紋識別區域中之至少一者。如圖7所示,若圖像之特定區域對應於顯示單元的有效顯示區域,則其可對應於顯示單元的狀態欄之至少一條數據區域(第1至N條),其透過設計與狀態欄之色彩/灰階數據相近的指令集,可避免明顯的顯示差異而又能明確讀取/識別到指令。舉例而言,如圖8所示,狀態切換指令CMD可加密於圖像數據中對應於顯示單元的槽口(Notch)區域及圓角區域的特定區域,但不以此為限。As shown in Figure 6, if the specific area of the image corresponds to the non-effective display area of the display unit, it can correspond to the notch area, rounded corner area, blind hole area, and under-screen fingerprint recognition area of the display unit. at least one of them. As shown in FIG. 7, if the specific area of the image corresponds to the effective display area of the display unit, it may correspond to at least one data area (lines 1 to N) of the status bar of the display unit, which is passed through the design and status bar. Instruction sets with similar color/grayscale data can avoid obvious display differences and can clearly read/recognize instructions. For example, as shown in FIG. 8 , the state switching command CMD can be encrypted in a specific area in the image data corresponding to the notch area and the rounded corner area of the display unit, but not limited thereto.

請參照圖9,相較於先前技術容易產生指令與圖像不同步之問題,本發明之系統端AP係將使顯示驅動電路IC從狀態A切換至狀態B的狀態切換指令CMD編碼後加入至狀態B的圖像數據DAT的特定區域K上,並將圖像數據DAT及狀態切換指令CMD同步傳輸至顯示驅動電路IC。當顯示驅動電路IC接收到圖像數據DAT時,顯示驅動電路IC會從圖像數據DAT的特定區域K上解碼出狀態切換指令CMD。由於顯示驅動電路IC能夠完全掌握狀態切換指令CMD與圖像數據DAT的響應時序,故能實現狀態切換指令CMD與狀態切換指令CMD同步生效並輸出給顯示單元(例如顯示面板)顯示/呈現,從而達到預期的顯示效果。Please refer to Fig. 9. Compared with the prior art, the command and image are prone to be out of sync. The system-side AP of the present invention encodes the state switching command CMD for switching the display driving circuit IC from state A to state B, and then adds it to the The specific area K of the image data DAT of the state B, and the image data DAT and the state switching command CMD are synchronously transmitted to the display driving circuit IC. When the display driving circuit IC receives the image data DAT, the display driving circuit IC will decode the state switching command CMD from the specific area K of the image data DAT. Since the display drive circuit IC can fully grasp the response timing of the state switching command CMD and the image data DAT, it can realize the state switching command CMD and the state switching command CMD to take effect synchronously and output to the display unit (such as a display panel) for display/presentation, thereby To achieve the expected display effect.

於實際應用中,步驟S10還包括:根據提前定義之區域範圍作為指令集的起始/結束位置,並且如圖10所示,指令集之起始區域係採用特定數據格式,例如其可依序包含標頭(Header)HDR、第一指令CMD1、第二指令CMD2、…、循環冗餘校驗(Cyclic Redundancy Check)CRC,但不以此為限。In practical applications, step S10 also includes: according to the area range defined in advance as the start/end position of the instruction set, and as shown in Figure 10, the start area of the instruction set adopts a specific data format, for example, it can be sequentially It includes a header (Header) HDR, a first command CMD1, a second command CMD2, . . . , a cyclic redundancy check (Cyclic Redundancy Check) CRC, but not limited thereto.

需說明的是,關於本發明之系統端AP對於狀態切換指令CMD進行加密編碼時之設計要點,可包括但不限於下列幾項:It should be noted that the key design points of the encryption and encoding of the state switching command CMD by the AP at the system side of the present invention may include but not limited to the following items:

(1)若狀態切換指令CMD係加入至非有效顯示區域,則單筆像素的R/G/B數據可以00~FF來表示,但不以此為限;(1) If the state switching command CMD is added to the non-effective display area, the R/G/B data of a single pixel can be represented by 00~FF, but not limited to this;

(2)若狀態切換指令CMD係加入至有效顯示區域(例如狀態欄),則可根據需求自定指令表,例如:若狀態欄偏暗(灰階較低),則單筆像素的R/G/B數據中之灰階值L0~L16可對應0~F指令;若狀態欄偏亮(灰階較高),則單筆像素的R/G/B數據中之灰階值L240~L255可對應0~F指令,但不以此為限;以及(2) If the state switching command CMD is added to the effective display area (such as the status bar), the command list can be customized according to the needs, for example: if the status bar is dark (lower gray scale), the R/ The grayscale values L0~L16 in the G/B data can correspond to 0~F commands; if the status bar is brighter (higher grayscale), the grayscale values in the R/G/B data of a single pixel are L240~L255 Can correspond to 0~F commands, but not limited to this; and

(3)當系統端AP對狀態切換指令CMD進行加密編碼時,還需進一步考量到防止被Vesa傳輸壓縮的風險,因此,系統端AP可例如將單筆像素的R/G/B數據的灰階值L0編碼為二進制的0並將灰階值L255編碼為二進制的1,但不以此為限。(3) When the system-side AP encrypts and encodes the state switching command CMD, further consideration needs to be taken to prevent the risk of being compressed by Vesa transmission. Therefore, the system-side AP can, for example, gray out the R/G/B data of a single pixel The level value L0 is encoded as a binary 0 and the gray level value L255 is encoded as a binary 1, but not limited thereto.

根據本發明之另一較佳具體實施例為一種顯示驅動電路。於此實施例中,顯示驅動電路係用以實現圖像與指令同步。Another preferred embodiment of the present invention is a display driving circuit. In this embodiment, the display driving circuit is used to realize image and command synchronization.

如圖11所示,顯示驅動電路1可耦接於系統端AP與顯示單元(例如顯示面板)PL之間。系統端AP可將指令(例如狀態切換指令)加密於圖像數據之特定區域中並將其同步傳輸至顯示驅動電路1,藉以確保顯示驅動電路1能同時(同一幀內)接收到指令與圖像數據。As shown in FIG. 11 , the display driving circuit 1 can be coupled between the system end AP and the display unit (such as a display panel) PL. The system-side AP can encrypt instructions (such as state switching instructions) in a specific area of image data and transmit them to the display driver circuit 1 synchronously, so as to ensure that the display driver circuit 1 can receive instructions and images at the same time (in the same frame). like data.

顯示驅動電路1可包括定義單元10、判斷單元12及控制單元14。定義單元10用以提前定義指令集於圖像中之區域範圍。判斷單元12耦接定義單元10,用以判斷指令是否致能及其類型。控制單元14耦接判斷單元12。若判斷單元12之判斷結果為是,控制單元14識別指令並在顯示驅動電路1傳送下一幀畫面之前,執行指令切換顯示驅動電路1之狀態並傳送圖像。若判斷單元12之判斷結果為否,控制單元14維持顯示驅動電路1之狀態不變並依正常流程傳送圖像。The display driving circuit 1 may include a definition unit 10 , a judgment unit 12 and a control unit 14 . The defining unit 10 is used to define in advance the area range of the instruction set in the image. The judging unit 12 is coupled to the defining unit 10 for judging whether the command is enabled and its type. The control unit 14 is coupled to the judging unit 12 . If the judging result of the judging unit 12 is yes, the control unit 14 recognizes the command and executes the command to switch the state of the display driving circuit 1 and transmit the image before the display driving circuit 1 transmits the next frame. If the judging result of the judging unit 12 is negative, the control unit 14 keeps the state of the display driving circuit 1 unchanged and transmits images according to a normal process.

於實際應用中,顯示驅動電路1的控制單元14係從圖像數據之特定區域中解碼出狀態切換指令,以控制後續切換時序。由於顯示驅動電路1能夠完全掌握狀態切換指令與圖像數據的響應時序,故能實現狀態切換指令與狀態切換指令同步生效並輸出給顯示單元(例如顯示面板)PL顯示/呈現,從而達到預期的顯示效果。In practical application, the control unit 14 of the display driving circuit 1 decodes the state switching instruction from a specific area of the image data to control the subsequent switching sequence. Since the display drive circuit 1 can fully grasp the response timing of the state switching command and the image data, it can realize that the state switching command and the state switching command take effect synchronously and output to the display unit (such as a display panel) PL for display/presentation, so as to achieve the expected display effect.

需說明的是,狀態切換指令所加入之圖像數據的特定區域可對應於顯示單元PL之非有效顯示區域,例如槽口區域、圓角區域、盲孔區域、屏下指紋識別區域中之至少一者,但不以此為限;此特定區域亦可對應於顯示單元之有效顯示區域,例如狀態欄之至少一條數據區域(第1至N條),其透過設計與狀態欄之色彩/灰階數據相近的指令集,可避免明顯的顯示差異而又能明確讀取/識別到指令,但不以此為限。It should be noted that the specific area of the image data added by the state switching instruction may correspond to the non-effective display area of the display unit PL, such as at least one of the notch area, rounded corner area, blind hole area, and under-screen fingerprint recognition area. One, but not limited thereto; this specific area can also correspond to the effective display area of the display unit, such as at least one data area (1 to N) of the status bar, which can be displayed through the design and the color/gray of the status bar Instruction sets with similar order data can avoid obvious display differences and can clearly read/recognize instructions, but not limited thereto.

相較於先前技術,本發明提出的顯示驅動電路及圖像與指令同步方法能透過系統端將狀態切換指令加密於圖像數據中之特定區域同步傳輸至顯示驅動電路,再由顯示驅動電路從圖像數據中解碼出狀態切換指令,以確保顯示驅動電路能在同時(同一幀內)收到指令與圖像數據,從而達到刷圖與切換狀態同步響應,避免在顯示驅動電路切換狀態的過程中,由於顯示圖像內容與顯示驅動電路狀態不同步所導致的非預期的顯示效果,故能有效解決先前技術所遭遇到的問題。Compared with the prior art, the display drive circuit and image and command synchronization method proposed by the present invention can encrypt the state switching command in a specific area in the image data and transmit it to the display drive circuit synchronously through the system side, and then the display drive circuit from the The state switching instruction is decoded from the image data to ensure that the display driving circuit can receive the instruction and image data at the same time (in the same frame), so as to achieve a synchronous response between image refresh and switching state, and avoid the process of switching state in the display driving circuit In this method, the unexpected display effect caused by the asynchronous display image content and the state of the display driving circuit can effectively solve the problems encountered in the prior art.

S10~S18:步驟S10~S18: steps

AP:系統端AP: system side

CMD:狀態切換指令CMD: state switching command

DAT:圖像數據DAT: image data

RAM:記憶體RAM: memory

IC:顯示驅動電路IC: display driver circuit

K:特定區域K: specific area

HDR:標頭HDR: header

CMD1:第一指令CMD1: the first command

CMD2:第二指令CMD2: the second command

CRC:循環冗餘校驗CRC: Cyclic Redundancy Check

1:顯示驅動電路1: Display drive circuit

10:定義單元10: Define the unit

12:判斷單元12: Judgment unit

14:控制單元14: Control unit

圖1繪示先前技術中由於圖像快於指令而無法同步生效的示意圖。FIG. 1 is a schematic diagram of the prior art that cannot take effect synchronously because images are faster than commands.

圖2繪示先前技術中由於指令快於圖像而無法同步生效的示意圖。FIG. 2 is a schematic diagram of the prior art that cannot take effect synchronously because commands are faster than images.

圖3繪示本發明之一具體實施例中之圖像與指令同步方法的流程圖。FIG. 3 is a flowchart of a method for synchronizing images and commands in an embodiment of the present invention.

圖4繪示由系統端將狀態切換指令加密於圖像數據之特定區的示意圖。FIG. 4 is a schematic diagram of encrypting a state switch command in a specific area of image data by the system side.

圖5繪示顯示驅動電路從圖像數據之特定區域中解碼出狀態切換指令的示意圖。FIG. 5 is a schematic diagram showing a state switching command decoded by a display driving circuit from a specific area of image data.

圖6繪示圖像數據之特定區域對應於顯示單元的非有效顯示區域的示意圖。FIG. 6 is a schematic diagram illustrating that a specific area of image data corresponds to an inactive display area of a display unit.

圖7繪示圖像數據之特定區域對應於顯示單元的有效顯示區域的示意圖。FIG. 7 is a schematic diagram illustrating that a specific area of image data corresponds to an effective display area of a display unit.

圖8繪示狀態切換指令係加密於圖像數據中的特定區域且其對應於顯示單元的槽口及圓角區域的示意圖。FIG. 8 is a schematic diagram illustrating that the state switching command is encrypted in a specific area in the image data and it corresponds to the notch and the rounded area of the display unit.

圖9繪示本發明實現圖像數據與狀態切換指令同步生效之示意圖。FIG. 9 is a schematic diagram of synchronously validating image data and state switching commands in the present invention.

圖10繪示指令集之起始區域採用特定數據格式之示意圖。FIG. 10 shows a schematic diagram of a specific data format used in the initial area of the instruction set.

圖11繪示本發明之另一具體實施例中之顯示驅動電路的功能方塊圖。FIG. 11 is a functional block diagram of a display driving circuit in another embodiment of the present invention.

S10~S18:步驟 S10~S18: steps

Claims (20)

一種圖像與指令同步方法,應用於顯示驅動電路,包括下列步驟:(a)提前定義指令集於該圖像中之區域範圍;(b)判斷該指令是否致能(Enable)及其類型;(c)若步驟(b)之判斷結果為是,該顯示驅動電路識別該指令;以及(d)在該顯示驅動電路傳送下一幀畫面之前,執行該指令切換該顯示驅動電路之狀態並傳送該圖像。 A method for synchronizing an image and an instruction, applied to a display drive circuit, comprising the following steps: (a) defining in advance the range of the instruction set in the image; (b) judging whether the instruction is enabled (Enable) and its type; (c) If the judgment result of step (b) is yes, the display driving circuit recognizes the instruction; and (d) before the display driving circuit transmits the next frame, execute the instruction to switch the state of the display driving circuit and transmit the image. 如請求項1所述的圖像與指令同步方法,其中若步驟(b)之判斷結果為否,該顯示驅動電路之狀態不變並依正常流程傳送該圖像。 The image and command synchronization method as described in Claim 1, wherein if the judgment result of step (b) is negative, the state of the display driving circuit remains unchanged and the image is transmitted according to a normal process. 如請求項1所述的圖像與指令同步方法,其中該指令為狀態切換指令且係由系統端將該指令加密於該圖像之特定區域中後同步傳輸至該顯示驅動電路。 The image and command synchronization method as described in Claim 1, wherein the command is a state switching command, and the system encrypts the command in a specific area of the image and transmits it synchronously to the display driving circuit. 如請求項3所述的圖像與指令同步方法,其中當該顯示驅動電路接收到該圖像時,該顯示驅動電路從該圖像之該特定區域中解碼出該指令,以控制後續切換時序。 The image and command synchronization method as described in claim 3, wherein when the display drive circuit receives the image, the display drive circuit decodes the command from the specific area of the image to control the subsequent switching sequence . 如請求項1所述的圖像與指令同步方法,其中該顯示驅動電路耦接顯示單元,於步驟(d)中,當該顯示驅動電路從第一狀態切換至第二狀態並同時傳送該圖像至該顯示單元時,該顯示單元以該第二狀態顯示該圖像。 The image and command synchronization method as described in Claim 1, wherein the display driving circuit is coupled to the display unit, and in step (d), when the display driving circuit switches from the first state to the second state and simultaneously transmits the image When the image is sent to the display unit, the display unit displays the image in the second state. 如請求項3所述的圖像與指令同步方法,其中該圖像 之該特定區域係對應於顯示單元之非有效顯示區域。 The image and instruction synchronization method as described in claim 3, wherein the image The specific area corresponds to the non-active display area of the display unit. 如請求項6所述的圖像與指令同步方法,其中該非有效顯示區域係選自槽口(Notch)區域、圓角區域、盲孔區域、屏下指紋識別區域中之至少一者。 The image and command synchronization method according to claim 6, wherein the non-effective display area is selected from at least one of a notch area, a rounded corner area, a blind hole area, and an under-screen fingerprint recognition area. 如請求項3所述的圖像與指令同步方法,其中該圖像之該特定區域係對應於顯示單元之有效顯示區域。 The image and command synchronization method as claimed in claim 3, wherein the specific area of the image corresponds to an effective display area of a display unit. 如請求項8所述的圖像與指令同步方法,其中該有效顯示區域為狀態欄之至少一條數據區域。 The method for synchronizing images and instructions according to Claim 8, wherein the effective display area is at least one data area of the status bar. 如請求項1所述的圖像與指令同步方法,其中步驟(a)還包括:根據提前定義之該區域範圍作為該指令集的起始/結束位置,並且該指令集之起始區域係採用特定數據格式,其依序包含標頭(Header)、第一指令、第二指令、…、循環冗餘校驗(CRC)。 The method for synchronizing images and instructions as described in claim 1, wherein step (a) further includes: using the area range defined in advance as the start/end position of the instruction set, and the start area of the instruction set uses A specific data format, which sequentially includes a header (Header), a first instruction, a second instruction, . . . , a cyclic redundancy check (CRC). 一種顯示驅動電路,用以實現圖像與指令同步,該顯示驅動電路包括:定義單元,用以提前定義指令集於該圖像中之區域範圍;判斷單元,耦接該定義單元,用以判斷該指令是否致能(Enable)及其類型;以及控制單元,耦接該判斷單元,若該判斷單元之判斷結果為是,該控制單元識別該指令並在該顯示驅動電路傳送下一幀畫面之前,執行該指令切換該顯示驅動電路之狀態並傳送該圖像。 A display drive circuit, used to realize the synchronization of images and instructions, the display drive circuit includes: a definition unit, used to define in advance the area range of the instruction set in the image; a judgment unit, coupled to the definition unit, for judging Whether the command is enabled (Enable) and its type; and the control unit is coupled to the judging unit, if the judging result of the judging unit is yes, the control unit recognizes the command and transmits the next frame before the display drive circuit , execute the instruction to switch the state of the display driving circuit and transmit the image. 如請求項11所述的顯示驅動電路,其中若該判斷 單元之判斷結果為否,該控制單元維持該顯示驅動電路之狀態不變並依正常流程傳送該圖像。 The display driving circuit as described in claim 11, wherein if the judgment If the judgment result of the unit is negative, the control unit maintains the state of the display driving circuit and transmits the image according to the normal process. 如請求項11所述的顯示驅動電路,其中該顯示驅動電路耦接系統端,該指令為狀態切換指令且係由該系統端將該指令加密於該圖像之特定區域中後同步傳輸至該顯示驅動電路。 The display driving circuit as described in claim 11, wherein the display driving circuit is coupled to the system end, the command is a state switching command and the system side encrypts the command in a specific area of the image and transmits it synchronously to the Display drive circuit. 如請求項13所述的顯示驅動電路,其中當該顯示驅動電路接收到該圖像時,該顯示驅動電路從該圖像之該特定區域中解碼出該指令,以控制後續切換時序。 The display driving circuit according to claim 13, wherein when the display driving circuit receives the image, the display driving circuit decodes the command from the specific area of the image to control subsequent switching timing. 如請求項11所述的顯示驅動電路,其中該顯示驅動電路耦接顯示單元,當該顯示驅動電路從第一狀態切換至第二狀態並同時傳送該圖像至該顯示單元時,該顯示單元以該第二狀態顯示該圖像。 The display driving circuit as described in claim 11, wherein the display driving circuit is coupled to a display unit, and when the display driving circuit switches from the first state to the second state and simultaneously transmits the image to the display unit, the display unit The image is displayed in the second state. 如請求項13所述的顯示驅動電路,其中該圖像之該特定區域係對應於顯示單元之非有效顯示區域。 The display driving circuit according to claim 13, wherein the specific area of the image corresponds to an inactive display area of a display unit. 如請求項16所述的顯示驅動電路,其中該非有效顯示區域係選自槽口(Notch)區域、圓角區域、盲孔區域、屏下指紋識別區域中之至少一者。 The display driving circuit according to claim 16, wherein the non-effective display area is selected from at least one of a notch area, a rounded corner area, a blind hole area, and an under-display fingerprint recognition area. 如請求項13所述的顯示驅動電路,其中該圖像之該特定區域係對應於顯示單元之有效顯示區域。 The display driving circuit according to claim 13, wherein the specific area of the image corresponds to an effective display area of a display unit. 如請求項18所述的顯示驅動電路,其中該有效顯示區域為狀態欄之至少一條數據區域。 The display driving circuit according to claim 18, wherein the effective display area is at least one data area of the status bar. 如請求項11所述的顯示驅動電路,其中該定義單 元還根據提前定義之該區域範圍作為該指令集的起始/結束位置,並且該指令集之起始區域係採用特定數據格式,其依序包含標頭(Header)、第一指令、第二指令、…、循環冗餘校驗(CRC)。The display driving circuit as described in claim 11, wherein the definition list The element is also used as the start/end position of the instruction set according to the area range defined in advance, and the start area of the instruction set adopts a specific data format, which includes the header (Header), the first instruction, the second Instructions, ..., Cyclic Redundancy Check (CRC).
TW110133286A 2021-09-07 2021-09-07 Display driving circuit and image and command synchronization method TWI794958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110133286A TWI794958B (en) 2021-09-07 2021-09-07 Display driving circuit and image and command synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110133286A TWI794958B (en) 2021-09-07 2021-09-07 Display driving circuit and image and command synchronization method

Publications (2)

Publication Number Publication Date
TWI794958B true TWI794958B (en) 2023-03-01
TW202312136A TW202312136A (en) 2023-03-16

Family

ID=86690606

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110133286A TWI794958B (en) 2021-09-07 2021-09-07 Display driving circuit and image and command synchronization method

Country Status (1)

Country Link
TW (1) TWI794958B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150317948A1 (en) * 2013-01-30 2015-11-05 Denso Corporation Onboard display system
TW202022824A (en) * 2018-11-30 2020-06-16 大陸商北京集創北方科技股份有限公司 Low-power-consumption display control method, display control device and information processing device capable of controlling the display of a static picture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150317948A1 (en) * 2013-01-30 2015-11-05 Denso Corporation Onboard display system
TW202022824A (en) * 2018-11-30 2020-06-16 大陸商北京集創北方科技股份有限公司 Low-power-consumption display control method, display control device and information processing device capable of controlling the display of a static picture

Also Published As

Publication number Publication date
TW202312136A (en) 2023-03-16

Similar Documents

Publication Publication Date Title
CN107493448B (en) Image processing system, image display method and display device
JP6085739B1 (en) Low power consumption display device
WO2017012310A1 (en) Method and system for reducing power consumption of mobile terminal
US9704215B2 (en) Display device and method for controlling panel self refresh operation thereof
US11620956B2 (en) Multi-region backlight control system and method, television, and readable storage medium
EP3906700B1 (en) Electronic apparatus and controlling method thereof
WO2016093125A1 (en) Display control device, display control method, and display control program
US20030076332A1 (en) Apparatus and method for eliminating afterimage state
TWI749756B (en) Method and apparatus for generating a series of frames with aid of synthesizer
US11482185B2 (en) Method for driving display device, and display device
TWI794958B (en) Display driving circuit and image and command synchronization method
US9544474B1 (en) Video frame transmitting system and video frame transmitting method
EP3726357A1 (en) Electronic apparatus and controlling method thereof
CN116635929A (en) Performing asynchronous memory clock changes on a multi-display system
CN216287522U (en) Display driving circuit for image and instruction synchronization
US10939083B2 (en) Electronic apparatus and control method thereof
US20170345356A1 (en) Display Driving Apparatus And Operating Method Thereof
CN115775512A (en) Display driving circuit and image and instruction synchronization method
WO2017113560A1 (en) Display control circuit and display apparatus
KR20210032857A (en) Display apparatus and control method thereof
CN102577399A (en) System and method for controlling shutter glasses
US9858851B2 (en) Display device and operation method thereof
US20020154889A1 (en) Video pre-processing/post-processing method for processing video efficiently and pre-processing/post-processing apparatus using the same
US10949704B2 (en) Electronic apparatus and control method thereof
JP2002330439A (en) Transmitter for image information, transmission system for the image information and transmission method for the image information