CN108922567B - Method and device for limiting reading times of hidden data of optical disc - Google Patents

Method and device for limiting reading times of hidden data of optical disc Download PDF

Info

Publication number
CN108922567B
CN108922567B CN201810714371.4A CN201810714371A CN108922567B CN 108922567 B CN108922567 B CN 108922567B CN 201810714371 A CN201810714371 A CN 201810714371A CN 108922567 B CN108922567 B CN 108922567B
Authority
CN
China
Prior art keywords
data
sequence
readable
hidden
read
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.)
Active
Application number
CN201810714371.4A
Other languages
Chinese (zh)
Other versions
CN108922567A (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 Disc Co ltd
Original Assignee
Beijing Tongfang Optical Disc 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 Disc Co ltd filed Critical Beijing Tongfang Optical Disc 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

Images

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

The application relates to a method and a device for limiting the reading times of hidden data of an optical disc. The method comprises the following steps: forming a readable time sequence according to the read time modulation of the hidden data; acquiring original data long run; and coding the readable times sequence at the long run position to form a recording data sequence. By adopting the method, the reading times of the hidden data can be limited, and the safety of the hidden data storage is provided.

Description

Method and device for limiting reading times of hidden data of optical disc
Technical Field
The present application relates to the field of recordable optical discs, and in particular, to a method and an apparatus for limiting the number of times of reading hidden data of an optical disc.
Background
The conventional digital optical disc product converts information into binary data, and then corresponds to two different physical states of a record symbol of a storage medium in a certain modulation mode to realize data storage, so that the data storage becomes binary storage. At present, most of the storage technologies of recordable optical discs employ binary storage, and determine whether the current corresponding position is a "Pit" (Pit) or a "Land" (Land) according to the intensity of the reflected light, and each recording unit can record two state numbers, which respectively correspond to 1-bit information.
The recordable optical disc is an optical disc on which data can be recorded according to requirements, and in the recording process, the recorded data can be encrypted and read permission can be set. However, the current encryption method is limited to reading the original data, which results in insufficient security of the recorded optical disc.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device, and a storage medium for limiting the number of times of reading hidden data of an optical disc, which can improve the security of the hidden data.
A method for hiding a limit of a number of data reads from an optical disc, the method comprising:
forming a readable time sequence according to the read time modulation of the hidden data;
acquiring original data long run;
and coding the readable times sequence at the long run position to form a recording data sequence.
In one embodiment, the method further comprises: and recording the recording data sequence on the optical disc.
In one embodiment, the forming a readable time sequence according to the read time modulation of the hidden data includes: and modulating the reading times of the hidden data according to a preset modulation rule to obtain a readable time sequence.
In one embodiment, the preset modulation rule comprises DK-limited modulation or DK-unlimited modulation.
In one embodiment, the encoding the readable times sequence according to the long run length to form a recording data sequence includes: coding the readable time sequence in the long run by a sub-pit and sub-bank mode to form a recording data sequence; wherein the long run length comprises pits and lands, and the readable order sequence is inserted into the pits and lands in a way of sub-pits and sub-lands according to the coding way of the sub-pits and the sub-lands.
A method for hiding a limit of a number of data reads from an optical disc, the method comprising:
acquiring a recording data sequence;
reading the hidden data and the readable times sequence according to the recorded data sequence, and recording the read times mark;
limiting the reading times of the hidden data according to the readable time sequence and the read time mark;
the recording data sequence is a composite data sequence comprising original data, hidden data and a readable time sequence.
In one embodiment, the reading the hidden data and the readable times sequence according to the recording data sequence, and recording the read times flag includes: acquiring the original data long run length in the recorded data sequence;
extracting hidden data hidden in the long run and a readable time sequence; the long run position after the readable times sequence encodes a read times flag.
In one embodiment, the limiting the number of reads according to the readable times sequence and the read times flag includes: judging whether the read times are greater than the readable times or not according to the readable times sequence and the read times mark; and if the read times are more than the readable times, limiting the reading of the hidden data.
In one embodiment, the limiting the reading of the hidden data comprises: one or more of destroying hidden data, restricting read-out of content, restricting read-out of unauthorized devices.
In one embodiment, the reading the hidden data and the readable times sequence according to the recording data sequence, and recording the read times flag includes: recording an identification of a reading device reading the hidden data.
An apparatus for hiding a definition of data read times for an optical disc, the apparatus comprising:
the modulation module is used for modulating and forming a readable time sequence according to the reading times of the hidden data;
and the coding module is used for obtaining the long run of the original data and coding the readable time sequence at the position of the long run to form a recording data sequence.
In one embodiment, the apparatus further comprises:
and the recording module is used for recording the recording data sequence on the optical disc.
An apparatus for hiding a definition of data read times for an optical disc, the apparatus comprising:
the reading module is used for acquiring a recording data sequence;
the recording module is used for reading the hidden data and the readable times sequence according to the recorded data sequence and recording the read times mark;
the read data limiting module is used for limiting the read times of the hidden data according to the readable time sequence and the read time mark;
the recording data sequence comprises original data, hidden data and a readable time sequence composite data sequence.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
forming a readable time sequence according to the read time modulation of the hidden data;
acquiring original data long run;
and coding the readable times sequence at the long run position to form a recording data sequence.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a recording data sequence;
reading the hidden data and the readable times sequence according to the recorded data sequence, and recording the read times mark;
limiting the reading times of the hidden data according to the readable time sequence and the read time mark;
the recording data sequence is a composite data sequence comprising original data, hidden data and a readable time sequence.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
forming a readable time sequence according to the read time modulation of the hidden data;
acquiring original data long run;
and coding the readable times sequence at the long run position to form a recording data sequence.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a recording data sequence;
reading the hidden data and the readable times sequence according to the recorded data sequence, and recording the read times mark;
limiting the reading times of the hidden data according to the readable time sequence and the read time mark;
the recording data sequence is a composite data sequence comprising original data, hidden data and a readable time sequence.
According to the method and the device for limiting the reading times of the hidden data of the optical disc, the computer equipment and the storage medium, the reading times and the permission of the hidden data are limited by setting the readable times and recording the read times of the hidden data in the long run length of the original data of the optical disc, the safety of the hidden data can be effectively ensured, the original data of the optical disc is not damaged, and the optical disc can have multiple purposes.
Drawings
FIG. 1 is a flowchart illustrating a method for limiting the number of times of reading hidden data from an optical disc according to an embodiment;
FIG. 2 is a flowchart illustrating a method for limiting the number of times of reading hidden data from an optical disc according to another embodiment;
FIG. 3 is a flowchart illustrating the steps of recording read times and limiting the read times for hidden data in one embodiment;
FIG. 4 is a flowchart illustrating the steps of recording the read times and limiting the read times for the hidden data in another embodiment;
FIG. 5 is a block diagram of an apparatus for limiting the number of times of reading hidden data from an optical disc according to an embodiment;
FIG. 6 is a block diagram of an apparatus for limiting the number of times of reading hidden data from an optical disc according to another embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment;
FIG. 8 is a diagram illustrating a comparison of original data and recorded data.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, there is provided a method for limiting the number of times of reading hidden data from an optical disc, comprising the steps of:
and S102, forming a readable time sequence according to the read time modulation of the hidden data.
The hidden data in step S102 is hidden in the original data of the optical disc, and the hidden data is encoded by sub-pits and sub-lands in the original data long run length to form a data sequence in which the hidden data and the original data are mixed. Wherein the optical disc is a write-once optical disc and also a rewritable optical disc.
As a specific implementation, the forming a readable time sequence according to the read time modulation of the hidden data includes: and modulating the reading times of the hidden data according to a preset modulation rule to obtain a readable time sequence.
In this embodiment, the number of times of reading the hidden data is binary data. Wherein the preset modulation rule is DK limited modulation or DK unlimited modulation.
Specifically, after the read times of the hidden data are converted into binary data, formatting and ECC (error correction code) error detection and correction coding are performed, then DK unlimited modulation or DK limited modulation can be performed selectively, the modulated data are in a frame structure, and a frame header is inserted before each frame of data to obtain a final readable time sequence. The data after the DK limited modulation can be subjected to zero reduction modulation again, so that the information content of readable times is increased.
When DK unrestricted modulation is performed on the number of times of reading the hidden data, DK unrestricted modulation may be performed according to a preset first code rate, for example, DK (0,9) modulation may be performed on the number of times of reading the hidden data according to a code rate of R8/9.
One bit of data is inserted after each byte, the inserted data being opposite the last bit of the byte. Such as: when the byte data is converted into a bit data stream, the last bit of each byte is the "not" most significant bit (b 7). In this case, if b7 is "1", the insertion bit b8 is "0"; on the contrary, the method can be used for carrying out the following steps,
Figure BDA0001717301290000051
the code table is shown below.
Inputting code words Outputting codewords
b0…b7 b0…b7b8
xxxx xxx1 xxxx xxx1 0
xxxx xxx0 xxxx xxx0 1
When DK-limited modulation is performed on the number of times of reading the hidden data, DK-limited modulation may be performed according to a preset second code rate, for example, DK (1,7) modulation is performed on the number of times of reading the hidden data according to code rates of R2 and 3.
182 bytes of ECC data per line are modulated into recording frame modulation data of (182 × 8) × 3/2 ═ 2184 bits by DK (1,7) limit coding (code table shown in the following table) at a code rate of R2/3. The modulation basic code table ((1,7) code table) is:
basic code table Alternative code table
00 101 00/00 101000
01 100 00/01 100000
10 001 10/00 001000
11 010 10/01 010000
And S104, acquiring the long run of the original data.
The original data storage adopts binary form storage and optical disk, the binary data storage is corresponding to the pits and lands of physical run length of the optical storage medium, the long run length is run length which can be inserted into sub-pits or sub-lands, the length of the long run length is generally greater than (2 x a) + b, then the sub-pits or sub-lands are inserted into the positions which have a interval of at least a from the starting position of the long run length, the length of the inserted sub-pits or sub-lands is b, the interval between the sub-pits or sub-lands and the ending position of the long run length is also at least a, the sub-pits or sub-lands are used for representing readable times sequence, and the length of the interval a is convenient for physical recognition of an optical device.
S106, coding the readable time sequence at the long run position to form a recording data sequence.
Wherein, encoding the readable times sequence at the long run position specifically comprises: the binary data storage corresponds to the pits and lands of the physical run length of the optical storage medium, the long run length is a run length capable of inserting sub-pits or sub-lands, the length of the long run length is generally greater than (2 × a) + b, then the sub-pits or sub-lands are inserted from the position spaced at least a from the start position of the long run length, the length of the inserted sub-pits or sub-lands is b, the spacing between the sub-pits or sub-lands and the end position of the long run length is also at least a, the sub-pits or sub-lands are used for representing readable times sequence, and the length of the spacing a is convenient for the optical device to carry out physical identification. For example, as shown in fig. 8, a long run is inserted in the original data at a time greater than 7T, and a readable time sequence "0 x 9E" is inserted in the long run, then binary data "10011110" corresponding to "0 x 9E" is inserted in sequence in "pits" or "lands" at a time greater than 7T, and "sub-pits" or "sub-lands" are inserted at the long run position and expressed as "1", and no data is inserted and expressed as "0".
Wherein, the recording data sequence is a data sequence recorded in the optical disc.
In an embodiment of the present invention, the encoding the readable times sequence at the long-run position to form a recording data sequence includes: coding the readable time sequence in a way of sub-pits and sub-lands in long run to form a recording data sequence; wherein the long run length comprises pits and lands, and the readable order sequence is inserted into the pits and lands in a way of sub-pits and sub-lands according to the coding way of the sub-pits and the sub-lands.
The binary data storage corresponds to the pits and lands of the physical run length of the optical storage medium, a plurality of long run lengths exist in the original data, the long run length is a run length which can be inserted into a sub pit or a sub land, the length of the long run length is generally greater than (2 x a) + b, then the position which has an interval of at least a from the starting position of the long run length is inserted into the sub pit or the sub land, the length of the inserted sub pit or the inserted sub land is b, the interval between the sub pit or the sub land and the ending position of the long run length is also at least a, the sub pit or the sub land is used for representing a readable time sequence, and the length of the interval a is convenient for the optical device to carry out physical identification. By adopting the technical scheme of the embodiment, the additional space of the optical disc can be ensured not to be occupied by encoding the readable times of the original data.
In another embodiment, as shown in fig. 2, there is provided a method for limiting the number of times of reading hidden data from an optical disc, comprising the steps of:
s202, recording data sequence is obtained.
Wherein the recording data sequence is read from the optical disc.
S204, reading the hidden data and the readable times sequence according to the recording data sequence, and recording the read times mark.
In this embodiment, the hidden data is hidden in the original data of the optical disc, and is written by encoding in long runs of the original data. The read times mark is binary data, the steps of the method for recording the read times mark are the same as the steps of the coding readable times sequence, and the read times mark is represented by inserting sub pits or sub lands at long run-length positions and by the sub pits or the sub lands. The read times mark is preferably recorded in the readable times sequence, which is convenient for subsequent searching and alignment, and the readable times sequence can also be recorded in other positions.
S206, limiting the reading times of the hidden data according to the readable times sequence and the read times mark.
Wherein, according to the readable times sequence and the read times mark, limiting the read times of the hidden data comprises: judging whether the read times are greater than the readable times or not according to the readable times sequence and the read times mark; and if the read times are more than the readable times, limiting the reading of the hidden data.
Wherein restricting the reading of the hidden data comprises: one or more of destroying hidden data, restricting read-out of content, restricting read-out of unauthorized devices. Destroying the hidden data by randomly writing data into the hidden data to destroy the hidden data; the limitation of reading out the content can be performed by deleting part of the content, so that only part of the content can be read out when the hidden data is read again; the read-out limit content can set authority according to the identity information of the read user or the identification of the read device, so that the user or the device which accords with the authority can read the hidden data.
In this embodiment, the recording data sequence is a composite data sequence including original data, hidden data, and a readable time sequence.
By adopting the method, the optical disc can carry the hidden data without being discovered and identified, the hidden data can be identified only by a specific user through a physical device combined with the embodiment of the invention, and the safety of the hidden data is further ensured by limiting the reading times of the hidden data.
In the method for limiting the reading times of the hidden data of the optical disc, the reading times and the permission of the hidden data are limited by setting the readable times and recording the read times of the hidden data in the long run length of the original data of the optical disc, so that the safety of the hidden data can be effectively ensured, the original data of the optical disc is not damaged, and the optical disc can have multiple purposes.
In an embodiment of the present invention, the reading the hidden data and the readable times sequence according to the recording data sequence, and recording the read times flag includes: acquiring the original data long run length in the recorded data sequence; extracting hidden data hidden in the long run and a readable time sequence; the long run position after the readable times sequence encodes a read times flag.
In an embodiment of the present invention, said limiting the number of reads according to the readable number sequence and the read number flag includes: judging whether the read times are greater than the readable times or not according to the readable times sequence and the read times mark; and if the read times are more than the readable times, limiting the reading of the hidden data.
In an embodiment of the present invention, the reading the hidden data and the readable times sequence according to the recording data sequence, and recording the read times flag includes: recording an identification of a reading device reading the hidden data. The identification of the reading device can be used for limiting the reading authority of the reading device, which is beneficial to enhancing the security of the hidden data. And coding the mark of the reading device at the long-run position of the original data and storing the mark in the recorded data sequence.
As shown in fig. 3, in an embodiment of the present invention, a method for limiting the number of times of reading hidden data of an optical disc includes the following specific steps:
and S310, modulating the reading times of the hidden data to form a readable time sequence.
Wherein the modulation comprises DK unrestricted modulation and DK restricted modulation.
S320, coding the readable times sequence at the long run position of the original data to form a recording data sequence.
S330, reading the hidden data and the readable times sequence according to the recorded data sequence, and recording the read times mark. The recording data is a composite data sequence comprising original data, hidden data and a readable time sequence, and before the readable time sequence is added into the long run, the recording data sequence is a composite data sequence comprising the original data and the hidden data.
S340, judging whether the read times are more than the readable times; if yes, entering S350; if not, go back to S330. Wherein the read times and readable times are obtained according to the read times mark and the readable times sequence.
S350, restricting the reading of the hidden data.
Wherein restricting the reading of the hidden data comprises: one or more of destroying hidden data, restricting read-out of content, restricting read-out of unauthorized devices.
As shown in fig. 4, in another embodiment of the present invention, a method for limiting the number of times of reading hidden data of an optical disc includes the following specific steps:
and S410, modulating the reading times of the hidden data to form a readable time sequence.
Wherein the modulation comprises DK unrestricted modulation and DK restricted modulation.
S420, coding the readable times sequence at the long run position of the original data to form a recording data sequence.
S430, judging whether the read times identifier exists; if yes, entering S450; if not, the process proceeds to S440. The read times identification may be recorded after the readable times sequence to facilitate searching.
S440, reading the hidden data and the readable times sequence according to the recording data sequence, and recording the read times mark. The recording data is a composite data sequence comprising original data, hidden data and a readable time sequence, and before the readable time sequence is added into the long run, the recording data sequence is a composite data sequence comprising the original data and the hidden data.
S450, judging whether the read times are more than the readable times; if yes, go to S460; if not, go back to S440.
S460, limiting reading of the hidden data.
Wherein restricting the reading of the hidden data comprises: one or more of destroying hidden data, restricting read-out of content, restricting read-out of unauthorized devices.
It should be understood that although the various steps in the flow charts of fig. 1-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided an apparatus for limiting the number of times of reading hidden data from an optical disc, including: a modulation module 110 and an encoding module 120.
And a modulation module 110, configured to form a readable time sequence according to the read time modulation of the hidden data.
The hidden data is hidden in the original data of the optical disk, and the hidden data is subjected to sub-pit and sub-land coding in the original data long run to form a data sequence in which the hidden data and the original data are mixed. Wherein the optical disc is a write-once optical disc and also a rewritable optical disc.
As a specific implementation, the forming a readable time sequence according to the read time modulation of the hidden data includes: and modulating the reading times of the hidden data according to a preset modulation rule to obtain a readable time sequence.
In this embodiment, the number of times of reading the hidden data is binary data. Wherein the preset modulation rule is DK limited modulation or DK unlimited modulation.
Specifically, after the read times of the hidden data are converted into binary data, formatting and ECC (error correction code) error detection and correction coding are performed, then DK unlimited modulation or DK limited modulation can be performed selectively, the modulated data are in a frame structure, and a frame header is inserted before each frame of data to obtain a final readable time sequence. The data after the DK limited modulation can be subjected to zero reduction modulation again, so that the information content of readable times is increased.
When DK unrestricted modulation is performed on the number of times of reading the hidden data, DK unrestricted modulation may be performed according to a preset first code rate, for example, DK (0,9) modulation may be performed on the number of times of reading the hidden data according to a code rate of R8/9.
One bit of data is inserted after each byte, the inserted data being opposite the last bit of the byte. Such as: when the byte data is converted into a bit data stream, the last bit of each byte is the "not" most significant bit (b 7). In this case, if b7 is "1", the insertion bit b8 is "0"; on the contrary, the method can be used for carrying out the following steps,
Figure BDA0001717301290000111
the code table is shown below.
Inputting code words Outputting codewords
b0…b7 b0…b7b8
xxxx xxx1 xxxx xxx1 0
xxxx xxx0 xxxx xxx0 1
When DK-limited modulation is performed on the number of times of reading the hidden data, DK-limited modulation may be performed according to a preset second code rate, for example, DK (1,7) modulation is performed on the number of times of reading the hidden data according to code rates of R2 and 3.
182 bytes of ECC data per line are modulated into recording frame modulation data of (182 × 8) × 3/2 ═ 2184 bits by DK (1,7) limit coding (code table shown in the following table) at a code rate of R2/3. The modulation basic code table ((1,7) code table) is:
basic code table Alternative code table
00 101 00/00 101000
01 100 00/01 100000
10 001 10/00 001000
11 010 10/01 010000
And the encoding module 120 is configured to obtain a long run of original data, and encode the readable time sequence at the long run position to form a recording data sequence.
Wherein the readable order sequence is encoded at the long-run position: the binary data storage corresponds to the pits and lands of the physical run length of the optical storage medium, the long run length is a run length capable of inserting sub-pits or sub-lands, the length of the long run length is generally greater than (2 × a) + b, then the sub-pits or sub-lands are inserted from the position spaced at least a from the start position of the long run length, the length of the inserted sub-pits or sub-lands is b, the spacing between the sub-pits or sub-lands and the end position of the long run length is also at least a, the sub-pits or sub-lands are used for representing readable times sequence, and the length of the spacing a is convenient for the optical device to carry out physical identification.
The recording data sequence is the data sequence stored in the optical disc.
As a preferred embodiment, an apparatus for limiting the number of times of reading hidden data from an optical disc further comprises: the recording module 130 is configured to record the recording data sequence on an optical disc.
In one embodiment, the encoding module 120 includes: the readable time sequence coding unit is used for coding the readable time sequence in a way of sub pits and sub lands in a long run to form a recording data sequence; wherein the long run length comprises pits and lands, and the readable order sequence is inserted into the pits and lands in a way of sub-pits and sub-lands according to the coding way of the sub-pits and the sub-lands.
The binary data storage corresponds to the pits and lands of the physical run length of the optical storage medium, a plurality of long run lengths exist in the original data, the long run length is a run length which can be inserted into a sub pit or a sub land, the length of the long run length is generally greater than (2 x a) + b, then the position which has an interval of at least a from the starting position of the long run length is inserted into the sub pit or the sub land, the length of the inserted sub pit or the inserted sub land is b, the interval between the sub pit or the sub land and the ending position of the long run length is also at least a, the sub pit or the sub land is used for representing a readable time sequence, and the length of the interval a is convenient for the optical device to carry out physical identification. By adopting the technical scheme of the embodiment, the additional space of the optical disc can be ensured not to be occupied by encoding the readable times of the original data.
In another embodiment, as shown in fig. 6, there is provided an apparatus for limiting the number of times of reading hidden data from an optical disc, including: a reading module 210, a recording module 220, and a read data restriction module 230, wherein:
the reading module 210 is used for obtaining the recording data sequence.
Wherein the recording data sequence is read from the optical disc.
The recording module 220 is configured to read the hidden data and the readable time sequence according to the recording data sequence, and record a read time flag.
In this embodiment, the hidden data is hidden in the original data of the optical disc, and is written by encoding in long runs of the original data. The read times mark is binary data, the steps of the method for recording the read times mark are the same as the steps of the coding readable times sequence, and the read times mark is represented by inserting sub pits or sub lands at long run-length positions and by the sub pits or the sub lands. The read times mark is preferably recorded in the readable times sequence, which is convenient for subsequent searching and alignment, and the readable times sequence can also be recorded in other positions.
The read data limiting module 230 limits the read times of the hidden data according to the readable times sequence and the read times flag.
Wherein, according to the readable times sequence and the read times mark, limiting the read times of the hidden data comprises: judging whether the read times are greater than the readable times or not according to the readable times sequence and the read times mark; and if the read times are more than the readable times, limiting the reading of the hidden data.
Wherein restricting the reading of the hidden data comprises: one or more of destroying hidden data, restricting read-out of content, restricting read-out of unauthorized devices. Destroying the hidden data by randomly writing data into the hidden data to destroy the hidden data; the limitation of reading out the content can be performed by deleting part of the content, so that only part of the content can be read out when the hidden data is read again; the read-out limit content can set authority according to the identity information of the read user or the identification of the read device, so that the user or the device which accords with the authority can read the hidden data.
In this embodiment, the recording data sequence is a composite data sequence including original data, hidden data, and a readable time sequence.
By adopting the device, the optical disc can carry the hidden data without being discovered and identified, the hidden data can be identified only by a specific user through the physical device combined with the embodiment of the invention, and the safety of the hidden data is further ensured according to the reading times of the hidden data.
In an embodiment, the recording module 220 is specifically configured to: acquiring the original data long run length in the recorded data sequence; extracting hidden data hidden in the long run and a readable time sequence; the long run position after the readable times sequence encodes a read times flag.
In one embodiment, the read times limiting module 230 is specifically configured to: judging whether the read times are greater than the readable times or not according to the readable times sequence and the read times mark; and if the read times are more than the readable times, limiting the reading of the hidden data.
In one embodiment, an apparatus for limiting the number of times of reading hidden data from an optical disc, comprises: and the reading equipment identification recording module is used for recording the identification of the reading equipment for reading the hidden data. The identification of the reading device can be used for limiting the reading authority of the reading device, which is beneficial to enhancing the security of the hidden data. And coding the mark of the reading device at the long-run position of the original data and storing the mark in the recorded data sequence.
For the specific limitation of the device for limiting the number of times of reading the hidden data of the optical disc, reference may be made to the above limitation of the method for limiting the number of times of reading the hidden data of the optical disc, and details are not described herein again. The modules in the apparatus for limiting the number of times of reading the hidden data from the optical disc may be implemented in whole or in part by software, hardware, or a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data defining the number of times of reading the hidden data of the optical disc. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method for limiting the number of times that the hidden data of the optical disc is read.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
forming a readable time sequence according to the read time modulation of the hidden data;
acquiring original data long run;
and coding the readable times sequence at the long run position to form a recording data sequence.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a recording data sequence;
reading the hidden data and the readable times sequence according to the recorded data sequence, and recording the read times mark;
limiting the reading times of the hidden data according to the readable time sequence and the read time mark;
the recording data sequence is a composite data sequence comprising original data, hidden data and a readable time sequence.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
forming a readable time sequence according to the read time modulation of the hidden data;
acquiring original data long run;
and coding the readable times sequence at the long run position to form a recording data sequence.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a recording data sequence;
reading the hidden data and the readable times sequence according to the recorded data sequence, and recording the read times mark;
limiting the reading times of the hidden data according to the readable time sequence and the read time mark;
the recording data sequence is a composite data sequence comprising original data, hidden data and a readable time sequence.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for limiting the number of times that data is read from an optical disc, the method comprising:
modulating the reading times of the hidden data according to a preset modulation rule to form a readable time sequence;
acquiring long runs of original data;
coding the readable times sequence at the long run position to form a recording data sequence; the recording data sequence is a data sequence recorded in the optical disc, and the recording data sequence includes readable times information of the hidden data of the optical disc.
2. The method of claim 1, wherein the pre-set modulation rule comprises DK-limited modulation or DK-unlimited modulation.
3. The method of claim 1, wherein said encoding said sequence of readable times according to said long run to form a recorded data sequence comprises:
coding the readable time sequence in the long run by a sub-pit and sub-bank mode to form a recording data sequence; wherein the long run length comprises pits and lands, and the readable order sequence is inserted into the pits and lands in a way of sub-pits and sub-lands according to the coding way of the sub-pits and the sub-lands.
4. A method for limiting the number of times of reading hidden data from an optical disc, comprising:
acquiring a recording data sequence; wherein, the recorded data sequence is a data sequence recorded in the optical disc, and the recorded data sequence includes readable times information of the hidden data of the optical disc;
reading the hidden data and the readable times sequence according to the recorded data sequence, and recording the read times mark;
limiting the reading times of the hidden data according to the readable time sequence and the read time mark;
the recording data sequence is a composite data sequence comprising original data, hidden data and a readable time sequence.
5. The method of claim 4, wherein reading the hidden data and the readable times sequence according to the recording data sequence and recording the read times flag comprises:
acquiring the original data long run length in the recorded data sequence;
extracting hidden data hidden in the long run and a readable time sequence;
the long run position after the readable times sequence encodes a read times flag.
6. The method of claim 4, wherein limiting the number of reads comprises, based on the readable times sequence and a read times flag:
judging whether the read times are greater than the readable times or not according to the readable times sequence and the read times mark;
and if the read times are more than the readable times, limiting the reading of the hidden data.
7. The method of claim 6, wherein said restricting the readout of the hidden data comprises: one or more of destroying hidden data, restricting read-out of content, restricting read-out of unauthorized devices.
8. An apparatus for concealing a limit on a number of data reads from an optical disc, the apparatus comprising:
the modulation module is used for modulating the reading times of the hidden data according to a preset modulation rule to form a readable time sequence;
the encoding module is used for acquiring the long run of original data and encoding the readable time sequence at the long run position to form a recorded data sequence; the recording data sequence is a data sequence recorded in the optical disc, and the recording data sequence includes readable times information of the hidden data of the optical disc.
9. An apparatus for limiting the number of times of hidden data reading on an optical disc, comprising:
the reading module is used for acquiring a recording data sequence; wherein, the recorded data sequence is a data sequence recorded in the optical disc, and the recorded data sequence includes readable times information of the hidden data of the optical disc;
the recording module is used for reading the hidden data and the readable times sequence according to the recorded data sequence and recording the read times mark;
the read data limiting module is used for limiting the read times of the hidden data according to the readable time sequence and the read time mark;
the recording data sequence comprises original data, hidden data and a readable time sequence composite data sequence.
10. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
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 CN108922567A (en) 2018-11-30
CN108922567B true 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 (7)

* 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
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
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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4196240B2 (en) * 1999-08-31 2008-12-17 ソニー株式会社 Reproduction device with reproduction restriction function, reproduction restriction method, and reproduction restriction program
KR100424482B1 (en) * 2000-06-22 2004-03-24 엘지전자 주식회사 Method and apparatus of converting a series of data words into a modulated signal
JP4678084B2 (en) * 2000-09-29 2011-04-27 ソニー株式会社 Memory device and memory access restriction method
WO2002080172A1 (en) * 2001-03-30 2002-10-10 Sony Corporation Apparatus for recording or reproducing record medium and method for controlling data output
CN106782624B (en) * 2016-12-02 2019-10-25 北京同方光盘股份有限公司 Compact disc recordable adds hidden identification method and device

Patent Citations (7)

* 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
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

Also Published As

Publication number Publication date
CN108922567A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN100370408C (en) System and method for logical shredding of data stored on WORM media
CN109657769B (en) Two-dimensional code information hiding method based on run length coding
JP2021513141A (en) Generation and identification of 2D barcodes
WO2020098327A1 (en) Watermark embedding method for data text
CN108962289B (en) Method and device for appending hidden identification data based on optical disc synchronous frame
Sari et al. A review of graph theoretic and weightage techniques in file carving
CN108922567B (en) Method and device for limiting reading times of hidden data of optical disc
CN107766909B (en) The method and system of anti-tamper processing is carried out to two-dimension code pattern
CN111382398B (en) Method, device and equipment for information processing, hidden information analysis and embedding
KR101496764B1 (en) Method and apparatus for managing file to recover original file with at least pre-determined number file fragments
CN112433986B (en) Data storage method, electronic device, and computer-readable storage medium
US11699209B2 (en) Method and apparatus for embedding and extracting digital watermarking for numerical data
CN115935299A (en) Authorization control method, device, computer equipment and storage medium
US11372999B2 (en) Method for inserting data on-the-fly into a watermarked database and associated device
CN104821829B (en) A kind of Huffman tree store method and system
CN109257341B (en) Block chain address management method and equipment
TW200407879A (en) Data storage medium having link zone and apparatus and method for recording/reproducing data on/from the data storage medium
US20070280474A1 (en) Encryption Method
CN115361454B (en) Message sequence coding, decoding and transmitting method and coding and decoding equipment
EP4300312A1 (en) File regeneration method and computer programs for same
CN117708779A (en) Data watermarking processing method, tracing method and storage medium
CN112580068B (en) SQLite database security enhancement method
CN116880778B (en) User privacy protection method based on regenerative coding and distributed storage
CN113849829B (en) Method and device for realizing key destruction of password equipment
CN110174997B (en) Data storage method based on persistence layer and block chain server

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