CN108962289A - Method and device based on the additional hiding mark data of CD synchronization frame - Google Patents
Method and device based on the additional hiding mark data of CD synchronization frame Download PDFInfo
- Publication number
- CN108962289A CN108962289A CN201810713224.5A CN201810713224A CN108962289A CN 108962289 A CN108962289 A CN 108962289A CN 201810713224 A CN201810713224 A CN 201810713224A CN 108962289 A CN108962289 A CN 108962289A
- Authority
- CN
- China
- Prior art keywords
- data sequence
- frame
- swimming
- long distance
- frame header
- 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
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B7/00—Recording or reproducing by optical means, e.g. recording using a thermal beam of optical radiation by modifying optical properties or the physical structure, reproducing using an optical beam at lower power by sensing optical properties; Record carriers therefor
- G11B7/004—Recording, reproducing or erasing methods; Read, write or erase circuits therefor
- G11B7/0045—Recording
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
This application involves a kind of method and devices based on the additional hiding mark data of CD synchronization frame.The described method includes: obtaining the frame header position of original data sequence synchronization frame;According to the frame header position, the long distance of swimming position of frame head is obtained;The original data sequence and identification data sequence are encoded in the long distance of swimming position of the frame head, form engraving data sequence.Quickly identification data sequence can be encoded according to the position of synchronization frame using this method in original data sequence, improve coding and read the efficiency of mark data.
Description
Technical field
This application involves CD burning data technique field, hide more particularly to a kind of based on CD synchronization frame is additional
The method and device of mark data.
Background technique
Traditional optical digital disk product is all to be situated between after converting information into binary data with certain modulation system and storage
Two kinds of different physical states of matter record symbol are corresponding, realize data storage, become two-value storage.Currently, compact disc recordable
It is mostly two-value storage used by memory technology, judges that current corresponding position is according to the height of the light intensity of reflected light
" hole " (Pit) or " bank " (Land) can recorde two status numbers in each recording unit, respectively correspond the letter of 1 (bit)
Breath.
Compact disc recordable be can the CD of engraving data as desired can add mark data and in writing process,
Reading permission is encrypted and set to engraving data.However, current addition mark can only be added to original data sequence,
The mark data of addition is easy to be read, and the confidentiality that causes to imprint CDs is not high enough.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide it is a kind of can quickly read hiding data based on CD
Method, apparatus, computer equipment and the storage medium of the additional hiding mark data of synchronization frame.
A method of based on the additional hiding mark data of CD synchronization frame, which comprises
Obtain the frame header position of original data sequence synchronization frame;
According to the frame header position, the long distance of swimming position of frame head is obtained;
The original data sequence and identification data sequence are encoded in the long distance of swimming position of the frame head, is formed and is carved
Record data sequence.
The frame header position for obtaining original data sequence synchronization frame includes: in one of the embodiments,
Obtain the frame header position of the current sync frame of original data sequence;
According to the frame header position of the current sync frame, the frame header position of next frame is calculated.
In one of the embodiments, the method also includes: mark data is adjusted according to preset modulating rule
Identification data sequence is made.
The preset modulating rule includes: the limited modulation of DK or the untethered modulation of DK in one of the embodiments,.
In the long distance of swimming position of the frame head to the original data sequence and mark described in one of the embodiments,
Data sequence is encoded, and forming engraving data sequence includes: to identification data sequence in the long distance of swimming position Yi Zikeng, son
The mode of bank encodes, and forms engraving data sequence;Wherein, the long distance of swimming includes hole and bank, according to Zi Keng, the coding staff of sub- bank
The mode of the identification data sequence Yi Zikeng and sub- bank are inserted into the hole and bank by formula.
In one of the embodiments, in the long distance of swimming position of the frame head to the original data sequence and mark data
Sequence is encoded, and is formed after engraving data sequence further include: by the engraving data sequence imprinting in CD.
A method of based on the additional hiding mark data of CD synchronization frame, which comprises
Obtain engraving data sequence;
According to the engraving data sequence, the frame header position of original data sequence synchronization frame is obtained;
According to the frame header position, the identification data sequence for being hidden in frame header position is read;
Wherein, the engraving data sequence is the complex data sequence for including original data sequence and mark data.
It is described according to the frame header position in one of the embodiments, read the mark data for being hidden in frame header position
Sequence includes: to obtain the long distance of swimming position of frame head;Read the identification data sequence for being hidden in the long distance of swimming position.
The frame header position for obtaining original data sequence synchronization frame includes: that acquisition is original in one of the embodiments,
The frame header position of the current sync frame of data sequence;According to the frame header position of the current sync frame, the frame head of next frame is calculated
Position.
A kind of device based on the additional hiding mark data of CD synchronization frame, described device include:
Frame header position computing module, for obtaining the frame header position of original data sequence synchronization frame;
Long distance of swimming position computation module, for obtaining the long distance of swimming position of frame head according to the frame header position;
Coding module, for the long distance of swimming position of the frame head to the original data sequence and identification data sequence into
Row coding, forms engraving data sequence.
The frame header position computing module includes: frame head acquiring unit in one of the embodiments, original for obtaining
The frame header position of the current sync frame of data sequence;Frame head computing unit, for the frame header position according to the current sync frame,
Calculate the frame header position of next frame.
Described device in one of the embodiments, further include: modulation module is used for according to preset modulating rule to mark
Know data to be modulated to obtain identification data sequence.
The preset modulating rule includes: the limited modulation of DK or the untethered modulation of DK in one of the embodiments,.
The coding module includes: in one of the embodiments,
Data encoding unit is encoded for the mode to identification data sequence in the long distance of swimming position Yi Zikeng, sub- bank,
Form engraving data sequence;Wherein, the long distance of swimming includes hole and bank, according to Zi Keng, sub- bank coding mode by the mark
The mode of data sequence Yi Zikeng and sub- bank is inserted into the hole and bank.
Described device in one of the embodiments, further include: imprinting module is used for the engraving data sequence imprinting
In CD.
A kind of device based on the additional hiding mark data of CD synchronization frame, described device include:
Sequence read module, for obtaining engraving data sequence;
Frame header position computing module, for obtaining the frame of original data sequence synchronization frame according to the engraving data sequence
Head position;
Mark data read module, for reading the mark data sequence for being hidden in frame header position according to the frame header position
Column;
Wherein, the engraving data sequence is the complex data sequence for including original data sequence and mark data.
The mark data read module includes: long distance of swimming position computation module in one of the embodiments, for obtaining
Take the long distance of swimming position of frame head;Mark data extraction unit, for reading the identification data sequence for being hidden in the long distance of swimming position.
The frame header position computing module includes: frame head acquiring unit in one of the embodiments, original for obtaining
The frame header position of the current sync frame of data sequence;Frame head computing unit, for the frame header position according to the current sync frame,
Calculate the frame header position of next frame.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
Device performs the steps of when executing the computer program
Obtain the frame header position of original data sequence synchronization frame;
According to the frame header position, the long distance of swimming position of frame head is obtained;
The original data sequence and identification data sequence are encoded in the long distance of swimming position of the frame head, is formed and is carved
Record data sequence.
It is also performed the steps of when the processor executes the computer program in one of the embodiments,
Obtain engraving data sequence;
According to the engraving data sequence, the frame header position of original data sequence synchronization frame is obtained;
According to the frame header position, the identification data sequence for being hidden in frame header position is read;
Wherein, the engraving data sequence is the complex data sequence for including original data sequence and mark data.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
It is performed the steps of when row
Obtain the frame header position of original data sequence synchronization frame;
According to the frame header position, the long distance of swimming position of frame head is obtained;
The original data sequence and identification data sequence are encoded in the long distance of swimming position of the frame head, is formed and is carved
Record data sequence.
It is also performed the steps of when the computer program is executed by processor in one of the embodiments,
Obtain engraving data sequence;
According to the engraving data sequence, the frame header position of original data sequence synchronization frame is obtained;
According to the frame header position, the identification data sequence for being hidden in frame header position is read;
Wherein, the engraving data sequence is the complex data sequence for including original data sequence and mark data.
Above-mentioned method, apparatus, computer equipment and storage medium based on the additional hiding mark data of CD synchronization frame,
By adding mark data in synchronization frame frame header position, convenient for it is hidden can to know that frame header position is quickly read in disc reading
The mark data of hiding;Identification data sequence is encoded by the long distance of swimming position in original data sequence, can will be identified
Data are hidden, so that the confidentiality of mark data greatly improves.
Detailed description of the invention
Fig. 1 is the flow diagram of the method based on the additional hiding mark data of CD synchronization frame in one embodiment;
Fig. 2 is the process signal of the method based on the additional hiding mark data of CD synchronization frame in another embodiment
Figure;
Fig. 3 is original data sequence and engraving data comparative diagram in one embodiment;
Fig. 4 is the structural block diagram of the device based on the additional hiding mark data of CD synchronization frame in one embodiment;
Fig. 5 is the structural block diagram of the device based on the additional hiding mark data of CD synchronization frame in another embodiment;
Fig. 6 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
In one embodiment, as shown in Figure 1, providing a kind of mark data additional hiding based on CD synchronization frame
Method, comprising the following steps:
Step 102, the frame header position of original data sequence synchronization frame is obtained.
Wherein, original data sequence is audio, video or the file data stored in CD.Synchronization frame is frame synchronization
Data;Frame synchronization refers to: in digital time-division multiplex communication, in order to properly separate each channel time slot signal, in transmitting terminal
The start mark of every frame must be provided, detected in receiving end and obtain the process of this mark;Wherein, the start mark of every frame claims
Be frame head.
Wherein, the frame header position of every frame data is fixed, as long as obtaining previous frame header position, can learn next frame head position
It sets, i.e., the relative position of previous frame header position and next frame header position is fixed.
Step 104, according to the frame header position, the long distance of swimming position of frame head is obtained.
Wherein, start mark of the frame head as every frame data, is made of binary data.Original data sequence may include
Multiframe data, every frame data include a frame head.Since the frame head of every frame data is all identical, the long distance of swimming position of frame head is also
Fixed.
Wherein, in synchronization frame, the binary data sequence that frame head is formed can include multiple long distances of swimming.Long distance of swimming position
Including the position between long distance of swimming initial position, long distance of swimming final position and long distance of swimming initial position and long distance of swimming final position,
Occur when rising edge or failing edge being long distance of swimming initial position or long distance of swimming stop bit in the binary data sequence that frame head is formed
It sets, the time span between long distance of swimming initial position and long distance of swimming final position is greater than (2 × a)+b.Binary data storage with
The hole of the physical runlength of optical storage media and bank are corresponding, and one or more long distances of swimming may be present in frame head, and the long distance of swimming is that can insert
Enter the distance of swimming in sub- hole or sub- bank, the length of the general long distance of swimming is greater than (2 × a)+b, then will be with long distance of swimming starting position interval at least
It is initially inserted into sub- hole or sub- bank for the position of a, the son hole of insertion or sub- bank length are b, sub- hole or sub- bank and long distance of swimming stop bit
The interval set also is at least a, the sub- hole or sub- bank for indicating identification data sequence, is spaced the length of a convenient for Optical devices
Carry out physical identification.It can be guaranteed using technical solution described in the present embodiment by encoding readable number in original data sequence
It is not take up CD exceptional space.Wherein, a indicates a chronomere, and b indicates b chronomere.
Step 106, the original data sequence and identification data sequence are compiled in the long distance of swimming position of the frame head
Code forms engraving data sequence.
Wherein, original data sequence and identification data sequence are binary data sequence, the synchronization of original data sequence
The frame head of frame includes multiple long distances of swimming.In the long distance of swimming position of the frame head to the original data sequence and identification data sequence
Encoded, the process of coding as shown in figure 3, being greater than 7T in the frame head of the synchronization frame of original data sequence is the long distance of swimming,
In long distance of swimming insertion identification data sequence " 0x9E ", then it is corresponding " 0x9E " to be sequentially inserted into " hole " or " bank " greater than 7T
Binary data " 10011110 " forms engraving data sequence, is expressed as " 1 " in long distance of swimming position insertion " sub- hole " or " sub- bank ",
It is not inserted into any data and is expressed as " 0 ".
As a specific embodiment, the frame header position for obtaining original data sequence synchronization frame includes: to obtain
The frame header position of the current sync frame of original data sequence;According to the frame header position of the current sync frame, next frame is calculated
Frame header position.
As a specific embodiment, the method based on the additional hiding mark data of CD synchronization frame further include:
Mark data is modulated to obtain identification data sequence according to preset modulating rule.
In the present embodiment, identification data sequence is binary data, and the preset modulating rule includes: the limited modulation of DK
Or the untethered modulation of DK.
Specifically, it after mark data is converted into binary data, is formatted, ECC inspection Error Correction of Coding, then may be selected
The untethered modulation of DK is carried out, or carries out the limited modulation of DK, modulated data are frame structure, by being inserted into frame before every frame data
Head obtains last identification data sequence.Wherein, it carries out DK and is limited modulated data, contracting acyclic homologically trioial system can be carried out again, raising can
Read the information content of number.
Wherein, when such as carrying out the untethered modulation of DK to mark data, it is untethered DK can be carried out according to preset first code rate
Modulation e.g. by mark data according to the code rate of R=8/9, carries out DK (0,9) modulation.
It is inserted into a data after each byte, the insertion data are opposite with last position of the byte.Such as: byte number
First go out according to low level when being converted into bit data stream, then last position of each byte is " non-" highest order (b7).At this point, if b7=" 1 ",
Then it is inserted into a b8=" 0 ";Conversely,Code table is as follows.
Input code word | Output codons |
b0 ... b7 | b0 ... b7b8 |
xxxx xxx1 | xxxx xxx1 0 |
xxxx xxx0 | xxxx xxx0 1 |
Wherein, it when being such as limited modulation to mark data progress DK, can be modulated according to preset second code rate progress DK is limited,
Such as, mark data is subjected to DK (1,7) modulation according to R=2,3 code rate.
By the code rate of R=2/3, by 182 bytes of every row ECC data, coding (code table such as following table institute is limited by DK (1,7)
Show), it is modulated to the record frame modulation data of (182*8) * 3/2=2184 bit.Modulate basic code table ((1,7) code table) are as follows:
Basic code table | Replace code table | ||
00 | 101 | 00/00 | 101000 |
01 | 100 | 00/01 | 100000 |
10 | 001 | 10/00 | 001000 |
11 | 010 | 10/01 | 010000 |
In one of the embodiments, in the long distance of swimming position of the frame head to the original data sequence and mark data
Sequence is encoded, and is formed after engraving data sequence further include: by the engraving data sequence imprinting in CD.
In the long distance of swimming position of the frame head to the original data sequence and mark described in one of the embodiments,
Data sequence is encoded, and forming engraving data sequence includes: to identification data sequence in the long distance of swimming position Yi Zikeng, son
The mode of bank encodes, and forms engraving data sequence;Wherein, the long distance of swimming includes hole and bank, according to Zi Keng, the coding staff of sub- bank
The mode of the identification data sequence Yi Zikeng and sub- bank are inserted into the hole and bank by formula.
Wherein, in synchronization frame, the binary data sequence that frame head is formed can include multiple long distances of swimming.Long distance of swimming position
Including the position between long distance of swimming initial position, long distance of swimming final position and long distance of swimming initial position and long distance of swimming final position,
Occur when rising edge or failing edge being long distance of swimming initial position or long distance of swimming stop bit in the binary data sequence that frame head is formed
It sets, the time span between long distance of swimming initial position and long distance of swimming final position is greater than (2 × a)+b.According to the length of the frame head
Distance of swimming position encodes identification data sequence specifically: the hole and bank of binary data storage and the physical runlength of optical storage media
Corresponding, the long distance of swimming is to be inserted into the distance of swimming in sub- hole or sub- bank, and the length of the general long distance of swimming is greater than (2 × a)+b, then will swim with long
The position that journey starting position interval is at least a is initially inserted into sub- hole or sub- bank, and the son hole of insertion or sub- bank length are b, sub- hole or
The interval of sub- bank and long distance of swimming final position is also at least a, the sub- hole or sub- bank for indicating identification data sequence, is spaced a
Length convenient for Optical devices carry out physical identification.For example, as shown in figure 3, in the frame head of the synchronization frame of original data sequence
Be the long distance of swimming greater than 7T, in long distance of swimming insertion identification data sequence " 0x9E ", then " hole " or " bank " greater than 7T according to
The corresponding binary data " 10011110 " of secondary insertion " 0x9E " forms engraving data sequence, is inserted into " sub- hole " in long distance of swimming position
Or " sub- bank " is expressed as " 1 ", is not inserted into any data and is expressed as " 0 ".
Wherein, engraving data sequence is the data sequence for imprinting in an optical disc.
In one embodiment, as shown in Fig. 2, providing a kind of mark data additional hiding based on CD synchronization frame
Method, comprising the following steps:
Step 202, engraving data sequence is obtained.
Wherein, the engraving data sequence is the complex data sequence for including original data sequence and mark data.Wherein,
Engraving data sequence is read from CD.
Step 204, according to the engraving data sequence, the frame header position of original data sequence synchronization frame is obtained.
Wherein, the frame header position of every frame data is fixed, as long as obtaining previous frame header position, can learn next frame head position
It sets, i.e., the relative position of previous frame header position and next frame header position is fixed.
Step 206, according to the frame header position, the identification data sequence for being hidden in frame header position is read.
Wherein, identification data sequence is the data sequence being hidden in original data sequence, mark data can with it is original
Data sequence is related, can also be unrelated with original data sequence, mark data can be read for data of optical disk setting permission and to
Family carries out authentication.
In a specific embodiment, described according to the frame header position, read the mark number for being hidden in frame header position
It include: to obtain the long distance of swimming position of frame head according to sequence;Read the identification data sequence for being hidden in the long distance of swimming position.
Wherein, start mark of the frame head as every frame data, is made of binary data.Original data sequence may include
Multiframe data, every frame data include a frame head.Since the frame head of every frame data is all identical, the long distance of swimming position of frame head is also
Fixed, read the identification data sequence for being hidden in the long distance of swimming position, it is only necessary to which reading a frame head energy will be subsequent
The identification data sequence hidden in frame head is read out, and is simplified reading times and is improved reading efficiency.
The frame header position for obtaining original data sequence synchronization frame includes: that acquisition is original in one of the embodiments,
The frame header position of the current sync frame of data sequence;According to the frame header position of the current sync frame, the frame head of next frame is calculated
Position.
In the above-mentioned method based on the additional hiding mark data of CD synchronization frame, by being added in synchronization frame frame header position
Mark data, convenient for that can know that frame header position quickly reads hiding mark data in disc reading;By in original number
Identification data sequence is encoded according to the long distance of swimming position of sequence, mark data can be hidden, so that mark data
Confidentiality greatly improve.
It should be understood that although each step in the flow chart of Fig. 1-2 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 1-2
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, as shown in figure 4, providing a kind of mark data additional hiding based on CD synchronization frame
Device, comprising: frame header position computing module 110, long distance of swimming position computation module 120 and coding module 130, in which:
Frame header position computing module 110, for obtaining the frame header position of original data sequence synchronization frame.
Wherein, original data sequence is audio, video or the file data stored in CD.Synchronization frame is frame synchronization
Data;Frame synchronization refers to: in digital time-division multiplex communication, in order to properly separate each channel time slot signal, in transmitting terminal
The start mark of every frame must be provided, detected in receiving end and obtain the process of this mark;Wherein, the start mark of every frame claims
Be frame head.
Wherein, the frame header position of every frame data is fixed, as long as obtaining previous frame header position, can learn next frame head position
It sets, i.e., the relative position of previous frame header position and next frame header position is fixed.
Long distance of swimming position computation module 120, for obtaining the long distance of swimming position of frame head according to the frame header position.
Wherein, start mark of the frame head as every frame data, is made of binary data.Original data sequence may include
Multiframe data, every frame data include a frame head.Since the frame head of every frame data is all identical, the long distance of swimming position of frame head is also
Fixed.
Wherein, in synchronization frame, the binary data sequence that frame head is formed can include multiple long distances of swimming.Long distance of swimming position
Including the position between long distance of swimming initial position, long distance of swimming final position and long distance of swimming initial position and long distance of swimming final position,
Occur when rising edge or failing edge being long distance of swimming initial position or long distance of swimming stop bit in the binary data sequence that frame head is formed
It sets, the time span between long distance of swimming initial position and long distance of swimming final position is greater than (2 × a)+b.Binary data storage with
The hole of the physical runlength of optical storage media and bank are corresponding, and one or more long distances of swimming may be present in frame head, and the long distance of swimming is that can insert
Enter the distance of swimming in sub- hole or sub- bank, the length of the general long distance of swimming is greater than (2 × a)+b, then will be with long distance of swimming starting position interval at least
It is initially inserted into sub- hole or sub- bank for the position of a, the son hole of insertion or sub- bank length are b, sub- hole or sub- bank and long distance of swimming stop bit
The interval set also is at least a, the sub- hole or sub- bank for indicating identification data sequence, is spaced the length of a convenient for Optical devices
Carry out physical identification.It can be guaranteed using technical solution described in the present embodiment by encoding readable number in original data sequence
It is not take up CD exceptional space.Wherein, a indicates a chronomere, and b indicates b chronomere.
Coding module 130, for the long distance of swimming position in the frame head to the original data sequence and mark data sequence
Column are encoded, and engraving data sequence is formed.
Wherein, original data sequence and identification data sequence are binary data sequence, the synchronization of original data sequence
The frame head of frame includes multiple long distances of swimming.In the long distance of swimming position of the frame head to the original data sequence and identification data sequence
Encoded, the process of coding as shown in figure 3, being greater than 7T in the frame head of the synchronization frame of original data sequence is the long distance of swimming,
In long distance of swimming insertion identification data sequence " 0x9E ", then it is corresponding " 0x9E " to be sequentially inserted into " hole " or " bank " greater than 7T
Binary data " 10011110 " forms engraving data sequence, is expressed as " 1 " in long distance of swimming position insertion " sub- hole " or " sub- bank ",
It is not inserted into any data and is expressed as " 0 ".
As a specific embodiment, the frame header position computing module 110 includes: frame head acquiring unit, is used for
Obtain the frame header position of the current sync frame of original data sequence;Frame head computing unit, for according to the current sync frame
Frame header position calculates the frame header position of next frame.
As a specific embodiment, the device based on the additional hiding mark data of CD synchronization frame further include:
Modulation module, for being modulated to obtain identification data sequence to mark data according to preset modulating rule.Wherein, described pre-
If modulating rule include: the limited modulation of DK or the untethered modulation of DK.
Specifically, it after mark data is converted into binary data, is formatted, ECC inspection Error Correction of Coding, then may be selected
The untethered modulation of DK is carried out, or carries out the limited modulation of DK, modulated data are frame structure, by being inserted into frame before every frame data
Head obtains last identification data sequence.Wherein, it carries out DK and is limited modulated data, contracting acyclic homologically trioial system can be carried out again, raising can
Read the information content of number.
Wherein, when such as carrying out the untethered modulation of DK to mark data, it is untethered DK can be carried out according to preset first code rate
Modulation e.g. by mark data according to the code rate of R=8/9, carries out DK (0,9) modulation.
It is inserted into a data after each byte, the insertion data are opposite with last position of the byte.Such as: byte number
First go out according to low level when being converted into bit data stream, then last position of each byte is " non-" highest order (b7).At this point, if b7=" 1 ",
Then it is inserted into a b8=" 0 ";Conversely,Code table is as follows.
Input code word | Output codons |
b0 ... b7 | b0 ... b7b8 |
xxxx xxx1 | xxxx xxx1 0 |
xxxx xxx0 | xxxx xxx0 1 |
Wherein, it when being such as limited modulation to mark data progress DK, can be modulated according to preset second code rate progress DK is limited,
Such as, mark data is subjected to DK (1,7) modulation according to R=2,3 code rate.
By the code rate of R=2/3, by 182 bytes of every row ECC data, coding (code table such as following table institute is limited by DK (1,7)
Show), it is modulated to the record frame modulation data of (182*8) * 3/2=2184 bit.Modulate basic code table ((1,7) code table) are as follows:
Basic code table | Replace code table | ||
00 | 101 | 00/00 | 101000 |
01 | 100 | 00/01 | 100000 |
10 | 001 | 10/00 | 001000 |
11 | 010 | 10/01 | 010000 |
As a specific embodiment, the device based on the additional hiding mark data of CD synchronization frame further include:
Imprinting module is used for the engraving data sequence imprinting in CD.
The coding module includes: data encoding unit in one of the embodiments, for existing to identification data sequence
The long distance of swimming position Yi Zikeng, sub- bank mode encode, formed engraving data sequence;Wherein, the long distance of swimming include hole and
The mode of the identification data sequence Yi Zikeng and sub- bank are inserted into the hole and bank according to the coding mode of Zi Keng, sub- bank by bank.
Wherein, in synchronization frame, the binary data sequence that frame head is formed can include multiple long distances of swimming.Long distance of swimming position
Including the position between long distance of swimming initial position, long distance of swimming final position and long distance of swimming initial position and long distance of swimming final position,
Occur when rising edge or failing edge being long distance of swimming initial position or long distance of swimming stop bit in the binary data sequence that frame head is formed
It sets, the time span between long distance of swimming initial position and long distance of swimming final position is greater than (2 × a)+b.According to the length of the frame head
Distance of swimming position encodes identification data sequence specifically: the hole and bank of binary data storage and the physical runlength of optical storage media
Corresponding, the long distance of swimming is to be inserted into the distance of swimming in sub- hole or sub- bank, and the length of the general long distance of swimming is greater than (2 × a)+b, then will swim with long
The position that journey starting position interval is at least a is initially inserted into sub- hole or sub- bank, and the son hole of insertion or sub- bank length are b, sub- hole or
The interval of sub- bank and long distance of swimming final position is also at least a, the sub- hole or sub- bank for indicating identification data sequence, is spaced a
Length convenient for Optical devices carry out physical identification.For example, as shown in figure 3, in the frame head of the synchronization frame of original data sequence
Be the long distance of swimming greater than 7T, in long distance of swimming insertion identification data sequence " 0x9E ", then " hole " or " bank " greater than 7T according to
The corresponding binary data " 10011110 " of secondary insertion " 0x9E " forms engraving data sequence, is inserted into " sub- hole " in long distance of swimming position
Or " sub- bank " is expressed as " 1 ", is not inserted into any data and is expressed as " 0 ".
Wherein, engraving data sequence is the data sequence for imprinting in an optical disc.
In one embodiment, as shown in figure 5, providing a kind of mark data additional hiding based on CD synchronization frame
Device, comprising: sequence read module 210, frame header position computing module 220 and mark data read module 230, in which:
Sequence read module 210, for obtaining engraving data sequence.
Wherein, the engraving data sequence is the complex data sequence for including original data sequence and mark data.Wherein,
Engraving data sequence is read from CD.
Frame header position computing module 220, for obtaining original data sequence synchronization frame according to the engraving data sequence
Frame header position.
Wherein, the frame header position of every frame data is fixed, as long as obtaining previous frame header position, can learn next frame head position
It sets, i.e., the relative position of previous frame header position and next frame header position is fixed.
Mark data read module 230, for reading the mark data for being hidden in frame header position according to the frame header position
Sequence.
Wherein, identification data sequence is the data sequence being hidden in original data sequence, mark data can with it is original
Data sequence is related, can also be unrelated with original data sequence, mark data can be read for data of optical disk setting permission and to
Family carries out authentication.
In a specific embodiment, the mark data read module 230 includes: long distance of swimming position computation module,
For obtaining the long distance of swimming position of frame head;Mark data extraction unit, for reading the mark number for being hidden in the long distance of swimming position
According to sequence.
Wherein, start mark of the frame head as every frame data, is made of binary data.Original data sequence may include
Multiframe data, every frame data include a frame head.Since the frame head of every frame data is all identical, the long distance of swimming position of frame head is also
Fixed, read the identification data sequence for being hidden in the long distance of swimming position, it is only necessary to which reading a frame head energy will be subsequent
The identification data sequence hidden in frame head is read out, and is simplified reading times and is improved reading efficiency.
In a specific embodiment, the frame header position computing module 220 includes:
Frame head acquiring unit, the frame header position of the current sync frame for obtaining original data sequence;
Frame head computing unit calculates the frame header position of next frame for the frame header position according to the current sync frame.
It is above right that specific restriction about the device based on the additional hiding mark data of CD synchronization frame may refer to
In the restriction of the method based on the additional hiding mark data of CD synchronization frame, details are not described herein.It is above-mentioned synchronous based on CD
Modules in the device of the additional hiding mark data of frame can come real fully or partially through software, hardware and combinations thereof
It is existing.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with software shape
Formula is stored in the memory in computer equipment, executes the corresponding operation of the above modules in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 6.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The database of machine equipment is used to store the data for realizing the method based on the additional hiding mark data of CD synchronization frame.The calculating
The network interface of machine equipment is used to communicate with external terminal by network connection.When the computer program is executed by processor with
Realize a kind of method based on the additional hiding mark data of CD synchronization frame.
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory
Computer program, the processor perform the steps of when executing computer program
Obtain the frame header position of original data sequence synchronization frame;
According to the frame header position, the long distance of swimming position of frame head is obtained;
The original data sequence and identification data sequence are encoded in the long distance of swimming position of the frame head, is formed and is carved
Record data sequence.
In one embodiment, it is also performed the steps of when processor executes computer program
Obtain engraving data sequence;
According to the engraving data sequence, the frame header position of original data sequence synchronization frame is obtained;
According to the frame header position, the identification data sequence for being hidden in frame header position is read;
Wherein, the engraving data sequence is the complex data sequence for including original data sequence and mark data.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
Obtain the frame header position of original data sequence synchronization frame;
According to the frame header position, the long distance of swimming position of frame head is obtained;
The original data sequence and identification data sequence are encoded in the long distance of swimming position of the frame head, is formed and is carved
Record data sequence.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Obtain engraving data sequence;
According to the engraving data sequence, the frame header position of original data sequence synchronization frame is obtained;
According to the frame header position, the identification data sequence for being hidden in frame header position is read;
Wherein, the engraving data sequence is the complex data sequence for including original data sequence and mark data.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of method based on the additional hiding mark data of CD synchronization frame, which is characterized in that the described method includes:
Obtain the frame header position of original data sequence synchronization frame;
According to the frame header position, the long distance of swimming position of frame head is obtained;
The original data sequence and identification data sequence are encoded in the long distance of swimming position of the frame head, form imprinting number
According to sequence.
2. the method according to claim 1, wherein the frame header position for obtaining original data sequence synchronization frame
Include:
Obtain the frame header position of the current sync frame of original data sequence;
According to the frame header position of the current sync frame, the frame header position of next frame is calculated.
3. the method according to claim 1, wherein further include: according to preset modulating rule to mark data
It is modulated to obtain identification data sequence;Wherein, the preset modulating rule includes the limited modulation of DK or the untethered modulation of DK.
4. the method according to claim 1, wherein the long distance of swimming position in the frame head is to described original
Data sequence and identification data sequence are encoded, and are formed engraving data sequence and are included:
Mode to identification data sequence in the long distance of swimming position Yi Zikeng, sub- bank encodes, and forms engraving data sequence;Its
In, the long distance of swimming includes hole and bank, according to Zi Keng, sub- bank coding mode by the identification data sequence Yi Zikeng and sub- bank
Mode be inserted into the hole and bank.
5. the method according to claim 1, wherein in the long distance of swimming position of the frame head to the initial data
Sequence and identification data sequence are encoded, and are formed after engraving data sequence further include: by the engraving data sequence imprinting
In CD.
6. a kind of method based on the additional hiding mark data of CD synchronization frame, which is characterized in that the described method includes:
Obtain engraving data sequence;
According to the engraving data sequence, the frame header position of original data sequence synchronization frame is obtained;
According to the frame header position, the identification data sequence for being hidden in frame header position is read;
Wherein, the engraving data sequence is the complex data sequence for including original data sequence and mark data.
7. according to the method described in claim 6, reading is hidden in frame head it is characterized in that, described according to the frame header position
The identification data sequence of position includes:
Obtain the long distance of swimming position of frame head;
Read the identification data sequence for being hidden in the long distance of swimming position.
8. according to the described in any item methods of claim 6-7, which is characterized in that the acquisition original data sequence synchronization frame
Frame header position includes:
Obtain the frame header position of the current sync frame of original data sequence;
According to the frame header position of the current sync frame, the frame header position of next frame is calculated.
9. a kind of device of the mark data additional hiding based on CD synchronization frame, which is characterized in that described device includes:
Frame header position computing module, for obtaining the frame header position of original data sequence synchronization frame;
Long distance of swimming position computation module, for obtaining the long distance of swimming position of frame head according to the frame header position;
Coding module compiles the original data sequence and identification data sequence for the long distance of swimming position in the frame head
Code forms engraving data sequence.
10. a kind of device of the mark data additional hiding based on CD synchronization frame, which is characterized in that described device includes:
Sequence read module, for obtaining engraving data sequence;
Frame header position computing module, for obtaining the frame head position of original data sequence synchronization frame according to the engraving data sequence
It sets;
Mark data read module, for reading the identification data sequence for being hidden in frame header position according to the frame header position;
Wherein, the engraving data sequence is the complex data sequence for including original data sequence and mark data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810713224.5A CN108962289B (en) | 2018-06-29 | 2018-06-29 | Method and device for appending hidden identification data based on optical disc synchronous frame |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810713224.5A CN108962289B (en) | 2018-06-29 | 2018-06-29 | Method and device for appending hidden identification data based on optical disc synchronous frame |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108962289A true CN108962289A (en) | 2018-12-07 |
CN108962289B CN108962289B (en) | 2020-05-12 |
Family
ID=64485053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810713224.5A Active CN108962289B (en) | 2018-06-29 | 2018-06-29 | Method and device for appending hidden identification data based on optical disc synchronous frame |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108962289B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110149171A (en) * | 2019-06-25 | 2019-08-20 | 昆腾微电子股份有限公司 | A kind of sending method, method of reseptance and the device of wireless audio data |
CN113672682A (en) * | 2021-08-18 | 2021-11-19 | 广州有信科技有限公司 | Synchronous frame based quantity synchronization method and synchronization device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3903536B2 (en) * | 1997-06-30 | 2007-04-11 | ソニー株式会社 | Optical disc recording device, optical disc and optical disc reproducing device |
CN101169833A (en) * | 2006-10-26 | 2008-04-30 | 富士通株式会社 | Information access system, reader/writer device and contactless information storage device |
CN101217365A (en) * | 2008-01-16 | 2008-07-09 | 中国人民解放军西安通信学院 | SDH signal encryption method realized by key bytes |
WO2010127386A1 (en) * | 2009-05-06 | 2010-11-11 | Swinburne University Of Technology | Optical recording, storage and retrieval product, process, system and medium |
US20130064054A1 (en) * | 2000-05-17 | 2013-03-14 | JVC Kenwood Corporation | Information recording medium, and recording method and reproducing method thereof |
CN106782624A (en) * | 2016-12-02 | 2017-05-31 | 北京同方光盘股份有限公司 | The additional hidden identification method and device of compact disc recordable |
-
2018
- 2018-06-29 CN CN201810713224.5A patent/CN108962289B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3903536B2 (en) * | 1997-06-30 | 2007-04-11 | ソニー株式会社 | Optical disc recording device, optical disc and optical disc reproducing device |
US20130064054A1 (en) * | 2000-05-17 | 2013-03-14 | JVC Kenwood Corporation | Information recording medium, and recording method and reproducing method thereof |
CN101169833A (en) * | 2006-10-26 | 2008-04-30 | 富士通株式会社 | Information access system, reader/writer device and contactless information storage device |
CN101217365A (en) * | 2008-01-16 | 2008-07-09 | 中国人民解放军西安通信学院 | SDH signal encryption method realized by key bytes |
WO2010127386A1 (en) * | 2009-05-06 | 2010-11-11 | Swinburne University Of Technology | Optical recording, storage and retrieval product, process, system and medium |
CN106782624A (en) * | 2016-12-02 | 2017-05-31 | 北京同方光盘股份有限公司 | The additional hidden identification method and device of compact disc recordable |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110149171A (en) * | 2019-06-25 | 2019-08-20 | 昆腾微电子股份有限公司 | A kind of sending method, method of reseptance and the device of wireless audio data |
CN110149171B (en) * | 2019-06-25 | 2022-04-26 | 昆腾微电子股份有限公司 | Wireless audio data sending method, receiving method and device |
CN113672682A (en) * | 2021-08-18 | 2021-11-19 | 广州有信科技有限公司 | Synchronous frame based quantity synchronization method and synchronization device |
Also Published As
Publication number | Publication date |
---|---|
CN108962289B (en) | 2020-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8626988B2 (en) | System and method for uncoded bit error rate equalization via interleaving | |
CN100557981C (en) | Be used under the situation that continuous minimum range length restriction is arranged, carrying out the apparatus and method for of modulating/demodulating | |
US8131094B2 (en) | Method and apparatus for encoding/decoding 3D mesh information | |
CN108039190B (en) | Test method and device | |
CN108962289A (en) | Method and device based on the additional hiding mark data of CD synchronization frame | |
CN113065169A (en) | File storage method, device and equipment | |
US9830326B2 (en) | Identifying data offsets using binary masks | |
CN110322385B (en) | Watermark embedding and extracting method and device and electronic equipment | |
JP2009015909A (en) | Error correction processing device and error correction processing method | |
CN106782624B (en) | Compact disc recordable adds hidden identification method and device | |
US7804919B2 (en) | Run length limiting apparatus and run length limiting method | |
CN1329911C (en) | Examine code generating method, writing data generating method and repeat data writing method | |
CN116187435B (en) | Method and system for storing information by utilizing DNA (deoxyribonucleic acid) based on large and small fountain codes and MRC (MRC) algorithm | |
CN108922567A (en) | The method and device of the restriction of CD hiding data reading times | |
CN117290332A (en) | Data migration verification method, device, equipment and storage medium | |
TW200407879A (en) | Data storage medium having link zone and apparatus and method for recording/reproducing data on/from the data storage medium | |
CN110378829B (en) | Method, device and equipment for providing information and extracting watermark | |
CN110096624B (en) | Encoding and decoding method and device, computer equipment and storage medium | |
CN114201176A (en) | Intelligent contract compiling and matching method, device, equipment and storage medium | |
CN108830116A (en) | Identity identifying method and device based on CD hiding data | |
CN116257146B (en) | Encoding and decoding method and device, electronic equipment and storage medium | |
CN101589432B (en) | Method and apparatus for recording/reproducing data on/from holographic storage medium | |
KR100605417B1 (en) | Data recording controller | |
CN106874811B (en) | Magnetic stripe card data reading method and device | |
US7843365B2 (en) | Data encoding and decoding methods and computer readable medium thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |