Recording apparatus and method

The present invention relates, for example, to a recording apparatus and method suitable for use in temporarily storing data recorded to a detachable recording medium. In step S501, a directory, recorded to an MS, to be stored is searched, and its capacity is calculated and displayed on a display screen. In step S502, a user operation is accepted to select the directory to be stored. In step S503, all files that belong to the selected directory to be stored are retrieved, and recorded to an HDD as one archive file. In step S504, the original object directory and a file name of the archive file are stored in a matching relationship with each other into the recorded archive file. In step S505, the directory which has been stored in the HDD is deleted from the MS. The present invention is suitably applied, for example, to an audio data server.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
TECHNICAL FIELD

[0001] The present invention relates to a recording apparatus and method and, more particularly, to a recording apparatus and method suitable for use in temporarily storing data recorded to a detachable recording medium.

BACKGROUND ART

[0002] For example, some of the portable devices (hereafter referred to as PDs) such as the Network Walkman (trademark), digital still cameras, digital video cameras, IC recorders, personal computers, and other electronic equipment may use detachable semiconductor memories such as the Memory Stick (hereafter referred to as MS).

[0003] One MS may be shared by some of the above-mentioned electronic devices of different types as long as its storage capacity allows. For example, one MS may be loaded in a digital still camera and, after recording image data into it, this MS may be loaded on an IC recorder to record audio data or loaded on a personal computer to record given data.

[0004] However, if one MS is shared between a plurality of electronic devices as mentioned above, the storage capacity of the MS may run short because it already stores data recorded by another device. If this happens, the data recorded by another device may be temporarily moved to another recording medium (for example, the MS may be loaded on a personal computer and the data stored in the MS may be moved to the hard disk drive of the personal computer).

[0005] This requires time and labor for the user in selecting, by using a personal computer, the data to be temporarily moved from the MS to another recording medium. It is also troublesome for the user to restore the data temporarily moved to another recording medium back to the MS.

DISCLOSURE OF INVENTION

[0006] It is therefore an object of the present invention to automate the processing of temporarily moving data formatted in a predetermine manner from an MS to another storage medium and the processing of restoring the moved data formatted in a predetermined manner from that storage medium to the MS.

[0007] The first recording apparatus according to the present invention is characterized in that it includes:

[0008] acceptance means for accepting a user operation;

[0009] search means for searching the first storage medium for a data file which is different in format from the content data;

[0010] read means for reading the data file retrieved by the search means from the first information storage medium;

[0011] storage means for storing, as an archive file, the data file read by the read means into a second storage medium which is incorporated in the recording apparatus;

[0012] deletion means for deleting the data file from the first storage medium; and

[0013] control means for controlling, in response to the user operation accepted by the acceptance means, the search means, the read means, the storage means, and the deletion means.

[0014] The search means may search for the data file which belongs to a predetermined directory in the first information storage medium as the data file which is different in format from the content data.

[0015] The first recording apparatus according to the present invention may further include decode means for decoding the content data, and the search means may search for the data file which cannot be decoded by the decode means.

[0016] The search means may search for the data file not attached with copyright information as the data file which is different in format from the content data.

[0017] The storage means may store, as one archive file, a plurality of the data files formatted in a same way read by the read means into the second information storage which is incorporated in the recording apparatus.

[0018] The first recording method according to the present invention is characterized in that it includes:

[0019] an acceptance step for accepting a user operation;

[0020] a search step for searching the first storage medium for a data file which is different in format from the content data;

[0021] a read step for reading the data file retrieved by the process of the search step from the first information storage medium;

[0022] a storage step for storing, as an archive file, the data file read by the process of the read step into a second storage medium which is incorporated in the recording apparatus;

[0023] a deletion step for deleting the data file from the first storage medium; and

[0024] a control step for controlling, in response to the user operation accepted by the process of the acceptance step, a process of the search step, a process of the read step, a process of the storage step, and a process of the deletion step.

[0025] The first program stored in the storage medium according to the present invention is characterized in that it includes:

[0026] an acceptance step for accepting a user operation;

[0027] a search step for searching the first storage medium for a data file which is different in format from the content data;

[0028] a read step for reading the data file retrieved by the process of the search step from the first information storage medium;

[0029] a storage step for storing, as an archive file, the data file read by the process of the read step into an incorporated second storage medium;

[0030] a deletion step for deleting the data file from the first storage medium; and

[0031] a control step for controlling, in response to the user operation accepted by the process of the acceptance step, a process of the search step, a process of the read step, a process of the storage step, and a process of the deletion step.

[0032] The first program according to the present invention is characterized in that it causes a computer to execute:

[0033] an acceptance step for accepting a user operation;

[0034] a search step for searching the first storage medium for a data file which is different in format from the content data;

[0035] a read step for reading the data file retrieved by the process of the search step from the first information storage medium;

[0036] a storage step for storing, as an archive file, the data file read by the process of the read step into an incorporated second storage medium;

[0037] a deletion step for deleting the data file from the first storage medium; and

[0038] a control step for controlling, in response to the user operation accepted by the process of the acceptance step, a process of the search step, a process of the read step, a process of the storage step, and a process of the deletion step.

[0039] The second recording apparatus according to the present invention is characterized in that it includes:

[0040] acceptance means for accepting a user operation;

[0041] search means for searching the first storage medium for a data file which is different in format from the content data;

[0042] read means for reading the data file retrieved by the search means from the first information storage medium;

[0043] storage means for storing, as an archive file, the data file read by the read means into a second storage medium which is incorporated in the recording apparatus;

[0044] deletion means for deleting the data file from the first storage medium; and

[0045] control means for controlling, in response to the user operation accepted by the acceptance means, the search means, the read means, the storage means, and the deletion means.

[0046] The search means may search for the data file which belongs to a predetermined directory in the first information storage medium as the data file which is different in format from the content data.

[0047] The second recording apparatus according to the present invention may further include decode means for decoding the content data, and the search means may search for the data file which cannot be decoded by the decode means.

[0048] The search means may search for the data file not attached with copyright information as the data file which is different in format from the content data.

[0049] The storage means may store, as one archive file, a plurality of the data files formatted in a same way read by the read means into the second information storage medium which is incorporated in the recording apparatus.

[0050] The third recording apparatus according to the present invention is characterized in that it includes:

[0051] acceptance means for accepting a user operation;

[0052] search means for searching a second information storage medium which is incorporated in the recording apparatus for an archive file;

[0053] read means for reading the archive file retrieved by the search means from the second information storage medium;

[0054] restoration means for restoring a data file into the first information storage medium on the basis of the archive file read by the read means;

[0055] deletion means for deleting the archive file stored in the second information storage means; and

[0056] control means for controlling, in response to the user operation accepted by the acceptance means, the search means, the read means, the restoration means, and the deletion means.

[0057] The search means may search for the archive file which belongs to a predetermined directory in the second information storage medium.

[0058] The third recording apparatus may further include decode means for decoding the content data, and the search means may search for the archive file which cannot be decoded by the decode means.

[0059] The search means may search for the archive file not attached with copyright information.

[0060] The third recording method according to the present invention is characterized in that it includes:

[0061] an acceptance step for accepting a user operation;

[0062] a search step for searching a second information storage medium which is incorporated in the recording apparatus for an archive file;

[0063] a read step for reading the archive file retrieved by the process of the search step from the second information storage medium;

[0064] a restoration step for restoring a data file into the first information storage medium on the basis of the archive file read by the process of the read step;

[0065] a deletion step for deleting the archive file stored in the second information storage medium; and

[0066] a control step for controlling, in response to the user operation accepted by the process of the acceptance step, a process of the search step, a process of the read step, a process of the restoration step, and a process of the deletion step.

[0067] The third program according to the present invention is characterized in that it causes a computer to execute:

[0068] an acceptance step for accepting a user operation;

[0069] a search step for searching an incorporated second information storage medium for an archive file;

[0070] a read step for reading the archive file retrieved by the process of the search step from the second information storage medium;

[0071] a restoration step for restoring a data file into the first information storage medium on the basis of the archive file read by the process of the read step;

[0072] a deletion step for deleting the archive file stored in the second information storage medium; and

[0073] a control step for controlling, in response to the user operation accepted by the process of the acceptance step, a process of the search step, a process of the read step, a process of the restoration step, and a process of the deletion step.

[0074] The forth recording apparatus according to the present invention is characterized in that it includes:

[0075] acceptance means for accepting a user operation;

[0076] search means for searching a second storage medium which is incorporated in the recording apparatus for an archive file;

[0077] read means for reading the archive file retrieved by the search means from the second information storage medium;

[0078] restoration means for restoring a data file into the first information storage medium on the basis of the archive file read by the read means;

[0079] deletion means for deleting the archive file stored in the second information storage medium; and

[0080] control means for controlling, in response to the user operation accepted by the acceptance means, the search means, the read means, the restoration means, and the deletion means.

[0081] The search means may search for the archive file which belongs to a predetermined directory in the second information storage medium.

[0082] The forth recording apparatus according to the present invention may further include a decode means for decoding the content data, and the search means may search for the archive file which cannot be decoded by the decode means.

[0083] The search means may search for the archive file not attached with copyright information. The fifth recording apparatus according to the present invention is characterized in that it includes:

[0084] a search block for searching an external information storage medium for particular data which are a particular attribute;

[0085] a read block for reading the particular data retrieved by the search block;

[0086] a storage controller for storing the particular data read by the read block into an internal information storage medium;

[0087] a deletion controller for deleting the particular data stored in the external information storage medium; and

[0088] a controller for automatically performing control such that, in response to a user instruction, the search block searches the external information storage medium for particular data, the read block reads the retrieved particular data, the storage controller records the particular data to the internal information storage medium, and the deletion controller deletes the particular data from the external storage medium.

[0089] The search block may search the external information storage medium for particular data managed by a particular directory.

[0090] The search block may further search the external information storage medium for particular data of which copyright is not managed.

[0091] The fifth recording apparatus according to the present invention may further include a decoder for decoding particular data, and the search block may search for particular data which cannot be decoded by the decoder.

[0092] A sixth recording apparatus according to the present invention is characterized in that it includes:

[0093] a search block for searching an internal information storage medium for particular data which are a particular attribute;

[0094] a read block for reading the particular data retrieved by the search block;

[0095] a storage controller for storing the particular data read by the read block into an external information storage medium;

[0096] a deletion controller for deleting the particular data stored in the internal information storage medium; and

[0097] a controller for automatically performing control such that, in response to a user instruction, the search block searches the internal information storage medium for particular data, the read block reads the retrieved particular data, the storage controller records the particular data to the external information storage medium, and the deletion controller deletes the particular data from the internal storage medium.

[0098] The search block may search the external information storage medium for particular data managed by a particular directory.

[0099] The search block may search the internal information storage medium for particular data of which copyright is not managed.

[0100] The sixth recording apparatus according to the present invention may further include a decoder for decoding particular data, and the search block may search for particular data which cannot be decoded.

[0101] In the first recording apparatus and method and program according to the present invention, the first information storage medium is searched for a data file formatted in a different manner from that of content data in response to a user operation, the retrieved data file is read from the first information storage medium, the read data file is stored in the incorporated second information storage medium as an archive file, and the data file stored in the first information storage medium is deleted.

[0102] In the second recording apparatus according to the present invention, the first information storage medium is searched for a data file formatted in a different manner from that of content data, the retrieved data file is read from the first information storage medium, the read data file is stored in the incorporated second information storage medium as an archive file, and the data file stored in the first information storage medium is deleted.

[0103] In the third recording apparatus and method and program according to the present invention, the incorporated second information storage medium is searched for an archive file in response to a user operation, the retrieved archive file is read from the second information storage medium, a data file is restored into the first information storage medium on the basis of the read archive file, and the archive file stored in the second information storage medium is deleted.

[0104] In the fourth recording apparatus according to the present invention, the second information storage medium is searched for an archive file in response to a user operation, the retrieved archive file is read from the second information storage medium, and a data file is restored into the first information storage medium on the basis of the read archive file, and the archive file stored in the second information storage medium is deleted.

[0105] In the fifth recording apparatus according to the present invention, control is automatically performed such that an external information storage medium is searched for particular data in response to a user instruction, the retrieved particular data are read, the particular data are recorded to an internal information storage medium, and the particular data are deleted from the external information storage medium.

[0106] In the sixth recording apparatus according to the present invention, control is automatically performed such that an internal information storage medium is searched for particular data in response to a user instruction, the retrieved particular data are read, the particular data are stored in an external information storage medium, and the particular data are deleted from the internal information storage medium.

BRIEF DESCRIPTION OF DRAWINGS

[0107] FIG. 1 is a schematic diagram illustrating an overview of an audio server 1 practiced as one embodiment of the invention.

[0108] FIG. 2 is an external view of the audio server 1.

[0109] FIG. 3 is a top view of the audio server 1.

[0110] FIG. 4 is a rear view of the audio server 1.

[0111] FIG. 5 is an elevational view of the audio server 1.

[0112] FIG. 6 is a block diagram illustrating an exemplary hardware configuration of the audio server 1.

[0113] FIG. 7 is a diagram illustrating firmware which is executed by the audio server 1.

[0114] FIG. 8 is a diagram illustrating a FAT file system (data format) applied to a HDD 58.

[0115] FIG. 9 is a diagram illustrating a logical structure of a file recording area 121.

[0116] FIG. 10 is a diagram illustrating a configuration of a FAT 141.

[0117] FIG. 11 is a diagram illustrating one example of the FAT 141.

[0118] FIG. 12 is a diagram illustrating an exemplary record of a file recording area 121.

[0119] FIG. 13 is a diagram illustrating a structure of a size recording area 151.

[0120] FIG. 14 is a flowchart describing a file creating process.

[0121] FIG. 15 is a flowchart describing a free cluster retrieving process.

[0122] FIG. 16 is a flowchart describing FAT entry reading process.

[0123] FIG. 17 is a flowchart describing a linking process.

[0124] FIG. 18 is a flowchart describing a file X reading process.

[0125] FIG. 19 is a flowchart describing a file X searching process.

[0126] FIG. 20 is a flowchart describing a file X reverse reading process.

[0127] FIG. 21 is a diagram illustrating a logical structure of an object recording area 122.

[0128] FIG. 22 is a diagram illustrating a structure of an object type recording area 163.

[0129] FIG. 23 is a diagram illustrating an area information recording area 164.

[0130] FIG. 24 is a diagram illustrating an object managing block 124.

[0131] FIG. 25 is a diagram illustrating a session managing information 181.

[0132] FIG. 26A is a diagram illustrating a basic object type 1.

[0133] FIG. 26B is a diagram illustrating a basic object type 2.

[0134] FIG. 27 is a diagram illustrating a structure an object identifier.

[0135] FIG. 28 is a flowchart describing an object creating process.

[0136] FIG. 29 is a flowchart describing a session opening process.

[0137] FIG. 30 is a flowchart describing a free entry allocating process.

[0138] FIG. 31 is a flowchart describing a write session establishing process.

[0139] FIG. 32 is a flowchart describing a session discarding process.

[0140] FIG. 33 is a flowchart describing an object searching process.

[0141] FIG. 34 is a flowchart describing an entry retrieving process.

[0142] FIG. 35 is a flowchart describing an object updating process.

[0143] FIG. 36 is a flowchart describing a stream object creating process.

[0144] FIG. 37 is a flowchart describing a stream object searching process.

[0145] FIG. 38 is a diagram illustrating an object directory structure.

[0146] FIG. 39 is a diagram illustrating a folder list object format.

[0147] FIG. 40 is a diagram illustrating a folder object format.

[0148] FIG. 41 is a diagram illustrating an album object format.

[0149] FIG. 42 is a diagram illustrating a track object format.

[0150] FIG. 43 is a diagram illustrating details of AC of a track object.

[0151] FIG. 44 is a diagram illustrating a content data format.

[0152] FIG. 45 is a diagram illustrating a CC object format.

[0153] FIG. 46 is a diagram illustrating a CC data format.

[0154] FIG. 47 is a diagram illustrating a data flow at a time when CD ripping is executed.

[0155] FIG. 48 is a diagram illustrating a data flow at a time when CD recording is executed.

[0156] FIG. 49 is a diagram illustrating a data flow at a time when HD recording for digital input is executed.

[0157] FIG. 50 is a diagram illustrating a data flow at a time when HD recording for analog input is executed.

[0158] FIG. 51 is a diagram illustrating a data flow at a time when HD play is executed.

[0159] FIG. 52 is a diagram illustrating a data flow at a time when CD play is executed.

[0160] FIG. 53A is a diagram illustrating a data flow at a time when MS play is executed.

[0161] FIG. 53B is a diagram illustrating a data flow at a time when MS play is executed.

[0162] FIG. 54 is a diagram illustrating a data flow at a time when MS check-out/move-out is executed.

[0163] FIG. 55 is a diagram illustrating a data flow at a time when MS import/move-in is executed.

[0164] FIG. 56 is a diagram illustrating a data flow at a time when a PD check-out is executed.

[0165] FIG. 7 is a diagram illustrating CD ripping.

[0166] FIG. 58 is a diagram illustrating CD recording.

[0167] FIG. 59 is a diagram illustrating the partitioning of a buffer 56 in CD ripping or CD recording.

[0168] FIG. 60 is a diagram illustrating buffer transition states.

[0169] FIG. 61 is a diagram illustrating a ring buffer 241 arranged in a HDD 58.

[0170] FIG. 62 is a diagram illustrating a data flow between buffers at the time of CD ripping.

[0171] FIG. 63 is a flowchart describing a recording speed setting process.

[0172] FIG. 64 is a flowchart describing a CD recording process.

[0173] FIG. 65 is a flowchart describing a ring buffer information initializing process.

[0174] FIG. 66 is a flowchart describing a recording process for one piece of music.

[0175] FIG. 67 is a flowchart describing a monitor sound outputting process.

[0176] FIG. 68 is a flowchart describing a ring buffer writing process.

[0177] FIG. 69 is a flowchart describing a ring buffer reading process.

[0178] FIG. 70A is a diagram illustrating an exemplary display on a display 15 at a time when music to be recorded is set.

[0179] FIG. 70B is a diagram illustrating an exemplary display on the display 15 when recording is on.

[0180] FIG. 71 is a diagram illustrating the setting of a playback area.

[0181] FIG. 72 is a diagram illustrating an exemplary play list.

[0182] FIG. 73 is a diagram illustrating another exemplary play list.

[0183] FIG. 74 is a diagram illustrating still another exemplary play list.

[0184] FIG. 75 is a diagram illustrating yet another exemplary play list.

[0185] FIG. 76 is a flowchart describing a play list creating process.

[0186] FIG. 77 is a flowchart describing an all music repeat playback process.

[0187] FIG. 78 is a flowchart describing a move-out process.

[0188] FIG. 79 is a diagram illustrating a move-out processing state transition.

[0189] FIG. 80 is a diagram illustrating an exemplary display on the display 15 at the time of a move-out process.

[0190] FIG. 81 is a diagram illustrating an exemplary display on the display 15 at the time of a move-out process.

[0191] FIG. 82 is a flowchart describing a move-in process.

[0192] FIG. 83 is a diagram illustrating a move-in process state transition.

[0193] FIG. 84 is a diagram illustrating an exemplary display on the display 15 at the time of a move-in process.

[0194] FIG. 85 is a diagram illustrating another exemplary display on the display 15 at the time of a move-in process.

[0195] FIG. 86 is a flowchart describing a restore process.

[0196] FIG. 87 is a flowchart describing a move-out restore process.

[0197] FIG. 88 is a flowchart describing a move-in restore process.

[0198] FIG. 89 is a flowchart describing a check-out process.

[0199] FIG. 90 is a diagram illustrating an exemplary display on the display 15 at the time of a check-out process.

[0200] FIG. 91 is a diagram illustrating another exemplary display on the display 15 at the time of a check-out process.

[0201] FIG. 92 is a flowchart describing a check-in process.

[0202] FIG. 93 is a diagram illustrating an exemplary display on the display 15 at the time of a check-in process.

[0203] FIG. 94 is a flowchart describing an exchanging process.

[0204] FIG. 95 is a diagram illustrating an exemplary display on the display 15 at the time of an exchanging process.

[0205] FIG. 96 is a diagram illustrating another exemplary display on the display 15 at the time of an exchanging process.

[0206] FIG. 97 is a diagram illustrating still another exemplary display on the display 15 at the time of an exchanging process.

[0207] FIG. 98 is a block diagram illustrating an exemplary hardware configuration of a PD 5.

[0208] FIG. 99 is a diagram illustrating the types of directories and files recorded on an MS 4.

[0209] FIG. 100 is a diagram illustrating archive file recording positions.

[0210] FIG. 101 is a flowchart describing storing process.

[0211] FIG. 102 is a diagram illustrating an exemplary display on the display 15 at the time of a storing process.

[0212] FIG. 103 is a diagram illustrating another exemplary display on the display 15 at the time of a storing process.

[0213] FIG. 104 is a diagram illustrating still another exemplary display on the display 15 at the time of a storing process.

[0214] FIG. 105 is a flowchart describing a restoring process.

[0215] FIG. 106 is a diagram illustrating an exemplary display on the display 15 at the time of restoring process.

[0216] FIG. 107 is a diagram illustrating another exemplary display on the display 15 at the time of restore process.

[0217] FIG. 108 is a diagram illustrating an area configuration of a flash ROM shown in FIG. 6.

[0218] FIG. 109 is a flowchart describing a program rewriting process.

[0219] FIG. 110 is a flowchart describing a boot program process.

BEST MODE FOR CARRYING OUT THE INVENTION

[0220] Now, with reference to FIG. 1, an audio server practiced as one embodiment of the invention will be outlined below. An audio server 1 reads PCM (Pulse Code Modulation) data from a music CD 3, encodes the PCM data based on the ATRAC (Adaptive Transform Acoustic Coding) 3 technique, records the encoded data to a hard disk drive 58 (FIG. 6), and manages the recorded encoded data by relating them with hierarchical objects such as, from the higher layer, folder list, folder, album, and track.

[0221] The folder list can include a plurality of folders at a layer one step below. Each folder can include a plurality of albums at a layer one step below. Each album can include a plurality of tracks at a layer one step below. Each track located at the bottom layer of this hierarchical structure corresponds to the encoded data for one piece of music, one to one.

[0222] In what follows, encoded data are also referred to as content data. Each of the folder list, folders, albums, and tracks is also referred to as an object. Each user specifies any of these objects and issues a variety of commands to the specified objects. It should be noted that the details of the hierarchical structure of the objects will be described later with reference to FIG. 38.

[0223] The audio server 1 also plays back the music CD 3 or decodes the encoded data recorded to the hard disk drive (hereafter referred to as an HDD) 58 to output obtained audio signals from a speaker 2.

[0224] In addition, the audio server 1 records the encoded data recorded to the HDD 58 to a Memory Stick (trademark) (hereafter referred to as an MS 4) compatible with the Magic Gate (trademark) loaded in an MS slot 45 (FIG. 5) or a portable device (hereafter referred to as a PD) 5 such as the Network Walkman (trademark) connected to a connector 43 (FIG. 5) by a check-out or check-in process and, at the same time, records the encoded data recorded to the MS 4 or the PD 5 to the HDD 58 by a check-in or check-out process or an import process.

[0225] The Magic Gate is a data copyright protection technology based on two technologies of encrypting data to be recorded to the MS 4 compatible with the Magic Gate and cross-certifying the audio server 1 on which MS 4 is loaded, thereby preventing digital audio data from being copied, played back, and tampered in an unauthorized manner. The Magic Gate is compliant with the SDMI (Secure Digital Music Initiative) standard.

[0226] It should be noted that a check-out process, a check-in process, a move-out process, a move-in process, and an import process to be executed between the audio server 1 and the MS 4 or the PD 5 will be described later.

[0227] The MS 4 recorded with encoded data is detached from the audio server 1 and loaded, for example, in a personal computer 6, upon which the recorded encoded data are read to be decoded.

[0228] The PD 5 recorded with encoded data decodes them and outputs resultant audio signal from a headphone.

[0229] A remote controller 7 receives an operation signal from the user and transmits a corresponding control signal to the audio server 1.

[0230] The following describes an external view of the audio server 1 with reference to FIGS. 2 through 5. FIG. 2 is an elevational view of the audio server 1. FIG. 3 is a top view of the audio server 1. FIG. 4 is a rear view of the audio server 1. FIG. 5 is a top view.

[0231] On top of the audio server 1, a cover 40 of a CD tray (not shown) on which a CD is loaded is provided. As shown in FIG. 3, the cover 40 is arranged with buttons such as a power button 11 and a display 15 for displaying various kinds of information. The power (POWER) button 11 is operated to turn on/off the power to the audio server 1. A function (FUNCTION) button 12 is operated to select, as a source, one of the music CD 3, HDD 58, an AUX IN terminal 31, the MS 4, and the PD 5.

[0232] A play mode (PLAY MODE) button 13 is operated to switch the playback mode to normal playback in which all tracks included in a playback area are played back each once sequentially, all-music repeat in which all tracks included in the playback area are repetitively sequentially played back, single-music repeat in which only one track is repetitively played back, random repeat in which random selection is performed on all tracks included in the playback area and the selected tracks are repetitively played back at random, or slot machine playback in which an animation indicative of random section of all tracks included in the entire HDD is displayed and the selected tracks are repetitively selected. The playback area will be described later with reference to FIG. 71.

[0233] A display (DISPLAY) button 14 is operated to switch between the display contents of the display 15. The display 15, which is constituted by an LCD (Liquid Crystal Display) for example, displays operational situations and information associated with audio data.

[0234] A volume (VOLUME) button 16 is operated to increase or decrease the volume to be outputted. A cursor button 17 is operated to move the cursor displayed on the display 15. A select (SELECT) button 18 is operated to select an object displayed on the display 15 or switch between ascending order and descending order in a search operation. An erase (ELASE) button 19 is operated to erase an object such as a track.

[0235] An enter (ENTER) button 20 is operated to determine a displayed menu or an object such as a selected track. A menu/cancel (MENU/CANCEL) button 21 is operated to display various operator menus hierarchically arranged or cancel the display. An exchange (EXCHANGE) button 22 is operated to automatically perform check-in process or check-out process on the MS 4 or the PD 5.

[0236] A record (RECORD) button 23 is operated to record the audio data in the music CD 3 to the HDD 58 while playing them. A high-speed record (HI SPEED RECORD) button 24 is operated to record the audio data in the music CD 3 to the HDD 58 in a high-speed record mode. It should be noted that, in this high-speed record mode, the audio data to be recorded are audibly outputted from the speaker 2 for example.

[0237] A stop button 25 is operated to stop an on-going play or recording operation. A play/pause button 26 is operated to start playback, pause playback, or clear pause of playback. A cue button 27 is operated to cue to a current track or any of preceding tracks or cause rewind and play. A cue button 28 is operated to cue to a next track or cause fast forward and playback.

[0238] It should be noted that, although not shown, the remote controller 7 has buttons which are functionally equivalent to the buttons such as the power button 11 disposed on the cover 40.

[0239] On the rear side of the audio server 1, the AUX In terminal 31, a Line Out terminal 32, a sub woofer terminal 33, a speaker (L, R) terminal 34, a reset button 35, and a DC In terminal 36 are disposed.

[0240] The AUX In terminal 31 can connect the audio server 1 to audio output equipment (not shown) and input the digital audio data or analog sound signal from the connected audio output equipment into the audio server 1. The Line Out terminal 32 can connect the audio server 1 to an amplifier (not shown) for example and output analog sound signals to the connected amplifier. The sub woofer terminal 33 can connect the audio server 1 to a sub woofer (not shown) and output the low frequency component of a reproduced sound signal to the connected sub woofer. The speaker (L, R) terminal 34 can connect the audio server 1 to the speaker 2 and output reproduced sound signals therefrom. The reset button 35 is operated to reset the audio server 1. To the DC In terminal 36, the DC power is supplied from an AC power adaptor (not shown).

