JP4845413B2 - Data processing device - Google Patents

Data processing device Download PDF

Info

Publication number
JP4845413B2
JP4845413B2 JP2005113542A JP2005113542A JP4845413B2 JP 4845413 B2 JP4845413 B2 JP 4845413B2 JP 2005113542 A JP2005113542 A JP 2005113542A JP 2005113542 A JP2005113542 A JP 2005113542A JP 4845413 B2 JP4845413 B2 JP 4845413B2
Authority
JP
Japan
Prior art keywords
data
transfer
recording medium
memory card
external device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005113542A
Other languages
Japanese (ja)
Other versions
JP2006293688A (en
Inventor
勉 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2005113542A priority Critical patent/JP4845413B2/en
Publication of JP2006293688A publication Critical patent/JP2006293688A/en
Application granted granted Critical
Publication of JP4845413B2 publication Critical patent/JP4845413B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

この発明は、データ処理装置に関し、特にたとえばボイスレコーダに適用され、外部装置から転送されるデータを確保する、データ処理装置に関する。   The present invention relates to a data processing device, and more particularly to a data processing device that is applied to, for example, a voice recorder and secures data transferred from an external device.

従来のこの種の装置の一例が、特許文献1に開示されている。この従来技術によれば、記録・再生装置のストレージメモリに記憶されたデータをPCに送信するとき、データは、メモリドライバによってストレージメモリから読み出される。読み出されたデータはネットワークI/Fに与えられ、その後、USB(Universal Serial Bus)ケーブルを通してPCに転送される。
特許公開2003−323267号公報[G06F 3/06, 12/00, G10L 19/00]
An example of a conventional device of this type is disclosed in Patent Document 1. According to this prior art, when data stored in the storage memory of the recording / reproducing apparatus is transmitted to the PC, the data is read from the storage memory by the memory driver. The read data is given to the network I / F, and then transferred to the PC through a USB (Universal Serial Bus) cable.
Japanese Patent Publication No. 2003-323267 [G06F 3/06, 12/00, G10L 19/00]

しかし、従来技術では、データ転送速度がメモリドライバの処理能力に依存する。つまり、USB転送速度は最高で480Mbpsであり、CD(Compact Disk)一枚分のMP3データ(約600Mバイト)であれば、理論的にはデータ転送を10秒で完了することができる。したがって、介在するメモリドライバの処理能力が低いと、USB転送速度もまた低下する。この結果、従来技術では、記録・再生装置とPCとの接続時間が長くなる可能性がある。また、外部装置と記憶媒体との間に介在する制御用Chip数が増加すれば、これもまたデータ転送速度に影響を及ぼす要因になる。   However, in the prior art, the data transfer rate depends on the processing capability of the memory driver. In other words, the maximum USB transfer speed is 480 Mbps, and theoretically, data transfer can be completed in 10 seconds with MP3 data (about 600 Mbytes) for one CD (Compact Disk). Therefore, when the processing capability of the intervening memory driver is low, the USB transfer speed also decreases. As a result, in the prior art, there is a possibility that the connection time between the recording / reproducing apparatus and the PC becomes long. In addition, if the number of control chips interposed between the external device and the storage medium increases, this also becomes a factor affecting the data transfer rate.

それゆえに、この発明の主たる目的は、データ転送のための外部装置との接続時間を短縮することができる、データ処理装置を提供することである。   SUMMARY OF THE INVENTION Therefore, a main object of the present invention is to provide a data processing device that can shorten the connection time with an external device for data transfer.

請求項1の発明に従うデータ処理装置は、外部装置(52)から第1記録媒体(18)へのデータ転送を指示する第1転送指示を外部装置との接続が確立される前に受け付ける第1受付手段(S15)、第1受付手段の受付に応答して少なくとも第1記録媒体の空き容量に相当する容量を有する空き容量を第2記録媒体(22)に確保する第1確保手段(S33)、外部装置との接続が確立された後に外部装置から入力されたデータを第1確保手段によって確保された空き領域に書き込む書き込み手段(48)、および書き込み手段によって書き込まれたデータを外部装置との接続が遮断された後に第2記録媒体から第1記録媒体に転送する第1転送手段(S43)を備える。   The data processing device according to the first aspect of the present invention receives a first transfer instruction for instructing data transfer from the external device (52) to the first recording medium (18) before connection with the external device is established. Accepting means (S15), first securing means (S33) for securing in the second recording medium (22) a free space having a capacity corresponding to at least the free capacity of the first recording medium in response to acceptance by the first receiving means. Writing means (48) for writing the data inputted from the external device after the connection with the external device is established into the free space secured by the first securing means, and the data written by the writing means with the external device First transfer means (S43) for transferring from the second recording medium to the first recording medium after the connection is cut off is provided.

外部装置から第1記憶媒体へのデータ転送を指示する第1転送指示は、外部装置との接続が確立される前に、第1受付手段によって受け付けられる。第1確保手段は、第1受付手段の受付に応答して、少なくとも第1記録媒体の空き容量に相当する容量を有する空き容量を第2記録媒体に確保する。外部装置との接続が確立された後に外部装置から入力されたデータは、第1確保手段によって確保された空き領域に書き込み手段によって書き込まれる。書き込み手段によって書き込まれたデータは、外部装置との接続が遮断された後に、第1転送手段によって第2記録媒体から第1記録媒体に転送される。   The first transfer instruction for instructing data transfer from the external device to the first storage medium is received by the first receiving means before the connection with the external device is established. In response to the reception of the first receiving means, the first securing means secures a free capacity having at least a capacity corresponding to the free capacity of the first recording medium in the second recording medium. Data input from the external device after the connection with the external device is established is written by the writing means in the free area secured by the first securing means. The data written by the writing means is transferred from the second recording medium to the first recording medium by the first transfer means after the connection with the external device is cut off.

外部装置との接続が確立される前に第2記憶媒体に空き領域を確保し、外部装置から第1記録媒体に転送すべきデータをこの空き領域に書き込むことで、外部装置との接続時間の短縮化が図られる。   Before the connection with the external device is established, a free space is secured in the second storage medium, and data to be transferred from the external device to the first recording medium is written in this free space, thereby reducing the connection time with the external device. Shortening is achieved.

請求項2の発明に従うデータ転送装置は、請求項1に従属し、前記書き込み手段の書き込み速度は前記第1転送手段の転送速度よりも高速である。これによって、外部装置との接続時間の短縮化がより一層図られる。   A data transfer apparatus according to a second aspect of the present invention is dependent on the first aspect, and the write speed of the write means is higher than the transfer speed of the first transfer means. As a result, the connection time with the external device can be further shortened.

請求項3の発明に従うデータ転送装置は、請求項1または2に従属し、前記第1確保手段によって確保される空き領域の容量は前記第1記録媒体の容量に等しい。   A data transfer apparatus according to a third aspect of the present invention is dependent on the first or second aspect, and the capacity of the free area secured by the first securing means is equal to the capacity of the first recording medium.

請求項4の発明に従うデータ転送装置は、請求項1ないし3のいずれかに従属し、前記第1記録媒体は着脱自在であり、第2記録媒体は内蔵型である。   A data transfer apparatus according to a fourth aspect of the invention is dependent on any one of the first to third aspects, wherein the first recording medium is detachable and the second recording medium is a built-in type.

請求項5の発明に従うデータ転送装置は、請求項1ないし4のいずれかに従属し、第1記録媒体から外部装置へのデータ転送を指示する第2転送指示を外部装置との接続が確立される前に受け付ける第2受付手段(S19)、第2記録媒体に記録されたデータを第2受付手段の受付に応答して第2記録媒体に転送する第2転送手段(S55)、および第2転送手段によって転送されたデータを外部装置との接続が確立された後に外部装置に出力する出力手段(50)をさらに備える。これによって、外部装置にデータを転送することができる。   A data transfer device according to a fifth aspect of the invention is dependent on any one of the first to fourth aspects, wherein a connection with the external device is established with a second transfer instruction for instructing data transfer from the first recording medium to the external device. Second accepting means (S19) for accepting before recording, second transfer means (S55) for transferring the data recorded on the second recording medium to the second recording medium in response to acceptance of the second accepting means, and second It further comprises output means (50) for outputting the data transferred by the transfer means to the external apparatus after the connection with the external apparatus is established. As a result, data can be transferred to the external device.

請求項6の発明に従うデータ転送装置は、請求項5に従属し、第2転送手段の転送動作に先立って第1記録媒体の容量に相当する容量を有する空き領域を確保する第2確保手段(S53)をさらに備え、第2転送手段は第2確保手段によって確保された空き領域に前記データを転送する。これによって、第1記録媒体のデータを外部装置に転送することができる。   A data transfer apparatus according to the invention of claim 6 is dependent on claim 5, and prior to the transfer operation of the second transfer means, a second securing means for securing a free area having a capacity corresponding to the capacity of the first recording medium. S53), and the second transfer means transfers the data to the empty area secured by the second securing means. Thereby, the data of the first recording medium can be transferred to the external device.

