CN100466086C - Data coding method and system - Google Patents

Data coding method and system Download PDF

Info

Publication number
CN100466086C
CN100466086C CNB031423523A CN03142352A CN100466086C CN 100466086 C CN100466086 C CN 100466086C CN B031423523 A CNB031423523 A CN B031423523A CN 03142352 A CN03142352 A CN 03142352A CN 100466086 C CN100466086 C CN 100466086C
Authority
CN
China
Prior art keywords
sign indicating
indicating number
data
visual examination
memory
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 - Lifetime
Application number
CNB031423523A
Other languages
Chinese (zh)
Other versions
CN1567458A (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.)
MediaTek Inc
Original Assignee
MediaTek Inc
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 MediaTek Inc filed Critical MediaTek Inc
Priority to CNB031423523A priority Critical patent/CN100466086C/en
Publication of CN1567458A publication Critical patent/CN1567458A/en
Application granted granted Critical
Publication of CN100466086C publication Critical patent/CN100466086C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

This invention is a kind of digital data encoding method and system. It can execute the two steps of calculating error-detection code and disarranging main data at the same time, so to decrease the time of accessing the first storage. It adds the second storage on the encoding system. When encoding the exterior parity check code, the encoding system can access more than one line data once, so to decrease the time of accessing the first storage again.

Description