[0241] On the front of the audio server 1, an open lever 41, a photoreceptor 42, the connector 43, an access light 44, the MS slot 45, an eject lever 46, and a headphone terminal 47 are disposed as shown in FIG. 5. The open lever 41 is slid to open the cover 40. The photoreceptor 42 receives control signals transmitted from the remote controller 7. The connector 43 has a USB (Universal Serial Bus) terminal to which the PD 5, an external HDD, or a keyboard for example may be connected by use of a USB cable.

[0242] It should be noted that the connector 43 may have an IEEE 1394 terminal to which the PD 5 for example may be connected by use of an IEEE 1394 cable. Alternatively, a connector compliant with Bluetooth (trademark) or IEEE 802.11b (so-called wireless LAN) may be provided to connect the PD 5 for example in a wireless manner.

[0243] The access light 44 blinks when a data read/write operation is being executed on the MS 4 loaded in the MS slot 45 or the PD 5 connected to the connector 43 for example. The MS slot 45 is loaded with the MS 4. The eject lever 46 is operated to eject the MS 4 from the MS slot 45. The headphone 47 is connected to a headphone and output reproduced sound signals therefrom.

[0244] The following describes an exemplary hardware configuration of the audio server 1 with reference to FIG. 6. The audio server 1 incorporates a main CPU (Central Processing Unit) 51 which controls the audio server 1 in its entirety. The main CPU 51 is connected to a flash ROM 52, an SDRAM 53, a USB host controller 54, a DMA controller 55, a signal processor 60, an Ethernet (trademark) controller/connector 67, and a PCMCIA controller 68 via a bus line 66.

[0245] When flash ROM 52 stores a device ID and an encryption key in addition to an RTOS (Real Time Operating System) 71 (FIG. 7) of which starting is completed by the CPU 51 as soon as the power is turned on and the firmware (to be described later with reference to FIG. 7) which is executed on the RTOS 71 for implementing a variety of functions.

[0246] The SDRAM (Synchronous Dynamic Random Access Memory) 53 temporarily stores predetermined data and programs when the main CPU 51 executes a variety of processes. The USB host controller 54 controls the data communication with the PD 5 for example connected via the connector 43.

[0247] The DMA (Direct Memory Access) controller 55 controls the data transfer between the HDD 58 a buffer 56, a CD-ROM drive 57 and an encoder/decoder 59. The buffer 56 based on SDRAM for example temporarily buffers the data of which transfer is controlled by the DMA controller 55. The CD-ROM drive 57 reads audio data from the music CD 3 at the speed of CAV8. The HDD 58 stores the encoded data generated by the encoder/decoder 59.

[0248] The encoder/decoder 59 encodes the PCM data read by the CD-ROM drive 57 or the audio data inputted from the AUX In terminal 31 at a maximum speed of 8× and an average speed of 5× by use of the ATRAC3 technique of 132 Kbps mode, 105 Kbps mode, or 66 Kbps mode, thereby generating encoded data. Also, the encoder/decoder 59 decodes the encoded data stored in the HDD 58. In addition, the encoder/decoder 59 has the DES (Data Encryption Standard) engine to encrypt the encoded data by use of an encryption key to be generated on the basis of the device ID of a predetermined component of the audio server 1 and a time.

[0249] For example, if the HDD 58 has a storage capacity of 9 gigabytes and the encoder/decoder 59 encodes by the ATRAC3 technique of 105 Kbps mode, about 100 music CDs 3 (60 minutes/disc) may be recorded to the HDD 58.

[0250] The signal processor 60 is composed of a Magic Gate Memory Stick interface (hereafter referred to as an MGMS I/F) 60-1, a watermark screen (hereafter referred to as a WM screen) 60-2, an audio I/F 60-3, and a sampling rate converter (hereafter referred to as an SRC) 60-4.

[0251] The MGMS I/F 60-1 cross-certificates the MS 4 loaded in the MS slot 45 via an MS connector 61 and accordingly encrypts the data and decrypts the encrypted data. The WM screen 60-2 detects an SDMI-compliant watermark (an electronic watermark or the information indicative of the permission or inhibition of copy) embedded in the audio data that pass the signal processor 60.

[0252] The audio I/F 60-3 gets digital audio data via the AUX In terminal 31 and supplies the obtained data to the SRC 60-4. Also, the audio interface 60-3 appropriately buffers the digital audio data transferred from the buffer 56 for example into an incorporated buffer 251 (FIG. 62) and then outputs the buffered data to an AD/DA 62.

[0253] The SRC 60-4 converts the sampling rate of the digital audio data from the audio I/O 60-3 into 44.1 KHz and outputs the resultant digital audio data to the encoder/decoder 59.

[0254] It should be noted that, although not shown, the signal processor 60 also incorporates an ATRAC3 encoder/decoder which operates at a speed of 1×.

[0255] The MS connector 61 relays the data communication between the MS 4 inserted therein and the MGMS I/F 60-1. The AD/DA 62 converts the digital audio data inputted from the audio I/F 60-3 of the signal processor 60 into an analog sound signal and outputs it to the Line Out terminal 32, the speaker terminal 34, or the headphone terminal 47. The AD/DA 62 also digitize the analog sound signal inputted from the AUX In terminal 31 to output a resultant digital signal to the encoder/decoder 59.

[0256] The Ethernet controller/connector 67 controls the data communication with other electronic equipment connected via Ethernet (trademark). The PCMCIA (Personal Computer Memory Card International Association) controller 68 has an IC card interface compliant with the PCMCIA standard.

[0257] The main CPU 51 is connected to a display driver 63 and a sub CPU 64. The display driver 63 controls a display operation performed on the display 15. The sub CPU 64 controls, especially when the power is off, a power supply section 65, controls a main frame reset operation, counts an incorporated clock, detects an operation performed on the power button 11 for example, controls the photoreceptor 42, and controls the AD/DA 62. The power supply section 65 converts the DC voltage supplied from the DC In terminal 36 into a predetermined voltage and supplies it to the audio server 1 in its entirety.

[0258] The following describes, with reference to FIG. 7, the firmware which the main CPU 51 reads from the flash ROM 52 to actually execute the functions of the audio server 1 which are described below. It should be noted that the functions of the audio server 1 include CD ripping, CD recording, HD recording (digital input), HD recording (analog input), HD play, CD play, MS play, check-out/check-in, import, and move-out/move-in for example, their details and relationship with the firmware being described later with reference to FIGS. 47 through 56.

[0259] The firmware has four layers, namely, an application layer (APP) 72, an upper-middleware layer (UMW) 73, a lower-middleware layer (LMW) 74, and a device driver layer (DD) 75.

[0260] The application layer 72 includes a main application (hereafter referred to as a main APP) 76, a hard disk application (hereafter referred to as an HD APP) 77, a CD application (hereafter referred to as a CD APP) 78, a Memory Stick application (hereafter referred to as an MS APP) 79, a portable device application (hereafter referred to as a PD APP) 80, and a front-end processor (hereafter referred to as an FEP) 81.

[0261] Each module of the application layer 72 requests the corresponding module of the upper-middleware layer 73 in accordance with the user operation associated with a function executable by the audio server 1 and provides a user interface by controlling the display of processing situations.

[0262] The main APP 76 controls each module of the application layer 72. For example, at the time of starting up, the main APP 76 creates a startup screen to start up each module. In response to a user operation transmitted from an input middleware 97, main APP 76 notifies the corresponding module thereof. The main APP 76 supplies the display data from each module to a display device driver 105. The main APP 76 executes switching between modules. In response to a volume change operation done by the user, the main APP 76 notifies an audio 10 middleware (AIO) 94. In response to a setup operation done by the user, the main APP 76 notifies each module of settings. The main APP 76 holds the setting information (play mode for example) common to the modules. In response to a power-off operation, the main APP 76 ends each module and requests a system control middleware (SYSTEM) 98 for a power-off sequence.

[0263] Upon reception of a HDD 58 driving operation, the HD APP 77 notifies a hard disk middleware 82 thereof and gets an operation state of the hard disk middleware 82 to generate display data.

[0264] Upon reception of a CD-ROM drive 57 driving operation, the CD APP 78 notifies a CD middleware 88 thereof and gets an operation state of the CD middleware 88 to generate display data.

[0265] Upon reception of an operation associated with the MS 4 loaded in the MS slot 45, the MS APP 79 notifies the MS middleware 89 thereof and gets an operation state of the MS middleware 89 to generate display data.

[0266] Upon reception of an operation associated with the PD 5 connected to the connector 43, the PD APP 80 notifies a PD middleware 90 thereof and gets an operation state of the PD middleware 90 to generate display data.

[0267] The FEP 81 executes kana-kanji conversion when inputting the title, for example, of the music CD 3 to be recorded.

[0268] The upper-middleware layer 73 is composed of the following modules obtained by modeling the functions of the audio server 1. Namely, the upper-middleware layer 73 includes the hard disk middleware (hereafter referred to as an HD MW) 82, the CD middleware (hereafter referred to as a CD MW) 88, the MS middleware (hereafter referred to as an MS MW) 89 and the PD middle ware (hereafter referred to as a PD MW) 90.

[0269] The HD MW 82 is composed of an HDCC 83 which manages the encoded data stored in the HDD 58, a CD RIPPING 84 which compresses and encrypts the audio data stored the music CD 3 in cooperation with the CD MW 88 to record the resultant data to the HDD 58, an HD PLAY 85 which decrypts and decompresses the encoded data stored in the HDD 58 in cooperation with the audio 10 middleware 94, an HD REC 86 which compresses and encrypts the audio data inputted from the AUX In terminal 31 in cooperation with the audio 10 middleware 94, and a C IN/C OUT 87 which controls the check-in and check-out operations with the MS 4 or the PD 5 in cooperation with the MS MW 89 or the PD MW 90.

[0270] The CD MW 88 realizes a function as a CD player by causing the CD device driver 102 to control the CD-ROM drive 57. The MD MW 89 realizes a function as an MS player in cooperation with an audio 10 middleware 94 and an MS file system middleware 95. The PD MW 90 controls the PD 5 in cooperation with an USB host middleware 96 and a USB host device driver 104.

[0271] The lower-middleware layer 74 includes the following modules obtained by modeling the functions which can be shared by the modules of the upper-middleware layer 73, namely, a hard disk object database middleware (hereafter referred to as an HD DB) 91, a hard disk file system middleware (hereafter referred to as an HD FS) 92, an MGR middleware (MGR) 93, the audio IO middleware (AIO) 94, the Memory Stick File System Middleware (MS FS) 95, the USB host middle ware (USB) 96, the input handle middleware (INPUT) 97, and the system control middleware (SYSTEM) 98. Each module constituting the lower-middleware layer 74 is called by each module constituting the upper-middleware layer 73.

[0272] The device driver layer (DD) 75 includes the following modules which are obtained by modeling hardware devices, namely, a hard disk device driver 99, a decoder/encoder device driver 100, a DMA device driver 101, a CD device driver 102, a signal processor device driver 103, a USB host device driver 104, a display device driver 105, an audio device driver 106, a key device driver 107, a power device driver 108, and a clock device driver 109. It should be noted that, in FIG. 7, the audio device driver 106 through the clock device driver 109 enclosed by dashed lines are executed by the sub CPU 64. Each module is constituted mainly by libraries, its API (Application Program Interface) being called by each module included in the upper-middleware layer 73 or the lower-middleware layer 74.

[0273] The following describes a FAT (File Allocation Table)-type file system (data format) applied to the HDD 58 with reference to FIGS. 8 through 20. As shown in FIG. 8, the HDD 58 has a file recording area 121 for recording encoded data (content data) as a file and an object recording area 122 for recording an object including the information for identifying a position at which the content data recorded to the file recording area 121 are recorded.

[0274] A file managing block 123 executes all file-associated processes such as file creation, issuance of ID to newly created file, and read, write and delete operations on the file recording area 121. The file managing block 123 is equivalent to the HD FS 92 included in the lower-middleware layer 74.

[0275] An object managing block 124 recognizes the physical location of an object in the object recording area 122 and executes object write, read, and delete operations. The object managing block 124 is equivalent to the HD DB 91 included in the lower-middleware layer 74. It should be noted that the management of objects by a database will be described later with reference to FIGS. 21 through 37.

[0276] FIG. 9 shows a logical structure of the file recording area 121. The file recording area 121 is divided into sectors having a predetermined capacity, which is the minimum unit of writing and reading in the file recording area 121. Each sector is assigned with a serial sector number. The file recording area 121 is formed by a FAT area, a system area, and a plurality of clusters, configured by the predetermined number of sectors. Each cluster is assigned with a cluster number having a fixed length. Each file to be recorded in the file recording area 121 is formed by a plurality of interlinked clusters.

[0277] The linking relationship between the clusters is recorded to a table called a FAT 141 (FIG. 10). The FAT 141 is recorded in the FAT area of the file recording area 121 and, when the file managing block 123 operates, transferred to the SDRAM 53.

[0278] FIG. 10 shows a structure of the FAT 141. The FAT 141 is configured by a FAT header 142 and a plurality of FAT entries 144 corresponding to the clusters respectively. The header 142 includes a free cluster list start number recording area 143. The start cluster numbers of the sequence of free clusters recording no data are recorded to the free cluster list start number recording area 143. If there is no free cluster, −1=0xFFFFFFFF is recorded to the free cluster list start number recording area 143.

[0279] Each FAT entry 144 is assigned with the entry number which is the same number as the cluster number assigned to the corresponding cluster. For example, the FAT entry corresponding to cluster number 1 is assigned with entry number 1. In what follows, the FAT entry having entry number 1 is also written as FAT entry E(1). The FAT entry 144 is divided into column P 145 and column N 146.

[0280] To the P column 145 of the FAT entry 144, the cluster number assigned to the cluster linked before the corresponding cluster is recorded. If there is no cluster to be linked before, namely, if the corresponding cluster is located at the head of the file, 0xFFFFFFFF is recorded to the P column 146.

[0281] To the N column 146 of the FAT entry 144, the cluster number assigned to the cluster linked after the corresponding cluster is recorded. If there is no cluster linked after, namely, if the corresponding cluster is located at the end of the file, 0xFFFFFFFF is recorded to the N column 146.

[0282] For example, if only one cluster is recorded to five clusters having cluster numbers 1, 5, 6, 8, and 12 in the file recording area 121, then, as shown in FIG. 11, 0xFFFFFFFF indicative of that there is no cluster to be linked before is recorded to column P of FAT entry E(1) of entry number 1 (0x00000001) and cluster number 5 (0xFFFFFFFF) is assigned to the cluster linked after is recorded to column N.

[0283] To column P of FAT entry E(5) of entry number 5 (0x00000005), cluster number 1 (0x00000001) assigned to the cluster linked before is recorded and, to column N, cluster number 6 (0x00000006) assigned to the cluster linked after is recorded.

[0284] The like recording is performed to the FAT entries E(6) and E(8) of entry numbers 6 and 8.

[0285] To column P of FAT entry E(12) of entry number 12 (0x00000000C), cluster number 8 (0x00000008) assigned to the cluster linked before is recorded and, to column N, 0xFFFFFFFF indicative of that there is no cluster linked after is recorded.

[0286] In this case, a sequence of clusters from cluster number (0x00000002) to cluster number (0x00000014) are free clusters, so that the cluster number (0x00000002) indicative of its head is recorded to the free cluster list start number recording area 143.

[0287] FIG. 12 shows a manner in which one file is recorded to five clusters assigned with cluster numbers 1, 5, 6, 8, and 12. The file start cluster (in this case, cluster 1) has a size recording area 151 for recording information associated with file size. The data contained in this file are recorded to the second (in this case, cluster 5) and subsequent clusters. It should be noted that the size recording area 151 may be arranged in the cluster at the end of file (in this case, cluster 12).

[0288] FIG. 13 shows an exemplary configuration of the size recording area 151. The size recording area 151 has a valid size recording area 152, a last cluster number recording area 153, and an occupied cluster count recording area 154. To the valid size recording area 152, the number of valid bytes of the end cluster (in this case, cluster 12) is recorded. Normally, its value is 1 or more, a value below cluster size being recorded. To the last cluster number recording area 153, the cluster number (in this case, 0x0000000C) of the end cluster (in this case, cluster 12) is recorded. To the occupied cluster count recording area 154, the number of clusters forming the data recording portion of file (in this case, 4) is recorded.

[0289] The following describes a file creating process (namely, a content data recording process), a file reading process, and a file reserve reading process (namely, a process of reading content data in reverse direction), which use FAT, with reference to the flowcharts shown in FIGS. 14 through 20. It should be noted that these processes are controlled by the HD FS 92 belonging to the file managing block 123, namely the lower-middleware layer 74.

[0290] First, the file creating process will be described with reference to the flowchart shown in FIG. 14. In step S1, the HD FS 92 transfers the content data to be recorded to the HDD 58 from the CD-ROM drive 57 for example to the buffer 56 on a cluster size basis (let the data amount transferred be S bytes). In step S2, the HD FS 92 searches the file recording area 121 for free clusters and retrieves (or allocates) them.

[0291] This free cluster retrieving process will be described with reference to the flowchart shown in FIG. 15. In step S21, the HD FS 92 reads value Q recorded to the free cluster list start number recording area 143 recorded to the FAT header 141. In step S22, the HD FS 92 determines whether or not value Q is −1, namely, whether there is no free cluster. If value Q is not −1, namely, if there is a free cluster, then the procedure goes to step S23. In step S23, the HD FS 92 reads FAT entry E(Q) corresponding to value Q (the cluster number of the free cluster).

[0292] The following describes a process of reading FAT entry E(X) corresponding to given cluster number X in relation to the process of reading FAT entry E(Q) with reference to the flowchart shown in FIG. 16. In step S41, the HD FS 92 adds a known FAT header size to a known FAT entry start address and then adds a product obtained by multiplying a value obtained by subtracting 1 from value X (X−1) by a known entry size, thereby computing address A. In step S42, the HD FS 92 reads the data by one entry size with address A as the start address. This is the process of reading FAT entry E(X) corresponding to given cluster number X.

[0293] Returning to FIG. 15, the HD FS 92 determines whether or not the value of column N of FAT entry E(Q) is −1 (0xFFFFFFFF) in step S24. If the value of column N of FAT entry E(Q) is not −1, then the procedure goes to step S25.

[0294] In step S25, the HD FS 92 substitutes the value of column N of FAT entry E(Q) into variable M. In step S26, the HD FS 92 reads FAT entry E(M) corresponding to cluster number M. In step S27, the HD FS 92 records −1 (0xFFFFFFFF) to column P of FAT entry E(M).

[0295] In step S28, the HD FS 92 records −1 (0xFFFFFFFF) to column N of FAT entry E(Q) and −1 (0xFFFFFFFF) to column P of FAT entry E(Q). In step S29, the HD FS 92 returns to FIG. 14 because there is a free cluster of cluster number Q. This is the process of free cluster retrieval.

[0296] It should be noted that, in step S24, if the value of column N of FAT entry E(Q) is found −1, the processes of steps S25 through S27 are skipped.

[0297] If value Q recorded to the free cluster list start number recording area 143 is found −1 in step S22, then the procedure goes to step S30. In step S30, the HD FS 92 returns to FIG. 14 because there is no free cluster. It should be noted that, if no free cluster is found, it is regarded that the HDD 58 is full, and the file creating process shown in FIG. 14 comes to an end.

[0298] In what follows, the description will be continued by reading the retrieved free cluster having cluster number Q as the free cluster having cluster number V. In step S3, the HD FS 92 substitutes cluster number V of free cluster into variables X and A. In step S4, the HD FS 92 substitutes 0 into occupied cluster count T. In step S5, the HD FS 92 retrieves a new free cluster in the same manner as the above-mentioned process of step S2. Let the cluster number of the retrieved free cluster be V. If no new free cluster is retrieved, this file creating process comes to an end.

[0299] In step S6, the HD FS 92 substitutes value V into variable B. In step S7, the HD FS 92 increments occupied cluster count T by 1. In step S8, the HD FS 92 converts cluster number B into sector numbers (for example, if sectors are related to clusters as shown in FIG. 9, cluster number 2 is converted into sector numbers 28 through 35). Sector numbers corresponding to cluster number B are determined. In step S9, the HD FS 92 records the content data buffered in step S1 to the converted sector numbers in the file recording area 121.

[0300] After the recording of the buffered content data has ended, the HD FS 92 links the cluster of cluster number B to the cluster of cluster number A (at this point of time, this cluster is a free cluster) in step S10. The following describes this linking process with reference to the flowchart of FIG. 17.

[0301] In step S51, as with the above-mentioned process described with reference to FIG. 16, the HD FS 92 reads FAT entry E(A) corresponding to cluster number A and, in step S52, reads FAT entry E(B) corresponding to cluster number B. In step S53, the HD FS 92 records cluster number B to column N of FAT entry E(A) and cluster number A to column P of FAT entry E (B). It should be noted that the process of step S53 is executed on the FAT 141 developed in the SDRAM 53. This is the process of linking the cluster having cluster number A and the cluster having cluster number B.

[0302] Returning to FIG. 14, in step S11, the HD FS 92 determines whether or not data amount S of the content data recorded in step S9 is equal to the cluster size. If data amount S of the content data recorded in step S9 is found equal to the cluster size, then it indicates that the recording of the content data to be recorded has not completed, so that the procedure goes to step S12.

[0303] In step S12, the remaining portion of the content data recorded before is transferred to the buffer 56 by the cluster size. In step S13, cluster number B is substituted into variable A. In step S14, the HD FS 92 retrieves a new free cluster as with the above-mentioned process of step S2. Let the cluster number of the newly retrieved cluster be V. It should be noted that, if no new free cluster is retrieved in step S14, then the procedure goes to step S17. In step S15, the HD FS 92 substitutes value V into variable B. In step S16, the HD FS 92 increments occupied cluster count T by 1.

[0304] Then, the procedure returns to step S8 to repeat the above-mentioned processes. If, in step S11, data amount S of the content recorded in step S9 is found unequal to the cluster size, it indicates that the recording of the content data to be recorded has been completed, so that the procedure goes to step S17.

[0305] In step S17, the HD FS 92 arranges the size recording area 151 in the free cluster having cluster number X retrieved in step S2, records data amount S recorded to the last cluster to the valid size recording area 152, records the value of variable B to the last cluster number recording area 153, and records the value of variable T to the occupied cluster count recording area 154.

[0306] In step S18, the FAT 141 recorded to the FAT area of the file recording area 121 is updated by the FAT 141 rewritten by the process of step S10. Thus, a new file is created. It should be noted that a file identifier having the same value as the start cluster number of a sequence clusters recorded with content data is issued to the newly created file.

[0307] The following describes a process of reading a file of which file identifier is X (hereafter referred to as file X) with reference to the flowchart shown in FIG. 18. In step S61, the HD FS 92 executes a search process for determining whether or not there is file X.

[0308] The following describes a file X search process with reference to the flowchart shown in FIG. 19. In step S81, the HD FS 92 gets FAT entry E(X) corresponding to entry number X. In step S82, the HD FS 92 determines whether or not the value of column P of FAT entry E(X) is −1 (0xFFFFFFFF). If the value of column P of FAT entry E(X) is found −1, then the procedure goes to step S83. In step S83, file X is found existing because the cluster of entry number X (=cluster number X) is the start cluster among a sequence of clusters on which the file is recorded, so that the procedure returns to the file reading process shown in FIG. 18.

[0309] Conversely, if the value of column P of FAT entry E(X) is found not −1 in step S82, the procedure goes to step S84. In step S84, the HD FS 92 determines that there is no file X because the cluster of entry number X (=cluster number X) is not the start cluster among a sequence of clusters on which the file is recorded, so that the procedure returns to the file reading process shown in FIG. 18. Thus, the file X search process is executed.

[0310] In what follows, the description will be continued on the assumption that file X exists. In step S62, the HD FS 92 determines whether or not the value of column N of FAT entry E(X) is −1 (0xFFFFFFFF). If the value of FAT entry E(X) is found −1, then it indicates that file X has no data, so that the reading process comes to an end.

[0311] If the value of column N of FAT entry E(X) is found not −1 in step S62, then the procedure goes to step S63. In step S63, the HD FS 92 converts cluster number X (the start cluster) into sector numbers. In step S64, the HD FS 92 controls the DMA controller 55 to read the size recording area 151 recorded to the converted sector numbers to buffer this area in the buffer 56. In step S64, the HD FS 92 reads valid size S (the data amount recorded to the last cluster among a sequence of clusters on which file X is recorded) recorded to the valid size recording area 152 of the size recording area 151 buffered in step S63.

[0312] In step S66, the HD FS 92 substitutes the value of column N of FAT entry E(X) into variable C. In step S67, the HD FS 92 reads FAT entry E(C) corresponding to cluster number C, namely the second cluster, as with the above-mentioned process described with reference to FIG. 16. In step S68, the HD FS 92 converts cluster number C into sector numbers. In step S69, the HD FS 92 controls the DMA controller 55 to read the content data recorded to the sectors having the converted sector numbers by one cluster to buffer the content data in the buffer 56.

[0313] In step S70, the HD FS 92 determines whether or not the value of column N of FAT entry E(C) is −1 (0xFFFFFFFF). If the value of column N of FAT entry E(C) is found not −1, then the procedure goes to step S71. In step S71, the HD FS 92 controls the DMA controller 55 to output all data buffered in the buffer 56 to the encoder/decoder 59 and so on. Because the content data of file X have not all been read, so that the procedure goes to step S72. In step S72, the HD FS 92 substitutes the value of column N of FAT entry E(C) into variable C. Then, the procedure returns to step S67 to repeat the above-mentioned processes.

[0314] Then, in step S70, if the value of column N of FAT entry E(C) is found −1, it indicates that the reading starting with the last cluster recorded with the content data of file X has been completed, so that the procedure goes to step S73. In step S73, the HD FS 92 controls the DMA controller 55 to output the data for valid size S which are the last of the content data buffered in the buffer 56 to the encoder/decoder 59 and so on.

[0315] If no file X is found existing in the file search process of step S61, the procedure goes to step S74, in which an error is determined, upon which the file X reading process comes to an end. Thus, the file X reading process is executed.

[0316] The following describes a file X reverse reading process with reference to the flowchart shown in FIG. 20. The reverse reading herein denotes a process in which content data are played back every several second retrospectively such that certain content data of which play time is 100 seconds are played back for about 100 milliseconds from 90th second and then played back for 100 milliseconds from 80th second and then played back for 100 milliseconds from 70th second, for example.

[0317] In step S91, the HD FS 92 converts the file identifier (=X, hereafter referred to as ID(X)) into sector numbers. It should be noted that ID(X) is the same as the cluster number of the start cluster among a sequence of clusters on which file X is recorded.

[0318] In step S92, FAT entry E(X) corresponding to cluster X is read. In step S93, the HD FS 92 controls the DMA controller 55 to read the size recording area 151 recorded to the sector having the sector number converted in step S91 to buffer it in the buffer 56. In step S94, the HD FS 92 reads valid size S from the valid size recording area 152 of the size recording area 151 buffered in step S93 and last cluster number Z from the last cluster number recording area 153.

[0319] In step S95, the HD FS 92 determines whether or not last cluster number Z is equal to ID (X). If last cluster number Z is found equal to ID (X), it indicates that file X has no content data, so that the reverse reading process comes to an end.

[0320] If last cluster number Z is found unequal to ID(X), then the procedure goes to step S96. In step S96, the HD FS 92 converts last cluster number Z to sector numbers. In step S97, the HD FS 92 controls the DMA controller 55 to read the data including the end portion of the content data recorded to the sector numbers converted in step S96 to buffer the data in the buffer 56. In step S98, the HD FS 92 controls the DMA controller 55 to output only the data for S bytes of the data buffered in the buffer 56, namely, the end portion of the content data to the encoder/decoder 59 and so on.

