METHOD AND DEVICE FOR RECORDING DATA, DATA RECORDING MEDIUM, AND METHOD AND DEVICE FOR REPRODUCING DATA

Abstract: An input is ciphered in at least one of a sector forming circuit 13, a scrambling circuit 14, a header appendage circuit 15, an error correction encoding circuit 16, a modulation circuit 18 and a synchronization appendage circuit 18, used for processing input data for forming a recording signal. Not only the key for ciphering itself in the circuits but also the information as to which of the circuits has been used for ciphering becomes the key for ciphering. This realizes ciphering difficult to decode by a simplified structure.

Description: TECHNICAL FIELD This invention relates to a data recording method and apparatus, a data record medium and a data reproducing method and apparatus applicable to prevention of copying or inhibition of unauthorized use and to a charging system. BACKGROUND ART Recently, with increased capacity and coming into widespread use of a digital record (recording, recordable or recorded) medium, increasing importance is attached to prevention of copying or inhibition of unauthorized use. That is, since digital audio data or digital video data can be duplicated free of deterioration by copying or dubbing, while computer data an be easily copied to produce the same data as the original data, unauthorized copying is made frequently. For avoiding unauthorized copying of the digital audio or video data, there is known a standard such as a so-called serial copying management system (SCMS) or copy generation management system (CGMS). Since these systems set a copying inhibition flag on a specified portion of record data, a problem is raised that data can be extracted by dump copying which is the copying of a digital bi-level signal in its entirety. It is also practiced to cipher the contents of a file itself in case of computer data and to permit use only by regular registered user, as disclosed in, for example, Japanese Patent laid-Open No. SHO-60-116030. This is connected to a system in which a digital record medium having the ciphered information recorded thereon is distributed as a form of information circulation and in which the user pays a fee for the information he or she needs to acquire a key to decipher the information for use. For this system, a simplified useful technique for ciphering has been a desideratum. In view of the above-depicted status of the art, it is an object of the present invention to provide a data recording method and apparatus, a data record medium and a data reproducing method and apparatus whereby ciphering can be realized by a simplified structure, prevention of copying or unauthorized use can be achieved by a simplified configuration, diciphering is rendered difficult and relative facility or depth of ciphering can be controlled easily. EP-A-0 533 204 discloses a recording/reproducing apparatus including an error correcting coding/decoding circuit and first and second data converting circuits. The first data converting circuit is arranged to rotate, replace and bit invert the data to be recorded in a recording medium. The second data converting circuit is arranged to introduce a corresponding rotation, replacement and inversion to the data reproduced from the medium to recover the original data. DISCLOSURE OF THE INVENTION Various aspects and features of the present invention are defined in the appended claims. Embodiments of the present invention can provide a recording method in which an input is ciphered in at least one of a sector forming step of dividing input digital data in terms of a pre-set data volume as a unit, a header appendage step, an error correction and decoding step, a modulation step for effecting modulation in accordance with a pre-set modulation system, or a synchronization appendage step for appendage of a synchronization pattern. A scrambling step of effecting randomizing for eliminating the same pattern may be included among the steps that can be used for ciphering. This data recording method can be applied to a data recording apparatus. Embodiments of the present invention include a data reproducing method, the method including reproducing a data record medium recorded in the above data recording method, in which an input has been ciphered in a recording step corresponding to at least one of a synchronization separation step, a demodulating step, an error correction and decoding step, a sector resolving step and a header separation step, and in which the input is decoded in a reproducing step corresponding to the recording step used for ciphering. A descrambling step of desrambling for scrambling used for recording may be included among the steps that can be used for diciphering. The data reproducing method can be applied to a data reproducing apparatus. With the data recording method according to embodiments of the present invention, the above object is accomplished by ciphering the data using the pre-set key information and by using the information written in an area different from a data recording area of the record medium as at least a portion of the key information for ciphering. This can be applied to the data recording apparatus and to a data record medium. Embodiments of the present invention can also provide a data reproducing method in which, in reproducing the digital signal ciphered during recording, deciphering is done using the key information at least part of which is the information written in an area different from a data recording area of the record medium. This can be applied to a data reproducing apparatus. The data recording method according to the embodiments also include varying at least one of the initial value of the scrambling step or the generating polynominal depending on the key information for ciphering. The data reproducing method according to embodiments of the present invention also includes descrambling by varying at least one of the initial value or the generating poloynominal based upon the key information used for recording. The input digital data is divided into sectors in terms of a pre-set data volume as a unit, and the resulting data is processed with header appendage, error correction and encoding, modulation by a pre-set modulation system and appendage of a synchronization pattern for recording on a record medium. By ciphering an input in at least one of the above steps, the particular step in which ciphering has been done also becomes a key for ciphering thus raising the difficulty in deciphering. At least a portion of the key information for ciphering is written in an area different from the recording area on the record medium. This portion of the key information is read out at the time of reproduction and used for deciphering. Since the key information is not completed with the information in the data recording area on the record medium, difficulty in deciphering is increased. At least one of the generating polynominal or the initial value is varied depending on the key for ciphering at the time of scrambling aimed at randomization for removing the same pattern in a data string. Any conventional scrambling may be used for ciphering. BRIEF DESCRIPTION OF THE DRAWINGS Fig.1 is a schematic block diagram showing the configuration of a first embodiment of a data recording apparatus of the present invention. Fig.2 is a block diagram showing an illustrative construction for realizing interleaving of even and odd bytes in a sector forming circuit. Fig.3 illustrates interleaving of even and odd bytes. Fig.4 illustrates an example of a scrambler. Fig.5 illustrates an example of pre-set values of the scrambler. Fig.6 illustrates an example of a scrambler having variable generating polynomials. Fig.7 illustrates an example of a sector format. Fig.8 illustrates an example of ciphering in a synchronization area in a sector. Fig.9 illustrates an example of a header area in a sector. Fig.10 illustrates a schematic structure of an error correction encoding circuit. Fig.11 illustrates a specified structure of an error correction encoding circuit. Fig.12 illustrates another example of an error correction encoding circuit. Fig.13 illustrates an example of ciphering in a modulation circuit. Fig.14 illustrates a specified example of a sync word appended to a modulated signal. Fig.15 illustrates an example of ciphering in a sync appending circuit. Fig.16 illustrates an example of a data record medium. Fig.17 is a block diagram showing a schematic structure of a first embodiment of a data reproducing apparatus according to the present invention. Fig.18 illustrates an example of deciphering by a demodulation circuit. Fig.19 illustrates a schematic structure of an example of an error correction decoding circuit. Fig.20 illustrates a specified structure of an example of an error correction decoding circuit. Fig.21 illustrates another example of an error correction decoding circuit. Fig.22 illustrates an example of a descrambling circuit. Fig.23 illustrates another example of a scrambler. Fig.24 illustrates an example of pre-set values of the scrambler of Fig.23. Fig.25 illustrates an example of a header area in a sector in a sector format of Fig.25. Fig.26 illustrates an example of a header area in a sector in the sector format of Fig.25. Fig.27 is a block diagram showing another example of an error correction encoding circuit. Fig.28 illustrates a product code as a specified example of the error correction code. Fig.29 illustrates an example of a sector signal format. Fig.30 illustrates another specified example of a sync word appended to the modulated signal. Fig.31 illustrates another example of ciphering in a sync appendage circuit. Fig.32 is a block diagram showing another example of an error correction decoding circuit. BEST MODE FOR CARRYING OUT THE INVENTION Referring to the drawings, preferred embodiments of the present invention will be explained in detail. Fig.1 schematically shows a first embodiment of the present invention. In Fig.1, digital data, such as data obtained on digital conversion of analog audio or video signals or computer data, are fed to an input terminal 11. The input digital data is sent via an interfacing circuit 12 to a sector forming circuit 13 so as to be formed into sectors in terms of a pre-set data volume, such as 2048 bytes, as a unit. The data thus formed into sectors is sent to a scrambling circuit 14 for scrambling. For scrambling, the input data is randomized so that the same byte pattern will not be produced in succession, that is so that the same patterns will be eliminated, by way of randomizing, for enabling the signal to be read and recorded appropriately. The scrambled or randomized data is sent to a header appendage circuit 15 where header data to be arrayed at the leading end of each sector is appended and the resulting data is sent to an error correction encoding circuit 16. The error correction encoding circuit 16 delays the data and generates parity to append the generated parity. The next circuit, that is a modulation circuit 17, converts the 8-bit data into 16 channel-bit modulated data in accordance with a pre-set modulation rule and sends the resulting modulated data to a synchronization appendage circuit 18. The synchronization appendage circuit 28 appends a synchronization signal violating the modulation rule of the above pre-set modulation system, that is a so-called out-of-rule pattern synchronization signal, in terms of a pre-set data volume asa unit, and sends the resulting synchronization signal via a driving circuit, that is a driver 19, to a record head 20. The record head 20 performs optical or magneto-optical recording and records the modulated signal on the record medium. The disc-shaped record medium 21 is run in rotation by a spindle motor 22. The scrambling circuit 14 is not essential. Moreover, the scrambling circuit 14 may be inserted downstream of the header appendage circuit 15 for scrambling the digital data having the header appended thereto. The digital data having the header appended thereto may be sent to the error correction encoding circuit 16. It should be noted that at least one of the sector forming circuit 13, scrambling circuit 14, header appendage circuit 15, error correction encoding circuit 16, modulation circuit 17 and the synchronization appendage circuit 18 is configured for ciphering an input and outputting the resulting ciphered signal. Preferably, two or more circuits are used for ciphering. The key information for this ciphering uses, as at least a portion thereof, the identification information written in an area other than the data record area of the record medium 21, such as the identification information proper to the medium, the producer identification information, dealer identification information, the identification information proper to the record apparatus or the encoder, the identification information proper to the medium producing apparatus, such as a cutting machine or a stamper, the territory information, such as a country code or the identification information furnished from outside. Such identification information written in this manner in an area other than the data record area of the record medium is the information sent from the interfacing circuit 12 via a contents-contents (TOC) generating circuit 23 to a terminal 24, and is the information sent directly from the interfacing circuit 12 to a terminal 25. The identification information from these terminals 24, 25 is used as a portion of the key information for ciphering. At least one and preferably two or more of the circuits 13 to 18 perform ciphering on the input data using the key information. The identification information from these terminals 24, 25 is sent as appropriate to the record head 20 for recording on the record medium 21. In this case, which of the circuits 13 to 18 has performed ciphering represents one of the alternatives, and is felt to be a key necessary for producing the regular reproduced signal on reproduction. That is, if ciphering has been performed in one of the circuits, it becomes necessary to select one of six alternatives, whereas, if ciphering has been performed in two of the circuits, it becomes necessary to select one of 15 alternatives corresponding to the number of combinations of two out of six circuits. If there is the possibility of the ciphering operation performed in one to six of the six circuits 13 to 18, the number of alternatives is increased further, such that it becomes difficult to find the combination by a trial-and-error method, thus fulfilling the role of ciphering. The key information for ciphering may be switched at a pre-set timing, for example, on the sector basis. In switching the key information at the pre-set timing, whether or not switching is to be made, the switching period or the switching sequence of the plural key information items may also be used as the key for further raising the ciphering level, ease or difficulty of ciphering, or difficulties in deciphering. The construction of the circuits 13 to 18 and specified examples of ciphering will be explained. First, the sector forming circuit 13 may be designed for interleaving even and odd bytes, as shown for example in Fig.2. That is, in Fig.2, an output of the interfacing circuit 12 of Fig.1 is sent to a two-output changeover switch 31, an output of which is sent via an even/odd interleaver 33 to a sector forming circuit 34 and the other output of which is directly sent to the sector-forming circuit 34. The sector-forming circuit 34 collects the input data in terms of 2048 bytes as unit to form one sector. The switching operation of the changeover switch 32 of the sector forming circuit 13 is controlled by a 1-bit control signal operating as the key. The even/odd interleaver 33 distributes one sector of the input data, having even bytes 36a and odd bytes 36f arrayed alternately as shown in Fig.3A, into an even data portion 37a and an odd data portion 37b, as shown in Fig.3, and outputs these data portions. Moreover, a specified portion 39 in a sector may be specified by the key information and data in only this specified portion 39 may be distributed into an even data portion 39a and an odd data portion 39b. In this case, the manner of specifying the portion 39 may be designed to be selected in plural methods for further increasing the number of the alternatives of the key information for raising the ciphering level. The scrambling circuit 14 can use a scrambler of the so-called parallel block synchronization type employing a 15-bit shift register, as shown for example in Fig.4.To a data input terminal 35 of the scrambler is supplied data from the sector forming circuit 13 in an order in which the least significant bit (LSB) comes temporally first, that is in the so-called LSB first order. A 15-bit shift register 14a for scrambling is associated with an exclusive-OR (ExOR) circuit 14b for applying the feedback in accordance with the generating polynominal x 15 + x + 1. Thus, a pres-set value or an initial value as shown in Fig.5 is set on the 15-bit shift register 14a. Meanwhile, the selection number of the pre-set value of Fig.5 can be switched on the sector basis in association with, for example, the value of the lower four bits of the sector address. Output data of the shift register 14a and input data at a terminal 35 are ExORed by the ExOR circuit 14c so as to betaken out at a terminal 14d and sent to the header appendage circuit 15 of Fig.1. The generating polynominal and the pre-set value (initial value) may be varied in accordance with the key information, such as the pre-set identification number. That is, for varying the generating polynominal, the configuration as shown in Fig.6 may be used. In Fig.6, outputs of the respective bits of the 15-bit of the shift register 14a are sent to fixed terminals of the changeover switch 14f controlled by, for example, 4-bit control data from a control terminal 14g. An output of the changeover switch 14f is sent to the ExOR circuit 14b. By changing the control data of the control terminal 14g, it becomes possible to change the value of n in the generating polynominal x 15 + x n + 1. For changing the pre-set value, the pre-set values of the pre-set value table of Fig.5 may be processed with arithmetical operation with each byte value of the 16-byte identification information. The identification information may be enumerated by the identification information proper to the medium, the producer identification information, dealer identification information, the identification information proper to the recording apparatus or the encoder, the identification information proper to the medium producing apparatus, the territory information, or the identification information furnished from outside. The above information may be used in combination with one another or with the other information. The configuration for varying the generating polynominal is not limited to the configuration of Fig.6, such that the number of taps or stages of the shift register may be changed as desired. The header appendage circuit 15 is now explained. Fig.7 shows a specified example of the sector format. Each sector is made up of a 2048-byte user data area 41, to which are appended a 4-byte synchronization area 42, a 16-byte header area 43 and a 4-byte error detection code (EDC) 44. The error detection code of the error detection doe area 44 is made up of 32-bit CRC code generated for the user data area 41 and the header area 43. Ciphering in the header appendage circuit 15 may be performed on a synchronization signal, that is a so-called data sync, a header address or CRC. As an example of ciphering the sector synchronization signal or data sync, if byte patterns allocated to respective bytes of the 4-byte sync area 42 are denoted by A, B, C and D in Fig.8, the contents of these four bytes may be shifted or rotated on the byte basis using the 2-bit key information. That is, by switching to ABCD, BCDA, CDAB or to DABC for the 2-bit key of 0, 1, 2 or 3, respectively, sector synchronization cannot be achieved failing the key data coincidence, such that regular reproduction cannot be realized. For the byte patterns A to D, character codes of ISO646, for example, may be used. In the header region 43, there are formed respective layers for CRC 45, as a so-called redundancy cyclic code, the copying information 46 for copying permission/non-permission, or management of the copying generation, a layer 47 indicating a specified layer of a multi-layered disc, an address 48 and a spare 49, as shown in Fig.9. Ciphering can be made by bit scrambling, herein bit-based transposition, on 32 bits of the address 48. If x 16 + x 15 + x 2 + 1 is used as a generating polynominal for the CRC 45, ciphering can also be made by varying 15 bits for x 15 ~ x responsive to the key in place of the second term x 15 and the third term x 2 . Ciphering can also be made by processing 16 bits of the CRC 45 and the key information by arithmetical operations. The key information may be enumerated by the identification information proper to the medium, the producer identification information, dealer identification information, the identification information proper to the record apparatus, encoder or the medium producing apparatus, the territory information, or the identification information furnished from outside. The above information may be used in combination with one another or with the other information. Figs.10 and 11 illustrate a specified embodiment of the error correction encoding circuit 16. In Figs.10 and 11, data from a header appendage circuit 15 of Fig.1 is fed via an input terminal 51 to a C1 encoder 52. In the present specified embodiment, each frame of error correction and encoding is made up of 148 byte or 148 symbol data. The digital data at the input terminal 51 are collected every 148 bytes and sent to a C1 encoder 52 as a first encoding unit. In the C1 encoder 52, an 8-byte parity is appended, and the resulting data is sent via a delay circuit 53 for interleaving to a C2 encoder 54 as a second encoding unit. The C2 encoding unit 54 appends to the data a 14-byte Q-parity which is fed back via a delay circuit 55 to the C1 encoder 52. From the C1 encoder 52, 170 bytes containing P and Q parities are taken out and outputted via the delay circuit 56 and a re-arraying circuit 57 having an inverter 57a at an output terminal 58 so as to be sent to a modulation circuit 17 of Fig.1. For ciphering in the above-described error correction encoding circuit, it may be contemplated to make selection as to whether or not inverters should be inserted responsive to the ciphering key information every byte of the inverting portion 57a in the re-arraying circuit 57. That is, although 22-byte P- and Q-parities are inverted by the inverters of the inverter portion 57a of the re-arraying circuit 57 in the basic configuration, some of these inverters may be eliminated or a number of inverters may be inserted on the C1 data for inverting output parities. When performing such data conversion, the probability of impossible error correction is varied depending on the degree of difference from the basic configuration, such that, if such difference is small, the probability of error occurrence at the ultimate reproduced output is only slightly increased, whereas, if there are many differences, error correction becomes difficult on the whole such that reproduction becomes nearly impossible. For example, in the case of the C1 encoder, the distance as an index specifying the error correction capability is 9, so that error detection and correction is possible up to 4 bytes at the maximum and, if there is an erasure point, correction up to 8 bytes at the maximum is possible. Thus, if there are five or more differences, correction becomes always impossible with the C1 code. If there are four differences, a delicate state of correction becoming impossible by at least one other error occurs. As the difference is decreased from three through two to one, the probability of error correction becoming feasible increases in this order. If this is utilized, the state of reproduction in which in case of furnishing audio or video software reproduction is possible to a certain extent but is not impeccable and sometimes perturbed can be crated positively. This can be exploited for informing the user of only the epitome of the software. In this case, it is possible to use such a method in which the sites of change of the inverters are prescribed at, for example, two sites, a method in which the sites of changes are selected at random depending on the key information and the smallest number of the sites of change are limited to two sites, or a method consisting in the combination of the two methods. The positions of insertion or modification of the inverters are not limited to those in the re-arraying circuit 57 in Figs.10 and 11, but any arbitrary positions upstream or downstream of the C1 encoder 52 or the combinations thereof may also be used. In case there are plural positions, different keys may be used. As for the data conversion, bit addition or the like logical operations may be used in place of using inverters, data may be transposed depending on the key information for ciphering, or data may be replaced depending on the key information for ciphering. Of course, a variety of ciphering techniques, such as conversion by shift registers or by various function processing, can be used alone or in combination. Fig.12 shows another specified embodiment of the error correction encoding circuit 16 in which a set of exclusive-OR (ExOR) circuits 61 is inserted downstream of the inverter 57a within the re-arraying circuit 57 and in which another set of exclusive-OR circuits 61 is inserted upstream of, that is on the input side of the C1 encoder 52. Specifically, the set of the ExOR circuits 61 perform data conversion of ExOR operation on 170-byte data taken out from the C1 encoder 52 via the delay circuit 56 and the inverter portion 57a of the re-arraying circuit 57, that is on information data C 170n+169 ~ C170n+22 and parity data P 170n+21 ~ P 170n+14 , Q 170n+13 ~ Q 170n , while the set of the ExOR circuits 66 perform data conversion of ExOR operation on 148-byte input data B 148n ~ B 148n+147 . The ExOR circuits, used in these set of the ExOR circuits 61, 66, Ex-OR 1-byte or 8-bit input data and pre-set 8bit data specified by a 1-bit control data. 170 and 148 of these 8-bit ExOR circuits (equivalent to an inverter circuit if the pre-set 8-bit data are all zero) are used for the set of the ExOR circuits 61, 66, respectively. In Fig.12, the 170-bit key information is sent to a terminal 62 and routed via a so-called D- latch circuit 63 to each of the 170 ExOR circuits in the set of the ExOR circuits 61. The D-latch circuit 63 is responsive to the 1-bit ciphering control signal supplied to an enabling terminal 64 to switch between sending the 170-bit key information from the terminal 62 directly to the set of the ExOR circuits 61 and setting all of the 170 bits to "0". Of the 170 ExOR circuits of the set of the ExOR circuits 61, the ExOR circuit fed with "0" from the D-latch circuit 63 directly output data from the inverter portion 57a in the re-arraying circuit 57, while the ExOR circuit fed with "1" from the D-latch circuit 63 inverts and outputs data from the inverter portion 57a in the arraying circuit 57. In case of all-zero, data from the inverter portion 57a in the re-arraying circuit 57 is directly outputted. The set of the ExOR circuits 66 is similar to the set of the ExOR circuits 61 except that it includes 148 ExOR circuits and has the key information of 148 bits. Thus, the 148-bit key information supplied to a terminal 67 is sent via a D-latch circuit 68 to each of the set of the ExOR circuits in the set of the ExOR circuits. The D-latch circuit 68 is switched to 148-bit key information or all-zeros by the ciphering control signal of an enabling terminal 69. In the circuit of Fig.12, the set of the ExOR circuits 61 perform data conversion of ExOR operation on 170-byte data taken out from the C1 encoder 52 via the delay circuit 56 and the inverter portion 57a of the re-arraying circuit 57, that is on information data C 170n+169 ~ C 170n+22 and parity data P 170n+21 ~ P 170n+14 , Q 170n+13 ~ Q 170n . Alternatively, the set of the ExOR circuits 61 may be designed to perform data conversion on 148-byte information data C 170n+169 ~ C 170n+22 , dependent on the 148-bit key information, without performing data conversion on the parity data. With the circuit of Fig.12, the operation and effect similar to those of Figs.10 and 11 may be realized. It is also possible to use one of the ExOR circuits 61 and 66 or to use the selection of one or both of the ExOR circuits as the ciphering key. The key information may be enumerated by the identification information proper to the medium, producer identification information, dealer identification information, identification information proper to the record apparatus, encoder or the medium producing apparatus, territory information, or the identification information furnished from outside. The above information may be used in combination with one another or with the other information. In place of the ExOR circuits 61 and 66 as the data conversion means, AND, OR, NAND, NOR or inverter circuits may also be used as the above data conversion means. In addition to performing logical processing by the 1-bit key information or the key data on the 8-bit basis, logical processing may also be performed on the 8-bit information data. Alternatively, the AND, OR, ExOR, NAND, NOR or inverter circuits may be used in combination for respective ones of the 8 bits corresponding to 1 word of the information data. In this case, 148 x 8 bit key data is used for 148-byte data, that is 148 x 8 bit data. Moreover, if the AND, OR, ExOR, NAND, NOR or inverter circuits are used in combination, these combinations themselves may also be used as the key. Various ciphering techniques, such as conversion by shift registers or various function processing may, of course, be used such that these may also be used in combination. Although an example of cross-interleaving type error correction code has been explained in the first embodiment, it may also be applied to a product code, as will be explained later as a second embodiment of the present invention. Referring to Fig.13, ciphering by the modulation circuit 17 of Fig.1 is now explained. In this figure, data from the error correction coding circuit 16 is fed every 8 bits (one byte) to a terminal 71, while the 8-bit key information is fed to an input terminal 72. These 8-bit data are fed to an ExOR circuit 73, as an example of the logical processing circuit, for performing an Ex-OR operation. An 8-bit output of the ExOR circuit 73 is sent to a modulator of a pre-set modulation system, such as an 8-16 conversion circuit 74, for conversion to 16 channel bits. An example of the 8-16 conversion system by the 8-16 conversion circuit 74 is a called EFM plus modulation system. Although the ciphering employing the 8-bit key information is performed prior to data modulation, the number of bits of the key information is not limited to 8, while the input-output correlation of a conversion table used for 8-16 conversion may be varied responsive to the key information. For the key information, the identification information proper to the record medium as described above may, of course, be employed. The synchronization appendage circuit 18 is now explained. The synchronization appendage circuit 18 takes synchronization, using four sorts of synchronization words S0 to S3 shown in Fig.14, in terms of frames of the 8-to-16 modulation as unit. For example, to 85 data symbols or 1360 channel bits as one frame of the 8-to-16 modulation is added a synchronization word of 32 channel bits, this frame is structured by association with theC1 or C2 code and the synchronization word of a leading frame of the C1 codestring is caused to differ from the synchronization word of another frame for producing the four sorts of the synchronization words S0 to S3. These synchronization words S0 to S3 have respective two synchronization patterns a and b depending on the states of "1" or "0" of the directly previous word, the so-called digital sum or the dc value. Selection of these four synchronization words S0 to S3 can be changed depending on two bits of the key information 75, using the circuit shown for example in Fig.15, for the purpose of effecting the ciphering. That is, respective bits of two-bit data 76 designating the four synchronization words S0 to S3 and respective bits of the 2-bit key information 75 are ExORed by two ExOR circuits 77, 78 for producing a new synchronization word designating data 79. This modifies the manner of using the synchronization word in the above-described frame structure or the position of using various sorts of the synchronization words in the above-described frame structure for the purpose of effecting the ciphering. It is also possible to increase the number of sorts of the synchronization word and to determine the manner of taking out the four sorts of the synchronization words from among these synchronization words depending on the ciphering key. The aforementioned identification information proper to the record medium may be used as this key information. Fig.16 shows a disc-shaped record medium 101, such as an optical disc, as an example of the record medium. This disc-shaped record medium 101 has a center aperture 102 and has formed therein a lead-in area 103, as a table-of-contents (TOC) area or a program management area, a program area 104 for recording program data and a program end area or a lead-out area 105, looking from the inner rim towards the outer rim thereof. In an optical disc for reproducing audio signals or video signals, audio or video data is recorded in the program area and the time information for the audio or video data are managed by the lead-in area 103. As part of the key information, the identification information written in an area other than the program area as the data recording area may be used as part of the key information. Specifically, the identification information, including the identification information, such as the production number proper to the record medium, identification information for the producer, identification information for the dealer, identification information proper to the recording device or the encoder or identification information proper to the device for producing the record medium, such as a cutting machine or a stamper, may be written the lead-in area 103 as the TOC area or in the lead-out area 105. A signal obtained on ciphering in at least one and preferably two of the above-mentioned six circuits 13 to 18 is recorded in the program area 104 as the data recording area. For reproduction, the above identification information may be used for deciphering. The identification information may also be written physically or chemically inwardly of the lead-in area 103 and read out during reproduction so as to be used as the key information for decoding. Referring to Fig.17, preferred embodiments of the data reproducing method and the data reproducing apparatus according to the present invention will be explained. In Fig.17, the disc-shaped record medium 101, as an example of the record medium, is run in rotation by a spindle motor 108 so that the recording contents thereof are read out by a reproducing head device 109, such as an optical pickup. The digital signals read out by the reproducing head device 109 is sent to a TOC decoder 111 and to an amplifier 112. From the TOC decoder 111, the identification information, including the identification information, such as the production number proper to the record medium, identification information for the producer, identification information for the dealer, identification information proper to the recording device or the encoder or identification information proper to the device for producing the record medium, such as a cutting machine or a stamper, are read out so as to be used as at least a portion of the key information for decoding the ciphering. The identification information proper to the reproducing device or the identification information from outside may be outputted from a CPU 122 in the reproducing device so as to be used as at least a portion of the key information. The identification information from outside includes the identification information received via the communication network or transmission path and the identification information obtained on reading a so-called IC card, ROM card, a magnetic card or an optical card. The digital signal taken out from the reproducing head device 109 via amplifier 112 and a phase-locked loop (PLL) circuit 113 is sent to a synchronization separation circuit 114 for separation of the synchronization signal appended by synchronization appendage circuit 18 of Fig.1. The digital signal from the synchronization separation circuit 114 is sent to a demodulation circuit 115 for performing an operation which is the reverse of the modulation performed by the modulation circuit 17 of Fig.1. Specifically such operation is converting16 channel bits into 8 bit data. The digital data from the demodulation circuit 115 is sent to an error correction decoding circuit 116 for performing decoding as a reverse operation of the encoding performed by the error correction encoding circuit 16 of Fig.1. The decoded data is resolved into sectors by a sector resolution circuit 117 and a header at the leading end of each sector is separated by the header separation circuit 118. The header resolution circuit 117 and the header separation circuit 118 are counterpart devices of the sector forming circuit 13 and the header appendage circuit 15 of Fig.1, respectively. A descrambling circuit 119 then performs descrambling as a reverse operation of the scrambling performed by the scrambling circuit 14 of Fig.1 so that reproduced data is outputted via an interfacing circuit 120 at an output terminal 121. It should be noted that ciphering has been performed during recording in at least one of the sector forming circuit 13, scrambling circuit 14, header appendage circuit 15, error correction encoding circuit 16, modulation circuit 17 and the synchronization appendage circuit 18, such that a deciphering operation is required in the reproducing side circuits 114 to 119 as counterpart devices of the ciphering circuits. That is, if ciphering is performed by the sector forming circuit 13 of Fig.1, it is necessary for the sector resolution circuit 117 to perform ciphering using the key information used for ciphering. Similarly, the deciphering by the descrambling circuit 119, by the header separation circuit 118, by the error correction decoding circuit 116, by the demodulation circuit 115 and by the synchronization separation circuit 114 become necessary in association with the ciphering by the scrambling circuit 14, header appendage circuit 15, error correction encoding circuit 16, modulation circuit 17 and by the synchronization appendage circuit 18 of Fig.1, respectively. The deciphering by the synchronization separation circuit 114 is performed by detecting the manner of using a plurality of, for example, four, different sorts of the synchronization words or the position of use of the various synchronization words in a frame structure, modified in accordance with the key information for ciphering, as explained with reference to Figs.14 and 15. In the deciphering operation by the demodulation circuit 115, the 8-bit data, sent from the synchronization separation circuit 114 to a 16-to-8 conversion circuit 131 so as to be converted from the 16 channel bits, are sent to an ExOR circuit 132, as a counterpart circuit of the ExOR circuit 73 of Fig.13, so as to be Ex-ORed with the 8-bit key information from a terminal 133, for restoring data corresponding to the 8-bit data supplied to the input terminal 71 of Fig.13, as shown in Fig.18. The restored data is sent to the error correction decoding circuit 116. The error correction decoding circuit 116 performs a reverse operation of the error correction encoding shown in Figs.10 and 11 by the constitution of Figs.19 and 20. Referring to Figs.19 and 20, demodulated data from the demodulation circuit 115 are sent, in terms of 170 bytes or 170 symbols as units, via a re-arraying circuit 142 having an inverter 142a and via a delay circuit 143, to a C1 decoder 144 as a first decoder. Of the 170 bytes of data supplied to this C1 decoder 144, 22 bytes are P parity data and Q parity data. The C1 decoder 144 performs decoding using these parity data. The C1 parity data outputs 170 byte data via a delay circuit 145 to a C2 decoder 146 as a second decoder where error correction and decoding are performed using these parity data. Output data of the C2 decoder 146 is sent to a delay-C1 decoding circuit 140 of Fig.19. This circuit is similar to the delay circuit 143 and the C1 decoder 144 and repeatedly performs the operation similar to that performed by the delay circuit 143 and the C1 decoder 144 for performing error correction and decoding. In the embodiment of Fig.20, delay-Cl decoding circuit 140 is shown as a delay circuit 147 and a C3 decoder 148 as a third decoder. The delay circuit 147 and the C3 decoder 148 or the delay-Cl decoding circuit 140 perform ultimate error correction and decoding so that 148-byte data devoid of parity is outputted at an output terminal 149. The 148-byte data corresponds to the 148-byte data entering the C1 decoder 52 of Fig.11. If ciphering has been performed in the inverter portion 57a of the re-arraying circuit 57 of the error correction encoding circuit of Figs.10 and 11, it is necessary for the inverter portion 142a in the re-arraying circuit 142 of the error correction and decoding circuit of Figs.19 and 20 to perform corresponding deciphering. It is of course necessary to perform deciphering as a reverse operation of the various sorts of ciphering explained with reference to Figs.10 and 11. Fig.21 shows an illustrative structure of the error correction decoding circuit as a counterpart of the illustrative structure of the error correction encoding circuit shown in Fig.12. Referring to Fig.21, a set of ExOR circuits 151 are inserted on an input side of the inverter portion 142a of the re-arraying circuit 142 and on an input side of the delay circuit 143, in association with the set of ExOR circuits 61 inserted on the output side of the inverter portion 57a of the re-arraying circuit 57 of Fig.12, while a set of ExOR circuits 156 are inserted on the output side of the C1 decoder 148 in association with the ExOR circuits 66 inserted on the input side of the C1 encoder 52 of Fig.12. These Ex-OR circuit sets 151, 156 are configured for data conversion for decoding the data conversion performed by the ExOR circuits sets 61, 66 of Fig.12. Of these, the set of the ExOR circuits 151 are made up of, for example, 170 8-bit ExOR circuits, while the set of the ExOR circuits 156 are made up of, for example, 148 8-bit ExOR circuits. If data conversion responsive to the key information has been done for the 148-byte information data excluding the parity data by the ExOR circuits 61 of the recording side error correction encoding circuit of Fig.12, the set of the ExOR circuits 151 are naturally constituted by 148 8-bit ExOR circuits. To a terminal 152 of Fig.21 is supplied the 170-bit key information corresponding to the key information supplied to the terminal 62 of Fig.12. The key information is supplied via a D-latch circuit 153 to each of 170 ExOR circuits within the set of the ExOR circuits 151. The D-latch circuit 153 is switched, responsive to the 1-bit ciphering control signal supplied to an enabling terminal 154, between sending the 170-bit key information from the terminal 152 directly to the set of ExOR circuits 151, and setting the 170 bits to "0" in their entirety (all-zero). On the other hand, the set of ExOR circuits 156 are similar to the set of the ExOR circuits 151 except that the set of ExOR circuits 156 has148 ExOR circuits 151 and has the 148-bit key information similarly to the key information supplied to the terminal 12 of Fig.12. The 148-bit key information supplied to a terminal 157 is sent via a latch circuit 158 to each of the 148 ExOR circuits 156 via D-latch circuit 158. The D-latch circuit 158, in turn, is switched responsive to the ciphering control signal from an enabling terminal 159 between the 148-bit key information and all-zero. By employing the ExOR circuits or the inverter of the error correction circuit, it becomes possible to realize simple and significant ciphering. Moreover, by controlling the number of the inverters, normally non-reproducible data of the ciphering level or data becoming non-reproducible in a worsened error state can be coped with responsive to the demand for security level. That is, by controlling the number of the inverters or the ExOR circuits, control can be done in such a manner that reproduction becomes possible and impossible for the better and worse error states, respectively. Moreover, the reproducible state that cannot be recovered by error correction by itself can also be produced. As for the ciphering key, the number of bits can even reach 100 or more per ciphering site as in the above illustrated embodiment and hence ciphering with the large number of bits of the key becomes possible thus improving data security. Moreover, by implementing the error correction encoding circuit and the error correction decoding circuit within an LSI or IC chip hardware, accessing to the record medium can be made more difficult from the users in general, thus again raising data security. The sector resolution circuit 117 performs so-called deinterleaving, that is a reverse operation to the even or odd interleaving if ciphering by such even or odd byte interleaving has been done for recording by the sector forming circuit 13, as explained with reference to Figs.2 and 3. The header separation circuit 118 performs corresponding deciphering if the ciphering explained with reference to Figs.7 to 9, that is data sync byte pattern transposition representing sector synchronization, address change or CRC change, has been done during recording by the header appendage circuit 15. Fig.22 shows an illustrative embodiment of the descrambling circuit 119. To a terminal 161 is fed digital data from the header separation circuit 118 of Fig.17. Digital data from the terminal 161 is descrambled by a scrambler 163 configured as shown in Fig.4 so as to be taken out at an output terminal 164. Deciphering can be performed by changing a polynomial 165 and a pre-set value or the initial value 166 as explained with reference to Fig.4 for the scrambler 163 in dependence upon the ciphering key information from an authorization mechanism 171. The authorization mechanism 171 generates the ciphering key information, depending upon the contents of the copying information 46 of the header information 167, identification information proper to the record medium or to the reproducing apparatus, the common identification information 173 proper to the producer or the dealer or the external identification information 174 supplied from outside for controlling the generating polynominal cib165 or the pre-set value 166 depending on the key information. The information as to n which of these circuits 114 to 119 the deciphering is required may prove to be the key information for ciphering, as discussed previously. Moreover, the ciphering key information may be switched in a pre-set period, for example, every sector. The extent of ease or difficulty in ciphering is increased by using whether or not switching is to be made, or the switching period, as the key. By combining the producer identification information, dealer identification information or device identification information with the copying protection information or charging information, set separately, as described above, for ciphering data, and recording the ciphered data, prevention of copying, pirate edition or illicit use can be realized on the physical format level. In addition, the information concerning the data security function, copying permit/non-permit information or the charging/charge-free information is implemented on a record medium or in a physical format of the recording/reproducing system. That is, by pre-recording the security/charging information on the record medium, and by combining it with data ciphering using the recording/non-recording information for the record medium, copying prevention and prevention of illicit use can be realized by a simplified structure. Decoding can be made difficult by latent incorporation in the physical format. The structure is safe against dump copying since it remains in the ciphered state. The structure can be varied on the sector basis, on the file basis, on the zone basis or on the layer basis. Moreover, key control can be done by communication, IC card or by a remote controller. Hysteresis can also be left against pirating. The second embodiment of the present invention is now explained. The second embodiment is a partial modification of the first embodiment described above. The overall structure is as shown in Fig.1. Only the modified portions of the circuits 13 to 18 of the configuration of Fig.1 are now explained. The sector forming circuit 13 of Fig.1 can be configured as in the first embodiment described above. However, the scrambling circuit 14 is configured as shown in Fig.23. In the scrambling circuit 14, shown in Fig.,23, data from the sector forming circuit 13 of Fig.1 is supplied in a sequence in which the least significant bit (LSB) comes temporally first, that is in the LSB first order, to the data input terminal 35. A 15-bit shift register 14a for scrambling is configured so that feedback by the generating polynominal x 15 + x 4 +1 will be applied using an exclusive-OR (ExOR) circuit 14b, while a pre-set value or an initial value as shown in Fig.24 is set in the 15-bit shift register 14a. The selection numbers of the pre-set values shown in Fig.24 are selected so that the pre-set values can be switched on the sector basis in association with, for example, the values of the lower 4 bits of the sector address. Output data of the shift register 14a and input data from the terminal 35 are ExORed by the ExOR circuit 14c, an output of which is outputted at an output terminal 14d so as to be sent to the header appendage circuit 15 of Fig.1. The pre-set value (initial value) can be varied depending on the key information such as the pre-set identification number. That is, the pre-set values of the 16-byte identification information of the pre-set value table of Fig.24 can be logically processed with respective byte values of the 16-byte identification information. The identification information in this case may include the identification information such as the production number proper to the record medium, identification information for the producer, identification information for the dealer, identification information proper to the recording device or the encoder or identification information proper to the device for producing the record medium, territory information, identification information supplied from outside, alone or in combination. The above information of various sorts may also be used in combination with other sorts of the information. The logical processing includes exclusive OR (ExOR), logical product (AND), logical sum (OR) or shifting. The sector format for the second embodiment may be configured as shown for example in Fig.25. As shown in Fig.25, each sector is made up of 12 rows each being of 172 bytes, totaling at 2064 bytes, of which 2048 bytes represent main data. At a leading position of the first one of the 12 rows are arrayed a 4-byte identification data (ID), a 2-byte ID error detection code (IED) and 6-byte reserve data (RSV), in this order. At a terminal position of the last row is arrayed a 4-byte error detection code (EDC). As shown in Fig.26, the 4-bytes of the identification data (ID) are made up of the first byte (bits b31 to b24) formed by the sector information and the remaining three bytes (bits b23 to b0) formed by the sector numbers. The sector information is made up of a 1 bit of the sector format type, a 1 bit of the tracking method, a 1 bit of reflectance, a 1 bit of the spare information, 2 bits of the area type and 2 bits of the layer number. The header appendage circuit 15 of Fig.1 performs transposition, that is bit-based scrambling, on the 14 bits of the sector number in the identification data (ID) in the sector format, responsive to the key information, for effecting the ciphering. In addition, the generating polynominal of the 2-byte ID error detection code (IED) or the generating polynominal of the 4-byte error detection code (EDC) can be modified depending on the key information or logically processed with the key information for effecting the ciphering. The error encoding correction circuit 16 of Fig.1 may be configured as shown in Fig.27. For encoding, product code or the block code as shown in Fig.28 is used. Referring to Fig.27, data from the header appendage circuit 15 shown in Fig.1 is supplied to an input terminal 210. This input data is supplied to a PO encoder 211 as a first encoding unit. Input data to the PO encoder 211 is 172 bytes x 192 rows, or B 0.0 to B 191,172 . The PO encoder 211 appends an RS outer code (PO) of RS (208,192,17) as 16-byte Reed Solomon code (RS code) to each of 192 bytes of each of 172 columns, as shown in Fig.28. Output data of the PO encoder 211 are sent via the data conversion circuit for ciphering 212 as described above to an interleaving circuit 213 to from interleaved data which is sent to a PI encoder 214. The PI encoder 214 appends an RS inner code (PI) of RS (182,172,11) (RS code) to each row of 172 bytes of the 172 bytes x 208 rows. Thus the PI encoder 214 outputs data of 182 bytes x 208 rows. This output data is outputted at an output terminal 216 via a data conversion circuit 215 for ciphering as described above. Since the PO encoder 211 appends the 16-byte PO parity to the 192-byte input data for each column to output 208-byte data, the data conversion circuit 212 performs data conversion as described above on the 16-byte parity or 208-byte data in their entirety for effecting the ciphering. This data conversion may be made responsive to the key information supplied via a terminal 218. Since the data conversion circuit 215 appends 10-byte PI parity to 172-byte data of each row for outputting 182-byte data, the data conversion circuit 215 can perform ciphering by effecting data conversion on the 10-byte data or on the 182-byte data in their entirety. This data conversion can be performed responsive to the key information supplied via the terminal 219 as described previously. The above data conversion may be performed by arranging an inverter at a pre-set position, by selectively inverting data by the set of the ExOR circuits responsive to the key information or by using the AND, OR or NAND circuits. In addition to the logical processing on the 8-bit information data by the 1-bit key information data or by key data, logical processing may be performed on the 8-bit information data by the 8-bit key information data, or the AND, OR, ExOR, NAND, NOR or inverter circuits may be used in combination for each of 8 bits making up a word of the information data. Of course, a variety of ciphering techniques, such as conversion by shift registers or function processing may be applied alone or in combination. If the AND, OR, ExOR, NAND, NOR or inverter circuits are used in combination, the combination itself may be used as the key. Moreover, in addition to the logical precessing, transposition of changing data positions or substitution of substituting data values may also be used for data conversion. Of course, a variety of ciphering techniques, such as conversion by shift registers or function processing, may be applied alone or in combination. The 182 bytes x 208 rows of data, resulting from error correction encoding, are interleaved with respect to rows and separated into 16 13-row groups each of which is associated with a recording sector. Each sector, made up of 182 bytes x 13 row, totaling at 2366 bytes, is modulated and two synchronization codes SY are appended per row as shown in Fig.29. For modulation, 8-to-16 conversion is used as in the above-explained first embodiment. Each row is divided into two sync frames, each of which is made up of a 32- channel-bit synchronization code SY and a 1456-channel-bit data portion. Fig.29 shows a data structure for one sector obtained on modulation and appendage of synchronization data. The 38688 channel bits of each sector, shown n Fig.29, corresponds to 2418 bytes prior to modulation. The modulated output signal of Fig.29 uses eight sorts of the synchronization codes SY0 to SY7. These synchronization codes SY0 to SY7 represent synchronization patterns of Fig.30(a) and Fig.30(b) for the 8-16 conversion states 1, 2 and for the 8-16 conversion states 3 and 4, in dependence upon the above-described 8-16 conversion states, respectively. The selection of the eight sorts of the synchronization codes SY0 to SY7 may be changed responsive to the 3-bit key information for effecting the ciphering. That is, respective bits of three-bit data 221 designating the eight sorts of the synchronization codes SY0 to SY7 and the respective bits of the 3-bit key information 222 are Ex-ORed by the three ExOR circuits 223, 224 and 225 to produce new synchronization code designating data 226. This modifies the manner of using the synchronization code in the above frame structure or the position of using the various synchronization codes in the frame structure to effect the ciphering. Of course, data of the three bits may be transposed, substituted or converted by a shift register or by a function conversion depending on the key information The basic structure of a reproducing side, as the counterpart of the recording side structure of the above-described second embodiment of the present invention, is similar to that shown in Fig.17, and a reverse operation modified in meeting with modified portions in the second embodiment is performed. For example, the reverse operation as a counterpart of the error correction encoding shown in Fig.27 can be implemented by an error correction decoding circuit shown n Fig.32. In this figure, data of the product code of 182 bytes x 208 rows of Fig.28, corresponding to an output of the output terminal 216 of Fig.27, that is an output signal of the demodulating circuit 115 of Fig.17, is supplied to an input terminal 230. This data from the input terminal 230 is sent to a data conversion circuit 231 where a reverse operation of the operation performed by the data conversion circuit 215 of Fig.27 is performed. Output data of the data back-conversion circuit 231 is sent to a PI (inner code) decoder 232 where the decoding as the reverse operation of the operation performed by the PI encoder 214 of Fig.27, that is error correction employing the PI code, is performed for producing 172 bytes x 208 rows of data shown in Fig.28. Output data of the PI decoder 232 is processed by an operation which is the reverse of the operation performed by the data conversion circuit 213 and subsequently sent to a PO (outer code) decoder 235. The PO decoder 235 performs a decoding operation as a reverse operation of the operation by the PO encoder 211 of Fig.27, that is error correction employing the PO code, for taking out the original 172 bytes x 182 rows of data of Fig.28 at an output terminal 236. If the key information is used for data conversion by the data conversion circuits 212, 215 of Fig.27, the key information supplied to each of the terminals 218, 219 may be supplied to terminals 239, 238 of the data back-conversion circuits 234, 231 of Fig.32 for effecting data back-conversion depending on the key information. The favorable effect of the above-described second embodiment of the present invention is similar to that of the above-mentioned first embodiment. In the above-described embodiment of the data recording method according to the present invention, input data is processed with ciphering in at least one of the sector forming step of dividing input digital data in terms of the pre-set data amount, a header appendage step of appending the header, an error correction encoding step, a modulating step for modulation in accordance with a pre-set modulation system, and a synchronization appendage step of appending the synchronization pattern, and the resulting ciphered data is outputted, so that the particular step in which the ciphering has been made also becomes the key for ciphering, thus raising the degree of ease or difficulty in ciphering. The scrambling step of randomizing the data for eliminating the same pattern may also be included among the ciphering steps. There is also a merit that ciphering can be realized easily by simply modifying part of the pre-existing configuration. These effects can be realized with the data recording apparatus, record medium, data reproducing method or data reproducing apparatus. Since data conversion is done on at least a portion of data handled during error correction encoding, depending on the key information for ciphering, ciphering of a desired level between the level for which data restoration is possible to some extent by error correction encoding and a level for which data restoration is not possible can be realized. This renders possible such control in which reproduction is possible or is not possible for an acceptable error state or for an unacceptable error state, thus enabling accommodation complying with the usage of data or security level. In addition, ciphering with a larger number of key bits becomes possible in error correction, and ciphering is done in a huge black box such as error correction coding or decoding IC or LSI, thus making it difficult for the general user to decode the ciphering thus significantly raising data security. In addition, data is ciphered using the pre-set key information and at least a portion of the key information for ciphering is written in an area different from the data recording area on the record medium so that this portion of the key information is read during reproduction and used for deciphering. The key information is not completed within the information in the data recording area of the record medium, thus raising the ciphering difficulty. In addition, during the scrambling operation mainly aimed at randomizing the data for removing the same patterns in the data string, at least one of the generating polynominal or the initial value is changed responsive to the ciphering key such that the pre-existing scrambling may be directly used for ciphering for realizing the ciphering by a simplified structure. By the above-described data ciphering, prevention of copying or illicit use can be implemented by a simplified configuration, while application to security or to charging system may be realized easily. The present invention is not limited to the above-described embodiments. For example, data conversion may also be by bit addition or a variety of logical operations in addition to by inverters or ExOR circuits as described above. A variety of ciphering techniques, such as data substitution or transposition responsive to the ciphering key information conversion by shift registers or by various function precessing, may also be employed, alone or in combination.

