Device and editing method

FIELD: computer science.

SUBSTANCE: editing is performed for data files, which are segmented on blocks, each of which has known data length, and to which attribute file is added, having known length, while segmented blocks are recorded on energy independent memory device., method includes selecting two files of data, recorded in data area for their combination, attribute file is separated from the last data file from selected two; control data are edited recorded in control area by setting a logical link between two data files, and attribute file added to first placed file is edited; and edited control data are recorded to control area, and attribute file - to data area.

EFFECT: broader functional capabilities.

4 cl, 5 dwg

 

The technical field

The present invention relates to a device and method of editing, designed to perform the editing process such as the process of dividing or combining of the file(s)recorded in the memory card, using TRF (file allocation table).

Prior art

EPROM (EEPROM) (Electrically Erasable Programmable ROM), that is electrically rewritable storage device, requires a large space, as it is each bit is represented by two transistors. Thus, the integration of different devices EPROM limited. To solve this problem was developed flash memory in which one bit is represented by a single transistor, using the system clears all bits. It is assumed that the flash memory will replace in the future the conventional recording media such as magnetic disks and optical disks.

Also known storage device in the form of a card using flash memory. A storage device in the form of cards can easily connect to the device and disconnect from it. Can be made digital recording/reproducing audio device, in which instead of the usual compact disc (CD) or a mini-disk (MD) is a storage device in the form of cards.

Systems the file management used in conventional personal computers called TRF (file allocation table). In the system of TRF, is determined when a specific file, in this regard, the file sequentially, the predefined parameters. The size of the file is variable. One file consists of at least one control module (sector, cluster or so). Data corresponding to the control module are recorded in a table called TRF. In the file system TRF file structure can be easily formed regardless of the physical characteristics of the recording media. Thus, the file system TRF can be used for a magneto-optical disk, and floppy disk and hard disk. In the above storage device in the form of a card, also uses a file system with TRF.

However, in KD, which recorded audio data is not used at all TRF. In the era of application of CBM, which can be recorded and reproduced audio data, music programs are recorded and edited using the modified system TRF, which is called link-P (Link-P). When using the system itself can be controlled by the CPU with low power consumption. However, when using such a system cannot exchange data with the PE banalnym computer. Thus, the MD system was developed as a stand-alone audio-visual system.

System link-P, used in the MD, consists of a Pointer DFO (P-DFA), Pointer Empty region (P-Empty area), ITS Pointer P-FRA) (Index-Free Region), and pointers P-TN1 ... P-TNo255. The pointer to the far Eastern Federal district is the starting point of the segment that contains the information about the defects MD. The pointer to a Blank area represents the state of use of the segment. Index NWO is the starting point of the segment used for the control region, which can be produced record. The pointers P-TNo1, P-TNo2,..., P-TNo255 are the starting point of the segments corresponding to the individual music programs.

Next, in figures 42A-E you can see that the process of sequential search of the areas in which you can write distributed on the recording medium can be described using the field of ITS. In figures 42A-E, the area of the WWTP is located at address 03h. In this case, as shown in figa, is access to the segment 03h. The start address and end address recorded in the segment 03h, represent the start address and end address of the disk.

As shown in figa, the link information recorded in the segment of 03h is that the next segment address is 18h. Thus, as shown in figv, about Westside access to the segment 18h. The link information recorded in the segment 18h, indicates that the next segment address is 1Fh. Similarly, as shown in figs is accessed in the segment 1Fh. As shown in fig.42D, in accordance with the link information in the segment 1Fh is the access segment 2Bh. As shown in figa, in accordance with the information communication segment 2Bh, is the access segment E3h. The link information is tracked so until it finds a zero (00h) as information about the connection. Thus consistently recognized address areas that can be recorded, distributed by MD. Region, which can be recorded, distributed in-memory, can be obtained using the alternating control of the output optical signal and sequential access to these addresses. Similarly, by using the links At the DFO or P-TNoN, can be made successful access to the defective areas, which are allocated in memory.

Using system link-P, used for mini-disks, can easily run the editing process, such as the separation process and the process of combining music programs (programs). Thus, although the music program can be easily edited using conventional optical disk, when using conventional nonvolatile PA is ATI you cannot edit files. As in the case of the editing process using the system link-P, the separation process or the process of combining music programs (programs) can be performed by editing TRF. However, if TRF will be destroyed, the editing process cannot be performed. In addition, after the file is edited, it will be impossible to access. In particular, when data is overwritten in the same position of the block in the flash memory, part of which is in the block will be destroyed. To solve this problem, the data is written in such a way that in the same block re-entry is not possible. However, when applying this method, when data recorded in the flash memory, re-edited, the formation of defective blocks. When destroyed the block, which is used for information management TRF, you cannot perform the editing process. In addition, you cannot access the edited file.

BRIEF description of the INVENTION

The present invention is directed to a device and editing method of editing, designed for use with non-volatile memory, by adding to the beginning of each data file of the file attribute and control parts, which are distributed in the memory using the file attribute so that it becomes possible to perform the editing process, even if the TRF area will be destroyed.

In accordance with the first aspect of the present invention, the editing device that is designed for editing a data file recorded in the nonvolatile storage device, to segment a single data file, which is consistently reproduced in the form of data blocks, each of which has a predetermined length, and this non-volatile memory device has a data area that is used for recording each block together with the file attribute having a predetermined length, and a control region, designed to record the control data required to control the data file recorded in the data area contains the operating tool to select the two data files, recorded in a data region for performing the process of combining two selected data file sharing tool that is designed to separate the file attribute from the set of the last data file of the selected two data files, the editing tool designed for editing management data recorded in the control area by establishing a logical connection between the two data files and edit the file attribute, which is added to the located first data file wybran the x two data files, and recorder designed for recording management data edited using the editing tools in the management area and recording file attribute added to located the first data file in the data area.

In accordance with the second aspect of the present invention, the editing device that is designed for editing a data file recorded in non-volatile memory device for segmenting a single data file, which is consistently reproduced in the form of blocks, each of which has a predetermined data length, and this non-volatile memory device has a data area that is used for recording each block together with the file attribute having a predetermined length, and a control region, designed to record the control data used to control a data file recorded in the data area contains an operational tool designed to set the split point specific data file recorded in the data area, the editing tool designed for editing added file attribute and the control data, in accordance with the point of separation of the data file, the installed operating means, the generating tool, designed the TES to generate the file attribute data, following the split point, which installed operating means, and a recorder designed for recording management data edited using the editing tools in the management area and recording file attribute added to comes before the split point to the data file in the data area.

BRIEF DESCRIPTION of DRAWINGS

Figure 1 depicts a block diagram of the structure of the digital recording/reproducing sound device that uses non-volatile storage device of the card type in accordance with the present invention;

Figure 2 - block diagram of the internal structure of the DSP 30 in accordance with the present invention;

Figure 3 is a block diagram of the internal structure of the storage device 40 of the card type in accordance with the present invention;

4 is a diagram of the structure of the file management storage device of the card type used as a medium of information storage in accordance with the present invention;

5 is a block diagram of the physical structure of the data in the flash memory 42 of the storage device 40 of the card type in accordance with the present invention;

6 is a data structure of the storage device 40 of the card type in accordance with the present invention;

Fig.7. scheme of the hierarchy of the file structure in the storage device 40 t the PA card;

Fig diagram of the data structure of the file PBLIST.MSF control playback, which is a subdirectory recorded in the storage device 40 of the card type;

Fig.9 is a diagram of a data structure in the case where one file ATRAC3 data is divided into blocks with a predetermined length, and added to it the files attribute.

Figa diagram of the structure of the files before editing using the process of combining;

Figv diagram of the structure of the files after editing using the process of combining;

Figs diagram of the structure of the files after editing using the separation process;

11 is a diagram of a data structure of the file PBLIS control playback;

Figa diagram of the data structure of the header file PBLIST control playback;

Figv diagram of the data structure of the basic data file PBLIST control playback;

Figs diagram of the data structure portion of the data of the additional information file PBLIST control playback;

Fig - table, which presents the correlation data types for more information and value codes;

Fig - table, which presents the correlation data types for more information and value codes;

Fig - table, which presents the correlation data types for more information ovalicin codes;

Figa diagram of the data structure of additional information;

Figv diagram of the data structure when the data of additional information are the name of the artist;

Figs diagram of the data structure when the data of the additional information are code copyright.

Fig.16D diagram of the data structure when the data of the additional information is information about the date/time;

File diagram of the data structure when the data of additional information are the minutes of playback;

Fig diagram of the detailed data structure of the ATRAC3 data file;

Fig diagram of the data structure of the upper part of the header of the attribute that contains the ATRAC3 data file.

Fig diagram of the data structure of the middle part of the title attribute, which is the ATRAC3 data file;

Fig - table, which presents the correlation of the recording mode, recording time, etc.;

Fig table representing the state of the control copy;

Fig diagram of the data structure of the lower part of the title attribute, which is part of the ATRAC3 data file;

Fig diagram of the data structure of the header of the data block of the ATRAC3 data file;

Figa - 24C - algorithms, representing a recovery method in accordance with the present invention, when the destruction of the region is t TRF;

Fig diagram of the structure of the file in the storage device 40 of the card type in accordance with a second alternative embodiment of the present invention;

Fig is a diagram showing the relationship between a file TRKLIST.MSF management information and file A3Dnnnnn.MSA ATRAC3 data;

Fig diagram of the detailed structure of the data file TRKLIST.MSF information management music;

Fig diagram of the detailed structure of the data file NAME1, intended to control the name;

Fig diagram of the detailed structure of the data file NAME2, intended to control the name;

Fig diagram of the detailed structure of the data file A3Dnnnnn.MSA ATRAC3 data;

Fig diagram of the detailed structure of the data file INFLIST.MSF, which represents additional information;

Fig diagram of the detailed structure of the data file INFLIST.MSF, which represents the data of the additional information;

Fig algorithm, representing a recovery method in accordance with a second alternative embodiment of the present invention in the case where the scope of the TRF was destroyed;

Fig diagram of a memory card, intended to clarify the transition data in the process of combining intended for combining specific files in the structure of the memory card (see Fig.6) in accordance with the first variant embodiment;

Figa diagram of the memory card before two files were with kombinirovannyy;

Figv diagram of the memory card after the two files were combined;

Fig algorithm to explain the process of combining in accordance with a first variant embodiment of the present invention;

Fig diagram of a memory card, intended to clarify the movement of data in the separation process designed to separate specific programs in the structure of the memory card (see Fig.6), in accordance with the first variant embodiment of the present invention;

Figa diagram of the memory card before a specific program was combined

Figv diagram of a memory card after a specific program was combined;

Fig algorithm to explain the separation process in accordance with the first variant embodiment of the present invention;

Fig algorithm to explain the process of combining in accordance with a second alternative embodiment of the present invention;

Fig. algorithm to explain the separation process in accordance with a second alternative embodiment of the present invention;

Figa diagram of a control method for one part of the U-TOC (table of Contents User), designed to control the fields that can be recorded, distributed on a conventional magneto-optical disk;

Figv diagram of a control method for a part, kombinirovannoi in accordance with part depicted on figa;

F IGS diagram of a control method for parts, combined in accordance with part shown on FIGU;

Fig.42D diagram of a control method for parts, combined in accordance with part shown on figs; and

File diagram of a control method for parts, combined in accordance with part shown on fig.42D.

A DETAILED description of the PREFERRED OPTIONS of the INCARNATION

Next will be described a variant embodiment of the present invention. Figure 1 presents a block diagram depicting the structure of a digital recording/reproducing device using the storage device of the card type in accordance with one alternative embodiment of the present invention. Digital recording/reproducing device records and reproduces a digital audio signal using a detachable storage device of the card type. In fact, the recording/reproducing device is an audio system that contains a power amplifier, loudspeaker, CD player, recorder magnetic disk, tuner, etc. However, it should be noted that the present invention can be applied in other types of sound recording devices. In other words, the present invention can be applied is about being with a portable recording/reproducing device. In addition, the present invention can be used with a set of equipment that records the digital audio data that is transmitted via a satellite communication channel, the digital broadcast station or the Internet. In addition, the present invention can be applied to the system, which records/reproduces not only audio data but also data of moving and still images. A system in accordance with this alternative embodiment of the present invention can record and reproduce additional information, such as image or text that is not related to digital audio.

The recording/reproducing device has an encoding/decoding chip 10, the chip 20 security, DSP (Digital Signal Processor) 30. Each of these devices presents a single chip. The recording/reproducing device has a detachable storage device 40 of the card type. The storage device 40 of the card type is a single chip and includes a flash memory (nonvolatile memory), a memory management unit and the security block. The security block is a coding scheme according to the standard ACS (DES) (data encryption Standard). According to this variant embodiment of the recording/reproducing device instead of the DSP 30 can IP olsavica microcomputer.

Encoding/decoding chip 10 has an audio interface 11, and the encoding/decoding unit 12. Encoding/decoding unit 12 encodes the digital audio data in accordance with the high-efficiency encoding method, and writes the encoded data in the storage device 40 of the card type. In addition, the encoding/decoding unit 12 decodes the encoded data that is read from the storage device 40 of the card type. As a high-efficiency encoding format ATRAC3, which is a modified format ATRAC (Adaptive converts acoustic coding), which is used in the mini-disks.

In ATRAC3 format audio data, a sample of which is produced with a frequency of 44.1 kHz and divided into groups of 16 bits, are encoded with high efficiency. In ATRAC3 format minimum processed audio module is a sound module SM (SU). One ZM represents data in which data of 1024 samples (1024×16 bit × 2 channel) is compressed to data of several hundred bytes. The duration of a single SM is approximately 23 milliseconds. When high-efficiency encoding method, the volume of the audio data is compressed to a data volume of approximately 10 times smaller than the original data. As in the case of format ATRAC1, ispolzuemuyu mini-disks, the audio signal is compressed and then converted in the source view, in accordance with the ATRAC3 format, to a lesser extent affects the quality of sound reproduction.

Input selector 13 lines selectively delivers the output signal of the playback of mini disc, the output signal of the tuner, or the output signal of the playback of the tape on the a/d Converter 14. A/d Converter 14 converts the input signal into a digital audio signal (sampling rate = 44.1 kHz; number of bits in the group split 16). Digital input selector 16 selectively delivers the digital output signal MD, KD or CS satellite Digital Broadcasting) digital input receiver 17. The digital input signal is transmitted through, for example, an optical cable. The output signal of the digital input receiver 17 is supplied to the inverter 15 speed sampling. The Converter 15 speed sampling converts a digital input signal into a digital audio signal (sampling rate = 44.1 kHz; number of bits in the group split 16).