[0321] In step S99, the HD FS 92 reads FAT entry E(Z) corresponding to last cluster number Z. In step S100, the HD FS 92 determines whether or not the value of column P of FAT entry E(Z) is equal to ID(X). If the value of column P of FAT entry E(Z) is found equal to ID(X), the reverse reading process comes to an end because the content data of file X have been recorded to the last one cluster.

[0322] If the value of column P of FAT entry E(Z) is found unequal to ID(X), then the procedure goes to step S101 to read the data by one cluster from the end retrospectively. In step S101, the HD FS 92 substitutes the value of column P of FAT entry E(Z) into variable C.

[0323] In step S102, the HD FS 92 reads FAT entry E(C) corresponding to cluster number C. In step S103, the HD FS 92 converts cluster number C into sector numbers. In step S104, the HD FS 92 controls the DMA controller 55 to read the content data recorded to the sector numbers converted in step S103 to buffer the content data in the buffer 56. In step S105, the HD FS 92 controls the DMA controller 55 to output the content data for one cluster buffered in the buffer 56 to the encoder/decoder 59 and so on.

[0324] In step S106, the HD FS 92 determines whether or not the value of column P of FAT entry E(C) corresponding to cluster number C is equal to ID (X). If the value of column P of FAT entry E(C) is found unequal to ID(X), it indicates that file X has not all been read, so that the procedure goes to step S107 to read by one cluster retrospectively. In step S107, the HD FS 92 substitutes the value of column P of FAT entry E(C) into variable C. Then, the procedure returns to step S102 to repeat the above-mentioned processes.

[0325] If the value of column P of FAT entry E(C) is found equal to ID(X) in step S106, it indicates that file X has been read up to its beginning, so that the reverse reading process comes to an end. Thus, the file X reverse reading process is executed.

[0326] As described and according to the HD FS 92 of the audio server 1, for a file identifier for identifying a particular file, a cluster number, which is a fixed-length value, of the start cluster of the area to which this file is recorded is assigned, so that the recording position of the file may be identified with ease. Consequently, as compared with the case in which a file name is not fixed in length, the file search time may be significantly reduced.

[0327] In addition, because of the fixed file length, the time required for a file search operation may be made uniform.

[0328] Further, according to the HD FS 92 of the audio server 1, there is no limitation to the size of a file to be recorded, so that not only audio data but also video data, which are greater in size may be recorded as a file.

[0329] Still further, according to the HD FS 92 of the audio server 1, if one file is recorded over a plurality of clusters, the clusters are used in the forward direction, so that, at the time of recording and playback, a seek operation is performed in a constant direction. Consequently, the recording drops at recording and sound drops at playback are prevented from occurring.

[0330] The following describes objects corresponding to folder, album or track with reference to FIGS. 21 through 27. FIG. 21 shows a logical structure of the object recording area 122 to which an object is recorded. The object recording area 122 is formed by a system area 161 and a plurality of chunks divided so as to have a predetermined capacity. Each object is recorded to chunks.

[0331] The system area 161 has a header 162, an object type recording area 163, and an area information recording area 164. To the plurality of chunks, serial numbers beginning with 1 are applied in order from the top one of them. In the following description, for example, the chunk to which the number 1 is applied is referred to as chunk 1, the chunk to which the number 2 is applied is referred to as chunk 2, and so forth.

[0332] Each chunk is divided into pages having a predetermined capacity. The pages forming each chunk are assigned with serial numbers, 0 to the start page and subsequent numbers to the subsequent pages. For example, the page assigned with number 0 is page 0, the page assigned with number 1 is page 0, and so on.

[0333] FIG. 22 shows the structure of the object type recording area 163 of the system area 161, which is formed by a header 165 and T entries. T is a preset constant. The header 165 has an entry count recording area 166. The entry count recording area 166 records the number of currently registered entries (the maximum value is T).

[0334] Each entry of the object type recording area 163 has a size recording area 167, a basic object type number recording area 168, and a parameter recording area 169. For example, entry t records the information associated with object type number t. Namely, the size recording area 167 of entry t records the size of the object having object type number t. The basic object type number recording area 168 of entry t records the basic object type number indicative of the basic object type to which the object having object type number t belongs. The parameter recording area 169 of entry t records the information associated with the size as it is when the size of the object having object type number t is variable in length.

[0335] FIG. 23 shows the area information recording area 164 of the system area 161. The area information recording area 164 is formed by the bit sequences indicative of the total number of pages of the object recording area 122 (a value obtained by multiplying the total number of chunks by the number of pages forming one chunk). It should be noted that, for the convenience of description, FIG. 23 shows a matrix of (the total number of chunks) column X (the number of pages forming one chunk) row. For example, as shown in FIG. 23, the bit indicated by “∘” at column q, row p corresponds to page p of chunk q. If page p of chunk q is in use, 1 is recorded to the bit indicated by “∘”. Conversely, if page p of chunk q is in use, 0 is recorded to the bit indicated by “∘”.

[0336] FIG. 24 shows an exemplary configuration of the object managing block 124 equivalent to the HD DB 91 included in the lower-middleware layer 74. The object managing block 124 is formed by an object type registering block 171, a storage area managing block 172, a session managing block 173, and a cache managing block 174.

[0337] The object type registering block 171 performs the registration of object types (the writing to the object type recording area 163). Further, the object type registering block 171 performs the response to the enquires for object types (the reading from the object type recording area 163).

[0338] The storage area managing block 172 inverts predetermined bits in the area information recording area 164. Further, the storage area managing block 172 also searches for a continuous unused area of the predetermined number of pages by reading the bit of the area information recording area 164. In addition, the storage area managing block 172 issues an identifier to each object.

[0339] The session managing block 173 issues a session number to the currently executed session and manages session managing information 181 (FIG. 25). Term session herein denotes a process for controlling data read and write operations for example.

[0340] FIG. 25 shows an exemplary configuration of the session managing information 181. The session managing information 181 is formed by a current session count storage area 182 for storing the number of currently opened sessions (hereafter referred to as the number of current sessions) and S entries corresponding to objects and in each of which information of a session having the access right to the object is recorded. The maximum value of the number of current sessions and value S are predetermined.

[0341] Each entry of the session managing information 181 is formed by an object identifier storage area 183, a read/write session number storage area 184, a read-only session number storage areas 185 through 188, an object state storage area 189, a read cache address storage area 190, a write cache address storage area 191, and an access time storage area 192.

[0342] The object identifier storage area 183 stores the object identifier of the corresponding object (FIG. 27). The read/write session number storage area 184 stores the session number of the session having write access right to the corresponding object. The read-only session number storage areas 185 through 188 store the session numbers having read access right to the corresponding object. It should be noted that a plurality of sessions having read access right to an object may exist. FIG. 25 shows an example in which there are up to four sessions having read access right and one session having read/write access right.

[0343] The object state storage area 189 stores information indicative of the state of the corresponding object (“CREATE” indicative of creation, “UPDATE” indicative of update, and “REMOVE” indicative of removal). The read cache address storage area 190 stores the address of the read cache in which an object to be read is temporarily stored. The write cache address storage section 191 stores the address of the write cache in which an object to be written is temporarily stored. The access time storage area 192 stores the last access time for the corresponding object.

[0344] It should be noted that, if there is no information to be stored in the object identifier storage area 183 through the access time storage area 192, 0 is stored in these storage areas.

[0345] FIG. 26A and FIG. 26B show the exemplary configurations of basic object type 1 and basic object type 2, which are the two basic object types to be recorded to chunks.

[0346] As shown in FIG. 26A, basic object type 1 is formed by an object identifier recording area 201 for recording own object identifier and an arbitrary data recording area 202 for recording given data (for example, the data such as the name of the object to be set by the user). The basic object type 1 includes objects such as folder list, folder, and album.

[0347] As shown in FIG. 26B, basic object type 2 is formed by the object identifier recording area 201 for recording own object identifier, the arbitrary data recording area 202 for recording arbitrary data, and a file identifier recording area 203 for recording the file identifier of the file corresponding to the own (object). Basic object type 2 includes a track object.

[0348] The object identifier to be recorded to the object identifier recording area 201 is formed by a chunk number indicative of the head of a sequence of pages in which a corresponding object is stored, the number of the head page, and a type number as shown in FIG. 27. The type number is formed by basic object type number to which the corresponding object belongs (either basic object type 1 or basic object type 2) and the entry number of the object type recording area 163 in which the type of the corresponding object is registered.

[0349] The following describes an object creating process, an object searching process, an object updating process, a stream object creating process, and a stream object searching process with reference to the flowcharts shown in FIGS. 28 through 37. Term stream object herein denotes the object which corresponds, one to one, to the content data stored in the file recording area 121, namely the stream object indicates a track. The stream object belongs to basic object type 2 (FIG. 26B). Therefore, any other objects than the stream object are folder or album objects, which belong to basic object type 1.

[0350] It should be noted that the above-mentioned processes are controlled by the object managing block 124, namely the HD DB 91 belonging to the lower-middleware layer 74 of the firmware.

[0351] First, the object creating process not for stream objects will be described by use of an example in which an object of object type number t with reference to the flowchart shown in FIG. 28. It should be noted that object type number t includes basic type number (in this example, basic object type 1) and entry number as shown in FIG. 27.

[0352] In step S121, the HD DB 91 opens a write session. The write session opening process will be described below with reference to the flowchart shown in FIG. 29. In step S141, the HD DB 91 reads the number of current sessions from the current session count storage area 182 to determine whether or not the number of retrieved current sessions is smaller than the preset maximum value. If the number of current sessions is found smaller than the preset maximum value, the procedure goes to step S142.

[0353] In step S142, the HD DB 91 increments the number of current sessions stored in the current session count storage area 182 of the session managing information 181 by 1. In step S143, the HD DB 91 opens a write session and issues session number Z by use of random numbers for example. The procedure returns to FIG. 28.

[0354] It should be noted that, if, in step S141, the number of current sessions is found not smaller than the preset maximum value, no more session can be opened, so that the procedure goes to step S144, in which the HD DB 91 determines an error. Then, the session opening processing comes to an end and the object creating process shown in FIG. 28 is discontinued.

[0355] In step S122 shown in FIG. 28, in order to allocate pages of a chunk to which an object of object type number t is recorded, the HD DB 91 reads the size of the object of object type number t from the size recording area 167 of entry t of object type recording area 163 to compute the number of pages of the chunk equivalent to the computed size. Let the computed number of pages be g.

[0356] In step S123, the HD DB 91 allocates a free entry among the plurality of entries forming the session managing information 181. The following describes a process of free entry allocation with reference to the flowchart shown in FIG. 30.

[0357] In step S151, the HD DB 91 initializes variable M to 1. In step S152, the HD DB 91 determines whether or not variable M is equal to or smaller than the number of entries S forming the session managing information 181. If variable M is found equal to or smaller than the number of entries S, then the procedure goes to step S153. In step S153, the HD DB 91 reads the value of the object identifier storage area 183 forming the session managing information 181. In step S154, the HD DB 91 determines whether or not the value of the object identifier storage area 183 of retrieved entry M is 0. If the value of object identifier storage area 183 of entry M is found 0, it indicates that entry M is a free entry, so that entry M is allocated, upon which the procedure returns to FIG. 28.

[0358] In step S154, if the value of the object identifier storage area 183 of entry M is found not 0, then the procedure goes to step S155. In step S155, the HD DB 91 increments variable M by 1. The procedure returns to step S152 to repeat the above-mentioned processes. Then, if the value of object identifier storage area 183 of entry M is found not 0 in step S154 and variable M is found not equal to or smaller than the number of entries S in step S152, it indicates that there is currently no free entry, so that the procedure goes to step S156 to create a free entry.

[0359] In step S156, the HD DB 91 determines whether or not, among the entries forming the session managing information 181, there is any entry that the values of the read/write session number storage block 184 and the read-only session number storage blocks 185 through 188 are all 0s. If such an entry is found, the procedure goes to step S157. In step S157, the HD DB 91 extracts, from among the entries that the values of the read/write session number storage block 184 and read-only session number storage blocks 185 through 188 are all 0s, the entry that the value of the access time storage area 192 is the smallest (namely, the entry of the least recent access time).

[0360] In step S158, the HD DB 91 clears the values of the current session count storage area 182 through access time storage area 192 of the extracted entry to 0s and allocates this entry as free entry M. The procedure returns to FIG. 28.

[0361] It should be noted that, in step S156, among the entries forming the session managing information 181, if there is no entry that the values of the read/write session number storage block 184 and the read-only session number storage blocks 185 through 188 are all 0s, it indicates that no free entry can be allocated, so that the procedure goes to step S159. In step S159, the HD DB 91 determines an error. The free entry allocating processing comes to an end and the object creating process shown in FIG. 28 is discontinued.

[0362] Returning to FIG. 28, in step S124, the HD DB 91 searches the area information recording area 164 for a bit sequence recorded with 0s by g bits continuously. Let the start position of the retrieved bit sequence recorded with 0s by g bits continuously be column q, row p. In step S125, the HD DB 91 stores, in the object identifier storage area 183 of allocated entry M, object identifier OID (q, p, t) formed by chunk number q, page number p, and object type number t as shown in FIG. 27. In addition, the HD DB 91 stores session number Z into the read/write session number storage area 184 of the entry M in session managing information 181 and records “CREATE” indicative of the object creation into the object state storage area 189.

[0363] In step S126, the HD DB 91 allocates a write cache area d equal to the number of pages g indicative of the size of the object, into the buffer 56. In step S127, the HD DB 91 stores the address of the write cache area d allocated in the buffer 56 into the write cache address storage area 191 of entry M of the session managing information 181.

[0364] In step S128, the HD DB 91 starts recording object X of object basic type 1 shown in FIG. 26A to the write cache area d allocated in the buffer 56. In doing so, the HD DB 91 first records the object identifier OID (q, p,

[0365] t) to the object identifier recording area 201 in the write cache area d. In step S129, the HD DB 91 records the arbitrary data of the object to be created (for example, the name of the object to be created) to the arbitrary data recording area 202 in the write cache area d.

[0366] In step 130, the HD DB 91 waits for the input of signal I representative of a user operation. In step S131, the HD DB 91 determines whether or not signal I is “commit,” namely whether or not signal I is for establishing the session creation. If signal I is found a commit, then the procedure goes to step S132 to establish write session Z. If signal I is fount not a commit, then the procedure goes to step S133 to discard write session Z.

[0367] The following describes a process of establishing the write session shown in step S132 with reference to the flowchart shown in FIG. 31. It should be noted that “establishment of a session” herein denotes to reflect the recording in the object recording area 122 upon creation, updating and moving or the like of an object performed after opening of the session concerned and enter the results of the reflection.

[0368] In step S171, the HD DB 91 initializes variable M to 1. In step S172, the HD DB 91 determines whether or not variable M is equal to or smaller than the number of entries S forming the session managing information 181. If variable M is found equal to or smaller than the number of entries S, then the procedure goes to step S173. In step S173, the HD DB 91 reads the value of read/write session number storage area 184 of entry M forming the session managing information 181 to determine whether or not this value matches session number Z. If the value of the read/write session number storage area 184 of entry M is found not matching session number Z, the procedure goes to step S174 to search for an entry that the value of the read/write session number storage area 184 of entry M matches session number Z.

[0369] In step S174, the HD DB 91 increments variable M by 1. The procedure returns to step S172 to repeat the above-mentioned processes. If the value of the read/write session number storage area 184 of entry M is found matching session number Z in step S173, then the procedure goes to step S175. Namely, only the entry in which session number Z is stored in the read/write session number storage area 184 is extracted to be processed in steps S175 and on.

[0370] In step S175, the HD DB 91 reads the object identifier from the object identifier storage area 183 of entry M in which session number Z is stored in the read/write session number storage area 184. In step S176, the HD DB 91 reads information J indicative of object state from the object state storage area 189 of entry M in which session number Z is stored in the read/write session number storage area 184. In step S176, the HD DB 91 determines whether information J indicative of object state is “CREATE”, “UPDATE”, or “REMOVE”.

[0371] If information J indicative of object state is found “CREATE”, then the procedure goes to step S178. In step S178, the HD DB 91 records the object recorded to the write cache area d allocated in the buffer 56 to pages q and on of chunk p in the object recording area 122. In step S179, the HD DB 91 records 1 to g bits subsequent to column q, row p in the area information recording area 164.

[0372] In step S180, the HD DB 91 copies the value of write cache address storage area 191 of entry M to the read cache address storage area 190. If a value other than 0 is stored in the read cache address storage area 190, then the read cache area in which the buffer 56 indicated by that value is arranged is freed.

[0373] In step S181, the HD DB 91 stores 0s into the read/write session number storage area 184 of entry M and the write cache address storage area 191 of entry M. In step S182, the HD DB 91 updates the value of the access time storage area 192 of entry M by the current time.

[0374] If information J indicative of object state is found “UPDATE” in step S177, the procedure goes to step S183. In step S183, the HD DB 91 records the object recorded to write cache area d allocated in the buffer 56 to pages q and on of chunk p in object recording area 122. The procedure goes to step S180.

[0375] If information J indicative of object state is found “REMOVE” in step S177, the procedure goes to step S184. In step S184, the HD DB 91 records 0s to g bits subsequent to column q, row p of the area information recording area 164. In step S185, the HD DB 91 frees the write cache and read cache allocated in the buffer 56 by entry M. In step S186, the HD DB 91 stores 0s into the object identifier storage area 183 through the access time storage area 192 of entry M. The processing goes to step S174.

[0376] Then, the processes subsequent to step S172 are repeated until variable M is found not equal to or smaller than the number of entries S in step S172. If variable M is found not equal to or smaller than the number of entries S, the process for establishing the write session is completed.

[0377] The following describes the process of step S133 shown in FIG. 28, namely, the process of discarding a write session with reference to the flowchart shown in FIG. 32. In step S191, the HD DB 91 initializes variable M to 1. In step S192, the HD DB 91 determines whether or not variable M is equal to or smaller than the number of entries S forming the session managing information 181. If variable M is found equal to or smaller than the number of entries S, the procedure goes to step S193.

[0378] In step S193, the HD DB 91 reads the value of the read/write session number storage area 184 of entry M forming the session managing information 181 to determine whether or not the value matches session number Z. If the value of the read/write session number storage area 184 of entry M is found not matching session number Z, then the procedure goes to step S194 to search for an entry in which the value of the read/write session number storage area 184 of entry M matches session number Z. In step S194, the HD DB 91 increments variable M by 1. The procedure returns to step S192 to repeat the above-mentioned processes.

[0379] If the value of the read/write session number storage area 184 of entry M is found matching session number Z in step S193, then the procedure goes to step S195. Namely, only the entry in which session number Z is stored in the read/write session number storage area 184 is extracted and processed in steps 195 and on.

[0380] In step S195, the HD DB 91 frees the write cache area allocated in the buffer 56 by entry M. In step S196, the HD DB 91 determines whether or not the object state stored in the object state storage area 189 is “CREATE”. If the object state is found not “CREATE”, the procedure goes to step S197.

[0381] In step S197, the HD DB 91 stores 0s into the read/write session number storage area 184 and the write cache address storage area 191 of entry M. In step S198, the HD DB 91 updates the value of the access time storage area 192 of entry M by the current time. The procedure goes to step S194.

[0382] It should be noted that, if the object state stored in the object state storage area 189 of entry M is found “CREATE” in step S196, then the procedure goes to step S199. In step S199, the HD DB 91 stores 0s in the areas other than the read/write session number storage area 184 and the write cache address storage area 191 of entry M, namely stores 0s into the object identifier storage area 183, read-only session number storage areas 185 through 188, the object state storage area 189, the read cache address storage area 190, and the access time storage area 192. Then, the procedure goes to step S194.

[0383] Then, until variable M is found not equal to or smaller than the number of entries S in step S192, the above-mentioned processes are repeated. If variable M is found not equal to or smaller than the number of entries S, the write session discarding process comes to an end.

[0384] The following describes an object search process by use of an example in which an object having object identifier OID=X (hereafter referred to as object X) with reference to the flowchart shown in FIG. 33. It should be noted that the session is assumed to have already been opened.

[0385] In step S201, the HD DB 91 gets entry M corresponding to object X. The process of getting the entry for object X will be described below with reference to the flowchart shown in FIG. 34.

[0386] In step S211, the HD DB 91 initializes variable M to 1. In step S212, the HD DB 91 determines whether or not variable M is equal to or smaller than the number of entries S forming the session managing information 181. If variable M is determined equal to or smaller than the number of entries S, then the procedure goes to step S213.

[0387] In step S213, the HD DB 91 reads the value of the object identifier storage area 183 of entry M forming the session managing information 181 to determine whether or not this value matches identifier OID=X of object X. If the value of the object identifier storage area 183 of entry M is found not matching object identifier OID=X of object X, then the procedure goes to step S214 to search for an entry in which the value of the object identifier storage area 183 matches object identifier OID=X of object X.

[0388] In step S214, the HD DB 91 increments variable M by 1. The procedure returns to step S212 to repeat the above-mentioned processes. If the value of the object identifier storage area 183 of entry M is found matching object identifier OID=X of object X in step S123, it indicates that entry M corresponding to object X has been retrieved, so that this process comes to an end, the procedure returning to FIG. 33.

[0389] It should be noted that, in step S213, the decision in which the value of the object identifier storage area 183 of entry M does not match object identifier OID=X of object X is repeated and variable M is not equal to or smaller than the number of entries S in step S212, the procedure goes to step S215. In step S215, the HD DB 91 determines an error, namely, the HD DB 91 has failed to get entry M for object X, thereby ending this process. The procedure returns to FIG. 33.

[0390] Returning to FIG. 33, if entry M for object X is retrieved in step S201, then the procedure goes to step S202. In step S202, because entry M for object X has been retrieved, the HD DB 91 determines that object X is in the buffer 56, thereby ending this process.

[0391] Conversely, if entry M for object X is not retrieved in step S201, the procedure goes to step S203. In step S203, the HD DB 91 resolves object identifier OID=X of object X to get the chunk number, page number, and object X type number t of the object recording area 122 in which the object is recorded.

[0392] In step S204, the HD DB 91 reads the value of the size recording area 167 corresponding to type number t from the object type recording area 163 and, on the basis of the retrieved value, computes the number of pages g necessary for recording object X.

[0393] In step S205, the HD DB 91 references the area information recording area 164 to determine whether or not g bits subsequent to column q, row p are 1s. If the g bits subsequent to column q, row p of the area information recording area 164 are found is, then the procedure goes to step S206. In step S206, the HD DB 91 sets read cache area c equivalent to the number of pages g to the buffer 56. In step S207, the HD DB 91 copies the data recorded to the pages g subsequent to page p of chunk q in the object recording area 122 to the read cache area c of the buffer 56.

[0394] In step S208, the HD DB 91 determines whether or not the object identifier recorded to a portion equivalent to the object identifier recording area 201 of the data copied to the read cache area c matches object identifier X. If a match is found, it indicates that the data cached in the read cache area c is object X, so that the procedure goes to step S202.

[0395] If the object identifier recorded to the portion equivalent to the object identifier recording area 201 of the data copied to the read cache area c is found not matching object identifier X, the procedure goes to step S209. In step S209, the HD DB 91 determines that object X does not exist in the object recording area 122 either, upon which this process comes to an end.

[0396] The following describes an object X updating process with reference to the flowchart shown in FIG. 35. The object X updating process herein denotes the rewriting given data of object X.

[0397] In step S221, the HD DB 91 opens write session Z as with the above-mentioned process of step S121 described with reference to FIG. 29. In step S222, the HD DB 91 gets entry M for object X as with the above-mentioned process of step S201 described with reference to FIG. 34.

[0398] If entry M for object X is retrieved in the process of step S222, then the HD DB 91 determines that object X is cached in the read cache area c set to the buffer 56, upon which the procedure goes to step S223. In step S223, the HD DB 91 determines whether or not the value of the read/write session number storage area 184 of entry M is 0. If the value of the read/write session number storage area 184 of entry M is found 0, then the procedure goes to step S224.

[0399] In step S224, the HD DB 91 stores session number Z of the write session opened in step S221 into the read/write session number storage area 184 of entry M. In step S225, the HD DB 91 resolves object identifier OID=X of object X to get the chunk number, page number, and object X type number t of the object recording area 122 in which the object is recorded.

[0400] In step S226, the HD DB 91 reads the value of the size recording area 167 of the entry corresponding to type number t from the object type recording area 163 and, on the basis of the retrieved value, computes the number of pages g necessary for recording object X. In step S227, the HD DB 91 sets write cache area d equivalent to the number of pages g to the buffer 56. In step S228, the HD DB 91 stores the address of write cache area d into the write cache address storage area 191 of entry M.

[0401] In step S229, the HD DB 91 copies the data in the read cache area c in buffer 56 to the write cache area d. In step S230, the HD DB 91 records given data of object X to be updated to the arbitrary data recording area 202 of object X copied to the write cache area d.

[0402] In step S232, the HD DB 91 waits for the inputting of signal I corresponding to a user operation. In step S233, the HD DB 91 determines whether or not signal I is commit, namely whether signal I establishes the session update operation. If signal I is found commit, then, the procedure goes to step S234. In step S234, the HD DB 91 establishes write session Z as with the process of step S132 described above with reference to FIG. 31. Conversely, if signal I is found not commit, the procedure goes to step S235. In step S235, the HD DB 91 discards write session Z as with the process of step S133 as described above with reference to FIG. 32.

[0403] It should be noted that, if the value of the read/write session number storage area 184 of entry M is found not 0 in step S223, it indicates that object X is being updated by a session other than session Z, so that the procedure goes to step S235.

[0404] If, in step S222, entry M corresponding to object X is not retrieved, the procedure goes to step S236. In step S236, the HD DB 91 allocates free entry M as with the process of step S123 described above with reference to FIG. 30.

[0405] In step S237, the HD DB 91 resolves object identifier OID=X of object X to get the chunk number, page number, and object X type number t of the object recording area 122 in which the object is recorded. In step S238, the HD DB 91 reads the value of the size recording area 167 of the entry corresponding to type number t from the object type recording area 163 and, on the basis of the retrieved value, computes the number of pages g necessary for recording object X. In step S239, the HD DB 91 sets the read cache area c and write cache area d corresponding to the number of pages g to the buffer 56.

[0406] In step S240, the HD DB 91 stores the address of the read cache area c into the read cache address storage area 190 of entry M, the address of the write cache area d into the write cache address storage area 191 of entry. M, and object identifier IOD=X of object X into the object identifier storage area 183 of entry M.

[0407] In step S241, the HD DB 91 copies the data of object X recorded up to the number of pages g subsequent to page p of chunk q in the object recording area 122 to the read cache area c in the buffer 56. The procedure goes to step S229.

[0408] As described, the file X updating process copies the data of file X from the read cache area c to the write cache area d, rewrites the data of file X cached in the write cache area d, and records the rewritten data to the object recording area 122 by the session establishing operation.

[0409] The following describes a process of creating an object of a track corresponding, one to one, to the content data to be recorded to the file recording area 121, namely an stream object having object type number t′ with reference to the flowchart shown in FIG. 36. It should be noted that object type number t′ includes a basic type number (in this example, basic object number 2) and an entry number.

[0410] In step S251, the HD DB 91 opens a write session as with the process of step S121 described above with reference to the flowchart of FIG. 29. In step S252, in order to allocate the pages of a chunk to which the stream object of object type number t′ is to be recorded, the HD DB 91 reads the size of the object having object type number t′ from the size recording area 167 of entry t′ of the object type recording area 163 to compute the number of pages of the chunk equivalent to the retrieved size. Let the computed number of pages be g.

