CN103237252A - Method and device for burning set-top box storage chips - Google Patents

Method and device for burning set-top box storage chips Download PDF

Info

Publication number
CN103237252A
CN103237252A CN2013100949534A CN201310094953A CN103237252A CN 103237252 A CN103237252 A CN 103237252A CN 2013100949534 A CN2013100949534 A CN 2013100949534A CN 201310094953 A CN201310094953 A CN 201310094953A CN 103237252 A CN103237252 A CN 103237252A
Authority
CN
China
Prior art keywords
burning
top box
storage chip
data
crc check
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.)
Pending
Application number
CN2013100949534A
Other languages
Chinese (zh)
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.)
Shenzhen Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance 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 Shenzhen Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN2013100949534A priority Critical patent/CN103237252A/en
Publication of CN103237252A publication Critical patent/CN103237252A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a method and a device for burning set-top box storage chips. A set-top box is used as a master set-top box, burning data in the master set-top box is written into to-be-burnt target storage chips, parallel burning of multiple target storage chips of different technical platforms can be performed by the master set-top box, the burnt storage chips can be placed into target set-top boxes which can be then used as master set-top boxes for burning rest target storage chips, and accordingly burning efficiency and compatibility to various chip platform application are improved. Burning operation can be controlled by simple operation on a remote controller, and the method is simple to operate and easy to master and implement by operators. By CRC (cyclic redundancy check) of data in the master set-top box before burning and data in the target storage chips after burning and comparing CRC codes of the two, burning data reliability and completeness are improved.

Description