Data-encoding scheme and system
Technical field
The present invention relates to a kind of data encording system and method, particularly relate to a kind of data encording system and method that is applied to optical recording system.
Background technology
Data when optical recording system writes optical record medium with data, need earlier data to be carried out a series of coding, so that can write in the optical storage medium for optical recording system.This with digital versatile disc (Digital Versatile Disc, DVD) system is an example, sees also Fig. 1, Fig. 1 is the process flow diagram of known DVD digital coding program key step.Known DVD digital coding program comprises the following step:
Step S110: storage data or title general data (main data) are formed a data segments (data sector) by temporary earlier to storer.
Step S112: data segments forms one and confuses data segments (scrambled data sector) via confusing (scramble) general data again.
Step S114:16 confuses data segments again through coding, and temporaryly forms a debug block (Error Correcting Code block, ECC block) to storer.
Step S116: a debug block is splitted into 16 record sections (recording sector).
Step S118: each record section is formed a physical zone (physical sector) that is recorded on the DVD through the modulation of 8-16 position.
Below in detail each step among Fig. 1 will be described in detail then.See also Fig. 2, Fig. 2 is the synoptic diagram of given data section (Data Sector) 10.Before general data is writing DVD, the necessary temporary earlier storer to the DVD register system, its form in storer is called data segments.10 storages of given data section comprise the error detecting code 22 of a verify data (identification data) 12, one authentication error detecting code 14, a copyright management information (copyright management information) 16, one general data (main data) 18 and one corresponding above-mentioned data, and the arrangement relative position of above-mentioned data in storer as shown in Figure 2.Verify data 12 has 4, and wherein first comprises the message of data segments 10, and its excess-three position is the number of representative data section 10 then.Authentication error detecting code 14 has 2, in order to detect the mistake of verify data 12.Copyright management information 16 has 6, with the foundation of exercising as these data segments 10 copyrights.General data 18 has 2048, and adding error detecting code 22 has 4, makes to have 2064 data altogether in the data segments 10.Known technology is divided into 12 * 172 matrix (12 row, 172 row) with a data segments and arranges and be stored in the storer.
Data write sequence in the data segments 10 is earlier to carry out the calculating of error detecting code and access authentication error detecting code 14 by the DVD register system at verify data 12.Behind access authentication error detecting code 14, just with verify data 12, authentication error detecting code 14, copyright management information 16 and general data 18 temporary to the storer as the relative position of Fig. 2.The DVD register system reads out the above-mentioned data that are recorded in the storer more afterwards, with the error detecting code 22 that calculates above-mentioned data; Again that verify data 12, authentication error detecting code 14, copyright management information 16 and general data 18 is temporary to storer together with error detecting code 22 at last.So far then finish the temporary and error detecting code calculation procedure of a data segments.
See also Fig. 3, Fig. 3 is the known data segments SS that confuses iSynoptic diagram.After finishing the data segments of Fig. 2, DVD reads the general data 18 in the storer once more, and it is confused and form one confuse data 24.Again 2048 the data 24 that confuse are write in the storer afterwards, confuse data segments (scrambled data sector) SS to finish one iOwing to confuse data 24 and general data 18 is all 2048, therefore confuse data segments SS iIn temporary mode of data ordering and data segments 10 there is no change.
See also Fig. 4, Fig. 4 is known debug block (Error Correcting Code block, ECCblock) 20 a synoptic diagram.Must carry out 16 times by general data to the program that confuses data segments, promptly must finish 16 and confuse data segments SS iAfter (i=0~15), the DVD register system just begins to make a debug block 20.According to the above-mentioned data segments SS that confuses iIn data array, 16 are confused data segments SS iShould be 192 * 172 matrix (192 row, 172 row).Then DVD reads out 16 data that confuse data segments to carry out the calculating of visual examination sign indicating number 26 and internal check sign indicating number 28.
(outer parity code, PO) 26 calculating are that 16 data that confuse delegation in the data segments of each calculating are to obtain one 16 visual examination sign indicating number of corresponding this row to so-called visual examination sign indicating number.After having calculated 16 data that confuse in the data segments totally 172 row, just calculate and finish and obtained whole group of visual examination sign indicating number 26, just it is temporary in 16 subsequently and confuses after last row of data segments.According to the above, the data array in the visual examination sign indicating number 26 is 16 * 172 matrix (16 row, 172 row).
(inner parity code, PI) 16 data that confuse each row in data segments and the whole group visual examination sign indicating number 26 are calculated in 28 calculating to the internal check sign indicating number, to obtain one 10 internal check sign indicating number of corresponding these row.After the data of having calculated totally 208 row, just obtained whole group of internal check sign indicating number 28.According to the above, the data array in the internal check sign indicating number 28 is 208 * 10 matrix (208 row, 10 row).
See also Fig. 5, Fig. 5 is known 16 record section RS iSynoptic diagram.After finishing the coding calculating of visual examination sign indicating number 26 and internal check sign indicating number 28, then must will put in order group visual examination sign indicating number 26 and split into 16 row visual examination sign indicating number PO i(i=0~15), and correspondingly respectively be inserted into 16 and confuse data segments SS iIn (i=0~15).The next column of last column data in the data segments is confused for each in the address of inserting, and then forms the data array of 13 row, is called record section RS this moment i(i=0~15).
As shown in Figure 1, after finishing above-mentioned steps, whole last step of DVD digital coding program is to read out 16 record section RS in storer one by one i(i=0~15), with carry out 8-16 data-modulated (eight-fourteen modulation, EFM).So that the DVD register system can be recorded as the physical zone (physical sector) among the DVD with contained data in the record section.
Next see also Fig. 6, Fig. 6 is known complete DVD digital coding program.Via above explanation, can find known DVD coding techniques, though its structure is rigorous, but carried out too many step, whole digital coding program comprises the following step:
Step S220: calculate the error detecting code of verify data 12, to obtain an authentication error detecting code 14.
Step S222: verify data 12, authentication error detecting code 14, copyright management information 16 and general data 18 is temporary to storer.
Step S224: read out the verify data 12, authentication error detecting code 14, copyright management information 16 and the general data 18 that are recorded in the storer, with the error detecting code 22 that calculates above-mentioned data.
Step S226: verify data 12, authentication error detecting code 14, copyright management information 16 and general data 18 is temporary to storer together with error detecting code 22, to finish the temporary and error detecting code calculation procedure of a data segments.
Step S228: read the general data 18 in the storer, and it is confused and form one confuse data 24.
Step S230: 2048 the data 24 that confuse are write in the storer, confuse data segments (scrambled data sector) SS to finish one i
Step S232: repeat said procedure (step S220 to S230) and confuse data segments SS to finish 16 i(i=0~15).When finish 16 confuse data segments after, carry out step 34.
Step S234: read out 16 data that confuse data segments to carry out the calculating of visual examination sign indicating number 26 and internal check sign indicating number 28.
Step S236: will put in order group visual examination sign indicating number 26 and split into 16 row visual examination sign indicating number PO i(i=0~15), and correspondingly respectively be inserted into 16 and confuse data segments SS iIn (i=0~15).
Step S238: in storer, read out 16 record section RS one by one i(i=0~15), with carry out 8-16 data-modulated (eight-fourteen modulation, EFM).
In the known technology, so complicated step causes repeatedly repeated access storer of DVD register system, makes the requirement for frequency range of storer increase.In addition, above-mentioned steps S226 and step S228 only are simple declarations, wherein also comprise repeatedly access memory and just can finish.In order to improve the problem of this respect, be necessary to propose a kind of technology that can reduce the repeated access storer, make DVD require to be minimized for the frequency range of storer.
Summary of the invention
One object of the present invention is to provide a kind of coding method to solve the too complicated problem of known technology step.
Another object of the present invention is to provide a kind of coded system, reduces the number of times of known technology access memory when the coding that carries out the debug block calculates, to reduce the requirement of optical recording system for storer.
The present invention is an a kind of digital data coding system.This numerical data comprises at least one header data and at least one section (sector) data, this general data of the corresponding representative of this header data.This coded system comprises a first memory, a header data writing module, confuses (scramble) module, an error detecting code generation module, a visual examination sign indicating number generation module and an internal check sign indicating number generation module.
This first memory comprises at least one memory block.This memory block comprises a data field.This data field comprises with a plurality of storage lines of arranged and a plurality of memory row with store data.
This header data writing module is in order to write to this header data in this data field.This confuses module is the corresponding data that confuse in order to this general data is confused, and this is confused data writes in this data field.This error detecting code generation module is in order to calculating this header data and this general data with corresponding generation one error detecting code, and this error detecting code is write in this data field.
This visual examination sign indicating number generation module is in order to read the data of being stored in the storage line at least at every turn, and calculated and a visual examination sign indicating number of corresponding this storage line, and after the data of in having calculated described storage line, having been stored, obtain one group of visual examination sign indicating number of corresponding described storage line.This internal check sign indicating number generation module is in order to read the data of being stored in the memory row at least at every turn, calculated and an internal check sign indicating number of corresponding this memory row, and behind the data of in having calculated described memory row, having been stored and this group visual examination sign indicating number, the one group of internal check sign indicating number that obtains corresponding this memory block and should organize the visual examination sign indicating number.
Coded system of the present invention and method be owing to reduced when confusing general data and the number of times of access memory when calculating error detecting code, and required step can be lacked than the step of known technology when therefore using the coding that the present invention carries out numerical data.In addition, the present invention all reserves the storage space of row in each data segments when forming the debug block, so that the internal check sign indicating number can write direct to storer, do not need the repeated access storer.Therefore the present invention can save the more frequency range of multi-memory than known technology.
Can be about the advantages and spirit of the present invention by following detailed Description Of The Invention and appended graphic being further understood.
Description of drawings
Fig. 1 is the process flow diagram of known DVD digital coding program key step.
Fig. 2 is the synoptic diagram of given data section.
Fig. 3 is the known synoptic diagram that confuses data segments.
Fig. 4 is the synoptic diagram of known debug block.
Fig. 5 is the synoptic diagram of known 16 record sections.
Fig. 6 is known complete DVD digital coding program.
Fig. 7 is the synoptic diagram of data encording system of the present invention.
Fig. 8 is the synoptic diagram of numerical data shown in Figure 7.
Fig. 9 is the synoptic diagram of two memory block of first memory shown in Figure 7.
Figure 10 is the process flow diagram of preferred embodiment coding method of the present invention.
Figure 11 is the synoptic diagram of another preferred embodiment data encording system of the present invention.
Embodiment
See also Fig. 7 and Fig. 8, Fig. 7 is the synoptic diagram of data encording system 30 of the present invention, and Fig. 8 is the synoptic diagram of the numerical data 50 of Fig. 7.Data encording system 30 of the present invention is in order to the numerical data 50 of encoding.Coded system 30 comprises a data reception module 32, a first memory 34, a header data writing module 36, and confuses module 38, an error detecting code generation module 40, a visual examination sign indicating number generation module 42, an internal check sign indicating number generation module 44, a second memory 46 and a modulation module 48.
As shown in Figure 8, numerical data 50 comprises at least one header data 52 and at least one general data (main data) 54, header data 52 corresponding representative general datas 54.In preferred embodiment of the present invention, numerical data comprises 16 general datas and corresponding 16 header data thereof.For convenience of description, only the coded system at a general data and corresponding header data thereof is illustrated, and all the other 15 general datas and corresponding header data thereof are with identical method coding.In an embodiment of the present invention, also comprised a verify data 72, an authentication error detecting code 74 and a copyright management information 76 in the header data 52, wherein authenticating error detecting code 74 is to get through calculating verify data 72.
As shown in Figure 7, data reception module 32 is in order to being received from computing machine or any external world or the inner numerical data of importing in order to the device of input data 50, and it is exported in other module of coded system 30 to carry out the coding of numerical data.
See also Fig. 9, Fig. 9 is two memory block S of first memory 34 shown in Figure 7 1, S 2Synoptic diagram.First memory 34 is a dynamic RAM (DRAM), and it comprises at least one memory block S i, and Fig. 9 shows two memory block S 1And S 2Each memory block S iComprise a data field 62, a visual examination sign indicating number district 64 and an internal check sign indicating number district 66.No matter data field 62, visual examination sign indicating number district 64 or internal check sign indicating number district 66 all comprise with a plurality of storage lines of arranged and a plurality of memory row with store data.In the preferred embodiment of the present invention, numerical data 50 is 16 memory block S that are temporary in respectively in the first memory 34 iIn (i=0~15), each memory block S iIn the data of data field 66 in order to be comprised in a temporary general data 54 and the corresponding header data 52 thereof.
As Fig. 7 and shown in Figure 9, header data writing module 36 is encoded verify data 72 produces authentication error detecting code 74, and in order to header data 52 is write in the data field 62.Verify data 72 in the header data 52, authentication error detecting code 74 and copyright management information 76 are relative positions of inserting in the data field 62.Confusing module 38 is the corresponding data 56 that confuse in order to general data 54 is confused, and this is confused data writes to relative position in the data field 62.40 of error detecting code generation modules are in order to calculating header data 52 and general data 54 with corresponding generation one error detecting code 58, and error detecting code 58 is write to relative position in the data field 62.Because coded system 30 of the present invention is to confuse general data and to calculate error detecting code two operations and carry out simultaneously, therefore to have saved the number of times of access first memory 34 compared to known technology, can effectively reduce the frequency range demand of storer.
After finishing the write operation of error detecting code, promptly finished one and confused the encoding operation of data segments.After having finished 16 encoding operations that confuse data segments, next just will carry out the coding of visual examination sign indicating number and internal check sign indicating number, finishing a debug block.
As shown in Figure 7, the data of visual examination sign indicating number generation module 42 in order to be stored in the predetermined quantity storage line in the numerical data of being formed by 16 data fields 62 that at every turn reads first memory 34 at least, directly delegation is wherein calculated and a visual examination sign indicating number of corresponding this storage line, and it is temporary earlier to second memory 46 to remain untapped line data, read the data that are stored in the second memory 46 afterwards more line by line, and calculated and a visual examination sign indicating number of corresponding this storage line.And after the data of in having calculated this predetermined quantity storage line, having been stored, obtain one group of visual examination sign indicating number of corresponding this predetermined quantity storage line.
In another embodiment of the present invention, be earlier the storage line of this predetermined quantity to be write in the second memory 46, read the data that are stored in the second memory 46 afterwards more line by line, and calculated and a visual examination sign indicating number of corresponding this storage line.And after the data of in having calculated this predetermined quantity storage line, having been stored, obtain one group of visual examination sign indicating number of corresponding this predetermined quantity storage line.
After obtaining this group visual examination sign indicating number, it is temporary to 16 corresponding visual examination sign indicating number districts 64 of first memory 34 that visual examination sign indicating number generation module 42 further will be organized the visual examination sign indicating number.At this indication is that the predetermined quantity storage line is at least two storage lines, is at most all storage lines in the data field 62.
In preferred embodiment of the present invention, second memory 46 is a static RAM (SRAM).Therefore the quantity of visual examination sign indicating number generation module 42 primary access storage lines please be seen the design of second memory 46.If the capacity of second memory 46 designs is enough big, then be enough to provide visual examination sign indicating number generation module 42 primary access to go out storage lines all in the data field 62.If the capacity of second memory 46 is less, then can provide the data in the storage line in the visual examination sign indicating number generation module 42 primary access data fields 62 at least.
As shown in Figure 7, the data of being stored in the memory row of internal check sign indicating number generation module 44 in order to each reading of data district 62 at least, calculated and an internal check sign indicating number of corresponding this memory row, and behind the data of in having calculated described memory row, having been stored and this group visual examination sign indicating number, obtain one group of internal check sign indicating number of corresponding data field 62 and this group visual examination sign indicating number.
As shown in Figure 7, modulation module 48 produce one in order to the data that will input to internal check sign indicating number module 44 and this group internal check sign indicating number through 8-16 position modulation (eight-fourteen modulation plus) can be for the data of optical recording system record use.
Comprehensive the above, coded system 30 performed operations of the present invention can comprehensively be described below.See also Figure 10, Figure 10 is the process flow diagram of preferred embodiment coding method of the present invention.Coding method of the present invention comprises following steps:
Step S370: beginning, receiving digital data.
Step S371: the encoded authentication data and obtain one the authentication error detecting code.
Step S372: confusing general data 54 is the corresponding data 56 that confuse.
Step S374: with header data 52 and confuse data 56 and write in the data field 62.
Step S376: calculate header data 52 and general data 54 with corresponding generation one error detecting code 58.。
Step S378: error detecting code 58 is write in the data field 62
Step S380: at every turn read the data of being stored at least one storage line, and calculated and a visual examination sign indicating number of corresponding this storage line, and after the data of in having calculated described storage line, having been stored, obtain one group of visual examination sign indicating number of corresponding described storage line, and should organize the visual examination sign indicating number and be stored to visual examination sign indicating number district.
Step S382: at every turn read the data of being stored at least one memory row, calculated and an internal check sign indicating number of corresponding this memory row, and behind the data of in having calculated described memory row, having been stored and this group visual examination sign indicating number, obtain one group of internal check sign indicating number of corresponding data field 62 and this group visual examination sign indicating number.
Step S384: the data in the data field 62, this group visual examination sign indicating number and this group internal check sign indicating number are formed one through the modulation of 8-16 position can be finished for the data of optical recording system record use.
See also Figure 11, Figure 11 is the synoptic diagram of another preferred embodiment data encording system 31 of the present invention.Data encording system 31 shown in Figure 11 there is no different with data encording system 30 shown in Figure 7 operation before carrying out visual examination sign indicating number generation module 42.Yet in the data encording system 31, after visual examination sign indicating number generation module 42 is producing this group visual examination sign indicating number, be to be stored in the second memory 47, do not deposit back in the first memory 34.Internal check sign indicating number generation module 44 is by the data of pursuing in the first memory 34 in the row taking-up data field afterwards, carries out the calculating of internal check sign indicating number by reading out this row visual examination sign indicating number in the second memory 47 again.And modulation module 49 be utilize data that internal check sign indicating number generation module 44 reads and generation and the internal check sign indicating number modulate and one can be for the data of optical recording system record use.
Comprehensive the above, the advantage of data encording system of the present invention and method is as follows:
1. owing to reduced when confusing general data and the number of times of access memory when calculating error detecting code, required step can be lacked than the step of known technology when therefore using the coding that the present invention carries out numerical data
2. all reserve the temporarily providing room of internal check sign indicating number in each memory block,, do not need the repeated access storer so that the internal check sign indicating number can write direct to storer.
3. the present invention increases by a second memory in coded system, so that visual examination sign indicating number generation module can be stored to desired data in the second memory earlier when producing the visual examination sign indicating number, to reduce the number of times of access first memory.
4. the present invention can save the more frequency range of multi-memory than known technology.
By the above detailed description of preferred embodiments, be to wish to know more to describe feature of the present invention and spirit, and be not to come category of the present invention is limited with above-mentioned disclosed preferred embodiment.On the contrary, its objective is that hope can contain in the category of claim of being arranged in of various changes and tool equality institute of the present invention desire application.Therefore, the category of the claim that the present invention applied for should be done the broadest explanation according to above-mentioned explanation, contains the arrangement of all possible change and tool equality to cause it.