[0411] In step S253, the HD dB 91 allocates free entry M among a plurality of entries forming the session managing information 181 as with the process of step S123 described above with reference to the flowchart of FIG. 30. In step S254, the HD DB 91 searches the area information recording area 164 for a bit sequence in which g bits are continuously 0s. Let the start position of the retrieved bit sequence in which g bits are continuously 0s be column q, row p. In step S255, the HD DB 91 stores object identifier OID (q, p, t′) formed by chunk number q, page number p, and object type number t′ as shown in FIG. 27 into the object identifier storage area 183 of allocated entry M. Further, the HD DB 91 stores session number Z into the read/write session number storage area 184 of entry M of the session managing information 181 and records “CREATE” indicative of creation to the object state storage area 189.

[0412] In step S256, the HD DB 91 allocates write cache area d equal to the number of pages g, which is the size of the stream object, into the buffer 56. In step S257, the HD DB 91 stores the address of the allocated write cache area d in the buffer 56 into the write cache address storage area 191 of entry M of the session managing information 181.

[0413] In step S258, the HD DB 91 starts recording stream object X of object basic type 2 shown in FIG. 26B to the write cache area d allocated in the buffer 56. To begin with, the HD DB 91 records object identifier OID (q, p, t′) to the object identifier recording area 201 of the write cache area d. In step S259, the HD DB 91 gets file identifier F (the same value as the cluster number of the start cluster of a cluster sequence to which the present content data are recorded) of the content data to be created by the HD FS 92, which corresponds to the stream object. In step S260, the HD DB 91 records file identifier F to the file identifier recording area 203 of the write cache area d.

[0414] In step S261, the HD DB 91 starts getting given data (for example, the name of a stream object to be created) of a stream object to be created. In step S262, the HD DB 91 waits until the data retrieval is completed. It should be noted that, while the processes of steps S261 and S262 are performed, a file of the content data having file identifier F corresponding to the stream object concerned is created and recorded to the file recording area 121 by the HD FS 92.

[0415] In step S263, the HD DB 91 records the retrieved given data to the arbitrary data recording area 202 of the write cache area d.

[0416] In step S264, the HD DB 91 waits for the inputting of signal I corresponding to a user operation. In step S265, the HD DB 91 determines whether or not signal I is commit, namely, whether or not signal I establishes the session creation. If signal I is found commit, the procedure goes to step S266. In step S266, the HD DB 91 establishes write session Z as with the process of step S132 described above with reference to FIG. 31.

[0417] Conversely, if signal I is found not commit, then the procedure goes to step S267. In step S267, the HD DB 91 discards write session Z as with the process of step S133 described above with reference to FIG. 32. In step S268, the HD DB 91 requests the HD FS 92 to delete file F. Thus, the process of stream object creation is performed.

[0418] The following describes a process of searching for a stream object having object identifier OID=X (hereafter referred to as stream object X) with reference to the flowchart shown in FIG. 37. It should be noted that the session has already been opened.

[0419] In step S271, the HD DB 91 executes the same process as the object X search process described above with reference to FIG. 33. In step S272, the HD DB 91 gets the object type number included in object identifier OID=X of object X retrieved in the process of step S271. Let the retrieved object type number be t. Further, the HD DB 91 gets the object basic type number included in object type number t.

[0420] In step S273, the HD DB 91 determines whether or not the basic object type number of retrieved object X is basic object type 2. If the basic object type number of the retrieved object X is found basic object type 2, it indicates that the retrieved object X is a stream object, so that the procedure goes to step S274. In step S274, the HD DB 91 reads the file identifier from the file identifier recording area 203 of the retrieved stream object X and supplies the retrieved file identifier to the HD FS 92.

[0421] It should be noted that, if the object having object identifier OID=X could not be retrieved in step S271, the procedure goes to step S275. Further, if the basic object type number of the retrieved object X is found not basic object type 2 in step S273, the procedure also goes to step S275. In step S275, the HD DB 91 determines an error, namely that there is no stream object X, thereby ending the stream object search process.

[0422] Now, referring to FIG. 38, there is shown a directory structure of the objects recorded to the object recording area 122. The object recording area 122 is hierarchically formed by a root 211, folder list objects 212, folder objects 213, album objects 214, and track objects 215 in this order.

[0423] The HD DB 91 can create a plurality of folder objects below each folder list object 212. The HD DB 91 can create a plurality of album objects 214 below each folder object 213. The HD DB 91 can create a plurality of track objects 215 below each album object 214. Each track object 215 corresponds to the content data for one piece of music.

[0424] Each folder object 213, album object 214, and track object 215 are objects which are presented to the user when selecting music to be played back. The HD DB 91 can create information objects (for example, a CC (Content Control) object 216) other than the objects to be presented to the user, below the root 211, the folder list object 212, or the folder object 213.

[0425] If the folder object 213 is created below the folder list object 212, the HD DB 91 prohibits any other objects than the folder object 213 to be created below the same folder list object 212. If the album object 214 is created below the folder object 213, the HD DB 91 prohibits any other objects than the album object 214 below the same folder object 213. The HD DB 91 also prohibits any other objects than track object 215 to be created below the album object 214.

[0426] Each of the above-mentioned objects is recorded in accordance with the above-mentioned rules, so that a folder group 217, an album group 218, and a track group 219 are constructed in the object recording area 122.

[0427] The following describes the data format of each of the above-mentioned objects.

[0428] FIG. 39 shows the data format of the folder list object 212. Because the folder list object 212 belongs to basic object type 1 shown in FIG. 26A, it is formed by the object identifier recording area 201 and the arbitrary data recording area 202. To the object identifier recording area 201 of the folder list object 212, a 4-byte object identifier OID is recorded.

[0429] To the arbitrary data recording area 202 of the folder list object 212, the maximum number MAX (4 bytes) of folder objects 213 that can be created below this folder list object 212, the number of folder objects 213 N (4 bytes) created below this folder list object 212, and 4×100-byte Folder indicative of the matrix of IDs of folder objects 213 created below this folder list object 212 are recorded. The arbitrary data recording area 202 of the folder list object 212 has a 612-byte reserved area.

[0430] FIG. 40 shows the data format of the folder object 213. Because the folder object 213 belongs to basic object type 1 shown in FIG. 26A, it is formed by the object identifier recording area 201 and the arbitrary data recording area 202. To the object identifier recording area 201 of the folder object 213, a 4-byte object identifier OID is recorded.

[0431] To the arbitrary data recording area 202 of the folder object 213, the maximum number MAX (4 bytes) of album objects 214 that can be created below this folder object 213, the number of album objects 214 N (4 bytes) created below this folder object 213, 4×200-byte Album indicative of the matrix of IDs of album objects 214 created below this folder object 213, and 36-byte Title indicative of the folder name of this folder object 213 are recorded. The arbitrary data recording area 202 of the folder object 213 has a 176-byte reserve area.

[0432] FIG. 41 shows the data format of the album object 214. Because the album object 214 belongs to basic object type 1 shown in FIG. 26A, it is formed by the object identifier recording area 201 and arbitrary data recording area 202. To the object identifier recording area 201 of the album object 214, a 4-byte object identifier OID is recorded.

[0433] To the arbitrary data recording area 202 of the album object 214, the maximum number MAX (4 bytes) of track objects 215 that can be created below this album object 214, the number N (4-bytes) of track objects 215 created below this album object 214, 4×400-byte Track indicative of the matrix of IDs of track objects 215 created below this album object 214, 516-byte Title indicative of the name of this album object 214, 260-byte Artist indicative of the artist name of this album object 214, 8-byte Creation Date indicative of the date of creation of this album object 214, and 32-byte media key indicative of the media key of the music CD 3, which is the source of this album object 214 are recorded. The arbitrary data recording area 202 of the album object 214 has a 16-60-byte reserve area.

[0434] FIG. 42 shows the data format of the track object 215. Because the track object 215 belongs to basic object type 2 shown in FIG. 26B, it is formed by the object identifier recording area 201, the arbitrary data recording area 202, and file identifier recording area 203. To the object identifier recording area 201 of the track object 215, a 4-byte object identifier OID is recorded. To the file identifier recording area 203 of the track object 215, a 4-byte SOID indicative of the file identifier of the content data (recorded to the file recording area 121) corresponding on a one-to-one basis.

[0435] To the arbitrary data recording area 202 of the track object 215, 516-byte Title indicative of the music title of this track object 215, 260-byte Artist indicative of the artist name of this track object 215, 8-byte Time indicative of the playback time of this album object 214, 8-byte Last Access Date indicative of the date on which this track object 215 was accessed last, 4-byte play counter (PC) indicative of the playback count of this track object 215, 8-byte Creation Date on which this track object 215 was created, and 12544-byte AC indicative of the music attribute and playback control information (the information for copyright protection) of the content data corresponding to this track object 215 are recorded. The arbitrary data recording area 202 of the track object 215 has a 980-byte reserved area.

[0436] FIG. 43 shows the details of the 12544-byte AC to be recorded to the arbitrary data recording area 202 of the track object 215. To the AC, 8-byte Ckey indicative of a content key, 1-byte Codec indicative of codec identification value, 1-byte Coded Attr indicative of codec attribute, 1-byte LT indicative of playback limitation information, 1-byte VLD indicative of validity check flag, 1-byte LCMLOGNUM indicative of the number of check-out destinations, 16-byte CDI indicative of codec dependency information, 20-byte CID indicative of content serial number, 8-byte PBS indicative of playback permission start date, 8-byte PBE indicative of playback permission end date, 1-byte XCC indicative of extended CC, 1-byte CT indicative of remaining playback count, 1-byte CC indicative of content control information, 1-byte CN indicative of remaining check-out count, 40-byte SRC indicative of source information, and 48×256-byte LCMLOG indicative of information including check-out destination device ID and flag are recorded.

[0437] Especially, in the 1-byte CC indicative of content control information, bit 1 from the MSB (Most Significant Bit) side is indicative of the presence of copyright (0=copyrighted; 1=not copyrighted). Bit 2 from the MSB side is indicative of generation (0=original; 1=not original). Bits 3 and 4 from the MSB side are not in use.

[0438] The meanings of the information indicated by bits 5 through 7 from the MSB side of CC are as follows. If 010 are recorded to bits 5 through 7 from the MSB side of CC, it indicates the check-out is enabled (edit is enabled). If 011 are recorded to bits 5 through 7 of the MSB side of CC, it indicates that move is enabled (the edit on PD 5 is disabled). If 100 are recorded to bits 5 through 7 of the MSB side of CC, it indicates that import is enabled (the edit on PD 5 is enabled). If 110 are recorded to bits 5 through 7 from the MSB side of CC, it indicates import is enabled (the edit on the PD 5 is disabled).

[0439] FIG. 44 shows the data format of the content data corresponding to the track object 215 on a one-to-one basis. The content data are configured by 16-KB AT3H indicative of the header of ATRAC3, 16-KB PRT indicative of ATRAC3 part, and AT3SU-1 through AT3SU-N each being 16 KB long indicative of a sound unit sequence.

[0440] FIG. 45 shows the data format of the CC object 216. The CC object 216 belongs to basic object type 2 shown in FIG. 26B. Therefore, the CC object 216 is formed by the object identifier recording area 201 and the arbitrary data recording area 202. To the object identifier recording area 201 of the CC object 216, a 4-byte object identifier OID is recorded.

[0441] The arbitrary data recording area 202 of the CC object 216 has a 16-byte reserved area. To the file identifier recording area 203 of the CC object 216, a 4-byte SOID indicative of the file identifier of the corresponding CC data (recorded to the file recording area 121) is recorded.

[0442] FIG. 46 shows the CC data format to be recorded to the file recording area 121. The CC data includes 10-KB CatFolder, 200-KB CatAlbum, and 600-KB CatTrack. CatFolder records the information indicative of the object identifier OID of the folder object 213 corresponding to the folder selected by the user. CatAlbum records the information indicative of the object identifier OID of the album object 214 corresponding to the album selected by the user. CatTrack records the information indicative of the object identifier OID of the track object 215 corresponding to the track selected by the user.

[0443] Consequently, if the user selects a track to be played at the time of playback for example, the object identifier OID of the track object 215 corresponding to the track selected by the user is determined on the basis of CatTrack of the CC data, the corresponding file identifier is retrieved from the determined track object 215, and the content data are read for playback.

[0444] The following describes the relationship between the data flow and the firmware at the time of the execution of each function of the audio server 1 with reference to FIGS. 47 through 56.

[0445] FIG. 47 shows the data flow at the time when CD ripping is executed. In CD ripping in which the music CD 3 is recorded at high speeds, the digital audio data in the music CD 3 are read by the CD-ROM drive 57 at a speed of CAV8x to be buffered in the buffer 56 under the control of the CD MW 88. At the same time, under the control of the HD MW 82, the digital audio data buffered in the buffer 56 are inputted in the WM screen 60-2 for watermark detection. Next, under the control of the HD MW 82, the digital audio data buffered in the buffer 56 are encoded by the encoder 59 at an average speed of 5× in the ATRAC3 technique for encryption, the resultant encrypted data are buffered in the buffer 56, and then the buffered encrypted data are transferred to the HDD 58 for recording. It should be noted that, although not shown, during CD ripping, the sound corresponding to the digital audio data under recording is outputted from the speaker 2.

[0446] FIG. 48 shows the data flow at the time of CD recording. In CD recording in which the music CD 3 is recorded while being played, the digital audio data in the music CD 3 are read by the CD-ROM drive 57 at a speed of CAV8x to be buffered in the buffer 56 under the control of the CD MW 88. Then, under the control of the HD MW 82, the digital audio data buffered in the buffer 56 are encoded by the encoder 59 at an average speed of 5× in the ATRAC3 technique for encryption, the resultant encrypted data are buffered in the buffer 56, and then transferred to the HDD 58 for recording. At the same time, under the control of the HD MW 82, the audio data buffered in the buffer 56 are supplied to the WM screen 60-2 for watermark detection.

[0447] On the other hand, for monitor sounding, the buffered digital audio data are temporarily recorded in a ring buffer 241 (FIG. 61) arranged in the HDD 58 and then read into the audio I/F 60-3 under the control of the HD MW 82. Next, under the control of the AIO MW 94, the digital audio data are transferred to the AD/DA 62 to be converted in analog data, and the corresponding sound is output from the speaker 2.

[0448] The details of CD ripping and CD recording will be described later with reference to FIGS. 57 through 70B.

[0449] FIG. 49 shows the data flow at the time of HD recording for digital input. In HD recording in which digital input is encoded for recording on the HDD 58, the digital audio data inputted from the AUX In terminal 31 are supplied to the encoder 59 via the signal processor 60 under the control of the AIO MW 94. Next, under the control of the HD MW 82, the digital audio data are encoded by the encoder 59 for encryption on the basis of the ATRAC3 technique and the encrypted data are transferred to the buffer 56 and then to the HDD 58 for recording. Further, under the control of the HD MW 82, the watermark is detected by the WM screen 60-2 of the signal processor 60. In addition, under the control of the AIO MW 94, the digital audio data are transferred to the D/A 62 by the audio I/F 60-3 of the signal processor 60 to be converted into analog data, which are outputted from the speaker 2.

[0450] FIG. 50 shows the data flow at the time of HD recording for analog input. In HD recording in which analog input is encoded to be recorded on the HDD 58, the analog audio data inputted from the AUX In terminal 31 are digitized by the A/D 62 to be supplied to the encoder 59 under the control of the AIO MW 94. Next, under the control of the HD MW 82, the digital audio data are encoded by the encoder 59 for encryption on the basis of the ATRAC3 technique and the encrypted data are transferred to the buffer 56 and then to the HDD 58 for recording. Further, under the control of HD MW 82, the watermark is detected by the WM screen 60-2 from the digital output of the A/D 62. Then, under the control of the AIO MW 94, the analog audio data inputted from the AUX In terminal 31 are outputted from the speaker 2.

[0451] FIG. 51 shows the data flow at the time of HD play. In HD play in which encoded data recorded to the HDD 58 are played back, the encoded data read from the HDD 58 are buffered in the buffer 56 and then decrypted and decoded by the decoder 59 under the control of the HD MW 82. The resultant digital audio data are buffered in the buffer 56 and then transferred to the audio I/F 60-3. Next, the digital audio data are transferred to the D/A 62 by the audio I/F 60-3 to be converted into analog data, which are outputted from the speaker 2.

[0452] FIG. 52 shows the data flow at the time of CD play. In CD play in which the music CD 3 is played, the digital audio data stored in the music CD 3 are read by the CD-ROM drive 57 and buffered in the buffer 56 to be transferred to the audio I/F 60-3 under the control of the CD MW 88. Next, under the control of the AIO MW 94, the digital audio data are transferred to the D/A 62 by the audio I/F 60-3 to be converted into analog data, which are outputted from the speaker 2.

[0453] FIGS. 53A and 53B show each the data flow at the time of MS play. In the MS play in which the encoded data stored in the MS 4 are played, the encoded data stored in the MS 4 are supplied to the MGMS I/F 60-1 to be cross-certified and then decrypted and the resultant data are decoded by a decoder incorporated in the signal processor 60 under the control of the MS MW 89 as shown in FIG. 53A. Next, under the control of the AIO MW 94, the decoded digital audio data obtained by decoding are transferred to the D/A 62 by the audio I/F 60-3 to be converted into analog data, which are outputted from the speaker 2.

[0454] As shown in FIG. 53B, the encoded data area read from the MS 4 to be supplied to the MGMS I/F 60-1 to be cross-certified and then decrypted under the control of the MS MW 89. The decrypted encoded data are buffered in the buffer 56 and decoded by the decoder 59, the resultant digital audio data being outputted to the D/A 62 via the buffer 56. Next, under the control of the AIO MW 94, the audio data converted into analog data by the D/A 62 are outputted from the speaker 2.

[0455] FIG. 54 shows the data flow at the time of MS check-out/move-out. In the MS check-out in which the encoded data stored in the HDD 58 are copied to the MS 4 and in the MS move-out in which the encoded data stored in the HDD 58 are moved to the MS 4, the encoded data read from the HDD 58 are buffered in the buffer 56 under the control of the HD MW 82. Next, under the control of the MS MW 89, the buffered encoded data are transferred to the MGMS I/F 60-1 to be recorded to the MS 4. It should be noted that the check-out and move-out operations will be detailed later.

[0456] FIG. 55 shows the data flow at the time of MS import/move-in. In the MS import/move-in in which the encoded data stored in the MS 4 are moved to the HDD 58, the encoded data stored in the MS 4 are transferred to the buffer 56 via the MGMS I/F 60-1 under the control of the MS MW 89. Next, under the control of the HD MW 82, the buffered encoded data are transferred to the HDD 58 for recording. It should be noted that the import/move-in operations will be detailed later.

[0457] FIG. 56 shows the data flow at the time of PD check-out. In the PD check-out in which the encoded data stored in the HDD 58 are copied to the PD 5, the encoded data read from the HDD 58 are buffered in the buffer 56 and then decrypted by the encoder/decoder 59 and encrypted again for the PD 5 to be buffered in the buffer 56 under the control of the HD MW 82. Next, under the control of the PD MW 90, the buffered encoded data are recorded to the PD 5 via the USB host controller 54 and the USB connector 43.

[0458] The following describes the details of CD ripping and CD recording with reference to FIGS. 57 through 70B. CD ripping is performed when the user presses the high-speed recording button 24. The CD recording is performed when the user presses the recording button 23.

[0459] The following describes the difference between CD ripping and CD recording with reference to FIGS. 57 and 58. The upper portion of FIG. 57 shows the monitor sound output period in CD ripping. The lower portion of FIG. 57 shows the period of recording process (recording after encoding) in CD ripping. The upper portion of FIG. 58 shows the period of monitor sound output in CD recording. The lower portion of FIG. 58 shows the period of recording process (encoding and then recording) in CD recording.

[0460] As clearly seen from the comparison between FIG. 57 and FIG. 58, CD ripping and CD recording are the same in the total time necessary for recording process. Namely, the process in which the audio data (PCM data) stored in the music CD 3 are recorded to the HDD 58 by encoding the data on the basis of the ATRAC3 technique is performed at an average speed of 5× relative to the playback speed of the audio data.

[0461] For example, if the music CD 3 storing six pieces of music each taking 10 minutes for its play, totaling 60 minutes, is recorded by CD ripping or CD recording, these pieces of music are sequentially recorded taking about two minutes each.

[0462] The difference between CD ripping and CD recording lies in the period of monitor sound output.

[0463] In the case of CD ripping, monitor sound is outputted only in a period in which the corresponding audio data are being recorded. In the above-mentioned example of the music CD 3, from the beginning of the first piece of music, sound for about two minutes is outputted at a normal playback speed, from the beginning of the second piece of music, sound for about two minutes is outputted at a normal speed, and, subsequently, from the beginning of each of the remaining pieces of music, sound for about two minutes is outputted at a normal speed. Therefore, monitor sound output ends upon the end of the recording process.

[0464] In the case of CD recording, monitor sound is outputted regardless of the progress of the recording of the corresponding audio data. In the above-mentioned example of the music CD 3, all sound of the first piece of music is outputted at a normal playback speed, all sound of the second piece of music is outputted at a normal playback speed, and, subsequently, all sound of each of the remaining pieces of music is outputted at a normal playback speed. Therefore, even when the recording process ends, the monitor sound output of the corresponding audio data is continued until the end of the last sixth piece of music.

[0465] It should be noted that CD ripping and CD recording may be switched between as required in the course of the process.

[0466] FIG. 59 shows a state of the buffer 56 at the time when CD ripping or CD recording is performed. The buffer 56 has a PCM data reading buffer 231 for buffering the audio data (PCM data) read from the music CD 3 before encoding and a encoded data buffer 232 for buffering the data encoded and encrypted by the encoder/decoder 59.

[0467] FIG. 60 shows the state transitions of the PCM data reading buffer 231 and the encoded data buffer 232 arranged in the buffer 56 and a PCM data playback buffer 251 arranged in the audio I/F 60-3. Each of the PCM data reading buffer 231, the encoded data buffer 232, and PCM data playback buffer 251 is one of the transition states, the initial write enabled state, the writing state which is entered when data writing starts, the read enabled state which is entered when data writing ends, and the reading state which is entered when data reading starts. It should be noted that, when data reading ends from the reading state, the state returns to the write enabled state.

[0468] FIG. 61 shows the structure of the ring buffer 241 arranged in the HDD 58 for buffering the PCM data for monitor sound output when CD ripping or CD recording is performed.

[0469] The ring buffer 241 having a predetermined capacity (address 0 through address max for the convenience of description) has a read pointer 242 for pointing a read start address and a write pointer 243 for pointing a write start address. The ring buffer 241 is divided into a read enabled area 244 from the address pointed by the read pointer 242 to the address pointed by the write pointer 243 in the forward direction and a write enabled area 245 from the address pointed by the write pointer 243 to the address pointed by the read pointer 242 in the forward direction. The capacity of the read enabled area 244 is referred to as a read margin. The capacity of the write enabled area is referred to as a write margin.

[0470] FIG. 62 shows the data flow between the buffers at the time of CD ripping and CD recording. The PCM data stored in the music CD 3 are read by the CD-ROM drive 57 to be buffered in the PCM data reading buffer 231 arranged in the buffer 56. The PCM data buffered in the PCM data reading buffer 231 are transferred to the encoder/decoder 59 to be encoded and encrypted. The resultant encoded data are buffered in the encoded data buffer 232 arranged in the buffer 56. The encoded data buffered in the encoded data buffer 232 are transferred to the HDD 58 to be recorded to the file recording area 121.

[0471] On the other hand, the PCM data buffered in the PCM data reading buffer 231 are transferred to the HDD 58 to be buffered in the ring buffer 241 arranged in the HDD 58. The PCM data buffered in the ring buffer 241 are transferred to the PCM data playback buffer 251 incorporated in the audio I/F 60-3 to be buffered and then transferred to the AD/DA 62 to be converted into analog data, which are outputted from the speaker 2.

[0472] The following describes a recording speed setting process associated with CD ripping and CD recording with reference to the flowchart shown in FIG. 63. This recording speed setting process is repetitively executed while the music CD 3 is selected as a sound source, namely while the music CD 3 is loaded on the CD-ROM drive 57 and the CD is selected by operating the function button 12.

[0473] In step S281, the input handle middleware 97 starts monitoring user's operation on the various buttons. In step S282, the input handle middleware 97 waits until a user's operation is performed on the various buttons. If a user's operation on the various buttons is determined, the information thereof is transmitted to the main APP 76. The main APP 76 determines whether or not the operation is an operation performed on the recording button 23. If the operation is found an operation performed on the recording button 23, then the procedure goes to step S283.

[0474] In step S283, the main APP 76 notifies the HD APP 77 of the operation of the recording button 23. The HD APP 77 transmits the information that the recording button 23 has been operated to the CD RIPPING 84 of the HD MW 82. The CD RIPPING 84 turns off the high-speed recording flag arranged by itself in the SDRAM 53 for example. The procedure returns to step S281.

[0475] If a user's operation on the various buttons is determined and this operation is found not on the recording button 23 in the S282, the procedure goes to step S284. In step S284, the main APP 76 determines whether or not the user's operation is on the high-speed recording button 24. If the operation is found an operation on the high-speed recording button 24, the procedure goes to step S285.

[0476] In step S285, the main APP 76 notifies the HD APP 77 of the operation of the high-speed recording button 24. The HD APP 77 transmits the information that the high-speed recording button 24 has been operated to the CD RIPPING 84 of the HD MW 82. The CD RIPPING 84 turns on the high-speed recording flag, upon which the procedure returns to step S281.

[0477] If the operation is found not the operation on the high-speed recording button 24 in step S284, then the procedure returns to step S281.

[0478] By the above-mentioned recording speed setting process, when the high-speed recording button 24 is operated and the high-speed recording flag is turned on, the CD ripping as shown in FIG. 57 is executed. Conversely, when the recording button 23 is operated and the high-speed recording flag is turned off, the CD recording as shown in FIG. 58 is executed. It should be noted that the switching from CD ripping to CD recording and vice versa may be performed any time in accordance with the user's button operation.

[0479] The following describes a CD recording process with reference to the flowchart shown in FIG. 64. This CD recording process is a process which is controlled by the CD RIPPING 84 included in the HD MW 82, which starts when the music CD is loaded, and the function button 12 is pressed to set the sound source to the CD and then the recording button 23 or the high-speed button 24 is operated.

[0480] In step S291, the user selects a piece of music to be recorded from the music CD 3 during the recording pause state set by operating the recording button 23 or the high-speed button 24. To be more specific, the user operates a cursor button 17 to select a piece of music from the pieces of music recorded to the music CD 3 and establishes the selection by operating the enter button 20. By repeating these operations, the user selects all pieces of music to be recorded. It should be noted that, if no music selecting operation is performed, it is assumed that all pieces of music recorded to the music CD 3 be selected.

[0481] When the music selection has been completed, the user operates the play/pause button 26. The procedure goes to step S292.

[0482] In step S292, the CD RIPPING 84 initializes the ring buffer information formed by the read start address and the like pointed by the read pointer 242 set to the ring buffer 241. The following describes this ring buffer information initializing process with reference to the flowchart shown in FIG. 65. In step S301, the CD RIPPING 84 sets the read start address pointed by the read pointer 242 and the write start address pointed by write pointer 243 to address 0 of the ring buffer 241. In addition, the CD RIPPING 84 sets the read margin of the ring buffer 241 to 0 and the write margin to the maximum value max. Thus, the ring buffer information initializing process is performed.

[0483] Returning to FIG. 64, in step S293, the CD RIPPING 84 sequentially selects the pieces of music selected in step S291 and executes the recording of one piece of music. The following describes the recording process for recording one piece of music with reference to the flowchart shown in FIG. 66. In step S311, the CD RIPPING 84 requests the CD MW 88 to buffer the PCM data of the piece of music to be recorded to the music CD 3 into the PCM data reading buffer 231 in the write enabled state in units of predetermined data amount (for example, in units of two seconds). When the PCM data of a predetermined data amount has been written (buffered), the state of the PCM data reading buffer 231 moves to the read enabled state.

