JP5359309B2 - Electronics - Google Patents

Electronics Download PDF

Info

Publication number
JP5359309B2
JP5359309B2 JP2009014002A JP2009014002A JP5359309B2 JP 5359309 B2 JP5359309 B2 JP 5359309B2 JP 2009014002 A JP2009014002 A JP 2009014002A JP 2009014002 A JP2009014002 A JP 2009014002A JP 5359309 B2 JP5359309 B2 JP 5359309B2
Authority
JP
Japan
Prior art keywords
management information
unit
data
information
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2009014002A
Other languages
Japanese (ja)
Other versions
JP2010171843A (en
JP2010171843A5 (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2009014002A priority Critical patent/JP5359309B2/en
Publication of JP2010171843A publication Critical patent/JP2010171843A/en
Publication of JP2010171843A5 publication Critical patent/JP2010171843A5/ja
Application granted granted Critical
Publication of JP5359309B2 publication Critical patent/JP5359309B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Description

本発明は、外部の記録装置にデータを書き込む電子機器に関し、特に、外部記録装置の電源の種類に応じて、データの書込みを制御する電子機器に関するものである。   The present invention relates to an electronic device that writes data to an external recording device, and more particularly, to an electronic device that controls data writing according to the type of power supply of the external recording device.

デジタルスチルカメラ、デジタルビデオカメラ等の記録装置は、バッテリ電源で駆動可能である。このような記録装置において、データ記録中に、バッテリ残量がなくなると、書込み中のデータが失われるのみならず、管理情報の破壊等により、以前に正常に書き込まれたデータの読込みが不可能になる場合がある。   Recording devices such as digital still cameras and digital video cameras can be driven by battery power. In such a recording device, when the battery runs out during data recording, not only the data being written is lost, but also the previously written data cannot be read due to destruction of management information, etc. It may become.

特許文献1は、録音動作中にもプログラムエリアへの記録を中断してTOCエリアの記録データを更新させるとともに、この更新中に入力される録音データをメモリーに記憶・蓄積させ、さらにそのメモリーに蓄積された録音データをTOCエリアのデータ更新後に上記プログラムエリアに記録させる技術が開示されている。これにより、電池切れ等によって録音動作が途中停止するようなことがあっても、それにより失われる録音データを最小限に止めることができる。
特開平9−198848号公報
In Patent Document 1, recording to the program area is interrupted during recording operation to update the recording data in the TOC area, and the recording data input during this updating is stored and accumulated in the memory. A technique is disclosed in which accumulated recording data is recorded in the program area after updating the data in the TOC area. As a result, even if the recording operation is stopped halfway due to battery exhaustion or the like, the recording data lost by the recording operation can be minimized.
JP-A-9-198848

しかしながら、上記従来の技術は、入力されたデータを記録する際に、記録装置内部でデータを管理するための管理情報を生成する。外部の電子機器からデータ及びそのデータの管理情報が送信され、そのデータ及び管理情報を記録する場合については、考慮されていない。   However, the conventional technique generates management information for managing data inside the recording apparatus when recording the input data. The case where data and management information of the data are transmitted from an external electronic device and the data and management information are recorded is not considered.

本発明は、バッテリで駆動する記録装置に対して、データ及びデータの管理情報を書き込む電子機器であって、記録装置の駆動状態に応じたデータの書込み制御を行うことにより、記録装置上でデータの不整合が生じるのを回避する電子機器を提供することを目的とする。   The present invention relates to an electronic device that writes data and data management information to a battery-driven recording device, and performs data writing control according to the driving state of the recording device, whereby data is recorded on the recording device. It is an object of the present invention to provide an electronic device that avoids the occurrence of inconsistencies.

上記課題を解決するために、本発明の電子機器は、任意の単位で送信される記録用データ及び記録用データを管理するための情報であって任意の単位で送信される管理情報を、外部記録装置に対して送信可能な通信部と、前記外部記録装置に対する記録用データ及び管理情報の送信動作を中止する旨の指示を受け付ける中止指示受付部と、前記外部記録装置に対して送信しようとする情報が記録用データであるか管理情報であるかを検出する送信情報検出部と、前記中止指示受付部が中止指示を受け付けたとき、前記通信部が記録用データを送信している場合は、記録用データの単位の送信が完了するのを待つことなく、前記外部記録装置への送信動作を中止する一方、前記通信部が管理情報を送信している場合は、管理情報の単位の送信が完了するのを待って、前記外部記録装置への送信動作を中止する。 In order to solve the above problems, an electronic apparatus of the present invention, the management information transmitted in arbitrary units is information for managing the recording data and the recording data is transmitted in arbitrary units, the outer a transmission available-communication unit with respect to part recording apparatus, and the cancel instruction accepting section for accepting an instruction to stop the transmission operation of the recording data and management information for the external recording device, transmitted to said external recording unit and transmitting information detection unit information to be to detect whether the management information is recorded data, when the front Symbol cancel instruction accepting section accepts the stop instruction, the communication unit transmits the recorded data when on, without waiting for the transmission of a unit of the recording data is completed, whereas to stop the transmission operation to the external recording device, when the communication unit is sending management information, said management Sending units of information There waiting to complete, it stops the transmission operation to the external recording device.

本発明の電子機器は、上記の構成によって、外部記録装置へのデータの書込み時に、外部記録装置上のデータで不整合が生じるのを回避することができる。   With the above-described configuration, the electronic device of the present invention can avoid inconsistencies in the data on the external recording device when data is written to the external recording device.

(実施の形態1)
以下、本発明の実施の形態1について、図面を参照して説明する。
(1−1.構成)
図1は本発明の全体構成図である。電子機器100は、通信を行うための接続ケーブル101を用いて記録装置であるビデオカメラ200と接続される。このような構成により電子機器100とビデオカメラ200の間のデータ転送を実現する。ここで、電子機器100が接続される記録装置は、ビデオカメラ以外(例えば、DVDバーナー、外付けのHDD)でもよい。
図2は電子機器100とビデオカメラ200との内部構成を表すブロック図である。電子機器100は、システム制御部110と通信制御部120と電源状態検出部130と管理情報検出部140と記録媒体制御部150と記録媒体160とからなる。電子機器100は、本実施の形態1では、パソコンを用いて実現しているが、図2に示す電子機器100の構成を持つ電子機器であれば、どのような電子機器であっても実現可能である。
(Embodiment 1)
Embodiment 1 of the present invention will be described below with reference to the drawings.
(1-1. Configuration)
FIG. 1 is an overall configuration diagram of the present invention. The electronic device 100 is connected to a video camera 200 that is a recording device using a connection cable 101 for communication. With such a configuration, data transfer between the electronic device 100 and the video camera 200 is realized. Here, the recording apparatus to which the electronic device 100 is connected may be other than a video camera (for example, a DVD burner or an external HDD).
FIG. 2 is a block diagram illustrating an internal configuration of the electronic device 100 and the video camera 200. The electronic device 100 includes a system control unit 110, a communication control unit 120, a power supply state detection unit 130, a management information detection unit 140, a recording medium control unit 150, and a recording medium 160. In the first embodiment, the electronic device 100 is realized using a personal computer. However, any electronic device having the configuration of the electronic device 100 shown in FIG. 2 can be realized. It is.

システム制御部110は、電子機器100全体の制御を行う。システム制御部110は、電源状態検出部130と管理情報検出部140の状態を取り込み、その条件によって、通信制御部120の動作を制御する。システム制御部110は、パソコンのOS(オペレーションシステム)およびアプリケーションソフトにより実現可能であり、また、CPUとメモリを用いた構成やハードウエアのみの構成でも実現可能である。   The system control unit 110 controls the entire electronic device 100. The system control unit 110 takes in the states of the power supply state detection unit 130 and the management information detection unit 140, and controls the operation of the communication control unit 120 according to the conditions. The system control unit 110 can be realized by an OS (operation system) and application software of a personal computer, and can also be realized by a configuration using a CPU and a memory or a configuration only of hardware.

通信制御部120は、本実施の形態1では、USBのホスト機能を持つハードウエア、ドライバソフト及び制御ソフトから成り、記録媒体160から記録媒体制御部150を通して取得したデータを、ビデオカメラ200に通信する機能を持つ。通信制御部120は、本実施の形態1ではUSBを用いるとしたが、本発明はこれに限られず、有線通信、無線通信を問わず、どのような通信であってもよい。   In the first embodiment, the communication control unit 120 includes hardware having USB host function, driver software, and control software, and communicates data acquired from the recording medium 160 through the recording medium control unit 150 to the video camera 200. It has a function to do. The communication control unit 120 uses USB in the first embodiment, but the present invention is not limited to this, and any communication may be used regardless of wired communication or wireless communication.

管理情報検出部140は、データ通信の際に、通信内容が管理情報であるか否かを判断する。管理情報検出部140は、判断結果をシステム制御部110に伝える。電源状態検出部130は、通信によりビデオカメラ200の電源検出部220から得られたビデオカメラ200の電源状態をシステム制御部110に伝える。   The management information detection unit 140 determines whether the communication content is management information during data communication. The management information detection unit 140 transmits the determination result to the system control unit 110. The power supply state detection unit 130 notifies the system control unit 110 of the power supply state of the video camera 200 obtained from the power supply detection unit 220 of the video camera 200 by communication.

記録媒体160は、半導体メモリ、ハードディスク、DVD(Digital Versatile Disc)またはBD(Blu−ray Disc)等である。記録媒体160は、電子機器100に着脱可能であってもよいし、電子機器100に内蔵されていてもよい。記録媒体制御部150は、記録媒体150への情報の書込みや、記録媒体150からの情報の読出しを制御する。   The recording medium 160 is a semiconductor memory, a hard disk, a DVD (Digital Versatile Disc), a BD (Blu-ray Disc), or the like. The recording medium 160 may be detachable from the electronic device 100 or may be built in the electronic device 100. The recording medium control unit 150 controls writing of information to the recording medium 150 and reading of information from the recording medium 150.

図3は、電子機器100の記録媒体160上のデータ構造を示す。記録媒体のデータ構成300は、FAT領域310とデータ領域320とからなる。ここで、FATとは、File Allocation Tablesのことである。FAT領域310は、データ領域にある各ファイルの管理情報である。データ領域内のディレクトリとファイル構成は、ナビ情報ディレクトリ321の中にナビ情報ファイル1とナビ情報ファイル2が存在し、ストリームディレクトリ322の中にストリームファイル1、ストリームファイル2およびストリームファイル3が存在する。ナビ情報とは、ナビゲーション情報のことであり、各ストリームファイルの関連付けやファイル容量その他の管理情報が入っている。図3は、ナビ情報ファイル1がストリームファイル1とストリームファイル2の管理情報であり、ナビ情報ファイル2がストリームファイル3の管理情報の場合の例を示す。   FIG. 3 shows a data structure on the recording medium 160 of the electronic device 100. The data structure 300 of the recording medium includes a FAT area 310 and a data area 320. Here, FAT means File Allocation Tables. The FAT area 310 is management information of each file in the data area. As for the directory and file structure in the data area, the navigation information file 1 and the navigation information file 2 exist in the navigation information directory 321, and the stream file 1, the stream file 2, and the stream file 3 exist in the stream directory 322. . The navigation information is navigation information and includes association information of each stream file, file capacity, and other management information. FIG. 3 shows an example in which the navigation information file 1 is management information of the stream file 1 and the stream file 2 and the navigation information file 2 is management information of the stream file 3.

ビデオカメラ200は、デバイス通信制御部210と電源検出部220とACアダプタ230とバッテリ240とメディア250とからなる。   The video camera 200 includes a device communication control unit 210, a power supply detection unit 220, an AC adapter 230, a battery 240, and a medium 250.

デバイス通信制御部210は、電子機器100の通信制御部120から送られてくる通信の内容に応じて、電源検出部220の状態を送信し、また、メディア250にデータを書き込む。電源検出部220は、ビデオカメラ200がACアダプタ230からの電源、又はバッテリ240からの電源の何れで駆動しているかを検出する。また、電源検出部220は、バッテリ240の残量を検出することができるものである。メディア250は、デバイス通信制御部から送られてきたデータを記録する媒体であり、ビデオカメラ200に内蔵している場合と取り外しが可能な場合がある。
(1−2.本発明の構成との対応関係)
通信制御部120は、本発明の通信部の一例である。システム制御部110は、本発明の中止指示受付部の一例であり、中止指示発生部の一例である。管理情報検出部140は、本発明の送信情報検出部の一例である。電源状態検出部130は、本発明の電源検出部の一例であり、バッテリ残量検出部の一例である。
(2.電子機器からビデオカメラへのデータ書込み時の動作)
図4は、電子機器100からビデオカメラ200にデータの書き込みを行っている際の電子機器100のシステム制御部110の動作を示すフローチャートである。
The device communication control unit 210 transmits the status of the power supply detection unit 220 according to the content of communication sent from the communication control unit 120 of the electronic device 100 and writes data in the medium 250. The power detection unit 220 detects whether the video camera 200 is driven by the power from the AC adapter 230 or the power from the battery 240. The power source detection unit 220 can detect the remaining amount of the battery 240. The medium 250 is a medium for recording data sent from the device communication control unit, and may be built in the video camera 200 or removable.
(1-2. Correspondence with Configuration of the Present Invention)
The communication control unit 120 is an example of a communication unit of the present invention. The system control unit 110 is an example of a cancellation instruction receiving unit of the present invention, and is an example of a cancellation instruction generation unit. The management information detection unit 140 is an example of a transmission information detection unit of the present invention. The power supply state detection unit 130 is an example of the power supply detection unit of the present invention, and is an example of a battery remaining amount detection unit.
(2. Operation when writing data from electronic device to video camera)
FIG. 4 is a flowchart illustrating the operation of the system control unit 110 of the electronic device 100 when data is being written from the electronic device 100 to the video camera 200.

システム制御部110は、電源状態検出部130より、ビデオカメラ200がバッテリ240で駆動しているか、ACアダプタ230で駆動しているかの通知を受け、バッテリ240で駆動している場合(S410でYes)には、通信制御部120を用いてビデオカメラ200への書込みを行っているデータが、管理情報であるか否かを管理情報検出部140を用いて判断する(S420)。   The system control unit 110 receives a notification from the power supply state detection unit 130 whether the video camera 200 is driven by the battery 240 or the AC adapter 230, and if it is driven by the battery 240 (Yes in S410). In step S420, the management information detection unit 140 determines whether the data written to the video camera 200 using the communication control unit 120 is management information.

システム制御部110は、書込みを行っているデータが管理情報でなくストリームの場合(S420でNo)には、通信制御部120を用いてビデオカメラ200への書込みデータの送信を中断する(S430)。システム制御部110は、データの送信を中断後、処理を終了する(S440でNo)。   If the data being written is not management information but a stream (No in S420), the system control unit 110 interrupts transmission of the write data to the video camera 200 using the communication control unit 120 (S430). . The system control unit 110 ends the process after interrupting the data transmission (No in S440).

システム制御部110は、書込みを行っているデータが管理情報の場合(S420でYes)には、通信制御部120を用いてビデオカメラ200への書込みデータの送信を継続し(S440でYes)、管理情報の送信が終了するまで、データの送信を継続する。その後、システム制御部110は、管理情報の送信が終了し、次のストリームを送信する際(S420でNo)にデータの送信を中断し(S430)、処理を終了する(S440でYes)。   If the data being written is management information (Yes in S420), the system control unit 110 continues to transmit the write data to the video camera 200 using the communication control unit 120 (Yes in S440). Data transmission is continued until transmission of management information is completed. Thereafter, when the transmission of the management information is completed and the next stream is transmitted (No in S420), the system control unit 110 interrupts the data transmission (S430) and ends the process (Yes in S440).

電子機器100が、記録媒体160上に保持する図3に示すデータ構造のデータを、ビデオカメラ200に転送している際に、ビデオカメラ200の駆動電源がACアダプタ230からバッテリ240に変更された際の動作について、図5および図6を用いて詳細に説明する。   When the electronic device 100 transfers data having the data structure shown in FIG. 3 held on the recording medium 160 to the video camera 200, the driving power of the video camera 200 is changed from the AC adapter 230 to the battery 240. The operation at that time will be described in detail with reference to FIGS.

図5は、ストリーム1、FAT1、ストリーム2、FAT2、ナビ情報1、FATN1、ストリーム3、FAT3の順序で転送を行う時に、FAT2転送のタイミングで、バッテリ検出520が発生した場合を示す。ここで、FAT1、FAT2は、それぞれストリーム1、ストリーム2のファイル管理情報であり、FATN1は、ナビ情報1のファイル管理情報である。また、ナビ情報1は、ストリーム1およびストリーム2の管理情報である。   FIG. 5 shows a case where battery detection 520 occurs at the timing of FAT2 transfer when transfer is performed in the order of stream 1, FAT1, stream 2, FAT2, navigation information 1, FATN1, stream 3, and FAT3. Here, FAT1 and FAT2 are file management information of stream 1 and stream 2, respectively, and FATN1 is file management information of navigation information 1. The navigation information 1 is management information for the stream 1 and the stream 2.

データを送信するにあたって、電子機器100は、ストリームファイル、及びそのストリームファイルのファイル管理情報の送信を繰り返し、その後に、それらストリームファイルに対応するナビ情報ファイル、及びそのナビ情報ファイルのファイル管理情報を送信する。   In transmitting the data, the electronic device 100 repeatedly transmits the stream file and the file management information of the stream file, and then receives the navigation information file corresponding to the stream file and the file management information of the navigation information file. Send.

このように、電子機器100は、ストリームファイルを先に転送し、その後に、そのストリームファイルのファイル管理情報を転送するために、ビデオカメラ200のメディア250上には、ファイル管理情報のみが存在し、そのファイル管理情報に対応するストリームファイルが存在しない状況は発生しないため、ファイル間の整合性を保つことができる。さらに、電子機器100は、ストリームファイルの転送を先に行い、関連するナビ情報の転送を後にすることにより、転送を終了したときに、転送済みのナビ情報に関連するストリームファイルは全て転送が完了しているために、ファイルに関して不整合が起こらない。FAT3転送の後には、ナビ情報2とFATN2を転送する。   As described above, the electronic device 100 transfers the stream file first, and then transfers only the file management information of the stream file, so that only the file management information exists on the medium 250 of the video camera 200. Since a situation in which there is no stream file corresponding to the file management information does not occur, consistency between files can be maintained. Furthermore, the electronic device 100 performs the transfer of the stream file first, and later transfers the related navigation information, so that when the transfer is finished, the transfer of all the stream files related to the transferred navigation information is completed. Therefore, inconsistency does not occur regarding the file. After the FAT3 transfer, the navigation information 2 and FATN2 are transferred.

ここで、FAT1、FAT2、ナビ情報1、FATN1、FAT3は、管理情報であるので、これら管理情報を転送している時は転送終了禁止区間に相当し、ストリーム1、ストリーム2、ストリーム3は管理情報でないので、これらデータを転送している時は転送終了許可区間である。システム制御部110は、管理情報であるFAT2の転送中にバッテリ検出520の通知を受け、その後FAT2、ナビ情報1及びFATN1を転送中は転送終了禁止区間に該当するために、転送を中止せずに継続し、FATN1の転送終了後、ストリーム3の転送に際して、転送を終了する(530)。   Here, since FAT1, FAT2, navigation information 1, FATN1, and FAT3 are management information, when these management information is transferred, it corresponds to a transfer end prohibition section, and stream 1, stream 2, and stream 3 are managed. Since it is not information, when transferring these data, it is a transfer end permission section. The system control unit 110 receives the notification of the battery detection 520 during the transfer of the FAT2, which is management information, and does not stop the transfer because it corresponds to the transfer end prohibition section during the transfer of the FAT2, the navigation information 1, and the FATN1 thereafter. Then, after the transfer of FATN1 is completed, the transfer is terminated when the stream 3 is transferred (530).

このように、電子機器100は、管理情報の転送中にバッテリ240での動作を検出すると、管理情報を最後まで転送した後に転送を中止するために、ビデオカメラ200のメディア250上には、データとそれに対応する管理情報が常に存在し、ファイル間の整合性を確保することができる。   As described above, when the electronic device 100 detects the operation of the battery 240 during the transfer of the management information, the electronic device 100 stores data on the medium 250 of the video camera 200 in order to stop the transfer after transferring the management information to the end. And corresponding management information always exist, and consistency between files can be ensured.

図6は、ストリーム1、FAT1、ストリーム2、FAT2、ナビ情報1、FATN1、ストリーム3、FAT3の順序で転送を行う時に、ストリーム3転送のタイミングで、バッテリ検出620が発生した場合を示す。転送終了禁止区間と転送終了許可区間は、図5と同じである。   FIG. 6 shows a case where battery detection 620 occurs at the timing of stream 3 transfer when transfer is performed in the order of stream 1, FAT1, stream 2, FAT2, navigation information 1, FATN1, stream 3, and FAT3. The transfer end prohibition section and the transfer end permission section are the same as those in FIG.

システム制御部110は、ストリーム3の転送中にバッテリ検出620の通知を受け、ストリーム3を転送中は転送終了許可区間に該当するために、直ちに転送を終了する(630)。   The system control unit 110 receives the notification of the battery detection 620 during the transfer of the stream 3, and immediately ends the transfer because it corresponds to the transfer end permission section during the transfer of the stream 3 (630).

このように、電子機器100は、データの転送中にバッテリ240での動作を検出すると、直ちに転送を中止するために、ビデオカメラ200のメディア250上には、データのみが存在するが、そのデータは無視することにより、ファイル間の整合性は保たれるとともに、サイズの大きなデータの転送を継続し、転送途中でバッテリ240が無くなって、ビデオカメラ200のメディア250上のデータの不整合が生じる事態を回避することができる。   As described above, when the electronic device 100 detects the operation of the battery 240 during the data transfer, in order to stop the transfer immediately, only the data exists on the medium 250 of the video camera 200. Is ignored, the consistency between files is maintained and the transfer of large data is continued, and the battery 240 is lost during the transfer, resulting in inconsistency of data on the media 250 of the video camera 200. The situation can be avoided.

以上のように、たとえば図5で、ストリーム1、FAT1、ストリーム2、FAT2、ナビ情報1、FATN1、ストリーム3、FAT3の順序で転送を行い、管理情報転送中のFAT2の時刻でバッテリ検出520を行った時、電子機器100のシステム制御部110が図4のアルゴリズムの動作を行うことによって、FAT2、ナビ情報1、FATN1の転送中は管理情報転送すなわち転送終了禁止区間として認識され、管理情報転送がすべて完了される時刻すなわちFATN1転送終了530まで、ビデオカメラ200への転送を継続する。また、たとえば図6のように、管理情報転送中すなわち転送終了許可区間のストリーム3の転送中の時刻にバッテリー検出620が行われた場合、電子機器110のシステム制御部110はビデオカメラ200への転送終了630をすぐに行う。   As described above, for example, in FIG. 5, transfer is performed in the order of stream 1, FAT 1, stream 2, FAT 2, navigation information 1, FATN 1, stream 3, FAT 3, and battery detection 520 is detected at the time of FAT 2 during management information transfer. When this is done, the system controller 110 of the electronic device 100 performs the operation of the algorithm shown in FIG. 4 so that the transfer of FAT2, navigation information 1, and FATN1 is recognized as a management information transfer, that is, a transfer end prohibition section, and the management information transfer The transfer to the video camera 200 is continued until the time at which all are completed, that is, until the FATN1 transfer end 530. For example, as illustrated in FIG. 6, when the battery detection 620 is performed at the time when the management information is being transferred, that is, the transfer of the stream 3 in the transfer end permission section is performed, the system control unit 110 of the electronic device 110 transmits the video camera 200. Transfer end 630 is performed immediately.

以上の動作を行うことにより、管理情報が破壊されるのを防ぐことができ、ビデオカメラ200内のメディア250のデータで不整合が生じるのを回避することができるので、メディア250に記録されたデータファイルを他の機器またはビデオカメラ200自体で、動画再生や音声再生する場合、正常に再生できる。管理情報が正常に転送できなければ、メディア250内のファイルが認識できなくなったり、ストリームのナビ情報が壊れてしまうことがあり、正常にストリームの再生ができなくなることがある。本発明は、この管理情報の破壊を回避でき、通信中にACアダプターが抜けた場合でも、安全な状態で転送停止を行うことができる。
(実施の形態2)
本実施の形態2における電子機器100の構成は、実施の形態1と同一であり、説明を省略する。
By performing the above operations, it is possible to prevent management information from being destroyed and to avoid inconsistency in the data of the media 250 in the video camera 200. When the data file is played back by another device or by the video camera 200 itself, it can be played back normally. If the management information cannot be transferred normally, the file in the medium 250 may not be recognized, or the navigation information of the stream may be damaged, and the stream may not be played back normally. The present invention can avoid the destruction of the management information, and can stop the transfer in a safe state even when the AC adapter is disconnected during communication.
(Embodiment 2)
The configuration of electronic device 100 in the second embodiment is the same as that in the first embodiment, and a description thereof will be omitted.

実施の形態1では、電源状態検出部130は、ビデオカメラ200がバッテリ240で駆動しているか、ACアダプタ230で駆動しているかを、検出した。本実施の形態2では、電源状態検出部130は、ビデオカメラ200がバッテリ240で駆動しているか、ACアダプタ230で駆動しているかに加えて、ビデオカメラ200がバッテリ240で駆動している場合に、バッテリ240の残量を、電源検出部220を介して、検出する。   In the first embodiment, the power supply state detection unit 130 detects whether the video camera 200 is driven by the battery 240 or the AC adapter 230. In the second embodiment, the power supply state detection unit 130 determines whether the video camera 200 is driven by the battery 240 in addition to whether the video camera 200 is driven by the battery 240 or the AC adapter 230. In addition, the remaining amount of the battery 240 is detected via the power supply detection unit 220.

図7は、本実施の形態2におけるシステム制御部110の動作を示すフローチャートである。   FIG. 7 is a flowchart showing the operation of the system control unit 110 in the second embodiment.

システム制御部110は、電源状態検出部130より、ビデオカメラ200がバッテリ240で駆動しており、さらにバッテリ240の残量が所定の値以下の場合(S710でYes)に、管理情報検出部140より、通信制御部120を用いてビデオカメラ200への書込みを行っているデータが、管理情報であるか否かを判断する(S720)。   When the video camera 200 is driven by the battery 240 from the power supply state detection unit 130 and the remaining amount of the battery 240 is equal to or less than a predetermined value (Yes in S710), the system control unit 110 detects the management information detection unit 140. Thus, it is determined whether the data that is written to the video camera 200 using the communication control unit 120 is management information (S720).

システム制御部110は、書込みを行っているデータが管理情報でなくストリームの場合(S720でNo)には、通信制御部120を用いてビデオカメラ200への書込みデータの送信を中断する(S730)。一方、システム制御部110は、書込みを行っているデータが管理情報の場合(S720でYes)には、通信制御部120を用いてビデオカメラ200への書込みデータの送信を継続し(S740でYes)、管理情報の送信が終了するまで、データの送信を継続する。その後、システム制御部110は、管理情報の送信が終了し、次のストリームを送信する際にデータの送信を中断し(S730)、処理を終了する(S740でYes)。   If the data being written is not management information but a stream (No in S720), the system control unit 110 interrupts transmission of the write data to the video camera 200 using the communication control unit 120 (S730). . On the other hand, when the data being written is management information (Yes in S720), the system control unit 110 continues to transmit the write data to the video camera 200 using the communication control unit 120 (Yes in S740). ), The data transmission is continued until the management information transmission is completed. After that, the system control unit 110 ends transmission of management information, interrupts data transmission when transmitting the next stream (S730), and ends the process (Yes in S740).

以上のように、電子機器100は、ビデオカメラ200がバッテリ240で駆動しているかに加え、バッテリ240の残量を把握することにより、バッテリ240が無くなり、書き込みができなくなるタイミングを正確に把握することができ、それまでの間により多くのデータを転送することが可能となる。   As described above, in addition to whether the video camera 200 is driven by the battery 240, the electronic device 100 accurately grasps the timing when the battery 240 runs out and writing becomes impossible by grasping the remaining amount of the battery 240. In the meantime, more data can be transferred.

本発明の電子機器は、記録装置へのデータの書込み時に、記録装置上のデータで不整合が生じるのを回避することができ、ビデオカメラ、デジタルスチルカメラなどに適用することができ、有用である。   The electronic device of the present invention can avoid inconsistencies in data on the recording device when data is written to the recording device, and can be applied to a video camera, a digital still camera, and the like. is there.

本発明の実施の形態1における電子機器とビデオカメラからなる全体の構成を示す図The figure which shows the whole structure which consists of an electronic device and video camera in Embodiment 1 of this invention 本発明の実施の形態1における電子機器とビデオカメラとの構成を示すブロック図1 is a block diagram showing a configuration of an electronic device and a video camera according to Embodiment 1 of the present invention. 本発明の実施の形態1における記録媒体上のファイル構成を示す図The figure which shows the file structure on the recording medium in Embodiment 1 of this invention 本発明の実施の形態1におけるシステム制御部の動作を示すフローチャートThe flowchart which shows operation | movement of the system control part in Embodiment 1 of this invention. 本発明の実施の形態1における管理情報転送時の通信停止の場合の動作を示す図The figure which shows the operation | movement in the case of the communication stop at the time of the management information transfer in Embodiment 1 of this invention 本発明の実施の形態1におけるストリーム転送時の通信停止の場合の動作を示す図The figure which shows the operation | movement in the case of the communication stop at the time of the stream transfer in Embodiment 1 of this invention 本発明の実施の形態2におけるシステム制御部の動作を示すフローチャートThe flowchart which shows operation | movement of the system control part in Embodiment 2 of this invention.

100 電子機器
101 接続ケーブル
110 システム制御部
120 通信制御部
130 電源状態検出部
140 管理情報検出部
150 記録媒体制御部
160 記録媒体
200 ビデオカメラ
210 デバイス通信制御部
220 電源検出部
230 ACアダプタ
240 バッテリ
250 メディア
DESCRIPTION OF SYMBOLS 100 Electronic device 101 Connection cable 110 System control part 120 Communication control part 130 Power supply state detection part 140 Management information detection part 150 Recording medium control part 160 Recording medium 200 Video camera 210 Device communication control part 220 Power supply detection part 230 AC adapter 240 Battery 250 media

Claims (4)

任意の単位で送信される記録用データ及び、該記録用データを管理するための情報であって任意の単位で送信される管理情報を、外部記録装置に対して送信可能な通信部と、
前記外部記録装置に対する記録用データ及び管理情報の送信動作を中止する旨の指示を受け付けたときに、前記外部記録装置に対して送信しようとする情報が記録用データであるか管理情報であるかを検出する送信情報検出部と、
前記送信情報検出部において、前記通信部による記録用データ送信を検出している場合は、該記録用データの単位の送信が完了するのを待つことなく、前記外部記録装置への送信動作を中止する一方、
前記送信情報検出部において、前記通信部による管理情報送信を検出している場合は、該管理情報の単位の送信が完了するのを待って該管理情報を送信していないときに、前記外部記録装置への送信動作を中止する、制御部と、
を備えた電子機器。
Recording data and is transmitted in arbitrary units, the management information transmitted is information for managing the recording data in arbitrary units, a communication unit capable of transmitting to the external recording device,
Whether the information to be transmitted to the external recording device is the recording data or the management information when receiving an instruction to stop the transmission operation of the recording data and management information to the external recording device A transmission information detection unit for detecting
In the transmission information detecting unit, when detecting the transmission of recording data by the communication unit, without waiting for the transmission of a unit of the recording data is completed, the transmission operation to the external recording apparatus While canceling,
In the transmission information detecting unit, when detecting the transmission of the management information by the communication unit, when it is not waiting for the sending of a unit of the management information is completed and transmits the management information, the external A control unit for stopping the transmission operation to the recording device;
With electronic equipment.
バッテリ電源又はAC電源のいずれで駆動しているかを検出する電源検出部と、
前記電源検出部によりバッテリ電源で駆動していることを検出したときに、前記中止指示受付部に中止指示を発する中止指示発生部と、
をさらに備える請求項1に記載の電子機器。
A power source detection unit for detecting whether the battery power source or the AC power source is driving;
A stop instruction generating unit that issues a stop instruction to the stop instruction receiving unit when the power source detecting unit detects that the battery power source is driving;
The electronic device according to claim 1, further comprising:
前記通信部は、前記外部記録装置に関する情報を更に受信可能であり、
前記通信部で受信した外部記録装置に関する情報に基づいて、前記外部記録装置のバッテリ電源の残量を検出するバッテリ残量検出部を、さらに備え、
前記中止指示発生部は、
前記バッテリ電源の残量に応じて、前記制御部に中止指示を発する、
請求項2に記載の電子機器。
The communication unit can further receive information on the external recording device,
A battery remaining amount detection unit that detects a remaining amount of battery power of the external recording device based on information about the external recording device received by the communication unit;
The cancellation instruction generation unit
In response to the remaining amount of the battery power, issue a stop instruction to the control unit,
The electronic device according to claim 2.
前記通信部は、
記録用データの送信後に、当該記録用データを管理するための管理情報を送信する、
請求項1から3の何れかに記載の電子機器。
The communication unit is
After sending the recording data, send management information for managing the recording data,
The electronic device in any one of Claim 1 to 3.
JP2009014002A 2009-01-26 2009-01-26 Electronics Active JP5359309B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009014002A JP5359309B2 (en) 2009-01-26 2009-01-26 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009014002A JP5359309B2 (en) 2009-01-26 2009-01-26 Electronics

Publications (3)

Publication Number Publication Date
JP2010171843A JP2010171843A (en) 2010-08-05
JP2010171843A5 JP2010171843A5 (en) 2012-03-08
JP5359309B2 true JP5359309B2 (en) 2013-12-04

Family

ID=42703520

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009014002A Active JP5359309B2 (en) 2009-01-26 2009-01-26 Electronics

Country Status (1)

Country Link
JP (1) JP5359309B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0713706A (en) * 1993-06-25 1995-01-17 Toshiba Corp Auxiliary storage
JP4086539B2 (en) * 2002-04-30 2008-05-14 キヤノン株式会社 Imaging device
JP2004021669A (en) * 2002-06-18 2004-01-22 Sanyo Electric Co Ltd Transfer control system and transfer controller and recording device and transfer control method
JP2007012198A (en) * 2005-07-01 2007-01-18 Canon Inc Recording apparatus
JP4649320B2 (en) * 2005-11-28 2011-03-09 キヤノン株式会社 Communication device, recording device, and program

Also Published As

Publication number Publication date
JP2010171843A (en) 2010-08-05

Similar Documents

Publication Publication Date Title
JP4767323B2 (en) Data storage devices that use two types of storage media
KR20060049694A (en) Information display apparatus, information display method, and computer program
JP6350090B2 (en) Storage control device, copy control program, and copy control method
JP2012093926A (en) Communication speed control device and communication speed control method
US9065941B2 (en) Image processing apparatus and method for controlling the same
JP2007035024A (en) Network-attached storage device having connection to local user device
US9170945B2 (en) Communication management apparatus, communication management method, and computer program product
JP5029053B2 (en) Data communication system and data communication program
JP5359309B2 (en) Electronics
US10795423B2 (en) Electronic apparatus with power saving mode, control method thereof, and storage medium
JP5775367B2 (en) Information processing apparatus and control method thereof, mirroring system and RAID control apparatus
US20100332777A1 (en) Data backup apparatus and data backup method
US9613036B2 (en) Magnetic tape drive apparatus, magnetic tape drive system, and magnetic tape drive method
JP6693417B2 (en) Reader / writer device, information processing device, data transfer control method, and program
US8627157B2 (en) Storing apparatus
JP2011191906A (en) Data storage apparatus, data monitoring apparatus, control method and program
JP2012068808A (en) Portable storage device
US11194493B2 (en) Data storage system capable of using high speed channel to access data, and using low speed channel to manage data exchanging, copying, and moving
JP2001337911A (en) Usb-atapi interface system and atapi-usb converter used for it
JP2008065771A (en) Slew rate controller, storage device and slew rate control method
JP2006350881A (en) Memory card controller and memory card control system
JP2007164376A (en) Power source controller, power source control method, power source control program and recording medium
JP2012133513A (en) Storage device, control method and control program for storage device
JP4740988B2 (en) Bus bridge device
JP2005309511A (en) Information processor, status acquisition method and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120119

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120119

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20120214

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20121214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130305

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130418

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: 20130806

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130819

R151 Written notification of patent or utility model registration

Ref document number: 5359309

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151