請求項7の発明に従うデータ転送装置は、請求項6に従属し、第2確保手段によって確保された空き領域のデータが前記第1記録媒体のデータと一致するか否かを出力手段の出力動作が完了した後に判別する判別手段(S67)、および判別手段の判別結果が否定的であるとき第2確保手段によって確保された空き領域のデータを第1記録媒体に転送する第3転送手段(S69)をさらに備える。これによって、外部装置に転送されたデータと第1記録媒体に転送されたデータとの整合性を保つことができる。   The data transfer device according to the invention of claim 7 is dependent on claim 6, and the output operation of the output means determines whether or not the data in the empty area secured by the second securing means matches the data of the first recording medium. And a third transfer means (S69) for transferring the data in the free area secured by the second securing means to the first recording medium when the judgment result of the judging means is negative. ). Thereby, the consistency between the data transferred to the external device and the data transferred to the first recording medium can be maintained.

この発明によれば、データ転送のための外部装置との接続時間を短縮することができる。   According to the present invention, the connection time with an external device for data transfer can be shortened.

この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。   The above object, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

図1を参照して、この実施例のボイスレコーダ10は、オーディオ再生機能,オーディオ記録機能および転送機能を備える。オーディオ再生機能およびオーディオ記録機能は、ボイスレコーダ10単独で実現される機能であり、転送機能は、ボイスレコーダ10とPC52とによって実現される機能である。   Referring to FIG. 1, a voice recorder 10 of this embodiment has an audio playback function, an audio recording function, and a transfer function. The audio playback function and the audio recording function are functions realized by the voice recorder 10 alone, and the transfer function is a function realized by the voice recorder 10 and the PC 52.

ボイスレコーダ10は、メモリカード18,HDD22,USBコントローラ48およびUSB端子50を有する。メモリカード18は、着脱自在であり、図示しないスロットに装着されたときにMPU44によってアクセス可能となり、HDD22は、ボイスレコーダ10に内蔵される。なお、USBコントローラ48は、HDD22と高速転送ができるATA BRIDGE ICのようなUSB転送専用ICであれば好ましい。   The voice recorder 10 has a memory card 18, an HDD 22, a USB controller 48 and a USB terminal 50. The memory card 18 is detachable and can be accessed by the MPU 44 when it is inserted in a slot (not shown), and the HDD 22 is built in the voice recorder 10. The USB controller 48 is preferably a USB transfer dedicated IC such as an ATA BRIDGE IC capable of high-speed transfer with the HDD 22.

PC52とUSB端子50とが接続されていない場合、GPIO46は、USB非接続状態としてMPU44に通知する。USB非接続状態のとき、スイッチSWはMPU44によって端子T1に接続される。   When the PC 52 and the USB terminal 50 are not connected, the GPIO 46 notifies the MPU 44 as a USB disconnected state. When the USB is not connected, the switch SW is connected to the terminal T1 by the MPU 44.