A kind of set-top box storage chip method for burn-recording and device
Technical field
The present invention relates to the set-top box technique field, more particularly, relate to a kind of set-top box storage chip method for burn-recording and device.
Background technology
The application software of set-top box is loaded and when upgrading, need carry out burning to the storage chip of set-top box.The method for burn-recording of existing set-top box storage chip typically uses cd-rom recorder, and the cd-rom recorder that is inserted with storage chip is connected with computer by data wire, by the operation burning program file data of preserving in the computer is burned onto storage chip.Because under the prerequisite that guarantees data copy accuracy, computer is limited to the load capacity that a plurality of storage chips copy simultaneously, therefore the cd-rom recorder of selling in the market mostly is 4 seats or 8 seats greatly, can only support once 4 or 8 chips of burning simultaneously.Because the replication rate of cd-rom recorder is slow, be difficult to satisfy the demand of producing the factory of several thousand even several ten thousand equipment in a day, bigger to the production efficiency influence of factory.Except using cd-rom recorder to carry out burning chip, also has the method for carrying out burning by serial equipments such as USB in the prior art, the chip for the treatment of burning is connected with the computer that stores burning data or master card by data-interfaces such as USB mouths, the burning data in computer or the master card is copied and writes the storage chip that need carry out burning.Though this method is not used cd-rom recorder, under the limited condition of computer equipment number, the lifting of replication rate is limited; In addition, also need specific burning control program on burning personnel operation and the operation computer, complex steps is had relatively high expectations to burning personnel's technical merit.
On the other hand, because the electrical characteristic of storage chip in the process of read/write data, easily produces the bit counter-rotating, cause the data of burning wrong.Traditional cd-rom recorder adopts ECC(Error Checking and Correcting, error checking and correction) algorithm carries out verification to the data of burned storage chip, owing to constantly rewrite data to internal memory when the mechanism for correcting errors of ECC can cause the verification failure, use the ECC verification to make that the system handles expense is bigger.In addition, the ECC checking algorithm difference that the different software developer adopts, the burning mode of this customization ECC algorithm causes certain type cd-rom recorder to carry out burning to the chip of a certain type of a certain platform, lacks the versatility at the various chips platform application.If adopt the USB connection device to carry out burning, the burning data of depositing in the memory device such as computer or USB may be owing to reasons such as file corruption or viruses, make that original recordable paper is wrong, prior art also has the CRC(Cyclic of use Redundancy Check, cyclic redundancy check (CRC)) file data of algorithm before to burning carries out verification, but lack the data after the burning are carried out verification, it is consistent to guarantee to be burned onto the preceding initial data of data and burning in the storage chip.
Summary of the invention
The technical problem to be solved in the present invention is, above-mentioned replication rate at prior art is slow, complex operation, can't guarantee the defective that burning data reliability and range of application are narrow, a kind of burning efficient height is provided, easy and simple to handle, reliability height and the set-top box storage chip method for burn-recording and the device that are applicable to multiple different chip platforms.
The technical solution adopted for the present invention to solve the technical problems is: a kind of set-top box storage chip method for burn-recording is provided, and described method comprises step:
S1, set-top box of use are as the machine tool top box, and the machine tool top box comprises memory, control processor, USB interface; Store first burning data in the memory in advance; The machine tool top box is connected with the USB conversion equipment by USB interface; The USB conversion equipment comprises a plurality of conversion chip interfaces that are connected with storage chip;
S2, a plurality of target storage chips that need burning are inserted a plurality of conversion chip interfaces of USB conversion equipment respectively;
S3, control processor scan by the conversion chip interface of USB interface to the USB conversion equipment, detect whether there is the target storage chip, if exist, then enter step S4;
S4, control processor read first burning data in the memory, and by USB interface first burning data are write the target storage chip, generate second burning data.
In set-top box storage chip method for burn-recording of the present invention, when not having first burning data in the memory, the control processor reads recordable paper by USB interface from External memory equipment, recordable paper include file information and CRC check sign indicating number, and with the recordable paper write memory, generate first burning data.
In set-top box storage chip method for burn-recording of the present invention, the machine tool top box also comprises input interface, before the step S4, also comprises step:
The startup burning instruction that S31, reception input interface send starts the burning operation.
In set-top box storage chip method for burn-recording of the present invention, the machine tool top box also comprises the demonstration output interface, and step S4 specifically comprises:
S41, first burning data is carried out CRC check, obtain the first CRC check sign indicating number, judge whether verification is correct, if then enter step S42; If not, then to showing that output interface sends recordable paper verification error message;
S42, in the control processor, preserve the first CRC check sign indicating number;
S43, read first burning data in the memory, first burning data is write the target storage chip by USB interface, generate second burning data;
S44, read second burning data in the target storage chip and write memory by USB interface;
S45, second burning data in the memory is carried out CRC check, obtain the second CRC check sign indicating number;
Whether S46, the comparison second CRC check sign indicating number be consistent with the first CRC check sign indicating number, if, then to showing that output interface sends the burning successful information; If not, then to showing that output interface sends burning failure information.
In set-top box storage chip method for burn-recording of the present invention, step S43 specifically comprises:
S431, by USB interface the piece of target storage chip is scanned detection, identify bad piece, set up bad block information table;
S432, according to target the block size of storage chip carries out piecemeal to first burning data;
S433, according to bad block information table, by piece first burning data is write in the good piece of target storage chip, until first burning data is all write the target storage chip successively.
In set-top box storage chip method for burn-recording of the present invention, a plurality of target storage chips of burning are positioned over respectively in a plurality of target set-top box, and use a plurality of target set-top box as a plurality of machine tool top boxs, and by set-top box storage chip method for burn-recording of the present invention the target storage chip of not burning is carried out burning.
The present invention also provides a kind of set-top box storage chip burning device, use a set-top box as the machine tool top box, the machine tool top box comprises memory, control processor, USB interface, store first burning data in the memory in advance, described device is used for described first burning data is write a plurality of target storage chips that need burning, a plurality of objective chip are connected with the machine tool top box by the USB conversion equipment, and described device comprises:
The interface scans module is used for scanning by the conversion chip interface of USB interface to the USB conversion equipment, detects whether there is the target storage chip;
Second data generation module is used for reading first burning data of memory, and first burning data is write the target storage chip by USB interface, generates second burning data.
In set-top box storage chip burning device of the present invention, described device also comprises:
First data generation module is used for reading recordable paper by USB interface from External memory equipment, and recordable paper include file information and CRC check sign indicating number write described memory with recordable paper, generate first burning data.
In set-top box storage chip burning device of the present invention, the machine tool top box also comprises input interface, and described device also comprises:
The first verification module is used for first burning data is carried out CRC check, obtains the first CRC check sign indicating number, and relatively whether the first CRC check sign indicating number is consistent with the CRC check sign indicating number that comprises in the recordable paper;
Preserve module, be used for the first CRC check sign indicating number is kept at the control processor;
Second data read-write module, for second burning data that reads the target storage chip by USB interface, and write memory;
The second verification module is used for second burning data of memory is carried out CRC check, obtains the second CRC check sign indicating number;
Comparison module is used for relatively whether the first CRC check sign indicating number is consistent with the second CRC check sign indicating number;
Start module, be used for receiving the startup burning instruction that input interface sends, start the burning operation.
In set-top box storage chip burning device of the present invention, second data generation module specifically comprises:
Bad piece identification module is used for by USB interface the piece of target storage chip being scanned detection, identifies bad piece, and sets up bad block information table;
The deblocking module is used for reading first burning data, and with first burning data according to target the block size of storage chip carry out piecemeal;
Block data writing module: be used for according to bad block information table, by piece first burning data write in the good piece of target storage chip successively.
Implement set-top box storage chip method for burn-recording of the present invention and device, has following beneficial effect: at first, by using a set-top box as the machine tool top box, burning data in the machine tool top box write by the USB conversion equipment needs the target of burning storage chip, can realize simultaneously a plurality of target storage chips of different platform being carried out parallel programming by the machine tool top box, improve the compatibility to the various chips platform application; And, by the target storage chip of a plurality of burnings is put into a plurality of target set-top box respectively, again by target set-top box as the machine tool top box, the target storage chip that remains not burning is carried out the expanded type burning, can improve burning efficient greatly.Next only needs by remote controller is carried out shirtsleeve operation, can realize the control to the burning operation, and is easy and simple to handle, is easy to burning personnel grasp and enforcement.Moreover, by to data before the burning in the machine tool top box, and data are carried out CRC check respectively after the burning in the target storage chip, and twice CRC check sign indicating number compared, and before burning data is write the target storage chip, the bad piece of target storage chip is identified detection, improved reliability and the integrality of burning data.At last, replace the ECC checking algorithm by using the CRC check algorithm, improved the verification accuracy, and can verify simultaneously the burning data of the storage chip of kinds of platform, accelerated the whole verification speed of burning data.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the principle schematic of the set-top box storage chip method for burn-recording institute operative installations of first embodiment of the invention;
Fig. 2 is the set-top box storage chip method for burn-recording flow chart of first embodiment of the invention;
Fig. 3 is the detail flowchart of execution in step S240 in the first embodiment of the invention shown in Figure 2;
Fig. 4 is the detail flowchart of execution in step S243 in the first embodiment of the invention shown in Figure 3;
Fig. 5 is the set-top box storage chip method for burn-recording schematic flow sheet of second embodiment of the invention.
Fig. 6 is the set-top box storage chip burning device structure chart of third embodiment of the invention;
Fig. 7 is the detailed structure view of second data generation module 620 in the third embodiment of the invention.
Embodiment
Understand for technical characterictic of the present invention, purpose and effect being had more clearly, now contrast accompanying drawing and describe the specific embodiment of the present invention in detail.
Fig. 1 is the principle schematic of the set-top box storage chip method for burn-recording institute operative installations of first embodiment of the invention.As shown in Figure 1, in the first embodiment of the present invention, used a set-top box as machine tool top box 110,16 target storage chips of a target storage chip 141-156(burning of hypothesis with burning) be connected with machine tool top box 110 by USB conversion equipment 120, to realize that the recordable paper data in the machine tool top box 110 are write target storage chip 141-156.Wherein, machine tool top box 110 comprises: memory 111, control processor 112, usb 1 13; Preferably, machine tool top box 110 also comprises: input interface 114 and demonstration output interface 115; The conversion storage chip interface 122-137(hypothesis USB conversion equipment that USB conversion equipment 120 comprises usb 1 21, be connected with storage chip has 16 conversion storage chip interfaces).The input interface 114 of machine tool top box 110 is used for receiving the control command of remote controller or set-top box control panel, and issues control processor 112, is controlled by unlatching and the end of 112 pairs of burning operations of control processor.Machine tool top box 110 is connected with USB conversion equipment 120 by usb 1 13 by showing that output interface 115 is connected with external display device 160.USB conversion equipment 120 is connected with target storage chip 141-156 by conversion chip interface 122-137, and target storage chip 141-156 is converted to the discernible USB device of machine tool top box, thereby realize target storage chip 141-156 is connected with machine tool top box 110 by usb 1 21.Machine tool top box 110 carries out burning by 13 pairs of target storage chips of usb 1 141-156, compares the method for burn-recording that adopts traditional cd-rom recorder, has increased the chip-count of a burning, has improved burning efficient; And, the target storage chip of a plurality of burnings can be put into a plurality of target set-top box respectively, again by target set-top box as the machine tool top box, the target storage chip that remains not burning is carried out the expanded type burning, such as, use 16 storage chips of machine tool top box burning earlier, again 16 storage chips that burning is good are installed in 16 set-top box, as the machine tool top box 16 * 16 storage chips that remain not burning are carried out parallel programming by these 16 set-top box, and the rest may be inferred, can improve replication rate greatly.In addition, the present invention only needs by remote controller is carried out shirtsleeve operation, can realize the control to the burning operation, compare by the burning program control USB device of operation computer chip is carried out method for burn-recording, simplify the burning step, reduced the complicated operation degree, be easy to burning personnel grasp and enforcement.
Fig. 2 is the set-top box storage chip method for burn-recording flow chart of first embodiment of the invention.As shown in Figure 2, in the first embodiment of the present invention, method comprises the steps:
S210, set-top box of use are as the machine tool top box, and the machine tool top box comprises memory, control processor, USB interface; Store first burning data in the memory in advance; The machine tool top box is connected with the USB conversion equipment by USB interface; The USB conversion equipment comprises a plurality of conversion chip interfaces that are connected with storage chip;
S220, a plurality of target storage chips that need burning are inserted a plurality of conversion chip interfaces of USB conversion equipment respectively;
S230, control processor scan by the conversion chip interface of USB interface to the USB conversion equipment, detect whether there is the target storage chip, if exist, then enter step S240;
S240, control processor read first burning data in the memory, and by USB interface first burning data are write the target storage chip, generate second burning data.
In the first embodiment of the present invention shown in Fig. 2, among the step S210, in advance recordable paper is generated the CRC check sign indicating number, be used for the recordable paper data that write machine tool top box and target storage chip are carried out verification.When not having the recordable paper data in the memory of machine tool top box, the control processor reads recordable paper by USB interface or other serial line interface from External memory equipment.Owing to the recordable paper of depositing in the External memory equipments such as computer or USB may make that original burning data is wrong owing to reasons such as virus or file corruption.Therefore, need carry out verification to the recordable paper that writes in the machine tool top box memory.The present invention adopts the CRC check algorithm that original recordable paper data are verified, guarantees reliable burning data is write the target storage chip, has improved reliability and the validity of burning.Preferably, if do not detect the target storage chip, then send the conversion chip interface number information that does not detect burning/recording chip to the demonstration output interface among the step S230.Among the step S240, the control processor is multithreading, and first burning data side by side is written in parallel to a plurality of target storage chips.The chip number of burning simultaneously (being generally 16-32) is relevant with the disposal ability of the control processor of machine tool top box, if adopt the high performance of control processor, can realize the chip more than 32 is carried out the while burning.
Preferably, before step S220, further comprising the steps of: as to receive the startup burning instruction that input interface sends, start the burning operation.Wherein, input interface receives the burning control command that is sent by remote controller or set-top box control panel.The burning personnel only need to carry out simple operations to remote controller or control panel, can realize the startup of burning and control such as close.
Fig. 3 is the detail flowchart of execution in step S240 in the first embodiment of the invention shown in Figure 2.As shown in Figure 3, in the first embodiment of the present invention, step S240 specifically comprises:
S241, first burning data is carried out CRC check, obtain the first CRC check sign indicating number, judge whether verification is correct, if then enter step S242; If not, then to showing that output interface sends recordable paper verification error message;
S242, in the control processor, preserve the first CRC check sign indicating number;
S243, read first burning data in the memory, first burning data is write the target storage chip by USB interface, generate second burning data;
S244, read second burning data in the target storage chip and write memory by USB interface;
S245, second burning data in the memory is carried out CRC check, obtain the second CRC check sign indicating number;
Whether S246, the comparison second CRC check sign indicating number be consistent with the first CRC check sign indicating number, if, then to showing that output interface sends the burning successful information; If not, then to showing that output interface sends burning failure information.
In the first embodiment of the present invention shown in Fig. 3, among the step S243, owing to use the machine tool top box to carry out the burning of a large amount of target storage chips is normally multiple batches of, so need fixedly be stored in the storage area of control processor inside by the first CRC check sign indicating number that verification is correct, carry out verification for use in the burning data that generates after the target storage chip burning to different batches, the CRC check sign indicating number of double counting first burning data when avoiding controlling every batch of burning of processor.
Because the electrical characteristic of storage chip (especially Flash chip), bit reversal takes place in storage chip easily in the process that reads, writes data, and the data that cause burning to produce are wrong.Therefore, need verify the burning data that is burnt in the target storage chip.Step S244, S245 and S246 write back second burning data memory of machine tool top box, second burning data is carried out CRC check obtain the second CRC check sign indicating number, and the second CRC check sign indicating number and the first CRC check sign indicating number compared, guarantee that burning writes data before data in the target storage chip and the burning in the machine tool top box, and with original recordable paper data consistent.The present invention carries out CRC check twice to the file data before and after the burning, compares the burning mode of only burning preceding document data being carried out verification, has further improved the reliability of burning data; Compare the verification mode at a certain platform cd-rom recorder customization ECC algorithm, improved the verification accuracy, and can verify simultaneously the burning data of the storage chip of different platform, accelerated the whole verification speed of burning data.
Fig. 4 is the detail flowchart of execution in step S243 in the first embodiment of the invention shown in Figure 3.As shown in Figure 4, in the first embodiment of the present invention, step S243 specifically comprises:
S2431, by USB interface the piece of target storage chip is scanned detection, identify bad piece, set up bad block information table;
S2432, according to target the block size of storage chip carries out piecemeal to first burning data;
S2433, according to bad block information table, by piece first burning data is write in the good piece of target storage chip, until first burning data is all write the target storage chip successively.
In the first embodiment of the present invention shown in Fig. 4, because the storage chip production Technology, manufacturer only guarantees that first piece of chip is good usually, if data are write bad piece, then can cause burning data imperfect and make a mistake.The present invention identifies and detects the bad piece of target storage chip before to the programming of target storage chip, sets up the information such as address of bad piece.Carry out data and write fashionablely, skip bad piece, burning data is write in the good piece of target memory successively by piece, thereby guaranteed that burning writes the integrality of data.
Fig. 5 is the set-top box storage chip method for burn-recording schematic flow sheet of second embodiment of the invention.As shown in Figure 5, in the second embodiment of the present invention, preferably, the memory in the machine tool top box is divided into external memory and internal memory, and wherein, the former still preserves content at power down, and the latter is generally comprised within the processor; In the present embodiment, carrying out method step S240 of the present invention specifically comprises:
Step S241 ', first burning data in the external memory is carried out CRC check, obtains the first CRC check sign indicating number, and with recordable paper in the CRC check sign indicating number that comprises compare, judge whether that verification is correct, if then enter step S242 '; If not, then to showing that output interface sends recordable paper verification error message;
Step S242 ', first burning data in the external memory is write the internal memory of machine tool top box, the first CRC check sign indicating number that verification is correct is stored in the storage area of control processor inside;
Step S243 ', read first burning data in the internal memory, by USB interface first burning data is write the target storage chip, generate second burning data;
Step S244 ', read second burning data in the target storage chip and write memory by USB interface;
Step S245 ', second burning data in the internal memory is carried out CRC check, obtain the second CRC check sign indicating number;
Step S246 ', relatively whether the second CRC check sign indicating number is consistent with the described first CRC check sign indicating number, if, then to showing that output interface sends the burning successful information; If not, then to showing that output interface sends burning failure information.
In the second embodiment of the present invention shown in Fig. 5, first burning data is stored in the external memory in the machine tool top box, if the first burning data verification correctly then read first burning data and write memory from external memory, from internal memory, read first burning data again and write the target storage chip, from the target storage chip, read second burning data, and the internal memory that writes back to the machine tool top box is used for verification.Because the internal memory in the set-top box is generally volatile memory, be mainly used in storage system working procedure, intermediate data and with external memory (such as hard disk etc.) swap data, in case the outage or break down, data in the internal memory are namely lost, and are in the external memory so the recordable paper data need be kept at non-volatile memory, otherwise, when cutting off the power supply or breaking down, need from computer, to copy recordable paper again to the machine tool top box, and carry out verification again, reduced burning efficient.In addition, external memory in the machine tool top box is generally storage chip, when the storage chip in the machine tool top box (female storage chip) and target storage chip are the chip of same platform, could between female storage chip and target storage chip, directly carry out reading and writing data.When the Platform Type of female storage chip and target storage chip not simultaneously, with the elder generation of first burning data in female storage chip write memory, write the target storage chip by internal memory more earlier.Otherwise, when second burning data is write back the machine tool top box for verification, with the second burning data write memory, but not female storage chip, thereby realized having improved the compatibility to the various chips platform application by using the machine tool top box that the storage chip of different platform is read while write.
The set-top box storage chip burning device structure chart of Fig. 6 third embodiment of the invention.As shown in Figure 6, in the third embodiment of the present invention, use a set-top box as the machine tool top box, the machine tool top box comprises memory, control processor, USB interface, store first burning data in the memory in advance, described device is used for described first burning data is write a plurality of target storage chips that need burning, and a plurality of objective chip are connected with the machine tool top box by the USB conversion equipment, and device comprises:
Interface scans module 610 is used for scanning by the conversion chip interface of USB interface to the USB conversion equipment, detects whether there is the target storage chip;
Second data generation module 620 is used for reading first burning data of memory, and first burning data is write the target storage chip by USB interface, generates second burning data.
Preferably, the machine tool top box also comprises input interface, and the set-top box storage chip burning device of present embodiment also comprises:
First data generation module 630 is used for reading recordable paper by USB interface from External memory equipment, and recordable paper include file information and CRC check sign indicating number write described memory with recordable paper, generate first burning data.
The first verification module 640 is used for first burning data is carried out CRC check, obtains the first CRC check sign indicating number, and relatively whether the first CRC check sign indicating number is consistent with the CRC check sign indicating number that comprises in the recordable paper;
Preserve module 650, be used for the first CRC check sign indicating number is kept at the control processor;
Second data read-write module 660, for second burning data that reads the target storage chip by USB interface, and write memory;
The second verification module 670 is used for second burning data of memory is carried out CRC check, obtains the second CRC check sign indicating number;
Comparison module 680 is used for relatively whether the first CRC check sign indicating number is consistent with the second CRC check sign indicating number;
Preferably, the machine tool top box comprises external memory and internal memory, and first data generation module 630 also is used for and will writes the external memory of machine tool top box by USB interface or serial ports from the recordable paper that External memory equipment reads, and generates first burning data; Preserve module 650 and also be used for reading first burning data from the external memory of machine tool top box, and first burning data is write the internal memory of machine tool top box; Second data generation module 620 also is used for reading first burning data of internal memory, and first burning data is write the target storage chip, generates second burning data; Second data read-write module 660 also is used for reading by USB interface second burning data of target storage chip, and with the second burning data write memory; The second verification module 670 also is used for second burning data of internal memory is carried out CRC check, obtains the second CRC check sign indicating number.
Preferably, the set-top box storage chip burning device of present embodiment also comprises:
Start module 690, be used for receiving the startup burning instruction that input interface sends, start the burning operation.
Fig. 7 is the detailed structure view of second data generation module 620 in the third embodiment of the invention.Show that as Fig. 7 in the 3rd embodiment of set-top box storage chip burning device of the present invention, second data generation module 620 specifically comprises:
Bad piece identification module 621 is used for by USB interface the piece of target storage chip being scanned detection, identifies bad piece, and sets up bad block information table;
Deblocking module 622 is used for reading first burning data, and with first burning data according to target the block size of storage chip carry out piecemeal;
Block data writing module 623: be used for according to bad block information table, by piece first burning data write in the good piece of target storage chip successively.
By reference to the accompanying drawings embodiments of the invention are described above; but the present invention is not limited to above-mentioned embodiment; above-mentioned embodiment only is schematic; rather than it is restrictive; those of ordinary skill in the art is under enlightenment of the present invention; not breaking away under the scope situation that aim of the present invention and claim protect, also can make a lot of forms, these all belong within the protection of the present invention.