Claims (40)

1. the system of the numerical data that is used to encode, this numerical data comprises at least one header data and at least one general data, this general data of the corresponding representative of this header data, this coded system comprises:
One first memory comprises at least one memory block, and this memory block comprises a data field, and this data field comprises with a plurality of storage lines of arranged and a plurality of memory row with store data;
One header data writing module is in order to write to this header data in this data field;
One confuses module, is the corresponding data that confuse in order to this general data is confused, and this is confused data writes in this data field;
One error detecting code generation module in order to calculating this header data and this general data with corresponding generation one error detecting code, and writes to this error detecting code in this data field;
One visual examination sign indicating number generation module, in order to read the data of being stored in the predetermined quantity storage line at every turn, the storage line of this predetermined quantity is write in the second memory, calculate line by line more afterwards and be temporary in the visual examination sign indicating number of the storage line of this predetermined quantity in this second memory with corresponding acquisition one predetermined quantity, and after the data of in having calculated described storage line, having been stored, obtain one group of visual examination sign indicating number of corresponding described storage line; And
One internal check sign indicating number generation module, in order to read the data of being stored in the memory row at least at every turn, calculated and an internal check sign indicating number of corresponding this memory row, and behind the data of in having calculated described memory row, having been stored and this group visual examination sign indicating number, the one group of internal check sign indicating number that obtains corresponding this data field and should organize the visual examination sign indicating number.
2. coded system as claimed in claim 1, wherein, this header data comprises a verify data, an authentication error detecting code and a copyright data.
3. coded system as claimed in claim 1, wherein, this confuses module and produces this and confuse data and this error detecting code generation module to produce this error detecting code be to carry out simultaneously.
4. coded system as claimed in claim 1, wherein, this visual examination sign indicating number generation module is behind the storage line that at every turn reads a predetermined quantity, and the data of the storage line in the storage line of this predetermined quantity are done calculating to produce corresponding visual examination sign indicating number, and remaining storage line writes in this second memory in the storage line with this predetermined quantity, calculates in the storage line be temporarily stored in this predetermined quantity in this second memory remaining storage line afterwards more line by line with the visual examination sign indicating number of corresponding acquisition one predetermined quantity.
5. coded system as claimed in claim 1, wherein, this visual examination sign indicating number generation module is after once reading whole storage lines, earlier described storage line is write in this second memory, calculate the described storage line that is temporary in the second memory afterwards more line by line with this group visual examination sign indicating number of corresponding acquisition.
6. coded system as claimed in claim 1, wherein, this visual examination sign indicating number generation module is once to read whole storage lines, and calculates described storage line with this group visual examination sign indicating number of corresponding acquisition.
7. coded system as claimed in claim 1, wherein, this visual examination sign indicating number generation module is that this group visual examination sign indicating number is write in this second memory.
8. coded system as claimed in claim 7, wherein, this internal check sign indicating number generation module is to read this group visual examination sign indicating number to produce a corresponding internal check sign indicating number in this second memory certainly.
9. coded system as claimed in claim 1, wherein, this first memory further comprises a visual examination sign indicating number district and an internal check sign indicating number district.
10. coded system as claimed in claim 9, wherein, this visual examination sign indicating number generation module is that this group visual examination sign indicating number is write to this visual examination sign indicating number district.
11. coded system as claimed in claim 9, wherein this internal check sign indicating number generation module is that this group internal check sign indicating number is write in this internal check sign indicating number district.
12. a digital data coding system includes:
One first memory comprises at least one memory block to store a numerical data, and this memory block comprises a data field, and this data field comprises with a plurality of storage lines of arranged and a plurality of memory row with store data;
One visual examination sign indicating number generation module, in order to read the data of being stored in the predetermined quantity storage line at every turn, the storage line of this predetermined quantity is write in the second memory, calculate line by line more afterwards and be temporary in the visual examination sign indicating number of the storage line of this predetermined quantity in this second memory with corresponding acquisition one predetermined quantity, and after the data of in having calculated described storage line, having been stored, obtain one group of visual examination sign indicating number of corresponding described storage line; And
One internal check sign indicating number generation module, in order to read the data of being stored in the memory row at least at every turn, calculated and an internal check sign indicating number of corresponding this memory row, and behind the data of in having calculated described memory row, having been stored and this group visual examination sign indicating number, the one group of internal check sign indicating number that obtains corresponding this data field and should organize the visual examination sign indicating number.
13. a digital data coding system includes:
One first memory comprises at least one memory block to store a numerical data, and this memory block comprises a data field, and this data field comprises with a plurality of storage lines of arranged and a plurality of memory row with store data;
One visual examination sign indicating number generation module, in order to read the data of being stored in the predetermined quantity storage line at every turn, and the data of the storage line in the storage line of this predetermined quantity are done calculating to produce corresponding visual examination sign indicating number, and remaining storage line writes in this second memory in the storage line with this predetermined quantity, calculate line by line more afterwards and be temporarily stored in the visual examination sign indicating number of the storage line of this predetermined quantity in this second memory with corresponding acquisition one predetermined quantity, and after the data of in having calculated described storage line, having been stored, obtain one group of visual examination sign indicating number of corresponding described storage line; And
One internal check sign indicating number generation module, in order to read the data of being stored in the memory row at least at every turn, calculated and an internal check sign indicating number of corresponding this memory row, and behind the data of in having calculated described memory row, having been stored and this group visual examination sign indicating number, the one group of internal check sign indicating number that obtains corresponding this data field and should organize the visual examination sign indicating number.
14. coded system as claimed in claim 12, wherein this visual examination sign indicating number generation module is after once reading whole storage lines, earlier described storage line is write in this second memory, calculate described storage line afterwards more line by line with this group visual examination sign indicating number of corresponding acquisition.
15. coded system as claimed in claim 13, wherein this visual examination sign indicating number generation module is after once reading whole storage lines, and the data of the storage line in the described storage line are done calculating to produce corresponding visual examination sign indicating number, again remaining storage line in the described storage line is write in this second memory, calculate described storage line afterwards more line by line with this group visual examination sign indicating number of corresponding acquisition.
16. as claim 12 or 13 described coded systems, wherein this visual examination sign indicating number generation module is that this group visual examination sign indicating number is write in this second memory.
17. coded system as claimed in claim 16, wherein this internal check sign indicating number generation module is to read this group visual examination sign indicating number to produce a corresponding internal check sign indicating number in this second memory certainly.
18. as claim 12 or 13 described coded systems, wherein this first memory further comprises a visual examination sign indicating number district and an internal check sign indicating number district.
19. coded system as claimed in claim 18, wherein this visual examination sign indicating number generation module is that this group visual examination sign indicating number is write to this visual examination sign indicating number district.
20. coded system as claimed in claim 18, wherein this internal check sign indicating number generation module is that this group internal check sign indicating number is write in this internal check sign indicating number district.
21. the method for the numerical data that is used to encode, this numerical data system comprises at least one header data and at least one general data, this general data of the corresponding representative of this header data, and this coding method comprises:
Set up a first memory, it comprises at least one memory block, and this memory block comprises a data field, and this data field comprises with a plurality of storage lines of arranged and a plurality of memory row with store data;
Write this header data to this data field;
Confusing this general data is the corresponding data that confuse, and this is confused data writes in this data field;
Calculate this header data and this general data with corresponding generation one error detecting code, and this error detecting code is write in this data field;
Read the data of being stored in the predetermined quantity storage line at every turn, and be recorded in the second memory, and calculated line by line and obtained a visual examination sign indicating number of corresponding this storage line, and after the data of in having calculated described storage line, having been stored, obtain one group of visual examination sign indicating number of corresponding described storage line; And
Read the data of being stored at least one memory row at every turn, calculated and an internal check sign indicating number of corresponding this memory row, and behind the data of in having calculated described memory row, having been stored and this group visual examination sign indicating number, the one group of internal check sign indicating number that obtains corresponding this memory block and should organize the visual examination sign indicating number.
22. coding method as claimed in claim 21, wherein, this header data comprises a verify data, an authentication error detecting code and a copyright data.
23. coding method as claimed in claim 21, wherein, confusing this general data step is to carry out simultaneously with producing this error detecting code step.
24. coding method as claimed in claim 21, wherein reading the storage line step is behind the storage line that at every turn reads a predetermined quantity, and the data of the storage line in the storage line of this predetermined quantity are done calculating to produce corresponding visual examination sign indicating number, remaining storage line writes in this second memory in the storage line with this predetermined quantity again, calculates line by line more afterwards and is temporary in the visual examination sign indicating number of the storage line of this predetermined quantity in this second memory with corresponding acquisition one predetermined quantity.
25. coding method as claimed in claim 21, wherein this to read the storage line step be after once reading whole storage lines, earlier described storage line is write in this second memory, calculate the described storage line that is temporary in this second memory afterwards more line by line with this group visual examination sign indicating number of corresponding acquisition.
26. coding method as claimed in claim 21, wherein this to read the storage line step be once to read whole storage lines, and calculate described storage line with this group visual examination sign indicating number of corresponding acquisition.
27. coding method as claimed in claim 21, wherein this to read the storage line step be that this group visual examination sign indicating number is write in this second memory.
28. coding method as claimed in claim 27, wherein this to read the memory row step be to read this group visual examination sign indicating number to produce a corresponding internal check sign indicating number in this second memory.
29. coding method as claimed in claim 21, wherein this first memory further comprises a visual examination sign indicating number district and an internal check sign indicating number district.
30. coding method as claimed in claim 29, wherein this to read the storage line step be that this group visual examination sign indicating number is write to this visual examination sign indicating number district.
31. coding method as claimed in claim 29, wherein, this reads the memory row step is that this group internal check sign indicating number is write in this internal check sign indicating number district.
32. a digital data coding method includes:
Write in numerical data to a first memory, this first memory comprises at least one memory block to store this numerical data, this memory block comprises a data field, and this data field comprises with a plurality of storage lines of arranged and a plurality of memory row with store data;
Read the data of being stored in the predetermined quantity storage line at every turn, and be recorded in the second memory, and calculated line by line and a visual examination sign indicating number of corresponding this storage line, and after the data of in having calculated described storage line, having been stored, obtain one group of visual examination sign indicating number of corresponding described storage line;
Read the data of being stored at least one memory row at every turn, and calculated and an internal check sign indicating number of corresponding this memory row, and behind the data of in having calculated described memory row, having been stored and this group visual examination sign indicating number, the one group of internal check sign indicating number that obtains corresponding this data field and should organize the visual examination sign indicating number.
33. a digital data coding method includes:
Write in numerical data to a first memory, this first memory comprises at least one memory block to store this numerical data, this memory block comprises a data field, and this data field comprises with a plurality of storage lines of arranged and a plurality of memory row with store data;
Read the data of being stored in the predetermined quantity storage line at every turn, the data of the storage line in the storage line of this predetermined quantity are done calculating to produce corresponding visual examination sign indicating number, remaining storage line writes in this second memory in the storage line with this predetermined quantity again, and calculate line by line in addition and a visual examination sign indicating number of corresponding this storage line, and after the data of in having calculated described storage line, having been stored, obtain one group of visual examination sign indicating number of corresponding described storage line;
Read the data of being stored at least one memory row at every turn, and calculated and an internal check sign indicating number of corresponding this memory row, and behind the data of in having calculated described memory row, having been stored and this group visual examination sign indicating number, the one group of internal check sign indicating number that obtains corresponding this data field and should organize the visual examination sign indicating number.
34. coding method as claimed in claim 32, wherein this to read the storage line step be after once reading whole storage lines, earlier described storage line is write in this second memory, calculate described storage line afterwards more line by line with this group visual examination sign indicating number of corresponding acquisition.
35. coding method as claimed in claim 33, wherein this to read the storage line step be after once reading whole storage lines, the data of the storage line in the storage line of this predetermined quantity are done calculating to produce corresponding visual examination sign indicating number, remaining storage line writes in this second memory in the storage line with this predetermined quantity again, calculates described storage line afterwards more line by line with this group visual examination sign indicating number of corresponding acquisition.
36. as claim 32 or 33 described coding methods, wherein this to read the storage line step be that this group visual examination sign indicating number is write in this second memory.
37. coding method as claimed in claim 36, wherein this to read the memory row step be to read this group visual examination sign indicating number to produce a corresponding internal check sign indicating number in this second memory certainly.
38. as claim 32 or 33 described coding methods, wherein this first memory further comprises a visual examination sign indicating number district and an internal check sign indicating number district.
39. coding method as claimed in claim 38, wherein this to read the storage line step be that this group visual examination sign indicating number is write to this visual examination sign indicating number district.
40. coding method as claimed in claim 39, wherein this to read the memory row step be that this group internal check sign indicating number is write in this internal check sign indicating number district.
CNB031423523A 2003-06-13 2003-06-13 Data coding method and system Expired - Lifetime CN100466086C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031423523A CN100466086C (en) 2003-06-13 2003-06-13 Data coding method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031423523A CN100466086C (en) 2003-06-13 2003-06-13 Data coding method and system