キー入力装置12によってオーディオ再生操作が行われると、MPU44は、DSP40およびコーデック30をそれぞれ伸長モードおよび復号モードに設定する。メモリカード18に記憶されたオーディオファイルを読み出すとき、MPU44は、メモリカード18に読み出し命令を発行し、メモリカード18は、I/F20を通してMPU44にオーディオファイルを与える。与えられたオーディオファイルは、メモリ42を通してDSP40に与えられる。DSP40は、与えられたオーディオファイルに含まれる圧縮オーディオデータを伸長し、伸長されたオーディオデータをメモリ42に蓄積する。MPU44は、メモリ42に蓄積されたオーディオデータをバス24を通してコーデック30に与える。コーデック30は、与えられたオーディオデータをアナログオーディオ信号に復号し、復号されたオーディオ信号をアンプ28を通してスピーカ26から出力する。   When an audio playback operation is performed by the key input device 12, the MPU 44 sets the DSP 40 and the codec 30 to the expansion mode and the decoding mode, respectively. When reading the audio file stored in the memory card 18, the MPU 44 issues a read command to the memory card 18, and the memory card 18 gives the audio file to the MPU 44 through the I / F 20. The given audio file is given to the DSP 40 through the memory 42. The DSP 40 expands the compressed audio data included in the given audio file, and stores the expanded audio data in the memory 42. The MPU 44 provides the audio data stored in the memory 42 to the codec 30 through the bus 24. The codec 30 decodes the given audio data into an analog audio signal, and outputs the decoded audio signal from the speaker 26 through the amplifier 28.

また、HDD22に記憶されたオーディオファイルを読み出すとき、MPU44は、HDD22に読み出し命令を発行し、HDD22はスイッチSWを通してMPU44にオーディオファイルを与える。与えられたオーディオファイルは、メモリ42を通してDSP40に与えられる。DSP40は、与えられたオーディオファイルに含まれる圧縮オーディオデータを伸長し、伸長されたオーディオデータをメモリ42に蓄積する。MPU44は、メモリ42に蓄積されたオーディオデータをバス24を通してコーデック30に与える。コーデック30は、与えられたオーディオデータをアナログオーディオ信号に復号し、復号されたオーディオ信号をアンプ28を通してスピーカ26から出力する。   Further, when reading the audio file stored in the HDD 22, the MPU 44 issues a read command to the HDD 22, and the HDD 22 gives the audio file to the MPU 44 through the switch SW. The given audio file is given to the DSP 40 through the memory 42. The DSP 40 expands the compressed audio data included in the given audio file, and stores the expanded audio data in the memory 42. The MPU 44 provides the audio data stored in the memory 42 to the codec 30 through the bus 24. The codec 30 decodes the given audio data into an analog audio signal, and outputs the decoded audio signal from the speaker 26 through the amplifier 28.

MPU44はまた、モード情報“オーディオ再生モード”の出力をLCDコントローラ16に命令する。モード情報は、LCDモニタ14に表示される。こうして、オーディオ再生機能が実現される。   The MPU 44 also instructs the LCD controller 16 to output mode information “audio playback mode”. The mode information is displayed on the LCD monitor 14. Thus, an audio playback function is realized.

キー入力装置12によってオーディオ記録操作が行われると、MPU44は、コーデック30およびDSP40をそれぞれ符号化モードおよび圧縮モードに設定する。コーデック30は、マイクロフォン34および38によって捉えられかつアンプ32および36によって増幅されたオーディオ信号をディジタルオーディオデータに符号化し、MPU44は、符号化されたオーディオデータをDSP40で圧縮し、与えられたオーディオデータを圧縮し、圧縮オーディオデータをメモリ42に蓄積する。MPU44は、メモリ42に蓄積された圧縮オーディオデータをファイル形式でHDD22に記憶する。MPU44はさらに、モード情報“オーディオ記録モード”をLCDモニタ14に表示するべく、このモード情報の出力をLCDコントローラ16に命令する。こうして、オーディオ記録機能が実現される。   When an audio recording operation is performed by the key input device 12, the MPU 44 sets the codec 30 and the DSP 40 to the encoding mode and the compression mode, respectively. The codec 30 encodes the audio signal captured by the microphones 34 and 38 and amplified by the amplifiers 32 and 36 into digital audio data, and the MPU 44 compresses the encoded audio data by the DSP 40, and the given audio data The compressed audio data is stored in the memory 42. The MPU 44 stores the compressed audio data stored in the memory 42 in the HDD 22 in a file format. The MPU 44 further instructs the LCD controller 16 to output the mode information in order to display the mode information “audio recording mode” on the LCD monitor 14. Thus, an audio recording function is realized.

なお、メモリ42に蓄積された圧縮オーディオデータはメモリカード18に記録することも可能である。具体的には、MPU44は、メモリ42に蓄積された圧縮オーディオデータをファイル形式でI/F20を介してメモリカード18に記憶する。   The compressed audio data stored in the memory 42 can also be recorded on the memory card 18. Specifically, the MPU 44 stores the compressed audio data stored in the memory 42 in the memory card 18 through the I / F 20 in a file format.

HDD22は、使用領域と空き領域とを形成する。最初、HDD22の全ての領域は空き領域であり、オーディオファイルがHDD22に与えられると、HDD22は与えられたオーディオファイルを記憶する。記憶されたオーディオファイルが記憶された領域は、使用領域としてHDD22に割り当てられる。また、MPU44がメモリカード18の容量をHDD22に通知すると、図2に示すように、HDD22は、仮想メモリカードの容量に相当する容量を持つ仮想メモリカード領域を空き領域に割り当てる。MPU44がバックアップ処理命令をHDD22に発行すると、メモリカード18のオーディオファイルは仮想メモリカード領域に記憶される。これによって、PC52はメモリカード18に記憶されたオーディオファイルに間接的にアクセスすることができる。   The HDD 22 forms a use area and a free area. Initially, all areas of the HDD 22 are empty areas, and when an audio file is given to the HDD 22, the HDD 22 stores the given audio file. The area where the stored audio file is stored is assigned to the HDD 22 as a use area. When the MPU 44 notifies the HDD 22 of the capacity of the memory card 18, as shown in FIG. 2, the HDD 22 allocates a virtual memory card area having a capacity corresponding to the capacity of the virtual memory card to a free area. When the MPU 44 issues a backup processing command to the HDD 22, the audio file in the memory card 18 is stored in the virtual memory card area. As a result, the PC 52 can indirectly access the audio file stored in the memory card 18.