Claims (10)

1. set-top box storage chip method for burn-recording is characterized in that described method comprises step:
S1, set-top box of use are as the machine tool top box, and described machine tool top box comprises memory, control processor, USB interface; Store first burning data in the described memory in advance; Described machine tool top box is connected with the USB conversion equipment by described USB interface; Described USB conversion equipment comprises a plurality of conversion chip interfaces that are connected with storage chip;
S2, a plurality of target storage chips that need burning are inserted a plurality of conversion chip interfaces of described USB conversion equipment respectively;
S3, described control processor scan by the described conversion chip interface of described USB interface to described USB conversion equipment, detect whether to have described target storage chip, if exist, then enter step S4;
S4, described control processor read described first burning data in the described memory, and by described USB interface described first burning data are write described target storage chip, generate second burning data.
2. set-top box storage chip method for burn-recording according to claim 1, it is characterized in that, when not having described first burning data in the described memory, described control processor reads recordable paper by described USB interface from External memory equipment, described recordable paper include file information and CRC check sign indicating number, and described recordable paper write described memory, generate described first burning data.
3. set-top box storage chip method for burn-recording according to claim 1 is characterized in that, described machine tool top box also comprises input interface, before the described step S4, also comprises step:
The startup burning instruction that S31, the described input interface of reception send starts the burning operation.
4. according to the set-top box storage chip method for burn-recording of claim 1 or 2, it is characterized in that described machine tool top box also comprises the demonstration output interface, described step S4 specifically comprises:
S41, described first burning data is carried out CRC check, obtain the first CRC check sign indicating number, judge whether verification is correct, if then enter step S42; If not, then send recordable paper verification error message to described demonstration output interface;
S42, in described control processor, preserve the described first CRC check sign indicating number;
S43, read described first burning data in the described memory, described first burning data is write described target storage chip by described USB interface, generate second burning data;
S44, read described second burning data in the described target storage chip by described USB interface, and write described memory;
S45, described second burning data in the described memory is carried out CRC check, obtain the second CRC check sign indicating number;
Whether S46, the more described second CRC check sign indicating number be consistent with the described first CRC check sign indicating number, if then send the burning successful information to described demonstration output interface; If not, then send burning failure information to described demonstration output interface.
5. set-top box storage chip method for burn-recording according to claim 4 is characterized in that described step S43 specifically comprises:
S431, by described USB interface the piece of described target storage chip is scanned detection, identify bad piece, set up bad block information table;
S432, by the block size of described target storage chip described first burning data is carried out piecemeal;
S433, according to described bad block information table, described first burning data is write in the good piece of described target storage chip, until described first burning data is all write described target storage chip by piece successively.
6. set-top box storage chip method for burn-recording according to claim 1, it is characterized in that, the a plurality of described target storage chip of burning is positioned over respectively in a plurality of target set-top box, and use a plurality of described target set-top box as a plurality of described machine tool top boxs, and by described method the target storage chip of not burning is carried out burning.
7. set-top box storage chip burning device, it is characterized in that, use a set-top box as the machine tool top box, described machine tool top box comprises memory, control processor, USB interface, store first burning data in the described memory in advance, described device is used for described first burning data is write a plurality of target storage chips that need burning, and a plurality of described objective chip are connected with described machine tool top box by the USB conversion equipment, and described device comprises:
The interface scans module is used for scanning by the conversion chip interface of described USB interface to described USB conversion equipment, detects whether there is the target storage chip;
Second data generation module is used for reading described first burning data of described memory, and described first burning data is write described target storage chip by described USB interface, generates second burning data.
8. set-top box storage chip burning device according to claim 7, described device also comprises:
First data generation module is used for reading recordable paper by described USB interface from External memory equipment, and described recordable paper include file information and CRC check sign indicating number write described memory with described recordable paper, generate first burning data.
9. according to claim 7 or 8 described set-top box storage chip burning devices, described machine tool top box also comprises input interface, and described device also comprises:
The first verification module is used for described first burning data is carried out CRC check, obtains the first CRC check sign indicating number, and whether the more described first CRC check sign indicating number is consistent with the CRC check sign indicating number that comprises in the described recordable paper;
Preserve module, be used for the described first CRC check sign indicating number is kept at described control processor;
Second data read-write module is used for reading described second burning data of described target storage chip by described USB interface, and writes described memory;
The second verification module is used for second burning data of described memory is carried out CRC check, obtains the second CRC check sign indicating number;
Comparison module, whether be used for the more described first CRC check sign indicating number consistent with the described second CRC check sign indicating number;
Start module, be used for receiving the startup burning instruction that described input interface sends, start the burning operation.
10. set-top box storage chip burning device according to claim 7 is characterized in that, described second data generation module specifically comprises:
Bad piece identification module is used for by described USB interface the piece of described target storage chip being scanned detection, identifies bad piece, and sets up bad block information table;
The deblocking module is used for reading described first burning data, and described first burning data is carried out piecemeal by the block size of described target storage chip;
Block data writing module: be used for according to described bad block information table, by piece described first burning data write in the good piece of described target storage chip successively.
CN2013100949534A 2013-03-22 2013-03-22 Method and device for burning set-top box storage chips Pending CN103237252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100949534A CN103237252A (en) 2013-03-22 2013-03-22 Method and device for burning set-top box storage chips

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100949534A CN103237252A (en) 2013-03-22 2013-03-22 Method and device for burning set-top box storage chips