Claims: A data recording method comprising; a sector-forming step of dividing input digital data in terms of a pre-set data volume as a unit; a header appending step of appending header to the digital data divided into sectors; an error correction encoding step of appending an error correction code to the digital data having the header appended thereto; a modulating step of modulating the error-corrected encoded digital data in accordance with a pre-set modulation system; an synchronization appending step of appending a synchronization pattern to the modulated digital signal; and a recording step of recording the digital signal having the synchronization pattern appended thereto on a record medium; characterised in that an input is ciphered in at least one of the sector forming step, header appending step, error correction encoding step, modulation step and the synchronization appending step and the resulting ciphered data is outputted, wherein plural sorts of key information are used in said ciphering and are set and switched at a pre-set timing. The data recording method as claimed in claim 1 further comprising a scrambling step of randomizing the digital data divided into sectors in the sector forming step or the digital data having the header appended thereto in the header appending step for eliminating the same pattern; wherein an input is ciphered in at least one of the sector forming step, header appending step, error correction encoding step, modulation step, synchronization appending step and the scrambling step and the resulting ciphered data is outputted. The data recording method as claimed in claim 1 wherein in which one of the sector forming step, header appending step, error correction encoding step, modulation step and the synchronization appending step ciphering has been done is used as the key information. A data recording method as claimed in claim 1 wherein of data handled during error correction encoding of the error correction encoding step, at least part conforming to the key information for ciphering is processed with data conversion. The data recording method as claimed in claim 1 wherein the error correction code is the product code. A data recording apparatus comprising; sector-forming means (13) for dividing input digital data in terms of a pre-set data volume as a unit; header appending means (15) for appending header to the digital data outputted by the sector forming means (13); error correction encoding means (16) for appending an error correction code to the digital data outputted by the header appending means (15); modulating means (17) for modulating the digital data outputted by the header appending means (15); synchronization appending means (18) for appending a synchronization pattern to the digital signal outputted by the modulation means (17); and recording means (19,20,21,22) for recording the digital signal outputted by the modulation means (17) on a record medium (21); characterised in that at least one of the sector forming means, header appending means, error correction encoding means, modulation means and the syncronization appending means ciphers an input and outputs the resulting ciphered data, wherein plural sorts of key information are used in said ciphering and are set and switched at a pre-set timing. The data recording apparatus as claimed in claim 6 further comprising scrambling means (14) for randomizing the digital data divided into sectors by the sector forming means or the digital data having the header appended thereto by the header appending means for eliminating the same pattern; wherein an input is ciphered by at least one of the sector forming means, header appending means, error correction encoding means, modulation means, synchronization appending means and the scrambling means and the resulting ciphered data is outputted. The data recording apparatus as claimed in claim 7 further comprising data conversion means for data-converting at least part of data handled at the time of error correction encoding and which conforms to the key information for ciphering. A data record medium having recorded thereon data obtained by forming input digital data into sectors in terms of a pre-set data volume as a unit, appending a header to each sector, and by processing resulting data with header appendage, error correction and encoding, modulation in accordance with a pre-set modulation system and appendage of a synchronization pattern, the resulting processed data being then ciphered at the time of sector formation, header appendage, error correction and encoding, modulation or appendage of the synchronization pattern, the ciphering being performed using plural sorts of key information which are switched at a pre-set timing, the plural sorts of key information being included as part of the recorded data. A data reproducing method comprising: a synchronization separation step for separating a synchronization signal from a digital signal read out from a data record medium; a demodulating step of demodulating the digital signal separated from the synchronization signal in accordance with a pre-set demodulation system; an error correction decoding step of error correcting and decoding the demodulated digital data; a sector resolving step of resolving the error corrected and decoded digital data into pre-set sectors; and a header separating step of separating a header part of a sector structure of the digital data resolved into sectors; wherein an input has been ciphered in a step for recording associated with at least one of the synchronization separation step, demodulating step, error correction decoding step, sector resolving step or the header separating step; characterised in that the input is deciphered in a step for reproduction associated with the step for recording in which ciphering has been made at the time of recording wherein plural sorts of the key information used in said ciphering are set and switched at a pre-set timing, said deciphering using said plural key information in accordance with the pre-set timing. The data reproducing method as claimed in claim 10 further comprising a descrambling step of descrambling digital data scrambled at the time of recording, said digital data having been resolved into sectors in the sector resolving step or separated from the header in the header separation step; wherein an input has been ciphered in a step for recording associated with at least one of the syncronization separation step, demodulating step, error correction decoding step, sector resolving step, header separating step or the descrambling step; and wherein the input is deciphered in a step for reproduction associated with the step for recording in which ciphering has been made at the time of recording. A data reproducing apparatus comprising: synchronization separation means (114) for separating a synchronization signal from a digital signal read out from a data record medium (101); demodulating means (115) for demodulating the digital signal outputted by the synchronization separation means in accordance with a pre-set demodulation system; error correction decoding means (116) for error correcting and decoding the digital data outputted by the demodulating means (115); sector resolving means (117) for resolving the digital data outputted by the error correction decoding means (116) into pre-set sectors; and header separating means (118) for separating a header part of a sector structure of the digital data outputted by the sector separation means (117); characterised in that an input has been ciphered in a step for recording associated with at least one of the synchronization separation means (114), demodulating means (115), error correction decoding means (116), sector resolving means (117) and the header separating means (118); and wherein the input is deciphered by means for reproduction associated with the step for recording in which ciphering has been made at the time of recording, wherein plural sorts of the key information used in said ciphering are set and switched at a pre-set timing, said deciphering using said plural key information in accordance with the pre-set timing. The data reproducing apparatus as claimed in claim 12 further comprising descrambling means for descrambling digital data scrambled at the time of recording, said digital data being outputted by said sector resolving means or said header separation means, wherein an input has been ciphered by means for recording associated with at least one of the synchronization separation means, modulating means, error correction decoding means, sector resolving means, header separating means and the descrambling means; and wherein the input is deciphered by means for reproduction associated with the means for recording in which ciphering has been made at the time of recording.

Inventors: KAWASHIMA ISAO, KURIHARA AKIRA, OSAWA YOSHITOMO, OWA HIDEO, SAKO YOICHIRO, KAWASHIMA, ISAO, KURIHARA, AKIRA, OSAWA, YOSHITOMO, OWA, HIDEO, SAKO, YOICHIRO, KAWASHIMA, Isao Sony Corporation, KURIHARA, Akira Sony Corporation, OSAWA, Yoshitomo Sony Corporation, OWA, Hideo Sony Corporation, SAKO, YOICHIRO SONY CORPORATION
Applicants: SONY CORP, SONY CORPORATION
Application year: 1996
Main classification: G06F12
IPC codes: G06F1, G11B20, H04N5, G11B27, G06F12