ボイスレコーダ10とPC52とは、転送機能を備える。転送機能は、PC→メモリカード転送処理あるいはメモリカード→PC転送処理によって実現される機能である。PC52とUSB端子50とが接続されると、GPIO46は、USB接続された旨をMPU44に通知する。   The voice recorder 10 and the PC 52 have a transfer function. The transfer function is a function realized by a PC → memory card transfer process or a memory card → PC transfer process. When the PC 52 and the USB terminal 50 are connected, the GPIO 46 notifies the MPU 44 that the USB connection has been made.

キー入力装置12によってPC→メモリカード転送操作が行われると、MPU44は、モード情報“PC→メモリカード転送モード”の出力をLCDコントローラ16に命令する。MPU44はまた、メモリカード18の容量を確認し、かかる容量をHDD22に仮想メモリカード領域を割り当てる。MPU44は、USB接続を確認すると、スイッチSWを端子T2に接続させる。PC52は、オーディオファイルをUSB端子50を通してUSBメモリコントローラ46に転送し、転送されたオーディオファイルは、スイッチSWを通してHDD22に与えられる。HDD22は、与えられたオーディオファイルを仮想メモリカード領域に記憶する。GPIO46がUSB非接続状態に遷移されたことを通知すると、スイッチSWは、MPU44によって端子T1に接続される。MPU44はHDD22の仮想メモリカード領域のオーディオファイルをメモリ42を介してメモリカード18に転送し、転送が正常に終了すると、仮想メモリカード領域のオーディオファイルを消去する。   When a PC → memory card transfer operation is performed by the key input device 12, the MPU 44 instructs the LCD controller 16 to output mode information “PC → memory card transfer mode”. The MPU 44 also confirms the capacity of the memory card 18 and allocates a virtual memory card area to the HDD 22 with such capacity. Upon confirming the USB connection, the MPU 44 connects the switch SW to the terminal T2. The PC 52 transfers the audio file to the USB memory controller 46 through the USB terminal 50, and the transferred audio file is given to the HDD 22 through the switch SW. The HDD 22 stores the given audio file in the virtual memory card area. When notifying that the GPIO 46 has transitioned to the USB disconnected state, the switch SW is connected to the terminal T1 by the MPU 44. The MPU 44 transfers the audio file in the virtual memory card area of the HDD 22 to the memory card 18 via the memory 42. When the transfer is normally completed, the MPU 44 deletes the audio file in the virtual memory card area.

このように、PC→メモリカード転送処理では、PC52との接続に先立って、PC52との転送速度が速いHDD22に仮想メモリカード領域が割り当てられる。PC52との接続の後に、PC52から転送されたオーディオファイルは、まず仮想メモリカード領域に記録される。PC52との接続が解除されると、仮想メモリカード領域のオーディオファイルは速やかにメモリカード18に転送される。これによって、データ転送のためのPC52との接続時間を短縮することができる。   As described above, in the PC → memory card transfer process, the virtual memory card area is allocated to the HDD 22 having a high transfer rate with the PC 52 prior to the connection with the PC 52. After the connection with the PC 52, the audio file transferred from the PC 52 is first recorded in the virtual memory card area. When the connection with the PC 52 is released, the audio file in the virtual memory card area is immediately transferred to the memory card 18. Thereby, the connection time with the PC 52 for data transfer can be shortened.

また、キー入力装置12によってメモリカード→PC転送操作が行われると、MPU44は、モード情報“メモリカード→PC転送モード”の出力をLCDコントローラ16に命令する。MPU44は、メモリカード18の容量を確認し、かかる容量をHDD22に通知する。HDD22は仮想メモリカードの領域を割り当て、メモリカード18のオーディオファイルはバス24ならびにメモリ42を介して仮想メモリカード領域に転送される。MPU44は、USB接続を確認すると、スイッチSWを端子T2に接続させる。HDD22は、PC52からのアクセス要求に従って仮想メモリカード領域に書き込まれたオーディオファイルをスイッチSWを通してPC52に転送する。   When the memory card → PC transfer operation is performed by the key input device 12, the MPU 44 instructs the LCD controller 16 to output mode information “memory card → PC transfer mode”. The MPU 44 confirms the capacity of the memory card 18 and notifies the HDD 22 of the capacity. The HDD 22 allocates a virtual memory card area, and the audio file of the memory card 18 is transferred to the virtual memory card area via the bus 24 and the memory 42. Upon confirming the USB connection, the MPU 44 connects the switch SW to the terminal T2. The HDD 22 transfers the audio file written in the virtual memory card area to the PC 52 through the switch SW in accordance with the access request from the PC 52.

つまり、メモリカード→PC転送処理では、PC52と接続される前に、メモリカード18のオーディオファイルがHDD22の仮想メモリカード領域に一旦記憶される。オーディオファイルは、PC52との接続が確立された後に、HDD22からPC52に転送される。これによって、PC52へのデータ転送を速やかに実行できる。   That is, in the memory card → PC transfer process, the audio file of the memory card 18 is temporarily stored in the virtual memory card area of the HDD 22 before being connected to the PC 52. The audio file is transferred from the HDD 22 to the PC 52 after the connection with the PC 52 is established. Thereby, the data transfer to the PC 52 can be executed promptly.

MPU44は、図3〜図5に示すフロー図に従う処理を実行する。なお、このフロー図に対応する制御プログラムは、HDD22に記憶されている。   The MPU 44 executes processing according to the flowcharts shown in FIGS. A control program corresponding to this flowchart is stored in the HDD 22.