Publications (1)

Publication Number Publication Date
CN103237252A true CN103237252A (en) 2013-08-07

Family

ID=48885263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100949534A Pending CN103237252A (en) 2013-03-22 2013-03-22 Method and device for burning set-top box storage chips

Country Status (1)

Country Link
CN (1) CN103237252A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530157A (en) * 2013-10-18 2014-01-22 浪潮电子信息产业股份有限公司 Method for flashing VR chips in DOS
CN104598285A (en) * 2015-02-11 2015-05-06 北京京东方多媒体科技有限公司 Burning method and burning system
CN105072441A (en) * 2015-09-15 2015-11-18 广东九联科技股份有限公司 Set-top-box software detection method
CN105243042A (en) * 2015-09-30 2016-01-13 广东小天才科技有限公司 Data burning method and data burning apparatus
CN105575441A (en) * 2015-12-11 2016-05-11 格科微电子(上海)有限公司 Defect repair method and circuit for dynamic random access memory
CN105740031A (en) * 2016-03-08 2016-07-06 深圳市硅格半导体股份有限公司 Card activating method based on card activating external member and card activating external member
CN106792186A (en) * 2016-11-29 2017-05-31 青岛海信宽带多媒体技术有限公司 The middleware access control method and device of media network terminal
CN106792015A (en) * 2016-11-30 2017-05-31 广东九联科技股份有限公司 A kind of programming serial number of set-top box method and device
CN107026741A (en) * 2017-03-31 2017-08-08 科世达(上海)管理有限公司 Method and device is write with a brush dipped in Chinese ink in a kind of encryption based on network security
CN108491212A (en) * 2018-03-19 2018-09-04 广东美的暖通设备有限公司 Burning file method, equipment and computer readable storage medium
CN108800460A (en) * 2018-04-28 2018-11-13 奥克斯空调股份有限公司 Air-conditioning parameter configuration method and maintenance system
CN109165025A (en) * 2018-08-01 2019-01-08 京信通信系统(中国)有限公司 The offline method for burn-recording of chip, device, system, computer storage medium and equipment
CN109271176A (en) * 2018-08-09 2019-01-25 深圳市芯智科技有限公司 A kind of method of fast writing TypeC software
CN114079808A (en) * 2020-08-12 2022-02-22 深圳市兆驰数码科技股份有限公司 Serial port number burning equipment and method for multi-channel set top box
CN114125438A (en) * 2021-10-29 2022-03-01 深圳市华曦达科技股份有限公司 Verification method of burning data, detection equipment and computer readable storage medium
CN114173196A (en) * 2021-11-05 2022-03-11 深圳市华曦达科技股份有限公司 Data burning method and device and computer readable storage medium
CN114356806A (en) * 2021-12-31 2022-04-15 深圳宏芯宇电子股份有限公司 Quick card opening method and device and computer readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101135976A (en) * 2006-08-30 2008-03-05 扬智科技股份有限公司 Software update method and system
CN100429885C (en) * 2005-08-03 2008-10-29 上海乐金广电电子有限公司 Software updating method between set-top boxes
CN101605202A (en) * 2008-06-12 2009-12-16 深圳市同洲电子股份有限公司 Method for updating set-top box software and device
CN101753787A (en) * 2008-12-22 2010-06-23 康佳集团股份有限公司 Method for upgrading software of set top box with assistance of another set top box
CN101827193A (en) * 2009-12-08 2010-09-08 福建新大陆通信科技有限公司 System and method for realizing batch upgrade of set top boxes
CN201585034U (en) * 2009-11-23 2010-09-15 福建新大陆通信科技有限公司 System update device of plug-and-play digital set top box
CN101969524A (en) * 2010-05-26 2011-02-09 福建二菱电子有限公司 Method for writing/updating set-top box by using set-top box
CN102111654A (en) * 2009-12-23 2011-06-29 康佳集团股份有限公司 Set-top box software upgrading method and set-top box
CN102243592A (en) * 2011-07-01 2011-11-16 南京熊猫信息产业有限公司 Method and set top box for realizing multiple upgrading ways in Loader system
CN102622250A (en) * 2012-03-07 2012-08-01 四川长虹电器股份有限公司 Software upgrading method for set top box supporting multi-flash equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100429885C (en) * 2005-08-03 2008-10-29 上海乐金广电电子有限公司 Software updating method between set-top boxes
CN101135976A (en) * 2006-08-30 2008-03-05 扬智科技股份有限公司 Software update method and system
CN101605202A (en) * 2008-06-12 2009-12-16 深圳市同洲电子股份有限公司 Method for updating set-top box software and device
CN101753787A (en) * 2008-12-22 2010-06-23 康佳集团股份有限公司 Method for upgrading software of set top box with assistance of another set top box
CN201585034U (en) * 2009-11-23 2010-09-15 福建新大陆通信科技有限公司 System update device of plug-and-play digital set top box
CN101827193A (en) * 2009-12-08 2010-09-08 福建新大陆通信科技有限公司 System and method for realizing batch upgrade of set top boxes
CN102111654A (en) * 2009-12-23 2011-06-29 康佳集团股份有限公司 Set-top box software upgrading method and set-top box
CN101969524A (en) * 2010-05-26 2011-02-09 福建二菱电子有限公司 Method for writing/updating set-top box by using set-top box
CN102243592A (en) * 2011-07-01 2011-11-16 南京熊猫信息产业有限公司 Method and set top box for realizing multiple upgrading ways in Loader system
CN102622250A (en) * 2012-03-07 2012-08-01 四川长虹电器股份有限公司 Software upgrading method for set top box supporting multi-flash equipment

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530157A (en) * 2013-10-18 2014-01-22 浪潮电子信息产业股份有限公司 Method for flashing VR chips in DOS
CN104598285A (en) * 2015-02-11 2015-05-06 北京京东方多媒体科技有限公司 Burning method and burning system
US20170041139A1 (en) * 2015-02-11 2017-02-09 Beijing Boe Multimedia Technology Co., Ltd. Burning method and burning system
CN105072441A (en) * 2015-09-15 2015-11-18 广东九联科技股份有限公司 Set-top-box software detection method
CN105243042A (en) * 2015-09-30 2016-01-13 广东小天才科技有限公司 Data burning method and data burning apparatus
CN105575441A (en) * 2015-12-11 2016-05-11 格科微电子(上海)有限公司 Defect repair method and circuit for dynamic random access memory
CN105740031B (en) * 2016-03-08 2021-04-09 深圳市硅格半导体有限公司 Card opening method based on card opening external member and card opening external member
CN105740031A (en) * 2016-03-08 2016-07-06 深圳市硅格半导体股份有限公司 Card activating method based on card activating external member and card activating external member
CN106792186A (en) * 2016-11-29 2017-05-31 青岛海信宽带多媒体技术有限公司 The middleware access control method and device of media network terminal
CN106792015A (en) * 2016-11-30 2017-05-31 广东九联科技股份有限公司 A kind of programming serial number of set-top box method and device
CN107026741A (en) * 2017-03-31 2017-08-08 科世达(上海)管理有限公司 Method and device is write with a brush dipped in Chinese ink in a kind of encryption based on network security
CN108491212A (en) * 2018-03-19 2018-09-04 广东美的暖通设备有限公司 Burning file method, equipment and computer readable storage medium
CN108800460A (en) * 2018-04-28 2018-11-13 奥克斯空调股份有限公司 Air-conditioning parameter configuration method and maintenance system
CN109165025A (en) * 2018-08-01 2019-01-08 京信通信系统(中国)有限公司 The offline method for burn-recording of chip, device, system, computer storage medium and equipment
CN109271176A (en) * 2018-08-09 2019-01-25 深圳市芯智科技有限公司 A kind of method of fast writing TypeC software
CN114079808A (en) * 2020-08-12 2022-02-22 深圳市兆驰数码科技股份有限公司 Serial port number burning equipment and method for multi-channel set top box
CN114079808B (en) * 2020-08-12 2023-07-04 深圳市兆驰数码科技股份有限公司 Multi-channel set top box serial port number burning device and method
CN114125438A (en) * 2021-10-29 2022-03-01 深圳市华曦达科技股份有限公司 Verification method of burning data, detection equipment and computer readable storage medium
CN114173196A (en) * 2021-11-05 2022-03-11 深圳市华曦达科技股份有限公司 Data burning method and device and computer readable storage medium
CN114356806A (en) * 2021-12-31 2022-04-15 深圳宏芯宇电子股份有限公司 Quick card opening method and device and computer readable storage medium
CN114356806B (en) * 2021-12-31 2024-04-16 深圳宏芯宇电子股份有限公司 Fast card opening method, apparatus and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN103237252A (en) Method and device for burning set-top box storage chips
JP5427360B2 (en) Memory system based on flash memory
TWI444825B (en) Memory storage device, memory controller thereof, and method for programming data thereof
CN101231618B (en) Control method of a non-volatile memory apparatus
US8386905B2 (en) Error correcting method, and memory controller and memory storage system using the same
TWI443513B (en) Memory storage device, memory controller thereof, and method for programming data thereof
US8806301B2 (en) Data writing method for a flash memory, and controller and storage system using the same
CN105183497A (en) Method for automatically refreshing basic input/output systems (BIOSs) in batches by universal server
CN103136108B (en) Flash memory devices and method for reading data thereof
CN101599305A (en) Storage system with data repair function and data repair method thereof
KR20150029402A (en) Data storing system and operating method thereof
CN102043725B (en) Data writing method for flash memory as well as controller and storage system thereof
CN102955751A (en) Storer storage device, storer controller and data write-in method
CN101388256B (en) Controller and method for generating Low-level error-correction code for a memory device
CN116880782A (en) Embedded memory and testing method thereof
JP4256307B2 (en) Memory card
CN102737716B (en) Memorizer memory devices, Memory Controller and method for writing data
CN102981925A (en) Register inspection and checking control method applied to communication equipment
US20180181465A1 (en) Synchronized read and write flags for error-free memory module interface
JP2007265056A (en) Configuration apparatus for programmable logistic device
CN107168650B (en) Method and device for processing data in memory of BIOS
CN100490002C (en) Memory device for serial transmission interface and error correction method thereof
CN109390025A (en) Memory device and operation instruction error processing method
JP4359327B2 (en) Semiconductor integrated circuit device, IC card and inspection device
CN114203252A (en) Bad block detection method, device, equipment and storage medium of nonvolatile 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130807