CN1482743A - Data encoding/decoding method and system and apparatus using same - Google Patents
Data encoding/decoding method and system and apparatus using same Download PDFInfo
- Publication number
- CN1482743A CN1482743A CNA021429472A CN02142947A CN1482743A CN 1482743 A CN1482743 A CN 1482743A CN A021429472 A CNA021429472 A CN A021429472A CN 02142947 A CN02142947 A CN 02142947A CN 1482743 A CN1482743 A CN 1482743A
- Authority
- CN
- China
- Prior art keywords
- data
- bit length
- length
- signal
- partitioning portion
- 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.)
- Granted
Links
Images
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
A data encoding / decoding method, the system and apparatus using the method wherein the bit data stream is read from the peripheral storage device through the modulation program, only a small number bits of length are needed to obtain the completion code by conversion table, the data stream adapted for recording to the disc data form is worked out e.g. channel bits. Then the stored bits data is read out from the data recording discs, such as the channel data through the modulation program, thus a small number bits of length are sufficient to obtain the completion code by conversion table and converted to the applicable data.
Description
Technical field
The invention relates to a kind of data encoding/decoding method and use the system and the device of this method, and particularly adopt the data encoding/decoding method of the table of comparisons (Table) and use the system and the device of this method relevant for a kind of being applicable to for digital coding, can reduce the figure place size of the table of comparisons, and significantly promote treatment effeciency, and reduce manufacturing cost.
Background technology
In hard disk or optical disk system, because the channel (Access Channel) that reads of disc (Disk) has restriction on the frequency range (Bandwidth), so, when the data of reading and recording on disc, can produce so-called intersymbol interference (Inter-Symbol Interference, beneath abbreviation ISI) effect.For under the effect of so-called intersymbol interference (ISI); reading of data reliably; usually the data of record can be done channels bits coding (Channel Bit Modulation) and become and have running length restriction (Run-Length Limit; the beneath RLL that is called for short) after the channels bits data of data format, records on the disc again.Please refer to shown in the 1st figure, be demonstration for data bit via channels bits coding after, be converted into the schematic representations of channels bits.
And processing in the past meets the channels bits coded program of RLL data format, please refer to the 2nd figure, after system's reception one has the source data signals 22 of M bit length, after the contrast conversion via the rll encoder table, output meets the channels bits signal 24 with N bit length, and record on the record channel (RecordingChannel) 25, this record channel 25 is the memory space of discs for example., be to adopt EFF+ (8 are changeed 16) coding method for example, therefore, must forward source data to channels bits signal from 8 with 16 in DVD (Digital-Versatile Disk) modulation mode.
And if when reading of data, also will do the channels bits decoding program one time.Shown in the 2nd figure, the data that are stored on the record channel 25 are read, become channels bits signal 26, and, will have the channels bits signal 26 of the N bit length of RLL data format via the contrast of rll decoder table 27, be converted into the data 28 of the original M of having bit length.Above-mentioned encoding and decoding conversion in order to simplify computing, all can realize with lookup table mode usually, therefore needs the coding schedule of 1 M position * N position, and the decoding table of 1 N position * M position.This not only occupies sizable chip area, expends outside the more cost, more can influence read/write efficient, influences the operation rate of whole system.
Summary of the invention
Therefore, main purpose of the present invention just provides a kind of data-encoding scheme, in order to source data signals coding is become a code signal, this source data signals is converted into a plurality of source translation data with one first bit length.Then, according to a data transaction step, these source translation data expansions are converted into the code signal that a plurality of encoded data cells with one second bit length are formed.This first bit length is less than second bit length, and first bit length system determines according to the data characteristic of encoded data cell.
Main purpose of the present invention just provides a kind of data coding device, comprises a coding unit and an expanding element.Wherein coding unit is in order to receiving a source data signals, and is converted into a plurality of source translation data with one first bit length according to a coding schedule.Expanding element is converted into the code signal that a plurality of encoded data cells with one second bit length are formed with the expansion of source translation data.This first bit length is less than this second bit length, and first bit length system determines according to the data characteristic of encoded data cell.
Main purpose of the present invention just provides a kind of data decoding method, becomes a data-signal in order to a code signal is decoded.This coding/decoding method comprises code signal is divided into a plurality of partitioning portions with one first bit length.Then, all partitioning portion foldings are become a plurality of code conversion data with one second bit length according to a data transaction step.This first bit length is greater than this second bit length, and this second bit length system determines according to the data characteristic of the partitioning portion of code signal.According to a decoding table, will become data-signal after the code conversion data transaction.
Main purpose of the present invention just provides a kind of data deciphering device, comprises a folding device and a decoding unit.This folding device is in order to receive a code signal, and code signal is divided into a plurality of partitioning portions with one first bit length, and, all partitioning portion foldings are become a plurality of code conversion data outputs with one second bit length according to a data transaction step.Wherein, first bit length is greater than second bit length, and second bit length system determines according to the data characteristic of the described partitioning portion of code signal.And decoding unit, in order to becoming a data-signal after the data based decoding table conversion of code conversion.
Description of drawings
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, hereinafter conjunction with figs. is illustrated especially exemplified by a preferred embodiment, wherein:
The 1st illustrates the Data Format Transform flow process of conventional channels bits encoding and decoding;
The 2nd illustrates the conventional channels bits coded program that meets the RLL data format;
The 3rd figure is the circuit block diagram of the code device of a preferred embodiment of the present invention;
The 4th illustrates the logical circuitry of a preferred embodiment of the beta/alpha expanding unit in the 3rd figure;
The 5th figure is the circuit block diagram of the decoding device of a preferred embodiment of the present invention;
The 6th figure is the circuit block diagram of a preferred embodiment of the α/β folding device of explanation in the 5th figure; And
The 7th illustrates the logical circuitry of a preferred embodiment of the α/β folding unit in the 6th figure.
In the accompanying drawings, 23 expression rll encoder tables; 25 expression record channels; 27 expression rll decoder tables; 30 expression data coding devices; 33 presentation code unit; 35 expression beta/alpha expanding units; 50 expression data deciphering devices; 53 expression α/β folding devices; 55 expression decoding units; 57 presentation logic OR-gates; 59 presentation logic OR-gates; And 53a, 53b, 53c represent α/β folding unit.
Embodiment
To describe preferred embodiment of the present invention in detail below, its example is shown in the accompanying drawing.During same reference numeral is used in icon and describes, to point to same or similar part.
The present invention system provides a kind of data that read on medium that are applicable to, for example from hard disk reads or the bit data stream that extraneous storage device provided, program via coding (Modulation), channels bits coding (Channel Bit Modulation) program for example, be applicable to the data flow that records the disc data form and be compiled into, for example running length limits the channels bits (Channel Bits) of (Run-Length Limit, beneath abbreviation RLL).Then, can read the bit data of being stored from the disc of record data, for example the data of channels bits via the program of decoding (Demodulation), and change into suitable data, for example are fit to the operable data of main frame.
And characteristics of the present invention are to propose a kind of Methods for Coding, can be with the bit data that will encode, according to the conversion table that will work out the coded data characteristic that meets storage format, finish the conversion of coding, this conversion table then needs less bit length can finish this coded program.For example, will meet the symbolic code (Codeword) behind the coding of storage format earlier, be divided into a plurality of cut apart partly (Partition) according to the α bit length.Then, want the characteristic of data converted form according to each cutting part branch, if for example meet the characteristic of running length restriction (RLL) form, then can extrapolate corresponding to all possibilities of α bit length, be converted to transcoded data table and be compiled into, and finish the step of coding according to this with β bit length according to these all possible situations.
All can appear at the situation of α position according to these, decision β value, and again with the bit data stream that will encode, through being converted to the transcoded data table of β bit length thus, and β<α.Have the data of β bit length according to this, through the method for expansion (Extend),, be converted to data, and then can be recorded on the disc again with the α bit length that meets running length restriction (RLL) form characteristic with each data with β bit length.And owing to this Methods for Coding, be to utilize the transcoded data table conversion with less bits length (β position), but not use the translation table of original α bit length, therefore, can increase the efficient of processing.And owing to the needed figure place of the table of comparisons has also reduced, so, can reduce needed assembly, and reduce production cost.
For example in DVD (Digital-Versatile Disk) modulation mode, be the coding method of adopting EFF+ (8 are changeed 16), and its symbolic code (Codeword) is at the characteristic of RLL form, its length is 16.And as its minimum running length (Minimum Run Length)=3T, then the α bit length is 3.At this moment, if this symbolic code of 16 is cut apart according to the α bit length, then have 5 partitioning portions, and remain 1 position, this remaining bit does not need via coding.These 5 partitioning portions must meet the characteristic of minimum running length (Minimum Run Length)=3T, and it is respectively [a that the set of data bits that just may occur becomes
I+1, a
i, a
I-1]=[000], [001], [010] or [100] one of them.According to the data characteristic of these partitioning portions, have four kinds of situations, therefore, and if contained by the bit data of a β bit length, 2 β power then, just 2 β must be more than or equal to four.As from the foregoing, β must at least 2 just can be contained the situation that all partitioning portions may occur.And if with two be example, the combination [b of the bit data of β bit length then
i, b
I-1] be [00], [01], [10] or [11] one of them, then can represent this [a
I+1, a
i, a
I-1] all combinations, for example
[a
i+1,a
i,a
i-1]→[b
i,b
i-1]
000 → 00
001 → 01
010 → 10
100 → 11
And as its minimum running length (Minimum Run Length)=4T, then the α bit length is 4.At this moment, if this symbolic code of 16 is cut apart according to the α bit length, then have 4 partitioning portions.These 4 partitioning portions must meet the characteristic of minimum running length (Minimum Run Length)=3T, and it is respectively [a that the set of data bits that just may occur becomes
I+2, a
I+1, a
i, a
I-1]=[0000], [0001], [0010], [0100], [1000], [1001] one of them.According to the data characteristic of these partitioning portions, have six kinds of situations.Therefore, if contained by the bit data of a β bit length, 2 β power then, just 2 β must be more than or equal to six.As from the foregoing, β must at least 3 just can be contained the situation that all partitioning portions may occur.And if with 3 be example, then eight of the bit data of β bit length kinds the combination [b
I+1, b
i, b
I-1] (2
3=8) six kinds of data characteristics of representing all partitioning portions in.For example
[a
i+2,a
i+1,a
i,a
i-1] →[b
i+1,b
i,b
i-1]
0000 → 000
0001 → 001
0010 → 010
0100 → 011
1000 → 100
1001 → 101
[the b of six kinds of certainly, above-listed situations
I+1, b
i, b
I-1] combination only be an example.If the α bit length is 5, then the data that may occur are total for example 9 kinds, this no longer superfluous stating.The method of its conversion only according to the partitioning portion of α bit length the situation that might occur, decision β value.
The coding method of the invention described above please refer to the circuit block diagram of the code device of a preferred embodiment of the present invention shown in the 3rd figure.In this embodiment for convenience of description, be EFM+ coding with DVD optical disc storage form, promptly 16 is example.This code device 30 at first receives the source data signals 32 with M position, and the EFM+ of the DVD form in this example is encoded to 8.Then this source data signals 32 is converted to the code signal 36 with N position.This code signal 36 for example is encoded to 16 for the EFM+ of the DVD form in this example.The data transfer device of code device 30 at first with the source data signals 32 that will encode, according to the conversion table that will work out code signal 36 characteristics that meet storage format, is finished the conversion of coding.For example, the code signal 36 that will meet storage format earlier, be divided into a plurality of cut apart partly (Partition) according to the α bit length, for example above-mentionedly be divided into 5 partitioning portions according to 3 bit lengths, and remain one, this remaining bit need not encoded, can be directly by a code signal 36 that is transferred to transformation result of source data signals 32.Then, want the characteristic of data converted form according to each cutting part branch, if for example meet the characteristic of running length restriction (RLL) form, then can extrapolate corresponding to α=all possibilities of 3 bit lengths is above-mentioned four kinds, and calculates β=2 according to these all possible situations.
According to β=2, establishment one coding schedule in a coding unit 33.This coding unit 33 is in order to reception sources data-signal 32, and is converted into the source translation data 34 of a plurality of β of having bit lengths according to coding schedule.Then, by a beta/alpha expanding unit 35,34 expansions of code conversion data are converted into the code signal 36 of a plurality of α of having=3 bit lengths.Briefly, be example with 16 of the EFM+ form of DVD, earlier code signal 36 is converted into that (3 * 5+1), this 3 is the α value, and 5 be the quantity of partitioning portion, and 1 is remaining bit.Then, because all possible data forms of α=3 are four kinds, therefore, the bit length of available β=2 is contained all possible data forms of all α=3.Then, utilization β=2 (3 * 5+1) are converted to that (2 * 5+1), wherein this 2 is the β value, and 5 be the quantity of partitioning portion correspondence with above-mentioned.Therefore, the source translation data 34 that coding unit 33 is exported according to its coding schedule has (beta/alpha) * 15+1=11, just the data of 11 bit lengths.Then, all partitioning portions become the (code signal 36 of 3 * 5+1)=16 bit lengths after changing via beta/alpha expanding unit 35.
Please refer to the 4th figure, is how explanation will belong to β=2 bit lengths of code conversion data in beta/alpha expanding unit 35 data [b
i, b
I-1] be converted to the data [a of α=3 bit lengths
I+1, a
i, a
I-1] a preferred embodiment of the present invention.Used the computing of three logical doors therein, for example with b
iWith b
I-1An input logical door wherein, and be a that forms code signal 36 after the computing of logical
I+1B with the code conversion data
iWith for b
I-1Anti-value make a logical computing to form a of code signal 36
iB to the code conversion data
iAnti-value and b
I-1The computing of making a logical is to form a of code signal 36
I-1
Coding method in this example is the digital coding table conversion that utilizes and to have less bits length (β=2), but not uses the translation table of original α=3 bit lengths, therefore, can increase the efficient of processing.And owing to the needed figure place of the table of comparisons has also reduced, so, can reduce needed assembly, and then reduce production cost.Certainly, as previously mentioned, the α value can be decided according to design, is not limited to 4 kinds of this example.For example the α value can be 4 bit lengths, and according to previous segmentation partial data characteristic, has six kinds of situations.Therefore, β must at least 3 just can be contained the situation that all partitioning portions may occur, and is example with 16 of the EFM+ form of DVD, earlier code signal 36 is converted into (4 * 4), this first 4 be the α value, and second 4 quantity that is partitioning portion.Then, because all possible data forms of α=4 are six kinds, therefore, the bit length of available β=3 is contained all possible data forms of all α=4.Then, utilization β=3 are converted to (3 * 4) with above-mentioned (4 * 4), and wherein this 3 is the β value, and 4 be the quantity of partitioning portion correspondence.Therefore, the source translation data 34 that coding unit 33 is exported according to its coding schedule has (beta/alpha) * 16=12, just the data of 12 bit lengths.Then, all partitioning portions become the code signal 36 of (4 * 4)=16 bit length after changing via beta/alpha expanding unit 35.
In addition, the present invention proposes a kind of method of decoding, can will be stored in the data that meet storage format in the disc, finishes the conversion of decoding with less figure place, and the calculation rule of this decoding is identical during with coding.For example will be stored in the symbolic code (Codeword) in the disc, be divided into a plurality of parts of cutting apart with α bit length.Then, again to the characteristic of each partitioning portion according to above-mentioned form, for example running length limits the characteristic of (RLL) form, and recompile is converted into the data with β bit length, β<α.And have the data of β bit length according to this, carry out the contrast and the conversion of decoding table.And, therefore, also as mentioned above, can increase the efficient of processing, and can reduce needed assembly and reduce production cost because the method for this decoding is to utilize the table of comparisons conversion with less bits length (β position).And selecting of this α value and β value then decided on the demand of product design.
Coding/decoding method of the present invention, a kind of function with error bit detecting more is provided, can check the part of cutting apart of changing with α bit length, the characteristic that whether has the data format that requires, for example running length limits the characteristic of (RLL) form, if violate this characteristic, then will produce rub-out signal.According to this rub-out signal, can be used as wrong mark (Erasure Flag), can judge whether the symbolic code (Codeword) that is stored on the disc is correct.And the function of this error bit detecting more can if be not present in the table of comparisons (Table), then can produce another rub-out signal, and judge this symbolic code (Codeword) correctness according to above-mentioned data with β bit length.Certainly, the present invention also can be by the rub-out signal that is partly produced of cutting apart of α bit length, contrast combining of another rub-out signal of being produced in the table of comparisons (Table) with data by the β bit length, and as the foundation of judging this symbolic code (Codeword) correctness, this is to decide according to the scope of using.
Please refer to the 5th figure, is the data deciphering device 50 that shows a preferred embodiment of the present invention, comprises one a α/β folding device 53 and a decoding unit 55.This α/β folding device 53 is in order to receive a code signal 52 with N position, and this code signal 52 is divided into the partitioning portion of a plurality of α of having bit lengths, and according to a data transaction step, all partitioning portion foldings are become the code conversion data 54a output of a plurality of β of having bit lengths, in this example, code conversion data 54a is the 2N/3 bit length.β bit length system determines according to the data characteristic of the α bit length partitioning portion of code signal 52.In this embodiment, minimum running length (Minimum RunLength)=3T is an example with the characteristic that meets the RLL form in N bit length system, and N then is 3 aliquot integers.Certainly, the present invention is not limited to only be suitable for minimum running length=3T, and N then is 3 aliquot integers.If can't divide exactly, desirable aliquot part, the part of remaining bit can directly be passed on, and need not decode.But for convenience of description, only be example with aliquot.
For example in DVD (Digital-Versatile Disk) modulation mode, be the modulation that adopts EFF+ (8 are changeed 16), and its symbolic code (Codeword) is at the characteristic of RLL form, its length is 16.And as its minimum running length (Minimum Run Length)=3T, then the α bit length is 3.At this moment, if this symbolic code of 16 is cut apart according to the α bit length, then have 5 partitioning portions, and remain 1 position, this remaining bit does not need via decoding.These 5 partitioning portions must meet the characteristic of minimum running length (Minimum Run Length)=3T, and it is respectively [a that the set of data bits that just may occur becomes
I+1, a
i, a
I-1]=[000], [001], [010] or [100] one of them.According to the data characteristic of these partitioning portions, have four kinds of situations, therefore, and if contained by the bit data of a β bit length, 2 β power then, just 2 β must be more than or equal to four.And its detailed β bit length deciding means, with identical in method described in the decoding device, repeat no more, certainly, if the α bit length is 4, then the data that may occur are total for example 6 kinds, minimum needs 3 of β value then, and if the α bit length is 5, then the data that may occur are total for example 9 kinds, therefore, the minimum needs 4 of β value.This needs to determine the β value according to α bit length value and designing requirement.Then, code conversion data 54a is become the data-signal 56a output of data deciphering device 50 for this reason after according to the conversion of a decoding table that it had by decoding unit 55, and the computing of suitable main frame and use.
Above-mentioned data deciphering device 50, in the data transaction step, when the partitioning portion folding is become code conversion data 54a, if when having at least a partitioning portion not meet data characteristic, when just not meeting the characteristic of RLL form for example, then will make an error bit be converted to logical one by logical zero, wrong to point out code signal 52, this moment may be via reading this code signal 52 again, or do wrong correction (Error Correction), decides on utilization.And this error bit may be produced by any one cutting part branch, and therefore, all issuable error bits will as long as wherein there is a partitioning portion mistake to occur, will show that then this code signal 52 is wrong by the computing of a logical "or".For example at the rub-out signal 54b with N/3 position shown in the 5th figure, and these rub-out signal 54b that are made up of N/3 error bit will be via logic sum gate 57 outputs.
In addition, above-mentioned data deciphering device 50, wherein code conversion data 54a is being converted in the step of data-signal 56a at decoding unit 55, if when in code conversion data 54a, having at least a part in decoding table, to find corresponding data, then can produce rub-out signal 56b, in order to point out this code signal 52 wrong existence, at this moment, can be via reading this code signal 52 again, or do wrong correction (Error Correction), decide on utilization.The above-mentioned mistake that may occur in arbitrary partitioning portion, via the output of logic sum gate 57, with the rub-out signal 56b of decoding unit 55, can be via the computing of a logic sum gate 59, provide the information 59a of a mistake, so that point out this code signal 52 wrong existence.
Please refer to the 6th figure, is the preferred embodiment of the present invention that shows the α/β folding device 53 among the 5th figure.In this embodiment, be 3 only with the α bit length, then the data that may occur have 4 kinds, and then the β value is 2 for example.Yet, do not limit this invention to apply to any α and β value.This α/β folding device 53 comprises a plurality of α/β folding unit, as 53a, 53b and 53c or the like.And the code signal 52 with N position (for convenience of description, below is represented code signal 52 with A, and A
iRepresent i of code signal 52 position), will be divided into a plurality of partitioning portions, be to be example in this embodiment with the characteristic that meets the RLL form, and minimum running length (Minimum Run Length)=3T.Then have the 2N/3 position via decoded code conversion data 54a, for convenience of description, below represent code conversion data 54a with B, and B
iRepresent i the position of code conversion data 54a.
With α/β folding unit 53a is example, and it is respectively via a
I+1, a
iWith a
I-1Port receives the A of N position code signal 52
N-1, A
N-1With A
N-1The position, then α/β folding unit 53a is according to the method for folding, for example with [a
I+1, a
i, a
I-1]=[000], [001], [010], [100] value corresponds to [b respectively
i, b
I-1]=[00], [01], [10], [11], and by b
iWith b
I-1Output.Therefore can be with [A
N-1, A
N-1, A
N-1] be converted to [B
2N/3-1, B
2N/3-2].And if [A
N-1, A
N-2, A
N-3] when not appearing at, then can change error bit ERROR as above-listed four kinds of situations
N/3-1State, for example change into logical one by logical zero.
And with all α/β folding unit of α/β folding device 53, the position B that is exported as 53a, 53b and 53c or the like
2N/3-1, B
2N/3-2, B
2N/3-3, B
2N/3-4..., B
1, B
0Be code conversion data 54a with 2N/3 bit length.And all error bits, as ERROR
N/3-1, ERROR
N/3-2..., ERROR
0Deng being rub-out signal 56b then.
Please refer to the 7th figure, is the α/β folding unit that shows among the 6th figure, for example preferred embodiment of 53a.Wherein, the A of code signal 52
N-1, A
N-1With A
N-1The position, then be connected respectively to a of α/β folding unit 53a
I+1, a
iWith a
I-1, and via many gates with [A
N-1, A
N-1, A
N-1] be converted to [B
2N/3-1, B
2N/3-2].This diagram in a
I+1, a
iWith a
I-1Represent by a respectively
I+1, a
iWith a
I-1The place value that port is imported, and b
iWith b
I-1Then representative outputs to b
iWith b
I-1The logical value of port.
In α/β folding unit 53a, these gates comprise a logic sum gate, in order to receive a
I-1With a
iValue is exported b after the logical "or" computing
iPlace value.One logic sum gate is in order to receive a
I+1With a
L-1Value is exported b after the logical "or" computing
I-1Place value.And for institute output error position, as ERROR
N/3-1, then be via a logic sum gate, in order to receive a
I+1With a
iValue, and to export its output valve and and a after the logical "or" computing
I-1Export after the logical computing of value via a logical door, and then its output valve, with via a logical door to a
I+1With a
iValue is carried out output valve after the logical computing, and both export this error bit ERROR behind the door via a logical "or"
N/3-1
The data handling system of preferred embodiment of the present invention comprises as 50 both or the alternativelies of the data deciphering device among code device among the 3rd figure 30 and the 5th figure.Handle applicable to the encoding and decoding between a source data signals and the code signal.And more applicable to optical data memory system.This optical data memory system comprises an optical recording apparatus and a data encoding/decoding device, wherein this coding/decoding device system applies to the encoding and decoding between a source data signals and the code signal, shown in the data deciphering device 50 among code device among the 3rd figure 30 and the 5th figure.
In sum; though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; any those of ordinary skill in the art; without departing from the spirit and scope of the present invention; when can doing various changes and retouching, so protection scope of the present invention is when looking being as the criterion that appended claims defines.
Claims (46)
1. a data-encoding scheme becomes a code signal in order to a source data signals is encoded, and this coding method comprises the following steps:
According to a coding schedule, this source data signals is converted into a plurality of source translation data with one first bit length; And
According to a data transaction step, translation data expansion in described source is converted into this code signal that a plurality of encoded data cells with one second bit length are formed, wherein, this first bit length is less than this second bit length, and this first bit length system determines according to the data characteristic of this code signal unit.
2. data-encoding scheme as claimed in claim 1, wherein this first bit length system according to this encoded data cell the data combination that might occur determine, and the figure place that this first bit length is formed, more than or equal in the encoded data cell of one second bit length the data combination number that might occur.
3. data-encoding scheme as claimed in claim 2, wherein this encoded data cell the data combination number that might occur, be that a data protocol that adopts according to this data-encoding scheme determines.
4. data-encoding scheme as claimed in claim 3, wherein this data protocol is running length restriction (Run-Length Limit) agreement.
5. data-encoding scheme as claimed in claim 4, wherein in this running length restriction (RLL) agreement, if a minimum running length (Minimum Run Length)=3T, and this second bit length is 3 o'clock, then described encoded data cell the data combination number that might occur be 4 kinds.
6. data-encoding scheme as claimed in claim 5, wherein when this minimum running length be 3T, and described encoded data cell the data combination number that might occur when being 4 kinds, then this first bit length is 2.
7. data-encoding scheme as claimed in claim 6, wherein when this first bit length is 2, in this data transaction step, system to one first of these code conversion data with one second computing of making a logical to form one first place value of this encoded data cell, this first of this code conversion data done the computing of a logical to form one second place value of this encoded data cell with this deputy anti-value, the computing of this primary anti-values of this code conversion data and this second being made a logical is forming a three-bit value of this encoded data cell, and the bit length of this encoded data cell is 3.
8. data-encoding scheme as claimed in claim 4, wherein in this running length restriction (RLL) agreement, if a minimum running length=3T, and this second bit length is 4 o'clock, then described encoded data cell the data combination number that might occur be 6 kinds.
9. data-encoding scheme as claimed in claim 8, wherein when this second bit length be 4, and described encoded data cell the data combination number that might occur when being 6 kinds, then this first bit length is 3.
10. data-encoding scheme as claimed in claim 4, wherein in this running length restriction (RLL) agreement, if a minimum running length=3T, and this second bit length is 5 o'clock, then described encoded data cell the data combination number that might occur be 9 kinds.
11. data-encoding scheme as claimed in claim 10, wherein when this second bit length be 5, and described encoded data cell the data combination number that might occur when being 9 kinds, then this first bit length is 4.
12. a data coding device comprises:
One coding unit has a coding schedule, and this coding unit is in order to receiving a source data signals, and is converted into a plurality of source translation data with one first bit length according to this coding schedule; And
One expanding element, translation data expansion in described source is converted into the code signal that a plurality of encoded data cells with one second bit length are formed, wherein, this first bit length is less than this second bit length, and this first bit length system determines according to the data characteristic of this encoded data cell.
13. data coding device as claimed in claim 12, wherein this first bit length system according to this encoded data cell the data combination that might occur determine, and the figure place that this first bit length is formed, the data combination number that might occur more than or equal to this institute.
14. data coding device as claimed in claim 13, wherein this encoded data cell the data combination number that might occur, be that a data protocol that adopts according to this data coding device determines.
15. data coding device as claimed in claim 14, wherein this data protocol is running length restriction (Run-Length Limit) agreement.
16. data coding device as claimed in claim 15, wherein in this running length restriction (RLL) agreement, if a minimum running length (Minimum Run Length)=3T, this second bit length is 3 o'clock, then described encoded data cell the data combination number that might occur be 4 kinds.
17. data coding device as claimed in claim 16, wherein when this minimum running length be 3T, and described encoded data cell the data combination number that might occur when being 4 kinds, then this first bit length is 2.
18. data coding device as claimed in claim 17, wherein this expanding element comprises:
One first with door, in order to receive one first of these code conversion data with one second, the computing of making a logical is to form one first place value of this encoded data cell;
One second with door, in order to receive this first of these code conversion data with this deputy anti-value, the computing of making a logical is to form one second place value of this encoded data cell;
One the 3rd with the door, in order to this primary anti-value of receiving these code conversion data and this second, the computing of making a logical is to form a three-bit value of this encoded data cell, and this encoded data cell is then formed the data with 3 bit lengths by this first place value, second place value and this three-bit value.
19. a data decoding method, in order to code signal decoding is become a data-signal, this coding/decoding method comprises the following steps:
This code signal is divided into a plurality of partitioning portions with one first bit length;
According to a data transaction step, all described partitioning portion foldings are become a plurality of code conversion data with one second bit length, wherein, this first bit length is greater than this second bit length, and this second bit length system determines according to the data characteristic of the described partitioning portion of this code signal; And
According to a decoding table, will become this data-signal after the described code conversion data transaction.
20. data decoding method as claimed in claim 19, wherein this second bit length system according to described partitioning portion the data combination that might occur determine, and the figure place that this second bit length is formed, the correct data combined number that might occur more than or equal to this institute in the cutting unit of one first bit length.
21. data decoding method as claimed in claim 20, wherein said partitioning portion the correct data combined number that might occur, be that a data protocol that adopts according to this data decoding method determines.
22. data decoding method as claimed in claim 21, wherein this data protocol is running length restriction (Run-Length Limit) agreement.
23. data decoding method as claimed in claim 22, wherein in this running length restriction (RLL) agreement, if a minimum running length (Minimum Run Length)=3T, this first bit length is 3 o'clock, described partitioning portion the correct data number of combinations that might occur be 4 kinds.
24. data decoding method as claimed in claim 23, wherein when this minimum running length be 3T, and described partitioning portion the correct data number of combinations that might occur when being 4 kinds, then this second bit length is 2.
25. data-encoding scheme as claimed in claim 24, wherein when this second bit length is 2, in this data transaction step, system to one first of this partitioning portion with one second computing of making a logical "or" forming one first place value of these code conversion data, to this first of the partitioning portion computing with one the 3rd work one logical "or" to form one second place value of these code conversion data.
26. data decoding method as claimed in claim 22, wherein in this running length restriction (RLL) agreement, if a minimum running length (Minimum Run Length)=3T, this first bit length is 4 o'clock, then described partitioning portion the correct data number of combinations that might occur be 6 kinds.
27. data decoding method as claimed in claim 26, wherein when this minimum running length be 3T, and described partitioning portion the correct data number of combinations that might occur when being 6 kinds, then this second bit length is 3.
28. data decoding method as claimed in claim 22, wherein in this running length restriction (RLL) agreement, if this first bit length is 4 o'clock, then described partitioning portion the correct data number of combinations that might occur be 9 kinds.
29. data decoding method as claimed in claim 28, wherein this first bit length is 3 o'clock, and described partitioning portion the correct data number of combinations that might occur when being 9 kinds, then this second bit length is 4.
30. data decoding method as claimed in claim 19, wherein in this data transaction step, when described partitioning portion folding being become described code conversion data, if when having at least this partitioning portion not meet this data characteristic in the described partitioning portion, then produce a rub-out signal to point out this coded data mistake.
31. data-encoding scheme as claimed in claim 30, wherein in this data transaction step, the step that produces this rub-out signal is as follows:
To one first of partitioning portion with one second computing of making a logical, to form one first logical signal;
To this first of partitioning portion with this second computing of making a logical "or", to form one second logical signal;
Do the computing of a logical to one the 3rd of partitioning portion with this second logical signal, to form one the 3rd logical signal; And
First logical signal and the 3rd logical signal are done the computing of a logical "or", to form this rub-out signal.
32. data decoding method as claimed in claim 30, wherein becoming in the step of this data-signal after with described code conversion data transaction according to this decoding table, if when having at least these code conversion data in this decoding table, to find corresponding data in the described code conversion data, then produce this rub-out signal to point out this coded data mistake.
33. data decoding method as claimed in claim 19, wherein becoming in the step of this data-signal after with described code conversion data transaction according to this decoding table, if when having at least these code conversion data in this decoding table, to find corresponding data in the described code conversion data, then produce a rub-out signal to point out this coded data mistake.
34. a data deciphering device comprises:
One folding device, in order to receive a code signal, and this code signal is divided into a plurality of partitioning portions with one first bit length, and according to a data transaction step, all described partitioning portion foldings are become a plurality of code conversion data outputs with one second bit length, wherein, this first bit length is greater than this second bit length, and this second bit length system determines according to the data characteristic of the described partitioning portion of this code signal; And
One decoding unit has a decoding table, in order to becoming a data-signal after data based this decoding table conversion of described code conversion.
35. data deciphering device as claimed in claim 34, wherein this second bit length system according to described partitioning portion the data combination that might occur determine, and the figure place that this second bit length is formed, the data combination number that might occur more than or equal to this institute.
36. data deciphering device as claimed in claim 35, wherein said partitioning portion the data combination number that might occur, be that a data protocol that adopts according to this data decoding method determines.
37. data deciphering device as claimed in claim 36, wherein this data protocol is running length restriction (Run-Length Limit) agreement.
38. data deciphering device as claimed in claim 37, wherein in this running length restriction (RLL) agreement, if a minimum running length (Minimum Run Length)=3T, this first bit length is 3 o'clock, then described partitioning portion the data combination number that might occur be 4 kinds.
39. data deciphering device as claimed in claim 38, wherein when this first bit length is 3, and described partitioning portion the data combination number that might occur when being 4 kinds, then this first bit length is 2.
40. data deciphering device as claimed in claim 39, wherein this folding device comprises:
One first or door, in order to receive one first of this partitioning portion with one second, the computing of making a logical "or" is to form one first place value of these code conversion data;
One second or the door, in order to receive this first of this partitioning portion with one the 3rd, the computing of making a logical "or" is forming one second place value of these code conversion data, and the data with 2 bit lengths that this code conversion data system is made up of this first place value and this second place value.
41. data deciphering device as claimed in claim 34, wherein in this data transaction step, when described partitioning portion folding being become described code conversion data, if when having at least this partitioning portion not meet this data characteristic in the described partitioning portion, then this folding device will produce a rub-out signal, in order to point out this coded data mistake.
42. data deciphering device as claimed in claim 41, wherein this folding device comprises:
One first with door, in order to receive one first of this partitioning portion with one second, do the computing of a logical, to form one first logical signal;
One first or door, in order to receive this first of this partitioning portion computing with this second work one logical "or", to form one second logical signal;
One second with door, do the computing of a logical in order to receive one the 3rd of this partitioning portion with this second logical signal, to form one the 3rd logical signal; And
One second or the door, do the computing of a logical "or" in order to receive this first logical signal and the 3rd logical signal, to form this rub-out signal.
43. data deciphering device as claimed in claim 42, wherein described code conversion data transaction is being become in the step of this data-signal at decoding unit, if when having at least code conversion data in this decoding table, to find corresponding data in the described code conversion data, then produce this rub-out signal to point out this coded data mistake.
44. data deciphering device as claimed in claim 34, wherein described code conversion data transaction is being become in the step of this data-signal at decoding unit, if when having at least these code conversion data in this decoding table, to find corresponding data in the described code conversion data, then produce this rub-out signal to point out this coded data mistake.
45. a data encoding/decoding device is the encoding and decoding that is used between a source data signals and the code signal, this system comprises a data coding device and a data deciphering device, wherein
This data coding device comprises:
One coding unit has a coding schedule, and this coding unit is in order to receiving this source data signals, and is converted into a plurality of source translation data with one first bit length according to this coding schedule; And
One expanding element, described code conversion data expansion is converted into this code signal that a plurality of encoded data cells with one second bit length are formed, wherein, this first bit length is less than this second bit length, and this first bit length system determines according to the data characteristic of this encoded data cell; And
This data deciphering device comprises:
One folding unit, in order to receive this code signal, and this code signal is divided into a plurality of partitioning portions with one second bit length, and, all described partitioning portion foldings are become a plurality of code conversion data outputs with this first bit length according to a data transaction step; And
One decoding unit has a decoding table, in order to becoming this source data signals after data based this decoding table conversion of described code conversion.
46. optical data memory system, comprise an optical recording apparatus and a data encoding/decoding device, wherein this coding/decoding device system applies to the encoding and decoding between a source data signals and the code signal, this code signal then is applicable to the record of this optical recording apparatus to this source data signals, wherein this coding/decoding device comprises a data coding device and a data deciphering device, wherein
This data coding device comprises:
One coding unit has a coding schedule, and this coding unit is in order to receiving this source data signals, and is converted into a plurality of source translation data with one first bit length according to this coding schedule; And
One expanding element, described code conversion data expansion is converted into this code signal that a plurality of encoded data cells with one second bit length are formed, wherein, this first bit length is less than this second bit length, and this first bit length system determines according to the data characteristic of this encoded data cell; And
This data deciphering device comprises:
One folding unit, in order to receive this code signal, and this code signal is divided into a plurality of partitioning portions with one second bit length, and, all described partitioning portion foldings are become a plurality of code conversion data outputs with this first bit length according to a data transaction step; And
One decoding unit has a decoding table, in order to becoming this source data signals after data based this decoding table conversion of described code conversion.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021429472A CN100553153C (en) | 2002-09-13 | 2002-09-13 | Data encoding/decoding method and use the system and the device of this method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021429472A CN100553153C (en) | 2002-09-13 | 2002-09-13 | Data encoding/decoding method and use the system and the device of this method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1482743A true CN1482743A (en) | 2004-03-17 |
CN100553153C CN100553153C (en) | 2009-10-21 |
Family
ID=34148144
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB021429472A Expired - Lifetime CN100553153C (en) | 2002-09-13 | 2002-09-13 | Data encoding/decoding method and use the system and the device of this method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100553153C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103078645A (en) * | 2012-12-27 | 2013-05-01 | 中国科学院微电子研究所 | Macrocell, decoding method from binary code to thermometer code and decoding circuit |
-
2002
- 2002-09-13 CN CNB021429472A patent/CN100553153C/en not_active Expired - Lifetime
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103078645A (en) * | 2012-12-27 | 2013-05-01 | 中国科学院微电子研究所 | Macrocell, decoding method from binary code to thermometer code and decoding circuit |
CN103078645B (en) * | 2012-12-27 | 2016-04-27 | 北京燕东微电子有限公司 | A kind of macrocell, binary code are to the interpretation method of thermometer-code and decoding circuit |
Also Published As
Publication number | Publication date |
---|---|
CN100553153C (en) | 2009-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4707681A (en) | Method and apparatus for implementing optimum PRML codes | |
US4609907A (en) | Dual channel partial response system | |
US6614369B1 (en) | DC balanced 7B/8B, 9B/10B, and partitioned DC balanced 12B/14B, 17B/20B, and 16B/18B transmission codes | |
KR20090112746A (en) | Rll encoding | |
US5892467A (en) | Signal modulation method employing multilevel run length limit coding scheme | |
US6188335B1 (en) | Method and apparatus having cascaded decoding for multiple runlength-limited channel codes | |
CN1289480A (en) | Generation of a runlength limited digital information signal | |
CN1135709C (en) | Method for channel coding and decoding by using run-length limited code | |
CN1364341A (en) | Arithmetic decoding of arithmeticlaly encoded information signal | |
CN1627646A (en) | Method and apparatus for RLL code encoding and decoding | |
CN1482743A (en) | Data encoding/decoding method and system and apparatus using same | |
CN1383659A (en) | Device for encoding/decoding N-bit source words into corresponding M-bit channel words, and vice versa | |
US7138931B2 (en) | Recording and reproducing apparatus | |
JP3453084B2 (en) | Apparatus and method for providing a punctured maximum transition code | |
CN1159683A (en) | Code conversion method | |
CN1258884C (en) | Method for encoding and decoding data by using modulation with finite run length | |
US7379502B2 (en) | Method of converting digital data | |
JP3273580B2 (en) | Data modulation method, data modulation device, recording medium, data demodulation method, and data demodulation device | |
CN1219294C (en) | Data coding and decoding method modulated by adopting limited run length | |
CN1947192A (en) | Modulation code system and methods of encoding and decoding a signal | |
US6794998B2 (en) | Data modulating/demodulating method and system and apparatus using the same | |
JP4151710B2 (en) | Code conversion method | |
CN100444273C (en) | Method for coding a data stream | |
CN1933004A (en) | Inversion cascade coding/decoding method | |
JPH02119434A (en) | Coding circuit and decoding circuit |
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 |
Granted publication date: 20091021 |
|
CX01 | Expiry of patent term |