まずステップS1で、電源が投入されるまで待機する。電源が投入されると、ステップS3に進み、初期化処理が実行される。このとき、スイッチSWは、端子T1に接続される。   First, in step S1, it waits until the power is turned on. When the power is turned on, the process proceeds to step S3, and initialization processing is executed. At this time, the switch SW is connected to the terminal T1.

ステップS5では、PC→HDD転送命令を受けたか否か判断する。判断結果がYESであれば、ステップS7に進み、判断結果がNOであれば、ステップS9に進む。ステップS7で、PC→HDD転送処理を実行し、この処理が完了すると、ステップS5に戻る。ステップS9では、HDD→PC転送命令を受けたか否か判断する。判断結果がYESであれば、ステップS11に進み、判断結果がNOであれば、ステップS13に進む。ステップS11で、HDD→PC転送処理を実行し、この処理が間慮すると、ステップS5に戻る。ステップS13では、メモリカード18が装着されているか否か判断する。判断結果がYESであれば、ステップS15に進み、判断結果がNOであれば、ステップS5に戻る。なお、PC→HDD転送処理は、PC52から転送されるオーディオファイルをHDD22に転送する処理であり、HDD→PC転送処理は、HDD22から転送されるオーディオファイルをPC52に転送する処理である。   In step S5, it is determined whether a PC → HDD transfer command has been received. If the determination result is YES, the process proceeds to step S7, and if the determination result is NO, the process proceeds to step S9. In step S7, a PC → HDD transfer process is executed. When this process is completed, the process returns to step S5. In step S9, it is determined whether an HDD → PC transfer command has been received. If the determination result is YES, the process proceeds to step S11, and if the determination result is NO, the process proceeds to step S13. In step S11, an HDD → PC transfer process is executed, and if this process is neglected, the process returns to step S5. In step S13, it is determined whether or not the memory card 18 is attached. If the determination result is YES, the process proceeds to step S15, and if the determination result is NO, the process returns to step S5. The PC → HDD transfer process is a process of transferring an audio file transferred from the PC 52 to the HDD 22, and the HDD → PC transfer process is a process of transferring an audio file transferred from the HDD 22 to the PC 52.

ステップS15では、PC→メモリカード転送命令を受けたか否か判断する。判断結果がYESであれば、ステップS17に進み、判断結果がNOであれば、ステップS19に進む。ステップS17で、PC→メモリカード転送処理を実行し、この処理が完了すると、ステップS5に戻る。ステップS19では、メモリカード→PC転送命令を受けたか否か判断する。判断結果がYESであれば、ステップS21に進み、判断結果がNOであれば、ステップS5に戻る。ステップS13で、メモリカード→PC転送処理を実行し、この処理が完了すると、ステップS5に戻る。   In step S15, it is determined whether or not a PC → memory card transfer command has been received. If the determination result is YES, the process proceeds to step S17, and if the determination result is NO, the process proceeds to step S19. In step S17, a PC → memory card transfer process is executed. When this process is completed, the process returns to step S5. In step S19, it is determined whether or not a memory card → PC transfer command has been received. If the determination result is YES, the process proceeds to step S21, and if the determination result is NO, the process returns to step S5. In step S13, a memory card → PC transfer process is executed. When this process is completed, the process returns to step S5.

ステップS17のPC→メモリカード転送処理に応答するMPU44の動作について図4を用いて説明する。ステップS31では、メモリカード18の容量を確認する。ステップS33では、HDD22にメモリカード18の容量に応じた仮想メモリカード領域を確保する。ステップS35では、USB接続されているか否か判断する。GPIO46によってUSB接続状態に遷移された旨の通知を受けると、ステップS37に進み、スイッチSWを端子T2に接続させる。この結果、PC52とHDD22とのデータ転送が確立される。これによって、PC52のデータが仮想メモリカード領域に転送される。   The operation of the MPU 44 in response to the PC → memory card transfer process in step S17 will be described with reference to FIG. In step S31, the capacity of the memory card 18 is confirmed. In step S33, a virtual memory card area corresponding to the capacity of the memory card 18 is secured in the HDD 22. In step S35, it is determined whether or not the USB connection is established. When the GPIO 46 receives notification that the state has been changed to the USB connection state, the process proceeds to step S37 to connect the switch SW to the terminal T2. As a result, data transfer between the PC 52 and the HDD 22 is established. As a result, the data of the PC 52 is transferred to the virtual memory card area.

転送が終了すると、ステップS39で、USB非接続状態になるまで待機する。GPIO46によってUSB非接続状態に遷移された旨の通知を受けると、ステップS41で、スイッチSWを端子T1に接続させる。ステップS43では、仮想メモリカード領域のオーディオファイルをメモリカード18に転送する。ステップS45では、仮想メモリカード領域のオーディオファイルを消去する命令をHDD22に発行する。HDD22は、MPU44の命令に従って仮想メモリカード領域のオーディオファイルを消去する。これによって、HDD22の使用領域の無駄を省き、空き領域の拡張を図ることができる。   When the transfer is completed, in step S39, the process waits until the USB is disconnected. When the GPIO 46 receives a notification that the state has been changed to the USB disconnected state, in step S41, the switch SW is connected to the terminal T1. In step S43, the audio file in the virtual memory card area is transferred to the memory card 18. In step S45, an instruction to delete the audio file in the virtual memory card area is issued to the HDD 22. The HDD 22 erases the audio file in the virtual memory card area in accordance with an instruction from the MPU 44. As a result, the use area of the HDD 22 can be saved and the free area can be expanded.