[0484] In step S312, the CD RIPPING 84 causes the encoder/decoder 59 to encode (encode and then encrypt) the PCM data of a predetermined amount buffered in the PCM data reading buffer 231. When the reading of the PCM data of a predetermined data amount from the PCM data reading buffer 231 has been completed, the state of the PCM data reading buffer 231 moves to the write enabled state.

[0485] Also, the CD RIPPING 84 starts a monitor sound output process. The monitor sound output process will be described later with reference to FIG. 67.

[0486] In step S313, the CD RIPPING 84 buffers the encoded data of a predetermined amount obtained by encoding into the encoded data buffer 232 in the write enabled state in the buffer 56. When the writing (buffering) of the encoded data of a predetermined amount (for example, equivalent to two seconds) has been completed, the state of the encoded data buffer 232 moves to the read enabled state.

[0487] In step S314, the CD RIPPING 84 records the encoded data of a predetermined amount buffered in the encoded data buffer 232 to the file recording area 121 of the HDD 58. It should be noted that the process for recording the encoded data to the file recording area 121 in units of a predetermined amount is equivalent to the above-mentioned file creating process described with reference to FIG. 14. The object creating process described with reference to FIG. 28 is also performed.

[0488] In step S315, the CD RIPPING 84 determines whether or not the encoded data for one piece of music have been recorded. If the encoded data for one piece of music are found not recorded, then the procedure returns to step S311 to repeat the above-mentioned processes. Then, if the encoded data for one piece of music have been recorded in step S315, the recording process for recording one piece of music comes to an end.

[0489] After executing the recording process for one piece of music as described above, the procedure returns to step S294 shown in FIG. 64. In step S294, the CD RIPPING 84 determines whether or not all pieces of music selected in step S291 have been recorded. If all selected pieces of music are found not recorded, the procedure returns to step S293 to record the next piece of music.

[0490] Next, if all selected pieces of music are found recorded in step S294, this CD recording process comes to an end.

[0491] The following describes the monitor sound output process started in step S312 with reference to the flowchart shown in FIG. 67. In step S321, the CD RIPPING 84 determines whether or not the high-speed recording flag is on. If the high-speed recording flag is found on, then the procedure goes to step 322.

[0492] In step S322, the CD RIPPING 84 determines whether or not the recording process for one piece of music of the corresponding PCM data has ended. If the recording process for one piece of music of the corresponding PCM data is found not ended, the procedure goes to step S323 to output monitor sound of the PCM data for which the recording of one piece of music is being executed.

[0493] In step S323, the CD RIPPING 84 starts writing the PCM data buffered in the PCM data reading buffer 231 to the ring buffer 241. Without waiting for the end of the process in step S323, the CD RIPPING 84 starts reading the PCM data recorded to the ring buffer 241 in step S324.

[0494] The following describes the writing process for writing to the ring buffer 241 in step S323 with reference to the flowchart shown in FIG. 68.

[0495] In step S331, the CD RIPPING 84 determines whether or not the high-speed recording flag is on. If the high-speed recording flag is found on, the procedure goes to step S332. In step S332, the CD RIPPING 84 executes the buffer information initializing process described with reference to FIG. 65.

[0496] In step S333, the CD RIPPING 84 starts writing the PCM data recorded to the PCM data reading buffer 231 to the write enabled area 245 subsequent to the write start address pointed by the write pointer 243 of the ring buffer information. In step S334, the CD RIPPING 84 increments in the forward direction the write start address value pointed by the write pointer 243 included in the ring buffer information by the amount of the PCM data written in step S333, thereby accordingly updating the write margin value and the read margin value.

[0497] It should be noted that, if the high-speed recording flag is found not on in step S331, the procedure goes to step S335. In step S335, the CD RIPPING 84 determines whether or not the size of the PCM data recorded to the PCM data reading buffer 231 is equal to or smaller than the write margin of the ring buffer 241 by referencing the ring buffer information. If the size of the PCM data recorded to the PCM data reading buffer 231 is found equal to or smaller than the write margin of the ring buffer 241, then the procedure goes to step S333.

[0498] It should be noted that, if the size of the PCM data recorded to the PCM data reading buffer 231 is found not equal to or smaller than the write margin of the ring buffer 241 in step S335, then the procedure returns to step S331 to repeat the processes of step S331 and step S335 until the high-speed recording flag is found on in step S331 by changing the recording speed settings by the user or the size of the PCM data recorded to the PCM data reading buffer 231 is found not equal to or smaller than the write margin of the ring buffer 241 in step S335 due to the increase in the write margin of the ring buffer 241. Thus, the process of writing to the ring buffer 241 is performed.

[0499] The following describes the process of reading from the ring buffer 241 in step S324 with reference to the flowchart shown in FIG. 69. In step S341, the CD RIPPING 84 determines whether or not the PCM data playback buffer 251 incorporated in the audio I/F 60-3 is in the write enabled-state and waits until the PCM data playback buffer is in the write enabled state. If the PCM data playback buffer is found in the write enabled state, then the procedure goes to step S342.

[0500] In step S342, the CD RIPPING 84 reads the PCM data recorded to the read enabled area 244 of the ring buffer 241 in accordance with the read start address pointed by the read pointer 242 of the ring buffer 241, and writes the PCM data to the PCM data playback buffer 251.

[0501] In step S343, the CD RIPPING 84 increments in the forward direction the value of the read start address pointed by the read pointer 242 included in the ring buffer information by the amount of the PDM data read in step S342, thereby accordingly updating the write margin value and the read margin value.

[0502] In step S344, the CD RIPPING 84 moves the state of the PCM data playback buffer 251 to the read enabled state. Thus, the process of reading from the ring buffer 241 is performed.

[0503] Returning to FIG. 67, the AIO MW 94 outputs the PCM data buffered in the PCM data playback buffer 251 to the AD/DA 62 in step S325. The AD/DA 62 starts reproducing the inputted PCM data to output the corresponding sound from the speaker 2.

[0504] In step S326, the CD RIPPING 84 determines whether or not the PCM data for one piece of music has been played back. If the PCM data for one piece of music are found not completely played back, the procedure returns to step S321 to repeat the above-mentioned processes. If the PCM data for one piece of data are found not completely played back, the monitor sound output process comes to an end.

[0505] It should be noted that, if the PCM data for one piece of music is found completely recorded in step S322, this monitor sound output process is immediately discontinued. Thus, the CD recording process is performed.

[0506] It should be noted that, in the course of the CD recording process, CD ripping may be switched to CD recording and vice versa in accordance with the user's operation on the recording button 23 or the high-speed recording button 24.

[0507] The following describes display examples to be displayed on the display 15 when CD ripping is performed, with reference to FIGS. 70A and 70B. FIG. 70A show an example of information associated with recording setting which is displayed immediately before starting recording. At this moment, display areas 261 through 267 are arranged on the display 15. In this display example, the display area 261 displays the information indicative of recording source and recording destination. The display area 262 displays that the information associated with recording setting is displayed. The display area 263 displays a folder name indicative of storage location. The display area 264 displays the album name and artist name of the album to be recorded. The display area 265 displays the bit rate to be used at the time of recording. The display area 266 displays the recording level to be used at the time of recording. The display area 267 displays the information that the recording starts when the play/pause button 26 is pressed. The recording level at the time of recording is displayed.

[0508] FIG. 70B shows a display example which is displayed during recording. At this moment, display areas 271 through 278 are arranged on the display 15. In this display example, the display are 271 displays the information indicative of recording source and recording destination. The display area 272 blinks a character string “In high-speed recording” indicative that CD ripping is being executed. The display area 273 displays the album name and artist name of music being recorded. The display area 274 displays the music number in the music CD 3 of the music being recorded. The display area 275 displays the playback elapsed time of the music being recorded. The display area 276 displays the remaining playback time of the music CD 3. The display area 277 displays a progress bar 279 variable in length in accordance with the recording progress relative to the total number of pieces of music to be recorded. The display area 278 displays the total number of pieces of music to be recorded and the number of pieces of music already recorded and during recording.

[0509] For example, if CD ripping is being executed on all pieces music in an album of which playback time is 60 minutes, the length of the progress bar 279 displayed in the display area 277 becomes longer from the start of recording and extends up to the full length of the display area 277 in about 12 minutes because the recording is executed at the speed of about 5×.

[0510] It should be noted that the length of the progress bar 279 in the display area 277 may be elongated in proportion to the music playback elapsed time rather than the recording progress.

[0511] The following describes a method of reproducing the content data recorded to the HDD 58 with reference to FIGS. 71 through 77. As described, the audio server 1 encodes the music recorded to the music CD 3 and records the content data as a file to the HDD 58. In the case of specifying particular music to be played back, the user specifies the hierarchically arranged objects of folder, album, and track.

[0512] Specifying the entire HDD, a given folder, or a given album as a playback area allows the specification of a plurality of music pieces collectively as the music pieces to be recorded. The playback of music is realized by decoding the content data corresponding to the tracks included in the play list to be created on the basis of the specified playback area.

[0513] FIG. 71 shows an exemplary playback area. If the entire HDD enclosed by dashed lines 281 is specified as a playback area, all track numbers in the HDD 58 are registered in the play list as shown in FIG. 72.

[0514] If a my select folder F1 enclosed by dashed lines 282 is specified as the playback area, the album numbers of all albums belonging to the my select folder F1 are registered in the play list as shown in FIG. 73.

[0515] If an album A1 of the my select folder F1 enclosed by dashed lines. 283 is specified as the playback area, the track numbers of all tracks belonging to the album A1 of the my select folder F1 are registered in the play list as shown in FIG. 74.

[0516] If a track T1 of the album A1 belonging to a temporary folder F2 is specified as the music to be played back, the track T1 of the album A1 belonging to the temporary folder F2 is registered in the play list shown in FIG. 75.

[0517] The following describes a process of creating the play list corresponding to the specified playback area with reference to the flowchart shown in FIG. 76.

[0518] This play list creating process is controlled by the HD PLAY 85 included in the HD MW 82 and starts when the function button 12 is operated to set the sound source to the HDD.

[0519] In step S351, the HD PLAY 85 determines whether or not the layer of the object indicative of the playback area selected by the user is the entire HDD. If the layer of the selected object is found not the entire HDD, then the procedure goes to step S352. It should be noted that the user selects a playback area by operating a playback area switching button (not shown) arranged on the remote controller 7 or by operating the cursor button 17, the enter button 20, and the menu/cancel button 21 arranged on the cover 40 in a predetermined sequence.

[0520] In step S352, the HD PLAY 85 determines whether or not the layer of the object selected by the user is a folder. If the layer of the object selected by the user is found not a folder, then the procedure goes to step S353.

[0521] In step S353, the HD PLAY 85 determines that the layer of the object selected by the user is an album and the procedure goes to step S354.

[0522] In step S354, the HD PLAY 85 determines whether or not the play/pause button 26 has been operated. If the play/pause button 26 is found operated, the procedure goes to step S355. In step S355, the HD PLAY 85 determines whether or not the play list belonging to the layer of the selected object has already been created. If the play list is found not created, the procedure goes to step S356. If the play list is found already created, step S356 is skipped.

[0523] In step S356, the HD PLAY 85 creates a play list corresponding to the layer of the selected object.

[0524] It should be noted that, the play/pause button 26 is found not operated in step S354, then the procedure returns to step S351 to repeat the above-mentioned processes.

[0525] It should be noted that, if the layer of the selected object is found the entire HDD in step S351 or the layer of the selected object is found a folder in step S352, then the procedure goes to step S354. Thus, the play list creating process is performed.

[0526] It should be noted that a plurality of play lists corresponding to various supposed playback areas may be created beforehand and recorded at a predetermined location and a corresponding play list may be read from among these play lists when the a play list is selected by the user.

[0527] The following describes a playback process to be executed after the end of the above-mentioned play list creating process, taking the example where the play mode is set to the all music repeat, with reference to the flowchart shown in FIG. 77.

[0528] In step S361, the HD PLAY 85 determines whether or not the end of playback has been instructed by operating the stop button 25. If the end of the playback is found not instructed, the procedure goes to step S362. In step S362, the HD PLAY 85 sequentially specifies all tracks included in the play list each as a playback track.

[0529] In step S363, the HD PLAY 85 plays back the content data corresponding to each specified playback track. To be more specific, a track object corresponding to the playback track is identified on the basis of CC data, the file identifier of the corresponding content data is identified on the basis of the value of the file identifier recording area 203 of the identified track object, and the content data are read on the basis of the identified file identifier (=the cluster number of the file recording area 121). Next, the retrieved content data are decoded and outputted.

[0530] When the playback of the content data corresponding to the playback track ends, the procedure returns to step S361 to repeat the above-mentioned processes. Then, in step S361, if the end of the playback is determined instructed upon operation of the stop button 25, the playback process with the playback mode being all music repeat ends.

[0531] It should be noted that, in the playback modes other than the all music repeat, only the method of specifying playback area and playback track differs from that of the all music repeat, so that the processes are the same between these modes.

[0532] The following describes a process of moving out the content data recorded to the HDD 58 of the audio server 1 to the MS 4 with reference to FIGS. 78 through 81.

[0533] The process of moving out the content data recorded to the HDD 58 to the MS 4 includes copying the content data from the HDD 58 to the MS 4 and deletes the copied content data from the HDD 58.

[0534] The following describes the move-out process with reference to the flowchart shown in FIG. 78. It should be noted that the move-out process is controlled by the MS MW 89.

[0535] This move-out process starts when the user displays the menu by operating the menu/cancel button 21, selects “edit” by operating the cursor button 17, displays the edit menu by operating the enter button 20, selects “move out” by operating the cursor button 17, operates the enter button 20, selects the track to be moved out by operating the cursor button 17 and the select button 18, displays the list of tracks to be moved out by operation the enter key 20, and then operating the enter key 20 with the MS 4 loaded in the MS slot 45.

[0536] In step S371, the MS MW 89 requests the C IN/C OUT 87 to copy the content data recorded to the HDD 58 to be moved out as rightless data (playback disabled data) to the MS 4. It should be noted that, to provide rightless data, a rightful/rightless flag included in the attribute information of the content data is turned off. Namely, the attribute information indicative of right invalidity and the content data are copied to the MS 4.

[0537] In step S372, the C IN/C OUT 87 generates a move-out log information indicative that the move-out process has started and records the generated log information to the HDD 58. The move-out log information includes the information for identifying the track to be moved out. In step S373, the C IN/C OUT 87 turns off the flag indicative whether the content data recorded to the HDD 58 have the right or not to render the content data in the HDD 58 rightless.

[0538] In step S374, the MS MW 89 turns on the flag indicative whether the content data copied to the MS 4 have the right or not to render the content data in the MS 4 rightful.

[0539] In step S375, the C IN/C OUT 87 deletes the content data from the HDD 58. In step S376, the C IN/C OUT 87 deletes the move-out log information generated in the process of step S372.

[0540] The above-mentioned processes of steps S371 through S376 are the move-out processes for the content data corresponding to one track. These processes of steps S371 through S376 are repeated for each of the selected tracks.

[0541] It should be noted that, if a move-out process is discontinued due to power outage for example during the process is on, a restore process for restoring the discontinued process is executed after the power is resumed. The restore process will be described later with reference to FIGS. 86 through 88.

[0542] FIG. 79 shows the state transitions of a move-out process. State 1 is the state before the stating of a move-out process. Namely, in this state, content data are recorded to the HDD 58 of the audio server 1 and these content data have the right.

[0543] State 2 is a state after the execution of the process of step S371. Namely, in state 2, the content data have been copied from the HDD 58 to the MS 4, resulting in the recording of the content data to both the HDD 58 and the MS 4 and the content data in the HDD 58 have the right while the content data in the MS 4 have no right.

[0544] State 3 is a state after the execution of the process of step S373. Namely, in state 3, content data are recorded to both the HDD 58 and the MS 4 and the content data in the HDD 58 and the content data in MS 4 have no right.

[0545] State 4 is a state after the execution of the process of step S374. Namely, in state 4, content data are recorded to both the HDD 58 and the MS 4 and the content data on the HDD 58 has no right while the content data in the MS 4 has the right.

[0546] State 5 is a state after the execution of the process of step S375. Namely, in state 5, the content data recorded to the HDD 58 have been deleted and therefore only the MS 4 records the content data, which have the right.

[0547] FIG. 80 shows a display example on the display 15 at the time of selecting tracks to be moved out. The display 15 shows only the pieces of music that can be moved out.

[0548] FIG. 81 show a display example on the display 15 during a move-out process. A display area 291 on the display 15 blinks a character string “Move out” indicative that a move-out process is being executed. A check marker 292 is displays by each moved out track. A display area 293 displays the information indicative of the progress of the move-out process (the number of tracks being moved out or already moved out/the total number of tracks to be moved out).

[0549] The following describes a process of moving in the content data recorded to the MS 4 to the HDD 58 of the audio server 1 with reference to FIGS. 82 through 81.

[0550] The process of moving in the content data recorded to the MS 4 to the HDD 58 denotes a sequence of processes in which the content data recorded to the MS 4 are copied to the HDD 58 and then the content data recorded to the MS 4 are deleted.

[0551] The following describes this move-in process with reference to the flowchart shown in FIG. 82. It should be noted that the moving-in process is controlled by the MS MW 89.

[0552] This move-in process starts when the user displays a menu by operating the menu/cancel button 21, selects “edit” by operating the cursor button 17, displays the edit menu by operating the enter button 20, selects “move in” by operating the cursor button 17 and then operates the enter button 20, selects the content data to be moved in from the content data recorded to the MS 4 by operating the cursor button 17 and the select button 18, displays the list of content data to be moved in by operating the enter key 20, and, after operating the enter key 20, operates the play/pause button 26 with the MS 4 loaded in the MS slot 45.

[0553] In step S381, the MS MW 89 requests the C IN/C OUT 87 to generate move-in log information indicative of the starting of a move-in process and record the generated log information to the HDD 58. The move-in log information includes the information for identifying the content data to be moved in.

[0554] In step S382, the C IN/C OUT 87 copies the content data to be moved in from the MS 4 to the HDD 58 as the data having no right. In step S383, the MS MW 89 turns off the flag indicative whether the content data recorded to the MS 4 have the right or not to render the content data in the MS 4 rightless.

[0555] In step S384, the C IN/C OUT 87 turns on the flag indicative whether the content data copied to the HDD 58 have the right or not to render the content data in the HDD 58 rightful.

[0556] In step S385, the C IN/C OUT 87 requests the MS MW 89 to delete the content data from the MS 4. In step S386, the C IN/C OUT 87 deletes the move-in log information generated in the process of step S382.

[0557] The above-mentioned processes of steps S381 through S386 are the move-in process for the content data corresponding to one track. The processes in steps S381 through S386 are repeated for each of the selected tracks.

[0558] It should be noted that, if a move-in process is discontinued due to power outage for example during the process is on, a restore process for restoring the discontinued process is executed after the power is resumed.

[0559] FIG. 83 shows the state transitions of a move-in process. State 11 is a state before a move-in process starts. Namely, in state 11, content data are recorded to the MS 4 and the content data in the MS 4 have the right.

[0560] State 12 is a state after the execution of the process of step S382. Namely, in state 12, by copying the content data from the MS 4 to the HDD 58, the content data are recorded to both the MS 4 and the HDD 58 and the content data in the MS 4 are rightful while the content data in the HDD 58 are rightless.

[0561] State 13 is a state after the execution of the process of step S383. Namely, the content data are recorded to both the MS 4 and the HDD 58 and the content data in the MS 4 and the content data in the HDD 58 are both rightless.

[0562] State 14 is a state after the execution of the process of step S384. Namely, in state 14, the content data are recorded to both the MS 4 and the HDD 58 and the content data in the MS 4 are rightless while the content data in the HDD 58 are rightful.

[0563] State 15 is a state after the execution of the process of step S385. Namely, by deleting the content data from the MS 4, the content data are recorded only to the HDD 58 and therefore the content data in the HDD 58 are rightful.

[0564] FIG. 84 shows a display example on the display 15 at the time of selecting content data to be moved in. Of the content data recorded to the MS 4, only the content data that can be moved in are displayed on the display 15.

[0565] FIG. 85 shows a display example on the display 15 during the move-in process. A display area 301 of the display 15 blinks a character string “Move in” indicative that a move-in process is being executed. A check marker 302 is displayed by the content data which have been moved in. A display area 303 displays the information indicative of the progress of the move-in process (the number of tracks being moved in or already moved in/the total number of tracks to be moved in).

[0566] Thus, the move-in process is performed. A process for importing content data from the MS 4 to the HDD 58 is performed in substantially the same manner. The difference between move-in process and import process lies in the handling of the content data recorded to the HDD 58 by these processes.

[0567] The audio server 1 may move out the content data recorded to the HDD 58 by a move-in process to other MS 4 or PD 5 and check out these content data. However, although audio server 1 may check out the content data recorded to the HDD 58 by an import process to other MS 4 or PD 5, but is disabled to move out these content data.

[0568] The following describes a restore process for compensating the discontinuation of a move-out process or a move-in process due to power outage for example during the execution of these processes, with reference to FIG. 86. This restore process is started by the MS MW 89 as soon as the power supply is resumed.

[0569] In step S391, the MS MW 89 determines whether or not there is move-out log information in the HDD 58. If the move-out log information is found in the HDD 58, the procedure goes to step S392 to compensate the discontinued execution of the move-out process.

[0570] In step S392, the MS MW 89 executes a move-out restore process. The following describes the move-out restore process with reference to the flowchart shown in FIG. 87.

[0571] In step S401, the MS MW 89 determines whether or not the content data of the HDD 58 are rightless or not. If the content data of the HDD 58 are found rightless, the procedure goes to step S402. The content data of the HDD 58 being rightless indicates state 3 or state 4 in FIG. 79.

[0572] In step S402, the MS MW 89 deletes the content data from the HDD 58. If the content data in the HD 58 are deleted in state 4, the state shifts to state 5 in which the move-out process has been completed. If the content data are deleted from the HDD 58 in state 3, the state shifts to the state in which the content data having the rightless data remain in the MS 4.

[0573] At this moment, the user loses the content data, but the copyright of the content data is protected. The content data having the rightless data in the MS 4 may be deleted by the user by use of a general-purpose file editing application, so that no wasted data need be left in the MS 4, which are the content data having rightless data.

[0574] Conversely, if a restore process is performed such that the content data having rightless data in the MS 4 are deleted to make the content data having rightless data remain in HDD 58, the wasted data which are the content data having rightless data remain recorded to the HDD 58. Because the content data having rightless data do not occur as a result of normal operations, the dedicated audio server 1, one embodiment of the present invention, does not have a function for deleting the content data having rightless data as instructed by the user.

[0575] Therefore, to protect the copyright of content data and prevent the audio server 1 from recording invalid data, it is desired to delete the content data from the HDD 58 as shown in step S402.

[0576] It should be noted that, if the content data in the 58 are determined not rightless in step S401, step S402 is skipped. Namely, if the content data in the HDD 58 are not rightless, it indicates state 2 shown in FIG. 79. At this moment, the content data having rightless data remain in the MS 4; however, as described above, the content data having rightless data in the MS 4 are deletable by the user by use of a general-purpose file editing application, so that there main no wasted data which are the content data having rightless data in the MS 4.

[0577] In step S403, the MS MW 89 deletes the move-out log information from the HDD 58.

[0578] The procedure returns to FIG. 86. In step S393, the MS MW 89 determines whether or not there is move-in log information in the HDD 58. If the move-in log information is found in the HDD 58, then the procedure goes to step S394 to compensate the discontinued move-in process.

[0579] In step S394, the MS MW 89 executes a move-in restore process. The following describes a move-in restore process with reference to the flowchart shown in FIG. 88.

[0580] In step S421, the MS MW 89 determines whether or not the content data in the HDD 58 are rightless or not. If the content data in the HDD 58 are found rightless, then the procedure goes to step S422. If the content data in the HDD 58 are rightless, it indicates state 12 or state 13 shown in FIG. 83.

[0581] In step S422, the MS MW 89 deletes the existing content data from the HDD 58.

[0582] If the state is state 12, the deletion of the content data existing in the HDD 58 causes the state to shift to state 11, which is before the execution of move-in process. If the content data existing in the HDD 58 are deleted in state 13, the content data having rightness data remain in the MS 4.

[0583] At this moment, the user loses the content data, but the copyright of the content data is protected. The content data having rightless data in the MS 4 may be deleted by the user by use of a general-purpose file editing application, so that there remain no wasted data which are the content data having rightless data in the MS 4.

[0584] Conversely, if a restore process is performed such that the content data having rightless data in the MS 4 are deleted to make the content data having rightless data remain in HDD 58, the wasted data which are the content data having rightless data remain recorded to the HDD 58. Because the content data having rightless data do not occur as a result of normal operations, the dedicated audio server 1, one embodiment of the present invention, does not have a function for deleting the content data having rightless data as instructed by the user.

[0585] Therefore, to protect the copyright of content data and prevent the audio server 1 from recording invalid data, it is desired to delete the content data from the HDD 58 as shown in step S422.

[0586] It should be noted that, if the content data in the 58 are determined not rightless in step S421, step S422 is skipped. Namely, if the content data in the HDD 58 are not rightless, it indicates state 14 or state 15 shown in FIG. 83. State 15 presents no problem because the move-in process has been completed therein. In state 14, however, the content data having rightless data remain in the MS 4; as described above, the content data having rightless data in the MS 4 are deletable by the user by use of a general-purpose file editing application, so that there remain no wasted data which are the content data having rightless data in the MS 4.

[0587] In step S423, the MS MW 89 deletes the move-in log information from the HDD 58. Thus, the move-in restore process is performed. The procedure returns to FIG. 86, upon which the restore process comes to an end.

[0588] It should be noted that, if the move-out log information is found not existing in the HDD 58 in step S391 of FIG. 86, it may indicate that the move-out process has normally ended or the state is state 1 or state 2 shown in FIG. 79. If the move-out process has normally ended or in state 1 which is before the execution of the move-out process, the move-out restore process may be skipped.

[0589] In state 2, too, the content data having rightless data remain in the MS 4. However, because the content data having rightless data may be deleted by the user by use of a general-purpose file editing application, no wasted data which are the content data having rightless data remain in the MS 4. Therefore, the process of step S392 is skipped.

[0590] If the move-in log information is determined not existing in the HDD 58 in step S393, then it may indicate that the move-in process has normally ended or the state is state 11 shown in FIG. 83. If the move-in process has normally ended and in state 11 which is the state before the execution of a move process, the move-in restore process may be skipped, so that the process of step S394 is skipped.

[0591] Even if a restore process is discontinued due to power outage, the process is executed from step S391 again upon power resumption, the discontinued process may be compensated. Thus, the restore process is performed.

[0592] The following describes a process of checking out content data from the HDD 58 of the audio server 1 to the MS 4 with reference to FIGS. 89 through 91.

[0593] The process of checking out content data from the HDD 58 denotes a process of temporarily creating a copy of the content data recorded to the HDD 58 into the MS 4 for example and using this copy recorded to the MS 4. The check-out permission count of the content data is set beforehand and this check-out permission count is decremented by 1 every time a check-out process is executed. However, by executing a check-in process to be described later, the check-out permission count is incremented by 1.

[0594] The following describes a check-out process with reference to the flowchart shown in FIG. 89. It should be noted that a check-out process is controlled by the C IN/C OUT 87 of the HD MW 82.

[0595] This check-out process starts when the user displays the menu by operating the menu/cancel button 21, selects “edit” by operating the cursor button 17, displays the edit menu by operating the enter button 20, selects “check out” by operating the cursor button 17, and operates the enter button 20 with the MS 4 loaded in the MS slot 45.