Publications (2)

Publication Number Publication Date
CN1567458A CN1567458A (en) 2005-01-19
CN100466086C true CN100466086C (en) 2009-03-04

Family

ID=34471091

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031423523A Expired - Lifetime CN100466086C (en) 2003-06-13 2003-06-13 Data coding method and system

Country Status (1)

Country Link
CN (1) CN100466086C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7823049B2 (en) * 2006-03-15 2010-10-26 Mediatek Inc. Methods and apparatuses for generating parity symbols for data block
US20080175137A1 (en) * 2007-01-23 2008-07-24 Mediatek Inc. Method for encoding data written to optical storage media
US7948848B2 (en) * 2008-04-11 2011-05-24 Mediatek Inc. Reproduction data recording methods
CN108922567B (en) * 2018-06-29 2020-08-21 北京同方光盘股份有限公司 Method and device for limiting reading times of hidden data of optical disc

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020053051A1 (en) * 2000-11-01 2002-05-02 Hiroshi Hirayama Digital signal forming method, disc recording media using the same, and reproducing method thereof
CN1359103A (en) * 2000-12-12 2002-07-17 株式会社东芝 Data treating method adopting error-correcting code and equipment adopting said method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020053051A1 (en) * 2000-11-01 2002-05-02 Hiroshi Hirayama Digital signal forming method, disc recording media using the same, and reproducing method thereof
CN1359103A (en) * 2000-12-12 2002-07-17 株式会社东芝 Data treating method adopting error-correcting code and equipment adopting said method