ステップS21のPC→メモリカード転送処理に応答するMPU44の動作について図5を用いて説明する。ステップS51では、メモリカード18の容量を確認する。ステップS53では、HDD22にメモリカード18の容量を確保する。ステップS55で、バックアップ処理命令をHDD22に発行する。HDD22は、メモリカード18にデータ転送を要求する。メモリカード18は、HDD22の要求に従ってメモリカード18に記憶されたデータを出力する。出力されたデータは、I/F20を介してHDD22に出力される。HDD22は、出力されたデータを仮想メモリカード領域に書き込む。これによって、メモリカード18のオーディオファイルをPC52に転送することができる。この結果、メモリカード18のバックアップ処理が実現される。   The operation of the MPU 44 responding to the PC → memory card transfer process in step S21 will be described with reference to FIG. In step S51, the capacity of the memory card 18 is confirmed. In step S53, the capacity of the memory card 18 is secured in the HDD 22. In step S55, a backup processing command is issued to the HDD 22. The HDD 22 requests the memory card 18 to transfer data. The memory card 18 outputs data stored in the memory card 18 in accordance with a request from the HDD 22. The output data is output to the HDD 22 via the I / F 20. The HDD 22 writes the output data in the virtual memory card area. Thereby, the audio file in the memory card 18 can be transferred to the PC 52. As a result, the backup process of the memory card 18 is realized.

ステップS57では、USB接続されているか否か判断する。GPIO46によってUSB接続状態に遷移された旨の通知を受けると、ステップS59に進み、スイッチSWを端子T2に接続させる。これによって、仮想メモリカード領域のオーディオファイルはPC52に転送される。   In step S57, it is determined whether the USB connection is established. When the GPIO 46 receives a notification that the state has been changed to the USB connection state, the process proceeds to step S59 to connect the switch SW to the terminal T2. As a result, the audio file in the virtual memory card area is transferred to the PC 52.

転送が終了すると、ステップS61で、USB非接続状態になるまで待機する。GPIO46によってUSB非接続状態に遷移された旨の通知を受けると、ステップS63で、スイッチSWを端子T1に接続させる。ステップS65では、HDD22に書き込まれた仮想メモリカード領域のオーディオファイルとメモリカード18のデータとを照合する。ステップS67では、照合結果に基づいて差異があるか否か判断する。判断結果がNOであれば、ステップS69に進み、判断結果がYESであれば、ステップS71に進み、仮想メモリカード領域のオーディオファイルをメモリカード18に複製すべくHDD22に複製命令を発行する。HDD22は、メモリカード18にデータ消去命令を発行し、メモリカード18は、HDD22の命令に従ってメモリカード18に記憶されたオーディオファイルを消去する。HDD22はまた、スイッチSWを通してメモリカード18に仮想メモリカード領域のオーディオファイルを転送する。転送されたオーディオファイルは、I/F20を介してメモリカード18に書き込まれる。これによって、PC52に転送されたオーディオファイルとメモリカード18に転送されたオーディオファイルとの整合性を保つことができる。この結果、メモリカード18の整合処理が実現される。   When the transfer is completed, in step S61, the process waits until the USB is disconnected. When the GPIO 46 receives notification that the state has been changed to the USB disconnected state, in step S63, the switch SW is connected to the terminal T1. In step S65, the audio file in the virtual memory card area written in the HDD 22 and the data in the memory card 18 are collated. In step S67, it is determined whether there is a difference based on the collation result. If the determination result is NO, the process proceeds to step S69. If the determination result is YES, the process proceeds to step S71, and a copy command is issued to the HDD 22 to copy the audio file in the virtual memory card area to the memory card 18. The HDD 22 issues a data erasure command to the memory card 18, and the memory card 18 erases the audio file stored in the memory card 18 according to the command of the HDD 22. The HDD 22 also transfers the audio file in the virtual memory card area to the memory card 18 through the switch SW. The transferred audio file is written to the memory card 18 via the I / F 20. Thereby, the consistency between the audio file transferred to the PC 52 and the audio file transferred to the memory card 18 can be maintained. As a result, the matching process of the memory card 18 is realized.

ステップS71では、仮想メモリカード領域のオーディオファイルを消去する命令をHDD22に発行する。HDD22は、MPU44の命令に従って仮想メモリカード領域のデータを消去する。   In step S71, a command to delete the audio file in the virtual memory card area is issued to the HDD 22. The HDD 22 erases the data in the virtual memory card area in accordance with an instruction from the MPU 44.

以上の説明から分かるように、PC→メモリカード転送操作が行われると、MPU44は、メモリカード18の容量を確認し、かかる容量をHDD22に通知する。HDD22は、MPU44の通知に従って仮想メモリカードの領域を割り当てる。MPU44は、USB接続を確認すると、スイッチSWを端子T2に接続させる。PC52のオーディオファイルは、HDD22によって仮想メモリカード領域に記憶される。GPIO46がUSB非接続状態に遷移されたことを通知すると、スイッチSWは、MPU44によって端子T1に接続される。HDD22は、仮想メモリカード領域のデータをスイッチSWを通してメモリカード18に転送し、仮想メモリカード領域のデータを消去する。   As can be understood from the above description, when the PC → memory card transfer operation is performed, the MPU 44 confirms the capacity of the memory card 18 and notifies the HDD 22 of the capacity. The HDD 22 allocates a virtual memory card area in accordance with the notification from the MPU 44. Upon confirming the USB connection, the MPU 44 connects the switch SW to the terminal T2. The audio file of the PC 52 is stored in the virtual memory card area by the HDD 22. When notifying that the GPIO 46 has transitioned to the USB disconnected state, the switch SW is connected to the terminal T1 by the MPU 44. The HDD 22 transfers the data in the virtual memory card area to the memory card 18 through the switch SW, and erases the data in the virtual memory card area.

