[summary of the invention]
The technical problem to be solved in the present invention provides a kind of programming method of HDMI interface message processor (IMP) HDCP sign indicating number of the uniqueness that can guarantee the programming data.
Another technical problem that the present invention will solve provides a kind of programming device of HDMI interface message processor (IMP) HDCP sign indicating number of the uniqueness that can guarantee the programming data.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is that a kind of programming method of HDMI interface message processor (IMP) HDCP sign indicating number may further comprise the steps:
A. the data file that HDMI chip supplier encoding software partition encoding is generated generates HDMI broadband digital content protected code programming file once more, the content of HDMI broadband digital content protected code programming file comprises the chip bar code scope of this batch HDCP sign indicating number correspondence, and on each HDCP sign indicating number the appended sequence sign indicating number, sequence code is corresponding one by one with the chip bar code;
B. described HDMI broadband digital content protected code programming file is write in the memory of programming device;
C. will treat programming bar code of chip input programming device with the scanner of programming device;
D. the HDCP sign indicating number programming that the programming device will be corresponding with input chip bar code is in HDMI interface message processor (IMP) chip.
The programming method of above-described HDMI interface message processor (IMP) HDCP sign indicating number can be cut apart the data file that 1 HDMI chip supplier encoding software partition encoding generates a plurality of HDMI broadband digital content protected code programming files of generation once more in steps A.
The programming method of above-described HDMI interface message processor (IMP) HDCP sign indicating number, also comprise school inspection step: after step D finishes, the programming device further reads out the good data of programming in the HDMI interface message processor (IMP) chip again, carries out verification with the data in the programming device memory, guarantees the accuracy of institute's programming data.
The technical scheme that realizes the HDMI interface message processor (IMP) HDCP sign indicating number programming device of programming data uniqueness is that a kind of programming device of HDMI interface message processor (IMP) HDCP sign indicating number comprises microprocessor, memory and barcode scanner; Described memory stores has HDMI broadband digital content protected code programming file; Described barcode scanner connects with microprocessor, treats programming HDMI interface message processor (IMP) bar code of chip in order to scanning, with the data input microprocessor; Described microprocessor is connected with the HDMI interface message processor (IMP) for the treatment of programming with memory, and HDCP sign indicating number corresponding with the chip bar code in the memory is read also programming in HDMI interface message processor (IMP) chip.
The programming device of above-described HDMI interface message processor (IMP) HDCP sign indicating number, microprocessor is with memory and treat that the HDMI interface message processor (IMP) of programming preferably passes through I
2The C bus connects.
The programming device of above-described HDMI interface message processor (IMP) HDCP sign indicating number preferably also comprises the display circuit that is connected with microprocessor, and described display circuit is in order to show the operating state and the data message of programming device.
The programming device of above-described HDMI interface message processor (IMP) HDCP sign indicating number is characterized in that, also comprises the starting switch and the reset circuit that are connected with microprocessor, is used for start-up system and carries out system reset when system exception.
The programming device of above-mentioned HDMI interface message processor (IMP) HDCP sign indicating number, described microprocessor are that single chip computer AT 89C51, memory are chips W 29E040.
The content of the HDMI broadband digital content protected code programming file that the present invention generates has comprised the chip bar code scope of this batch HDCP sign indicating number correspondence, and has added sequence code on each HDCP sign indicating number, and sequence code is corresponding one by one with the chip bar code.The programming device according to the chip bar code of scanner input with the HDCP sign indicating number programming of correspondence in machine chips.The corresponding HDCP sign indicating number of each bar code of chip of this method, the bar code that scans as scanner is not in the chip bar code scope of this batch HDCP sign indicating number correspondence, and it is invalid then to import, and can not realize the programming of HDCP sign indicating number; A bar code of chip scans repeatedly with scanner, and programming is the same to the HDCP sign indicating number in the machine all the time, has guaranteed the uniqueness of HDCP sign indicating number programming data.Simultaneously, after machine pin is sold, just can find the related data of HDCP sign indicating number in the programming data as long as know bar code, realization can chase after retrospective.
[embodiment]
The theory diagram of the programming device of the HDMI interface message processor (IMP) HDCP sign indicating number that the present invention proposes comprises microprocessor (single chip computer AT 89C51), memory W29E040, barcode scanner, start-up circuit, reset circuit and LCD LCD as shown in Figure 1.Memory W29E040 is used to store HDMI broadband digital content protected code programming file, and barcode scanner connects with microprocessor, treats programming HDMI interface message processor (IMP) bar code of chip in order to scanning, and with the data input microprocessor of reading.Microprocessor is with memory W29E040 and treat that the HDMI interface message processor (IMP) of programming passes through I
2The C bus connects, and HDCP sign indicating number corresponding with the chip bar code among the memory W29E040 is read also programming in HDMI interface message processor (IMP) chip.Comprise the LCD LCD display circuit be connected with microprocessor, in order to show the operating state and the data message of programming device, be convenient to the user and operate.Start-up circuit, reset circuit with microprocessor connects are used for start-up system and carry out system reset when system exceptions.
The source of HDCP sign indicating number is the initial HDCP sign indicating number of buying from management association, it is the A code data, be characterized in: have relative versatility, the encoding software of promptly any HDMI chip supply commercialization oneself is handled this primary data, generates the chip operate as normal that new HDCP code data can make our company; Data volume is big, and a file has often comprised a hundreds of thousands HDCP sign indicating number, so generally will just can use each order through the file division operation.
The data file that generates through HDMI chip supplier encoding software partition encoding, i.e. B code data, be characterized in: the B code data is that a part of having cut apart the A code data generates through operation coding again; The B code data must corresponding use with the chip of respective vendor.
HDMI broadband digital content protected code programming file is to make the HDCP sign indicating number that software generates through HDCP code system of the present invention, hereinafter to be referred as the C code data.Be characterized in: the C code data is the data that are actually used in production, i.e. the data of programming in the programming device memory, and it derives from the B code data through cutting apart and generating with the stack of part producing data.Use the C code data must be in the bar code number scope of regulation, otherwise invalid.
The unified name of three kinds data file (suffix is called " .Bin "):
A code data file designation: date
X.Bin (on behalf of this, X the total quantity of HDCP sign indicating number is provided), as: 041220-500K.Bin refers to 500,000 HDCP sign indicating numbers that on December 20th, 04 provided, these data are filed by this method name back by use department by relevant design teacher or purchasing department buying back and the handing-over of use department.
What this file of B code data file designation: Encode.Bin was represented is the data that supplier's encoding software generates, and the filename of prompting input can be any during with this software, and the Encode.Bin filename is generated automatically by supplier's encoding software.
C code data file designation: #n.Bin (# represents the movement code name, and n is a C code data sequence number), this file is made software by HDCP code system of the present invention and is generated automatically, the data that are used for the actual programming of 6D97 movement that refer to as 6D976.Bin the 6th time generate.
The flow process of the programming method of HDMI interface message processor (IMP) HDCP sign indicating number of the present invention as shown in Figure 2.
Following mask body is introduced the process of whole HDCP sign indicating number programming and (is supposed that order number is 090978C-1, order volume is 10000, movement is 6W50, and HDMI interface supplier is a M company, and this order bar code starting symbol is 29T66HM-W302000) its operating procedure and method be as follows:
I, the partition encoding software that uses M company to provide produce the B code data.
II, do that software carries out secondary splitting to the B code data and the bar code starting symbol that superposes (the bar code starting symbol is the initial bar code number of corresponding certain order, provides by M company is unified) generates HDMI broadband digital content protected code programming file (C code data file) by the HDCP code system.
At first programming is in memory W29E040 to make file data that software generates by the HDCP code system, and HDMI broadband digital content protected code programming file data has following characteristics:
1. the setting of HDCP sign indicating number is stored in the sequential cells of memory W27E040, provides initial address by the designer, preceding 15 bytes are put initial bar code.
2. the initial address of the 1st HDCP sign indicating number is unified in 0x20, vacates preceding 32 bytes and is used for the peripheral essential information that minute book is criticized the HDCP sign indicating number.
3. this provides the total value of HDCP sign indicating number to be placed on 0x11 (high position) and 0x12 (low level) address location with compression-type Hex form, provides the HDCP sign indicating number of 1500 machines as this batch, is 05 in the 0x11 unit then, is DC in the 0x12 unit.
4. in 0x13 (high position) and 0x14 (low level) address, put into the effective word joint number (being the actual byte number that writes machine EEPROM) of the single HDCP sign indicating number of this batch data with the HEX form of compression-type, be fixed as 289 as M company, being 01 in the 0x13 unit then, is 21 in the 0x14 unit.
5. in 0x15 (high position) and 0x16 (low level) address, put into the total amount of byte (promptly comprising effective word joint number+5 add-word joint numbers of 3) of the single HDCP sign indicating number of this batch data with the HEX form of compression-type, be fixed as 300 as M company, being 01 in the 0x15 unit then, is 2C in the 0x16 unit.
6. there is extra byte to be used for the data management of supplier inside at the end of each HDCP sign indicating number, here to the Hex sequence code of last 4 bytes (from high to low) additional compression type of each HDCP sign indicating number, for increasing progressively+1 sequence, the homing sequence code value is not done requirement, but sequence code must be corresponding one by one with the chip bar code.Present embodiment adopts this to cut apart the starting symbol of big file (from the initial HDCP sign indicating number of association's purchase).To the 300th byte (lowest order) is additional sequence code arranged as the 296th byte (highest order) of M company 300 byte HDCP sign indicating numbers.
It is as follows that the HDCP code system is done the concrete operations of software (Fig. 3 is seen at its interface),
Selection company classification: the i.e. HDMI interface chip vendor class of this movement, just the B code data by which HDMI interface supplier software is generated, here just select corresponding company, it in the example M company, can show the corresponding data of the said firm at this moment in " effectively HDCP sign indicating number " on the interface and " HDCP sign indicating number size " hurdle automatically, need not artificial input.
Information such as input order.A, input order number: 090978C-1, order number wants corresponding with the order number of actual production, searches fast in index with convenient in the future; B, quantity on order: 10000, the quantity that this quantity and the B code data made are supported must consistent (be minimum production unit with order volume); C, initial bar code number: 29T66HM-W302000, this number unified branch by the format protocol of company's bar code; D, movement: 6W50, the movement code name of filling in here wants corresponding with the movement of actual production, searches conveniently to be unified in the index; E, click " are opened the file of having encoded ", the path and the filename of B code data among the input I; More than the input on each hurdle certain restriction is arranged, mouse moves to the relevant position and has relevant prompting, the input of mistake will not responded.
After above validation of information is errorless, click " beginning to make ", also can click " empty heavily and fill out " and remove the information of having imported; The runnable interface of software development such as Fig. 3, what show on " beginning to make " knob is the C code data filename that is generating.
Symbiosis became 8 files after the HDCP code system was made running software, and wherein the Encode.Bin file is the file that renames of B code data, and 6W501-6W506 is 6 actual programming data files, also had 1 supporting paper in addition.Supporting paper content such as Fig. 4.The content of this document folder through checking and approving after by the form file of Fig. 5, during file directly with folder name as the hyperlink object, be used for the data management of HDCP sign indicating number.
The programming of III, C code data:
Ready-made 6 actual programming data files are 6 C code data files, divide 6 times with the C code data with (just only putting the C code data of 1700 HDMI interface message processor (IMP)s among memory W27E040) among programming instrument programming to the 6 memory W27E040.And on each W27E040 memory, make sign, be 29T66HM-W302000 to W303699 as the scope of 6W501.Bin bar code.Then that programming is good W27E040 memory chip installs on the programming device of HDMI interface message processor (IMP) HDCP sign indicating number.Scanner with the programming device will be treated programming bar code of chip data input programming device by sweeping bar code, and the programming device just can be with HDCP sign indicating number programming corresponding with input chip bar code in the W27E040 memory in HDMI interface message processor (IMP) chip.After the data programming was entered, programming device microprocessor read out the data in the HDMI interface message processor (IMP) chip again, puts into the ROM of microprocessor, again with the W29E040 memory in data carry out verification, with the accuracy of the data that guarantee institute's programming.After first burning has the C code data on the W27E040 memory of 6W501.Bin data to use up, the W27E040 memory can be taken out and change second burning and have the W27E040 memory of 6W502.Bin data to continue to use.