[0596] In step S441, the C IN/C OUT 87 controls the HD DB 91 to get the check-out permission count (the number of times content data may still be checked out) for the content data corresponding to all tracks belonging to a currently selected album. The check-out permission count of content data is recorded to the CN included in the AC (FIG. 42) of each corresponding track object (FIG. 43).

[0597] In step S442, the C IN/C OUT 87 requests the associated firmware to display, on the display 15, the information (music title, check-out permission count, and so on) about the tracks of which check-out permission count is 1 or more. FIG. 90 shows a display example on the display 15. A display area 311 on the display 15 displays “HDD” as the information indicative of the sound source of check-out. A display area 312 shows the check-out permission count of the content data corresponding to each track.

[0598] In step S443, the C IN/C OUT 87 determines whether or not a track to be checked out has been selected from among the displayed check-out enabled tracks by the user operating the cursor button 17 and the select button 18. If a track to be checked out is found selected, the procedure goes to step S444.

[0599] In step S444, the C IN/C OUT 87 adds the selected track to the check-out list. In step S445, the C IN/C OUT 87 decrements the check-out permission count of the content data corresponding to the selected track by 1. The procedure returns to step S441 to repeat the above-mentioned processes.

[0600] It should be noted that, if the track to be checked out is found not selected in step S443, the procedure goes to step S446. In step S446, the C IN/C OUT 87 discriminates whether or not the user issues an instruction to execute check-out by operating the enter key 20 so that the list of tracks to be checked out is displayed and then operating the enter key 20. If the execution of check-out is found not instructed, the procedure returns to step S441 to repeat the above-mentioned processes.

[0601] Next, in step S446, if the execution of check-out is found instructed, the procedure goes to step S447. In step S447, the C IN/C OUT 87 reads from the HDD 58 the content data corresponding to the track included in the check-out list and requests the MS MW 89 to copy the retrieved content data into the MS 4. It should be noted that the copy of the content data includes the information for identifying the HDD 58, the check-out source.

[0602] In step S448, the C IN/C OUT 87 decrements the check-out permission count recorded to the CN of the AC of the track object corresponding to the copied content data by 1 to update the value of the CN. Also, the C IN/C OUT 87 records the information for identifying the MS 4 as the check-out destination information to LCMLOG of the AC.

[0603] Although the description is omitted here, a flag indicative of playback enabled or disabled (the validity or invalidity of the right) is used in the same manner as the above-mentioned move-out process, thereby compensating power outage for example and preventing the unauthorized creation of copies from occurring.

[0604] FIG. 91 shows a display example on the display 15 during the execution of a check-out process. A display area 321 blinks a character string “Check out” indicative that a check-out process is being executed. A check mark 322 is displayed by each track that has been checked out. A pointer 323 is displayed by the track which is currently being checked out. A display area 324 displays the information indicative of the progress situation of the check-out process (the number of pieces of content data being check out or already checked out/the total number of pieces of content data included in the check-out list). Thus, the check-out process is performed.

[0605] The following describes a process of checking in the content data checked out to the MS 4 into the HDD 58 with reference to FIGS. 92 and 93.

[0606] A process of checking out the content data recorded to the MS 4 denotes a process in which the copy of the content data temporarily reproduced on the MS 4 is deleted from the HDD 58 and the check-out permission count of the HDD 58 is incremented by 1 to restore the check-out permission count to the original value.

[0607] The following describes a check-in process with reference to the flowchart shown in FIG. 92. It should be noted that a check-in process is controlled by the C IN/C OUT 87 of the HD MW 82.

[0608] This check-in process starts when the user displays the menu by operating the menu/cancel button 21, selects “Edit” by operating the cursor button 17, displays the edit menu by operating the enter button 20, selects “Check in” by operating the cursor button 17, and operates the enter button 20 with the MS 4 loaded in the MS slot 45.

[0609] In step S451, the C IN/C OUT 87 requests the MS MW 89 to identify the content data which can be checked in (the content data checked out from the HDD 58 of the audio server 1) from among the data recorded to the MS 4 and requests the associated firmware to display on the display 15 the information about the content data which can be checked in.

[0610] In step S452, the C IN/C OUT 87 displays on the display 15 the information (music title and so on) about the tracks which can be checked in. FIG. 93 shows a display example on the display 15. A display area 331 on the display 15 displays “MS” as the information indicative of the sound source of check-in. An arrow 332 displayed after the information such as the music title name of the content data denotes that the content data can be checked in.

[0611] In step S452, the C IN/C OUT 87 determines whether or not the content data to be checked in have been selected from among the displayed content data which can be checked in by the user operating the cursor button 17 and the select button 18. If the content data to be checked in are found selected, the procedure goes to step S453.

[0612] In step S453, the C IN/C OUT 87 adds the selected content data to the check-in list. The procedure returns to step S451 to repeat the above-mentioned processes.

[0613] If the content data to be checked in are found not selected in step S452, then the procedure goes to step S454. In step S454, the C IN/C OUT 87 discriminates whether or not an instruction to execute check-in is issued by the user operating the enter key 20 to display a list of contents data to be checked in and further operating the enter key 20. If the execution of check-in is found not instructed, the procedure returns to step S451 to repeat the above-mentioned processes.

[0614] Next, if the execution of check-in is found instructed in step 5454, the procedure goes to step S455. In step S455, the C IN/C OUT 87 requests the MS MW 89 to delete the content data in the MS 4 included in the check-in list (or may only turn off the flag indicative whether playback is enabled or disabled; namely, may only render the content data rightless).

[0615] In step S456, the C IN/C OUT 87 increments the check-out permission count recorded to the CN of the AC of the track object corresponding to the original content data recorded to the HDD 58 by 1 to update the value of the CN. At the same time, the C IN/C OUT 87 deletes the information for identifying the MS 4 recorded as the check-out destination information from the LCMLOG of the AC. Thus, the check-in process is performed.

[0616] The following describes, with reference to FIGS. 94 through 97, an exchange process for continuously executing a process of check-in the content data recorded to the MS 4 and a process of collectively checking out a plurality of tracks belonging to an album including a track last played back by the HD play function.

[0617] This exchange process starts when the user operates the exchange button 22 with the MS 4 loaded in the MS slot 45.

[0618] In step S461, the C IN/C OUT 87 requests the MS MW 89 to identify the content data which can be checked in from among the data recorded to the MS 4. In step S462, the C IN/C OUT 87, in cooperation with the MS MW 89, checks in, piece by piece, the content data recorded to the MS 4 which can be checked in, in the same manner as the above-mentioned check-in process described with reference to FIG. 92.

[0619] FIG. 95 shows a display example on the display 15 during the execution of the process of step S462. A display area 381 on the display 15 displays “MS” as the information indicative of the sound source of check-in. A display area 382 blinks a character string “Now Check in” indicative that check-in is being executed. An “X” marker 383 displayed before the information such as music title name of content data indicates that the content data concerned are disabled for check-in. A check marker 384 indicates that the content data concerned have already been checked in. A pointer 385 indicates that the check-in of the content data concerned is being executed.

[0620] In step S463, the C IN/C OUT 87 determines whether or not the content data enabled for check-in in the MS 4 have all been checked in. If the content data enabled for check-in in the MS 4 are found not all checked in, then the procedure returns to step S462 to check in next content data. Then, in step S463, if the content data in the MS 4 enabled for check-in are found all checked in, the procedure goes to step S464.

[0621] In step S464, the C IN/C OUT 87, in cooperation with the HD DB 91, determines an album of which tracks are all checked out together. To be more specific, for example, the HD DB 91 identifies the track played back last on the basis of the last access date (FIG. 42) of each track object recorded to the object recording area 122 to determine the album to which the identified track belongs as a check-out album.

[0622] In step S465, the C IN/C OUT 87 selects one track (namely, content data) from the check-out album. In step S466, the C IN/C OUT 87 determines whether or not the selected content data are enabled for check-out. If the selected content data are found enabled for check-out, the procedure goes to step S467.

[0623] In step S467, the C IN/C OUT 87 requests the MS MW 89 to determine whether or not the MS 4 has enough capacity for checking out the selected content data. If the MS 4 is found having an enough capacity for checking out the selected content data, the procedure goes to step S468.

[0624] In step S468, the C IN/C OUT 87 checks out the selected content data in the same manner as the check-out process described with reference to FIG. 89.

[0625] FIG. 96 shows a display example on the display 15 during the execution of the process of step S468. A display area 391 on the display 15 shows “HDD” as the information indicative of the sound source of check-out. A display area 392 blinks a character string “Now Check out” indicative that check-out is being executed. An “X” marker displayed before the information such as music title name of content data indicates that the content data concerned are disabled for check-out. A check marker indicates that the content data concerned have already been checked out.

[0626] In step S469, the C IN/C OUT 87 determines whether or not all tracks (namely, content data) included in the check-out album have been selected in step S465. If all content data are found not selected in step S465, the procedure returns to step S465 to repeat the above-mentioned processes. If all content data are found selected in step S465, this exchange process comes to an end.

[0627] It should be noted that, if the selected content data are found not enabled for check-out in step S466, then steps S467 and S468 are skipped. If the MS 4 is found not having enough capacity for checking out the selected content data in step S467, step S468 is skipped.

[0628] FIG. 97 shows a display example on the display 15 immediately after the completion of an exchange process. A display area 401 on the display 15 shows a character string “COMPLETE” indicative of the completion of an exchange process.

[0629] As described, the user may only operate the exchange button 22 to automatically execute the check-in process for checking in from MS 4 to the HDD 58 and the check-out process for checking out from the HDD 58 to the MS 4. Thus, the exchange process is performed.

[0630] It should be noted that the above-mentioned move-out process, move-in process, import process, check-out process, and check-in process may be executed not only between the HDD 58 and the MS 4 but also between the HDD 58 and the PD 5 connected to the connector 43.

[0631] FIG. 98 shows an exemplary configuration of the hardware of the PD 5. An LSI (Large Scale Integration) 410 for implementing the PD 5 incorporates a CPU 411 for controlling the entire PD 5. The CPU 411 is connected to a ROM 412, a RAM 413, a DMA controller 414, a DSP (Digital Signal Processor) 415, a buffer 416, an LCD interface (I/F) 417, a serial interface (I/F) 418, and interfaces 419 and 420 via a bus 421.

[0632] The ROM 412 stores the programs for realizing various functions of the PD 5, device ID and encryption key and the like. The RAM 413 temporarily stores predetermined data and programs when the CPU 411 executes various processes. The DMA controller 414 controls the data transfer with a USB controller 424 via the buffer 416, a flash memory 426, and the serial interface 418. The DSP 415 decodes the content data recorded to the flash memory 426 for example. The DSP 415 has a DES engine to encrypt/decrypt content data by use of the encryption key. The buffer 416 temporarily buffers the data of which transfer is controlled by the DMA controller 417.

[0633] The LCD interface 417 is followed by an LCD driver 422 and an LCD 423. The serial interface 418 is followed by the USB controller 424 and a USB connector 425. The USB controller 424 controls the data communication with the audio server 1 connected via the USB connector 425. The flash memory 426 connected via interface 419 stores the content data moved out for example from the audio server 1 and additional information such as music titles. The interface 420 is followed by a DAC 427 and an amplifier (AMP) 428. A power supply section 429 supplies power to the LSI 410.

[0634] The audio data obtained by a decoding process by the DSP 415 are outputted to a headphone for example via the interface 420, the DAC 427, and the amplifier (AMP) 428.

[0635] The move-out process and so on between the HDD 58 and the MS 4 and the move-out process and so on between the HDD 58 and the PD 5 are substantially the same, so that the following describes only the differences between them.

[0636] The content data to be recorded to the MS 4 are encrypted by use of the same encryption key as that for the encryption of the content data stored in the HDD 58 of the audio server 1. Therefore, between the HDD 58 and the MS 4, the encrypted content data can be moved out as it is without being decrypted.

[0637] On the contrary, the content data to be recorded to the PD 5 are encrypted by use of an encryption key which is different from the encryption key for encrypting the content data stored in the HDD 58 of the audio server 1. Therefore, as described with reference to FIG. 56, between the HDD 58 and the PD 5, the content data recorded to the HDD 58 are decrypted and then encrypted again by use of a different encryption key for the PD 5 and the resultant content data are moved out.

[0638] Thus, the move-out process, move-in process, import process, check-out process, and check-in process are executed between the HDD 58 and the PD 5.

[0639] The following describes a store function and a restore function of the audio server 1 with reference to FIGS. 99 through 107.

[0640] The store function is a function for temporarily storing, where the recording capacity of the MS 4 is running short because of presence of data (for example, a still picture file or a voice file) which cannot be played back by the audio server 1 other than contents data recorded already in the MS 4, the data recorded already in the MS 4 other than the contents data as a single archive file which includes files of the same type recorded simultaneously into the HDD 58.

[0641] The restore function denotes the function for restoring the corresponding directory and its files into the MS 4 by use of the archive file generated by the store function on the HDD 58.

[0642] FIG. 99 shows the types of directories and data files which are possibly recorded to the MS 4.

[0643] File MEMSTICK.ind indicates that the recording medium to which a file concerned is recorded is the Memory Stick. Directory DCIM is a directory storing still picture files generated by a digital still camera for example. Directory VOICE is a directory for storing voice files generated by an IC recorder for example. Directory HIFI is a directory for storing the content data attached with copyright information checked out or moved out from the audio server 1 for example. Directory CONTROL is a directory for storing control information files. Directory TEL is a directory for storing telephone and facsimile information files. Directory OPEN-R is a directory for storing entertainment robot information files. Directory POSITION is a directory for storing positional information files. Directory PALM is a directory for storing PALM OS data files. Directory MP3 is a directory for storing MP3 files. Directory MSxxxxxx is a directory for storing vendor-unique information files (“xxxxxx” is information for identifying the vendor).