また、メモリカード→PC転送操作が行われると、MPU44は、メモリカード18の容量を確認し、かかる容量をHDD22に通知する。HDD22は、MPU44の通知に従って仮想メモリカードの領域を割り当てる。HDD22は、メモリカード18のオーディオファイルを読み出し、読み出されたファイルは、割り当てられた仮想メモリカード領域に記憶される。MPU44は、USB接続を確認すると、スイッチSWを端子T2に接続させる。仮想メモリカード領域のオーディオファイルは、スイッチSWを介してPC52に転送される。GPIO46がUSB非接続状態に遷移されたことを通知すると、スイッチSWは、MPU44によって端子T1に接続される。MPU44は、仮想メモリカード領域のオーディオファイルとメモリカード18のオーディオファイルとを照合する。各々のデータに差異があれば、HDD22は仮想メモリカード領域のオーディオファイルをメモリカード18に転送し、メモリカード18はかかるオーディオファイルを記憶する。転送が終了すると、HDD22は、仮想メモリカード領域のオーディオファイルを消去する。   When a memory card → PC transfer operation is performed, the MPU 44 confirms the capacity of the memory card 18 and notifies the HDD 22 of the capacity. The HDD 22 allocates a virtual memory card area in accordance with the notification from the MPU 44. The HDD 22 reads the audio file of the memory card 18 and the read file is stored in the allocated virtual memory card area. Upon confirming the USB connection, the MPU 44 connects the switch SW to the terminal T2. The audio file in the virtual memory card area is transferred to the PC 52 via the switch SW. When notifying that the GPIO 46 has transitioned to the USB disconnected state, the switch SW is connected to the terminal T1 by the MPU 44. The MPU 44 collates the audio file in the virtual memory card area with the audio file in the memory card 18. If there is a difference between the data, the HDD 22 transfers the audio file in the virtual memory card area to the memory card 18, and the memory card 18 stores the audio file. When the transfer is completed, the HDD 22 deletes the audio file in the virtual memory card area.

メモリカード→PC転送処理では、PC52との転送速度が速いHDD22に仮想メモリカード領域が割り当てられる。PC52との接続が解除されると、仮想メモリカード領域のオーディオファイルは速やかにメモリカード18に転送される。これによって、データ転送のためのPC52との接続時間を短縮することができる。一方、PC→メモリカード転送処理では、PC52と接続される前に、メモリカード18のオーディオファイルがHDD22の仮想メモリカード領域に一旦記憶されることによって、PC52へのデータ転送が速やかに実行できる。   In the memory card → PC transfer process, a virtual memory card area is allocated to the HDD 22 having a high transfer speed with the PC 52. When the connection with the PC 52 is released, the audio file in the virtual memory card area is immediately transferred to the memory card 18. Thereby, the connection time with the PC 52 for data transfer can be shortened. On the other hand, in the PC → memory card transfer process, the audio file of the memory card 18 is temporarily stored in the virtual memory card area of the HDD 22 before being connected to the PC 52, so that the data transfer to the PC 52 can be executed quickly.

なお、この実施例では、オーディオファイルを用いて説明しているが、例えば、テキストデータや画像データなどのデータでもデータ転送することは可能である。   In this embodiment, an audio file is used for explanation. However, for example, data such as text data and image data can be transferred.

また、この実施例では、USB接続において説明しているが、この発明は、無線通信によって外部装置からHDDにオーディオデータを記憶することも可能である。   In this embodiment, the USB connection is described. However, the present invention can also store audio data from an external device to the HDD by wireless communication.

さらに、この実施例では、メモリカードからHDDにオーディオファイルを転送する場合、メモリカードの全てのオーディオファイルを転送することを前提としているが、これに限らず、メモリカードに記憶されたオーディオファイルの一部を選択し、選択されたオーディオファイルをHDDの仮想メモリカード領域に転送してもよい。これによって、バックアップ処理の時間が短縮することができる。また、メモリカードには必要なデータを残すことができる。   Furthermore, in this embodiment, when audio files are transferred from the memory card to the HDD, it is assumed that all the audio files on the memory card are transferred. However, the present invention is not limited to this, and the audio files stored in the memory card are not limited. A part may be selected, and the selected audio file may be transferred to the virtual memory card area of the HDD. As a result, the backup processing time can be shortened. In addition, necessary data can be left in the memory card.

この発明の一実施例の構成を示すブロック図である。It is a block diagram which shows the structure of one Example of this invention. HDD22の構成の一例を示す図解図である。3 is an illustrative view showing one example of a configuration of an HDD 22. FIG. 図1実施例に適用されるMPU44の動作の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of MPU44 applied to the FIG. 1 Example. 図1実施例に適用されるMPU44の動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of MPU44 applied to the FIG. 1 Example. 図1実施例に適用されるMPU44の動作のその他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of MPU44 applied to the FIG. 1 Example.

符号の説明Explanation of symbols

10 … ボイスレコーダ
12 … キー入力装置
14 … LCD
18 … メモリカード
22 … HDD
24 … バス
40 … DSP
42 … メモリ
44 … MPU
46 … GPIO
48 … USBコントローラ
50 … USB端子
52 … PC
10 ... Voice recorder 12 ... Key input device 14 ... LCD
18 ... Memory card 22 ... HDD
24 ... bus 40 ... DSP
42 ... Memory 44 ... MPU
46… GPIO
48 ... USB controller 50 ... USB terminal 52 ... PC

Claims (7)