Encoding/decoding unit 12 audio coding, decoding chip 10 delivers the encoded data in scheme 22 encoding ACS via the interface 21 of the chip 20. Scheme 22 encoding ACS has PPPO (FIFO) 23 (scheme of information processing, working on the principle: first come the information maintained in the first place). Scheme 22 kodirovanija included so she protects the copyrights of the content. The storage device 40 of the card type also has encoding scheme ACS. Scheme 22 encoding CDS recording/reproducing device contains many of the major codes and unique for this device code savings. Scheme 22 encoding ACS also has a scheme to generate random numbers. Scheme 22 encoding ACS 22 may, together with the storage device 40 of the card type, which has encoding scheme ACS, perform the process of identification and processing session key (cryptographic key that is valid only in a single processing session information). In addition, the circuit 22 encoding ACS can re-encode the data using the key accumulation coding scheme ACS.

The encoded audio data output circuit 22 encoding ACS served in the PDB (Digital Signal Processor) 30. PDB 30 is connected with the storage device 40 of the card type through the interface. In this example, the storage device 40 of the card type is attached to the mechanism to attach/detach (not shown) of the recording/reproducing device. PDB 30 writes the encoded data in the flash memory storage device 40 of the card type. The encoded data is sequentially transferred between the DSP 30 and storage device 40 of the card type. In addition to the, external POPS (SRAM) (Static random access memory) 31 is attached to the DSP 30. The POPS 31 recording/reproducing device has sufficient storage capacity required for operating the memory device 40 of the card type.

Bus interface 32 is connected to the DSP 30. The data is served from an external controller (not shown) in the DSP 30 through the bus 33. The external controller controls all operations of the audio system. The external controller takes the data, such as a write command or a command to reproduce, which are produced in accordance with the actions of the user using the operating part in the DSP 30 through the bus interface 32. In addition, the external controller supplies additional information such as image information, and information in the form of symbols on the DSP 30 through the bus interface 32. Bus 33 is a bidirectional communication channel. Additional information that is read from the storage device 40 of the card type, is fed to the external controller via the DSP 30, the bus interface 32 and the bus 33. In practice, the external controller is located, for example, in the power amplifier of the audio system. In addition, the external controller gives a command on the part of the display to display the additional information, the state of the operation mode of the recording device, etc. Used one total net assets the TB display for the whole system. As data is exchanged via the bus 33, the data are not copyrighted, they are not encoded.

The encoded audio data read from the storage device 40 of the card type through the LTP 30, decoded in the chip 20 security. The audio coding/decoding unit 10 decodes the encoded data corresponding to the ATRAC3 format. Output audio data encoding/decoding device 10 is served in the d/a Converter 18. D/a Converter 18 converts the output of the audio encoding/decoding device 10 to an analog signal. The analog audio signal is supplied to the output 19 of the linear output.

The analog audio signal is supplied to a power amplifier (not shown) via the output 19 of the linear output. Analog audio signals are reproduced through the loudspeaker or headphones. The external controller sends a signal mute on d/a Converter 18. When the signal mute is set to activate mute, external controller disables the audio output from the output 19 of the linear output.

Figure 2 is a block diagram depicting the internal structure of the DSP 30. Shown in figure 2 LTP 30 contains a Central unit 34, a flash memory 35, 36 POPS, the bus interface 37, an interface 38 remember what its device type card and bridges between the tires. DSP 30 performs the same function as that of the microcomputer. The Central unit 34 is equivalent to the CPU. In the flash memory 35 stores a program that allows the DSP 30 to perform predetermined processes. The POPS 36 and external POPS 31 are also used as RAM in the recording/reproducing device.

LTP 30 controls the recording process for recording the encoded audio data and additional information in the storage device 40 of the card type corresponding to the operational signal, such as a write command received by the interfaces of the bus 32 and 37, and a reading process for reading them with him. In other words, the DSP 30 is located between side software applications, audio system, which performs recording/reproduction of audio data and additional information and storage device 40 of the card type. LTP 30 works when accessing a storage device 40 of the card type. In addition, the LTP 30 operates in accordance with software such as file system.

LTP 30 manages the files stored in the storage device 40 of the card type, using a system with TRF, which is used in conventional personal computers. In addition, the file system in accordance with this alternative embodiment of the present invention uses the control file. Management is managing the file will be described below. The control file is used to manage data files recorded in the storage device 40 of the card type. The control file as the first management information file used for managing audio data files. On the other hand, TRF, as the second management information file used for managing all the files, including the audio data files and control files recorded in the flash memory storage device 40 of the card type. Managing a file recorded in the storage device 40 of the card type. TRF recorded in the flash memory together with the root directory and so on, before the storage device 40 of the card type will be sent to the user. The structure of TRF will be described in detail below.

In accordance with this alternative embodiment of the present invention to copyright protection in relation to data encoding audio data that has been compressed in accordance with the ATRAC3 format. On the other hand, as there is no need to protect the copyrights of the control file, it is not encoded. There are two types of storage device of the card type, which represent the type of coding and type without coding. When this storage device of the card type that is used with the recording/reproducing device, in which zapisywanie, copyrighted, is not limited to the encoding type.

Data, voice and image data which are written by users are recorded in a storage device of the card type without encoding.

Figure 3 is a block diagram depicting the internal structure of the storage device 40 of the card type. The storage device 40 of the card type contains the block 41 control and flash memory 42, which are made in the form of one chip. Bidirectional serial interface is located between the DSP 30 of the recording/reproducing device and storage device 40 of the card type. Bidirectional serial interface contains ten lines, which represent the SCK line synchronization intended to send a synchronization signal, which is transmitted together with the data line SBS status, designed to send a signal that represents the status line DIO data intended for data transmission, line INT interrupt, two lines GND ground, two lines INT and two back-line.

The SCK line synchronization is used to transmit a clock signal synchronous with the data. Line SBS status is used to transmit a signal that represents the status of the storage device 40 of the card type. Line DIO data is used to enter Ivywood commands and encoded audio data. The line INT interrupt is used to transmit an interrupt signal that causes the memory device 40 of the card type to interrupt the operation of the DSP 30 of the recording/reproducing device. When the storage device 40 of the card type is attached to the recording/reproducing device, the storage device 40 type card generates an interrupt signal. However, in accordance with this alternative embodiment of the present invention, since the interrupt signal is transmitted through line DIO data line INT interrupt grounded.

Unit 43 sequentially/parallel conversion, parallel/serial conversion and interface (S/P, P/S, I/F block) is an interface located between the DSP 30 of the recording/reproducing device and the control unit 41 of the storage device 40 of the card type. Block 43 S/P, P/S and IF converts serial data received from the DSP 30 of the recording/reproducing device, in the parallel data, and transmits the parallel data to the block 41 of the control. In addition, the block 43 S/P, P/S, and IF converts parallel data received from the control unit 41, into serial data and transmits the serial data in the DSP 30. When the block 43 S/P, P/S and IF accepts the command and data through the line DIO data block 43 S/P, P/S and I/F divides them into the data, who have normal access to the flash memory 42 and those that are encoded.

Data is transmitted in the format in which data is transmitted through the line DIO data, after the supplied command. Block 43 S/P, P/S and determine IF the command code and determines whether the command and data as to which is the normal access or encoded data. In accordance with the obtained result, the block 43 S/P, P/S and IF records team, which has normal access to the register 44 commands, and writes the data, which have normal access to the buffer 45 of the page, and register 46 entries. The storage device 40 of the card type has the schema:47 error correction code associated with the register 46 entries. Scheme 47 encoding error correction code, and generates a redundant code, which is an error correction code for the data temporarily recorded in the buffer 45 of the page.

The output of the command register 44, the buffer 45 page 45, register 46 entries and schema 47 encoding error correction code, are served at the interface of the flash memory means 51 ordering (hereinafter, referred to as the interface I/F memory and a means of ordering). The interface I/F memory and a means of ordering 51 represent the interface located between the block 41 and control the flash memory 42 and manages the data exchanged is proishodit between them. Data is written to the flash memory via the interface I/F memory and a means of ordering 51.

Audio data that has been compressed in accordance with the ATRAC3 format and recorded in the flash memory (hereinafter, this audio data is referred to as ATRAC3 data), encoded in the chip 20 security recording/reproducing device and the block 52 security storage device 40 of the card type, in order to protect the copyrights ATRAC3 data. Block 52 security contains the buffer memory 53, scheme 54 encoding ACS and non-volatile memory 55. The block 52 of the storage device 40 of the card type has many identification keys and unique key record for each storage device of the card type. In the nonvolatile memory 55 recorded the key needed to encode the data. The key is recorded in the nonvolatile memory 55, could not be parsed. In accordance with this alternative embodiment, for example, a recording key is stored in non-volatile memory 55. Block 52 also has a scheme to generate random numbers. Block 52 security checks the validity of the corresponding recording/reproducing device and shares the session key. In addition, the block 52 security re-encodes the content using the key entry through the circuit 54 CDSS encoding.

For example, the R, when the storage device 40 of the card type is attached to the recording/reproducing device, is a joint test for authenticity. Is mutual verification of the authenticity of the chip 20 security recording/reproducing device and block 52 security storage device 40 of the card type. After the recording/reproducing device determines attached storage device 40 of the card type as applicable storage device 40 of the card type, and the storage device 40 of the card type will determine the recording/reproducing device as applicable recording/reproducing device, they will be mutually authenticated. After the process of mutual verification of authenticity is successfully performed, the recording/reproducing device and the storage device 40 of the card type to produce the corresponding session keys and exchanged them with each other. Whenever recording/reproducing device and the storage device 40 of the card type determine the authenticity of each other, they produce the appropriate session keys.

When data is written to the storage device 40 of the card type recording/reproducing device encodes the data key using encouage key and transmits the encoded data in the storage device 40 of the card type. The storage device 40 type card decodes the data key using the session key, re-encrypts the key data using the record key and transmits the key data recording/reproducing device. The write key is a unique key for each storage device 40 of the card type. When the recording/reproducing device receives the encoded key data recording/reproducing device performs a formatting process for the encrypted data key, and writes the encoded key data and the encoded data in a recording/reproducing device 40 of the card type.

In the above section described the process of recording in the storage device 40 of the card type. In the following description, will be described the process of reading from the storage device 40 of the card type. Data that is read from the flash memory 42, served in a buffer of 45 pages, register 48 read and circuit 49 error correction via the memory interface and tool ordering 51. Scheme 49 error correction corrects errors in the data written into the buffer 45 of the page. The output buffer 45 pages, which were corrected errors, and the output of the register 48 is read, served on the block 43 S/P, P/S and I/F. the Output of block 43 S/P, P/S and I/F served on the LTP 30, zapisyvaus the o/reproducing unit through the above-described serial interface.

When data is read from the storage device 40 of the card type, the key data is encoded using the record key, and the content encoded using the key block is read from the flash memory 42. Block 52 security decodes the data key using the key of the record. Block 52 security re-encodes the decoded key content using the session key and transmits the re-encoded key content in the recording/reproducing device. The recording/reproducing device decodes the key content, using the received session key and generates a block key by using the encrypted key for the content. The recording/reproducing device sequentially decodes the encoded data ATRAC3.

The ROM 50 configuration is a storage device that stores information about chapters, various types of information attributes, etc. of the storage device 40 of the card type.

The storage device 40 of the card type also has a switch 60 write protection. When the switch 60 is in the position of protection from abrasion, even if the command that causes the storage device 40 type card to erase the data recorded in the flash memory 42, is supplied from the recording/play the leading devices on the storage device 40 of the card type, for the storage device 40 of the card type will not be allowed to erase data written in the flash memory 42. The counter 61 of the generator is a generator that generates the clock that is used to synchronize processes in the storage device 40 of the card type.

Figure 4 is a block diagram depicting the hierarchy of processes in the file system of a computer system that uses the storage device 40 of the card type as environment entries. In this hierarchy, the top level is a layer of application. After layer the application layer should file management layer management logical address, control layer physical address and a layer of access to the flash memory. In the above hierarchical structure, the layer control file is a system file TRF. Physical addresses are assigned to individual blocks of the flash memory. The relationship between the blocks of the flash memory and its physical address is not changed. Logical addresses are addresses that are logically processed at the process level control files.

Figure 5 shows a block diagram representing the physical structure of data processed in the flash memory 42 of the storage device 40 of the card type. In memory 42, the data module (denoted as segment) section is aetsa on a predetermined number of blocks (fixed length). One block is divided into a predetermined number of pages (of fixed length). In the flash memory data is erased in each block simultaneously. Data is written to the flash memory 42 and read it page by page. The size of each block is the same. Similarly, the size of each page is the same. One block consists of pages from page 0 to page m. One unit has the capacity of recording component, for example, 8 KB or 16 KB. One page has a recording capacity of 512 B (bytes). When one unit has a recording capacity of 8 KB, the total recording capacity of the flash memory 42 is 4 MB (512 blocks) or 8 MB (1024 block). When one unit has a recording capacity of 16 KB, the total recording capacity of the flash memory 42 is equal to 16 MB (1024 blocks), 32 MB (2048 blocks) or 64 MB (4096 blocks).

One page consists of pieces of data of 512 bytes and a redundant part of size 16 bytes. The first three bytes of redundant parts are part of the rewrite, which is overwritten each time the data is updated. The first three bytes consistently contain the status area of the block, the status area of the page and status updates. The remaining 13 bytes of redundant parts are fixed data, which depend on the content portion of the data. These 13 bytes contain the area control flag (1 byte), the region of the logical address (2 bytes), the area of the reserve is armata (5 bytes) region allocation information KIO (2 bytes), and the data area KIO (3 bytes). Region allocation information KIO contains redundant data for a process of error correction conducted in the field of the control flag, the field of the logical address and the area of the reserve format. The data area KIO contains redundant data for a process of error correction carried out in relation to 512 bytes of data.

Area control flag contains the system flag (1: block user 0: boot block), flag conversion table (1: invalid 0: block of the table), the flag of the prohibition of copying (1: enable, 0: not permitted) and the permission flag access (1:free access, 0: protection from reading).

The first two block - blocks 0 and 1, represent the boot blocks. Block 1 represents a backup copy of the block 0. The boot blocks are the top valid blocks in the storage device of the card type. When a storage device of the card type is attached to the recording/reproducing device, the first access to the boot blocks. The remaining blocks represent blocks of the user. Page 0 boot block contains a header area, the area of the logon and boot information and attribute. Page 1 boot block contains the data the Smoking unit. Page 2 boot block contains the scope of the CLAIM/I & d (CIS/IDI) (Information Structure of the Card/Identification Information of the Driver).