Also Published As

Publication number Publication date
CN1567458A (en) 2005-01-19

Similar Documents

Publication Publication Date Title
US20070011584A1 (en) Data encoding method and system
CN101611386B (en) Method of writing data into semiconductor memory and memory controller
CN108039190B (en) Test method and device
CN104272396B (en) Comprise equipment and the method for error-correcting code tissue
WO2001006371A1 (en) Improved memory system apparatus and method
CN100587827C (en) Method and device for recording digital data on digital general disc
CN107077882A (en) A kind of DRAM method for refreshing, device and system
CN101197164A (en) Recording and/or reproducing method, recording and/or reproducing apparatus, and computer readable recording medium storing program for performing the method
CN103886916B (en) Encoding/decoding storage system with scalable input bit width
CN105808170B (en) A kind of RAID6 coding methods that can repair single disk error
US20140164695A1 (en) Method and system for storing and rebuilding data
CN108733580A (en) Method for scheduling read commands
US20100153645A1 (en) Cache control apparatus and method
CN100466086C (en) Data coding method and system
CN103744744A (en) Data storage device and data checking method of volatile storage
CN113051109B (en) Satellite-borne storage system with high reliability and low bit error rate
RU97100132A (en) INFORMATION TRANSMISSION SYSTEM, RECORDING AND PLAYBACK INFORMATION SYSTEM, AND ALSO A RECORDING MEDIA USING THE DATA REPORTING BASIS ON THE BASIS OF THE CODE WITH ERROR CORRECTION
CN103187091A (en) Self-refresh method for DRAM
US7475324B2 (en) Encoding apparatus for storing data to disk
CN105575441A (en) Defect repair method and circuit for dynamic random access memory
CN102945191B (en) A kind of method of RAID5 data batchmove
CN101908007A (en) Storage system and computer system
CN104035886A (en) Magnetic disk remapping method, magnetic disk remapping device and electronic equipment
CN101145400A (en) Embedded memory SOC mapping realization method
CN115048319A (en) Method for determining address mapping relationship, controller and address mapping system

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
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20090304