CN103324550B - The inspection of HDCP key data and backup method and device - Google Patents

The inspection of HDCP key data and backup method and device Download PDF

Info

Publication number
CN103324550B
CN103324550B CN201210078511.6A CN201210078511A CN103324550B CN 103324550 B CN103324550 B CN 103324550B CN 201210078511 A CN201210078511 A CN 201210078511A CN 103324550 B CN103324550 B CN 103324550B
Authority
CN
China
Prior art keywords
content
key data
memory block
hdcp
effectively
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN201210078511.6A
Other languages
Chinese (zh)
Other versions
CN103324550A (en
Inventor
苏倬立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TPV Investment Co Ltd
Original Assignee
TPV Investment Co Ltd
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 TPV Investment Co Ltd filed Critical TPV Investment Co Ltd
Priority to CN201210078511.6A priority Critical patent/CN103324550B/en
Publication of CN103324550A publication Critical patent/CN103324550A/en
Application granted granted Critical
Publication of CN103324550B publication Critical patent/CN103324550B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of HDCP key data inspection and backup method, comprise: the content that (A) reads one first memory block; (B) whether the content that judges this first memory block belongs to an effective HDCP key data; (C) in the time that the content of this first memory block does not belong to effective this HDCP key data, read the content of one second memory block; (D) whether the content that judges this second memory block belongs to effectively this HDCP key data; And (E) in the time that the content of this second memory block belongs to effectively this HDCP key data, using the content of this second memory block as a HDCP key data of having checked.

Description

The inspection of HDCP key data and backup method and device
Technical field
The present invention relates to the inspection of a kind of key data and redundancy technique, particularly relate to a kind of forHDCP (the High-BandwidthDigitalContent of display deviceProtection, is called for short HDCP) key data inspection and backup method and check and backup module.
Background technology
HDCP (HDCP) technology is by Hollywood and Intel (Intel)Company's cooperative development, in order to guarantee that digitized video content is unlikely to suffer illegal in the time transmittingCopy. Substantially, in the time that wish is play the vision signal of supporting HDCP, oneSignal carrys out source device (as, the display adapter of a player, a computer) and and shows and establishStandby (as, a liquid crystal display) both sides must built-in HDCP key coreSheet ability normal play; If this signal comes source device and this display device, any one is not in bothBe equipped with HDCP key chip, the image quality of the image playing back likelyReduce, even can not playing video.
Generally speaking, before this display device dispatches from the factory, can be by close a HDCPKey data record is in a flash memory (flash) of this display device, for instance, and by this high bandwidthThe direct imprinting of digital content protection key data is in this flash memory.
So, after this display device dispatches from the factory, imprinting is protected in this high-bandwidth digital content of this flash memoryProtect key data likely because a variety of causes makes its content wrong, for example, because of this flash memory itselfDamage cause the content of this HDCP key data wrong, because of artificial or non-Human factor and make the content of this HDCP key data be eliminated or coverDeng; Once imprinting makes a mistake in this HDCP key data of this flash memory,This display device just must go back to factory to pass through imprinting software/hardware this high bandwidth of imprinting again in factoryDigital content protection key data.
Summary of the invention
The object of the present invention is to provide a kind of HDCP key data inspectionWith backup method.
HDCP key data inspection of the present invention and backup method, be applicable to oneDisplay device, the method with comprise one first memory block one first memory cell, comprise oneOne second memory cell of two memory blocks, and a processing unit realizes, this display device comprisesOne HDCP decoder; The method comprise by this processing unit performed underRow step: the content that (A) reads this first memory block; (B) judge this first memory blockContent whether belong to an effective HDCP key data; (C) when thisWhen the content of the first memory block does not belong to effective this HDCP key data,Read the content of this second memory block; (D) whether the content that judges this second memory block belongs toIn effective this HDCP key data; And (E) when this second memory blockContent while belonging to effectively this HDCP key data, second deposit with thisThe content in storage district, as a HDCP key data of having checked, wherein, is somebody's turn to doHDCP key data and this HDCP checked are translatedThe decoding running of code device is relevant.
Another object of the present invention, is providing a kind of HDCP key dataInspection and backup module.
HDCP key data inspection of the present invention and backup module, be applicable to oneDisplay device, this display device comprises a HDCP decoder. This high bandwidthThe inspection of digital content protection key data and backup module, comprise: one first memory cell,The second memory cell, and a processing unit.
This first memory cell comprises what confession one HDCP key data storedOne first memory block. This second memory cell comprises for this HDCP cipher key numberAccording to one second memory block storing. This processing unit is in order to read the content of this first memory block,And whether the content that judges this first memory block belongs to effectively this HDCPKey data, protects when the content of this first memory block does not belong to effectively this high-bandwidth digital contentWhile protecting key data, this processing unit also continues to read the content of this second memory block, and sentencesWhether the content of disconnected this second memory block belongs to effectively this HDCP keyData, when the content of this second memory block belongs to effectively this HDCP keyWhen data, this processing unit is using the content of this second memory block as a high bandwidth of having checkedDigital content protection key data, wherein, the HDCP key that this has been checkedData are relevant to the decoding running of this HDCP decoder.
Beneficial effect of the present invention is: by according to the content of this first memory block and this secondThe content of memory block is checked, and can reduce because this HDCP key dataMake a mistake, and make this display device Xu Hui factory, this HDCP of imprinting is close againThe probability of key data.
Brief description of the drawings
Fig. 1 is a block diagram, and HDCP key data inspection of the present invention is describedA preferred embodiment with backup module;
Fig. 2 is a flow chart, and HDCP key data inspection of the present invention is describedWith backup method.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is described in detail.
Consult Fig. 1, the present invention is for the HDCP cipher key number of display device 1Preferred embodiment according to inspection with backup module 2, is applicable to a display device 1, this high bandwidthDigital content protection key data inspection and backup module 2 comprise a processing unit 21, one firstMemory cell 22, and one second memory cell 23; Wherein, this first memory cell 22 comprisesOne first memory block 221 storing for a HDCP key data, this is second years oldMemory cell 23 comprises for one second of this HDCP key data storage depositsStorage district 231. In this preferred embodiment, this display device 1 is for supporting high-bandwidth digital contentOne liquid crystal display of protection.
Do not increasing under the consideration of hardware cost this HDCP key data inspectionTest and this processing unit 21, this first memory cell 22 of backup module 2, and this second is depositedStorage unit 23 is the processing unit (figure that utilize existing liquid crystal display (not shown) intrinsicDo not show) and internal memory (not shown) realize. Further, this processing unit 21 removesCarry out this HDCP key data check with back up outside, also carry out withThe relevant flow process control of running of this display device 1; And, this HDCPThis first memory cell 22, this second memory cell of key data inspection and backup module 223 except storing for this HDCP key data, also for establishing with this demonstrationOther relevant data storings of running of standby 1, for instance, this second memory cell 23 alsoCan store for an acquiescence adjustment magnitude of voltage.
Wherein, this display device 1 comprises that a high-bandwidth digital content that can receiving video signals protectsProtect decoder 11, be electrically connected on this high bandwidth of this HDCP decoder 11Digital content protection key data is checked with backup module 2, is electrically connected in this high bandwidth numeralHold protection decoder 11 a pixel (pixel) driver module 12, be electrically connected on this and second depositThe homopolarity adjustment module 13 altogether of storage unit 23, and be electrically connected on this pixel driver module 12A liquid crystal panel 14 with this common utmost point adjustment module 13. Wherein, this pixel driver module 12In order to receive the vision signal after these HDCP decoder 11 decodings, andIn order to produce one source pole voltage and a gate voltage; This common utmost point adjustment module 13 is in order to basisThis acquiescence adjustment magnitude of voltage that is stored in this second memory cell 23 produces and has same pole tension altogether(Vcom); This liquid crystal panel 14 is in order to receive this source voltage, this gate voltage, and shouldCommon pole tension is to show. Due to this HDCP decoder 11, this pictureElement driver module 12, this common utmost point adjustment module 13, and the function of this liquid crystal panel 14 and detailedThin implementation mode is by those who familiarize themselves with the technology is known, so do not repeat at this.
In this preferred embodiment, this first memory cell 22 is a flash memory (flash), andThe memory space of the last 4K byte of this flash memory (byte) is planned as this first memory block 221;This second memory cell 23 is a non-volatile random access memory (NVRAM), and this is non-The memory space of the last page (page) of volatile random access internal memory planned as thisTwo memory blocks 231.
It is worth mentioning that, before this display device 1 dispatches from the factory, this first memory cell 22This first memory block 221 has been stored a HDCP key data in advance;This second memory cell 23 has completed initialization, and, with the first memory block 221 and thisThe relevant flag (flag) in two memory blocks 231 is also by initial setting, in this better enforcementIn example, aforementioned relevant flag comprises a backup keys data flag, and a key data is differentChang Qibiao, wherein, this backup keys data flag be initially set one first default value,The abnormal flag of this key data is also initially set this first default value; Wherein, this is first silentThe value of recognizing is " False ".
Below coordinate HDCP key data inspection of the present invention and backup method,To the running of this HDCP key data inspection and backup module 2 furtherExplanation.
Consult Fig. 1 and Fig. 2, after this display device 1 is by electric power starting (poweron),This processing unit 21 can then be carried out following steps.
In step 301, this processing unit 21 reads the content of this first memory block 221.
In step 302, this processing unit 21 judges that the content of this first memory block 221 isNo effectively (valid) this HDCP key data that belongs to; When this first is depositedWhen the content in storage district 221 belongs to effective this HDCP key data, continueThe continuous processing of carrying out step 303; Otherwise, proceed the processing of step 306. Wherein, ifThe content of this first memory block 221 belong to one invalid (invalid) code (as, be 〝 FF 〞 entirelyOr 〝 00 〞), or this processing unit 21 is counted according to the content of this first memory block 221What calculate one checks sum total (checksum) and is not equal to a default sum total of checking, and representing shouldThe content of the first memory block 221 does not belong to effectively this HDCP cipher key numberAccording to; Otherwise, represent that the content of this first memory block 221 belongs in effective this high bandwidth numeralHold Protective Key data.
Further, in this preferred embodiment, this processing unit 21 carries out following sonStep, to judge whether the content of this first memory block 221 belongs to effectively this high bandwidth numeralContent protecting key data:
(i) whether the content that judges this first memory block 221 belongs to this invalid code;
(ii), in the time that the content of this first memory block 221 belongs to this invalid code, this first is depositedThe content in storage district 221 does not belong to effectively this HDCP key data;
(iii) in the time that the content of this first memory block 221 does not belong to this invalid code, according to being somebody's turn to doThe content of the first memory block 221 is calculated one and is checked sum total;
(iv) this calculating when sub-step (iii) checked sum total and is not equal to this default coreDuring to sum total, the content of this first memory block 221 does not belong in effective this high bandwidth numeralHold Protective Key data; And
(v) this calculating when sub-step (iii) checked sum total and equaled this default checkingWhen sum total, the content of this first memory block 221 belongs to effectively this high-bandwidth digital content guarantorProtect key data.
In step 303, this processing unit 21 using the content of this first memory block 221 asThe one HDCP key data of having checked.
In step 304, this processing unit 21 judges this, and whether backup keys data flagEqual one second default value; When this is when backup keys data flag has equaled this second default value,Proceed the processing of step 310; Otherwise, proceed the processing of step 305; Wherein,This second default value is " True ".
In step 305, this processing unit 21 is by the content backup of this first memory block 221Be stored to this second memory block 231, and by this backup keys data flag be set as this secondDefault value.
In step 306, this processing unit 21 reads the content of this second memory block 231.
In step 307, this processing unit 21 judges that the content of this second memory block 231 isNo effectively this HDCP key data that belongs to; When this second memory block 231Content while belonging to effectively this HDCP key data, proceed stepRapid 308 processing; Otherwise, proceed the processing of step 309. Wherein, if this second depositThe content in storage district 231 belongs to this invalid code, or this processing unit 21 is according to this second storageWhat the content in district 231 calculated one checks sum total and is not equal to this default sum total, table checkedThe content of showing this second memory block 231 does not belong to effectively this HDCP keyData; Otherwise, represent that the content of this second memory block 231 belongs to effectively this high bandwidth numeralContent protecting key data; Its further judgment mode is similar to above-mentioned steps 302.
In step 308, this processing unit 21 using the content of this second memory block 231 asThe HDCP key data that this has been checked.
In step 309, this processing unit 21 is set as this by abnormal this key data flagThe second default value.
In step 310, this processing unit 21 judges that whether etc. the abnormal flag of this key dataIn this second default value; In the time that the abnormal flag of this key data equals this second default value, continueThe continuous processing of carrying out step 311; Otherwise, proceed the processing of step 312.
In step 311, this processing unit 21 produces to indicate this high-bandwidth digital contentProtective Key data are that an abnormal message (message) is for demonstration.
In step 312, this processing unit 21 is protected this high-bandwidth digital content of having checkedProtect key data and offer this HDCP decoder 11.
After completing steps 312, this HDCP decoder 11 just can rootCarry out follow-up decoding processing according to this HDCP key data of having checked.
In sum, the present invention is by storing up this HDCP key data backupDeposit to this second memory block 231, and deposit according to the content of this first memory block 221 and this secondThe content in storage district 231 is checked, and can reduce because this HDCP cipher key numberAccording to making a mistake, and make this high-bandwidth digital content of the imprinting guarantor again of this display device 1 Xu Hui factoryProtect the probability of key data, so really can reach object of the present invention.
Only as described above, be only preferred embodiment of the present invention, when not limiting with thisScope of the invention process, generally according to the present patent application the scope of the claims and invention description content instituteThe simple equivalence of doing changes and modifies, and all still remains within the scope of the patent.

Claims (7)

1. the inspection of HDCP key data and a backup method, be suitable forIn a display device, the method is to comprise one first memory cell, the bag of one first memory blockDraw together one second memory cell of one second memory block, and a processing unit realizes, this demonstrationEquipment comprises a HDCP decoder; It is characterized in that: the method comprisesBy the performed the following step of this processing unit:
(G) by one backup keys data flag be initially set one first default value;
(H) the abnormal flag of a key data is initially set to this first default value;
(A) read the content of this first memory block;
(B) whether the content that judges this first memory block belongs to an effective high bandwidth numeralContent protecting key data;
(I) when the content of this first memory block belongs to effectively this HDCPWhen key data, judge this backup keys data flag whether equal one second default value;
(J) when this is when backup keys data flag has been not equal to this second default value, willThe content backup of this first memory block is stored to this second memory block;
(K) by this backup keys data flag be set as this second default value;
(C) when the content of this first memory block does not belong to effectively this high-bandwidth digital contentWhen Protective Key data, read the content of this second memory block;
(D) whether the content that judges this second memory block belongs to effectively this high bandwidth numeralContent protecting key data; And
(E) when belonging to effectively this high-bandwidth digital content, the content of this second memory block protectsWhile protecting key data, using the content of this second memory block as a high bandwidth number of having checkedWord content protecting key data, wherein, the HDCP key that this has been checkedData are relevant to the decoding running of this HDCP decoder.
2. HDCP key data inspection according to claim 1With backup method, it is characterized in that:
In step (B), in the time that the content of this first memory block belongs to an invalid code,The content that represents this first memory block does not belong to effectively this HDCP keyData; And
In step (D), in the time that the content of this second memory block belongs to this invalid code,The content that represents this second memory block does not belong to effectively this HDCP keyData.
3. HDCP key data inspection according to claim 1With backup method, it is characterized in that:
Step (B) comprises following sub-step:
(b-1) calculate one according to the content of this first memory block and check sum total;
(b-2) judge that this that calculate in sub-step (b-1) check sum total and whether equal one pre-If check sum total; And
(b-3) check sum total when this calculating in sub-step (b-1) and be not equal to that this is defaultWhile checking sum total, represent that the content of this first memory block does not belong to effectively this high bandwidth numberWord content protecting key data;
Step (D) comprises following sub-step:
(d-1) calculate one according to the content of this second memory block and check sum total;
(d-2) judge that this that calculate in sub-step (d-1) check sum total and whether equal that this is pre-If check sum total; And
(d-3) check sum total when this calculating in sub-step (d-1) and be not equal to that this is defaultWhile checking sum total, represent that the content of this second memory block does not belong to effectively this high bandwidth numberWord content protecting key data.
4. HDCP key data inspection according to claim 1With backup method, it is characterized in that: it also comprises between step (B) and step (C)The following step:
(F) when belonging to effectively this high-bandwidth digital content, the content of this first memory block protectsWhile protecting key data, using the content of this first memory block as this high bandwidth number of having checkedWord content protecting key data.
5. HDCP key data inspection according to claim 1With backup method, it is characterized in that: it also comprises step (D) the following step afterwards:
(L) when the content of this second memory block does not belong to effectively this high-bandwidth digital contentWhen Protective Key data, abnormal this key data flag is set as to one second default value.
6. HDCP key data inspection according to claim 5With backup method, it is characterized in that: it also comprises step (D) the following step afterwards:
(M) judge whether the abnormal flag of this key data equals this second default value;
(N), in the time that the abnormal flag of this key data equals this second default value, produce and useTo indicate this HDCP key data as an abnormal message; And
(O) in the time that the abnormal flag of this key data is not equal to this second default value, shouldThe HDCP key data of having checked offers this high-bandwidth digital content and protectsProtect decoder.
7. the inspection of HDCP key data and a back-up device, be suitable forIn a display device, this display device comprises a HDCP decoder, shouldThe inspection of HDCP key data comprises with backup module:
One first memory cell, comprises for a HDCP key data and storingOne first memory block;
One second memory cell, comprises for this HDCP key data and storingOne second memory block; And
One processing unit, in order to read the content of this first memory block, and judges that this first depositsWhether the content in storage district belongs to effectively this HDCP key data, when thisWhen the content of the first memory block does not belong to effective this HDCP key data, this processing unit also continues to read the content of this second memory block, and judges that this second depositsWhether the content in storage district belongs to effectively this HDCP key data, when thisWhen the content of the second memory block belongs to effective this HDCP key data,This processing unit using the content of this second memory block in a high bandwidth numeral of having checkedHold Protective Key data, wherein, the HDCP key data that this has been checkedRelevant to the decoding running of this HDCP decoder, this processing unit also willOne backup keys data flag be initially set one first default value, when this first memory blockContent while belonging to effectively this HDCP key data, this processing listUnit is also close as this HDCP of having checked using the content of this first memory blockKey data, and judge this backup keys data flag whether equal one second default value, whenThis is when backup keys data flag has been not equal to this second default value, and this processing unit also willThe content backup of this first memory block is stored to this second memory block, and by this backup keysData flag is set as this second default value.
CN201210078511.6A 2012-03-22 2012-03-22 The inspection of HDCP key data and backup method and device Expired - Fee Related CN103324550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210078511.6A CN103324550B (en) 2012-03-22 2012-03-22 The inspection of HDCP key data and backup method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210078511.6A CN103324550B (en) 2012-03-22 2012-03-22 The inspection of HDCP key data and backup method and device

Publications (2)

Publication Number Publication Date
CN103324550A CN103324550A (en) 2013-09-25
CN103324550B true CN103324550B (en) 2016-05-04

Family

ID=49193310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210078511.6A Expired - Fee Related CN103324550B (en) 2012-03-22 2012-03-22 The inspection of HDCP key data and backup method and device

Country Status (1)

Country Link
CN (1) CN103324550B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1607793A (en) * 2003-09-26 2005-04-20 创世纪微芯片公司 Packet based high definition high-bandwidth digital content protection
CN101557488A (en) * 2008-04-07 2009-10-14 联发科技股份有限公司 Medium content providing method, high definition multimedia interface system and original device
CN101615150A (en) * 2009-07-24 2009-12-30 中兴通讯股份有限公司 Data processing method and device based on embedded database
CN102665089A (en) * 2012-03-29 2012-09-12 深圳创维数字技术股份有限公司 HDCP function test method, detected terminal and detection terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1607793A (en) * 2003-09-26 2005-04-20 创世纪微芯片公司 Packet based high definition high-bandwidth digital content protection
CN101557488A (en) * 2008-04-07 2009-10-14 联发科技股份有限公司 Medium content providing method, high definition multimedia interface system and original device
CN101615150A (en) * 2009-07-24 2009-12-30 中兴通讯股份有限公司 Data processing method and device based on embedded database
CN102665089A (en) * 2012-03-29 2012-09-12 深圳创维数字技术股份有限公司 HDCP function test method, detected terminal and detection terminal

Also Published As

Publication number Publication date
CN103324550A (en) 2013-09-25

Similar Documents

Publication Publication Date Title
EP3377974B1 (en) Separate link and array error correction in a memory system
US10061645B2 (en) Memory array and link error correction in a low power memory sub-system
CN108351820B (en) Protecting ECC locations when transferring correction data across a memory link
CN102347083A (en) Safe memory storage by internal operation verification
CN106463179A (en) Method, apparatus and system for handling data error events with memory controller
WO2019041396A1 (en) Method and system for protecting software data in display panel
CN101707056A (en) Method, system and mobile terminal for adjusting and displaying font size
US20150109861A1 (en) Secure memory which reduces degradation of data
CN101388256B (en) Controller and method for generating Low-level error-correction code for a memory device
CN103324550B (en) The inspection of HDCP key data and backup method and device
US8006045B2 (en) Dummy write operations
US20110219266A1 (en) System and Method of Testing an Error Correction Module
CN100424651C (en) TV set important data backup and recovering method
US20170293336A1 (en) Method for reading identification data from display device and associated processing circuit
CN107515737A (en) A kind of method for the configuration information word for loading MCU chip
CN104036827B (en) Fuse reparation based on position
TW200623335A (en) Method and system for correcting soft errors in memory circuit
US20220246110A1 (en) Dpu enhancement for improved hdcp user experience
TWI467412B (en) High-bandwidth digital content protection key data check and backup method and check and backup module for display device
CN107545185A (en) Android mobile terminal administration authority detection method, device, terminal and storage medium
CN103680402B (en) A kind of asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU and control method thereof
CN102411994B (en) Data verification method and apparatus for integrated circuit built-in memory
US20080263264A1 (en) Data access control system and method of memory device
US11593520B2 (en) Privacy enforcing memory system
US20150269034A1 (en) Field-Repair System and Method for Large-Capacity Mask-Programmed Read-Only Memory

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160504

Termination date: 20170322

CF01 Termination of patent right due to non-payment of annual fee