The header area of the boot block contains the ID of the boot block and the number of valid inputs. The system inputs are the initial position of the data blocks, the size of their data, their data type, the initial position of the data field of the CLAIM/IRD, the size of their data and their data type. Download information and attribute contains the type of the storage device of the card type (the type to read-only, type overwrite or hybrid type), block size, number of blocks, the total number of blocks, protected/unprotected type, date of manufacture of the card (date of manufacture), etc.

Since flash memory has a limit on the number of times of rewriting because of deterioration of the insulating film, it is necessary to protect some of the recording area (blocks) from too frequent access to them. Thus, when the overwritten data in a particular logical address is recorded in a specific physical address, the updated data of the specific block is recorded in an unused block, and not in the original block. Thus, after updating the data, the relationship between the logical address and physical address changes. This process is called stroke. sledovatelno, the same unit is protected against excessive number of accesses. Thus, the service life of the flash memory may be increased.

The logical address associated with data stored in the block. Even if the block with the original data is different from the block with the updated data, the address in the TRF does not change. Thus can be implemented in the right access to the same data. However, what is the process changes required conversion table which provides a correlation between logical addresses and physical addresses (this table is referred to as the conversion table of the logical-physical address). Thanks to the reference to the conversion table of the logical-physical address obtained physical address corresponding to the logical address designated in TRF. Thus, it can be accessed in the block with the specified physical address.

LTP 30 records the conversion table of the logical-physical address in the POPS. When the recording capacity of RAM is small, the conversion table of the logical-physical address can be written in the flash memory. In the conversion table of the logical-physical address correlation is logical addresses (2 bytes), sorted in ascending order, with the physical address (2 bytes). Since the maximum recording capacity is lash memory is 128 MB (8192 blocks), two bytes can be assigned 8192 addresses. Conversion table of the logical-physical address managed by each segment. Thus, the size of the conversion table of the logical-physical address proportional to the recording capacity of the flash memory. When the recording capacity of the flash memory 8 MB (two segments), two pages are used as the conversion table of the logical-physical address for each of the segments. When the conversion table is written to flash memory, one predefined bit of the field control flag in the redundant part of each page is, or is not current block is the block that contains the conversion table of the logical-physical address.

The above-described storage device of the card type can be used with the file system TRF in the system of the personal computer as the recording medium in the form of a disk. Flash memory has a region IPL, the TRF area and the area of the root (figure 5 are not shown). Region IPL contains the address of the program, which must be initially loaded into memory recording/reproducing device. In addition, the region of the IPL contains various types of information in memory. Region TRF contains information related to the blocks (clusters). TRF determines unused blocks following the block number, the defective blocks, the last block number. The area of the root directory contains the directory entries that represent the attribute file, date [day, month, year] update, file size, etc.

Next, with reference to Fig.6, will be considered the control method using the table TRF.

6 is a diagram depicting a memory card. The upper region of the memory card is a part of the partition table. After part of the partition table should block scope, boot sector, region TRF, area backup TRF, the area of the root directory, the area of the subdirectory and the data area. Memory card logical addresses are converted into physical addresses corresponding to the conversion table of the logical-physical address.

The boot sector, region TRF, area backup TRF, the area of the root directory, the area of the subdirectory and the data area reference area sections TRF.

Part of the partition table contains the start addresses and end addresses of the area sections TRF.

TRF used for conventional flexible magnetic disk, contains no such partition table. Since the first entry has only the partition table, there is a blank area. The boot sector contains the size of the structure TRF (12-TRF bit or 16-bit TRF), the cluster size and the size of each area. TRF uses the La control the position of the file recorded in the data area. Region copy of the TRF is an area backup TRF. The area of the root directory contains the file names, the addresses of their initial clusters and their various attributes. The area of the root directory uses 32 bytes for each file.

Region subdirectory is obtained by using the file attribute of the directory that is stored as a directory. In the variant embodiment shown in Fig.6, the region has four subdirectories of the file with name PBLIST.MSF, CAT.MSF, DOG.MSF and MAN.MFA. Region subdirectory is used to manage the file names and the recording position in TRF. In other words, the segment of the file with name CAT.MSF is assigned the address "10" in TRF. The segment of the file with name DOG.MSF is assigned the address "10" in TRF. After cluster 2 is used as the data region. In this variant embodiment of the recorded audio data that has been compressed in accordance with the ATRAC3 format. The upper segment of the file with name MAN.MSA, is assigned the address "110" in TRF. In accordance with this alternative embodiment of the present invention, the audio data file name CAT.MSF recorded in the cluster from 5 to 8. Audio data is DOG-1, as the first half of the file with the file name DOG.MSF are recorded in the clusters from 10 to 12. Audio data is DOG-2, as the second half of the file with the file name DOG.MSF, are recorded in the cluster 100 and 101. The audio data named MAN.MSF recorded in the clusters 110 and 111.

In this variant embodiment of the present invention, described is an example in which a single file is divided into two parts and distributed is recorded. In this variant embodiment, the area of "empty" in the data area is an area in which it is possible to carry out recording. After the cluster 200 is used to manage the file names. File CAT.MSF is recorded in the cluster 200. File DOG.MSF is recorded in the cluster 201. File MAN.MSF is recorded in the cluster 202. When the file is changed after the cluster 200 programmirovaniya. When attached storage device in the form of a card, the scope of sections at the beginning and end TRF recorded in the upper part of the partition table. After you played the part of a boot sector that plays region of the root directory and subdirectories. Defines the segment information, the playback control PBLIST.MSF in the field of subdirectories. Thus, it turns out the address of the end of the file segment PBLIST.MSF. In this variant embodiment, since the address "200" is written at the end of the file PBLIST.MSF, is a reference to the cluster 200.

After the cluster 200 is used to control the order of playback. In this variant embodiment, the file CAT.MSA represents the first program. File DOG.MSA represents the second the program. File MAN.MSA is the third program. After you have made reference to the area after the cluster 200, reference is made to the segment files CAT.MSA, DOG.MSA and MAN.MSA. Figure 6 the end of the file segment CAT.MSA is assigned the address "5". The end of the file segment DOG.MSA is assigned the address "10". The end of the file segment MAN.MSA is assigned the address "110". When TRF search address input from the address "5", so the address "6" of the cluster. When TRF search address input from the address "5", so the address "7" of the cluster. When TRF search address input from the address "8", the result code "FFF", which indicates the end. Thus, the file CAT.MSA uses clusters 5, 6, 7 and 8. With links to clusters 5, 6, 7 and 8 in the data region can be made the data access ATRAC3 file name CAT.MSA.

Next will be described the way a file search DOG.MSF, which was distributed recorded in different places. The end of the file segment DOG.MSA is assigned the address "10". When TRF search address input from the address "10", so the address "11" of the cluster. When TRF search address input with reference to the address "11", so the address "12" cluster. When TRF search address input with reference to the address "12", so the address "101" of the cluster.

When is the link to the address "101", the result code "FFF", which indicates the end. Thus, f is Le DOG.MSF uses clusters of 10, 11, 12, 100 and 101. When you link to clusters 10, 11 and 12, can be made access to the first part of the ATRAC3 data file DOG.MSF. When you link to the cluster 100 and 101 may be made access to the second part of the ATRAC3 data file DOG.MSF. In addition, when TRF search address input from the address "110", so the address "101" of the cluster. When you search for address "111"sign in TRF with the address "101", the result code "FFF", which represents the end. Thus, it is obvious that in the file MAN.MSA used clusters 110 and 111. As described above, the data files that are distributed in different locations of the flash memory can be connected and consistently reproduced.

In accordance with this alternative embodiment of the present invention, in addition to the file management system defined in the format of the storage device 40 of the card type, for control of music recordings and music files in the control file. The control file is written to the block of user flash memory 42 of the storage device 40 of the card type. Thus, as will be described below, even if TRF storage device 40 of the card type will be destroyed, the file can be restored.

The control file is produced by the DSP 30. When the power of the recording/reproducing device is activated, the DSP 30 determines the was or not the storage device 40 of the type of card connected to the recording/reproducing device. If the storage device 40 type card attached DSP 30 performs authentication of the storage device 40 of the card type. When the DSP 30 performs a successful authentication of the storage device 40 of the card type, the DSP 30 reads the boot block flash memory 42. Thus, the DSP 30 reads the conversion table of the physical-logical address, and writes the read data into the POPS. TRF and the root directory is recorded in the flash memory storage device 40 of the type of the card before the card 40 has been released. When data is written to the storage device 40 of the card type, the generated control file.

In other words, the write command generated by the remote controller of the user or similar device, is served in the DSP 30 to the external controller via the bus and the bus interface 32. Encoding/decoding chip 10 compresses the received audio data and supplies the resulting data ATRAC3 on the chip 20 security. The chip 20 security decrypts the data ATRAC3. Decrypted ATRAC3 data recorded in the flash memory 42 of the storage device 40 of the card type. After that TRF and control files are updated. Whenever the file is updated (in fact, whenever the process of recording sound which data ends), TRF and control files recorded in the POPS 31 and 36 are overwritten. When the storage device 40 type of card is disconnected, or when the power of the recording/reproducing device is turned off TRF and control file that conclusion come from the POPS 31 and 36 and stored in flash memory 42. Alternatively, whenever the process of recording the audio data is completed, TRF and managing a file recorded in the flash memory 42 may be overwritten. When you are editing audio data, contents of the control file is updated.

In the data structure, in accordance with this alternative embodiment, additional information is contained in the control file. Additional information is updated and recorded in the flash memory 42. In another data structure of the management file, in addition to the control file, the music, produced for more information managing the file. Additional information is supplied from the external controller in the DSP 30 through the bus and the bus interface 32. Additional information is written in the flash memory 42 of the storage device 40 of the card type. As additional information is not supplied to the chip 20 security, it is not encrypted. When the storage device 40 type of card is detached from the recording/reproducing the disorder, or when the power is turned off, additional information is written from the POPS LTP 30 in the flash memory 42.

7 is a diagram depicting the structure of the files in the storage device 40 of the card type. In this file there is a directory of still images and a directory of moving images, the directory voices, directory management and music (HIFI) directory. In accordance with this alternative embodiment, is recorded and reproduced music. Next will be described the music directory. Music directory contains two types of files. The first type is a file BLIST.MSF playback control (hereinafter referred to as PBLIST). Another type is a file A3Dnnnn.MSA ATRAC3 data, which contains the encoded music data. In the music directory can be written to 400 ATRAC3 data files (namely, 400 music programs). The ATRAC3 data files registered in the file management and playback are generated in the recording/reproducing device.

Fig is a diagram depicting the structure of the file control playback. Figure 9 presents a diagram depicting the structure of the ATRAC3 data file. The control file playback is a file with a fixed length of 16 KB. The ATRAC3 data file sostoi the header attribute and region encoded music data for each music program. The attribute data have a fixed length of 16 KB. The structure of the title attribute is similar to the structure of the file control playback.

The control file playback depicted on Fig consists of a header, name NM-S storage device 40 of the card type (for single-byte code), name NM2-S (storage device of the card type for double-byte code), table sequence playback programs TRKTBL and additional information INF-S storage device of the card type. The header of the attribute (shown in Fig.9), located at the beginning of the data file consists of a header name NM1 program (for single-byte code), the name of the program NM2 (for double-byte code), information TRKINF music (such as information key music records), parts information PRTINF and additional information INF entries. The header contains information about the total number of parts, the attribute name, the amount of additional information, and so on

After the attribute data is followed by music ATRAC3 data. Every 16 KB music data is segmented into blocks. Each block begins with a header. The header contains the original value for decoding the encoded data. Coded music data of an ATRAC3 data file. Thus, other data, such as the control file is reproduced what I title etc. are not encoded.

Next, with reference to figa - 10C, describes the relationship between music programs and data files to ATRAC3. One account equivalent to one music program. In addition, one music program consists of one ATRAC3 data (see Fig.9). The ATRAC3 data file is an audio data that has been compressed in accordance with the ATRAC3 format. The ATRAC3 data file is written palastine in the storage device 40 of the card type. One cluster has a capacity of 16 KB. Many files are not contained in a single cluster. The minimum erasable unit information of the flash memory 42 is a single unit. In the case of the storage device 40 of the card type for the music data, the term block is a synonym of the cluster. In addition, one cluster is equivalent to one sector.

One music program mainly consists of one part. However, when a music program is edited, one music program may consist of multiple parts. The part is a block of data that is recorded sequentially. Usually one record consists of one part. The connection parts of the music program is managed by the information PRTINF part in the title attribute of each music program. In other words, the size of the part represented by the size PRTSIZE part (4 b is ITA) information PRTINF part. The first two bytes of size PRTSIZE parts represent the total number of clusters of the current part. The next two bytes represent the position of the beginning of the sound module (SM) and end of the audio module (SM), indicating the initial and final clusters, respectively. Hereinafter, the sound module is abbreviated as SM. With this designation of parts, when recorded music data, the transfer of music data can be suppressed. When the music data subjected to the editing unit, although their movement can be suppressed, editable unit is significantly larger than the edited module SM.

ZM is a minimal module part. In addition, ZM represents the minimum module data when the audio data is compressed in accordance with the ATRAC3 format. 1 ZM represents audio data in which data of 1024 samples at a frequency 44/1 kHz (1024×16 bit × 2 channel) is compressed in the data, which is approximately 10 times less space than the original data. Duration 1 ZM is about 23 msec. Usually one part consists of several thousand ZM. When one cluster consists of 42 ZM, one cluster allows to produce the sound for one second. The number of parts constituting one record depends on the size of the additional information. As the number of the number of parts is obtained by subtracting the header, the name of the program, additional data, etc. from one block, in the absence of additional information, can be used maximum number of parts (645 parts).

On figa presents a diagram depicting the structure of the files in the case when two music program CD-ROM or the like, are recorded sequentially. The first program (file) 1 is, for example, of the five clusters. As one group cannot contain two files of the first program and the second program file 2 starts from the beginning of the next group. Thus, the end of part 1, corresponding to the file 1 is in the middle of one cluster and the remaining area of the cluster does not contain any data. Similarly, the second music program (file) 2 consists of one part. In the case of file 1, the size of the portion is equal to 5. The first cluster starts in the 0-Ohm SM. The last cluster ends at 4-Ohm SM.

There are four types of editing processes, which represent the separation process, the process of combining, the erase process and the process of moving. The separation process is performed to separate the same music in two parts. When the separation process, the total number of musical recordings is incremented. In the process of splitting one file is divided into two files in the system file of the century Thus, in this case, the control file playback and TRF are updated. The process of combining is performed to combine the two music one music track. When the process of combining, the total number of musical recordings is decremented by one. In the process of combining two files are combined into one file in the file system. Thus, when the process of combining, the file control playback and TRF are updated. The erase process is performed to erase the music. The number of music recordings after erased music, decreases by one. The move process is performed to change the sequencing of musical recordings. Thus, when the erase process or the process of moving, the control file playback and TRF are updated.

