TWI774266B - Verification method of display parameter calibration program and display system with verification parameter calibration program - Google Patents

Verification method of display parameter calibration program and display system with verification parameter calibration program Download PDF

Info

Publication number
TWI774266B
TWI774266B TW110108867A TW110108867A TWI774266B TW I774266 B TWI774266 B TW I774266B TW 110108867 A TW110108867 A TW 110108867A TW 110108867 A TW110108867 A TW 110108867A TW I774266 B TWI774266 B TW I774266B
Authority
TW
Taiwan
Prior art keywords
verification
display
parameter calibration
value
data
Prior art date
Application number
TW110108867A
Other languages
Chinese (zh)
Other versions
TW202236133A (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 TW110108867A priority Critical patent/TWI774266B/en
Application granted granted Critical
Publication of TWI774266B publication Critical patent/TWI774266B/en
Publication of TW202236133A publication Critical patent/TW202236133A/en

Links

Images

Abstract

本發明揭露一種顯示器參數校正程式之驗證方法及具有驗證參數校正程式之顯示系統,顯示器參數校正程式之驗證方法包含下列步驟:啟動參數校正驗證程序;由參數校正驗證程序傳送驗證通知指令至顯示器;由顯示器回覆驗證通知指令,並產生待驗證資料至參數校正驗證程序;由參數校正驗證程序計算待驗證資料,並回傳計算驗證資料至顯示器;由顯示器確認該計算驗證資料之正確性,並於該計算驗證資料正確時開啟顯示器參數校正程式的控制權,以便於使用者可保護、避免顯示器的校正參數值遭到任意的變更及調整。The invention discloses a verification method of a display parameter calibration program and a display system having the verification parameter calibration program. The verification method of the display parameter calibration program comprises the following steps: starting the parameter calibration verification program; sending a verification notification command to the display from the parameter calibration verification program; The display responds to the verification notification command, and generates the data to be verified to the parameter calibration verification program; the parameter calibration verification program calculates the to-be-verified data, and returns the calculated verification data to the display; the display confirms the correctness of the calculation and verification data, and in When the calculation and verification data are correct, the control right of the display parameter calibration program is enabled, so that the user can protect and avoid the calibration parameter value of the display from being arbitrarily changed and adjusted.

Description

顯示器參數校正程式之驗證方法及具有驗證參數校正程式之顯示系統Verification method of display parameter calibration program and display system with verification parameter calibration program

本發明係有關於一種參數校正程式之驗證方法及顯示系統,特別是有關於一種顯示器參數校正程式之驗證方法及具有驗證參數校正程式之顯示系統。The present invention relates to a verification method and display system of a parameter calibration program, and more particularly, to a verification method of a display parameter calibration program and a display system having the verification parameter calibration program.

電腦螢幕係為目前使用者常用的電子產品之一,而每個電腦螢幕個別具有校正參數的功能,以便於使用者可針對個人習慣及嗜好調整。A computer screen is one of the electronic products commonly used by users at present, and each computer screen individually has a function of calibrating parameters, so that the user can adjust it according to personal habits and preferences.

然而,由於電腦螢幕並沒有如軟體具有加密保護的機制,一旦電腦螢幕的校正參數在調整設定至符合個人使用習慣的參數後,若遭到其它使用者的調整及變動後,將難以恢復調整到原先設定的校正參數值。However, since the computer screen does not have an encryption protection mechanism like the software, once the calibration parameters of the computer screen are adjusted and set to the parameters that conform to personal usage habits, if they are adjusted and changed by other users, it will be difficult to restore them. The previously set calibration parameter value.

據此,如何提供一種具有顯示器參數校正程式之驗證方法已成為目前急需研究的課題。Accordingly, how to provide a verification method with a display parameter calibration program has become an urgent research topic.

鑑於上述問題,本發明揭露一種顯示器參數校正程式之驗證方法,包含下列步驟:啟動參數校正驗證程序;由參數校正驗證程序傳送驗證通知指令至顯示器;由顯示器回覆驗證通知指令,並產生待驗證資料至參數校正驗證程序;由參數校正驗證程序計算待驗證資料,並回傳計算驗證資料至顯示器;由顯示器確認該計算驗證資料之正確性,並於該計算驗證資料正確時開啟顯示器參數校正程式的控制權,亦即開放顯示器之參數校正值控制權;若該計算驗證資料不正確時則不開放顯示器參數校正程式的控制權。亦即在沒有取得顯示器參數校正程式控制權的情況下,使用者僅能讀取顯示器的校正參數並根據原先設定的顯示器參數正常操作顯示器功能,其它試圖變更、修改顯示器參數的通訊指令將不被顯示器所接受。In view of the above problems, the present invention discloses a verification method for a display parameter calibration program, comprising the following steps: starting a parameter calibration verification program; sending a verification notification command from the parameter calibration verification program to the display; replying the verification notification command by the display, and generating the data to be verified to the parameter calibration verification program; the parameter calibration verification program calculates the data to be verified, and returns the calculation verification data to the display; the display confirms the correctness of the calculation verification data, and starts the display parameter calibration program when the calculation verification data is correct Control right, that is, to open the control right of the parameter calibration value of the display; if the calculation verification data is incorrect, the control right of the display parameter calibration program will not be released. That is to say, without obtaining the control right of the display parameter calibration program, the user can only read the calibration parameters of the display and operate the display function normally according to the originally set display parameters, and other communication commands that attempt to change or modify the display parameters will not be used. Display accepted.

本發明揭露一種具有驗證參數校正程式之顯示系統,包含一主機及一顯示器。顯示器包含參數校正程式,主機包含上述之參數校正驗證程序,透過連接線連接顯示器,並藉由顯示器參數校正程式之驗證方法取得所連接顯示器的校正參數值控制權。The invention discloses a display system with a verification parameter calibration program, comprising a host and a display. The display includes a parameter calibration program, and the host includes the above-mentioned parameter calibration verification program, which is connected to the display through a connecting cable, and obtains the control right of the calibration parameter value of the connected display through the verification method of the display parameter calibration program.

承上所述,本發明藉由綁定顯示器與參數校正驗證程序,在未通過參數校正驗證程序時僅可讓顯示器顯示畫面而無法變更其校正參數值,並在通過參數校正驗證程序時方可取得顯示器校正參數值的控制權,以便於使用者可保護、避免顯示器的校正參數值遭到任意的變更及調整。Continuing from the above, in the present invention, by binding the display and the parameter calibration verification procedure, only the display screen can be displayed without changing the calibration parameter value when the parameter calibration verification procedure is not passed. Obtain the control right of the display calibration parameter value, so that the user can protect and avoid the display calibration parameter value from being arbitrarily changed and adjusted.

本發明揭露一種顯示器參數校正程式之驗證方法,包含下列步驟:於步驟S1中,由主機啟動參數校正驗證程序。於步驟S2中,由參數校正驗證程序傳送驗證通知指令至顯示器。於步驟S3中,由顯示器回覆驗證通知指令,並產生待驗證資料至參數校正驗證程序。於步驟S4中,由參數校正驗證程序計算待驗證資料,並回傳計算驗證資料至顯示器。於步驟S5中,由顯示器確認計算驗證資料之正確性。並於步驟S51中,當計算驗證資料正確時,開啟顯示器參數校正程式的控制權,亦即開放顯示器之參數校正值控制權。於步驟S52中,若該計算驗證資料不正確時,則不開放顯示器參數校正程式的控制權。亦即在沒有取得顯示器參數校正程式控制權的情況下,使用者僅能讀取顯示器的校正參數並根據原先設定的顯示器參數正常操作顯示器功能,其它試圖變更、修改顯示器參數的通訊指令將不被顯示器所接受。The present invention discloses a verification method for a display parameter calibration program, comprising the following steps: in step S1, the host computer starts the parameter calibration verification program. In step S2, a verification notification command is sent to the display by the parameter calibration verification program. In step S3, the display responds to the verification notification command, and generates the data to be verified to the parameter calibration verification program. In step S4, the data to be verified is calculated by the parameter calibration verification program, and the calculated verification data is returned to the display. In step S5, the display confirms the correctness of the calculation verification data. And in step S51, when the calculation verification data is correct, the control right of the display parameter calibration program is enabled, that is, the control right of the parameter calibration value of the display device is enabled. In step S52, if the calculation verification data is incorrect, the control right of the display parameter calibration program is not released. That is to say, without obtaining the control right of the display parameter calibration program, the user can only read the calibration parameters of the display and operate the display function normally according to the originally set display parameters, and other communication commands that attempt to change or modify the display parameters will not be used. Display accepted.

於步驟S2中,驗證通知指令包含一第一驗證資料長度LEN1、一第一顯示器編號ID1、一第一控制指令代碼CMD1、一第一項目指令代碼ITEM1以及一第一指令確認碼CKS1。第一指令確認碼CKS1係為轉換及加總第一驗證資料長度LEN1、第一顯示器編號ID1、第一控制指令代碼CMD1以及第一項目指令代碼ITEM1後的總和。第一指令確認碼CKS1係轉換第一驗證資料長度LEN1、第一顯示器編號ID1、第一控制指令代碼CMD1以及第一項目指令代碼ITEM1為二進制數值。第一指令確認碼CKS1係為總和之最低8位元值的2補數值(2's complement)。In step S2, the verification notification command includes a first verification data length LEN1, a first display number ID1, a first control command code CMD1, a first item command code ITEM1 and a first command confirmation code CKS1. The first command confirmation code CKS1 is the sum of the first verification data length LEN1, the first display number ID1, the first control command code CMD1 and the first item command code ITEM1 after converting and summing up. The first command confirmation code CKS1 converts the first verification data length LEN1, the first display number ID1, the first control command code CMD1 and the first item command code ITEM1 into binary values. The first instruction confirmation code CKS1 is the 2's complement of the lowest 8-bit value of the sum.

舉例而言,第一驗證資料長度LEN1為位元(Byte)0至位元4,共5筆資料,因此轉換後的數值為十進制的5,二進制為0000 0101。第一顯示器編號ID1為二進制0000 1010的數值。第一控制指令代碼CMD1在十六進制的數值為AA,轉換為二進制數值為1010 1010。第一項目指令代碼ITEM1在十六進制的數值為AC,轉換為二進制數值為1010 1100。將上述各項數值加總後的結果為:0000 0101(第一驗證資料長度LEN1)+0000 1010(第一顯示器編號ID1)+1010 1010(第一控制指令代碼CMD1)+1010 1100(第一項目指令代碼ITEM1)=0001 0110 0101,取最低的八個位元值為0110 0101,並計算2補數值可得到第一指令確認碼CKS1的數值為1001 1011。因此,驗證通知指令所包含的各筆資料數值分別為0000 0101(第一驗證資料長度LEN1)、0000 1010(第一顯示器編號ID1)、1010 1010(第一控制指令代碼CMD1)、1010 1100(第一項目指令代碼ITEM1)、1001 1011(第一指令確認碼CKS1)。以十六進制表示驗證通知指令的數值為0x05 0x0A 0xAA 0xAC 0x9B。For example, the length LEN1 of the first verification data is Byte 0 to Byte 4, and there are 5 pieces of data in total, so the converted value is 5 in decimal and 0000 0101 in binary. The first display number ID1 is a binary value of 0000 1010. The value of the first control instruction code CMD1 in hexadecimal is AA, and the conversion into binary value is 1010 1010. The value of the first item instruction code ITEM1 in hexadecimal is AC, and the conversion to binary value is 1010 1100. The result of adding up the above values is: 0000 0101 (the first verification data length LEN1) + 0000 1010 (the first display number ID1) + 1010 1010 (the first control command code CMD1) + 1010 1100 (the first item Instruction code ITEM1)=0001 0110 0101, take the lowest eight bits as 0110 0101, and calculate the 2's complement value to obtain the value of the first instruction confirmation code CKS1 as 1001 1011. Therefore, the data values included in the verification notification command are 0000 0101 (the first verification data length LEN1), 0000 1010 (the first display number ID1), 1010 1010 (the first control command code CMD1), 1010 1100 (the first One item command code ITEM1), 1001 1011 (first command confirmation code CKS1). The value of the verification notification command in hexadecimal is 0x05 0x0A 0xAA 0xAC 0x9B.

於步驟S3中,待驗證資料包含一第二驗證資料長度LEN2、一第二顯示器編號ID2、一第二項目指令代碼ITEM2、至少一資料值以及一第二指令確認碼CKS2。至少一資料值係由亂數產生。第二指令確認碼CKS2係為轉換及加總第二驗證資料長度LEN2、第二顯示器編號ID2、第二項目指令代碼ITEM2以及至少一資料值後的總和。第二指令確認碼CKS2係轉換第二驗證資料長度LEN2、第二顯示器編號ID2、第二項目指令代碼ITEM2以及至少一資料值為二進制數值。第二指令確認碼CKS2係為該總和之最低8位元值的2補數值。於本發明的一實施例中,至少一資料值包含第一驗證資料值Data 0、第二驗證資料值Data 1、第三驗證資料值Data 2及第四驗證資料值Data 3。In step S3, the data to be verified includes a second verification data length LEN2, a second display number ID2, a second item command code ITEM2, at least one data value and a second command confirmation code CKS2. At least one data value is generated from random numbers. The second command confirmation code CKS2 is the sum after converting and adding the second verification data length LEN2, the second display number ID2, the second item command code ITEM2 and at least one data value. The second command confirmation code CKS2 converts the second verification data length LEN2, the second display number ID2, the second item command code ITEM2 and at least one data value to a binary value. The second instruction confirmation code CKS2 is the 2's complement value of the lowest 8-bit value of the sum. In an embodiment of the present invention, the at least one data value includes a first verification data value Data 0, a second verification data value Data 1, a third verification data value Data 2, and a fourth verification data value Data 3.

舉例而言,第二驗證資料長度LEN2為位元0至位元7,共8筆資料,因此轉換後的數值為十進制的8,二進制為0000 1000。第二顯示器編號ID2為二進制0000 1010的數值。第二項目指令代碼ITEM2在十六進制的數值為AC,轉換為二進制數值為1010 1100。第一驗證資料值Data 0的二進制數值為0000 0011,第二驗證資料值Data 1的二進制數值為0111 1010,第三驗證資料值Data 2的二進制數值為1010 0101,第四驗證資料值Data 3的二進制數值為1110 1111。將上述各項數值加總後的結果為:0000 1000(第二驗證資料長度LEN2)+0000 1010(第二顯示器編號ID2)+1010 1100(第二項目指令代碼ITEM2)+0000 0011(第一驗證資料值Data 0)+ 0111 1010(第二驗證資料值Data 1)+1010 0101(第三驗證資料值Data 2)+1110 1111(第四驗證資料值Data 3)= 0020 1100 1111,取最低的八個位元值為1100 1111,並計算2補數值可得到第二指令確認碼CKS2的數值為0011 0001。因此,待驗證資料所包含的各筆資料數值分別為0000 1000 (第二驗證資料長度LEN2)、0000 1010 (第二顯示器編號ID2)、1010 1100 (第二項目指令代碼ITEM2)、0000 0011(第一驗證資料值Data 0)+ 0111 1010(第二驗證資料值Data 1)+1010 0101(第三驗證資料值Data 2)+1110 1111(第四驗證資料值Data 3)、0011 0001(第二指令確認碼CKS2)。以十六進制表示待驗證資料的數值為0x08 0x0A 0xAC 0x03 0x7A 0xA5 0xEF 0x31。For example, the second verification data length LEN2 is from bit 0 to bit 7, and there are 8 pieces of data in total, so the converted value is 8 in decimal and 0000 1000 in binary. The second display number ID2 is a binary value of 0000 1010. The hexadecimal value of the second item instruction code ITEM2 is AC, and the binary value is 1010 1100. The binary value of the first verification data value Data 0 is 0000 0011, the binary value of the second verification data value Data 1 is 0111 1010, the binary value of the third verification data value Data 2 is 1010 0101, and the fourth verification data value Data 3 is The binary value is 1110 1111. The result of adding up the above values is: 0000 1000 (the second verification data length LEN2) + 0000 1010 (the second display number ID2) + 1010 1100 (the second item command code ITEM2) + 0000 0011 (the first verification Data value Data 0)+ 0111 1010 (second verification data value Data 1)+1010 0101 (third verification data value Data 2)+1110 1111 (fourth verification data value Data 3)= 0020 1100 1111, take the lowest eight The one-digit value is 1100 1111, and by calculating the 2's complement value, the value of the second instruction confirmation code CKS2 can be obtained as 0011 0001. Therefore, the data values included in the data to be verified are 0000 1000 (the second verification data length LEN2), 0000 1010 (the second display number ID2), 1010 1100 (the second item command code ITEM2), 0000 0011 (the second display number ID2), A verification data value Data 0) + 0111 1010 (second verification data value Data 1) + 1010 0101 (third verification data value Data 2) + 1110 1111 (fourth verification data value Data 3), 0011 0001 (second command Confirmation code CKS2). The value of the data to be verified in hexadecimal is 0x08 0x0A 0xAC 0x03 0x7A 0xA5 0xEF 0x31.

於步驟S4中,計算驗證資料包含第三驗證資料長度LEN3、第三顯示器編號ID3、第三控制指令代碼CMD3、第三項目指令代碼ITEM3、第一計算資料值PW0、第二計算資料值PW1以及第三指令確認碼CKS3。第一計算資料值PW0藉由計算第一驗證資料值Data 0及第二驗證資料值Data 1之互斥或值產生,亦即計算PW 0 =Data 0 XOR Data 1。第二計算資料值PW1藉由相加第三驗證資料值Data 2及第四驗證資料值Data 3的乘積與第一計算資料值PW 0,並與一調整值0xFF相乘之邏輯運算產生,亦即計算PW 1=[PW 0 + (Data 2 *Data 3)] & 0xFF。In step S4, the calculation verification data includes the third verification data length LEN3, the third display number ID3, the third control command code CMD3, the third item command code ITEM3, the first calculation data value PW0, the second calculation data value PW1 and The third instruction confirmation code CKS3. The first calculated data value PW0 is generated by calculating the mutually exclusive OR of the first verification data value Data 0 and the second verification data value Data 1 , that is, calculating PW 0 =Data 0 XOR Data 1 . The second calculated data value PW1 is generated by adding the product of the third verification data value Data 2 and the fourth verification data value Data 3 and the first calculated data value PW 0, and multiplied by an adjustment value 0xFF. That is to calculate PW 1=[PW 0 + (Data 2 *Data 3)] & 0xFF.

舉例而言,第三驗證資料長度LEN3為位元0至位元6,共7筆資料,因此轉換後的數值為十進制的7,二進制為0000 0111。第三顯示器編號ID3為二進制0000 1010的數值。第三控制指令代碼CMD3在十六進制的數值為AA,轉換為二進制數值為1010 1010。第三項目指令代碼ITEM3在十六進制的數值為CA,轉換為二進制數值為1100 1010。第一驗證資料值Data 0的二進制數值為0000 0011,第二驗證資料值Data 1的二進制數值為0111 1010,第三驗證資料值Data 2的二進制數值為1010 0101,第四驗證資料值Data 3的二進制數值為1110 1111。第一計算資料值PW 0=0000 0011(第一驗證資料值Data 0) XOR 0111 1010 (第二驗證資料值Data 1) =0111 1001。第二計算資料值PW 1=[0111 1001 (PW 0)+(1010 0101(Data 2) * 1110 1111(Data 3))] & 1111 1111(調整值0xFF的二進制數值) =[0111 1001+(1001 1010 0000 1011)] & 1111 1111=[1001 1010 1000 0100] & 1111 1111=1000 0100。For example, the length LEN3 of the third verification data is from bit 0 to bit 6, and there are 7 pieces of data in total, so the converted value is 7 in decimal and 0000 0111 in binary. The third display number ID3 is a binary value of 0000 1010. The value of the third control instruction code CMD3 in hexadecimal is AA, and the conversion into binary value is 1010 1010. The hexadecimal value of the third item instruction code ITEM3 is CA, and the binary value is 1100 1010. The binary value of the first verification data value Data 0 is 0000 0011, the binary value of the second verification data value Data 1 is 0111 1010, the binary value of the third verification data value Data 2 is 1010 0101, and the fourth verification data value Data 3 is The binary value is 1110 1111. The first calculation data value PW 0=0000 0011 (the first verification data value Data 0) XOR 0111 1010 (the second verification data value Data 1) =0111 1001. The second calculation data value PW 1=[0111 1001 (PW 0)+(1010 0101(Data 2) * 1110 1111(Data 3))] & 1111 1111 (binary value of adjustment value 0xFF) =[0111 1001+(1001 1010 0000 1011)] & 1111 1111=[1001 1010 1000 0100] & 1111 1111=1000 0100.

將上述計算驗證資料各項數值加總後的計算結果為:0000 0111(第三驗證資料長度LEN3)+0000 1010(第三顯示器編號ID3)+1010 1010(第三控制指令代碼CMD3)+1100 1010(第三項目指令代碼ITEM3)+0111 1001(第一計算資料值PW 0)+ 1000 0100(第二計算資料值PW 1)= 0010 1000 0010,取最低的八個位元值為1000 0010,並計算2補數值可得到第三指令確認碼CKS3的數值為0111 1110。因此,計算驗證資料所包含的各筆資料數值分別為0000 0111 (第三驗證資料長度LEN3)、0000 1010 (第三顯示器編號ID3)、1010 1010(第三控制指令代碼CMD3)、1100 1010 (第三項目指令代碼ITEM3)、0111 1001(第一計算資料值PW 0)+ 1000 0100(第二計算資料值PW 1)、0111 1110 (第三指令確認碼CKS3)。以十六進制表示計算驗證資料的數值為0x07 0x0A 0xAA 0xCA 0x79 0x84 0x7E。The calculation result after summing up the values of the above calculation verification data is: 0000 0111 (the length of the third verification data LEN3) + 0000 1010 (the third display number ID3) + 1010 1010 (the third control command code CMD3) + 1100 1010 (The third item command code ITEM3) + 0111 1001 (the first calculation data value PW 0) + 1000 0100 (the second calculation data value PW 1) = 0010 1000 0010, take the lowest eight bit value as 1000 0010, and By calculating the 2's complement value, the value of the third instruction confirmation code CKS3 can be obtained as 0111 1110. Therefore, the data values included in the calculation verification data are 0000 0111 (the third verification data length LEN3), 0000 1010 (the third display number ID3), 1010 1010 (the third control command code CMD3), 1100 1010 (the third display number ID3), Three items of command code ITEM3), 0111 1001 (first calculation data value PW 0) + 1000 0100 (second calculation data value PW 1), 0111 1110 (third command confirmation code CKS3). In hexadecimal notation, the value of the authentication data is 0x07 0x0A 0xAA 0xCA 0x79 0x84 0x7E.

於步驟S5中。顯示器確認計算驗證資料正確性之步驟更包含步驟S51及步驟S52。於步驟S51中,當計算驗證資料正確時,顯示器回傳驗證成功通知指令至參數校正驗證程序。於步驟S52中,當計算驗證資料不正確時,顯示器回傳驗證失敗通知指令至參數校正驗證程序。in step S5. The step of confirming the correctness of the calculation verification data by the display further includes step S51 and step S52. In step S51, when the calculation verification data is correct, the display sends back a verification success notification command to the parameter calibration verification program. In step S52, when the calculated verification data is incorrect, the display returns a verification failure notification command to the parameter calibration verification program.

驗證成功通知指令包含第四驗證資料長度LEN4、第四顯示器編號ID4、第四項目指令代碼ITEM4、驗證成功代碼ACK以及第四指令確認碼CKS4。第四指令確認碼CKS4係為轉換第四驗證資料長度LEN4、第四顯示器編號ID4、第四項目指令代碼ITEM4、驗證成功代碼ACK為二進制數值,且加總後的第四總和。第四指令確認碼係為第四總和之最低8位元值的2補數值。The verification success notification command includes the fourth verification data length LEN4, the fourth display number ID4, the fourth item command code ITEM4, the verification success code ACK, and the fourth command confirmation code CKS4. The fourth command confirmation code CKS4 is the fourth sum of converting the fourth verification data length LEN4, the fourth display number ID4, the fourth item command code ITEM4, and the verification success code ACK into binary values. The fourth instruction confirmation code is the 2's complement value of the lowest 8-bit value of the fourth sum.

驗證失敗通知指令包含第五驗證資料長度LEN5、第五顯示器編號ID5、第五項目指令代碼ITEM5、驗證失敗代碼NAK以及第五指令確認碼CKS5。第五指令確認碼CKS5係為轉換第五驗證資料長度LEN5、第五顯示器編號ID5、第五項目指令代碼ITEM5、驗證失敗代碼NAK為二進制數值,且加總後的第五總和。第五指令確認碼係為第五總和之最低8位元值的2補數值。The verification failure notification command includes the fifth verification data length LEN5, the fifth display number ID5, the fifth item command code ITEM5, the verification failure code NAK, and the fifth command confirmation code CKS5. The fifth command confirmation code CKS5 is the fifth sum after converting the fifth verification data length LEN5, the fifth display number ID5, the fifth item command code ITEM5, and the verification failure code NAK into binary values. The fifth instruction confirmation code is the 2's complement value of the lowest 8-bit value of the fifth sum.

舉例而言,於步驟S51中,第四驗證資料長度LEN4為位元0至位元4,共5筆資料,因此轉換後的數值為十進制的5,二進制為0000 0101。第四顯示器編號ID4為二進制0000 1010的數值。第四項目指令代碼ITEM4在十六進制的數值為CA,轉換為二進制數值為1100 1010。驗證成功代碼ACK在十六進制的數值為0xAC,轉換為二進制數值為1010 1100,根據上述計算方式加總、取最低的八個位元值、並計算2補數值後可得到第4指令確認碼CKS4的數值為0111 1101。因此,當參數校正驗證程序接收到包含上述第四驗證資料長度LEN4、第四顯示器編號ID4、第四項目指令代碼ITEM4、驗證成功代碼ACK以及第四指令確認碼CKS4各項數值的驗證成功通知指令後,表示通過顯示器之參數校正驗證程序,計算結果正確,可開放顯示器控制權。For example, in step S51, the fourth verification data length LEN4 is from bit 0 to bit 4, there are 5 pieces of data in total, so the converted value is 5 in decimal and 0000 0101 in binary. The fourth display number ID4 is a binary value of 0000 1010. The value of the fourth item instruction code ITEM4 in hexadecimal is CA, and the conversion to binary value is 1100 1010. The hexadecimal value of the verification success code ACK is 0xAC, and the binary value is 1010 1100. According to the above calculation method, add up, take the lowest eight-bit value, and calculate the 2's complement value to obtain the fourth instruction confirmation The value of code CKS4 is 0111 1101. Therefore, when the parameter calibration verification program receives the above-mentioned fourth verification data length LEN4, the fourth display number ID4, the fourth item command code ITEM4, the verification success code ACK and the fourth command confirmation code CKS4 The verification success notification command is After that, it means that the calculation result is correct through the parameter calibration verification procedure of the display, and the control right of the display can be opened.

舉例而言,於步驟S52中,第五驗證資料長度LEN5為位元0至位元4,共5筆資料,因此轉換後的數值為十進制的5,二進制為0000 0101。第五顯示器編號ID5為二進制0000 1010的數值。第五項目指令代碼ITEM5在十六進制的數值為CA,轉換為二進制數值為1100 1010。驗證失敗代碼NAK在十六進制的數值為0xBD,轉換為二進制數值為1011 1101,根據上述計算方式加總、取最低的八個位元值、並計算2補數值後可得到第五指令確認碼CKS5的數值為0110 1100。因此,當參數校正驗證程序接收到上述包含第五驗證資料長度LEN5、第五顯示器編號ID5、第五項目指令代碼ITEM5、驗證失敗代碼NAK以及第五指令確認碼CKS5各項數值的驗證失敗通知指令後,表示未通過顯示器之參數校正驗證程序,計算結果不正確,並且不開放顯示器控制權。For example, in step S52, the fifth verification data length LEN5 is from bit 0 to bit 4, and there are 5 pieces of data, so the converted value is 5 in decimal and 0000 0101 in binary. The fifth display number ID5 is a binary value of 0000 1010. The hexadecimal value of the fifth item instruction code ITEM5 is CA, and the binary value is 1100 1010. The value of the verification failure code NAK in hexadecimal is 0xBD, and the binary value is 1011 1101. According to the above calculation method, add up, take the lowest eight-bit value, and calculate the 2's complement value to obtain the fifth instruction confirmation. The value of the code CKS5 is 0110 1100. Therefore, when the parameter calibration verification program receives the above-mentioned verification failure notification command including the fifth verification data length LEN5, the fifth display number ID5, the fifth item command code ITEM5, the verification failure code NAK and the fifth command confirmation code CKS5 After that, it means that the parameter calibration verification procedure of the display is not passed, the calculation result is incorrect, and the display control is not opened.

此外,在本發明的實施例中,參數校正驗證程序係透過RS232等連接線與顯示器進行驗證程序。In addition, in the embodiment of the present invention, the parameter calibration verification procedure is performed through a connecting line such as RS232 and the display to perform the verification procedure.

請參閱圖2,其係為本發明具有驗證參數校正程式之顯示系統的方塊示意圖。具有驗證參數校正程式之顯示系統1包含一主機11及一顯示器12,主機11包含參數校正程式111,參數校正程式111包含上述之參數校正驗證程序112,顯示器12包含對應參數校正驗證程序112的參數確認驗證程序121及校正參數值控制權122,主機11透過連接線W連接顯示器12,並藉由參數校正程式111通過參數確認驗證程序121的驗證後,取得顯示器12的校正參數值控制權122。此外,由上述顯示器參數校正程式之驗證方法的執行步驟可知,參數校正驗證程序112包含步驟S2、S4,參數確認驗證程序121包含步驟S3、步驟S5、步驟S51及步驟S52。Please refer to FIG. 2 , which is a block diagram of a display system with a verification parameter calibration program of the present invention. The display system 1 with a verification parameter calibration program includes a host 11 and a display 12 , the host 11 includes a parameter calibration program 111 , the parameter calibration program 111 includes the above-mentioned parameter calibration verification program 112 , and the display 12 includes parameters corresponding to the parameter calibration verification program 112 . After confirming the verification program 121 and the calibration parameter value control right 122 , the host 11 is connected to the display 12 through the connecting wire W, and after the parameter calibration program 111 is verified by the parameter verification verification program 121 , it obtains the calibration parameter value control right 122 of the display 12 . In addition, as can be seen from the execution steps of the verification method of the display parameter calibration program, the parameter calibration verification program 112 includes steps S2 and S4, and the parameter confirmation verification program 121 includes steps S3, S5, S51 and S52.

綜上所述,本發明藉由綁定顯示器與參數校正驗證程序,在未通過參數校正驗證程序時僅可讓顯示器顯示畫面而無法變更其校正參數值,並在通過參數校正驗證程序時方可取得顯示器校正參數值的控制權,以便於使用者可保護、避免顯示器的校正參數值遭到任意的變更及調整。To sum up, the present invention binds the display to the parameter calibration verification program, and only allows the display to display the screen without passing the parameter calibration verification procedure, but cannot change its calibration parameter value, and can only pass the parameter calibration verification procedure. Obtain the control right of the display calibration parameter value, so that the user can protect and avoid the display calibration parameter value from being arbitrarily changed and adjusted.

S1~S5:步驟 1:具有驗證參數校正程式之顯示系統 11:主機 111:參數校正程式 112:參數校正驗證程序 12:顯示器 121:參數確認驗證程序 122:校正參數值控制權 W:連接線 S1~S5: Steps 1: Display system with verification parameter calibration program 11: Host 111: Parameter correction program 112: Parameter calibration verification procedure 12: Display 121: Parameter confirmation verification procedure 122: Correction parameter value control W: connecting wire

圖1係為本發明顯示器參數校正程式之驗證方法的流程圖;以及 圖2係為本發明具有驗證參數校正程式之顯示系統的方塊示意圖。 FIG. 1 is a flow chart of the verification method of the display parameter calibration program of the present invention; and FIG. 2 is a block diagram of a display system having a verification parameter calibration program according to the present invention.

S1~S52:步驟 S1~S52: Steps

Claims (18)

一種顯示器參數校正程式之驗證方法,包含下列步驟:由一參數校正驗證程序傳送一驗證通知指令至一顯示器;由該顯示器回覆該驗證通知指令,並產生一待驗證資料至該參數校正驗證程序;由該參數校正驗證程序計算該待驗證資料,並回傳一計算驗證資料至該顯示器;以及由該顯示器確認該計算驗證資料之正確性,並於該計算驗證資料正確時開啟該顯示器之一參數校正值控制權;其中該驗證通知指令包含一第一驗證資料長度、一第一顯示器編號、一第一控制指令代碼、一第一項目指令代碼以及一第一指令確認碼;其中該第一指令確認碼係轉換該第一驗證資料長度、該第一顯示器編號、該第一控制指令代碼以及該第一項目指令代碼為二進制數值,且加總後的一第一總和。 A verification method for a display parameter calibration program, comprising the following steps: sending a verification notification command from a parameter calibration verification program to a display; the display responds to the verification notification command, and generates a data to be verified to the parameter calibration verification program; Calculate the data to be verified by the parameter calibration verification program, and return a calculation verification data to the display; and confirm the correctness of the calculation verification data by the display, and open a parameter of the display when the calculation verification data is correct Correction value control right; wherein the verification notification command includes a first verification data length, a first display number, a first control command code, a first item command code and a first command confirmation code; wherein the first command The confirmation code converts the length of the first verification data, the first display number, the first control command code and the first item command code into binary values, and is a first sum after summing up. 如請求項1所述之顯示器參數校正程式之驗證方法,其中該第一指令確認碼係為該第一總和之最低8位元值的2補數值。 The verification method for a display parameter calibration program as claimed in claim 1, wherein the first command confirmation code is a 2's complement value of the lowest 8-bit value of the first sum. 如請求項2所述之顯示器參數校正程式之驗證方法,其中該待驗證資料包含一第二驗證資料長度、一第二顯示器編號、一第二項目指令代碼、至少一資料值以及一第二指令確認碼。 The verification method for a display parameter calibration program according to claim 2, wherein the data to be verified comprises a second verification data length, a second display number, a second item command code, at least one data value and a second command Confirmation code. 如請求項3所述之顯示器參數校正程式之驗證方法,其中該至少一資料值包含一第一驗證資料值、一第二驗證資料值、一第三驗證資料值及一第四驗證資料值,並由亂數產生。 The verification method of a display parameter calibration program according to claim 3, wherein the at least one data value comprises a first verification data value, a second verification data value, a third verification data value and a fourth verification data value, and generated by random numbers. 如請求項4所述之顯示器參數校正程式之驗證方法,其中該第二指令確認碼係轉換該第二驗證資料長度、該第二顯示器編號、該第二項目指令代碼以及該至少一資料值為二進制數值,且加總後的一第二總和。 The verification method for a display parameter calibration program as claimed in claim 4, wherein the second command confirmation code converts the second verification data length, the second display number, the second item command code and the at least one data value Binary values, and a second sum after the addition. 如請求項5所述之顯示器參數校正程式之驗證方法,其中該第二指令確認碼係為該第二總和之最低8位元值的2補數值。 The verification method for a display parameter calibration program as claimed in claim 5, wherein the second command confirmation code is a 2's complement value of the lowest 8-bit value of the second sum. 如請求項6所述之顯示器參數校正程式之驗證方法,其中該計算驗證資料包含一第三驗證資料長度、一第三顯示器編號、一第三控制指令代碼、一第三項目指令代碼、一第一計算資料值、一第二計算資料值以及一第三指令確認碼。 The verification method for a display parameter calibration program according to claim 6, wherein the calculation verification data comprises a third verification data length, a third display number, a third control command code, a third item command code, a first A calculation data value, a second calculation data value and a third command confirmation code. 如請求項7所述之顯示器參數校正程式之驗證方法,其中該第三指令確認碼係為轉換該第三驗證資料長度、該第三顯示器編號、該第三控制指令代碼、該第三項目指令代碼、該第一計算資料值及該第二計算資料值為二進制數值,且加總後的一第三總和。 The verification method for a display parameter calibration program as claimed in claim 7, wherein the third command confirmation code is to convert the length of the third verification data, the third display number, the third control command code, and the third item command The code, the first calculation data value and the second calculation data value are binary values, and a third sum is added. 如請求項8所述之顯示器參數校正程式之驗證方法,其中該第一計算資料值藉由計算該第一驗證資料值及該第二驗證資料值之一互斥或值產生,該第二計算資料值藉由相加該第三驗證資料值及該第四驗證資料值的一乘積與該第一計算資料值,並與一調整值相乘之邏輯運算產生。 The verification method of a display parameter calibration program as claimed in claim 8, wherein the first calculation data value is generated by calculating a mutually exclusive OR of the first verification data value and the second verification data value, and the second calculation The data value is generated by adding a product of the third verification data value and the fourth verification data value to the first calculated data value, and multiplying it by an adjustment value. 如請求項9所述之顯示器參數校正程式之驗證方法,其中該第三指令確認碼係為該第三總和之最低8位元值的2補數值。 The verification method of a display parameter calibration program as claimed in claim 9, wherein the third command confirmation code is a 2's complement value of the lowest 8-bit value of the third sum. 如請求項10所述之顯示器參數校正程式之驗證方法,其中該顯示器確認該計算驗證資料正確性之步驟包含:當該計算驗證資料正確時,該顯示器回傳一驗證成功通知指令至該參數校正驗證程序;以及 當該計算驗證資料不正確時,該顯示器回傳一驗證失敗通知指令至該參數校正驗證程序。 The verification method for a display parameter calibration program as claimed in claim 10, wherein the step of confirming the correctness of the calculation verification data by the display comprises: when the calculation verification data is correct, the display returns a verification success notification command to the parameter calibration verification procedures; and When the calculation verification data is incorrect, the display returns a verification failure notification command to the parameter calibration verification program. 如請求項11所述之顯示器參數校正程式之驗證方法,其中該驗證成功通知指令包含一第四驗證資料長度、一第四顯示器編號、一第四項目指令代碼、一驗證成功代碼以及一第四指令確認碼。 The verification method for a display parameter calibration program as claimed in claim 11, wherein the verification success notification command comprises a fourth verification data length, a fourth display number, a fourth item command code, a verification success code and a fourth Command confirmation code. 如請求項12所述之顯示器參數校正程式之驗證方法,其中該第四指令確認碼係為轉換該第四驗證資料長度、該第四顯示器編號、該第四項目指令代碼、該驗證成功代碼為二進制數值,且加總後的一第四總和。 The verification method for a display parameter calibration program as claimed in claim 12, wherein the fourth command confirmation code is the conversion of the fourth verification data length, the fourth display number, the fourth item command code, and the verification success code: Binary values, and a fourth sum after the addition. 如請求項13所述之顯示器參數校正程式之驗證方法,其中該第四指令確認碼係為該第四總和之最低8位元值的2補數值。 The verification method for a display parameter calibration program as claimed in claim 13, wherein the fourth command confirmation code is a 2's complement value of the lowest 8-bit value of the fourth sum. 如請求項11所述之顯示器參數校正程式之驗證方法,其中該驗證失敗通知指令包含一第五驗證資料長度、一第五顯示器編號、一第五項目指令代碼、一驗證失敗代碼以及一第五指令確認碼。 The verification method for a display parameter calibration program as claimed in claim 11, wherein the verification failure notification command comprises a fifth verification data length, a fifth display number, a fifth item command code, a verification failure code and a fifth Command confirmation code. 如請求項15所述之顯示器參數校正程式之驗證方法,其中該第五指令確認碼係為轉換該第五驗證資料長度、該第五顯示器編號、該第五項目指令代碼、該驗證失敗代碼,且加總後的一第五總和。 The verification method for a display parameter calibration program as claimed in claim 15, wherein the fifth command confirmation code is the conversion of the fifth verification data length, the fifth display number, the fifth item command code, and the verification failure code, And a fifth sum after the sum. 如請求項16所述之顯示器參數校正程式之驗證方法,其中該第五指令確認碼係為該第五總和之最低8位元值的2補數值。 The verification method for a display parameter calibration program as claimed in claim 16, wherein the fifth command confirmation code is a 2's complement value of the lowest 8-bit value of the fifth sum. 一種具有驗證參數校正程式之顯示系統,包含:一顯示器;以及一主機,透過一連接線連接該顯示器;其中該顯示器及該主機執行如請求項1至17中任一項所述之顯示器參數校正程式之驗證方法; 其中該顯示器包含一參數確認驗證程序及該校正參數值控制權,該參數確認驗證程序包含請求項1至17中任一項所述之顯示器參數校正程式之驗證方法中該顯示器所執行之步驟,該主機包含一參數校正程式,該參數校正程式包含該參數校正驗證程序。 A display system with a verification parameter calibration program, comprising: a display; and a host connected to the display through a connecting line; wherein the display and the host perform the display parameter calibration according to any one of claim 1 to 17 the verification method of the program; Wherein the display includes a parameter confirmation verification program and the calibration parameter value control right, the parameter confirmation verification program includes the steps performed by the display in the verification method of the display parameter calibration program described in any one of claim 1 to 17, The host includes a parameter calibration program, and the parameter calibration program includes the parameter calibration verification program.
TW110108867A 2021-03-12 2021-03-12 Verification method of display parameter calibration program and display system with verification parameter calibration program TWI774266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110108867A TWI774266B (en) 2021-03-12 2021-03-12 Verification method of display parameter calibration program and display system with verification parameter calibration program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110108867A TWI774266B (en) 2021-03-12 2021-03-12 Verification method of display parameter calibration program and display system with verification parameter calibration program

Publications (2)

Publication Number Publication Date
TWI774266B true TWI774266B (en) 2022-08-11
TW202236133A TW202236133A (en) 2022-09-16

Family

ID=83807029

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110108867A TWI774266B (en) 2021-03-12 2021-03-12 Verification method of display parameter calibration program and display system with verification parameter calibration program

Country Status (1)

Country Link
TW (1) TWI774266B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200421229A (en) * 2002-08-12 2004-10-16 Iljin Diamond Co Ltd LCD with EEPROM and means for automatic download to FPGA
US20080077382A1 (en) * 2003-11-10 2008-03-27 Karsten Strehl Simulation System and Computer-Implemented Method for Simulation and Verifying a Control System
CN101435931A (en) * 2008-12-17 2009-05-20 福建捷联电子有限公司 Method for reducing LCD device development cycle
CN102509539A (en) * 2011-10-17 2012-06-20 冠捷显示科技(武汉)有限公司 Method for automatically matching universal panel of display equipment system
CN103165098A (en) * 2011-12-13 2013-06-19 国际商业机器公司 System and method for automatically adjusting electronic display settings
TWI624801B (en) * 2014-03-27 2018-05-21 英特爾公司 Methods and apparatus to provide extended graphics processing capabilities

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200421229A (en) * 2002-08-12 2004-10-16 Iljin Diamond Co Ltd LCD with EEPROM and means for automatic download to FPGA
US20080077382A1 (en) * 2003-11-10 2008-03-27 Karsten Strehl Simulation System and Computer-Implemented Method for Simulation and Verifying a Control System
CN101435931A (en) * 2008-12-17 2009-05-20 福建捷联电子有限公司 Method for reducing LCD device development cycle
CN102509539A (en) * 2011-10-17 2012-06-20 冠捷显示科技(武汉)有限公司 Method for automatically matching universal panel of display equipment system
CN103165098A (en) * 2011-12-13 2013-06-19 国际商业机器公司 System and method for automatically adjusting electronic display settings
TWI624801B (en) * 2014-03-27 2018-05-21 英特爾公司 Methods and apparatus to provide extended graphics processing capabilities

Also Published As

Publication number Publication date
TW202236133A (en) 2022-09-16

Similar Documents

Publication Publication Date Title
JP6879961B2 (en) Methods and equipment for displaying process data, and machine-accessible media
CN107103020B (en) Method and apparatus for accessing process data stored on a server
CN104040568B (en) EMS and managing device
US8755771B2 (en) System, method, and program for generating screen
TWI774266B (en) Verification method of display parameter calibration program and display system with verification parameter calibration program
WO2017101376A1 (en) Method for self-adaptively setting default payment mode and device therefor
JP6111980B2 (en) Industrial equipment management system, industrial equipment management server, industrial equipment management method, program, and information storage medium
CN107579954A (en) The generation method and system of identification information
JP2015087877A (en) Industrial equipment production system, industrial equipment production server, industrial equipment production method, program, and information storage medium
TWI663565B (en) Device, method and computer program product of a technical indicator table
EP1785956A1 (en) Information processing apparatus and method, setting apparatus and method, and program
JP6236890B2 (en) Display device setting device, display device setting method and program
CN104182141B (en) A kind of information processing method and electronic equipment
JP2022125148A (en) Electronic game parameter setting system, electronic game parameter setting program and electronic game parameter setting method
JP2020514870A (en) Image generation method, image generation device, image generation system, and program
KR20210150368A (en) Dynamic power level of NFC card communication
CN112306471A (en) Task scheduling method and device
EP2247924B1 (en) Remote control codes
WO2016186210A1 (en) Price setting assistance system, price setting assistance program, price setting assistance method, intellectual property evaluation assistance system, intellectual property evaluation assistance program, and intellectual property evaluation setting assistance method
JP2004318291A (en) Method for generating and issuing license key and server
JP2002012308A (en) Inventory management method
JP2007233991A (en) Device for processing real estate commission data, method for processing real estate commission data, and computer program for processing real estate commission data
WO2023027101A1 (en) Device and method for assisting in source code generation for software and program for device and method
CN113378212B (en) Block chain system, information processing method, system, device and computer medium
WO2020062613A1 (en) Page generation method and apparatus, and computer-readable storage medium