外部装置から第1記録媒体へのデータ転送を指示する第1転送指示を前記外部装置との接続が確立される前に受け付ける第1受付手段、
前記第1受付手段の受付に応答して少なくとも前記第1記録媒体の空き容量に相当する容量を有する空き容量を第2記録媒体に確保する第1確保手段、
前記外部装置との接続が確立された後に前記外部装置から入力されたデータを前記第1確保手段によって確保された空き領域に書き込む書き込み手段、および
前記書き込み手段によって書き込まれたデータを前記外部装置との接続が遮断された後に前記第2記録媒体から前記第1記録媒体に転送する第1転送手段を備える、データ処理装置。
First receiving means for receiving a first transfer instruction for instructing data transfer from the external device to the first recording medium before connection with the external device is established;
First securing means for securing in the second recording medium at least a free space having a capacity corresponding to the free capacity of the first recording medium in response to acceptance by the first receiving means;
Writing means for writing data input from the external device after the connection with the external device is established into a free area secured by the first securing device, and data written by the writing device with the external device A data processing apparatus comprising first transfer means for transferring data from the second recording medium to the first recording medium after the connection is cut off.
前記書き込み手段の書き込み速度は前記第1転送手段の転送速度よりも高速である、請求項1記載のデータ処理装置。   The data processing apparatus according to claim 1, wherein a writing speed of the writing unit is higher than a transfer speed of the first transfer unit. 前記第1確保手段によって確保される空き領域の容量は前記第1記録媒体の容量に等しい、請求項1または2記載のデータ処理装置。   The data processing apparatus according to claim 1 or 2, wherein a capacity of an empty area secured by the first securing means is equal to a capacity of the first recording medium. 前記第1記録媒体は、着脱自在であり、前記第2記録媒体は内蔵型である、請求項1ないし3のいずれかに記載のデータ処理装置。   4. The data processing apparatus according to claim 1, wherein the first recording medium is detachable and the second recording medium is a built-in type. 5. 前記第1記録媒体から前記外部装置へのデータ転送を指示する第2転送指示を前記外部装置との接続が確立される前に受け付ける第2受付手段、
前記第1記録媒体に記録されたデータを前記第2受付手段の受付に応答して前記第2記録媒体に転送する第2転送手段、および
前記第2転送手段によって転送されたデータを前記外部装置との接続が確立された後に前記外部装置に出力する出力手段をさらに備える、請求項1ないし4のいずれかに記載のデータ処理装置。
Second accepting means for accepting a second transfer instruction for instructing data transfer from the first recording medium to the external device before connection with the external device is established;
Second transfer means for transferring data recorded on the first recording medium to the second recording medium in response to acceptance by the second acceptance means; and data transferred by the second transfer means for the external device 5. The data processing apparatus according to claim 1, further comprising an output unit configured to output to the external apparatus after a connection with is established.
前記第2転送手段の転送動作に先立って前記第1記録媒体の容量に相当する容量を有する空き領域を確保する第2確保手段をさらに備え、
前記第2転送手段は前記第2確保手段によって確保された空き領域に前記データを転送する、請求項5記載のデータ処理装置。
Prior to the transfer operation of the second transfer means, further comprising second securing means for securing a free area having a capacity corresponding to the capacity of the first recording medium,
6. The data processing apparatus according to claim 5, wherein the second transfer means transfers the data to an empty area secured by the second securing means.
前記第2確保手段によって確保された空き領域のデータが前記第1記録媒体のデータと一致するか否かを前記出力手段の出力動作が完了した後に判別する判別手段、および
前記判別手段の判別結果が否定的であるとき前記第2確保手段によって確保された空き領域のデータを前記第1記録媒体に転送する第3転送手段をさらに備える、請求項6記載のデータ処理装置。
A discriminating unit for discriminating whether or not the data of the free area secured by the second securing unit coincides with the data of the first recording medium after the output operation of the output unit is completed, and a discrimination result of the discriminating unit The data processing apparatus according to claim 6, further comprising third transfer means for transferring free area data secured by the second securing means to the first recording medium when NO is negative.
JP2005113542A 2005-04-11 2005-04-11 Data processing device Expired - Fee Related JP4845413B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005113542A JP4845413B2 (en) 2005-04-11 2005-04-11 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005113542A JP4845413B2 (en) 2005-04-11 2005-04-11 Data processing device

Publications (2)

Publication Number Publication Date
JP2006293688A JP2006293688A (en) 2006-10-26
JP4845413B2 true JP4845413B2 (en) 2011-12-28

Family

ID=37414202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005113542A Expired - Fee Related JP4845413B2 (en) 2005-04-11 2005-04-11 Data processing device

Country Status (1)

Country Link
JP (1) JP4845413B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04336357A (en) * 1991-05-14 1992-11-24 Fujitsu Ltd Allocation system for buffer for asynchronous transfer
JPH0895839A (en) * 1994-09-27 1996-04-12 Hitachi Software Eng Co Ltd Data backup method
JPH0965428A (en) * 1995-08-22 1997-03-07 Sony Corp Communication terminal equipment
JP4320817B2 (en) * 1998-02-09 2009-08-26 ソニー株式会社 Recording / reproducing apparatus, recording / reproducing system, recording / reproducing method, and program
JP2003114867A (en) * 2001-10-05 2003-04-18 Ricoh Co Ltd Image forming device

Also Published As

Publication number Publication date
JP2006293688A (en) 2006-10-26

Similar Documents

Publication Publication Date Title
JP4543535B2 (en) Wireless communication unit and camera system
JP2004362530A (en) Storage device with best compression management mechanism
JP3239854B2 (en) Recording and playback device
EP0957489A1 (en) Portable device and method to record, edit and playback digital audio
JP3758572B2 (en) Data reproduction system, conversion unit, and data reproduction method
JP2005050192A (en) Information recording system
JP4845413B2 (en) Data processing device
JP4314461B2 (en) Information processing apparatus, imaging apparatus, and information processing method
US20030007783A1 (en) Recording/reproducingdisk control device and disc apparatus comprising the same
US7124086B2 (en) Data reproducing apparatus and data reproducing system for reproducing contents stored on a removable recording medium
JP4854601B2 (en) Recording device
KR20080076331A (en) Data storage device and method of operating the same
JP2005539306A (en) Direct connection between data storage and consumer electronics
JP3100146U (en) Storage device with compression management mechanism
JP2006195632A (en) Record reproduction device, management information control method thereof, and program
JP2006190185A (en) Information recording device
US20040264928A1 (en) Recording/reproduction apparatus and recording device
KR101164248B1 (en) Universal serial bus interlock car audio system and control method thereof
JP4391329B2 (en) Recording control apparatus, recording control method, recording / reproducing apparatus, recording control program, and recording medium recording the recording control program
CN100353365C (en) Image and sound information operating system
JP2005063047A (en) Method and device for rewriting fat file system
JP2006128822A (en) Information storage device
JP2007334620A (en) Memory card adapter
JP2006323626A (en) Data recording apparatus
JP3258276B2 (en) Information reproducing apparatus and information recording / reproducing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080411

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101214

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110210

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110913

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111011

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141021

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141021

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees