CN108922567A - The method and device of the restriction of CD hiding data reading times - Google Patents

The method and device of the restriction of CD hiding data reading times Download PDF

Info

Publication number
CN108922567A
CN108922567A CN201810714371.4A CN201810714371A CN108922567A CN 108922567 A CN108922567 A CN 108922567A CN 201810714371 A CN201810714371 A CN 201810714371A CN 108922567 A CN108922567 A CN 108922567A
Authority
CN
China
Prior art keywords
data
sequence
read
readable
hiding
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
Application number
CN201810714371.4A
Other languages
Chinese (zh)
Other versions
CN108922567B (en
Inventor
裴京
徐海峥
许斌
游泳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING TONGFANG OPTICAL DISK Co Ltd
Original Assignee
BEIJING TONGFANG OPTICAL DISK Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING TONGFANG OPTICAL DISK Co Ltd filed Critical BEIJING TONGFANG OPTICAL DISK Co Ltd
Priority to CN201810714371.4A priority Critical patent/CN108922567B/en
Publication of CN108922567A publication Critical patent/CN108922567A/en
Application granted granted Critical
Publication of CN108922567B publication Critical patent/CN108922567B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1217Formatting, e.g. arrangement of data block or words on the record carriers on discs

Abstract

This application involves a kind of method and devices of the restriction of CD hiding data reading times.The method includes:It is modulated to form readable secondary Number Sequence according to the reading times of hiding data;Obtain the long distance of swimming of initial data;In the long distance of swimming position to the readable number sequential coding, engraving data sequence is formed.The reading times that hiding data can be limited using this method provide the safety of hiding data storage.

Description

The method and device of the restriction of CD hiding data reading times
Technical field
This application involves CDs can record technical field, more particularly to a kind of restriction of CD hiding data reading times Method and device.
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 engraving data as desired CD, and in writing process, can to engraving data into Permission is read in row encryption and setting.However, current encryption method is only limitted to be read out initial data limitation, cause to carve It is not high enough to record CD confidentiality.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, it is hidden to provide a kind of CD that can be improved hiding data safety Hide method, apparatus, computer equipment and the storage medium of the restriction of reading data number.
A kind of method of the restriction of CD hiding data reading times, the method includes:
It is modulated to form readable secondary Number Sequence according to the reading times of hiding data;
Obtain the long distance of swimming of initial data;
In the long distance of swimming position to the readable number sequential coding, engraving data sequence is formed.
In one of the embodiments, the method also includes:By the engraving data sequence imprinting in CD.
The reading times according to hiding data modulate to form readable secondary Number Sequence packet in one of the embodiments, It includes:It is modulated to obtain readable secondary Number Sequence according to reading times of the preset modulating rule to the hiding data.
The default modulating rule includes the limited modulation of DK or the untethered modulation of DK in one of the embodiments,.
In one of the embodiments, it is described according to the long distance of swimming to the readable number sequential coding, form imprinting Data sequence includes:Mode to the readable secondary Number Sequence in the long distance of swimming Yi Zikeng, sub- bank encodes, and forms engraving data Sequence;Wherein, the long distance of swimming include hole and bank, according to Zi Keng, sub- bank coding mode by the readable secondary Number Sequence with son The mode of hole and sub- bank is inserted into the hole and bank.
A kind of method of the restriction of CD hiding data reading times, the method includes:
Obtain engraving data sequence;
According to the engraving data sequence read hiding data and readable secondary Number Sequence, and records and read number mark;
According to the readable secondary Number Sequence and number mark has been read, has limited the hiding data reading times;
Wherein, the engraving data sequence is the complex data for including initial data, hiding data and readable secondary Number Sequence Sequence.
It is described according to the engraving data sequence read hiding data and readable secondary number sequence in one of the embodiments, Column, and record and read number mark and include:Obtain the long distance of swimming of initial data in the engraving data sequence;
Extract the hiding data and readable secondary Number Sequence for being hidden in the long distance of swimming;After the readable secondary Number Sequence The long distance of swimming is position encoded to have read number mark.
Described in one of the embodiments, according to the readable secondary Number Sequence and to have read number mark, limitation is read time Number includes:According to the readable secondary Number Sequence and number mark is read, judgement has read whether number is greater than readable number;If having read Number is greater than readable number, then limits the reading of the hiding data.
The reading of the limitation hiding data in one of the embodiments, includes:Destroy hiding data, limitation is read One of reading of content, limitation lack of competence equipment or a variety of out.
It is described according to the engraving data sequence read hiding data and readable secondary number sequence in one of the embodiments, Column, and record read include after number mark:Record reads the mark of the reading equipment of the hiding data.
A kind of device of the restriction of CD hiding data reading times, described device include:
Modulation module is modulated to form readable secondary Number Sequence for the reading times according to hiding data;
Coding module compiles the readable secondary Number Sequence in the long distance of swimming position for obtaining the long distance of swimming of initial data Code forms engraving data sequence.
Described device further includes in one of the embodiments,:
Imprinting module is used for the engraving data sequence imprinting in CD.
A kind of device of the restriction of CD hiding data reading times, described device include:
Read module, for obtaining engraving data sequence;
Logging modle is used for according to the engraving data sequence read hiding data and readable secondary Number Sequence, and is recorded Read number mark;
It reads data and limits module, for according to the readable secondary Number Sequence and having read number mark, limit described hiding Reading data number;
Wherein, the engraving data sequence be include initial data, hiding data and readable secondary Number Sequence complex data sequence Column.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device realizes following steps when executing the computer program:
It is modulated to form readable secondary Number Sequence according to the reading times of hiding data;
Obtain the long distance of swimming of initial data;
In the long distance of swimming position to the readable number sequential coding, engraving data sequence is formed.
Following steps are also realized when the processor executes the computer program in one of the embodiments,:
Obtain engraving data sequence;
According to the engraving data sequence read hiding data and readable secondary Number Sequence, and records and read number mark;
According to the readable secondary Number Sequence and number mark has been read, has limited the hiding data reading times;
Wherein, the engraving data sequence is the complex data for including initial data, hiding data and readable secondary Number Sequence Sequence.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor Following steps are realized when row:
It is modulated to form readable secondary Number Sequence according to the reading times of hiding data;
Obtain the long distance of swimming of initial data;
In the long distance of swimming position to the readable number sequential coding, engraving data sequence is formed.
Following steps are also realized when the computer program is executed by processor in one of the embodiments,:
Obtain engraving data sequence;
According to the engraving data sequence read hiding data and readable secondary Number Sequence, and records and read number mark;
According to the readable secondary Number Sequence and number mark has been read, has limited the hiding data reading times;
Wherein, the engraving data sequence is the complex data for including initial data, hiding data and readable secondary Number Sequence Sequence.
Method, apparatus, computer equipment and the storage medium of the restriction of above-mentioned CD hiding data reading times, in CD The long distance of swimming of initial data has read number by the way that hiding data is set readable number and recorded, to limit the reading time of hiding data Several and permission, can effectively ensure that the safety of hiding data, and do not destroy CD initial data, CD is had a variety of Purposes.
Detailed description of the invention
Fig. 1 is the flow diagram of the method for the restriction of CD hiding data reading times in one embodiment;
Fig. 2 is the flow diagram of the method for the restriction of CD hiding data reading times in another embodiment;
Fig. 3 is to illustrate in one embodiment to the process that hiding data records reading times and limits reading times step Figure;
Fig. 4 is to illustrate in another embodiment to the process that hiding data records reading times and limits reading times step Figure;
Fig. 5 is the structural block diagram of the device of the restriction of CD hiding data reading times in one embodiment;
Fig. 6 is the structural block diagram of the device of the restriction of CD hiding data reading times in another embodiment;
Fig. 7 is the internal structure chart of computer equipment in one embodiment;
Fig. 8 is initial data and engraving data comparative diagram 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 method of the restriction of CD hiding data reading times, Include the following steps:
S102 modulates to form readable secondary Number Sequence according to the reading times of hiding data.
Wherein, the hiding data in step S102 is hidden in CD initial data, by inciting somebody to action in the long distance of swimming of initial data Hiding data carries out Zi Keng, sub- bank coding, forms the data sequence that hiding data is mixed with initial data.Wherein CD is primary Property writing optical disk can also be rewritable CD.
As a specific embodiment, the reading times according to hiding data modulate to form readable secondary Number Sequence Including:To the reading times of the hiding data, it is modulated to obtain readable secondary Number Sequence according to preset modulating rule.
In the present embodiment, the reading times of hiding data are binary data.Wherein, preset modulating rule is limited for DK Modulation or the untethered modulation of DK.
Specifically, it after the reading times of hiding data are converted into binary data, is formatted, ECC inspection Error Correction of Coding, Then it may be selected to carry out the untethered modulation of DK, or carry out the limited modulation of DK, modulated data are frame structure, by every frame number According to preceding insertion frame head, last readable secondary Number Sequence is obtained.Wherein, it carries out DK and is limited modulated data, contracting zero can be carried out again Modulation, improves the information content of readable number.
Wherein, when such as carrying out the untethered modulation of DK to the reading times of hiding data, can according to preset first code rate into The untethered modulation of row DK e.g. by the reading times of hiding 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 the reading times progress DK of hiding data, can be carried out according to preset second code rate The limited modulation of DK e.g. by the reading times of hiding data according to R=2,3 code rate, carries out DK (1,7) modulation.
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.Modulating basic code table ((1,7) code table) is:
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
S104 obtains the long distance of swimming of initial data.
Wherein, initial data storage is using binary form storage and CD, binary data storage and optical storage media Physical runlength hole and bank it is 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 The position for being at least a with long distance of swimming starting position interval is then initially inserted into sub- hole or sub- bank by (2 × a)+b, the son hole of insertion or Sub- bank length is b, and the interval of sub- hole or sub- bank and long distance of swimming final position is also at least a, the sub- hole or sub- bank for indicating Readable secondary Number Sequence is spaced the length of a convenient for Optical devices and carries out physical identification.
S106 forms engraving data sequence in the long distance of swimming position to the readable number sequential coding.
Wherein, it is specially to the readable number sequential coding in the long distance of swimming position:Binary data storage and light The hole of the physical runlength of storage medium and bank are corresponding, and the long distance of swimming is to be inserted into the distance of swimming in sub- hole or sub- bank, the general long distance of swimming Length is greater than (2 × a)+b, then the position for being at least a with long distance of swimming starting position interval is initially inserted into sub- hole or sub- bank, is inserted into Son hole or sub- bank length be b, the interval of sub- hole or sub- bank and long distance of swimming final position is also at least a, the sub- hole or sub- bank For indicating readable secondary Number Sequence, the length of a is spaced convenient for Optical devices and carries out physical identification.For example, as shown in figure 8, in original Being greater than 7T in beginning data is the long distance of swimming, is inserted into readable secondary Number Sequence " 0x9E " in the long distance of swimming, then in " hole " for being greater than 7T Or " bank " is sequentially inserted into " 0x9E " corresponding binary data " 10011110 ", is inserted into " sub- hole " or " sub- bank " in long distance of swimming position It is expressed as " 1 ", any data is not inserted into and is expressed as " 0 ".
Wherein, engraving data sequence is the data sequence for imprinting in an optical disc.
In an embodiment of the invention, it is described in the long distance of swimming position to the readable number sequential coding, formed Engraving data sequence includes:Mode to the readable secondary Number Sequence in long distance of swimming progress Yi Zikeng, sub- bank encodes, and forms imprinting Data sequence;Wherein, the long distance of swimming includes hole and bank, according to Zi Keng, sub- bank coding mode by the readable secondary Number Sequence The mode of Yi Zikeng and sub- bank is inserted into the hole and bank.
Wherein, binary data storage is corresponding with the hole of the physical runlength of optical storage media and bank, can deposit in initial data In multiple long distances of swimming, 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 The position for being at least a with long distance of swimming starting position interval is initially inserted into sub- hole or sub- bank, the son hole of insertion or sub- bank length are The interval of b, sub- hole or sub- bank and long distance of swimming final position is also at least a, the sub- hole or sub- bank for indicating readable secondary number sequence Column are spaced the length of a convenient for Optical devices and carry out physical identification.Using technical solution described in the present embodiment, by original number According to readable number is encoded, can guarantee to be not take up CD exceptional space.
In another embodiment, as shown in Fig. 2, providing a kind of side of the restriction of CD hiding data reading times Method includes the following steps:
S202 obtains engraving data sequence.
Wherein, engraving data sequence is read from CD.
S204 according to the engraving data sequence read hiding data and readable secondary Number Sequence, and is recorded and has been read number mark Will.
In the present embodiment, hiding data is hidden in CD initial data, by compiling in the long distance of swimming of initial data Code write-in.Wherein, having read number mark is binary data, and record has read the method and step of number mark and encoded readable number The step of sequence, is identical, by indicating to have read number by sub- hole or sub- bank in long distance of swimming position intron hole or sub- bank Mark.It has read number mark and has been preferably recorded in readable secondary Number Sequence, subsequent lookup is facilitated to compare, certain readable secondary Number Sequence can also It is recorded in other positions.
S206 according to the readable secondary Number Sequence and has read number mark, has limited the hiding data reading times.
Wherein, according to the readable secondary Number Sequence and number mark has been read, limiting the hiding data reading times includes: According to the readable secondary Number Sequence and number mark is read, judgement has read whether number is greater than readable number;If it is big to have read number In readable number, then the reading of the hiding data is limited.
Wherein, the reading for limiting the hiding data includes:Destroy hiding data, limitation reads content, limitation lack of competence One of reading of equipment is a variety of.Hiding data is destroyed by making its destruction to data are arbitrarily written in hiding data;Limit System reads content and can be carried out by the way of deleting partial content, so that can only reading section when reading again hiding data Content;Limitation, which reads content, to be configured permission according to the identity information for reading user or the mark for reading equipment, make to accord with The user or equipment for closing permission can read hiding data.
In the present embodiment, the engraving data sequence be include answering for initial data, hiding data and readable secondary Number Sequence Close data sequence.
Adopt this method, CD can carry hiding data without being found and identifying, only specific user by with The physical unit that the embodiment of the present invention combines could identify the hiding data, and the reading times by limiting hiding data Further ensure the safety of hiding data.
In the method for the restriction of above-mentioned CD hiding data reading times, pass through in the long distance of swimming of CD initial data to hiding The readable number of data setting and record have read number, to limit the reading times and permission of hiding data, can effectively ensure that hidden The safety of data is hidden, and does not destroy CD initial data, CD is served many purposes.
In an embodiment of the invention, described according to the engraving data sequence read hiding data and readable secondary number sequence Column, and record and read number mark and include:Obtain the long distance of swimming of initial data in the engraving data sequence;Extraction is hidden in described The hiding data of the long distance of swimming and readable secondary Number Sequence;The long distance of swimming after the readable secondary Number Sequence is position encoded to have read number Mark.
In an embodiment of the invention, described according to the readable secondary Number Sequence and to have read number mark, limitation is read Number includes:According to the readable secondary Number Sequence and number mark is read, judgement has read whether number is greater than readable number;If It reads number and is greater than readable number, then limit the reading of the hiding data.
In an embodiment of the invention, described according to the engraving data sequence read hiding data and readable secondary number sequence Column, and record read include after number mark:Record reads the mark of the reading equipment of the hiding data.Read equipment Mark can be used for the limitation to equipment reading permission is read, and be conducive to enhance hiding data safety.To the mark for reading equipment Knowledge is position encoded in the long distance of swimming of initial data, is stored in engraving data sequence.
As shown in figure 3, in an embodiment of the invention, a kind of method tool of the restriction of CD hiding data reading times Steps are as follows for body:
S310 modulates the reading times of hiding data to form readable secondary Number Sequence.
Wherein modulation includes the untethered modulation of DK and the limited modulation of DK.
S320 forms engraving data sequence in the position encoded readable secondary Number Sequence of the long distance of swimming of initial data.
S330 according to the engraving data sequence read hiding data and readable secondary Number Sequence, and is recorded and has been read number mark Will.Wherein, engraving data is the complex data sequence for including initial data, hiding data and readable secondary Number Sequence, at readable time Number Sequence is added before the long distance of swimming, engraving data sequence be include initial data, the complex data sequence of hiding data.
S340, judgement have read whether number is greater than readable number;If so, into S350;If it is not, then returning to S330.Its In read number and readable number according to having read number mark and readable secondary Number Sequence obtains.
S350 limits the reading of the hiding data.
Wherein, the reading for limiting the hiding data includes:Destroy hiding data, limitation reads content, limitation lack of competence One of reading of equipment is a variety of.
As shown in figure 4, in another embodiment, a kind of method of the restriction of CD hiding data reading times Specific step is as follows:
S410 modulates the reading times of hiding data to form readable secondary Number Sequence.
Wherein modulation includes the untethered modulation of DK and the limited modulation of DK.
S420 forms engraving data sequence in the position encoded readable secondary Number Sequence of the long distance of swimming of initial data.
S430 is judged whether there is and has been read number mark;If it exists, then enter S450;If it does not exist, then enter S440. It has read to be convenient for searching after number mark is recordable in readable secondary Number Sequence.
S440 according to the engraving data sequence read hiding data and readable secondary Number Sequence, and is recorded and has been read number mark Will.Wherein, engraving data is the complex data sequence for including initial data, hiding data and readable secondary Number Sequence, at readable time Number Sequence is added before the long distance of swimming, engraving data sequence be include initial data, the complex data sequence of hiding data.
S450, judgement have read whether number is greater than readable number;If so, into S460;If it is not, then returning to S440.
S460 limits the reading of the hiding data.
Wherein, the reading for limiting the hiding data includes:Destroy hiding data, limitation reads content, limitation lack of competence One of reading of equipment is a variety of.
It should be understood that although each step in the flow chart of Fig. 1-4 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-4 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 5, providing a kind of device of the restriction of CD hiding data reading times, Including:Modulation module 110, coding module 120.
Modulation module 110 is modulated to form readable secondary Number Sequence for the reading times according to hiding data.
Wherein, hiding data is hidden in CD initial data, by carrying out hiding data in the long distance of swimming of initial data Zi Keng, sub- bank coding, form the data sequence that hiding data is mixed with initial data.Wherein CD is that write once CD can also For rewritable CD.
As a specific embodiment, the reading times according to hiding data modulate to form readable secondary Number Sequence Including:To the reading times of the hiding data, it is modulated to obtain readable secondary Number Sequence according to preset modulating rule.
In the present embodiment, the reading times of hiding data are binary data.Wherein, preset modulating rule is limited for DK Modulation or the untethered modulation of DK.
Specifically, it after the reading times of hiding data are converted into binary data, is formatted, ECC inspection Error Correction of Coding, Then it may be selected to carry out the untethered modulation of DK, or carry out the limited modulation of DK, modulated data are frame structure, by every frame number According to preceding insertion frame head, last readable secondary Number Sequence is obtained.Wherein, it carries out DK and is limited modulated data, contracting zero can be carried out again Modulation, improves the information content of readable number.
Wherein, when such as carrying out the untethered modulation of DK to the reading times of hiding data, can according to preset first code rate into The untethered modulation of row DK e.g. by the reading times of hiding 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 the reading times progress DK of hiding data, can be carried out according to preset second code rate The limited modulation of DK e.g. by the reading times of hiding data according to R=2,3 code rate, carries out DK (1,7) modulation.
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.Modulating basic code table ((1,7) code table) is:
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
Coding module 120, for obtaining the long distance of swimming of initial data, in the long distance of swimming position to the readable secondary Number Sequence Coding forms engraving data sequence.
Wherein, in the long distance of swimming position to the readable number sequential coding:Binary data storage and optical storage are situated between The hole of the physical runlength of matter and bank are corresponding, and 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 big In (2 × a)+b, then the position for being at least a with long distance of swimming starting position interval is initially inserted into sub- hole or sub- bank, the son hole of insertion Or sub- bank length is b, the interval of sub- hole or sub- bank and long distance of swimming final position is also at least a, and the sub- hole or sub- bank are used for table Show readable secondary Number Sequence, is spaced the length of a convenient for Optical devices and carries out physical identification.
Wherein, engraving data sequence is storage and the data sequence in CD.
As a preferred embodiment, a kind of device of the restriction of CD hiding data reading times further includes:It carves Module 130 is recorded, is used for the engraving data sequence imprinting in CD.
In one embodiment, the coding module 120 includes:Readable number sequential coding unit, for it is described can It reads time Number Sequence to encode in the mode of long distance of swimming progress Yi Zikeng, sub- bank, forms engraving data sequence;Wherein, the long distance of swimming Including hole and bank, the mode of the readable secondary Number Sequence Yi Zikeng and sub- bank are inserted by institute according to the coding mode of Zi Keng, sub- bank State hole and bank.
Wherein, binary data storage is corresponding with the hole of the physical runlength of optical storage media and bank, can deposit in initial data In multiple long distances of swimming, 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 The position for being at least a with long distance of swimming starting position interval is initially inserted into sub- hole or sub- bank, the son hole of insertion or sub- bank length are The interval of b, sub- hole or sub- bank and long distance of swimming final position is also at least a, the sub- hole or sub- bank for indicating readable secondary number sequence Column are spaced the length of a convenient for Optical devices and carry out physical identification.Using technical solution described in the present embodiment, by original number According to readable number is encoded, can guarantee to be not take up CD exceptional space.
In another embodiment, as shown in fig. 6, providing a kind of dress of the restriction of CD hiding data reading times It sets, including:Read module 210, logging modle 220 and reading data limit module 230, wherein:
Read module 210, for obtaining engraving data sequence.
Wherein, engraving data sequence is read from CD.
Logging modle 220 is used for according to the engraving data sequence read hiding data and readable secondary Number Sequence, and records Number mark is read.
In the present embodiment, hiding data is hidden in CD initial data, by compiling in the long distance of swimming of initial data Code write-in.Wherein, having read number mark is binary data, and record has read the method and step of number mark and encoded readable number The step of sequence, is identical, by indicating to have read number by sub- hole or sub- bank in long distance of swimming position intron hole or sub- bank Mark.It has read number mark and has been preferably recorded in readable secondary Number Sequence, subsequent lookup is facilitated to compare, certain readable secondary Number Sequence can also It is recorded in other positions.
It reads data and limits module 230, according to the readable secondary Number Sequence and read number mark, limit the hiding number According to reading times.
Wherein, according to the readable secondary Number Sequence and number mark has been read, limiting the hiding data reading times includes: According to the readable secondary Number Sequence and number mark is read, judgement has read whether number is greater than readable number;If it is big to have read number In readable number, then the reading of the hiding data is limited.
Wherein, the reading for limiting the hiding data includes:Destroy hiding data, limitation reads content, limitation lack of competence One of reading of equipment is a variety of.Hiding data is destroyed by making its destruction to data are arbitrarily written in hiding data;Limit System reads content and can be carried out by the way of deleting partial content, so that can only reading section when reading again hiding data Content;Limitation, which reads content, to be configured permission according to the identity information for reading user or the mark for reading equipment, make to accord with The user or equipment for closing permission can read hiding data.
In the present embodiment, the engraving data sequence be include answering for initial data, hiding data and readable secondary Number Sequence Close data sequence.
Using such device, CD can carry hiding data without being found and identifying, only specific user by with The physical unit that the embodiment of the present invention combines could identify the hiding data, and according to the reading times of hiding data into one Step ensure that the safety of hiding data.
In one embodiment, logging modle 220 are specifically used for:It is long to obtain initial data in the engraving data sequence The distance of swimming;Extract the hiding data and readable secondary Number Sequence for being hidden in the long distance of swimming;Length after the readable secondary Number Sequence The distance of swimming is position encoded to have read number mark.
In one embodiment, reading times module 230 is limited, is specifically used for:According to the readable secondary Number Sequence and Number mark is read, judgement has read whether number is greater than readable number;If having read number greater than readable number, described hide is limited The reading of data.
In one embodiment, a kind of device of the restriction of CD hiding data reading times, including:Read device identification Logging modle, for recording the mark for reading the reading equipment of the hiding data.The mark for reading equipment can be used for reading It takes equipment to read the limitation of permission, is conducive to enhance hiding data safety.The mark for reading equipment is swum in initial data length Journey is position encoded, is stored in engraving data sequence.
A kind of device of restriction about CD hiding data reading times it is specific restriction may refer to above for A kind of restriction of the method for the restriction of CD hiding data reading times, details are not described herein.A kind of above-mentioned CD hiding data Modules in the device of the restriction of reading times can be realized fully or partially through software, hardware and combinations thereof.It is above-mentioned Each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be stored in a software form In memory in computer equipment, the corresponding operation of the above modules is executed 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 7.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 Data of the database of machine equipment for the restriction of stored CD hiding data reading times.The network interface of the computer equipment For being communicated with external terminal by network connection.To realize that a kind of CD is hidden when the computer program is executed by processor The method of the restriction of reading data number.
It will be understood by those skilled in the art that structure shown in Fig. 7, 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 realize following steps when executing computer program:
It is modulated to form readable secondary Number Sequence according to the reading times of hiding data;
Obtain the long distance of swimming of initial data;
In the long distance of swimming position to the readable number sequential coding, engraving data sequence is formed.
Following steps are also realized when the processor executes computer program in one of the embodiments,:
Obtain engraving data sequence;
According to the engraving data sequence read hiding data and readable secondary Number Sequence, and records and read number mark;
According to the readable secondary Number Sequence and number mark has been read, has limited the hiding data reading times;
Wherein, the engraving data sequence is the complex data for including initial data, hiding data and readable secondary Number Sequence Sequence.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program realizes following steps when being executed by processor:
It is modulated to form readable secondary Number Sequence according to the reading times of hiding data;
Obtain the long distance of swimming of initial data;
In the long distance of swimming position to the readable number sequential coding, engraving data sequence is formed.
Following steps are also realized when computer program is executed by processor in one of the embodiments,:
Obtain engraving data sequence;
According to the engraving data sequence read hiding data and readable secondary Number Sequence, and records and read number mark;
According to the readable secondary Number Sequence and number mark has been read, has limited the hiding data reading times;
Wherein, the engraving data sequence is the complex data for including initial data, hiding data and readable secondary Number Sequence Sequence.
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 of the restriction of CD hiding data reading times, which is characterized in that the method includes:
It is modulated to form readable secondary Number Sequence according to the reading times of hiding data;
Obtain the long distance of swimming of initial data;
In the long distance of swimming position to the readable number sequential coding, engraving data sequence is formed.
2. the method according to claim 1, wherein the reading times according to hiding data are modulated, to be formed can Reading time Number Sequence includes:
It is modulated to obtain readable secondary Number Sequence according to reading times of the preset modulating rule to the hiding data.
3. according to the method described in claim 2, it is characterized in that, the default modulating rule includes the limited modulation of DK or DK non- Limited modulation.
4. the method according to claim 1, wherein it is described according to the long distance of swimming to the readable secondary Number Sequence Coding, forming engraving data sequence includes:
Mode to the readable secondary Number Sequence in the long distance of swimming 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 readable secondary Number Sequence Yi Zikeng and sub- bank Mode be inserted into the hole and bank.
5. a kind of method of the restriction of CD hiding data reading times, which is characterized in that including:
Obtain engraving data sequence;
According to the engraving data sequence read hiding data and readable secondary Number Sequence, and records and read number mark;
According to the readable secondary Number Sequence and number mark has been read, has limited the hiding data reading times;
Wherein, the engraving data sequence is the complex data sequence for including initial data, hiding data and readable secondary Number Sequence.
6. according to the method described in claim 5, it is characterized in that, described according to the engraving data sequence read hiding data With readable secondary Number Sequence, and records and read number mark and include:
Obtain the long distance of swimming of initial data in the engraving data sequence;
Extract the hiding data and readable secondary Number Sequence for being hidden in the long distance of swimming;
The long distance of swimming after the readable secondary Number Sequence is position encoded to have read number mark.
7. according to the method described in claim 5, it is characterized in that, described according to the readable secondary Number Sequence and read number mark Will, limitation reading times include:
According to the readable secondary Number Sequence and number mark is read, judgement has read whether number is greater than readable number;
If having read number greater than readable number, the reading of the hiding data is limited.
8. the method according to the description of claim 7 is characterized in that the reading of the limitation hiding data includes:It destroys Hiding data, limitation read one of content, the reading for limiting lack of competence equipment or a variety of.
9. a kind of device of the restriction of CD hiding data reading times, which is characterized in that described device includes:
Modulation module is modulated to form readable secondary Number Sequence for the reading times according to hiding data;
Coding module, for obtaining the long distance of swimming of initial data, in the long distance of swimming position to the readable number sequential coding, shape At engraving data sequence.
10. a kind of device of the restriction of CD hiding data reading times, which is characterized in that including:
Read module, for obtaining engraving data sequence;
Logging modle for according to the engraving data sequence read hiding data and readable secondary Number Sequence, and is recorded and has been read time Number mark;
It reads data and limits module, for according to the readable secondary Number Sequence and having read number mark, limit the hiding data Reading times;
Wherein, the engraving data sequence be include initial data, hiding data and readable secondary Number Sequence complex data sequence.
CN201810714371.4A 2018-06-29 2018-06-29 Method and device for limiting reading times of hidden data of optical disc Active CN108922567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810714371.4A CN108922567B (en) 2018-06-29 2018-06-29 Method and device for limiting reading times of hidden data of optical disc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810714371.4A CN108922567B (en) 2018-06-29 2018-06-29 Method and device for limiting reading times of hidden data of optical disc

Publications (2)

Publication Number Publication Date
CN108922567A true CN108922567A (en) 2018-11-30
CN108922567B CN108922567B (en) 2020-08-21

Family

ID=64425232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810714371.4A Active CN108922567B (en) 2018-06-29 2018-06-29 Method and device for limiting reading times of hidden data of optical disc

Country Status (1)

Country Link
CN (1) CN108922567B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4223347A (en) * 1973-10-17 1980-09-16 U.S. Philips Corporation Videodisc with undulating nested tracks
CN1264122A (en) * 1998-12-11 2000-08-23 索尼公司 Output device method, recording device method, reproducing device method and recording medium
CN1305173A (en) * 1999-08-31 2001-07-25 索尼公司 Restrictive playback equipment, playback restrictire information rewrite equipment and its method and medium
US20020040423A1 (en) * 2000-09-29 2002-04-04 Takumi Okaue Memory apparatus and memory access restricting method
CN1460263A (en) * 2001-03-30 2003-12-03 索尼株式会社 Apparatus for recording or reproducing record medium and method for controlling data output
CN1465136A (en) * 2001-07-05 2003-12-31 Lg电子株式会社 Method of converting a series of data worlds into a modulated signal
CN1567458A (en) * 2003-06-13 2005-01-19 联发科技股份有限公司 Data coding method and system
CN1652469A (en) * 2000-06-22 2005-08-10 Lg电子株式会社 Method and apparatus of converting a series of data words into a modulated signal
CN1937008A (en) * 2005-09-22 2007-03-28 富士通株式会社 Encryption method, cryptogram decoding method, encryptor, cryptogram decoder, transmission/reception system, and communication system
EP1918919A2 (en) * 2001-05-02 2008-05-07 Samsung Electronics Co., Ltd. Optical storage medium and apparatus for manufacturing such an optical storage medium
CN105096984A (en) * 2015-07-09 2015-11-25 清华大学 Data hiding and encrypting method based on optical storage medium
CN106782624A (en) * 2016-12-02 2017-05-31 北京同方光盘股份有限公司 The additional hidden identification method and device of compact disc recordable

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4223347A (en) * 1973-10-17 1980-09-16 U.S. Philips Corporation Videodisc with undulating nested tracks
CN1264122A (en) * 1998-12-11 2000-08-23 索尼公司 Output device method, recording device method, reproducing device method and recording medium
CN1305173A (en) * 1999-08-31 2001-07-25 索尼公司 Restrictive playback equipment, playback restrictire information rewrite equipment and its method and medium
CN1652469A (en) * 2000-06-22 2005-08-10 Lg电子株式会社 Method and apparatus of converting a series of data words into a modulated signal
US20020040423A1 (en) * 2000-09-29 2002-04-04 Takumi Okaue Memory apparatus and memory access restricting method
CN1460263A (en) * 2001-03-30 2003-12-03 索尼株式会社 Apparatus for recording or reproducing record medium and method for controlling data output
EP1918919A2 (en) * 2001-05-02 2008-05-07 Samsung Electronics Co., Ltd. Optical storage medium and apparatus for manufacturing such an optical storage medium
CN1465136A (en) * 2001-07-05 2003-12-31 Lg电子株式会社 Method of converting a series of data worlds into a modulated signal
CN1567458A (en) * 2003-06-13 2005-01-19 联发科技股份有限公司 Data coding method and system
CN1937008A (en) * 2005-09-22 2007-03-28 富士通株式会社 Encryption method, cryptogram decoding method, encryptor, cryptogram decoder, transmission/reception system, and communication system
CN105096984A (en) * 2015-07-09 2015-11-25 清华大学 Data hiding and encrypting method based on optical storage medium
CN106782624A (en) * 2016-12-02 2017-05-31 北京同方光盘股份有限公司 The additional hidden identification method and device of compact disc recordable

Also Published As

Publication number Publication date
CN108922567B (en) 2020-08-21

Similar Documents

Publication Publication Date Title
KR100330475B1 (en) An error correction method and system
US4691299A (en) Method and apparatus for reusing non-erasable memory media
US8225179B2 (en) Method of generating error detection codes
JP5115914B2 (en) Digital data encoding apparatus, DVD recording apparatus and method
EA003197B1 (en) Record carrier of a read-only type and read device
JP2014120196A (en) Technique for storing bit in memory cell having stuck failure
CN108962289A (en) Method and device based on the additional hiding mark data of CD synchronization frame
CN108922567A (en) The method and device of the restriction of CD hiding data reading times
US7814395B2 (en) Rewrite strategy and methods and systems for error correction in high-density recording
US6125468A (en) High-speed data recording method for digital versatile disk-random access memory
CN1329911C (en) Examine code generating method, writing data generating method and repeat data writing method
US20080298184A1 (en) Optical disc recording system
JPS61144933A (en) Method and apparatus for decoding information flow
US20070168838A1 (en) Reproduction apparatus and method for reproducing a unique medium identifier
TW200407879A (en) Data storage medium having link zone and apparatus and method for recording/reproducing data on/from the data storage medium
CN108830116A (en) Identity identifying method and device based on CD hiding data
CN1691183B (en) Optical disc apparatus, and data recording method
US7173892B2 (en) Method and apparatus for validating security information by scattering the ID bits to plurality of locations and selecting a bit value with highest frequency in each column of bits as correct bit value
JP2000323995A (en) Method and device for data processing using error correction product code block, and recording medium
CN101346769A (en) Device for and method of retrieval of a data file
CN100353445C (en) Method and device for decoding data regulated by optical driver system 8-14
CN101589432B (en) Method of and apparatus for recording/reproducing data on/from holographic storage medium
US7036057B2 (en) Range splitting read/write methods for CD-MRW
JP4218662B2 (en) Recording apparatus and recording medium
US7983118B2 (en) Record carrier and scanning device

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