Figv presents a diagram depicting the result of combining two programs (file 1 and file 2), depicted in figa. In the process of combining the combined file consists of two parts. On figs presents a diagram depicting the result of the division, with which 1 program (file 1) is divided in the middle of the cluster 2. The execution result of the separation process file 1 consists of CL is of firewood 0, 1, and the initial part of cluster 2. File 2 consists of the remaining part of the cluster 2 and cluster 3 and 4.

As described above, in accordance with this alternative embodiment of the present invention, since the designation of the part is defined as the combined result (see figv), the initial position of the part 1, the end position of the part 1 and the end portion of the part 2 can be defined in ZM. Thus, in order to shrink the size by using a combination, there is no need to move the music data part 2. In addition, in respect of the separation (see figs) there is no need to move data and to compress the space in the beginning of the file 2.

Figure 11 presents a diagram depicting a detailed structure of the data file PBLIST control playback. On figa and 12B shows a part of the header, and the remaining part of the file PBLIST control playback. The size of the file, the playback control is one cluster (one block = 16 KB). The size of the header shown on figa equal to 32 bytes. The rest of the file PBLIST control playback depicted on FIGU, contains the name NM1-S (256 bytes) (for a storage device of the card type), region name NM2-S (512 bytes), an area of key content area MAC, area S-YMAhms, the area of the table TRKTBL control sequence playback (800 Bai is), region INF-S additional information storage device of the card type (14720 bytes) and excess information area header. The initial position of these areas is defined in the control file playback.