[0644] FIG. 100 shows the recording positions of archive files which are generated, by the store function, under the directory structure of the object recording area 122 in the HDD 58. On the layer on which folder objects 217 are arranged, an MS data object 501 is arranged. On the layer below the MS data object 501, an MS store/restore object 502 is arranged. The archive files (in FIG. 100, MS data #1.DCIM, MS data #2.VOICE, and MS data #3.DCIM) are recorded on the layer below the MS store/restore object 502.

[0645] It should be noted that the name of archive file such as “MS data #1” may be set by the user in an arbitrary manner.

[0646] The following describes a store process by the HD MW 82 for implementing the store function with reference to the flowchart shown in FIG. 101. This store process starts when the user selects the MS 4 as sound source by repetitively pressing the function button 12, selects “Edit” by operating the cursor button 17 after pressing the menu/cancel button 21, presses the enter button 20, selects “Store (MS→HDD)” by operating the cursor button 17, and then presses the enter button 20.

[0647] In step S501, the HD MW 82 requests the MS MW 89 to search the directories recorded to the MS 4 for a directory to be stored, namely, a directory other than directory HIFI, computes the capacity of the retrieved directory, and displays the computed capacity on the display 15.

[0648] FIG. 102 shows a display example on the display 15 when the MS 4 is selected as sound source. Display areas 511 and 512 show character strings “MS” and “Memory Stick” indicative of sound sources. A display marker 513 indicates a still picture file storage directory; in this example, its capacity is 8 MB. A display marker 514 indicates a voice file storage directory; in this example, its capacity is 1 MB.

[0649] Returning to FIG. 101, in step S502, the HD MW 82 accepts the user operation for selecting the directory to be stored and waits until the user performs a select operation. FIG. 103 shows an display example on the display 15 in which a list of directories which can be stored is displayed. A display area 521 shows the information that the list of directories which can be stored is displayed. A display area 522 shows that there is a still picture file storage directory which can be stored and its capacity is 8 MB. A display area 524 shows that there is a voice file storage directory which can be stored and its capacity is 1 MB. A cursor 524 points the still picture file storage directory or the voice file storage directory in accordance with the operation of the cursor button 17.

[0650] Returning to FIG. 101, in step 502, if a user operation for selecting a directory to be stored is performed, the procedure goes to step S503. In step 503, the HD MW 82 requests the MS MW 89 to read all files belonging to the directory to be stored and records them as one archive file into the layer below the MS store/restore object 502 of the object recording area 122 of the HDD 58. In step S504, the HD MW 82 records the original directory (for example, directory DCIM) and the archive file name (for example, “2001/08/11”) to the recorded archive file by relating the original directory and the archive file name.

[0651] It should be noted that the archive file name may be set by the user in an arbitrary manner; however, if no file name is set, the date of the store process concerned is automatically set as the archive file name such as “2001/08/11”.

[0652] FIG. 104 shows a display example in the display 15 when an archive file being generated. A display area 531 shows the information that the still picture file storage directory of the MS 4 is stored in the HDD 58. A display area 532 shows the file name (in this example, “2001/08/11”) of the generated archive file. A display area 533 shows a variable-length bar 534 which extends in proportion to the progress of the store processing concerned. A display area 535 blinks a character string “Store” indicative that a store process is being executed.

[0653] Returning to FIG. 101, in step 505, the HD MW 82 requests the MS MW 89 to delete, from the MS 4, the directory in the MS 4 with the archive file generated in the HDD 58. Thus, the store process is performed.

[0654] It should be noted that the retrieved directory which can be stored may be automatically selected for executing the subsequent processes rather than waiting for the user operation for selecting the directory to be stored as the process in step 502.

[0655] As described, a store process allows the searching of the directories and files recorded to the MS 4 for directories which can be stored. A store process also allows the selecting and storing of a directory in which the files generated by particular electronic equipment are stored. In addition, a store process prevents any ill-intentioned user who tries to copy the content data stored in the HIFI file in an unauthorized manner from using this store function because the HIFI directory in which files having copyright information in the MS 4 are stored is not processed by this store function.

[0656] The following describes a restore process for restoring, on the MS 4, a directory equivalent to an archive file stored in the HDD 58 with reference to the flowchart shown in FIG. 105.

[0657] This restore process starts when the user selects the HDD 58 as sound source by repetitively pressing the function button 12, selects “Edit” by operating the cursor button 17 after pressing the menu/cancel button 21, presses the enter button 20, selects “Restore (MS→HDD”) by operating the cursor button 17, and then pressing the enter button 20.

[0658] In step 501, the HD MW 82 displays, on the display 15, the list of archive files belonging to the layer below the MS store/restore object 502 of the object recording area 122 of the HDD 58.

[0659] FIG. 106 shows a display example on the display 15 for displaying the list of archive files. A display area 541 shows a character string “HDD” indicative of sound source. A display area 542 shows a character string “Restore List”. A display area 543 shows the information about the archive files which can be restored (file type marker, file name, and data capacity). A cursor 544 points the still picture file storage directory or the voice file storage directory in accordance with the operation of the cursor button 17.

[0660] Returning to FIG. 105, in step S512, the HD MW 82 accepts a user operation for selecting an archive file to be restored in step S502 and waits until the user performs the select operation. To be more specific, the HD MW 82 waits until the user selects an archive file by moving the cursor 544 up or down by operating the cursor button 17 and presses the enter button 20 to establish this selection. When the user performs these operations, the procedure goes to step S513.

[0661] FIG. 107 shows a display example on the display 15 when the original directory and its files are being restored on the basis of the archive file. A display area 551 shows information “Restore (HDD MS)” indicative that the still picture file storage directory is restored from the HDD 58 to the MS 4. A display area 552 shows the file name (in this example, “2000/08/11”) of the restored archive file. A display area 553 shows a variable-length bar 554 which extends in proportion to the progress of the restore process concerned. A display area 555 blinks a character string “Restore” indicative that the restore process is being executed.

[0662] Returning to FIG. 105, in step 513, the HD MW 82 requests the MS MW 89 to restore the original directory and all its files into the MS 4 on the basis of the archive file selected to be restored. In step S514, the HD MW 82 deletes the selected archive file from the layer below the MS store/restore object 502 in the object recording area 122 of the HDD 58. Thus, the restore process is performed.

[0663] It should be noted that the subsequent processes may executed by automatically selecting the archive file to be restored rather than waiting for the user to select the archive file to be restored as the process in step 512.

[0664] FIG. 108 shows an exemplary configuration of the flash ROM 52. The flash ROM 52 stores a boot program which will be described later.

[0665] The flash ROM 52 has three storage areas, first through third storage areas, in which the firmware shown in FIG. 7 is stored on a so-called version basis. Namely, in this example, firmware of three generations of versions may be stored.

[0666] A marker 1 indicative of the version of the firmware to be stored in the first storage area, a marker 2 indicative of the version of the firmware to be stored in the second storage area, and a marker 3 indicative of the version of the firmware to be stored in the third storage area are included in the boot program.

[0667] It should be noted that, although details will be described later, each marker is incremented by 1 every time the firmware is upgraded in version. If no firmware is stored in the corresponding area, each maker has a value indicative of “INVALID”.

[0668] The following describes a processing procedure for upgrading firmware in version (rewriting a program) with reference to the flowchart shown in FIG. 109.

[0669] It should be noted that, this firmware version upgrading process is executed by the firmware specified by the boot program which will be described later when the user performs a predetermined operation on the audio server 1. For example, if the firmware to be upgraded in version and the firmware of a later version are stored in a CD-ROM, the CD MW 88 executes this process; if these firmware programs are stored in the MS 4, the MS MW 89 executes this process. In this example, this version upgrading process is executed by the CD MW 88.

[0670] In step S531, the CD MW 88 determines an area in which the upgraded firmware is stored.

[0671] To be more specific, one “INVALID” marker of the marker 2 and on of the flash ROM 52 (the marker 2 and the marker 3 in the example of FIG. 108) is detected and the storage area pointed by this marker provides the area for storing the upgraded firmware. If no “INVALID” marker exists in the marker 2 and on, the minimum marker is detected and the area pointed by this marker provides the area for storing the upgraded firmware.

[0672] In this example, the storage area pointed by the minimum marker stores the firmware of the least recent version.

[0673] In step S532, the CD MW 88 gets the firmware of the most recent version from the CD-ROM loaded in the CD-ROM drive 57. It should be noted that, in addition to the CD-ROM, the firmware of the most recent version may also be obtained from the MS 4 or the electronic equipment which performs data communication via the Ethernet controller/connector 67.

[0674] In step S533, the CD MW 88 supplies the firmware obtained in step S532 to the encoder/decoder 59 for decryption and, in this example, re-encryption by use of the encryption key stored in the flash ROM 52 is performed.

[0675] In step S534, the CD MW 88 writes the firmware re-encrypted in step S533 to the storage area determined in step S531.

[0676] In step S535, the maximum marker is detected from the marker 2 and on (except for “INVALID” marker). In step S536, the value obtained by adding 1 to the maximum marker provides the marker corresponding to the storage area in which the firmware was stored in step S534. Then, this upgrading process comes to an end.

[0677] As described, only by performing a predetermined operation by the user on the audio server 1, the version of firmware may be upgraded.

[0678] The following describes a processing procedure in the boot program with reference to the flowchart shown in FIG. 110. It should be noted that this boot program is executed immediately after the power is supplied from the power supply section 65 to each component of the system (upon execution of a power-on sequence).

[0679] In step S541, the boot program executes a predetermined initializing process such as register initialization for example.

[0680] In step S542, the boot program determines whether or not all of the marker 2 and on (the marker 2 and the marker 3) in the flash ROM 52 are “INVALID”. If all these markers are not “INVALID”, the procedure goes to step S543.

[0681] In step S543, the maximum marker m which is not “INVALID” is detected from the marker 2 and on. In step S544, the boot program supplies the firmware stored in the storage area pointed by the marker m to the encoder/decoder 59 for decryption. In step S545, the boot program writes the decrypted firmware to the SDRAM 53.

[0682] If the marker 2 and on are all found “INVALID” in step S542, then the procedure goes to step S547, in which the boot program determines whether or not the marker 1 is “INVALID”. If the marker 1 is found not “INVALID”, the procedure goes to step S548.

[0683] In step S548, the boot program supplies the firmware in the storage area pointed by the marker 1 to the encoder/decoder 59 for decryption. In step S549, the boot program writes the decrypted firmware to the SDRAM 53.

[0684] When the firmware is written to the SDRAM 53 in step S545 or S549, the procedure goes to step S546, in which the boot program instructs the execution of the firmware written to the SDRAM 53. Consequently, the firmware developed in the SDRAM 53 is executed.

[0685] If the marker 1 is found “INVALID” in step S547, namely, if none of the storage areas stores the firmware and all markers are “INVALID”, then the procedure goes to step S550, in which error is determined.

[0686] If the firmware is executed in step S546 or if an error is determined in step S550, then the process comes to an end.

[0687] It should be noted that, in the above-mentioned example, only three storage areas for storing firmware are arranged in the flash ROM 52; the number of storage areas for storing the firmware is not limited to three as long as it is more than one. If there are two storage areas, the marker of the storage area in which the firmware is stored may be set to “INVALID” and, after storing the firmware in that storage area, set to “VALID” (to be correct, a value not INVALID). This prevents the firmware under rewriting from being developed into the SDRAM 53 for execution.

[0688] In the above-mentioned example, the firmware is upgraded in version. It will be apparent that the present invention is also applicable to a configuration in which other programs are upgraded in version. The present invention is also applicable to a configuration in which program forms are changed (for example, programs for the Japanese language and the English language).

[0689] The above-mentioned sequences of processes may be executed not only by dedicated equipment such as the audio server 1 but also by installing the firmware as shown in FIG. 7 on a general-purpose personal computer for example and executing the installed firmware.

[0690] This firmware is constituted not only by package media storing firmware such as the magnetic disk (including a floppy disk), the optical disk (including CD-ROM (Compact Disk-Read Only Memory) and a DVD (Digital Versatile Disk)), and the magneto-optical disk (including MD (Mini Disc), and the semiconductor memory which are distributed to users to provide programs independently of the general-purpose computer, but also by a ROM and a hard disk storing firmware to be provided to users as installed in the computer.

[0691] It should be noted that, in the present specification, the steps for describing the program (firmware) include not only the processing operations to be executed sequentially in time but also the processing operations to be executed in parallel or discretely.

INDUSTRIAL APPLICABILITY

[0692] As described and according to the invention, the processing of temporarily moving data formatted in a predetermined manner can be automatically executed.

[0693] FIG. 1

[0694] FIG. 2

[0695] FIG. 3

[0696] FIG. 4

[0697] FIG. 5

[0698] FIG. 6

[0699] 67 Ethernet Controller/Connector

[0700] 43 USB Connector

[0701] 5 PD

[0702] 54 USB Host Controller

[0703] 53 SDRAM

[0704] 52 Flash ROM

[0705] 51 Main CPU

[0706] 63 Display Driver

[0707] 15 LCD Display

[0708] 64 Sub CPU

[0709] 42 Photoreceptor

[0710] 65 Power Supply Section

[0711] 36 DC IN Terminal

[0712] 68 PCMCIA Controller

[0713] 56 Buffer

[0714] 55 DMA Controller

[0715] 57 CD-ROM Drive

[0716] 58 HDD

[0717] 59 Encoder/Decoder

[0718] 60-1 MG MS I/F

[0719] 60-2 WM screen

[0720] 60-3 Audio I/F

[0721] 60-4 SRC

[0722] 62 AD/DA

[0723] 4 MS

[0724] 61 MS Connector

[0725] 31 AUX IN Terminal

[0726] 32 LINE OUT Terminal

[0727] 47 Headphone Terminal

[0728] 34 Speaker Terminal

[0729] FIG. 7

[0730] 76 Main APP

[0731] 100 Encoder/Decoder

[0732] 103 Signal Processor

[0733] 105 Display

[0734] FIG. 8

[0735] 123 File Managing Block (HD FS)

[0736] 124 Object Managing Block (HD DB)

[0737] 121 File Recording Area

[0738] 122 Object Recording Area 1 Boot Sector Sector 0 FAT area Sector 1 Sector 2 Sector 3 Sector 4 Sector 5 Sector 6 Sector 7 Sector 8 Sector 9 Sector 10 Sector 11 System area Sector 12 Sector 13 Sector 14 Sector 15 Sector 16 Sector 17 Sector 18 Sector 19 Cluster 1 Sector 20 Sector 21 Sector 22 Sector 23 Sector 24 Sector 25 Sector 26 Sector 27 Cluster 2 Sector 28 Sector 29 Sector 30 Sector 31 Sector 32 Sector 33 Sector 34 Sector 35 Cluster 3 Cluster N Sector Z

[0739] FIG. 10

[0740] 142 FAT Header

[0741] 143 Free Cluster List Start Number Recording Area

[0742] Entry Number

[0743] (Cluster Number)

[0744] 144 Entry

[0745] 145 P Column

[0746] 146 N Column

[0747] FIG. 11 2 142 FAT Header Cluster Number Entry P Column N Column

[0748] FIG. 12

[0749] Cluster 1 (File Start Cluster)

[0750] Cluster 5

[0751] Cluster 6

[0752] Cluster 8

[0753] Cluster 12 (File End Cluster)

[0754] FIG. 13

[0755] 152 Valid Size Recording Area

[0756] 153 Last Cluster Number Recording Area

[0757] 154 Occupied Cluster Count Recording Area

[0758] FIG. 14

[0759] START FILE CREATING PROCESS ps

[0760] S1 TRANSFER INPUT DATA TO BUFFER BY S BYTES (TEMPORARY STORAGE). 3 S2 GET FREE CLUSTER V. NO FREE CLUSTER S3 SSUBSTITUTE V INTO X.   SUBSTITUTE V INTO A. S4 T = 0 S5 GET FREE CLUSTER V. NO FREE CLUSTER S6 SUBSTITUTE V INTO B.

[0761] S7 T=T+1

[0762] S8 CONVERT CLUSTER NUMBER B INTO SECTOR NUMBER.

[0763] S9 REQUEST TO TRANSFER DATA FROM BUFFER AND RECORD DATA STARTING WITH CONVERTED SECTOR NUMBER.

[0764] S10 LINK CLUSTER B TO CLUSTER A.

[0765] S11 RECORDED DATA AMOUNT<CLUSTER SIZE?

[0766] S12 TRANSFER INPUT DATA TO BUFFER BY S BYTES (TEMPORARY STORAGE).

[0767] S13 SUBSTITUTE B INTO A.

[0768] S14 GET FREE CLUSTER V.

[0769] S15 SUBSTITUTE V INTO B.

[0770] S16 T=T+1

[0771] S17 RECORD S TO VALID SIZE RECORDING AREA OF SIZE RECORDING AREA OF CLUSTER X, RECORD B TO LAST CLUSTER NUMBER RECORDING AREA, AND RECORD T TO OCCUPIED CLUSTER COUNT RECORDING AREA.

[0772] S18 WRITE FAT TO FAT AREA.

[0773] END

[0774] FIG. 15

[0775] START FREE CLUSTER RETRIEVING PROCESS

[0776] S21 READ FREE CLUSTER LIST START NUMBER Q RECORDED TO FAT HEADER.

[0777] S22 Q=−1?

[0778] S23 READ FAT ENTRY E(Q) CORRESPONDING TO CLUSTER NUMBER Q.

[0779] S24 N COLUMN=-1?

[0780] S25 SUBSTITUTE N COLUMN OF E(Q) INTO M.

[0781] S26 READ FAT ENTRY E(M) CORRESPONDING TO CLUSTER NUMBER M.

[0782] S27 RECORD −1 TO P COLUMN OF E(M).

[0783] S28

[0784] RECORD −1 TO N COLUMN OF E(Q).

[0785] RECORD −1 TO P COLUMN OF E(Q).

[0786] S29 FREE CLUSTER Q EXISTS.

[0787] S30 NO FREE CLUSTER EXISTS.

[0788] RETURN

[0789] FIG. 16

[0790] START FAT ENTRY READING PROCESS

[0791] S41 ADDRESS A=FAT START ADDRESS+FAT HEADER SIZE+(X−1): ENTRY SIZE

[0792] S42 READ DATA FROM ADDRESS A BY ENTRY SIZE.

[0793] RETURN

[0794] FIG. 17

[0795] START LINKING PROCESS

[0796] S51 READ FAT ENTRY E(A) CORRESPONDING TO CLUSTER NUMBER A.

[0797] S52 READ FAT ENTRY E(B) CORRESPONDING TO CLUSTER NUMBER B.

[0798] S53

[0799] RECORD B TO N COLUMN OF E(A).

[0800] RECORD A TO P COLUMN OF E (B).

[0801] RETURN

[0802] FIG. 18

[0803] START READING FILE X

[0804] S61 SEARCH FILE X (READ E(X)).

[0805] NO FILE EXISTS

[0806] S62 N COLUMN OF E(X)=−1?

[0807] S63 CONVERT CLUSTER NUMBER X INTO SECTOR NUMBER.

[0808] S64 REQUEST DATA CORRESPONDING TO CONVERTED SECTOR NUMBER.

[0809] S65 EXTRACT SIZE RECORDING AREA FROM DATA TRANSFERRED TO BUFFER AND READ VALID SIZE S FROM VALID SIZE RECORDING AREA.

[0810] S66 SUBSTITUTE N COLUMN OF E(X) INTO C.

[0811] S67 READ FAT ENTRY E(C) CORRESPONDING TO CLUSTER NUMBER C.

[0812] S68 CONVERT CLUSTER NUMBER C INTO SECTOR NUMBER.

[0813] S69 REQUEST TO TRANSFER DATA STARTING WITH CONVERTED SECTOR NUMBER TO BUFFER.

[0814] S70 N COLUMN OF E(C)=−1?

[0815] S71 TRANSFER DATA TRANSFERRED TO BUFFER.

[0816] S72 SUBSTITUTE N COLUMN OF E(C) INTO C.

[0817] S73 OF DATA TRANSFERRED TO BUFFER, TRANSFER S BYTES OF VALID DATA SIZE TO DATA OUTPUT BLOCK.

[0818] S74 ERROR

[0819] END

[0820] FIG. 19

[0821] START FILE X SEARCH PROCESS

[0822] S81 READ FAT ENTRY E(X) CORRESPONDING TO X.

[0823] S82 P COLUMN=−1?

[0824] S83 FILE X EXISTS.

[0825] S84 FILE X DOES NOT EXIST.

[0826] END

[0827] FIG. 20

[0828] START FILE X REVERSE-READING PROCESS

[0829] S91 CONVERT ID(X) INTO SECTOR NUMBER.

[0830] S92 READ FAT ENTRY E (X).

[0831] S93 REQUEST DATA CORRESPONDING TO CONVERTED SECTOR NUMBER.

[0832] S94 EXTRACT SIZE RECORDING AREA FROM DATA TRANSFERRED TO BUFFER AND READ LAST CLUSTER NUMBER Z FROM LAST CLUSTER NUMBER RECORDING AREA AND READ VALID SIZE S OF LAST CLUSTER FROM VALUE SIZE RECORDING AREA.

[0833] S95 Z=ID(X)?

[0834] S96 CONVERT Z INTO SECTOR NUMBER.

[0835] S97 REQUEST DATA CORRESPONDING TO CONVERTED SECTOR NUMBER.

[0836] S98 OF DATA TRANSFERRED TO BUFFER, OUTPUT S BYTES.

[0837] S99 READ FAT ENTRY E(Z) CORRESPONDING TO Z.

[0838] S100 P COLUMN OF E(Z)=ID(X)?

[0839] S101 SUBSTITUTE P COLUMN OF E(Z) INTO C.

[0840] S102 READ FAT ENTRY E(C) CORRESPONDING TO CLUSTER NUMBER C.

[0841] S103 CONVERT C INTO SECTOR NUMBER.

[0842] S104 REQUEST DATA CORRESPONDING TO CONVERTED SECTOR NUMBER.

[0843] S105 OUTPUT DATA TRANSFERRED TO BUFFER.

[0844] S106 P COLUMN OF E(C)=ID(X)?

[0845] S107 SUBSTITUTE P COLUMN OF E(C) INTO C.

[0846] END

[0847] FIG. 21

[0848] 161 System Area

[0849] Chunk 1

[0850] Chunk 2

[0851] Chunk 3

[0852] Chunk 4

[0853] Chunk 5

[0854] Chunk 6

[0855] Chunk N−1

[0856] Chunk N

[0857] 162 Header

[0858] 163 Object Recording Area

[0859] 154 Area Information Recording Area

[0860] Page 0

[0861] Page 1

[0862] Page 2

[0863] Page 15

[0864] FIG. 22

[0865] 163 Object Type Recording Area

[0866] 165 Header

[0867] Entry 1

[0868] Entry 2

[0869] Entry 3

[0870] Entry T

[0871] 166 Entry Count Recording Area

[0872] 167 Size Recording Area

[0873] 168 Basic Object Type Number Recording Area

[0874] 169 Parameter Recording Area 4    Q Column Chunk

[0875] P Row

[0876] Page

[0877] FIG. 24

[0878] 124 Object Managing Block

[0879] 171 Object Type Registering Block

[0880] 172 Storage Area Managing Block

[0881] (ID Issuing Mechanism)

[0882] 173 Session Managing Block

[0883] 174 Cache Managing Block

[0884] FIG. 25

[0885] 181 Session Managing Information

[0886] 182 Current Session Count Storage Area

[0887] Entry 1

[0888] Entry 2

[0889] Entry 3

[0890] Entry S

[0891] 183 Object Identifier Storage Area

[0892] 184 Read/Write Session Number Storage Area

[0893] 185 Read-only Session Number Storage Area

[0894] 186 Read-only Session Number Storage Area

[0895] 187 Read-only Session Number Storage Area

[0896] 188 Read-only Session Number Storage Area

[0897] 189 Object State Storage Area

[0898] 190 Read Cache Address Storage Area

[0899] 191 Write Cache Address Storage Area

[0900] 192 Access Time Storage Area

[0901] FIG. 26A

[0902] 201 Object Identifier Storage Area

[0903] 202 Arbitrary Data Recording Area

[0904] Basic Object Type 1

[0905] FIG. 26B

[0906] 201 Object Identifier Recording Area

[0907] 203 File Identifier Recording Area

[0908] 202 Arbitrary Data Recording Area

[0909] Basic Object Type 2 5    Object Identifier Chunk Number   Page Number Type Number Basic Type Number Entry Number

[0910] FIG. 28

[0911] START OBJECT CREATING PROCESS

[0912] S121 OPEN WRITE SESSION Z.

[0913] S122 FROM OBJECT TYPE RECORDING AREA, COMPUTE PAGE COUNT g NECESSARY FOR OBJECT OF TYPE NUMBER t.

[0914] S123 ALLOCATE FREE ENTRY M.

[0915] S124 SEARCH AREA INFORMATION RECORDING AREA FOR BIT SEQUENCE WITH 0'S RECORDED g BITS CONTINUOUSLY AND GET VALUE q OF COLUMN Q AND VALUE p OF ROW P AT WHICH THIS AREA STARTS.

[0916] S125 STORE OID (p, q, t) INTO OBJECT IDENTIFIER STORAGE AREA OF ENTRY M, STORE Z INTO WRITE SESSION NUMBER STORAGE AREA, AND STORE ‘CREATE’ INTO OBJECT STATE STORAGE AREA.

[0917] S126 ALLOCATE WRITE CACHE AREA d OF SIZE EQUAL TO PAGE COUNT g.

[0918] S127 STORE ADDRESS OF d INTO WRITE CACHE ADDRESS STORAGE AREA OF ENTRY M.

[0919] S128 RECORD OID (p, q, t) INTO OBJECT IDENTIFIER RECORDING AREA OF CACHE AREA d.

[0920] S129 RECORD DATA INTO ARBITRARY DATA RECORDING AREA OF CACHE AREA d.

[0921] S130 WAIT FOR INPUT I.

[0922] S131 i=“commit”?

[0923] S132 ESTABLISH WRITE SESSION.

[0924] S133 DISCARD WRITE SESSION.

[0925] END

[0926] FIG. 29

[0927] START SESSION OPENING PROCESS

[0928] S141 CURRENT SESSION COUNT<MAXIMUM?

[0929] S142 INCREMENT CURRENT SESSION COUNT BY 1.

[0930] S143 ISSUE SESSION NUMBER Z.

[0931] S144 ERROR

[0932] RETURN

[0933] FIG. 30

[0934] START FREE ENTRY ALLOCATING PROCESS

[0935] S151 M=1

[0936] S152 M≦S?

[0937] S153 GET VALUE OF OBJECT IDENTIFIER OF ENTRY M.

[0938] S154 0?

[0939] S155 M=M+1

[0940] S156 ANY ENTRY THAT VALUE OF SESSION NUMBER STORAGE AREA IS ALL 0'S EXISTS?

[0941] S157 EXTRACT ENTRY OF WHICH ACCESS TIME IS LEAST RECENT.

[0942] S158 CLEAR EXTRACTED ENTRY.

[0943] S159 ERROR

[0944] RETURN

[0945] FIG. 31

[0946] START WRITE SESSION ESTABLISHING PROCESS

[0947] S171 M=1

[0948] S172 M≦S?

[0949]

[0950] RETURN

[0951] S173 VALUE OF WRITE SESSION NUMBER STORAGE AREA OF ENTRY M MATCHES Z?

[0952] S174 M=M+1

[0953] S175 READ OID (p, q, t) OF OBJECT IDENTIFIER.

[0954] S176 READ VALUE J OF OBJECT STATE.

[0955] S177 VALUE OF J?

[0956] S178 RECORD DATA OF WRITE CACHE d TO CONTINUOUS g PAGES FROM PAGE P OF CHUNK q.

[0957] S179 STORE 1 INTO g BITS STARTING WITH COLUMN q, ROW P OF AREA INFORMATION RECORDING AREA.

[0958] S180 COPY VALUE OF WRITE CACHE ADDRESS STORAGE-AREA OF ENTRY M INTO READ CACHE ADDRESS STORAGE AREA. IF VALUE OF READ CACHE ADDRESS STORAGE AREA IS NOT 0, FREE READ CACHE.

[0959] S181 SET VALUES OF WRITE SESSION NUMBER STORAGE AREA AND WRITE CACHE ADDRESS STORAGE AREA OF ENTRY M TO 0.

[0960] S182 UPDATE VALUE OF ACCESS TIME STORAGE AREA OF ENTRY M.

[0961] S183 RECORD DATA OF WRITE CACHE d TO CONTINUOUS g PAGES FROM PAGE p OF CHUNK q.

[0962] S184 STORE 0 INTO g BITS STARTING WITH COLUMN q, ROW p OF AREA INFORMATION RECORDING AREA.

[0963] S185 FREE CACHE ALLOCATED BY ENTRY M.

[0964] S186 CLEAR ALL ITEMS OF ENTRY M WITH 0'S.

[0965] FIG. 32

[0966] START SESSION DISCARDING PROCESS

[0967] S191 M=1

[0968] S192 M<S?

[0969] RETURN

[0970] S193 WRITE SESSION NUMBER OF ENTRY M MATCHES Z?

[0971] S194 M=M+1

[0972] S195 FREE WRITE CACHE OF ENTRY M.

[0973] S196 OBJECT STATE=“CREATE”?

[0974] S197 SET VALUES OF READ/WRITE SESSION NUMBER STORAGE AREA AND READ/WRITE CACHE ADDRESS STORAGE AREA OF ENTRY M TO 0.

[0975] S198 UPDATE VALUE OF ACCESS TIME STORAGE AREA OF ENTRY M.

[0976] S199 SET VALUES OF OTHER THAN READ/WRITE SESSION NUMBER STORAGE AREA AND READ/WRITE CACHE ADDRESS STORAGE AREA OF ENTRY M TO 0:

[0977] FIG. 33

[0978] START OBJECT SEARCH PROCESS

[0979] S201 GET ENTRY M FOR OBJECT X.

[0980] S202 OBJECT X EXISTS.

[0981] S203 GET CHUNK NUMBER p, PAGE NUMBER q, AND TYPE NUMBER t FROM OID X.

[0982] S204 FROM OBJECT TYPE RECORDING AREA, COMPUTE NECESSARY PAGE COUNT g OF TYPE NUMBER t.

[0983] S205 CONTINUOUS g BITS STARTING WITH COLUMN q, ROW p OF STORAGE AREA RECORDING AREA=1'S?

[0984] S206 SET READ CACHE AREA c EQUIVALENT TO PAGE COUNT g.

[0985] S207 COPY CONTINUOUS g PAGES FROM PAGE q OF CHUNK p IN OBJECT RECORDING AREA INTO READ CACHE AREA C

[0986] S208 VALUE OF OBJECT IDENTIFIER RECORDING AREA OF READ CACHE AREA c=X?

[0987] S209 OBJECT X DOES NOT EXIST.

[0988] END

[0989] FIG. 34

[0990] START ENTRY RETRIEVING PROCESS

[0991] S211 M=1

[0992] S212 M≦S?

[0993] S213 OBJECT IDENTIFIER OF ENTRY M MATCHES X?

[0994] S214 M=M+1

[0995] S215 ERROR

[0996] RETURN

[0997] FIG. 35

[0998] START OBJECT UPDATING PROCESS

[0999] S221 OPEN WRITE SESSION Z.

[1000] S222 GET ENTRY M FOR OBJECT X.

[1001] S223 WRITE SESSION NUMBER OF ENTRY M=0?

[1002] S224 STORE Z INTO WRITE SESSION NUMBER STORAGE AREA OF ENTRY M.

[1003] S225 GET CHUNK NUMBER p, PAGE NUMBER q, AND TYPE NUMBER t FROM OID.

[1004] S226 FROM OBJECT TYPE RECORDING AREA, COMPUTE NECESSARY PAGE COUNT g OF TYPE NUMBER t.

[1005] S227 SET WRITE CACHE AREA d EQUIVALENT TO PAGE COUNT g.

[1006] S228 STORE d INTO WRITE CACHE ADDRESS STORAGE AREA OF ENTRY M.

[1007] S236 ALLOCATE FREE ENTRY M.

[1008] S237 FROM OID, GET CHUNK NUMBER p, PAGE NUMBER q, AND TYPE NUMBER t.

[1009] S238 FROM OBJECT TYPE RECORDING AREA, COMPUTE NECESSARY PAGE COUNT g OF TYPE NUMBER t.

[1010] S239 SET READ CACHE AREA c EQUIVALENT TO PAGE COUNT g AND SET WRITE CACHE AREA d.

[1011] S240 STORE Z INTO WRITE SESSION NUMBER STORAGE AREA OF ENTRY M, d INTO WRITE CACHE ADDRESS STORAGE AREA, c INTO READ CACHE ADDRESS STORAGE AREA, AND X INTO OBJECT IDENTIFIER STORAGE AREA.

[1012] S241 COPY CONTINUOUS g PAGES FROM PAGE q OF CHUNK p IN OBJECT RECORDING AREA INTO READ CACHE AREA c.

[1013] S229 COPY DATA STORED IN READ CACHE c INTO WRITE CACHE d.

[1014] S230 RECORD UPDATED DATA TO ARBITRARY DATA RECORDING AREA OF WRITE CACHE d.

[1015] S231 PUT OBJECT STATE OF ENTRY M INTO ‘UPDATE.’

[1016] S232 WAIT FOR INPUT I.

[1017] S233 i=“commit”?

[1018] S234 ESTABLISH WRITE SESSION.

[1019] S235 DISCARD WRITE SESSION.

[1020] END

[1021] FIG. 36

[1022] START STREAM OBJECT CREATING PROCESS

[1023] S251 OPEN WRITE SESSION Z.

[1024] S252 FROM OBJECT TYPE RECORDING AREA, COMPUTE PAGE COUNT g NECESSARY FOR OBJECT TYPE NUMBER t′.

[1025] S253 ALLOCATE FREE ENTRY M.

[1026] S254 SEARCH AREA INFORMATION RECORDING AREA FOR BIT SEQUENCE WITH 0'S RECORDED g BITS CONTINUOUSLY AND GET VALUE q OF COLUMN Q AND VALUE p OF ROW P AT WHICH THIS AREA STARTS.

[1027] S255 STORE OID (p, q, t′) INTO OBJECT IDENTIFIER STORAGE AREA OF ENTRY M, STORE Z INTO WRITE SESSION NUMBER STORAGE AREA, AND PUT OBJECT STATE INTO ‘CREATE.’

[1028] S256 ALLOCATE WRITE CACHE AREA d HAVING SIZE EQUIVALENT TO g PAGES.

[1029] S257 STORE ADDRESS OF d INTO WRITE CACHE ADDRESS STORAGE AREA OF ENTRY M.

[1030] S258 STORE OID (p, q, t′) INTO OBJECT IDENTIFIER RECORDING AREA OF CACHE AREA d.

[1031] S259 GET FILE IDENTIFIER F.

[1032] S260 RECORD F TO FILE IDENTIFIER RECORDING AREA OF CACHE AREA d.

[1033] S261 GET ARBITRARY DATA.

[1034] S262 RETRIEVAL COMPLETED?

[1035] S263 RECORD ARBITRARY DATA TO ARBITRARY DATA RECORDING AREA OF CACHE AREA d.

[1036] S264 WAIT FOR INPUT I.

[1037] S265 i=“commit”?

[1038] S266 ESTABLISH WRITE SESSION.

[1039] S267 DISCARD WRITE SESSION.

[1040] S268 DELETE FILE F.

[1041] END

[1042] FIG. 37

[1043] START STREAM OBJECT SEARCH PROCESS

[1044] S271 SEARCH FOR OBJECT X.

[1045] S272 FROM OBJECT TYPE NUMBER, GET BASIC OBJECT NUMBER.

[1046] S273 BASIC OBJECT=TYPE 2?

[1047] S274 READ VALUE F OF FILE IDENTIFIER RECORDING AREA OF E AREA.

[1048] S275 ERROR

[1049] END

[1050] FIG. 38

[1051] 211 Root

[1052] 212 Folder List Object

[1053] Folder List Object 216 CC Object

[1054] 217 Folder Group

[1055] 213 Folder Object

[1056] Folder Object

[1057] 218 Album Group

[1058] 214 Album Object

[1059] Album Object

[1060] Album Object

[1061] 219 Track Group

[1062] 215 Track Object

[1063] Track Object

[1064] Track Object

[1065] Track Object

[1066] Track Object

[1067] Track Object

[1068] Track Object

Directory Structure Of Object

[1069] 6 Name Size Meaning Folder List Object Format OID 4 bytes ID of this object MAX 4 bytes Max. number of folders (= 100) N 4 bytes Current number of folders Folder(1-100) 4*100(400) bytes Matrix of IDs of folder objects Reserve 612 bytes Folder Object Format OID 4 bytes ID of this object MAX 4 bytes Max. number of folders (= 200) N 4 bytes Current number of albums Album(1-200) 4*200(800) bytes Matrix of IDs of album objects Title 36 bytes Folder name, character code Reserve 176 bytes Album Object Format OID 4 bytes ID of this object MAX 4 bytes Max. number of tracks (= 400) N 4 bytes number of tracks in Album Track(1-400) 4*400(1600) Matrix of IDs of music object bytes Title 516 bytes Title, character code Artist 260 bytes Artist name, character code CreationData 8 bytes Date of creation Media key 32 bytes Media key of CD Reserve 1660 bytes Track Object Format OID 4 bytes ID of this object SOID 4 bytes File identifier of content data to be linked Title 516 bytes Music title, character code Artist 260 bytes Artist name, character code Time 8 bytes Playback time LastAccessDate 8 bytes Date of last access PC 4 bytes Playback counter CreationData 8 bytes Date of creation Reserve 980 bytes Reserved (fixed to 0x00) AC 12544 bytes Music attribute and playback control information FIG. 43 Ckey 8 bytes Content key Codec 1 byte Codec identification value CodecAttr 1 byte Codec attribute LT 1 byte Playback limitation information VLD 1 byte Validity check flag LCMLOGNUM 1 byte Check-out destination count Reserve 7 bytes CDI 16 bytes Codec dependency information CID 20 bytes Content serial number PBS 8 bytes Playback permission start date PBE 8 bytes Playback permission end date XCC 1 bytes Extended CC CT 1 byte Remaining playback count CC 1 byte Content control CN 1 byte Remaining check-out count SRC 40 bytes Source information LCMLOG 48*256 bytes Information of check-out destination Reserve 140 bytes Content data format AT3H 16 KB ATARC3 header PRT 16 KB ATARC3 part RSV 32 KB Reserve AT3SU-1 16 KB Sound unit sequence AT3SU-2 16 KB Sound unit sequence . . . AT3SU-N 16 KB Sound unit sequence CC Object Format OID 4 bytes ID of this CC object SOlD 4 bytes ID of stream object to be linked Reserved 16 bytes CC Data Format CatFolder 10 KB CatFolder CatAlbum 200 KB CatAlbum CatTrack 600 KB CatTrack

[1070] FIG. 47

[1071] 3 CD

[1072] 56 Buffer

[1073] 59 Encoder

[1074] 56 Buffer

[1075] 58 HDD

[1076] 60-2 WM Screen

[1077] CD Ripping

[1078] FIG. 48

[1079] 3 CD

[1080] 56 Buffer

[1081] 59 Encoder

[1082] 56 Buffer

[1083] 58 HDD

[1084] 60-2 WM Screen

[1085] 60-3 Audio I/F

[1086] 62 D/A

[1087] 2 Speaker

[1088] CD Recording

[1089] FIG. 49

[1090] 31 Digital Input

[1091] 60-2 WM-Screen

[1092] 60-3 Audio I/F

[1093] 59 Encoder

[1094] 56 Buffer

[1095] 58 HDD

[1096] 62 D/A

[1097] 2 Speaker

[1098] HD Recording (Digital Input)

[1099] FIG. 50

[1100] 31 Analog Input

[1101] 62 A/D

[1102] D/A

[1103] 59 Encoder

[1104] 56 Buffer

[1105] 58 HDD

[1106] 60-2 WM Screen

[1107] 2 Speaker

[1108] HD Recording (Analog Input)

[1109] FIG. 51

[1110] 58 HDD

[1111] 56 Buffer

[1112] 59 Decoder

[1113] 56 Buffer

[1114] 60-3 Audio I/F

[1115] 62 D/A

[1116] 2 Speaker

[1117] HD Play

[1118] FIG. 52

[1119] 3 CD

[1120] 56 Buffer

[1121] 60-3 Audio I/F

[1122] 62 D/A

[1123] 2 Speaker

[1124] CD Play

[1125] FIG. 53A

[1126] 4 MS

[1127] 60-1 Decoder

[1128] MG MS I/F

[1129] 60-3 Audio I/F

[1130] 62 D/A

[1131] 2 Speaker

[1132] MS Play

[1133] FIG. 53B

[1134] 4 MS

[1135] 60-1 MG MS I/F

[1136] 56 Buffer

[1137] 59 Decoder

[1138] 56 Buffer

[1139] 60-3 Audio I/F

[1140] 62 D/A

[1141] 2 Speaker

[1142] MS Play

[1143] FIG. 54

[1144] 58 HDD

[1145] 56 Buffer

[1146] 60-1 MG MS I/F

[1147] 4 MS

[1148] MS Check-out/Move-out

[1149] FIG. 55

[1150] 4 MS

[1151] 60-1 MG MS I/F

[1152] 56 Buffer

[1153] 58 HDD

[1154] MS Import/Move-in

[1155] FIG. 56

[1156] 58 HDD

[1157] 56 Buffer

[1158] 59 Encoder/Decoder

[1159] 56 Buffer

[1160] 43 USB

[1161] 5 PD

[1162]

[1163] PD Check-out

[1164] FIG. 57

[1165] Monitor Sound Output

[1166] Recording Process

[1167] 1st music 2nd music 3rd music n-th music

[1168] FIG. 58

[1169] Monitor-Sound Output

[1170] 1st music 2nd music 3rd music n-th music

[1171] Recording Process

[1172] 1st music 2nd music 3rd music n-th music

[1173] FIG. 59

[1174] 231 PCM Data Reading Buffer

[1175] 232 Encoded Data Buffer

[1176] FIG. 60

[1177] Start

[1178] Read enabled State Read End Reading State

[1179] Start Write Start Read

[1180] Writing State Write End Read enabled State

[1181] FIG. 61

[1182] Address: max

[1183] Address: 0

[1184] 241 Ring Buffer

[1185] Write enabled Area

[1186] 242 Read Pointer

[1187] 244 Read enabled Area Read Margin

[1188] 243 Write Pointer

[1189] 245 Write enabled Area Write Margin

[1190] FIG. 62

[1191] 3 CD

[1192] 231 PCM Data Reading Buffer Encode

[1193] 232 Encoded Data Buffer

[1194] 58 HDD

[1195] 121 File Recording Area

[1196] 241 Ring Buffer

[1197] 251 PCM Data Playback Buffer

[1198] Playback

[1199] Audio Output

[1200] FIG. 63

[1201] START RECORDING SPEED SETTING PROCESS

[1202] S281 MONITOR BUTTON OPERATION.

[1203] S282 RECORDING BUTTON PRESSED?

[1204] S283 TURN OFF HIGH-SPEED RECORDING FLAG.

[1205] S284 HIGH-SPEED RECORDING BUTTON PRESSED?

[1206] S285 TURN ON HIGH-SPEED RECORDING FLAG.

[1207] FIG. 64

[1208] START CD RECORDING PROCESS

[1209] S291 SPECIFY MUSIC TO BE RECORDED.

[1210] S292 INITIALIZE RING BUFFER INFORMATION.

[1211] S293 RECORD ONE PIECE OF MUSIC.

[1212] S294 ALL PIECES OF MUSIC RECORDED?

[1213] END

[1214] FIG. 65

[1215] START RING BUFFER INFORMATION INITIALIZING PROCESS

[1216] S301 READ POINTER=ADDRESS 0

[1217] WRITE POINTER=ADDRESS 0

[1218] READ MARGIN=0

[1219] WRITE MARGIN=MAX

[1220] END

[1221] FIG. 66

[1222] START RECORDING ONE PIECE OF MUSIC

[1223] S311 BUFFER DATA IN PCM DATA READING BUFFER.

[1224] S312 ENCODE AND START MONITOR SOUND OUTPUT PROCESS.

[1225] S313 BUFFER DATA IN ENCODED DATA BUFFER.

[1226] S314 RECORD TO FILE RECORDING AREA.

[1227] S315 ENCODED DATA FOR ONE PIECE OF MUSIC RECORDED? RETURN

[1228] FIG. 67

[1229] START MONITOR SOUND OUTPUT PROCESS

[1230] S321 HIGH-SPEED RECORDING FLAG=ON?

[1231] S322 RECORDING PROCESS FOR ONE PIECE OF MUSIC ENDED?

[1232] S323 RING BUFFER WRITE PROCESS

[1233] S324 RING BUFFER READ PROCESS

[1234] S325 PCM DATA PLAYBACK PROCESS

[1235] S326 PCM DATA FOR ONE PIECE OF MUSIC PLAYED BACK?

[1236] END

[1237] FIG. 68

[1238] START RING BUFFER WRITING PROCESS

[1239] S331 HIGH-SPEED RECORDING FLAG=ON?

[1240] S332 RING BUFFER INFORMATION INITIALIZING PROCESS

[1241] S333 WRITE PCM DATA TO WRITE ENABLED AREA OF RING BUFFER.

[1242] S334 ADVANCE RING BUFFER WRITE POINTER BY WRITTEN PCM DATA AND UPDATE WRITE MARGIN AND READ MARGIN.

[1243] S335 PCM DATA<WRITE MARGIN?

[1244] RETURN

[1245] FIG. 69

[1246] START RING BUFFER READING PROCESS

[1247] S341 PCM DATA PLAYBACK BUFFER IS IN WRITE ENABLED STATE?

[1248] S342 IN ACCORDANCE WITH RING BUFFER READ POINTER, READ PCM DATA AND WRITE IT TO PCM DATA PLAYBACK BUFFER.

[1249] S343 ADVANCE RING BUFFER READ POINTER BY READ PCM DATA AND UPDATE WRITE MARGIN AND READ MARGIN.

[1250] S344 PUT PCM DATA PLAYBACK BUFFER INTO READ ENABLED STATE.

[1251] RETURN

[1252] FIG. 70A

[1253] 262 REC Setting Check

[1254] 263 Folder

[1255] 265 Bite rate

[1256] 266 Recording level

[1257] FIG. 70B

[1258] 272 In high-speed recording

[1259] 273 Album name/Artist name

[1260] 274 001 Music title

[1261] FIG. 71

[1262] My select folder F1

[1263] Album A1

[1264] Track T1

[1265] Track T2

[1266] Track T3

[1267] Album A2

[1268] Track T1

[1269] Track T2

[1270] Track T3

[1271] Album A3

[1272] Track T1

[1273] Track T2

[1274] Track T3

[1275] Temporary folder F2

[1276] Album A1

[1277] Track T1

[1278] Temporary folder F3

[1279] Album A1

[1280] Track T1

[1281] FIG. 72

[1282] Folder Number Album Number Track Number

[1283] Entire HDD

[1284] FIG. 73

[1285] Folder Number Album Number Track Number

[1286] FIG. 74

[1287] Folder Number Album Number Track Number

[1288] FIG. 75

[1289] Folder Number Album Number Track Number

[1290] FIG. 76

[1291] START PLAY LIST CREATING PROCESS

[1292] S351 LAYER OF SELECTED OBJECT=ENTIRE HDD?

[1293] S352 LAYER OF SELECTED OBJECT=FOLDER?

[1294] S353 LAYER OF SELECTED OBJECT IS ALBUM.

[1295] S354 PLAY/PAUSE BUTTON PRESSED?

[1296] S355 CORRESPONDING PLAY LIST ALREADY CREATED?

[1297] S356 CREATE CORRESPONDING PLAY LIST.

[1298] END

[1299] FIG. 77

[1300] START ALL MUSIC REPEAT PLAYBACK PROCESS

[1301] S361 END OF PLAYBACK INSTRUCTED?

[1302] S362 SPECIFY EVERY TRACK INCLUDED IN PLAY LIST AS PLAYBACK TRACK.

[1303] S363 PLAY BACK PLAYBACK TRACK.

[1304] END

[1305] FIG. 78

[1306] START MOVE-OUT PROCESS

[1307] S371 COPY RIGHTLESS CONTENT DATA TO MS.

[1308] S372 GENERATE MOVE-OUT LOG INFORMATION.

[1309] S373 INVALIDATE CONTENT DATA IN HDD.

[1310] S374 VALIDATE CONTENT DATA IN MS.

[1311] S375 DELETE CONTENT DATA FROM HDD.

[1312] S376 DELETE MOVE-OUT LOG INFORMATION.

[1313] END

[1314] FIG. 79

[1315] Media

[1316] State 1

[1317] State 2

[1318] State 3

[1319] State 4

[1320] State 5

[1321] FIG. 80

[1322] Impressions

[1323] 001 Kenkaoyame

[1324] 004 Asunowatashi/Take

[1325] 006 Ma Gi Bee

[1326] 007 Forever F

[1327] Move out

[1328] FIG. 81

[1329] Move out List

[1330] 004 Rokunamonjane/Naga

[1331] 010 OnoricoFlow

[1332] 012 WHEN YOU VELLE

[1333] Move out

[1334] FIG. 82

[1335] START MOVE-IN PROCESS

[1336] S381 GENERATE MOVE-IN LOG INFORMATION.

[1337] S382 COPY RIGHTLESS CONTENT DATA TO HDD.

[1338] S383 INVALIDATE CONTENT DATA IN MS.

[1339] S384 VALIDATE CONTENT DATA IN HDD.

[1340] S385 DELETE CONTENT DATA FROM MS.

[1341] S386 DELETE MOVE-IN LOG INFORMATION.

[1342] END

[1343] FIG. 83

[1344] Media

[1345] State 11

[1346] State 12

[1347] State 13

[1348] State 14

[1349] State 15

[1350] FIG. 84

[1351] FIG. 85

[1352] FIG. 86

[1353] START RESTORE PROCESS

[1354] S391 MOVE-OUT LOG INFORMATION EXISTS?

[1355] S392 MOVE-OUT RESTORE PROCESS

[1356] S393 MOVE-IN LOG INFORMATION EXISTS?

[1357] S394 MOVE-IN RESTORE PROCESS

[1358] END

[1359] FIG. 87

[1360] START MOVE-OUT RESTORE PROCESS

[1361] S401 CONTENT DATA IN HDD=INVALID?

[1362] S402 DELETE CONTENT DATA FROM HDD.

[1363] S403 DELETE MOVE-OUT LOG INFORMATION.

[1364] RETURN

[1365] FIG. 88

[1366] START MOVE-IN RESTORE PROCESS

[1367] S421 CONTENT DATA IN HDD=INVALID?

[1368] S422 DELETE CONTENT DATA FROM HDD.

[1369] S423 DELETE MOVE-IN LOG INFORMATION.

[1370] RETURN

[1371] FIG. 89

[1372] START CHECK-OUT PROCESS

[1373] S441 GET CHECK-OUT PERMISSION COUNT OF CONTENT DATA.

[1374] S442 DISPLAY CHECK-OUT PERMISSION COUNT OF CONTENT DATA.

[1375] S443 CONTENT DATA TO BE CHECKED OUT SELECTED?

[1376] S444 ADD SELECTED CONTENT DATA TO CHECK-OUT LIST.

[1377] S445 DECREMENT CHECK-OUT PERMISSION COUNT OF SELECTED CONTENT DATA BY 1.

[1378] S446 EXECUTION OF CHECK-OUT INSTRUCTED?

[1379] S447 COPY CONTENT DATA INCLUDED IN CHECK-OUT LIST TO MS.

[1380] S448 DECREMENT CHECK-OUT PERMISSION COUNT OF COPIED CONTENT DATA BY 1 TO UPDATE COUNT.

[1381] END

[1382] FIG. 90

[1383] Impressions

[1384] 001 Kenkaoyame

[1385] 003 Asunowatashi/Take

[1386] 005 Ma Gi Bee

[1387] 006 Forever F

[1388] Check out

[1389] FIG. 91

[1390] Check-out List

[1391] 001 Forever Friends/Take

[1392] 002 Uchinikaero/Takeuchi Maria

[1393] 003 HONEY/Takeuchi Maria

[1394] 004 FANTASY/Takeuchi Maria

[1395] Check out

[1396] FIG. 92

[1397] START CHECK-IN PROCESS

[1398] S451 DISPLAY CHECK-IN ENABLED CONTENT DATA.

[1399] S452 CONTENT DATA TO BE CHECKED IN SELECTED?

[1400] S453 ADD SELECTED CONTENT DATA TO CHECK-IN LIST.

[1401] S454 EXECUTION OF CHECK-IN INSTRUCTED?

[1402] S455 DELETE CONTENT DATA INCLUDED IN CHECK-IN LIST FROM

[1403] S456 INCREMENT CHECK-OUT PERMISSION COUNT OF ORIGINAL ENT DATA BY 1 TO UPDATE COUNT.

[1404] END

[1405] FIG. 93

[1406] Memory Stick

[1407] 002 PLEASE A

[1408] 003 Park House

[1409] 005 SWEETHEA

[1410] 006 Rokunamonj

[1411] Check in

[1412] FIG. 94

[1413] START EXCHANGE PROCESS

[1414] S461 DETECT CONTENT DATA WHICH CAN BE CHECKED IN FROM MS TO HDD.

[1415] S462 CHECK IN CONTENT DATA WHICH CAN BE CHECKED IN.

[1416] S463 CONTENT DATA WHICH CAN BE CHECKED IN ALL CHECKED IN?

[1417] S464 DETERMINE ALBUM TO BE CHECKED OUT.

[1418] S465 SELECT CONTENT DATA FROM ALBUM, PIECE BY PIECE.

[1419] S466 SELECTED CONTENT DATA CAN BE CHECKED OUT?

[1420] S467 MS CAPACITY ENOUGH?

[1421] S468 CHECK OUT SELECTED CONTENT DATA.

[1422] S469 ALL CONTENT DATA IN ALBUM SELECTED?

[1423] END

[1424] FIG. 95

[1425] Now Check In

[1426] 001 Forever Friend

[1427] 002 Koinoarashi/Takeuchi Maria

[1428] 003 Please Again/Take

[1429] 004 FANTASY/Mraih

[1430] SKIP NO 001

[1431] FIG. 96

[1432] Now Check Out

[1433] 001 Kenkaoyamete/Takeuchi

[1434] 002 Koinoarashi/Takeuchi Maria

[1435] 003 Maersey Beat de/Take

[1436] 004 FANTASY/Mraih

[1437] SKIP NO 003

[1438] FIG. 97

[1439] Check Out

[1440] 012 Junai rhapsody/Takeuchi Ma

[1441] 013 Linda/Takeuchi Maria

[1442] 014 Uchinikaero/Takeuchi Maria

[1443] 015 Eki/Takeuchi Maria

[1444] COMPLETE!

[1445] FIG. 98

[1446] 422 LCD Driver

[1447] 429 Power Supply Section

[1448] 416 Buffer

[1449] 414 DMA Controller

[1450] 418 Serial I/F

[1451] 424 USB Controller

[1452] 426 Flash Memory

[1453] Headphone Output

[1454] 425 USB Connector 7 Directory (File Name) Use MEMSTICK.ind File indicative that this recording medium is Memory Stick. DCIM Directory for storing still picture files. VOICE Directory for storing voice files. HIFI Directory for storing audio files. CONTROL Directory for storing control information files. TEL Directory for storing telephone and facsimile information files. OPEN-R Directory for storing entertainment robot information files. POSITION Directory for storing position information files PALM Directory for storing Palm OS data files. MP3 Directory for storing MP3 files. MSXXXXXX Directory for storing vendor-unique information files.

[1455] FIG. 100

[1456] 211 Root

[1457] 212 Folder List Object

[1458] Folder List Object

[1459] 216 CC Object

[1460] 217 Folder Group

[1461] 213 Folder Object

[1462] Folder Object

[1463] 501 MS Data

[1464] 218 Album Group

[1465] 214 Album Object

[1466] Album Object

[1467] Album Object

[1468] 502 MS Store/Restore

[1469] 219 Track Group

[1470] 215 Track Object

[1471] Track Object

[1472] Track Object

[1473] Track Object

[1474] Track Object

[1475] Track Object

[1476] Track Object

[1477] 503 MS Data #1 DCIM

[1478] MS Data #2 VOICE

[1479] MS Data #3 DCIM

[1480] Directory Structure of Objects

[1481] FIG. 101

[1482] START STORING PROCESS

[1483] S501 SEARCH FOR DIRECTORY TO BE STORED, COMPUTE ITS CAPACITY, AND DISPLAY DIRECTORY.

[1484] S502 SELECTED?

[1485] S503 RECORD ALL FILES BELONGING TO SELECTED DIRECTORY TO HDD AS ONE ARCHIVE.

[1486] S504 RECORD ORIGINAL DIRECTORY NAME AND ARCHIVE NAME SET BY USER TO RECORDED ARCHIVE BY RELATING THESE NAMES EACH OTHER.

[1487] S505 DELETE SELECTED DIRECTORY FROM MS.

[1488] END

[1489] FIG. 102

[1490] Memory Stick

[1491] 001 Forever Friend

[1492] 002 Koinoarashi/Takeuchi Maria

[1493] 003 Please Again/Take

[1494] FIG. 103

[1495] List

[1496] FIG. 104

[1497] Store

[1498] FIG. 105

[1499] START RESTORING PROCESS

[1500] S511 DISPLAY ARCHIVE RECORDED IN HDD.

[1501] S512 SELECTED?

[1502] S513 RES-TORE ALL FILES IN SELECTED ARCHIVE TO MS.

[1503] S514 DELETE SELECTED ARCHIVE FROM HDD.

[1504] END

[1505] FIG. 106

[1506] FIG. 107

[1507] FIG. 108

[1508] Boot Program

[1509] Marker 1

[1510] Marker 2

[1511] Marker 3

[1512] First Area

[1513] Second Area

[1514] Third Area

[1515] FIG. 109

[1516] START PROGRAM REWRITING PROCESS

[1517] S531 DETERMINE AREA FOR STORING UPGRADED FIRMWARE.

[1518] S532 GET UPGRADED PROGRAM.

[1519] S533 SUPPLY PROGRAM FROM RECORDING MEDIUM TO DECODER FOR DECRYPTION AND RE-ENCRYPTION.

[1520] S534 WRITE RE-ENCRYPTED PROGRAM TO DETERMINED AREA.

[1521] S535 DETECT MAXIMUM MARKER FROM AMONG MARKERS SUBSEQUENT TO MARKER 2 WHICH ARE NOT INVALID.

[1522] S536 MARKER←MAXIMUM MARKER+1

[1523] END

[1524] FIG. 110

[1525] START BOOT PROGRAM PROCESS

[1526] S541 INITIALIZE.

[1527] S542 ALL MARKERS SUBSEQUENT TO MARKER 2=“INVALID”?

[1528] S543 DETECT MAXIMUM MARKER m FROM AMONG MARKERS SUBSEQUENT TO MARKER 2 WHICH ARE NOT INVALID.

[1529] S544 SUPPLY PROGRAM CORRESPONDING TO MARKER m TO DECODER FOR DECRYPTION.

[1530] S545 WRITE DECRYPTED PROGRAM TO SDRAM.

[1531] S546 PROCESS SHIFTS TO PROGRAM IN SDRAM.

[1532] S547 MARKER 1=“INVALID”?

[1533] S548 SUPPLY PROGRAM CORRESPONDING TO MARKER 1 TO DECODER FOR DECRYPTION.

[1534] S549 WRITE DECRYPTED PROGRAM TO SDRAM.

[1535] S550 ERROR

[1536] END

Claims

1. A recording apparatus for recording content data to a first information storage medium which is detachable from said recording apparatus, comprising:

acceptance means for accepting a user operation;
search means for searching said first storage medium for a data file which is different in format from said content data;
read means for reading said data file retrieved by said search means from said first information storage medium;
storage means for storing, as an archive file, said data file read by said read means into a second storage medium which is incorporated in said recording apparatus;
deletion means for deleting said data file from said first storage medium; and
control means for controlling, in response to said user operation accepted by said acceptance means, said search means, said read means, said storage means, and said deletion means.

2. The recording apparatus according to claim 1, wherein said search means searches for said data file which belongs to a predetermined directory in said first information storage medium as said data file which is different in format from said content data.

3. The recording apparatus according to claim 1, further comprising decode means for decoding said content data, said search means searches for said data file which cannot be decoded by said decode means.

4. The recording apparatus according to claim 1, wherein said search means searches for said data file not attached with copyright information as said data file which is different in format from said content data.

5. The recording apparatus according to claim 1, wherein said storage means stores, as one archive file, a plurality of said data files formatted in a same way read by said read means into said second information storage which is incorporated in said recording apparatus.

6. A recording method for a recording apparatus for recording content data to a first information storage medium which is detachable from said recording apparatus, comprising:

an acceptance step for accepting a user operation;
a search step for searching said first storage medium for a data file which is different in format from said content data;
a read step for reading said data file retrieved by the process of said search step from said first information storage medium;
a storage step for storing, das an archive file, said data file read by the process of said read step into a second storage medium which is incorporated in said recording apparatus;
a deletion step for deleting said data file from said first storage medium; and
a control step for controlling, in response to said user operation accepted by the process of said acceptance step, a process of said search step, a process of said read step, a process of said storage step, and a process of said deletion step.

7. A storage medium storing a computer-readable program for recording content data to a detachable first information storage medium, said computer-readable program comprising:

an acceptance step for accepting a user operation;
a search step for searching said first storage medium for a data file which is different in format from said content data;
a read step for reading said data file retrieved by the process of said search step from said first information storage medium;
a storage step for storing, as an archive file, said data file read by the process of said read step into an incorporated second storage medium;
a deletion step for deleting said data file from said first storage medium; and
a control step for controlling, in response to said user operation accepted by the process of said acceptance step, a process of said search step, a process of said read step, a process of said storage step, and a process of said deletion step.

8. A program for causing a computer for recording content data to a detachable first information storage medium to execute:

an acceptance step for accepting a user operation;
a search step for searching said first storage medium for a data file which is different in format from said content data;
a read step for reading said data file retrieved by the process of said search step from said first information storage medium;
a storage step for storing, as an archive file, said data file read by the process of said read step into an incorporated second storage medium;
a deletion step for deleting said data file from said first storage medium; and
a control step for controlling, in response to said user operation accepted by the process of said acceptance step, a process of said search step, a process of said read step, a process of said storage step, and a process of said deletion step.

9. A recording apparatus, in which only a dedicated application program for recording content data to a first information storage medium detachable from said recording apparatus can be started up to execute said dedicated application program immediately after a power-on sequence, comprising:

acceptance means for accepting a user operation;
search means for searching said first storage medium for a data file which is different in format from said content data;
read means for reading said data file retrieved by said search means from said first information storage medium;
storage means for storing, as an archive file, said data file read by said read means into a second storage medium which is incorporated in said recording apparatus;
deletion means for deleting said data file from said first storage medium; and
control means for controlling, in response to said user operation accepted by said acceptance means, said search means, said read means, said storage means, and said deletion means.

10. The recording apparatus according to claim 9, wherein said search means searches for said data file which belongs to a predetermined directory in said first information storage medium as said data file which is different in format from said content data.

11. The recording apparatus according to claim 9, further comprising decode means for decoding said content data, said search means searches for said data file which cannot be decoded by said decode means.

12. The recording apparatus according to claim 9, wherein said search means searches for said data file not attached with copyright information as said data file which is different in format from said content data.

13. The recording apparatus according to claim 9, wherein said storage means stores, as one archive file, a plurality of said data files formatted in a same way read by said read means into said second information storage medium which is incorporated in said recording apparatus.

14. A recording apparatus for recording content data to a first information storage medium which is detachable from said recording apparatus, comprising:

acceptance means for accepting a user operation;
search means for searching a second information storage medium which is incorporated in said recording apparatus for an archive file;
read means for reading said archive file retrieved by said search means from said second information storage medium;
restoration means for restoring a data file into said first information storage medium on the basis of said archive file read by said read means;
deletion means for deleting said archive file stored in said second information storage means; and
control means for controlling, in response to said user operation accepted by said acceptance means, said search means, said read means, said restoration means, and said deletion means.

15. The recording apparatus according to claim 14, wherein said search means searches for said archive file which belongs to a predetermined directory in said second information storage medium.

16. The recording apparatus according to claim 14, further comprising decode means for decoding said content data, said search means searches for said archive file which cannot be decoded by said decode means.

17. The recording apparatus according to claim 14, wherein said search means searches for said archive file not attached with copyright information.

18. A recording method for a recording apparatus for recording content data to a first information storage medium which is detachable from said recording apparatus, comprising:

an acceptance step for accepting a user operation;
a search step for searching a second information storage medium which is incorporated in said recording apparatus for an archive file;
a read step for reading said archive file retrieved by the process of said search step from said second information storage medium;
a restoration step for restoring a data file into said first information storage medium on the basis of said archive file read by the process of said read step;
a deletion step for deleting said archive file stored in said second information storage medium; and
a control step for controlling, in response to said user operation accepted by the process of said acceptance step, a process of said search step, a process of said read step, a process of said restoration step, and a process of said deletion step.

19. A storage medium storing a computer-readable program for recording content data into a detachable first information storage medium, said computer-readable program comprising:

an acceptance step for accepting a user operation;
a search step for searching an incorporated second information storage medium for an archive file;
a read step for reading said archive file retrieved by the process of said search step from said second information storage medium;
a restoration step for restoring a data file into said first information storage medium on the basis of said archive file read by the process of said read step;
a deletion step for deleting said archive file stored in said second information storage medium; and
a control step for controlling, in response to said user operation accepted by the process of said acceptance step, a process of said search step, a process of said read step, a process of said restoration step, and a process of said deletion step.

20. A program for causing a computer for recording content data to a detachable first information storage medium to execute:

an acceptance step for accepting a user operation;
a search step for searching an incorporated second information storage medium for an archive file;
a read step for reading said archive file retrieved by the process of said search step from said second information storage medium;
a restoration step for restoring a data file into said first information storage medium on the basis of said archive file read by the process of said read step;
a deletion step for deleting said archive file stored in said second information storage medium; and
a control step for controlling, in response to said user operation accepted by the process of said acceptance step, a process of said search step, a process of said read step, a process of said restoration step, and a process of said deletion step.

21. A recording apparatus, in which only a dedicated application program for recording content data to a first information storage medium detachable from said recording apparatus can be started up to execute said dedicated application program immediately after a power-on sequence, comprising:

acceptance means for accepting a user operation;
search means for searching a second storage medium which is incorporated in said recording apparatus for an archive file;
read means for reading said archive file retrieved by said search means from said second information storage medium;
restoration means for restoring a data file into said first information storage medium on the basis of said archive file read by said read means;
deletion means for deleting said archive file stored in said second information storage medium; and
control means for controlling, in response to said user operation accepted by said acceptance means, said search means, said read means, said restoration means, and said deletion means.

22. The recording apparatus according to claim 21, wherein said search means searches for said archive file which belongs to a predetermined directory in said second information storage medium.

23. The recording apparatus according to claim 21, further comprising a decode means for decoding said content data, said search means searches for said archive file which cannot be decoded by said decode means.

24. The recording apparatus according to claim 21, wherein said search means searches for said archive file not attached with copyright information.

25. A recording apparatus comprising:

a search block for searching an external information storage medium for particular data which are a particular attribute;
a read block for reading said particular data retrieved by said search block;
a storage controller for storing said particular data read by said read block into an internal information storage medium;
a deletion controller for deleting said particular data stored in said external information storage medium; and
a controller for automatically performing control such that, in response to a user instruction, said search block searches said external information storage medium for particular data, said read block reads the retrieved particular data, said storage controller records said particular data to said internal information storage medium, and said deletion controller deletes said particular data from said external storage medium.

26. The recording apparatus according to claim 25, wherein said search block searches said external information storage medium for particular data managed by a particular directory.

27. The recording apparatus according to claim 26, wherein said search block further searches said external information storage medium for particular data of which copyright is not managed.

28. The recording apparatus according to claim 25, further comprising a decoder for decoding particular data, said search block searches for particular data which cannot be decoded by said decoder.

29. A recording apparatus comprising:

a search block for searching an internal information storage medium for particular data which are a particular attribute;
a read block for reading the particular data retrieved by said search block;
a storage controller for storing the particular data read by said read block into an external information storage medium;
a deletion controller for deleting said particular data stored in said internal information storage medium; and
a controller for automatically performing control such that, in response to a user instruction, said search block searches said internal information storage medium for particular data, said read block reads the retrieved particular data, said storage controller records said particular data to said external information storage medium, and said deletion controller deletes said particular data from said internal storage medium.

30. The recording apparatus according to claim 29, wherein said search block searches said external information storage medium for particular data managed by a particular directory.

31. The recording apparatus according to claim 30, wherein said search block searches said internal information storage medium for particular data of which copyright is not managed.

32. The recording apparatus according to claim 29, further comprising a decoder for decoding particular data, said search block searches for particular data which cannot be decoded.

Patent History
Publication number: 20040068605
Type: Application
Filed: Aug 18, 2003
Publication Date: Apr 8, 2004
Patent Grant number: 7441124
Inventor: Tsutomu Hirasawa (Saitama)
Application Number: 10380738
Classifications
Current U.S. Class: Storage Accessing And Control (711/100)
International Classification: G06F012/00;