The first 32 bytes (0×0000) to (0×0010 shown figa used to: header. In the file field size of 16-bytes are referred to as segments. On figa header is placed in the first and second segments. The header contains the following fields. The area designated as "reserve" is an undefined region. Usually in the reserved area recorded zero (0×00). However, even if any data will be recorded in the reserved area, the data recorded in the reserved area are ignored. In future versions of some of the reserved region may be used. In addition, in the reserved area is prohibited to write data. When the area to be used when needed, not used, it is considered as a reserved area.

= BLKID-TLO (4 bytes)

Means: the file ID BLOCKID

Function: Identifies the upper part of the control file playback.

Value: Fixed value = "TL = 0" (for example, 0×544C2D30)

= Mcode (2 bytes)

Value: MANUFACTURER CODE

Function: Identifies will make the La and the model of the recording/reproducing device

Value: Upper discharge 10 bits (manufacturer code);

the lower bit 6 bit (the model code).

= REVISION (4 bytes)

Value: the number of times of rewriting PBLIST

Function: Incremented whenever the control file playback is overwritten.

Value: starts at 0 and is incremented by 1.

= S-hms (4 bytes) (if necessary)

Value: Year, month, day, hour, minute, and second, the recorded recording/reproducing device using a reliable watch.

Function: Identifies the date and time of the last record.

Value: bits 25 to 31: Year 0 to 99 (1980-2079)

Bits 21 to 24 Months 0 to 12

Bits 16 to 20: Day 0 through 31

Bits 11 to 15: Hour 0 to 23

Bits 05 to 10: Minute 0 to 59

Bits 00 to 04: Seconds from 0 to 29 (interval value in two bits)

= SY1C + L (2 bytes)

Value: the Attribute name (single-byte) code storage device of the card type recorded in the field NM1-S.

Function: Represents the character encoding and the encoding of language in the form of byte code.

Value: code characters: one byte higher discharge

00: Noncharacter code, binary number

01: ASCII (American standard code for information interchange)

02: ASCII + KANA

03: modified 8859-1

81: MS - JIS

82: KS With 5601-1989

83: GB (United Kingdom) 2312-80

90: S-JIS (Japanese industrial standard) (for g is Loos)

code (L) language: one byte low-order

identifies the language based on the standard EBU Tech 3258

00: Not installed

08: German

09: English

OA: Spanish

OF: French

15: Italian

1D: Dutch

65: Korean

69: Japanese

75: Chinese

When data is not recorded in this region recorded 0.

= SN2C + L (2 bytes)

Value: the name Attribute of the storage device of the card type in the field NM2-S.

Function: Represents the character encoding and language encoded byte code.

Value: as well as for SN1C + L

= SINFSIZE (2 bytes)

Value: the Total size of the additional information storage device of the card type in the field of INF-S.

Function: Represents the data size of the increment is 16 bytes. When data is not recorded, in this whole field is written to 0.

Size: Size: 0×0001 to 0×39C (924)

= T-TRK (2 bytes)

Value: the Total number of music

Function: Represents the total number of records.

Value: from 1 to 0×0190 (maximum 400 music records)

When data is written, in all this region recorded 0.

= VerNo (2 bytes)

Meaning: the version number of Format

Function: Represents the major version number (one byte upper digits) and the number of minor versions (one byte of lower rank).

p> Value: 0×0100 (Version 1.0)

0×0203 (Version 2.3)

Hereinafter will be described in the field (see figv)that follow the header.

= NM1-S

Value: the Name of the storage device of the card type (either single-byte code)

Function: Represents the name of the storage device of the card type in the form of single-byte code (maximum value : 256). At the end of this area code is written (0×00) end. The size is calculated based on the code end. When data is not recorded, zero (0×00) is recorded from the beginning (0×0020) this area, at least one byte.

Value: Various code symbols

= NM2-S

Value: the Name of the storage device of the card type (as byte code)

Function: Represents the name of the storage device of the card type as byte code (maximum value : 512). At the end of this area code is written (0×00) end. The size is calculated based on the code end. When data is not written to zero (0×00) is recorded from the beginning (0×0120) this area, at least two bytes.

Value: Various code symbols

= CONTENTS KEY

Value: the Value for the music program. Protected with MD(M) and recorded. As well as CONTENTS KEY.

Function: Used as a key to compute the MAC in S-YMAhms.

Value: from 0 to 0×FFFFFFFFFFFFFFF

= MAC

Value: the Value of check fraud information copyright protection

Function: Represents the value produced by the S-Yhms and CONTENTS KEY.

Value: from 0 to 0×FFFFFFFFFFFFFFFF

= TRK-nnn

Value: number SQN (sequence), playing ATRAC3 data file.

Function: Represents FNo TRKINF.

Value: from 1 to 400 (0×190)

When the music entry is missing, the whole area is filled with zeros.

= INF S

Value: for More information on a storage device of the card type (for example, information related photos, songs, consultants etc)

Function: provides additional information to the variable length header. Can be used with many types of additional information. Each of the types of additional information contains the ID and data size. Each area of additional information, including header, consists of at least 16 bytes and a multiple of 4 bytes. The details are described in the next section.

Value: see section "Data Structure for More Information.

= S-Yhms (4 bytes) (if necessary)

Value: Year, month, day, hour, minute, and second, the recorded recording/reproducing device using hours.

Function: Identifies the last recorded date and time. In SL the tea EMD this field is required.

Value: bits 25 to 31: Year 0 to 99 (from 1980 to 2079)

bits 21 to 24 Months 0 to 12

bits 16 to 24: Day 0 through 31

bits 11 to 15: Hour 0 to 23

bits 05 to 10: Minutes from 0 to 59

bits 00 to 04: Seconds from 0 to 29 (with an interval of two. seconds)

In the last segment of the file control playback recorded the same values BLKID-TL0, MCode, and REVISION, as in the header.

During the recording of data in a storage device of the card type, it may by mistake or accidentally be disconnected or the power supply of the recording/reproducing device can be switched off. In the event of such improper operation must be detected defect. As described above, the region REVISION is placed at the beginning and end of each block. Whenever data is written, the region of the REVISION is incremented. If the emergency stop recording occurs in the middle of a block, the value of the field REVISION at the beginning of the block will not match the value of the field REVISION at the end of the block.

Because of this, this trip can be detected. Because there are two areas of REVISION, abnormal termination can be detected with high probability. When an abnormal termination is detected, generates an alarm, such as an error message.

In addition, since the fixed value BLKI-TLO is written in the beginning of a block (16 KB) when TRF is destroyed, this fixed value is used as the reference for data recovery. In other words, when referring to this fixed value can be determined file type. As the fixed value BLKID-TLO is recorded as the excess value in the header portion and the end of each unit, can be provided with high reliability. Alternatively, the same control file playback can be written in the form of excess file.

The amount of data in the ATRAC3 data file is much larger than in the control file information music. In addition, as will be described later, the block number BLOCK SERIAL is added to the ATRAC3 data file. However, since the storage device of the card type written many ATRAC3 files, in order to avoid redundancy, are used as CONNUMO and BLOCK SERIAL. Otherwise, when TRF is destroyed, the file will be difficult to restore. In other words, one ATRAC3 data file can consist of multiple blocks, which are distributed in different places. To identify blocks of the same file is used CONNUMO. In addition, to identify the order of blocks in the ATRAC3 data file, used BLOCK SERIAL.

Similarly, manufacturer code (Mcode) redundantly recorded at the beginning and end of each block so that identificirebisatvis and model in the case when the file is correctly recorded in a state where TRF was not destroyed.

On figs presents a diagram depicting the data structure of additional information. Additional information consists of the following header and variable length data. The header contains the following fields.

= INF

Value: FIELD ID

Function: Represents the beginning of additional information (fixed value).

Value: 0×69

= ID

Value: key Code additional information

Function: Represents a category for more information.

Value: from 0 to 0×FF

= SIZE

Value: the size of the individual additional information

Function: Represents the size of each type of additional information. Although the data size is not limited, it should be at least 16 bytes and the value is a multiple of 4 bytes. The rest of the data should be filled with zeros (0×00).

Size: from 16 to 14784 (0×A)

= Mcode

Value: MAKER CODE

Function: Identifies the manufacturer and model of the recording/reproducing device.

Value: 10 bit upper order (manufacturer code), 10 bits of the lower order (machine code).

= + L

Value: the Attribute characters in the data area starts at byte 12.

Function: Represents the code symbols and the language code as a single-byte code.

Led is in: The same, as for the SNC + L

= DATA

Value: the Individual additional information

Function: Represents each type of additional information data of variable length. Valid data always starts at byte 12. The length (size) valid data must be at least 4 bytes and the value is a multiple of 4 bytes. The rest of the data area must be filled with zeros (0×00).

Value: Determined individually in accordance with the contents of each type of additional information.

Fig is a table in which the correlated value of the key code (from 0 to 63 for more information and their types. The value of the key code (0 to 31) are assigned to the information of musical symbols. Values of key codes (32 to 63) are assigned a URL (uniform resource locator) (world network). Information music of the sign information and the URL contains the information of the sign of the album title, the artist's name, CM, etc. as additional information.

On Fig presents a table that shows the correlation values of the key code (from 64 to 127) for more information and its types. The value of the key code (from 64 to 95) are assigned to paths/other. The value of the key code (from 96 to 127) are assigned to the data management/digital data. For example, ID = 98 represents TOC-ID as additionally the th information. TOC-ID is the first number of music programs, the latest issue of music programs, the number of the current program, the total duration of execution and the current duration of the musical program, in accordance with the TOC information of the CD (Compact disc).

On Fig depicts a table showing the correlation key value (from 128 to 159) for more information and their types. The value of the key codes from 128 to 159) are appointed by the synchronous information reproduction. On Fig EMR means of electronic music distribution.

Next, with reference to figa-E will be described real examples of additional information. As figs, figa shows the data structure of additional information. On FIGU ID 3 key (the name of the artist as additional information). SIZE = 0×1C (28 bytes)that represents the data length of the additional information, including the header is 28 bytes; + L is that the code symbols C = 0×01 (ASCII) and L = 0×09 language (English). Variable length data after byte 12 represent the data one byte "SIMON, GARFUNKEL" ("SIMON &GRAFUNKEL"), which means the name of the artist. Since the data length of the additional information should be a value that is a multiple of 4 bytes, the rest is filled in (0×00).

On figs ID = 97 key represents ISRC (international standard code for the recording: code copyright) as additional information. SIZE = 0×14 (20 bytes)that represents that the data length of the additional information is 20 bytes. With = 0×00 and L = 0×00 represents that the symbols and language have not been set. Thus, these data represent a binary code. Variable length data represent the ISRC code length of eight bytes representing the copyright information (nationality, the copyright owner, year of entry and the sequence number).

On fig.16D, ID = 97 key represents the date and time of recording as additional information. Size SIZE = 0×10 (16 bytes) is that the data length of the additional information is 16 bytes. With = 0×00 and L = imagine what the characters and the language were not installed. Variable length data represent the code length of four bytes (32 bits)representing the date and time of recording (year, month, day, hour, minute, second).

On file ID = 107 key represents the Protocol playback as additional information. Size SIZE = 0×10 (16 bytes) is that the data length of the additional information is 16 bytes. With = 0×00 and L = 0×00 are, what symbols and language have not been set. Variable length data represent a code value of four bytes representing the Protocol playback (year, month, day, hour, minute, second). When recording/playback is Odysee device has the function of Protocol playback, it writes the data size 16 bytes whenever reproduces music data.

Fig is a diagram depicting the location of the data in the file A3Dnnnn data type ATRAC3, when 1 SU N bytes (for example, N = 384 bytes). On Fig shows the header of the attribute (1 unit) file and data music data (1 unit). On Fig shows the first byte (from 0×0000 to 0×7FF0) each segment of the two blocks (16×2 = 32 kilobytes). As shown in Fig, the first 32 bytes of the header attribute is used as the header; 256 bytes are used as an area NM1 music programs (256 bytes); and 512 bytes are used as an area NM2 names the music program (512 bytes). The header attribute header contains the following fields.

= BLKID-HD0 (4 bytes)

Value: the Region ID FIELD BLOCKID ID

Function: Identifies the upper part of the ATRAC3 data file.

Value: Fixed value = "HD = 0" (for Example, 0×48442D30)

= MCode (2 bytes)

Value: code of the manufacturer (MAKER CODE)

Function: Identifies the manufacturer and model of the recording/reproducing device

Value: 10 bit upper order (manufacturer code); 6 bits of the lower order (machine code)

= BLOCK SERIAL (4 bytes)

Value: the sequence number of music

Function: Starts at 0 and is incremented by 1. Even if the music the program is edited, this value is not changed.

Value: from 0 to 0×FFFFFFFF.

= N1C + L (2 bytes)

Value: Represents the attribute data (NM1) music (the name of the musical program).

Function: Represents a character code and a language code NM1 as one byte code.

Value: same as for SN1C + L

= N2C + L (2 bytes)

Value: Represents the attribute data (NM2) music (the name of the musical program).

Function: Represents a character code and a language code NM1 as one byte code.

Value: same as for SN1C + L

= INFSIZE (2 bytes)

Value: Total amount of additional information of the current music.

Function: Represents the size of the data value that is a multiple of 16 bytes. When data is not recorded, this area must be filled with zeroes.

Value: 0×0000 to 0×S (966)

= T-PRT (2 bytes)

Value: the Total number of bytes

Function: Represents the number of parts that make up the current music track. Usually the value of the T-PRT is equal to 1.

Value: from 1 to 285 (645 decimal).

= T-SU (4 bytes)

Value: the total number of SM.

Function: Represents the total number of SM in a music recording that is equivalent to the duration of program execution.

Value: 0×01 to 0×00lFFFFF

= INX (2 bytes) (if necessary)

Value: Otnositel the th position INDEX

Function: Used as an index that represents the upper part of the representative part of the music program. The value of INX sets a value that represents the number of SM divided by 4, as the current position of the program. This value INX equivalent to the value of 4 times greater quantity ZM (approximately 93 msec).

Value: from 0 to 0×FFFF (maximum approximately 6084 seconds)

= XT (2 bytes) (if necessary)

Value: duration INDEX

Function: Indicates the duration specified by the value of INX-nnn equal to the number of SM divided by 4. The value of the INDEX is equivalent to the value four times greater than normal ZM (approximately 93 msec).

Value: 0×0000 (no install); 0×01 to 0×FFFE (up 6084 seconds); 0×FFFF (until the end of the music program) I:

Next will be described the area NM1 and NM2 of the names of the musical program.

= NM1

Value: a string of characters of the name of the music program

Function: Represents the name of the music program as a one-byte code (up to 256 characters) (variable length). The title area should be completed code (0×00) end. The size should be calculated from the code completion. When data is not recorded, zero (0×00) must be recorded from the beginning (0×0020) region, at least Vodin bytes.

Value: Various character codes

= NM2

Value: a string of characters of the name of the music program

Function: Represents the name of a musical program in the form of a double-byte code (up to 512 characters) (variable length). The title area should be completed code (0×00) end. The size should be calculated from the code completion. When data is not written, zero (0×100) should be recorded from the beginning (0×0120) region, at least two bytes.

Value: Various character codes

The data size is 80 bytes, starting from a fixed position (0×320) header attribute are referred to as area TRKINF of information about music recordings. This area is mainly used for the overall management of information security and information control copying. On Fig shows a part of TRKINF. Area TRKINF contains the following fields.

= CONTENTS KEY (8 bytes)

Value: the Value of each music program. The value of the CONTENTS KEY is protected in the security block of the storage device of the card type and then recorded.

Function: Used as a key to play the music program. It is used to calculate the MAC.

Value: from 0 to 0×FFFFFFFFFFFFFFFF

= MAC (8 bytes)

Value: the Value of information verification forgery copyright

Function: Represents the amount which, produced with many values TRKINF, including the rooms of the collected content and the number of the secret sequence.

Room secret sequence is a sequence number recorded in the secret area of the storage device of the card type. When this storage device of this type, which does not contain protection against the use of counterfeit copyright, cannot read data from the secret area of the storage device of the card type. On the other hand, the recording device of this type, which is the copyright protection and computer that works with a program that can read data from the storage device of the card type, you may access a secret area.

= And (1 byte)

Value: the Attribute part.

Function: Represents information such as the compression part.

Value: the Details will be described below (see Fig and 20).

Next will be described the size of the area A. In the following description mono mode (N = 0 or 1) is defined as a special mode in which bit 7 = 1, polsignal = 0, the main signal = (L + R). The player of this type, which is not protected from a fake copyright, you may ignore the information stored in bits 2 and 1.

Bit 0 of the field And represents the information, not only the expansion of its position on / off. Bit 1 region And represents the information pass play or normal play. Bit 2 region And represents the data type information, such as audio data, FAX, etc. Bit 3 region And is uncertain. Using combinations of bits 4, 5 and 6 mode information ATRAC3 is determined as shown in Fig. In other words, N is a value of the mode size of 3 bits. For the five types of modes, which are mono mode (N = 0 or 1), mode slow-motion playback speed LP (N = 2), the standard playback mode SP (N = 4), the advanced mode EX (N = 5), and high-quality mode HQ (N = 7) recording duration (only for mass storage devices like card 64 MB), the data rate and the number of SM on the block, presented in list form. The number of bytes 1 ZM depends on each mode. The number of bytes 1 SM in mono mode is 136 bytes. The number of bytes 1 ZM in the LP mode is 192 bytes. The number of bytes 1 SM SP mode is 304 bytes. The number of bytes 1 ZM mode EX is 384 bytes. The number of bytes 1 ZM in the HQ mode is 512 bytes. Bit 7 field And represents the mode ATRAC3 (0:Dual, 1:Connected)(0:Dual, I:Joint).

For example, will be described an example that uses the storage device of the card type memory of 64 MB in SP mode. The card is 64 MB contains 3968 blocks. In SP mode, because 1 ZM is equal to 304 bytes, one block contains 53 SM. 1 SM equivalent (1024/44100) seconds. Thus, one unit is equal to (1024/44100) × 53 × (3968-10) = 4863 seconds = 81 minutes. The transmission speed is (44100/1024) × 304 × 8 = 104737 bits/sec.

= LT (one byte)

Value: flag restrictions playback (bits 7 and 6) and section security (bits 5 to 0).

Function: Represents a limitation of the current music.

Value: bit 7:0 = no restriction, 1 = limited

Bit 6:0 = not, 1 = expired

Bits 5 through 0: security section (reproduction is prohibited when any value other than 0)

= FNo (2 bytes)

Value: the Number of the file.

Function: Represents the original number of musical notation, which indicates the position value of the counting MAC, recorded in a secret area in the storage device of the card type.

Value: from 1 to 0×190 (400)

= MG (D) serial number SERIAL-nnn (16 bytes)

Value: Represents the sequence number of the security block (chip 20 security) of the recording/reproducing device.

Function: Unique value for each record/playback devices

Value: from 0 to 0×FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

= CONNUM (4 bytes)

Value: the Number of accumulation of the content

Function: Represents the unique value stored on the I of each music program. Value is controlled by the security block of the recording/reproducing device. The upper limit value is equal to 232then there are 4 200 000 000. Used to identify the recorded program.

Value: from 0 to 0×FFFFFFFF

Yhms-S (4 bytes) (if necessary)

Value: the date and time to start playing music with limited playback

Function: Represents the date and time that are EMD reproduction of data.

Value: as Well as in the designation of the date and time in other areas

= Yhms-E (4 bytes) (if necessary)

Value: the date and time of end play music with limited playback

Function: Represents the date and time at which reproduction of data is being expired AMD.

Value: same as in indication of the date and time in other areas

= MT (1 byte) (if necessary)

Value: the Maximum value of the permitted number of times of playback

Function: Represents the maximum number of times of playback is set for EMD.

Value: from 1 to 0×FF. When the value of area MT is not used, is 00.

= ST (1 byte) (if necessary)

Value: the Number of times of playback

Function: Represents the number of times of playback in the number permitted the AZ playback. Whenever data is reproduced, the value of the field of ART is reduced by 1.

Value: 0×00 to 0×FF. When not used, the value of the field ST is set equal to 0×00. When bit 7 field LT recorded 1, the value of the field of ART equal to 00, the data is prohibited to reproduce.

= SS (1 byte)

Value: copy Control COPY CONTROL

Function: Controls the copy operation.

Value: bits 6 and 7 present information relating to the copy control bits 4 and 5 present information related to the copy control during the operation of high-speed digital copying, bits 2 and 3 represent a level of authentication security block, bits 0 and 1 are not defined.

Example SS:

(bits 7 and 6)

11: Permitted not limited copying

01: copying prohibited

00: allowed one operation for copying (bits 3 and 2)

00: authentication level analogue/digital

input entries MG is equal to 0.

When the operation is performed on the digital recording using the data from the CD-ROM (bits 7 and 6): 00 (bits 3 and 2):00.

= CN (1 byte) (if necessary)

Value: the Number of permitted times of copying in the system control high-speed serial copying

Function: Extends the permission to copy in respect colchesters copy, not limited resolution up once and permission to copy freely. Really only in the first generation copies. The value of the CN field is decremented by one whenever you execute the copy operation. Value:

00: Copying prohibited

01 to 0×FE: Number of times

0×FF: Unlimited number of times up

After the area TRKINF information music should area (PRTINF) information management part size 24 bytes, starting from address 0×0370. When one musical recording consists of many parts, size of areas PRTINF each part sequentially arranged on a time axis. On Fig depicted part of the region PRTINF. Next will be described region PRTINF in the stacking order.

= PRTSIZE (4 bytes)

Value: the size of the piece

Function: Represents the size of the part.

Cluster: 2 bytes (senior level), beginning ZM: 1 byte(upper)end of the SM: 1 byte (least significant bits).

Value: cluster: 1 to 0×1F40 (8000)

beginning ZM: from 0 to 0×AO (160)

the end of ZM: from 0 to 0×AO (16) (Note that ZM starts from 0)

= PRTKEY (8 bytes)

Value: the value of the encoding part of the

Function: Encodes part.

Initial value = 0. Please note that you should apply the rules of editing.

Value: from 0 to× FFFFFFFFFFFFFFFF

= CONNUMO (4 bytes)

Value: Initially generated key non accumulation content

Feature: Uniquely describes the ID of the content.

Value: same value as the value of the key initial value of the number of accumulation of the content.

As shown in Fig, the title attribute of the ATRAC3 data file contains additional information INF. Additional information is the same as the additional information INF-S (see 11 and 12V) control file playback, except that the initial position is not fixed. The position of the last byte (the value is a multiple of four bytes) at the end of one or multiple parts followed by data of the additional information INF.

= INF

Value: Additional information related to music

Function: provides additional information to the variable length header. Can be placed many different types of additional information. Each of the areas of additional information is ID and a data size. Each area of the additional information consists of at least 16 bytes and the value is a multiple of 4 bytes.

Value: same as the additional information INF-S control file playback.

After the above header followed by data for each block is as ATRAC3 data file. As shown in Fig, the header is added to each block. Next will be described the data for each block.

= BLKID-A3D (4 bytes)

Value: BLOCKID FILE ID

Function: Identifies the upper part of the ATRAC3 data.

Value: Fixed value = "A3D" (e.g., 0×41334420)

= MCode (2 bytes)

Value: Code of the manufacturer (MAKER CODE)

Function: Identifies the manufacturer and model of the recording/reproducing device

Value: 10-bit higher order (manufacturer code); 6 bits LSB (model code)

= CONNUMO (4 bytes)

Value: the Accumulated number of initially generated content

Function: Indicates the unique ID of the content. Even if the content is edited, the value of the field CONNUMO is not changed.

Value: as for the content of the source key non accumulation

= BLOCK SERIAL (4 bytes)

Value: the Sequence number assigned to each musical recording

Function: Starts at 0 and is incremented by 1. Even if the content is edited, the value of the field BLOCK SERIAL is not changed.

Value: from 0 to 0×FFFFFFFF

= BLOCK-SEED (8 bytes)

Value: Key for coding of one block

Function: Start block is a random value that is generated by the security block of the recording/vosproizvodimoe the device. After this random variable follows a value that increases by 1. When the value of the field BLOCK-SEED lost, because the sound is produced for about one second, which is equivalent to one unit, the same data will be written to the header and at the end of the block. Even if the content is edited, the value of the block-SEED is not changed.

Value: the Original 8-bit random number is = INITIALIZATION VECTOR(8 bytes)

Value: the Value required to encode/decode ATRAC3

Function: Represents the initial amount required to encode and decode ATRAC3 data for each block. The block starts with 0. The next block starts with the last encoded 8-bit values in the last ZM. When a block is split, use the last eight bytes immediately before the beginning of the SM. Even if the content is edited, the value of the field INITIALIZATION VECTOR is not changed.

Value: from 0 to 0×FFFFFFFFFFFFFFFF

= SU-nnn

Value: the Data of the sound module

Function: Represents the data compressed from 1024 samples. The number of bytes of output data depends on the compression mode. Even if the content is edited, the value of the field SU-nnn does not change. For example, in the SP mode, N = 384 bytes.

Value: the value of the ATRAC3 data

On Fig, since N = 384, in one block recorded SM. The first two segments (4 bytes) of one block is used as the header. In the last segment (two bytes) of the region BLKID-A3D, MCode, CONNUMO and BLOCK SERIAL is written as redundant information. Thus, the M bytes of the remaining area of one block is (16 384 - 384 × 42 - 16 × 3 = 208) bytes. As described above, the area of the BLOCK SEED of eight bytes is written as redundant information.

When the TRF is destroyed, is to search for all blocks of the flash memory. When it is determined whether the value of the field ID BLKID at the beginning of each block TL0, HD0 or A3D. As shown in figa-24C, at step SP1 is determined equal to or not the value of the field ID BLKID at the beginning of the block BLKID-TLO. If the result at step SP1 is equal to "No", move on to step SP2. At step SP2, the block number is incremented. After that, at step SP3 is determined whether there had been found the last block.

If the result at step SP3 is equal to "No", return to step SP1.

If at step SP1, the result will be determined as "Yes", move on to step SP4. At step SP4, it is determined that the block search is performed, is a file PBLIST control playback. After that, move on to step SP5. At step SP5, the total number of T-TRK music records in the file PBLIST playback control is written as N in the register. For example, when the memory is written 10 ATRAC3 data files (10 music PR is grams), the number 10 is written in T-TRK.

Then, with reference to the total number of T-TRK music, is a serial link from TRK-TRK 001 to-400 units. In this example, as it was recorded 10 music programs, reference is made to the blocks from TRK-TRK 001 to-010. As the file number FNO was recorded in TRK - XXX (where X = from 1 to 400 in step SP7, the memory is written to a table that shows the correlation rooms TRK - XXX music recording and file number FNO. Next, at step SP8, the number N stored in the register is decremented by one. The loop composed of steps SP6, SP7 and SP8, repeating until N becomes equal to 0 at the step SP9.

If the result determined at step SP9, will be determined as "Yes", move on to step SP10. At step SP10, the pointer is reset to the top of the block. The search process is repeated from the top of the block. Then the flow is transferred to step SP11. At step SP11 is determined equal to or not the value of the field ID BLKID the top of the block BLKID-HDO. If a result at step SP11 is equal to "No", move on to step SP12. At step SP12, the block number is incremented. At step SP13 determine whether there had been found the last block or not.

If the result at step SP13 is equal to "No", return to step SP11. The search process is repeated until then, until the result at step SP11 becomes "Yes".

If the result at step SP11 is equal to "Yes", move on to the tap SP14. At step SP14 is determined that the block is a header attribute (see Fig) (0×0000 to 0×03FFF, as shown in Fig) at the beginning of the ATRAC3 data file.

Then, in step SP15, with reference to the number FNO of the file sequence number BLOCK SERIAL of the same ATRAC data file, and the key CONNUMO rooms accumulation of the content contained in the header of the attribute is written to the memory. When 10 ATRAC3 data files already recorded, because there are 10 units for which the value of the field ID BLKID in the upper block is equal BLKID-TLO, the search process continues until, until we found 10 blocks.

If the result determined at step SP13, will be equal to "Yes", move on to step SP16. At step SP16, the pointer is reset to the top of the block. The search process is repeated from the top of the block.

Then move on to step SP17. At step SP17 is determined equal to or not the value of the field ID BLKID the top of the block BLKID-A3D.

If the result determined at step SP17 is equal to "No", move on to step SP18. At step SP18, the block number is incremented. Then, at step SP18ā€™ is determined whether there had been found the last block or not. If the result determined at step SP18ā€™ is "No", return to step SP17.

If the result determined at step SP17 is equal to "Yes", move on to step SP19. At step SP19 is determined that the block contains the data to ATRAC3. After that, move on to step SP20. At step SP20, the link is on th sequence number BLOCK SERIAL recorded in the data block ATRAC3, and the key CONNUMO rooms accumulation of content, they are written into memory.

In the same ATRAC3 data file, the total number is assigned to the key CONNUMO rooms accumulation of content. In other words, when one ATRAC3 data file consists of 10 blocks, the total number is assigned to all values of the fields CONNUMO.

In addition, when ATRAC3 data consist of 10 blocks, the sequence numbers from 1 to 0 are assigned the values of the fields BLOCK SERIAL 10 blocks.

In accordance with the values of the fields CONNUMO and BLOCK SERIAL is linked to whether the current block is the same content and the order of playback of the current block in the same content (namely, the connection sequence).

When recorded 10 ATRAC3 data files (namely, 10 music programs), and each of the ATRAC3 data files consists of 10 blocks, that's 100 blocks of data.

With reference to the values of the fields CONNUMO and BLOCK SERIAL can be obtained from the playback order of the musical programs of the 100 data blocks and the order of their connection.

When the result determined at step SP19 is equal to "Yes", searches for all the blocks in the control file playback, ATRAC3 data file and file attribute. Thus, at step SP21, on the basis of the values of the fields CONNUMO/ BLOCK SERIAL, FNO and TRK-X in the order of the blocks, the blocks stored in the memory, it turns out the status of the connection f is La.

After having received the connection status of the file in the free area of the memory can be generated TRF.

Next will be described a control file corresponding to the second variant embodiment of the present invention. On Fig shows the structure of a file in accordance with a second alternative embodiment of the present invention. With reference to Fig, music directory contains the file TRKLIST.MSF information management music (below referred to as TRKLIST), the backup file TRKLISTB.MSF information management music (below referred to as TRKLISTB), file INFLIST.MSF additional information (which consists of the name of the artist, ISRC code, time stamp, data, still images, etc. (this file is referred to as INFIST)), file A3Dnnnn.MSF ATRAC3 data (below referred to as App). File TRKLIST consists of two fields NAME1 and NAME 2. Region NAME1 represents the area that contains the name of the storage device of the card type and the name of the program (for single-byte code corresponding to the system ASCII/ISO-8859-1 character encoding). Region NAME2 is an area that contains the name of the storage device of the card type and the name of the program (for double-byte code corresponding to MS-JIS/Hankul/Chinese code).

On Fig illustrates the relationship between the file TRKLIST control information is her music, areas NAME1 and NAME2 and file A3Dnnnn ATRAC3 data. File TRKLIST is a file of fixed length equal to 64 kilobytes (= 16K×4). Area of 32 kilobytes this file is used to manage music records. The rest of the region size of 32 KB is used for areas NAME1 and NAME 2. Although the field NAME1 and NAME2 to the program name can be located in another file, not the file management information of a musical recording, the system having a small capacity accumulation, it is convenient to apply the overall management of the file management information, music and file names of programs.

Area TRKINF-nnnn information music and PRTINF-nnnn information file TRKLIST information management music are used to control file A3Dnnnn data and additional information INFLIST. Can only be encoded file A3Dnnnn ATRAC3 data. On Fig the data length in the horizontal direction is 16 bytes (0 to F). Hexadecimal digit in the vertical direction represents the value at the beginning of the current line.

In accordance with a second variant embodiment, there are three files that represent the file TRKLIST music management account (including file name), the file INFLIST management additional information file A3Dnnnn control data. In accordance with the first var is the ant embodiment (see 7, 8 and 9), there are two files that represent the file PBLIST playback controls designed to manage the entire storage device of the card type, the ATRAC3 data file that is designed for writing programs.

Next will be described a data structure in accordance with the second variant embodiment. To simplify the data structure in accordance with a second alternative embodiment of the block description, similar to the corresponding blocks of the first variant of the embodiment will be omitted.

On Fig shows the detailed structure of the file TRKLIST information management music. In file TRKLIST information management music, one cluster (block) consists of 16 kilobytes. The size and date of file TRKLISTB the same as the size and date of file TRKLISTB backup. The first 32 bytes of the file management information of musical notation are used as the header. As for the header file PBLIST control playback, the file header TRKLIST contains an area (4 bytes) BLKID-TL0/TL1 (backup ID file), area T-TRK (2 bytes) to the total number of musical recordings, area code MCode manufacturer (2 bytes), the area REVIZION (4 bytes) the number of times of rewriting TRKLIST and area S-Yhms (4 bytes) (if necessary) for the data of date and time update. The value and functions of these areas given the s are the same as the value and functions similar to the data in the first variant embodiment. In addition, the file TRKLIST contains the following fields.

= Yhms (4 bytes)

Is the date (year, month, day) the last file update TRKLIST.

= N1 (1 byte) (if necessary)

Is the serial number of the storage device of the card type (numerator). When using a single storage device of the card type, the value of the field N1 is equal to 0×01.

= N2 (1 byte) (if necessary)

Is the serial number of the storage device of the card type (side denominator). When using a single storage device of the card type, the size of the area N2 is set equal to 0×01.

= MSID (2 bytes) (if necessary)

Represents the ID of the storage device of the card type. When using multiple storage devices of the card type, the value of the field MSID each storage device of the card type the same BO (T.B.D). (designation BO (to be defined) is that this value must be defined in the future).

= S-TRK (2 bytes).

Presents a special musical record (BO). Usually the value of the field STRK is set to 0×0000.

=PASS (2 bytes) (if necessary)

Represents the password (BO).

= ARR (2 bytes) (if you want the tees)

Represents the definition of the playback application (BO). (usually the size of the area of the RDA is set equal to 0×0000).

= INF S (2 bytes) (if necessary)

Is a pointer to additional information only storage device of the card type. When there is no additional information, the value of the field INF-S is set equal to 0×00.

The last 16 bytes of the file TRKLIST used for the field BLKID-TLO, region MCode and area REVISION, which are the same as in the header. The backup file TRKLISTB contains the above title. In this case, the header contains the BLKID-TL1, region MCode and scope REVISION.

After the header follows the area TRKINF of information about music recordings intended for information that corresponds to each music track and field PRTINF part of the information intended for the information that corresponds to each piece of recorded music (music programs). On Fig shows that follow the region TRKLIST. The lower part of the field TRKLISTB depicts the detailed structure of these areas. On Fig hatched area is an unused area.

Area TRKINF-nnn information, music tracks, and the area PRTINF-nnn information about the parts contains the area of the ATRAC3 data file. In other words, the area TRKINF-nnn of information about music recordings and blast PRTINF-nnn information part contains the LT (1 byte) flag restrictions playback, area CONTENTS KEY key contents (8 bytes), the region of MG(D) SERIAL sequence number the security block of the recording/reproducing device (16 bytes) and the area of XT (2 bytes) (if necessary) to represent the part of the characteristic of the musical program, the region INX (2 bytes) (if necessary), region Yhms-S (4 bytes) (if necessary), region Yhms-E (4 bytes) (if necessary), area MT (1 byte) (if necessary), region ARTICLE (1 byte) (if necessary), area SS (1 byte) (if necessary), region CN (1 byte) (if necessary) (these areas Yhms-S, Yhms-E, MT, CT, CP and CN are used for information related to limitation of reproduction, and information related to the copy control), area (1 byte) attribute part of the region PRTSIZE size pieces (4 bytes), the area PRTKEY key part (8 bytes) and the area CONNUM rooms accumulation of contents (4 bytes). Values, functions and values of these fields are the same as the values, functions and values of these areas in the first variant embodiment. Furthermore, the area TRKINF-nnn information, music tracks, and the area PRTINF-nnn information part contains the following fields.

= (1 byte)

Fixed value (t0 = 0×74)

= INF-nnn (if necessary) (2 bytes)

Is a pointer to additional information (from 0 to 409) each musical C is recorded. 00: musical program without additional information.

= FNM-nnn (4 bytes)

Represents the file number (from 0×0000 to 0×FFFF) data file ATRK3.

The number nnnn (ASCII) name (A3Dnnnn) ATRAC3 data file is converted to 0×nnnnn.

= APP_CTL (4 bytes) (if necessary)

Is the application parameter (T.B.D). (Usually the value of the field APP_CTL is set to 0×0000).

= P-nnn (2 bytes)

Represents the number of parts (from 1 to 2039), which constitute the music program. This area corresponds to the above-described region of the T-PART.

= PR (1 byte)

Fixed value (PR = 0×50).

Next will be described the field NAME1 (for single-byte code) and NAME2 (for double-byte code), which is designed for control names. On Fig shows the detailed structure of the field NAME1 (for single-bit field encoding). Each of the fields NAME1 and NAME2 (which will be described below) segmented by eight bytes. Thus, one segment of these areas consists of eight bytes. When 0×8000, i.e. at the beginning of each of these areas, is a header. After the header follows the pointer and the name. The last segment field NAME1 contains the same area as the header.

= BLKID-NM1 (4 bytes)

Represents the contents of the block (fixed value) (NM1 = 0×4E4D2D31).

= PNMI-nnn (4 bytes) (if necessary)

Presented yet the pointer to the region NM1 (for single-byte code).

= PNM1-S

Is a pointer to the name representing the storage device of the card type.

nnn (= from 1 to 408) represents a pointer to the name of the musical program.

This pointer is the starting position (2 bytes) block, the encoding type of the symbol (2 bits) and the size of the data (14 bits).

= NMl-nnn (if necessary)

Represents the name of the storage device of the card type and the name of the musical program for single-byte code (variable length). Code completion (0×00) is written at the end of this field.

On Fig shows the detailed structure of the data area NAME2 (for double-byte code). At address 0×8000, which represents the beginning of the field is a header. After the header follows the pointer and the name. The last segment field NAME2 contains the same area as the header.

= BLKID-NM2 (4 bytes)

Represents the contents of the block (fixed value) (NM2 = 0×4E4D2D32).

= PNM2-nnn (4 bytes) (if necessary)

Represents the pointer to the region NM2 (for double-byte code).

PNM2-S is a pointer to the name representing the storage device of the card type, nnn (= from 1 to 408) represents a pointer to the name of the musical program.

The pointer represents the initial position (2 bytes) block, the encoding symbol (2 bits) and the size of the data (14 bits).

= NM2-nnn (if necessary)

Represents the name of the storage device of the card type and the name of the musical program for double-byte code (variable). Code end (0×0000) is written at the end of this field.

On Fig depicts the layout of the data (for one block) file A3Dnnnn ATRAC3 data, when 1 ZM consists of N bytes. In this file one segment consists of eight bytes. On Fig depicts the magnitude of the upper part (from 0×0000 to 0×3FF8) of each segment. The first four segments of the file are used for the header. The header is the same as in the case of a block of data following the header file attribute data (see Fig) in the first example. The header consists of a field BLKID-A3D (4 bytes), the area code MCode manufacturer (2 bytes), the field BLOCK SEED (8 bytes)required for the encoding process, the field CONNUMO (4 bytes) to the original number of accumulation of the content area BLOCK SERIAL sequence number (4 bytes) for each music track and field INITIALIZATION VECTOR (8 bytes)required for encoding/decoding. The second last segment of the block redundantly contains the BLOCK SEED. The last segment contains the field BLKID-A3D and MCode. As in the case of the first variant embodiment, after a header followed by data ZM-nnnn sound module.

On Fig shows the detailed structure of the data file is and INFLIST management additional information, which contains additional information. In the second variant embodiment, in the beginning (h) file INFLIST, is the following header. After the header follows the next pointer and the field.

= BLKID-INF (4 bytes)

Represents the contents of the block (fixed value) (INF = 0×494E464F).

= T-DAT (2 units)

Represents the total number of data regions (from 0 to 409).

= MCode (2 bytes)

Is the code of the manufacturer of the recording/reproducing device

= Yhms (4 bytes)

Represents the date and time the entry was updated.

= INF-nnnn (4 bytes)

Is a pointer to the DATA area of additional information (variable length with change 2 bytes (segment) at the same time). The initial position represented by the upper discharge 16 bits (0000 to FFFF).

= DataSlot-0000 (0×0800)

Represents the offset from the beginning (one segment at a time).

The size of the data presented younger discharge 16 bits (0001 to 7FFF). The suppression flag is set in the high bit of the MSB = 0 (allow), MSB = 1 (disable)

The size of the data represents the total amount of data of the music program.

(Data starts from the beginning of each segment. (The area of the segment is not a data area is filled with 00).

First INF is a pointer to additional information of the whole album (usually INF-409).

On Fig is zobrazen structure for more information. 8-byte header is placed at the beginning of the data area for more information. The structure of the additional information is the same as the structure in the first variant embodiment (see figs). In other words, the additional information contains the region IN (2 bytes) as ID, code, key ID field (1 byte), the area size (2 bytes)that represents the size of each area for more information and the area code MCode manufacturer (2 bytes). In addition, the additional information contains the SID (1 byte), which is pidentifier sub ID.

In accordance with a second alternative embodiment of the present invention, in addition to the file system defined as the format of the storage device of the card type, use the file TRKLISSR information management music or music data. Thus, even if TRF is destroyed, the file can be recovered. On Fig depicts the process of restoring the file. To restore a file is connected to a computer that works with the file recovery program and can access a storage device of the card type and the storage devices (hard disk, RAM or so). The computer is configured to perform functions equivalent to CPS. Next will be described the process restore the compliance file using file TRKLIST control music record.

Search all blocks of flash memory, TRF which was destroyed, in the presence of TL-0 as size (BLKID) in the upper position of each block. In addition, searches of all blocks in the presence of NM-1, as values (BLKID), located in the upper position of each block. After this, search all the blocks on the presence of NM-2 as values (BLKID), located in the upper position of each block. All the content of the four blocks (file management information of the musical recording) is recorded, for example, on the hard disk of the computer that is performing the restore.

The total number of music recordings obtained from the data following after the fourth byte of the file management information music. Get 20-th byte area TRKINF-001 information about music recordings, the value of the field CONNUM-001 first music program and the value of the next field R-001. The number of parts is obtained with the value of the field R-001. Get values of fields PRTSIZE all parts of the record 1 field PRTINF. Calculates and get the total number of blocks (clusters) n.

After you received the file management information of a musical recording, the flow proceeds to step 102. At step 102 is a file search voice data (ATRAC3 data file). Search all blocks that are not a managing file in flash memory. Gather blocks, the top value (BLKID) are A3D.

Search block in which the value of the field CONNUMO in the 16th byte A3Dnnnn the same as the value of the field CONNUM-001 first music program file management information, music tracks, and in which the value of the field BLOCK SERIAL that starts with the 20-th byte of 0. After you received the first unit, the search unit (cluster) with the same value of the field CONNUM, as the first block, and in which the value of the BLOCK SERIAL is incremented by 1 (1=0+1). Once received by the second unit, the search unit with the same value of the field CONNUMO as the second block and in which the size of the area BLOCK SERIAL is incremented by 1 (2=1+1).

Through repetition of this process are searched in the data file ATRC3, until will not be received n blocks (clusters) music 1. When all blocks (clusters) are obtained, they are sequentially written to the hard disk.

The same process as for music recording 1 is performed to music 2. In other words, the search unit, in which the value of the field CONNUMO is the same as the value of the field CONNUM-002 first music program file management information, music tracks, and in which the value of the field BLOCK SERIAL begins in the 20th byte. Then, in the same way as for music 1, search in a file the data ATRAC3, until then, until it finds the last block (cluster) nā€™. After all blocks (clusters) will be received, they will be sequentially recorded on the hard disk.

By repeating the above process for all music records (number of music records: m), all ATRAC3 data will be recorded on the hard disk under computer control, making the recovery.

At step 103, the storage device of the card type, TRF which was destroyed, will be re-initialized and then TRF will be restored. Predefined directory is generated in the storage device of the card type. After that, the file management information, music tracks, and ATRAC3 data file for m music is copied from the hard disk in the storage device of the card type. This recovery process ends.

In the control file and the data file important parameters (in particular, the codes in the header) can be written, not twice, but three times. When data is to be written is redundant, the same data may be recorded at any position as long, provided that they are separated from one another by one or more pages.

The process of combining

Next will be described the process of combining files (music program) and the separation process using the-W method of managing files according to the first variant embodiment of the present invention (see Fig. 4 through 24).

The process of combining in TRF

Next will be described the process of combining in TRF. In this case, the combined two files CAT.MSA and MAN.MSA of the three files (music programs) CAT.MSA, DOG.MSA and MAN.MSA.

As shown in Fig when the user combines the two files into one file, the address of record at the end of the data cluster management in TRF corresponding to the file CAT.MSA, changes from "FFF" start address "110" TRF corresponding to the file MAN.MSA (see the shaded part on Fig).

Thus, in the combined file CAT.MSA used clusters 5, 6, 7, 8, 110 and 111. In addition, the file name MAN.MSA erased from the field of subdirectories. In addition, erased the file name MAN.MSA managed using cluster 202 (see the shaded part on Fig).

Edit the title attribute

In the previous section was described method of editing in TRF, designed to combine the two files CAT.MSA and MAN.MSA. Next, with reference to figa and 35V, you will learn how to edit the header file attribute PBLIST.MSF control playback depicted figure 11, and the ATRAC3 data file is shown on Fig.

Figa is a diagram depicting a memory card two files CAT.MSA and MAN.MSA that have not been edited.

Memory card depicted in figa, depicts the state in which the logical address were p is obrazovni into physical addresses. In addition, although the parts are distributed in the memory, to simplify the description they are placed sequentially. As shown in figa, the file attribute of the file CAT.MSA contains the total number of sound modules T-SU:100, total number of parts T-PRT:3, key content, MAC and the size of the parts and key parts for each part.

On the other hand, the file attribute of the file MAN.MSA contains the total number of sound modules T-SU:70, total number of parts T-PRT:2, key content, MAC and the size of the piece, as well as key parts for each part, and the number CONNUMO accumulation of content.

File data file attribute CAT.MSA updated as follows.

Actually, as the data that you want to update, when it comes to combining music programs, number of single parts of the file increases. Thus, T-PRT contained in the file attribute is edited. In addition, since the files are combined, increasing the total number of sound modules. Thus, you can edit T-SU.

In other words, as shown in figv, the value of T-SU is recorded into the address 170 to which is added the total number of sound modules T-SU:100 file CAT.MSA and the total number of sound modules T SU:70 file MAN.MSA. In addition, the value of T-PRT is recorded into the address 5, to which is added the total number of parts T-PRT: 3 FAI is and CAT.MSA and the total number of parts T-PRT: 2 file MAN.MSA.

In addition, when the ATRAC3 data files (music program) are combined, the newly created key content in the attribute keys. In addition, changes MAC, which represents the amount of checking falsification of the copyright.

In addition, information about the part (see Fig)contained in the block file attribute combined file MAN.MSA changes (copied) in the block file file attribute CAT.MSA. In addition, the key PRTKEY each part contained in the block file attribute, which was added part information, re-encrypted with a new key content.

As shown in Fig.9, as the file attribute is added to the header portion of the ATRAC3 data file, if two of the ATRAC3 data file simply combined, the block file file attribute CAT.MSA, multiple data ATRAC3 file CAT.MSA, block file file attribute MAN.MSA and many data blocks ATRC3 file MAN.MSA sequentially combined. Thus, one file will have two file attribute.

To solve this problem, in accordance with the present invention, when the process of combining, as shown in figv, updated file attribute file data constituting the second part (in a variant embodiment, the file MAN.MSA).

Thus, consistently placed the block in the file attribute of the file CAT.MSA, multiple data ATRAC3 file CAT.MSA and the plural the creation of data blocks ATRAC3 file MAN.MSA.

The control file playback editing

In addition, the file PBLIST control playback depicted figure 11, because the data files are combined, the total number of musical recordings is decremented by one. Thus, you can edit T-TRK so that they move in the direction TRK-001 without a gap.

The process of combining

On Fig shows the algorithm of the program, depicting the process of combining files. At step SP201, the user selects two files that will be combined in predetermined ways. In this variant embodiment, the user selects the files CAT.MSA and MAN.MSA. At step SP202, the link state TRF editable. At step SP203, the name of the file that has the connection in the opposite direction, is erased from the subdirectory. At step SP204, the name of the data file that works in the opposite direction is erased from the data area. In step SP205, the ATRAC3 data file on the front side is updated in accordance with the file attribute of the second part of the ATRAC3 data. As described above, the total number of parts subject to editing. Also, edited the total number of sound modules T-SU.

In step SP206, the file attribute of the second part of the data file ATRC3 erased. In step SP207, T-TRK and TRK - XXX file playback control are edited.

Thus, the process of combining is performed in the order (1) editing TRF, (2) edit the file attribute, and (3) editing the control file playback. However, this order can be changed.

The separation process

In this variant embodiment has been described the process of combining, designed to combine the two files. Next will be described the separation process is designed to split one file at a specific point of separation.

The separation process in TRF

On Fig presents a block diagram depicting a memory card that is used to explain the separation process for file CAT.MSA of the files shown on Fig.6.

It is assumed that the user performs an operation of separation at the boundary of clusters 6 and 7 file CAT.MSA and that in the process of separation are formed two files CAT1.MSA and CAT2.MSA.

First of all, the files DOG.MSA and MAN.MSA recorded in clusters 201 and 202 are moved in clusters 202 and 203, respectively. In addition, the file CAT1.MSA in which the extension MSA is added to the file name SET that is entered by the user is recorded in the cluster 200. In addition, the file name CAT2.MSA in which the extension MSA is added to the file name SET that is entered by the user is recorded in the cluster 201.

Then the file name CAT.MSA, which is stored in the subdirectory that corresponds to the file name CAT1.MS. In addition, the file name CAT2.MSA is added to an unused segment.

At the end of the file segment CAT2.MSA is the cluster number "7" split file CAT2.MSA.

Address entry is overwritten with "FFF" so that the end point of a segment of the file name CAT1.MSA subdirectory in TRF becomes the cluster 6. The separation process is performed in TRF as described above.

Edit the title attribute

When the data file is divided to generate the file attribute so that it is added to the divided file in the second part.

Further, this process will be described with reference to figa and 38B.

As Figo and 35V, figa and 38B depicts a memory card in which logical addresses are converted into physical addresses. On figa and 38B, for simplicity, the individual parts are arranged sequentially in memory, and not distributed. As shown in figa, the file attribute of the file CAT.MSA contains the total number of sound modules T-SU:17, total number of parts T-PRT:5, key content, MAC, portion size and the key part for each part, and the number CONNUMO accumulation of content.

Now assume that the user indicates the need to conduct the separation process at a specific point file CAT.MSA. For example, it is assumed that the user performs a splitting operation on the border between the parts 3 and 4, depicted on figa. Data f is La attribute is updated as follows.

Like really updating data when a music program is divided, the number of parts that make up a single file, is reduced. Thus, T-TRT, is contained in the file attribute is edited. In addition, when a file is divided, because the total number of sound modules decreases, T-SU is also editable. In other words, as shown in figv, the total number of audio file blocks CAT1.MSA, which is divided in a first part, can be rewritten in T-SU:100. In addition, the total number of parts of the file CAT1.MSA rewritten in T-PART:3.

In addition, since the file is divided, and write to the key content, the value of MAC verify the information on the counterfeiting of copyright, and the key part for each part.

In addition, the file attribute of the file CAT2.MSA, which is divided on the opposite side, re-created.

In relation to the newly created file attribute, the total number of audio blocks and the total number of parts can be rewritten in T-SU:70 and 1 PART:2, respectively.

In addition, since the file is divided, and write to the key content, the value of MAC verify the information on the fake copyright and key parts for each part.

File management editing playback

Next will be described a method of editing a file PBLIST control the play is based in the separation process. When a file is divided into two files, number of files is increased by one. The total number of music recordings T-TRK increases by L. in Addition, table TRK-X (where X is any integer in the range from 1 to 400) is edited so that the resulting non musical programs will be shifted.

The stages of the separation process

Fig is an algorithm depicting the separation process.

In step SP301, when the user selects the file that you want to share, when listening to music recorded in this file, he or she predefined method selects the split point. In step SP302, the link state TRF is edited as described above. At step SP303, the name of the data file that is shared on the reverse side, is added to the subdirectory. In step SP304, the name of the data file, which is divided into the front side, is added to the data area. The file name entered by the user. In step SP305, the file attribute of the file data on the front side of the split point is edited. In addition, at step SP306 generated file attribute, which must be added to the data file back. The file attribute is newly created, and the file attribute is edited in accordance with the split point the split file. In step SP307, redaktirovat the human subject file PBLIST control playback. The above separation process is performed in the order (1) editing TRF, (2) edit the file attribute, and (3) editing the file, control the playback. However, this order can be changed.

A feature of the present invention is that the user can edit the data file (file ATRAC3), recorded in a storage device of the card type. Next will be described processes for editing (for example, the process of combination and separation process)corresponding to the file TRKLIST control musical notations described with reference to Fig. from 25 to 32. However, the following description can be applied to the area TRKINF information music and area PRTINF information part of the ATRAC3 data file.

In this section, with reference to Fig, will be described the process of compounding (see figv), designed to combine the two music recordings and constituting one part. Fig is an algorithm depicting the process of compounding. At step 401 the area PRTINF information part of the music In the second part moves below the field PRTINF information part of the music of A. Thus, in the file TRKLIST information management music recordings are consistently area TRKINF information music recordings And region PRTINF information part of uzkalniai the record region PRTINF information part of the music and In the area TRKINF information of musical notation musical notation Century

At step 402 the chain TRF data file ATRAC3 music connected In the second part of the circuit TRF ATRAC3 data file for musical notation A. At step 403 area TRKINF information sound recordings erased from the file TRKLIST information management music. Thus, in the file TRKLIST information management music recording area TRKINF information music tracks, music tracks, And the area PRTINF information part of the music and the area PRTINF information part of the sound recordings are stored contiguously. At stage 404, the data file ATRAC3 sound recordings deleted from the directory. At step 405, the P-value is nnn that represents the number of parts that make up the music program in the area TRKINF information music tracks, music tracks, And varies from 1 to 1+1=2.

Thus, the value of the key change. In this example, the key content of the original music recordings And referred to as CSA; and the key content of the original sound recordings indicated as CSV. Similarly, a key part of the original musical recording is indicated as CRA; and key parts of the original sound recordings indicated as CRV.

At step 406, after music recordings a and b will be combined, the key content of the new musical notation N will be generated as _N. CONNUM will also be newly generated. At step 407 will be generated a new key part. A new key part is generated using the exclusive OR operation on the key XA content key KRA part, and the key _N content. At step 408 generates a key part of the second part (namely, the key part for the area PRTINF information part of the original sound recordings). As for the new key part, a return key of the second part is generated by performing the exclusive OR operation in respect of key CSV content key CRV parts and key KC_N content.

At step 409 the key KC_N content of the new musical notation N is encoded using a key accumulation storage device of the card type and stored in the CONTENTS KEY-nnn in the area TRKINF information music. CONNUM is stored in a CONNUM-nnn area TRKINF information music. In addition, each key part is stored in PRTKEY-nnn region PRTINF information part.

Next, with reference to Fig, will describe the separation process (see figs)designed to separate music And consisting of one part, two music tracks a and B. On Fig presents an algorithm depicting the separation process. At step 501, the split point is selected using SM. At step 502 modifies the I PRTSIZE region PRTINF information part of the new music A. In fact counts the number of clusters from the beginning (initial ZM) to the split point (end-ZM). The cluster size, the initial ZM and end ZM changed in accordance with the position of the SM at the point of separation of the cluster and stored in PRTSIZE information part of the new music A.

At step 503, are copied one cluster, which is the last cluster new music And that contains the point of separation. Copied the cluster is considered as the upper part of the new music Century. In step 504, the total number of parts, the newly formed music In, is stored in the value of R-nnn, which represents the number of parts that make up the music program in the area TRKINF information music in relation to music C. In this example, the cluster, which precedes the split point, becoming the second part, which is a newly formed music Century. Counted the total number of parts newly formed music Century. In step 505 file number FNW-nnn new ATRAC3 data file is generated and written to FNW-nnn area TRKINF information music.

At step 506 the area TRKINF information music recording new music and In the region PRTINF information h is STI added the second part of the field PRTINF information part of the new music And file TRKLIST information management music. Area TRKINF information music tracks, music tracks, located in the second part of the original music tracks, and the area PRTINF information parts are moved back through the area TRKINF information music and area PRTINF information part music Century.

At step 507 chain TRF data file ATRAC3 new music And is changed at the point of separation. At step 508, because the music entry In the newly added file In the ATRAC3 data file is added to the directory. At step 509, after chain TRF ATRAC3 data file, the newly generated sound recordings, should the rest of the original music tracks (namely, chain, cluster, including the split point).

Since you added new music track, add the values of the keys. However, the magnitude of the keys of the new music And not changed.

At step 510, after the separation of musical notation, generated key KS In the content key of the content of the new music Century. in Addition, the newly generated CONNUM. At step 511 generates a key CRV part of the new music Century. a Key part of the new music is generated by performing the operation "exclusive OR" in relation to the original CSA, CRA and XV.

At step 512 the key CSV content of the new music In the coded means of key accumulation storage device of the card type and the stored CONTENTS of the KEY-nnn area TRKINF information music. In addition, CONNUM is stored in CONNUM-nnn area TRKINF information music. Each key part directly stored in PRTKEY-nnn region PRTINF information part.

Thus, even if the editing processes, such as processes of combination and separation, the area TRKINF information, music tracks, and the area PRTINF information part is located in the same order as the ATRAC3 data files. In other words, in contrast to system link-P, area TRKINF information music single file, which was subjected to editing, and the address of PRTINF information part is sequentially rather than randomly.

In addition, when another editing process, such as the erase process or the process of moving, the area TRKINF information, music tracks, and the area PRTINF information parts are changed in the same manner as the ATRAC3 data files.

In accordance with the present invention, even if TRF flash memory will be destroyed, the file attribute is added at the beginning of each file so that he could control parts, which are distributed in the memory using the file attribute. Thus, the editing process is performed correctly. In addition, the editing process can be properly performed on the storage media, such as flash memory is Ć¼, in which there is a tendency of occurrence of defective blocks.

After describing specific preferred variants of the embodiment of the present invention, with reference to the accompanying drawings, it should be understood that this invention is not limited to these specific choices embodiment and that various changes and modifications can be made by the person skilled in the art, without departing from the scope and essence of the present invention, as defined in the attached claims.

1. The editing device that is designed for editing a data file recorded in non-volatile memory device for segmenting a single data file, which is consistently reproduced in blocks, each of which has a predetermined data length, and this non-volatile memory device has a data area that is used for recording each block together with the file attribute, which has a predetermined length, and a control region, designed to control data entry, designed for file management data recorded in the data area containing the operating tool to select the two data files recorded in the data area, the process of combining these two in the curse of the data files; sharing tool that is designed to separate the file attribute from the set of the latest data file from the selected two data files; editing tool designed for editing management data recorded in the control area by establishing a logical connection between the two data files and edit the file attribute added to located the first data file from the selected two data files; and a recorder designed for recording management data edited using the editing tools in the management area and recording file attribute added to located the first data file in the data area.

2. The editing device under item 1, characterized in that it is configured to use the file allocation table as the management data recorded in the control area.

3. The editing device under item 1, characterized in that it is arranged to use the control data, some of which are designed to at least control the total number of data files recorded in the data area.

4. The editing device under item 1, characterized in that it is configured to use the file attribute, optionally containing a key for encoding the data file, and Perez the write key when performing the editing process.

5. The editing device under item 1, characterized in that the recording of the total number of data of the corresponding data file in the file attribute and rewrite the total number of data file attribute to set the first data file to a value in which the total number of data file attribute, added to located the first data file is added to the total amount of data of the file attribute, added to which is located the last data file.

6. The editing device under item 1, characterized in that it is arranged to destination file attribute added to located the last data file as the file to which to write.

7. The editing device under item 1, characterized in that the editable file attribute added to located the first data file according to the file attribute of the corresponding socket of the last data file.

8. The editing device under item 1, characterized in that the use of a data file being played sequentially, consisting of at least one part, in which are grouped a lot of blocks, and in which the number of parts controlled by the file attribute.

9. The editing device under item 8, trichomania fact, the editing tool is configured to edit the file attribute added to located the first data file, in accordance with the magnitude in which are formed a number of parts that are managed by the file attribute to set the first data file, and the number of parts that are managed by the file attribute to set the last data file.

10. The device edit on p. 8, characterized in that it is configured to use file attribute that contains the key for the coding part.

11. The device edit on p. 10, characterized in that the rewritable key to encode part when performing the editing process.

12. The device edit on p. 10, characterized in that it is configured to use file attribute that contains a key for encoding the data file, and a key for encoding the portion encoded in accordance with a key stored in a file attribute.

13. Editing method that is designed for editing a data file recorded in the nonvolatile storage device that is designed to segment a single data file, which is consistently reproduced in blocks, each of which has a predetermined data length, and nonvolatile remember what her device has a data area, designed to record each block together with the file attribute having a predetermined length, and a control region, designed to record the control data used to control a data file recorded in the data area containing the steps of selecting two data files recorded in the data area, to perform the process of combining these two selected data files; Department file attribute from the set of the latest data file from the selected two data files; editing management data recorded in the control area by establishing a logical connection between two data files, and edit the file attribute added to the located first file these two selected data file; and recording the edited management data in the management area and recording file attribute added to located the first data file in the data area.

14. The editing device that is designed for editing a data file recorded in non-volatile memory device for segmenting a single data file, which is consistently reproduced in blocks, each of which has a predetermined data length, and this non-volatile memory device has a data area, the purpose is to nnuu to write each block together with the file attribute, having a predetermined length, and a control region, designed to record the control data used to control a data file recorded in the data area containing the operational tool designed to set the split point of the particular data file recorded in the data area; editing tool designed for editing added file attribute and control data in accordance with the point of separation of the data file, the installed operating means; generating tool that is designed to generate a file attribute for the file data located after the point of separation, which installed operating means, and a recorder designed for recording management data editable specified by the editing tool in the management area and recording file attribute added to located the first data file in the data area.

15. The device edit on p. 14, characterized in that it is configured to use the file allocation table as the management data recorded in the control area.

16. The device edit on p. 14, characterized in that it is arranged to use the control data, some of which are designed to control at m the PE the total number of data files, recorded in the data area.

17. The device edit on p. 14, characterized in that it is configured to use file attribute that contains a key for encoding the data file, and overwrite the key to encode the file data during the editing process.

18. The device edit on p. 14, characterized in that it is arranged to control the total amount of data of the corresponding data file through a file attribute for the file data located after the split point.

19. The editing device according to 14, characterized in that it is configured to use a data file that plays and consistently consisting of at least one part, in which are grouped a lot of blocks, and in which the number of parts controlled by the file attribute.

20. The device edit on p. 14, wherein the editing tool is configured to edit the number of parts that are managed by the file attribute, which is located before the point of separation of the data file, and the number of units managed by the file attribute, which is located after the point of separation of the data file, which is an operational tool.

21. The editing device according to p. 19, characterized in that it is made with a chance to view the Yu use file attribute, contains the key for the coding part.

22. The editing device according to p. 21, characterized in that the rewritable key to encode part when performing the editing process.

23. The editing device according to p. 21, characterized in that it is configured to use file attribute that contains a key for encoding the data file, and a key for encoding the portion encoded in accordance with a key stored in a file attribute.

24. Editing method that is designed for editing a data file recorded in the nonvolatile storage device that is designed to segment consistently reproducible single data file into blocks, each of which has a predetermined data length, and this non-volatile memory device has a data area that is used for recording each block together with the file attribute having a predetermined length, and a control region, designed to record the control data used to control a data file recorded in the data area that contains the steps for setting the split point the particular data file recorded in the data area; editing added file attribute and control data in accordance with the split point Fi is and data; generate a file attribute for the file data located after the point of separation; and recording control data in the control region, and write file attribute added to comes before the split point to the data file in the data area.



 

Same patents:

FIELD: digital memory technologies.

SUBSTANCE: board has rewritable power-independent memory and control circuit, means for storing address, pointing at limit between authentication area and non-authentication area, circuit for changing size of said areas. Reading device contains estimation means, reading information, pointing at number of times, for which digital data can be read, and playback means. Second device variant additionally has means for digital output of contents.

EFFECT: higher efficiency.

3 cl, 23 dwg

The invention relates to a method of recording, the control method and device for recording

The invention relates to a recording medium for recording audio and video data to the device for editing the specified data to the device for recording these data

The invention relates to programmable memory elements, to a method and device for reading, writing, and programming

The invention relates to the field of computer engineering and can be used for recording and reproducing an analog signal using a non-volatile memory

The invention relates to a circuit device with a number of electronic circuit components, which can be translated to its original state

The invention relates to a method for entering and displaying data, in particular to a method of automatically store information about the date of the first use of an electronic device after buying it

The invention relates to a method of recording in non-volatile memory and can be used in the devices performing the storing and updating of operational information in the course of their work

The invention relates to electronic engineering

The invention relates to the field of computer engineering and can be used to select optimal solutions from a number of possible options

The invention relates to a device for the treatment of cyclic shift and/or converted interleave data

FIELD: computer science.

SUBSTANCE: editing is performed for data files, which are segmented on blocks, each of which has known data length, and to which attribute file is added, having known length, while segmented blocks are recorded on energy independent memory device., method includes selecting two files of data, recorded in data area for their combination, attribute file is separated from the last data file from selected two; control data are edited recorded in control area by setting a logical link between two data files, and attribute file added to first placed file is edited; and edited control data are recorded to control area, and attribute file - to data area.

EFFECT: broader functional capabilities.

4 cl, 5 dwg

FIELD: geophysics, possible use for processing large volumes of seismic data in oil industry.

SUBSTANCE: in accordance to method and device for sorting large volumes of portions of seismic data in given order, portions of data are positioned in leaf files of B-tree structure and stored in appropriate area of temporary memory, appropriate for given leaf file. Filled leaf file is read into sorting memory area, where they are sorted in appropriate sub-order. All sorted data portions are dispensed in appropriate sub-orders for all filled leaf files in leaf order for creating final stream of output data, where data portions in their appropriate sub-orders for all filled leaf files in leaf order are positioned in given common order.

EFFECT: increased sorting efficiency for large volumes of seismic data.

3 cl, 9 dwg

FIELD: information technology.

SUBSTANCE: device for controlled rearrangement of information stored on a computer with n inputs and n outputs of control codes, n data inputs and n data outputs, includes a sorting network, each cell of which consists of a sorting network comparator with two inputs, two outputs and a control output which is connected to the control input of the transpositional element of the cell having two data inputs and two data outputs, wherein for a pair of cells whose comparators are connected to each other in accordance with the sorting network topology, a condition is met that if the output of the comparator of the first cell is connected to the input of the comparator of the second cell, then the input of the transpositional element of the first cell is connected to the output of the transpositional element of the second cell, inputs of control codes of the device are formed by inputs of comparators of input cells of the sorting network, and outputs of control codes of devices are formed by outputs of comparators of output cells of the sorting network, data inputs are formed by inputs of transpositional elements of output cells of the sorting network, and data outputs are formed by outputs of transpositional elements of input cells of the sorting network.

EFFECT: possibility of high-speed parallel conversion of formats of data blocks.

2 dwg

FIELD: physics, computer engineering.

SUBSTANCE: invention relates to data control means. The method includes detecting a data item; classifying the data item using one or more properties associated with the data item to form an associated set of classification properties, wherein said one or more properties include existing classification properties associated with the data item, wherein the data item is classified by one or more classification components; aggregating the sets of classification properties when the data item is classified by two or more classification components; applying a policy to the data item based on at least one of the set of classification properties and the aggregated sets of classification properties.

EFFECT: faster processing of data items.

20 cl, 6 dwg, 1 tbl

FIELD: physics, computer engineering.

SUBSTANCE: invention relates to computer engineering. A method of providing information support, which includes search on microcontroller specifications, RSS servers and web servers, providing context help on graphic interface elements of the software development environment, where structure is retrieved from each microcontroller specification file, and elements of said structure are merged according to predefined rules into general partitions, followed by creating an entry in a database, creating an index file, wherein the structure of the microcontroller specification and the index of its text content are stored separately on a database server and an indexation server, respectively.

EFFECT: faster process of developing microcontroller software by improving the quality and speed of providing information support to the developer.

3 cl, 1 dwg

FIELD: information technology.

SUBSTANCE: at least, two parametric coefficients are received that indicate information about the application software for a specified period. A sorting index of the application software is output as a result of the calculation based on, at least, two received parametric coefficients. The application software is sorted according to the sorting index and represent the sorted application software. Obtaining, at least, two parametric coefficients indicating information about the application software for a specified period is: obtaining a value for the number of downloads of the application software for a specified period and processing the number of downloads by multiplying the number of downloads by (1/2) T, where T is a set period of time, thus obtaining a number of downloads indicating information about the application software for a set period.

EFFECT: increasing the accuracy of the application software ranking.

16 cl, 6 dwg

FIELD: digital memory technologies.

SUBSTANCE: board has rewritable power-independent memory and control circuit, means for storing address, pointing at limit between authentication area and non-authentication area, circuit for changing size of said areas. Reading device contains estimation means, reading information, pointing at number of times, for which digital data can be read, and playback means. Second device variant additionally has means for digital output of contents.

EFFECT: higher efficiency.

3 cl, 23 dwg

FIELD: computer science.

SUBSTANCE: editing is performed for data files, which are segmented on blocks, each of which has known data length, and to which attribute file is added, having known length, while segmented blocks are recorded on energy independent memory device., method includes selecting two files of data, recorded in data area for their combination, attribute file is separated from the last data file from selected two; control data are edited recorded in control area by setting a logical link between two data files, and attribute file added to first placed file is edited; and edited control data are recorded to control area, and attribute file - to data area.

EFFECT: broader functional capabilities.

4 cl, 5 dwg

FIELD: data carriers.

SUBSTANCE: device for reproduction of data from data carrier, program zone of which is used for recording a set of files, and control zone - for controlling copy protection data concerning the file, recorded in program zone, has computer for calculating copy protection information for each time file is reproduced, comparison means for comparing value, calculated on reproduction command, being prior to current one, to value, calculated on current reproduction command, and if these values coincide, the last value is stored as copy protection value, calculated on reproduction command , prior to current one and control means for allowing reproduction of file, appropriate for current command, if value, calculated as response to command, previous relatively to current command, coincides as a result of comparison to value, calculated as a response to current command.

EFFECT: higher reliability, higher efficiency.

4 cl, 46 dwg

Up!