JP6501676B2 - Image recording apparatus, control method thereof and program - Google Patents

Image recording apparatus, control method thereof and program Download PDF

Info

Publication number
JP6501676B2
JP6501676B2 JP2015164980A JP2015164980A JP6501676B2 JP 6501676 B2 JP6501676 B2 JP 6501676B2 JP 2015164980 A JP2015164980 A JP 2015164980A JP 2015164980 A JP2015164980 A JP 2015164980A JP 6501676 B2 JP6501676 B2 JP 6501676B2
Authority
JP
Japan
Prior art keywords
file
recording
transfer
scene
instruction
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
JP2015164980A
Other languages
Japanese (ja)
Other versions
JP2017046056A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2015164980A priority Critical patent/JP6501676B2/en
Priority to US15/230,180 priority patent/US9852760B2/en
Publication of JP2017046056A publication Critical patent/JP2017046056A/en
Application granted granted Critical
Publication of JP6501676B2 publication Critical patent/JP6501676B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (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 image recording apparatus for recording image data on a recording medium and transferring the image data recorded on the recording medium to an external device, and a control method and program thereof.

デジタルビデオカメラ(以下、単にビデオカメラと呼ぶ)は、撮像素子により光学像を電気信号に変換し、デジタル画像データとしてカメラの内蔵メモリやCFカード、SDメモリカード等のリムーバブル記録媒体に記録する。記録したデジタル画像データは、USBや無線LANといった各種通信部を用いてパーソナルコンピュータ(PC)や携帯端末(スマートフォン、タブレット端末等)等の外部機器に転送することができる。   A digital video camera (hereinafter simply referred to as a video camera) converts an optical image into an electrical signal by an imaging device, and records it as digital image data on a removable recording medium such as a built-in memory of the camera or a CF card or an SD memory card. The recorded digital image data can be transferred to an external device such as a personal computer (PC) or a portable terminal (smartphone, tablet terminal, etc.) using various communication units such as USB and wireless LAN.

昨今、特に無線LANを介したデータ転送機能が普及しており、Wi−Fi(Wireless Fidelity)の認証を取得したビデオカメラとPCや携帯端末の間でのデータ転送を実現している。データ転送方式としては、FTP(File Transfer Protocol)、HTTP(HyperText Tansfer Protocol)、RTP(Real-time Transport Protocol)等が一般的である。ビデオカメラで撮影した動画データ等、デジタル画像データを転送する際はFTPを使用することが多く、FTP自体はTCP/IP(Transmission Control Protocol/Internet Protocol)の上位層で働くファイル転送プロトコルとしてよく利用されている。ビデオカメラはFTPクライアントとして動作し、FTPサーバ機能を持つPCや携帯端末等の外部機器に対して、FTPコマンドを介し画像データの転送を行う。
特にENG(Electornic News Gathering)で扱う映像データは即時性が要求されるものが多く、ネットワークを介して直ちにデジタル画像データを転送できることが求められている。
Recently, a data transfer function via a wireless LAN has become particularly widespread, and data transfer between a video camera that has acquired Wi-Fi (Wireless Fidelity) authentication and a PC or a portable terminal has been realized. As a data transfer method, FTP (File Transfer Protocol), HTTP (HyperText Tansfer Protocol), RTP (Real-time Transport Protocol), etc. are generally used. FTP is often used when transferring digital image data such as moving image data shot with a video camera, and FTP itself is often used as a file transfer protocol that works in the upper layer of Transmission Control Protocol / Internet Protocol (TCP / IP) It is done. The video camera operates as an FTP client, and transfers image data to an external device such as a PC or portable terminal having an FTP server function via an FTP command.
In particular, many video data handled by ENG (Electoric News Gathering) is required to be immediacy, and it is required that digital image data can be immediately transferred via a network.

特許文献1には、記録した映像をネットワーク伝送で遠隔地にある装置に転送する映像記録装置が開示されている。映像記録装置は、動画ファイルの記録中にキーワード入力手段から入力されたキーワードをキーワード・重み対応辞書内で検索し、対応する重みを動画ファイル上の時間と関連付けて記録する。動画ファイルをネットワーク転送する時には、動画ファイルを一定時間毎に独立した転送用動画ファイルとして分割し、それぞれの時間に関連付けられた重みの合計の大きいものから転送する。すべての転送用動画ファイルを転送し終えたら、転送したファイルを記録時間順に並べ直したプレイリストをプレイリスト生成手段で生成して転送する。   Patent Document 1 discloses a video recording apparatus for transferring recorded video to a remote apparatus by network transmission. The video recording apparatus searches the keyword / weight correspondence dictionary in the keyword / weight correspondence dictionary while recording the moving image file, and records the corresponding weight in association with the time on the moving image file. At the time of network transfer of a moving image file, the moving image file is divided into independent moving image files for transfer at regular intervals, and transfer is performed from the one with the largest total weight associated with each time. When all the transfer moving image files have been transferred, the playlist generation means generates and transfers a playlist in which the transferred files are rearranged in order of recording time.

また、特許文献2には、撮影手段により得られた映像データをランダムアクセス可能な記録媒体に記録する記録装置が開示されている。記録装置は、撮像素子から出力された映像データを記録媒体に設けられた第1のファイルに記録する。この撮像素子による撮影中に、分割指示部がユーザから入力される分割指示を受け取ると、該分割指示を受け取った時点以降の撮像素子から出力された映像データを記録媒体に設けられた第2のファイルに記録する。   Further, Patent Document 2 discloses a recording apparatus for recording video data obtained by a photographing unit on a recording medium which can be randomly accessed. The recording device records the video data output from the imaging device in a first file provided in the recording medium. When the division instruction unit receives a division instruction input from the user during photographing by the imaging element, the second image processing apparatus is provided with video data output from the imaging element from the time of receiving the division instruction on the recording medium Record to file

特開2009−225116号公報JP, 2009-225116, A 特開2005−328154号公報JP 2005-328154 A

特許文献1では、動画ファイルを転送用動画ファイルとして分割し、優先順位を付けて転送するようにしている。しかしながら、記録中に動画ファイルを転送するものではなく、動画ファイルを転送したい場合には記録を停止しなければならない。   In Patent Document 1, a moving image file is divided as a moving image file for transfer, and is prioritized and transferred. However, the moving image file is not transferred during recording, and the recording must be stopped when it is desired to transfer the moving image file.

また、特許文献2では、記録中にユーザからの指示によりファイルをクローズし、新たにファイルを生成し新たなファイルに記録を継続することで、記録しながらクローズしたファイルに操作できるようにしている。しかしながら、撮影者の意図した位置でのファイル分割を可能にするものであって、記録中にデジタル画像データを転送できるようにしたものではない。   Further, in Patent Document 2, a file is closed according to an instruction from the user during recording, a new file is generated, and recording is continued in a new file, so that the user can operate on the closed file while recording. . However, it is possible to divide the file at the position intended by the photographer, and not to transfer digital image data during recording.

本発明は上記のような点に鑑みてなされたものであり、記録中のシーンの画像データをユーザの指示に応じたかたちで外部機器に転送できるようにすることを目的とする。   The present invention has been made in consideration of the above-described points, and has an object of enabling image data of a scene being recorded to be transferred to an external device in accordance with a user's instruction.

本発明の画像記録装置は、記録媒体に画像データを記録し、前記記録媒体に記録した画像データを外部機器に転送する画像記録装置であって、記録開始指示を受けてから記録終了指示を受けるまでのシーンの画像データの記録中に転送指示を受けたとき、転送指示を受けた時点のファイルである第1のファイルを完成状態とするとともに、前記シーンを引き続き記録する新たな第2のファイルを生成するファイル生成制御手段と、完成状態となったファイルを転送先に転送する転送制御手段と、前記第1のファイルと前記第2のファイルとを結合する結合手段とを備えたこと特徴とする。   The image recording apparatus according to the present invention is an image recording apparatus that records image data on a recording medium and transfers the image data recorded on the recording medium to an external device, and receives an instruction to start recording after receiving an instruction to start recording. When receiving a transfer instruction during recording of image data of up to scenes, a new second file for making the first file, which is the file at the time of receiving the transfer instruction, complete, and continuously recording the scene File generation control means for generating a file, transfer control means for transferring a file in a completed state to a transfer destination, and combining means for combining the first file and the second file. Do.

本発明によれば、シーンの画像データの記録中に転送指示を受けたとき、或いは転送指示を受けた後に転送中断指示を受けたときに、該指示を受けた時点のファイルを完成状態とするとともに、該シーンを引き続き記録する新たなファイルを生成して、完成状態としたファイルを転送するようにした。これにより、記録中のシーンの画像データをユーザの指示に応じたかたちで外部機器に転送することができる。   According to the present invention, when a transfer instruction is received during recording of image data of a scene, or when a transfer interruption instruction is received after receiving the transfer instruction, the file at the time of receiving the instruction is completed. At the same time, a new file was created to continue recording the scene, and the completed file was transferred. As a result, the image data of the scene being recorded can be transferred to the external device in accordance with the user's instruction.

第1の実施形態に係るビデオカメラの概略構成を示すブロック図である。FIG. 1 is a block diagram showing a schematic configuration of a video camera according to a first embodiment. 第1の実施形態に係るビデオカメラと外部機器との接続例を示す図である。FIG. 2 is a diagram showing an example of connection between a video camera according to the first embodiment and an external device. 第1の実施形態に係るビデオカメラにおける記録動作とシーン及びファイルとの関係を示す概念図である。FIG. 6 is a conceptual diagram showing the relationship between the recording operation and scenes and files in the video camera according to the first embodiment. 第1の実施形態に係るビデオカメラにおける記録動作とシーン及びファイルと転送指示との関係の例を示す図である。FIG. 7 is a diagram showing an example of the relationship between the recording operation, the scene, the file, and the transfer instruction in the video camera according to the first embodiment. 第1の実施形態に係るビデオカメラにおける記録動作とシーン及びファイルと転送指示との関係の例を示す図である。FIG. 7 is a diagram showing an example of the relationship between the recording operation, the scene, the file, and the transfer instruction in the video camera according to the first embodiment. 第1の実施形態における転送リストを説明するための図である。It is a figure for demonstrating the transfer list in 1st Embodiment. 第1の実施形態に係るビデオカメラの転送リスト登録処理を示すフローチャートである。7 is a flowchart showing transfer list registration processing of the video camera according to the first embodiment. 第1の実施形態に係るビデオカメラの転送制御処理を示すフローチャートである。5 is a flowchart showing transfer control processing of the video camera according to the first embodiment. 第2の実施形態に係るビデオカメラにおける記録動作とシーン及びファイルと転送指示との関係の例を示す図である。FIG. 14 is a view showing an example of the relationship between a recording operation, a scene, a file and a transfer instruction in the video camera according to the second embodiment. 第2の実施形態に係るビデオカメラのファイル生成制御処理及び転送リスト登録処理を示すフローチャートである。10 is a flowchart showing file generation control processing and transfer list registration processing of the video camera according to the second embodiment. 第3の実施形態に係るビデオカメラにおける記録動作とシーン及びファイルと転送指示との関係の例を示す図である。FIG. 14 is a view showing an example of the relationship between a recording operation, a scene, a file and a transfer instruction in the video camera according to the third embodiment. 第3の実施形態に係るビデオカメラのファイル生成制御処理及び転送リスト登録処理を示すフローチャートである。It is a flowchart which shows the file generation control processing and transfer list registration processing of the video camera which concern on 3rd Embodiment.

以下、添付図面を参照して、本発明の好適な実施形態について説明する。
<第1の実施形態>
図1は、本発明を適用した画像記録装置として機能する第1の実施形態に係るビデオカメラ100の概略構成を示すブロック図である。ビデオカメラ100は、レンズ101、CMOS102、カメラ信号処理部103、記録媒体104、電源105、操作部106、入力インタフェース(I/F)107、ROM108、RAM109、CODEC110、出力I/F111、表示部112、CPU113、通信制御部114、通信モジュール115、通信I/F116を備え、データバス118を介してデータの入出力を行う。
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.
First Embodiment
FIG. 1 is a block diagram showing a schematic configuration of a video camera 100 according to a first embodiment which functions as an image recording apparatus to which the present invention is applied. The video camera 100 includes a lens 101, a CMOS 102, a camera signal processing unit 103, a recording medium 104, a power supply 105, an operation unit 106, an input interface (I / F) 107, a ROM 108, a RAM 109, a CODEC 110, an output I / F 111, and a display unit 112. , CPU 113, communication control unit 114, communication module 115, and communication I / F 116, and performs data input / output via the data bus 118.

レンズ101は、フォーカス、絞り機構等を含む撮影レンズであり、被写体の光学像を形成する。
CMOS(Complementary Metal Oxide Semiconductor)102は、撮像素子であり、A/D変換機を含み、光学像をアナログ電気信号に変換した後、デジタル信号に変換する。なお、CMOSに限定されるわけではなく、CCD(Charge Coupled Device Image Sensor)等の撮像素子であってもよい。
カメラ信号処理部103は、CMOS102で変換されたデジタル信号に、所定の画素補間・縮小といったリサイズ処理や色変換、各種補正処理等を行う。
記録媒体104は、SDメモリカードや内蔵メモリ等のフラッシュメモリであり、撮影した映像データ及び音声データ、CPU113の制御に必要な情報を記録する。
The lens 101 is a photographing lens including a focus, an aperture mechanism, and the like, and forms an optical image of a subject.
A complementary metal oxide semiconductor (CMOS) 102 is an imaging device, includes an A / D converter, and converts an optical image into an analog electrical signal and then converts it into a digital signal. The present invention is not limited to the CMOS, and may be an imaging device such as a charge coupled device image sensor (CCD).
The camera signal processing unit 103 performs predetermined pixel interpolation / reduction resizing processing, color conversion, various correction processing, and the like on the digital signal converted by the CMOS 102.
The recording medium 104 is a flash memory such as an SD memory card or a built-in memory, and records captured video data and audio data, and information necessary for control of the CPU 113.

電源105は、AC電源やバッテリーであり、ビデオカメラ100の各部に必要な電源の供給を行う。
操作部106は、ユーザからの操作を受け付け、受け付けた当該操作情報は、入力I/F107を介してデータバス118に入力される。例えば操作部106を介して記録媒体104に記録されている符号化された映像データを選択し、選択した映像データを、通信制御部114が通信を行う図示しない外部機器に転送する転送指示を行う。転送指示が行われると、CPU113を介して、後述する図5(a)に示す転送リスト500のフォーマットに従い、転送対象の符号化ファイルの番号と、転送対象の符号化ファイル群を一まとめにしたシーンの番号がRAM109に保存される。
ROM108は、ビデオカメラ100を起動するプログラムを格納し、操作部106によって電源105から電気信号が供給されると、前記プログラムがCPU113によって、RAM109に読み出される。
RAM109は、CPU113のワークエリアとして機能する。なお、CPU113のワークエリアは、RAM109に限られるものではなく、図示しないハードディスク装置等の外部記録装置等であってもよい。
A power source 105 is an AC power source or a battery, and supplies necessary power to each part of the video camera 100.
The operation unit 106 receives an operation from the user, and the received operation information is input to the data bus 118 via the input I / F 107. For example, the encoded video data recorded in the recording medium 104 is selected via the operation unit 106, and a transfer instruction to transfer the selected video data to an external device (not shown) with which the communication control unit 114 communicates is performed. . When a transfer instruction is issued, the numbers of encoded files to be transferred and the groups of encoded files to be transferred are grouped together according to the format of a transfer list 500 shown in FIG. 5A described later via the CPU 113. The scene number is stored in the RAM 109.
The ROM 108 stores a program for activating the video camera 100. When an electric signal is supplied from the power source 105 by the operation unit 106, the program is read by the CPU 113 into the RAM 109.
The RAM 109 functions as a work area of the CPU 113. The work area of the CPU 113 is not limited to the RAM 109, and may be an external recording device such as a hard disk drive (not shown).

CODEC110は、RAM109や記録媒体104に記録されている映像データ及び音声データを再生し、再生された映像データは表示部112に表示される。また、再生された音声データは、図示しないスピーカーに供給され出力される。CODEC110は、所定のビットレート、フォーマット形式で圧縮符号化、又は映像圧縮符号化データの復号を行う。なお、音声については特に図示していないが、レンズ101とCMOS102をマイク、表示部112をスピーカーとすることで、同様の処理により音声信号も扱うことが可能である。映像記録時には映像と共に音声も同時に収録され、CODEC110で映像と音声を多重化することで、音声付映像データを生成することが可能である。
出力I/F111は、CPU113がプログラムに従い生成したGUI(Graphical User Interface)等の表示データに基づき、表示部112に表示させるための表示信号を出力する。
The CODEC 110 reproduces video data and audio data recorded in the RAM 109 or the recording medium 104, and the reproduced video data is displayed on the display unit 112. Also, the reproduced audio data is supplied to and output from a speaker (not shown). The CODEC 110 performs compression coding or decoding of video compression coding data at a predetermined bit rate and format. Although the audio is not particularly illustrated, by using the lens 101 and the CMOS 102 as a microphone and the display unit 112 as a speaker, it is possible to handle an audio signal by similar processing. At the time of video recording, audio is also recorded simultaneously with the video, and by multiplexing the video and audio by the CODEC 110, it is possible to generate video data with audio.
The output I / F 111 outputs a display signal to be displayed on the display unit 112 based on display data such as a GUI (Graphical User Interface) generated by the CPU 113 according to a program.

CPU113は、ROM108からRAM109にロードされたプログラムを実行する。CPU113は、映像を記録する際のシーン及びファイルの記録に関する情報を管理する。CPU113は、後述するファイルブレーク、ファイルクローズといったファイル操作処理、及びその情報の取得、ビデオカメラの記録動作の制御(記録状態、記録準備状態の変更)、転送リストの管理等の処理を実施する。
通信制御部114は、通信モジュール115及び通信I/F116を介して、図示しないFTPサーバ等の外部機器と制御データ、映像データ及び音声データの送受信を行う。
The CPU 113 executes the program loaded from the ROM 108 to the RAM 109. The CPU 113 manages information related to the recording of scenes and files when recording video. The CPU 113 executes file operation processing such as file break and file close, which will be described later, acquisition of the information, control of the recording operation of the video camera (change of recording state and recording preparation state), and management of transfer list.
The communication control unit 114 transmits / receives control data, video data, and audio data to / from an external device such as an FTP server (not shown) via the communication module 115 and the communication I / F 116.

図2は、第1の実施形態に係るビデオカメラ100と外部機器との接続例を示す図である。ビデオカメラ100は、以下に述べる有線接続及び無線接続のうち少なくともいずれかにより外部機器と接続することができる。
図2(a)は、ビデオカメラ100と外部機器200aとを有線接続する例の模式図である。外部機器200aは、有線ケーブル201を介してビデオカメラ100と通信を行う外部機器である。なお、外部機器200aは、ビデオカメラ100と直接通信を行う機器でも、ネットワークハブ等の中継装置を介して接続される機器でもよい。有線LANやUSB等の有線媒体を使用した通信であれば本発明を適用することが可能である。
図2(b)は、ビデオカメラ100と外部機器200bとを無線接続する例の模式図である。外部機器200bは、無線通信202を介してビデオカメラ100と通信を行う外部機器である。なお、外部機器200bは、ビデオカメラ100と直接無線通信を行う機器でも、アクセスポイント等の中継無線装置を介して接続される機器でもよい。Wi−FiやBluetooth(登録商標)等の無線通信を利用した接続であれば本発明を適用することが可能である。
FIG. 2 is a diagram showing an example of connection between the video camera 100 and an external device according to the first embodiment. The video camera 100 can be connected to an external device by at least one of wired connection and wireless connection described below.
FIG. 2A is a schematic view of an example in which the video camera 100 and the external device 200a are connected by wire. The external device 200 a is an external device that communicates with the video camera 100 via the wired cable 201. The external device 200a may be a device that directly communicates with the video camera 100 or a device connected via a relay device such as a network hub. The present invention can be applied to communication using a wired medium such as a wired LAN or USB.
FIG. 2B is a schematic view of an example in which the video camera 100 and the external device 200b are wirelessly connected. The external device 200 b is an external device that communicates with the video camera 100 via the wireless communication 202. The external device 200b may be a device that performs direct wireless communication with the video camera 100 or a device connected via a relay wireless device such as an access point. The present invention can be applied to any connection using wireless communication such as Wi-Fi or Bluetooth (registered trademark).

図3は、第1の実施形態に係るビデオカメラ100における記録動作とシーン及びファイルとの関係を示す概念図である。横軸300は時間軸を表わし、図中の右に行くほど時間が経過することを示す。
Mode Start301は、ビデオカメラ100を記録準備状態に遷移させる操作部106による入力操作を示す。本入力操作を実施すると、ビデオカメラ100は記録準備状態に遷移する。Rec Pause302は、ビデオカメラ100の記録準備状態を示す。記録準備状態とは、Rec Start303が指示されると即座に記録状態に入れる状態である。
FIG. 3 is a conceptual view showing the relationship between the recording operation, the scene and the file in the video camera 100 according to the first embodiment. The horizontal axis 300 represents a time axis, and indicates that time goes to the right in the figure.
Mode Start 301 indicates an input operation by the operation unit 106 that causes the video camera 100 to transition to the recording preparation state. When this input operation is performed, the video camera 100 transitions to the recording preparation state. Rec Pause 302 indicates the recording preparation state of the video camera 100. The recording preparation state is a state in which the recording state is immediately entered when Rec Start 303 is instructed.

Rec Start303は、ビデオカメラ100を記録状態に遷移させる操作部106による記録開始指示の入力操作を示す。記録準備状態で本入力操作を実施すると、ビデオカメラ100は記録状態に遷移する。Rec304は、ビデオカメラ100の記録状態を示す。記録状態では、レンズ101及びCMOS102を介して入力された信号をCODEC110で記録媒体104に記録するファイル形式としてエンコードし、順次RAM109に格納する。RAM109格納されたファイルが任意容量となった際に、記録媒体104に記録する。この処理を、Rec Stop308が指示されるまで順次実施する。   A Rec Start 303 indicates an input operation of a recording start instruction by the operation unit 106 that causes the video camera 100 to transition to the recording state. When the main input operation is performed in the recording preparation state, the video camera 100 transitions to the recording state. Rec 304 indicates the recording state of the video camera 100. In the recording state, the signal input via the lens 101 and the CMOS 102 is encoded as a file format to be recorded on the recording medium 104 by the CODEC 110 and sequentially stored in the RAM 109. When the file stored in the RAM 109 has an arbitrary capacity, the file is recorded on the recording medium 104. This process is sequentially performed until Rec Stop 308 is instructed.

Rec Stop308は、記録状態を停止し、ビデオカメラ100を記録準備状態に遷移させる操作部106による記録終了指示の入力操作を示す。
Mode Stop311は、ビデオカメラ100の記録動作を終了状態に遷移させる操作部106による入力操作を示す。
A Rec Stop 308 indicates an input operation of a recording end instruction by the operation unit 106 which stops the recording state and changes the video camera 100 to the recording preparation state.
Mode Stop 311 indicates an input operation by the operation unit 106 that causes the recording operation of the video camera 100 to transition to the end state.

Rec Delay305は、Rec Start303が指示され、ビデオカメラ100が記録状態となった後、実際に記録媒体104に映像データの記録が始まるまでの時間差である。この時間差は、記録する映像のビットレートや、RAM109に格納する際の任意容量により増減する。なお、Rec Stop308が指示されてから、実際に記録が終了するまでも同様の時間差が生じる。   The Rec Delay 305 is a time difference until recording of video data on the recording medium 104 actually starts after the Rec Start 303 is instructed and the video camera 100 enters the recording state. This time difference increases or decreases depending on the bit rate of the video to be recorded and the arbitrary capacity when storing in the RAM 109. A similar time difference also occurs from the time when the Rec Stop 308 is instructed until the recording is actually finished.

シーン(Scene)306は、ビデオカメラ100で映像を記録した際の記録単位である。記録単位とは、Rec Start303とRec Stop308との間に記録される映像データの括りである。ここで留意すべき点としては、後述するファイル(File)307と同義ではないことである。記録媒体104のファイルフォーマットを鑑み、記録媒体104に記録されるデータは、ファイルフォーマットのファイル上限容量以上のデータサイズになる場合、ファイルを分ける必要がある。この作業は、ファイルブレーク(File Break)310と称される。シーン306は、ファイルブレークしたファイル307を含めて一つとして扱う定義である。シーン306は、Rec Start303が指示される毎に番号が付与され、シーン♯1、シーン♯2、・・・と運用される。   A scene 306 is a recording unit when video is recorded by the video camera 100. The recording unit is a bundle of video data recorded between the Rec Start 303 and the Rec Stop 308. The point to be noted here is that it is not synonymous with the file (File) 307 described later. In view of the file format of the recording medium 104, when the data recorded on the recording medium 104 has a data size equal to or larger than the file upper limit capacity of the file format, it is necessary to divide the file. This work is called File Break 310. The scene 306 is a definition that handles the file 307 including the file break as one. The scene 306 is assigned a number each time the Rec Start 303 is instructed, and is operated as a scene # 1, a scene # 2, and so on.

ファイル307は、記録媒体104に記録される映像データファイルである。Rec Start303を契機にRAM109に蓄積されたデータが任意容量に達すると、記録媒体104にファイル307として格納され始める。記録状態では順次RAM109に映像データを書き出すため、ファイル307も順次格納データが増加する。ファイルクローズ(File Close)309又はファイルブレーク310が発生するまでは、ファイル307は未完成状態であり、他の処理から読み出しはできない状態となる。ファイルクローズ309又はファイルブレーク310が発生すると、ファイル307は完成状態となる。ファイル307が完成する毎に番号が付与され、ファイル♯1、ファイル♯2、・・・と運用される。   The file 307 is a video data file recorded on the recording medium 104. When the data stored in the RAM 109 reaches an arbitrary capacity triggered by the Rec Start 303, the data starts to be stored in the recording medium 104 as a file 307. In the recording state, since the video data is sequentially written to the RAM 109, the data stored in the file 307 also sequentially increases. Until the file close 309 or the file break 310 occurs, the file 307 is in an unfinished state and can not be read from other processes. When the file close 309 or the file break 310 occurs, the file 307 is completed. Each time the file 307 is completed, a number is assigned, and the file # 1, the file # 2,.

ファイルクローズ309は、Rec Stop308が指示されたことに応じて、ビデオカメラ100の記録動作で記録媒体104に順次記録されているファイル307を完成状態とするためのファイル操作である。この操作が実施されると、他の処理からもファイル307を読み込み又は編集が可能となる。
ファイルブレーク310は、記録媒体104のファイルフォーマットを鑑みて、特定サイズ以上のファイルを記録媒体104に格納する際にファイルを分けて記録する際のファイル操作である。このファイル操作は、CPU113が記録媒体104のファイルフォーマットを識別し、ビデオカメラ100内部で自動的に行う。このため、ユーザは操作部106よりRec Start303を1度だけ入力すれば、記録時間が一定以上続き記録媒体104のファイルフォーマットの上限までファイル307が書き出された際、ファイルブレーク310によりファイル307が完成状態になるとともに、新たなファイル307の生成が開始される。
The file close 309 is a file operation for setting the files 307 sequentially recorded on the recording medium 104 by the recording operation of the video camera 100 to a completed state in response to the Rec Stop 308 being instructed. When this operation is performed, the file 307 can be read or edited from other processes.
The file break 310 is a file operation when the file is divided and recorded when the file of the specific size or more is stored in the recording medium 104 in view of the file format of the recording medium 104. The CPU 113 identifies the file format of the recording medium 104 and automatically performs this file operation in the video camera 100. For this reason, if the user inputs Rec Start 303 only once from the operation unit 106, the file 307 is output by the file break 310 when the recording time continues for a predetermined period or more and the file 307 is written up to the upper limit of the file format of the recording medium 104 While being completed, generation of a new file 307 is started.

図4A、図4Bは、第1の実施形態に係るビデオカメラ100における記録動作とシーン及びファイルと転送指示との関係の例を示す図である。
図4A(a)は、ビデオカメラ100の記録状態(REC304)で、記録中のシーンを外部機器に転送するよう転送指示がなされた状態を示す。
シーン♯1(306(1))は、記録媒体104への初期記録を想定しており、付与される番号を「♯1」としている。
ファイル♯1(307(1))は、シーン♯1(306(1))と同じく、記録媒体104への初期記録を想定しており、付与される番号を「♯1」としている。
Transfer Req401は、記録中のシーン♯1(306(1))を外部機器に転送することを指示する操作部106による入力操作を示す。
Rec Stop308が指示されると、ファイルクローズ309により、記録中で未完成状態のファイル♯1(307(1))をファイルとして完成させる。
FIGS. 4A and 4B are diagrams showing an example of the relationship between the recording operation, the scene, the file, and the transfer instruction in the video camera 100 according to the first embodiment.
FIG. 4A (a) shows a state in which a transfer instruction has been made to transfer a scene being recorded to an external device in the recording state (REC 304) of the video camera 100.
Scene # 1 (306 (1)) assumes initial recording on the recording medium 104, and the assigned number is “# 1”.
File # 1 (307 (1)), like scene # 1 (306 (1)), assumes initial recording on the recording medium 104, and the assigned number is “# 1”.
Transfer Req 401 shows an input operation by the operation unit 106 instructing transfer of the scene # 1 (306 (1)) being recorded to an external device.
When the Rec Stop 308 is instructed, the file close 309 completes the unfinished file # 1 (307 (1)) as a file during recording.

図4A(b)は、ビデオカメラ100の記録状態を経た記録準備状態(Rec Pause302)で、記録されたシーンを外部機器に転送するよう転送指示がなされた状態を示す。図4A(b)では、ファイルブレーク310は発生しなかったものとする。
シーン♯2(306(2))は、2回目のRec Start303が指示されたことによるシーンを想定しており、付与される番号を「♯2」としている。
ファイル♯2(307(2))は、シーン♯2(306(2))と同じく、記録媒体104への2つめのファイルの記録を想定しており、付与される番号を「♯2」としている。
Rec Stop308が指示されると、ファイルクローズ309により、記録中で未完成状態のファイル♯2(307(2))をファイルとして完成させる。
Transfer Req401は、記録が終了したシーン♯2(306(2))を外部機器に転送することを指示する操作部106による入力操作を示す。
FIG. 4A (b) shows a state in which a transfer instruction has been made to transfer a recorded scene to an external device in a recording preparation state (Rec Pause 302) after the recording state of the video camera 100. In FIG. 4A (b), it is assumed that the file break 310 has not occurred.
Scene # 2 (306 (2)) assumes a scene where the second Rec Start 303 is instructed, and the assigned number is "# 2".
File # 2 (307 (2)), like scene # 2 (306 (2)), assumes recording of the second file on the recording medium 104, and the assigned number is "# 2". There is.
When the Rec Stop 308 is instructed, the file close 309 completes the unfinished file # 2 (307 (2)) in the recording state as a file.
Transfer Req 401 indicates an input operation by the operation unit 106 instructing transfer of the scene # 2 (306 (2)) for which recording has ended to an external device.

図4A(c)は、ビデオカメラ100の記録状態(REC304)であってファイルブレーク310の発生前に、記録中のシーンを外部機器に転送するよう転送指示がなされた状態を示す。
シーン♯3(306(3))は、3回目のRec Start303が指示されたことによるシーンを想定しており、付与される番号を「♯3」としている。シーン♯3(306(3))では、ファイル♯3(307(3))に対してファイルブレーク310が発生し、ファイル♯3(307(3))を完成させた後、新たなファイル♯4(307(4))を生成している。
ファイル♯3(307(3))は、記録媒体104への3つめのファイルの記録を想定しており、付与される番号を「♯3」としている。ファイル♯4(307(4))は、ファイル♯3(307(3))に対してファイルブレーク310が発生した後に、シーン♯3を引き続き記録するために生成されるファイルである。
Transfer Req401は、記録中のシーン♯3(306(3))を外部機器に転送することを指示する操作部106による入力操作を示す。
FIG. 4A (c) shows a recording state (REC 304) of the video camera 100, in which a transfer instruction has been issued to transfer a scene being recorded to an external device before the occurrence of the file break 310.
Scene # 3 (306 (3)) assumes a scene where the third Rec Start 303 is instructed, and the assigned number is “# 3”. In scene # 3 (306 (3)), a file break 310 occurs for file # 3 (307 (3)) and file # 3 (307 (3)) is completed, and then new file # 4 is generated. (307 (4)) is generated.
File # 3 (307 (3)) assumes recording of the third file on the recording medium 104, and the assigned number is “# 3”. File # 4 (307 (4)) is a file generated to continue recording scene # 3 after file break 310 occurs for file # 3 (307 (3)).
Transfer Req 401 indicates an input operation by the operation unit 106 instructing transfer of the scene # 3 (306 (3)) being recorded to an external device.

図4B(a)は、ビデオカメラ100の記録状態(REC304)であってファイルブレーク310の発生後に、記録中のシーンを外部機器に転送するよう転送指示がなされた状態を示す。
シーン♯4(306(4))は、4回目のRec Start303が指示されたことによるシーンを想定しており、付与される番号を「♯4」としている。シーン♯4(306(4))では、ファイル♯5(307(5))に対してファイルブレーク310が発生し、ファイル♯5(307(5))を完成させた後、新たなファイル♯6(307(6))を生成している。
ファイル♯5(307(5))は、記録媒体104への5つめのファイルの記録を想定しており、付与される番号を「♯5」としている。ファイル♯6(307(6))は、ファイル♯5(307(5))に対してファイルブレーク310が発生した後に、シーン♯4を引き続き記録するために生成されるファイルである。
Transfer Req401は、記録中のシーン♯4(306(4))を外部機器に転送することを指示する操作部106による入力操作を示す。
FIG. 4B (a) shows a recording state (REC 304) of the video camera 100, in which a transfer instruction has been issued to transfer a scene being recorded to an external device after the occurrence of the file break 310.
Scene # 4 (306 (4)) assumes a scene due to the fourth Rec Start 303 being instructed, and the assigned number is “# 4”. In scene # 4 (306 (4)), a file break 310 occurs for file # 5 (307 (5)) and file # 5 (307 (5)) is completed, and then new file # 6 is generated. (307 (6)) is generated.
File # 5 (307 (5)) assumes recording of the fifth file on the recording medium 104, and the assigned number is “# 5”. File # 6 (307 (6)) is a file generated to continue recording scene # 4 after file break 310 occurs for file # 5 (307 (5)).
Transfer Req 401 indicates an input operation by the operation unit 106 instructing transfer of the scene # 4 (306 (4)) being recorded to an external device.

図4B(b)は、ビデオカメラ100の記録状態を経た記録準備状態(Rec Pause302)で、記録されたシーンを外部機器に転送するよう転送指示がなされた状態を示す。図4B(b)では、ファイルブレーク310が発生したものとする。
シーン♯5(306(5))は、5回目のRec Start303が指示されたことによるシーンを想定しており、付与される番号を「♯5」としている。シーン♯5(306(5))では、ファイル♯7(307(7))に対してファイルブレーク310が発生し、ファイル♯7(307(7))を完成させた後、新たなファイル♯8(307(8))を生成している。
ファイル♯7(307(7))は、記録媒体104への7つめのファイルの記録を想定しており、付与される番号を「♯7」としている。ファイル♯8(307(8))は、ファイル♯7(307(7))に対してファイルブレーク310が発生した後に、シーン♯5を引き続き記録するために生成されるファイルである。
Rec Stop308が指示されると、ファイルクローズ309により、記録中で未完成状態のファイル♯8(307(8))をファイルとして完成させる。
Transfer Req401は、記録が終了したシーン♯5(306(5))を外部機器に転送することを指示する操作部106による入力操作を示す。
FIG. 4B (b) shows a state in which a transfer instruction has been issued to transfer a recorded scene to an external device in a recording preparation state (Rec Pause 302) after the recording state of the video camera 100. In FIG. 4B (b), it is assumed that a file break 310 has occurred.
Scene # 5 (306 (5)) assumes a scene where the fifth Rec Start 303 is instructed, and the assigned number is “# 5”. In scene # 5 (306 (5)), file break 310 occurs for file # 7 (307 (7)) and file # 7 (307 (7)) is completed, and then new file # 8 is generated. (307 (8)) is generated.
File # 7 (307 (7)) assumes recording of the seventh file on the recording medium 104, and the assigned number is “# 7”. File # 8 (307 (8)) is a file generated to continue recording scene # 5 after file break 310 occurs for file # 7 (307 (7)).
When the Rec Stop 308 is instructed, the file close 309 completes the file # 8 (307 (8)) which has not been completed during recording as a file.
Transfer Req 401 indicates an input operation by the operation unit 106 instructing transfer of the scene # 5 (306 (5)) for which recording has ended to the external device.

図5は、第1の実施形態における転送リストとその登録の仕方を説明するための図である。
図5(a)を参照して、転送リスト500の構成を説明する。転送リスト500は、シーンの情報及びファイルの情報を登録する構成となっている。
リスト510、520、530、・・・はシーン情報登録テーブルであり、転送指示されたシーン番号を登録する。本テーブルは、転送指示されたシーンの登録数によりテーブル数が決定する。本例では、シーン番号登録テーブルは[0]〜[4]までの5つ存在する。つまり、転送指示可能なシーンの個数は5つとなる。ただし、登録されたシーンの転送が完了すれば、そのテーブルは空き状態となり、再度転送指示することが可能となる。
リスト511、512、・・・はファイル情報登録テーブルであり、リスト510に登録されたシーンを構成するファイル番号を登録する。同様に、リスト521、522、・・・はファイル情報登録テーブルであり、リスト520に登録されたシーンを構成するファイル番号を登録する。以降のリスト530、・・・についても同様である。1つのシーンを構成するファイルの最大数にあわせテーブル個数を決定する。本例では、ファイル情報登録テーブルは3つであり、1つのシーンに対して3つのファイルを登録することが可能である。
なお、シーン情報登録テーブル数及びファイル情報登録テーブル数はシステムに合わせた個数での運用が可能である。
FIG. 5 is a diagram for explaining the transfer list in the first embodiment and the method of registration thereof.
The configuration of the transfer list 500 will be described with reference to FIG. 5 (a). The transfer list 500 is configured to register scene information and file information.
Lists 510, 520, 530,... Are scene information registration tables, which register scene numbers for which transfer is instructed. In this table, the number of tables is determined by the number of registrations of the scene instructed to be transferred. In this example, there are five scene number registration tables [0] to [4]. That is, the number of scenes that can be instructed to transfer is five. However, when the transfer of the registered scene is completed, the table becomes empty, and it becomes possible to instruct transfer again.
Lists 511, 512,... Are file information registration tables, in which file numbers constituting scenes registered in the list 510 are registered. Similarly, lists 521, 522,... Are file information registration tables, which register file numbers that make up a scene registered in the list 520. The same applies to the subsequent lists 530, and so on. Determine the number of tables according to the maximum number of files that make up one scene. In this example, there are three file information registration tables, and three files can be registered for one scene.
The number of scene information registration tables and the number of file information registration tables can be operated with the number according to the system.

図6は、第1の実施形態に係るビデオカメラ100の転送リスト登録処理を示すフローチャートである。
ビデオカメラ100は、図4A、図4Bに示すように転送指示であるTransfer Req401が入力されたときの記録動作、及びファイルブレーク310の有無を確認し、転送リスト500を登録する。
以下、図4A、図4B、図5を参照して、Transfer Req401が入力された際のビデオカメラ100の動作を説明する。なお、図6の処理とは非同期に、ユーザは操作部106を介してビデオカメラ100を記録準備状態、記録状態に任意で遷移させることが可能である。図4A、図4Bでは、記録準備状態への遷移は各図におけるMode Start301、記録状態への遷移はRec Start303、記録準備状態への遷移はRec Stop308が該当する。
FIG. 6 is a flowchart showing transfer list registration processing of the video camera 100 according to the first embodiment.
As shown in FIG. 4A and FIG. 4B, the video camera 100 confirms the recording operation when Transfer Req 401 which is the transfer instruction is input, and the presence or absence of the file break 310, and registers the transfer list 500.
The operation of the video camera 100 when Transfer Req 401 is input will be described below with reference to FIGS. 4A, 4 B, and 5. Note that, asynchronously to the processing of FIG. 6, the user can arbitrarily transition the video camera 100 to the recording preparation state and the recording state via the operation unit 106. 4A and 4B, the transition to the recording preparation state corresponds to Mode Start 301 in each drawing, the transition to the recording state corresponds to Rec Start 303, and the transition to the recording preparation state corresponds to Rec Stop 308.

ステップS601で、CPU113は、ビデオカメラ100が記録状態又は記録準備状態であるか否かを確認する。記録状態及び記録準備状態以外の状態では本処理を実施せず、ステップS601を繰り返す。記録状態又は記録準備状態である場合、ステップS602に遷移する。
ステップS602で、CPU113は、Transfer Req401が入力されたか否かを確認する。Transfer Req401が入力されない場合、ステップS602を継続する。Transfer Req401が入力された場合、ステップS603に遷移する。
ステップS603で、CPU113は、ビデオカメラ100が記録状態であるか否かを確認する。記録状態である場合、ステップS604に遷移し、記録状態でない場合、ステップS650に遷移する。
In step S601, the CPU 113 confirms whether the video camera 100 is in the recording state or the recording preparation state. In the states other than the recording state and the recording preparation state, this process is not performed, and step S601 is repeated. If it is the recording state or the recording preparation state, the process proceeds to step S602.
In step S602, the CPU 113 confirms whether Transfer Req 401 has been input. If Transfer Req 401 is not input, step S602 is continued. If Transfer Req 401 is input, the process proceeds to step S603.
In step S603, the CPU 113 confirms whether the video camera 100 is in the recording state. If it is in the recording state, the process proceeds to step S604. If it is not the recording state, the process proceeds to step S650.

ステップS604〜S613は、図4A(a)、図4A(c)及び図4B(a)に示すように、記録状態でTransfer Req401が入力された場合の処理である。
ステップS604で、CPU113は、転送するシーンを転送リスト500に登録する。ステップS604の処理を、図4A(a)及び図5(b)を参照して説明する。図4A(a)のTrasfer Req401の入力時点で、初めてのシーン記録であり、リスト510〜550は全て未登録となっている。ステップS602でTrasfer Req401の入力を検出したCPU113は、Transfer Req401で転送指示されたシーン番号を取得して、リスト510に登録する。本例では、シーン♯1(306(1))が該当し、図5(b)に示すように、リスト510にシーン♯1が登録される。図4A(c)及び図4B(a)においても同じく本ステップによる転送リスト500のシーン情報登録処理があり、各々、図5(d)に示すように、リスト530にシーン♯3(306(3))が登録され、図5(f)に示すように、リスト540にシーン♯4(306(4))が登録される。
Steps S604 to S613 are processes when Transfer Req 401 is input in the recording state as shown in FIGS. 4A (a), 4A (c) and 4B (a).
In step S604, the CPU 113 registers the scene to be transferred in the transfer list 500. The process of step S604 will be described with reference to FIGS. 4A (a) and 5 (b). The scene is recorded for the first time at the time of input of the Trasfer Req 401 in FIG. 4A (a), and all the lists 510 to 550 are unregistered. The CPU 113 that has detected the input of the Processor Req 401 in step S 602 acquires the scene number instructed to be transferred by the Transfer Req 401, and registers the acquired scene number in the list 510. In this example, the scene # 1 (306 (1)) corresponds, and as shown in FIG. 5B, the scene # 1 is registered in the list 510. Also in FIG. 4A (c) and FIG. 4B (a), there is scene information registration processing of the transfer list 500 according to this step, and as shown in FIG. 5 (d), the scene # 3 (306 (3 (3 ) Is registered, and scene # 4 (306 (4)) is registered in list 540, as shown in FIG. 5 (f).

ステップS605で、CPU113は、転送リスト500に登録可能なファイルがあるか否かを確認する。CPU113は、現在記録中のシーンの情報を管理する。シーンの情報には、シーンを構成するファイルの情報が含まれており、ファイルブレーク310により複数ファイルでシーンが構成されているか判別可能となっている。図4A(a)では、Transfer Req401の入力時点で、ファイル♯1(307(1))は未完成状態であり、転送リスト500に登録することはできない。図4A(c)におけるファイル♯3(307(3))も同様である。この場合、ステップS608に遷移する。一方、図4B(a)では、Transfer Req401の入力時点で、ファイル♯6(307(6))は未完成状態であるが、ファイル♯5(307(5))はファイルブレーク310により完成状態であり、転送リスト500に登録することができる。この場合、ステップS606に遷移し、転送リスト500の登録処理を実施する。   In step S 605, the CPU 113 confirms whether there is a file that can be registered in the transfer list 500. The CPU 113 manages information of the scene currently being recorded. The information on the scene includes information on files that make up the scene, and the file break 310 makes it possible to determine whether the scene is composed of a plurality of files. In FIG. 4A (a), file # 1 (307 (1)) is in an incomplete state at the time of input of Transfer Req 401, and can not be registered in the transfer list 500. The same applies to file # 3 (307 (3)) in FIG. 4A (c). In this case, the process proceeds to step S608. On the other hand, in FIG. 4B (a), file # 6 (307 (6)) is unfinished at the time of Transfer Req 401, but file # 5 (307 (5)) is completed by file break 310. Yes, and can be registered in the transfer list 500. In this case, the process transitions to step S606, and registration processing of the transfer list 500 is performed.

ステップS606で、CPU113は、転送するファイルを転送リスト500に登録する。ステップS606の処理を、図4B(a)及び図5(f)を参照して説明する。図4B(a)では、図5(f)に示すようにリスト510、520、530に、シーン♯1〜シーン♯3が登録済みの状態となっている。図5(f)に示すように、ステップS606の実行前は未登録であったシーン♯4のリスト541にファイル♯5(307(5))を登録する。ステップS606が終了すると、ステップS607に遷移する。
ステップS607で、CPU113は、登録可能な全てのファイルを転送リスト500に登録したか否かを確認する。図4B(a)では、Transfer Req401の入力時点で完成状態にあるファイルはファイル♯5(307(5))だけであるが、複数のファイルがファイルブレーク310により生成されている場合も想定される。その場合は、ステップS607で全てのファイルを転送リスト500に登録したか否かを確認し、登録すべきファイルがある場合、ステップS606に戻る。全てのファイルを登録し終えた場合、ステップS608に遷移する。
In step S 606, the CPU 113 registers the file to be transferred in the transfer list 500. The process of step S606 will be described with reference to FIGS. 4B (a) and 5 (f). In FIG. 4B (a), as shown in FIG. 5 (f), the scenes # 1 to # 3 have already been registered in the lists 510, 520, and 530. As shown in FIG. 5F, the file # 5 (307 (5)) is registered in the list 541 of the scene # 4 which has not been registered before the execution of step S606. When step S606 ends, the process moves to step S607.
In step S 607, the CPU 113 confirms whether all the registrable files have been registered in the transfer list 500. In FIG. 4B (a), only file # 5 (307 (5)) is in the completed state at the time of input of Transfer Req 401, but it is also assumed that a plurality of files are generated by file break 310. . In that case, it is checked in step S607 whether all files have been registered in the transfer list 500. If there is a file to be registered, the process returns to step S606. If all the files have been registered, the process proceeds to step S608.

ステップS608で、CPU113は、Transfer Req401を受けて、転送リスト500に登録したことを表示部112にてユーザに通知する。表示が終了すると、ステップS609に遷移する。
ステップS609で、CPU113は、記録中のシーンに含まれるファイルに対してファイルブレーク310が発生したか否かを確認する。図4A(c)で及び図4B(a)では、Transfer Req401の入力時点で、ファイル♯3(307(3))及びファイル♯6(307(6))は未完成状態であるが、その後ファイルブレーク310が発生し、完成状態となる場合がある。ファイルブレーク310を検出した場合、ステップS610に遷移する。ファイルブレーク310を検出しない場合、ステップS611に遷移する。
ステップS610で、CPU113は、転送リスト500の更新を行う。図4A(c)では、ファイルブレーク310を検出したCPU113は、転送リスト500にファイル♯3(307(3))を登録する。すなわち、図4A(c)においてファイルブレーク310によりファイル♯3(307(3))が完成状態となると、図5(d)に示すように、リスト531にファイル♯3を登録する。その後、さらにファイルブレーク310が発生すれば、図5(e)に示すように、リスト532にファイル♯4(307(4))を登録することになる。同様に、図4B(a)においてファイルブレーク310によりファイル♯6(307(6))が完成状態となると、図5(g)に示すように、リスト542にファイル♯6を登録することになる。
In step S <b> 608, the CPU 113 receives the Transfer Req 401 and notifies the user of the fact that it has been registered in the transfer list 500 from the display unit 112. When the display is completed, the process proceeds to step S609.
In step S609, the CPU 113 confirms whether or not the file break 310 has occurred for the file included in the scene being recorded. In FIG. 4A (c) and FIG. 4B (a), file # 3 (307 (3)) and file # 6 (307 (6)) are unfinished at the time of Transfer Req 401 input, but then the file A break 310 may occur and become complete. If the file break 310 is detected, the process proceeds to step S610. If the file break 310 is not detected, the process proceeds to step S611.
In step S610, the CPU 113 updates the transfer list 500. In FIG. 4A (c), the CPU 113 having detected the file break 310 registers the file # 3 (307 (3)) in the transfer list 500. That is, when the file # 3 (307 (3)) is completed due to the file break 310 in FIG. 4A (c), the file # 3 is registered in the list 531 as shown in FIG. 5 (d). Thereafter, if file break 310 occurs further, file # 4 (307 (4)) is registered in list 532 as shown in FIG. 5 (e). Similarly, when file # 6 (307 (6)) is completed due to file break 310 in FIG. 4B (a), file # 6 is registered in list 542 as shown in FIG. 5 (g). .

ステップS611で、CPU113は、記録中のシーンに対してファイルクローズ309が発生したか否かを確認する。CPU113は、操作部106よりRec Stop308が入力された場合、ファイルクローズする。図4A(a)では、Transfer Req401の入力時点で、ファイル♯1(307(1))は未完成状態であり、ファイルクローズ309が発生するのを待つ。ファイルクローズ309を検出した場合、ステップS612に遷移する。ファイルクローズ309を検出しない場合、ステップS609に戻り、再度ファイルブレーク310の発生を検出する。
ステップS612で、CPU113は、ファイルクローズ309により完成状態となったファイルを転送リスト500に登録する。図4A(a)では、ファイルクローズ309によりファイル♯1(307(1))が完成状態となり、転送リスト500に登録可能となる。図5(b)に示すように、リスト511にファイル♯1(307(1))を登録し、ステップS613に遷移する。
ステップS613で、CPU113は、転送リスト500にシーンが完成したというデータを書き込むファイルクローズ登録を行う。CPU113は、ファイルクローズ309を検出し、ファイルを転送リスト500に登録した後、シーンが完結した旨を転送リスト500に登録する。図5(b)では、リスト512にファイルクローズであることを登録する。ステップS613が終了すると、転送リスト登録処理は完了する。
In step S611, the CPU 113 confirms whether the file close 309 has occurred for the scene being recorded. When the Rec Stop 308 is input from the operation unit 106, the CPU 113 closes the file. In FIG. 4A (a), at the time of input of Transfer Req 401, the file # 1 (307 (1)) is in an unfinished state, and waits for the file close 309 to occur. If the file close 309 is detected, the process proceeds to step S612. If the file close 309 is not detected, the process returns to step S609, and the occurrence of the file break 310 is detected again.
In step S 612, the CPU 113 registers the file completed by the file close 309 in the transfer list 500. In FIG. 4A (a), the file # 1 (307 (1)) is completed by the file close 309 and can be registered in the transfer list 500. As shown in FIG. 5B, the file # 1 (307 (1)) is registered in the list 511, and the process proceeds to step S613.
In step S613, the CPU 113 performs file close registration in which data that the scene is completed is written in the transfer list 500. After detecting the file close 309 and registering the file in the transfer list 500, the CPU 113 registers in the transfer list 500 that the scene is completed. In FIG. 5B, it is registered in the list 512 that the file is closed. When step S613 ends, the transfer list registration process is completed.

ステップS650で、CPU113は、ビデオカメラ100が記録準備状態であるか否かを確認する。記録準備状態である場合、ステップS651に遷移し、記録準備状態でない場合、ステップS657に遷移する。
ステップS651〜S656は、図4A(b)及び図4B(b)に示すように、記録準備状態でTransfer Req401が入力された場合の処理である。
ステップS651で、CPU113は、転送リスト500に登録可能なシーンがあるか否かを確認する。CPU113は、直前に記録したシーンの有無を判別する。CPU113は、記録媒体104への記録制御を行うため、記録の有無を判別可能となっている。転送リスト500に追加可能なシーンがある場合、ステップS652に遷移する。転送リスト500に追加可能なシーンがない場合、ステップS657に遷移する。
ステップS652で、CPU113は、転送するシーンを転送リスト500に登録する。ステップS652の処理を、図4A(b)及び図5(c)を参照して説明する。図4A(b)では、図5(c)に示すようにリスト510に、シーン♯1が登録済みの状態となっている。ステップS602でTrasfer Req401の入力を検出したCPU113は、Transfer Req401で転送指示されたシーン番号を取得して、リスト520に登録する。本例では、シーン♯2(306(2))が該当し、図5(c)に示すように、リスト520にシーン♯2が登録される。図4B(b)においても同じく本ステップによる転送リスト500のシーン情報登録処理があり、図5(h)に示すように、リスト550にシーン♯5(306(5))が登録される。
In step S650, the CPU 113 confirms whether the video camera 100 is in a recording preparation state. If it is in the recording preparation state, the process goes to step S651. If it is not the recording preparation state, the process goes to step S657.
Steps S651 to S656 are processes when Transfer Req 401 is input in the recording preparation state, as shown in FIGS. 4A (b) and 4B (b).
In step S 651, the CPU 113 confirms whether there is a scene that can be registered in the transfer list 500. The CPU 113 determines the presence or absence of the scene recorded immediately before. Since the CPU 113 performs recording control on the recording medium 104, it is possible to determine the presence or absence of recording. If there is a scene that can be added to the transfer list 500, the process proceeds to step S652. If there is no scene that can be added to the transfer list 500, the process proceeds to step S657.
In step S652, the CPU 113 registers the scene to be transferred in the transfer list 500. The process of step S652 will be described with reference to FIGS. 4A (b) and 5 (c). In FIG. 4A (b), as shown in FIG. 5 (c), the scene # 1 has been registered in the list 510. The CPU 113 that has detected the input of the Processor Req 401 in step S 602 acquires the scene number instructed to be transferred by the Transfer Req 401, and registers the scene number in the list 520. In this example, the scene # 2 (306 (2)) corresponds, and as shown in FIG. 5C, the scene # 2 is registered in the list 520. Also in FIG. 4B (b), there is scene information registration processing of the transfer list 500 according to this step, and as shown in FIG. 5 (h), the scene # 5 (306 (5)) is registered in the list 550.

ステップS653で、CPU113は、ステップS606と同様、転送するファイルを転送リスト500に登録する。ステップS653の処理を、図4A(b)及び図5(c)を参照して説明する。図5(c)に示すように、ステップS653の実行前は未登録であったシーン♯2のリスト521に、ファイル♯2(307(2))を登録する。図4B(b)においても同じく本ステップによる転送リスト500のファイル情報登録処理がある。図5(h)に示すように、ステップS653の実行前は未登録であったシーン♯5のリスト551、552に、ファイル♯7(307(7))、ファイル♯8(307(8))を登録する。ステップS653が終了すると、ステップS654に遷移する。   In step S653, the CPU 113 registers the file to be transferred in the transfer list 500, as in step S606. The process of step S 653 will be described with reference to FIGS. 4A (b) and 5 (c). As shown in FIG. 5C, the file # 2 (307 (2)) is registered in the list 521 of the scene # 2 which has not been registered before the execution of step S653. Also in FIG. 4B (b), there is a file information registration process of the transfer list 500 by this step. As shown in FIG. 5H, files # 7 (307 (7)) and # 8 (307 (8)) are displayed in the lists 551 and 552 of the scene # 5 which has not been registered before step S653. Register When step S653 ends, the process moves to step S654.

ステップS654で、CPU113は、登録可能な全てのファイルを転送リスト500に登録したか否かを確認する。登録済みの場合、ステップS655に遷移し、未登録のファイルがある場合、ステップS653に戻る。図4B(b)では、1度目のステップS653で、ファイル♯7(307(7))が登録される。その後、ステップS654でファイル♯8(307(8))が登録されていないことが検出されると、再度ステップS653でファイル♯8(307(8))を登録し、ステップS655に遷移する。
ステップS655で、CPU113は、転送リスト500にシーンが完成したというデータを書き込むファイルクローズ登録を行う。ステップS655では、ビデオカメラ100が記録準備中であり、すでにファイルクローズ済みのシーンしか存在しないため、ファイルクローズを監視する処理は必要でない。図4A(b)では、図5(c)に示すようにリスト522にファイルクローズであることを登録する。また、図4B(b)では、図5(h)に示すようにリスト553にファイルクローズであることを登録する。本ステップの終了後、ステップS656に遷移する。
ステップS656で、CPU113は、Transfer Req401を受けて、転送リスト500に登録したことを表示部112にてユーザに通知する。ステップS656が終了すると、転送リスト登録処理は完了する。
In step S 654, the CPU 113 confirms whether all the registrable files have been registered in the transfer list 500. If the file has already been registered, the process proceeds to step S655. If there is an unregistered file, the process returns to step S653. In FIG. 4B (b), the file # 7 (307 (7)) is registered in the first step S653. Thereafter, when it is detected in step S654 that the file # 8 (307 (8)) is not registered, the file # 8 (307 (8)) is registered again in step S653, and the process proceeds to step S655.
In step S655, the CPU 113 performs file close registration in which data that the scene is completed is written in the transfer list 500. In step S655, since the video camera 100 is in preparation for recording and there is only a scene whose file has already been closed, processing for monitoring the file close is not necessary. In FIG. 4A (b), the file close is registered in the list 522 as shown in FIG. 5 (c). Also, in FIG. 4B (b), the file close is registered in the list 553 as shown in FIG. 5 (h). After the end of this step, the process moves to step S656.
In step S 656, the CPU 113 receives the Transfer Req 401 and notifies the user of the fact that it has been registered in the transfer list 500 through the display unit 112. When step S656 is completed, the transfer list registration process is completed.

ステップS657で、CPU113は、転送リスト登録処理が失敗したことをユーザに通知する。操作部106より転送指示されたが、転送リスト500に登録するシーンが存在せず、転送処理が実施されないため表示部112にてユーザに通知する。ステップS657が終了すると、転送リスト登録処理は完了する。   In step S657, the CPU 113 notifies the user that the transfer list registration process has failed. Although a transfer instruction has been issued from the operation unit 106, a scene to be registered in the transfer list 500 does not exist, and the transfer process is not performed. The user is notified by the display unit 112. When step S657 is completed, the transfer list registration process is completed.

ビデオカメラ100は、図6に示す転送リスト登録処理により登録された転送リスト500に従って、シーンを外部機器に転送する。図7は、第1の実施形態に係るビデオカメラ100の転送制御処理を示すフローチャートである。
ステップS701で、CPU113は、転送リスト500に登録するシーンを示す、シーン用ポインタの初期化を行い、ステップS702に遷移する。
ステップS702で、CPU113は、転送リスト500に登録するファイルを示す、ファイル用ポインタの初期化を行い、ステップS703に遷移する。
ステップS703で、CPU113は、転送リスト500に登録されたファイルの有無を確認する。転送リスト500に登録されたファイルがある場合、ステップS704に遷移する。転送リスト500に登録されたファイルがない場合、登録されたファイルが見つかるまで確認を続ける。
ステップS704で、CPU113は、転送リスト500に登録されたファイルで、外部機器に転送可能なファイルがあるか否かを確認する。転送可能なファイルがある場合、ステップS705に遷移する。転送可能なファイルがない場合、転送可能なファイルが見つかるまで確認を続ける。
The video camera 100 transfers the scene to the external device in accordance with the transfer list 500 registered by the transfer list registration process shown in FIG. FIG. 7 is a flowchart showing transfer control processing of the video camera 100 according to the first embodiment.
In step S701, the CPU 113 initializes a scene pointer indicating a scene to be registered in the transfer list 500, and transitions to step S702.
In step S702, the CPU 113 initializes a file pointer indicating a file to be registered in the transfer list 500, and transitions to step S703.
In step S703, the CPU 113 confirms the presence or absence of a file registered in the transfer list 500. If there is a file registered in the transfer list 500, the process proceeds to step S704. If there is no file registered in the transfer list 500, confirmation is continued until the registered file is found.
In step S704, the CPU 113 confirms whether there is a file that can be transferred to the external device among the files registered in the transfer list 500. If there is a transferable file, the process proceeds to step S 705. If there is no transferable file, the check is continued until a transferable file is found.

ステップS705で、CPU113は、転送リスト500に登録され、外部機器に転送可能なファイルの転送を開始し、ステップS706に遷移する。
ステップS706で、CPU113は、転送エラーが発生したか否かを確認する。転送エラーがある場合、ステップS707に遷移する。転送エラーがない場合、ステップS708に遷移する。
ステップS707で、CPU113は、転送エラーのあったファイルが再送可能か否かを確認する。再送可能である場合、ステップS705に遷移し、外部機器にファイルの転送を再度開始する。再送可能でない場合、本処理を完了する。
In step S705, the CPU 113 starts transfer of a file registered in the transfer list 500 and transferable to an external device, and the process proceeds to step S706.
In step S706, the CPU 113 confirms whether a transfer error has occurred. If there is a transfer error, the process proceeds to step S 707. If there is no transfer error, the process proceeds to step S 708.
In step S 707, the CPU 113 confirms whether the file in which the transfer error has occurred can be retransmitted. If the file can be retransmitted, the process proceeds to step S 705, and the file transfer to the external device is started again. If retransmission is not possible, this processing is completed.

ステップS708で、CPU113は、ステップS705で転送を開始したファイルの転送が完了したか否かを確認する。転送が完了している場合、ステップS709に遷移する。転送が完了していない場合、ステップS706に進み、転送中に転送エラーが発生しないかを監視する。
ステップS709で、CPU113は、ステップS708で転送が完了したファイルがあるため、転送リスト500のファイル用ポインタを更新し、ステップS710に遷移する。
ステップS710で、CPU113は、転送リスト500上で参照中のシーンに関連する全てのファイルが転送され、転送リスト500上のファイル用ポインタが「File Close」を参照しているか否かを確認する。ファイル用ポインタが「File Close」を参照している場合、ステップS711に遷移する。ファイル用ポインタが「File Close」を参照していない場合、ステップS704に戻る。
ステップS711で、CPU113は、転送リスト500上でシーン用ポインタの更新を行い、ステップS703に戻る。
In step S 708, the CPU 113 confirms whether transfer of the file whose transfer has been started in step S 705 is completed. If the transfer is completed, the process proceeds to step S709. If the transfer is not completed, the process advances to step S706 to monitor whether a transfer error occurs during transfer.
In step S709, the CPU 113 updates the file pointer in the transfer list 500 because there is a file for which transfer has been completed in step S708, and the process proceeds to step S710.
In step S 710, the CPU 113 confirms whether all files related to the scene referred to on the transfer list 500 have been transferred, and the file pointer on the transfer list 500 refers to “File Close”. If the file pointer refers to "File Close", the process proceeds to step S711. If the file pointer does not refer to "File Close", the process returns to step S704.
In step S711, the CPU 113 updates the scene pointer on the transfer list 500, and returns to step S703.

<第2の実施形態>
次に、第2の実施形態を説明する。なお、ビデオカメラ100の構成及び基本動作は第1の実施形態で説明したものと共通しており、以下では、第1の実施形態との相違点を中心に説明する。
図8は、第2の実施形態に係るビデオカメラ100における記録動作とシーン及びファイルと転送指示との関係の例を示す図である。
図8(a)は、ビデオカメラ100の記録状態(REC304)で、記録中のシーンを外部機器に転送するよう転送指示がなされた状態を示す。
シーン♯1(306(1))は、記録媒体104への初期記録を想定しており、付与される番号を「♯1」としている。
ファイル♯1(307(1))は、シーン♯1(306(1))と同じく、記録媒体104への初期記録を想定しており、付与される番号を「♯1」としている。
Transfer Req401は、記録中のシーン♯1(306(1))を外部機器に転送することを指示する操作部106による入力操作を示す。
この場合に、記録媒体104に記録しているファイル♯1(307(1))を即座に転送するために、Transfer Req401をトリガとしてファイルブレーク310を発生させる。これにより、転送指示を受けた時点のファイル♯1(307(1))を完成状態とするとともに、シーン♯1を引き続き記録する新たなファイル♯2(307(2))を生成する。
Rec Stop308が指示されると、ファイルクローズ309により、記録中で未完成状態のファイル♯2(307(2))をファイルとして完成させる。
Second Embodiment
Next, a second embodiment will be described. The configuration and basic operation of the video camera 100 are the same as those described in the first embodiment, and in the following, differences from the first embodiment will be mainly described.
FIG. 8 is a view showing an example of the relationship between the recording operation, the scene, the file, and the transfer instruction in the video camera 100 according to the second embodiment.
FIG. 8A shows a state in which a transfer instruction has been issued to transfer a scene being recorded to an external device in the recording state (REC 304) of the video camera 100.
Scene # 1 (306 (1)) assumes initial recording on the recording medium 104, and the assigned number is “# 1”.
File # 1 (307 (1)), like scene # 1 (306 (1)), assumes initial recording on the recording medium 104, and the assigned number is “# 1”.
Transfer Req 401 shows an input operation by the operation unit 106 instructing transfer of the scene # 1 (306 (1)) being recorded to an external device.
In this case, in order to immediately transfer the file # 1 (307 (1)) recorded on the recording medium 104, a file break 310 is generated using Transfer Req 401 as a trigger. As a result, the file # 1 (307 (1)) at the time of receiving the transfer instruction is completed, and a new file # 2 (307 (2)) is generated to continue recording the scene # 1.
When the Rec Stop 308 is instructed, the file close 309 completes the unfinished file # 2 (307 (2)) in the recording state as a file.

図8(b)は、ビデオカメラ100の記録状態(REC304)で、記録中のシーンを外部機器に転送するよう転送指示がなされた状態を示す。
シーン♯2(306(2))は、2回目のRec Start303が指示されたことによるシーンを想定しており、付与される番号を「♯2」としている。
ファイル♯3(307(3))は、記録媒体104への3つめのファイルの記録を想定しており、付与される番号を「♯3」としている。
Transfer Req401は、記録中のシーン♯2(306(2))を外部機器に転送することを指示する操作部106による入力操作を示す。
この場合に、記録媒体104に記録しているファイル♯3(307(3))を即座に転送するために、Transfer Req401をトリガとしてファイルブレーク310を発生させる。これにより、転送指示を受けた時点のファイル♯3(307(3))を完成状態とするとともに、シーン♯2を引き続き記録する新たなファイル♯4(307(4))を生成する。
そして、ファイル♯3(307(3))とファイル♯4(307(4))とを足し合わせたファイルサイズがファイルフォーマットのファイル上限容量に達すると、ファイル♯4(307(4))に対してファイルブレーク310が発生する。これにより、ファイル♯4(307(4))を完成状態とするとともに、シーン♯2を引き続き記録する新たなファイル♯5(307(5))を生成する。ファイル♯5(307(5))以降は、自身のファイルサイズがファイルフォーマットのファイル上限容量に達すると、ファイルブレーク310が発生することになる。図8(b)では、ファイル♯5(307(5))に対してファイルブレーク310が発生し、ファイル♯5(307(5))を完成状態とするとともに、シーン♯2を引き続き記録する新たなファイル♯6(307(6))を生成している。
Rec Stop308が指示されると、ファイルクローズ309により、記録中で未完成状態のファイル♯6(307(6))をファイルとして完成させる。
FIG. 8B shows a state in which a transfer instruction has been made to transfer a scene being recorded to an external device in the recording state (REC 304) of the video camera 100.
Scene # 2 (306 (2)) assumes a scene where the second Rec Start 303 is instructed, and the assigned number is "# 2".
File # 3 (307 (3)) assumes recording of the third file on the recording medium 104, and the assigned number is “# 3”.
Transfer Req 401 indicates an input operation by the operation unit 106 instructing transfer of the scene # 2 (306 (2)) being recorded to an external device.
In this case, in order to immediately transfer the file # 3 (307 (3)) recorded on the recording medium 104, a file break 310 is generated using Transfer Req 401 as a trigger. As a result, the file # 3 (307 (3)) at the time of receiving the transfer instruction is completed, and a new file # 4 (307 (4)) is generated to continue recording the scene # 2.
When the combined file size of file # 3 (307 (3)) and file # 4 (307 (4)) reaches the file format upper limit of file capacity, file # 4 (307 (4)) is processed. File break 310 occurs. As a result, the file # 4 (307 (4)) is brought into a completed state, and a new file # 5 (307 (5)) is generated to continue recording the scene # 2. After the file # 5 (307 (5)), the file break 310 is generated when the file size of its own reaches the file capacity limit of the file format. In FIG. 8B, the file break 310 occurs for the file # 5 (307 (5)), and the file # 5 (307 (5)) is completed, and the scene # 2 is continuously recorded. File # 6 (307 (6)) is generated.
When the Rec Stop 308 is instructed, the file close 309 completes the unfinished file # 6 (307 (6)) as a file during recording.

図8(c)は、ビデオカメラ100の記録状態(REC304)で、記録中のシーンを外部機器に転送するよう転送指示がなされた状態を示す。
シーン♯3(306(3))は、3回目のRec Start303が指示されたことによるシーンを想定しており、付与される番号を「♯3」としている。
ファイル♯7(307(7))は、記録媒体104への7つめのファイルの記録を想定しており、付与される番号を「♯7」としている。
Transfer Req401は、記録中のシーン♯3(306(3))を外部機器に転送することを指示する操作部106による入力操作を示す。
この場合に、記録媒体104に記録しているファイル♯7(307(7))を即座に転送するために、Transfer Req401をトリガとしてファイルブレーク310を発生させる。これにより、転送指示を受けた時点のファイル♯7(307(7))を完成状態とするとともに、シーン♯3を引き続き記録する新たなファイル♯8(307(8))を生成する。
そして、ファイル♯7(307(7))とファイル♯8(307(8))とを足し合わせたファイルサイズがファイルフォーマットのファイル上限容量に達すると、ファイル♯8(307(8))に対してファイルブレーク310が発生する。これにより、ファイル♯8(307(8))を完成状態とするとともに、シーン♯3を引き続き記録する新たなファイル♯9(307(9))を生成する。ファイル♯9(307(9))以降は、自身のファイルサイズがファイルフォーマットのファイル上限容量に達すると、ファイルブレーク310が発生することになる。図8(c)では、ファイル♯9(307(9))に対してファイルブレーク310が発生し、ファイル♯9(307(9))を完成状態とするとともに、シーン♯3を引き続き記録する新たなファイル♯10(307(10))を生成している。
Rec Stop308が指示されると、ファイルクローズ309により、記録中で未完成状態のファイル♯10(307(10))をファイルとして完成させる。
ここで、Rec Stop308をトリガとして、ファイル結合801が実行される。ファイル結合801では、Transfer Req401をトリガとするファイルブレーク310により分割されたファイル、本例ではファイル♯7(307(7))とファイル♯8(307(8))と結合して、ファイル♯11(307(11))を生成する。これにより、ファイル数が無駄に増えるのを避けることができる。なお、ここでは、結合したファイルを、最後に記録されたファイルと連番になるようにファイル♯11とリネームしているが、それに限られるものではない。ファイル番号に不連続が生じないように、結合したファイルをファイル♯7とし、ファイル♯9(307(9))及びファイル♯10(307(10))をそれぞれファイル♯8及びファイル♯9とリネームするようにしてもよい。
FIG. 8C shows a state in which a transfer instruction has been made to transfer a scene being recorded to an external device in the recording state (REC 304) of the video camera 100.
Scene # 3 (306 (3)) assumes a scene where the third Rec Start 303 is instructed, and the assigned number is “# 3”.
File # 7 (307 (7)) assumes recording of the seventh file on the recording medium 104, and the assigned number is “# 7”.
Transfer Req 401 indicates an input operation by the operation unit 106 instructing transfer of the scene # 3 (306 (3)) being recorded to an external device.
In this case, in order to immediately transfer the file # 7 (307 (7)) recorded on the recording medium 104, a file break 310 is generated using Transfer Req 401 as a trigger. As a result, the file # 7 (307 (7)) at the time of receiving the transfer instruction is completed, and a new file # 8 (307 (8)) is generated to continue recording the scene # 3.
Then, when the file size obtained by adding file # 7 (307 (7)) and file # 8 (307 (8)) reaches the file maximum capacity of the file format, file # 8 (307 (8)) is processed. File break 310 occurs. As a result, file # 8 (307 (8)) is brought into a completed state, and new file # 9 (307 (9)) is generated to continue recording scene # 3. After the file # 9 (307 (9)), the file break 310 is generated when the file size of its own reaches the file capacity limit of the file format. In FIG. 8C, a file break 310 occurs for file # 9 (307 (9)), and file # 9 (307 (9)) is completed, and scene # 3 is continuously recorded. File # 10 (307 (10)) is generated.
When the Rec Stop 308 is instructed, the file close 309 completes the unfinished file # 10 (307 (10)) as a file during recording.
Here, the file combination 801 is executed with the Rec Stop 308 as a trigger. In file combination 801, files divided by file break 310 triggered by Transfer Req 401, in this example, files # 7 (307 (7)) and # 8 (307 (8)) are combined, and file # 11 is generated. (307 (11)) is generated. This avoids an unnecessary increase in the number of files. Here, although the combined file is renamed as file # 11 so as to be the same as the file recorded last, it is not limited thereto. The combined file is named file # 7, and file # 9 (307 (9)) and file # 10 (307 (10)) are renamed as file # 8 and file # 9, respectively, so that there is no discontinuity in the file numbers. You may do it.

図9は、第2の実施形態に係るビデオカメラ100のファイル生成制御処理及び転送リスト登録処理を示すフローチャートである。
ビデオカメラ100は、図8に示すように転送指示であるTransfer Req401が入力されると、ファイルブレーク310を発生させ、転送リスト500を登録する。ビデオカメラ100は、この転送リスト500に従い、シーンを外部機器に転送する。
ステップS901で、CPU113は、ビデオカメラ100が記録状態であるか否かを確認する。記録状態以外の状態では本処理を実施せず、ステップS901を繰り返す。記録状態である場合、ステップS902に遷移する。
ステップS902で、CPU113は、Transfer Req401が入力されたか否かを確認する。Transfer Req401が入力されない場合、ステップS910に遷移する。Transfer Req401が入力された場合、ステップS903に遷移する。
FIG. 9 is a flowchart showing file generation control processing and transfer list registration processing of the video camera 100 according to the second embodiment.
When Transfer Req 401, which is a transfer instruction, is input as shown in FIG. 8, the video camera 100 generates a file break 310 and registers the transfer list 500. The video camera 100 transfers the scene to an external device according to the transfer list 500.
In step S901, the CPU 113 confirms whether the video camera 100 is in the recording state. In a state other than the recording state, this process is not performed, and step S901 is repeated. If in the recording state, the process proceeds to step S902.
In step S902, the CPU 113 confirms whether Transfer Req 401 has been input. If Transfer Req 401 is not input, the process proceeds to step S 910. If Transfer Req 401 is input, the process proceeds to step S 903.

ステップS903で、CPU113は、ファイルブレーク310を発生させる。これにより、図8(a)では、転送指示を受けた時点のファイル♯1(307(1))を完成状態とするとともに、シーン♯1を引き続き記録する新たなファイル♯2(307(2))を生成する。また、図8(b)では、転送指示を受けた時点のファイル♯3(307(3))を完成状態とするとともに、シーン♯2を引き続き記録する新たなファイル♯4(307(4))を生成する。また、図8(c)では、転送指示を受けた時点のファイル♯7(307(7))を完成状態とするとともに、シーン♯3を引き続き記録する新たなファイル♯8(307(8))を生成する。   In step S 903, the CPU 113 generates a file break 310. Thus, in FIG. 8A, while the file # 1 (307 (1)) at the time of receiving the transfer instruction is completed, a new file # 2 (307 (2) for continuously recording the scene # 1 is obtained. Generate). Also, in FIG. 8B, file # 3 (307 (3)) at the time of receiving the transfer instruction is made complete, and new file # 4 (307 (4)) continues recording scene # 2. Generate Also, in FIG. 8C, file # 7 (307 (7)) at the time of receiving the transfer instruction is made complete, and new file # 8 (307 (8)) continues recording scene # 3. Generate

ステップS904で、CPU113は、記録中のシーンが転送リスト500に登録されているか否かを確認する。転送リスト500に登録がある場合、ステップS906に遷移する。転送リスト500に登録がない場合、ステップS905に遷移する。
ステップS905で、CPU113は、転送するシーンを転送リスト500に登録する。ステップS902でTrasfer Req401の入力を検出したCPU113は、Transfer Req401で転送指示されたシーン番号を取得して、転送リスト500に登録する。
In step S 904, the CPU 113 confirms whether the scene being recorded is registered in the transfer list 500. If the transfer list 500 is registered, the process proceeds to step S 906. If there is no registration in the transfer list 500, the process proceeds to step S905.
In step S 905, the CPU 113 registers the scene to be transferred in the transfer list 500. The CPU 113 that has detected the input of the Processor Req 401 in step S 902 acquires the scene number instructed to be transferred by the Transfer Req 401, and registers the scene number in the transfer list 500.

ステップS906で、CPU113は、転送リスト500に登録可能なファイルがあるか否かを確認する。CPU113は、現在記録中のシーンの情報を管理する。シーンの情報には、シーンを構成するファイルの情報が含まれており、ファイルブレーク310により複数ファイルでシーンが構成されているか判別可能となっている。図8(a)では、Transfer Req401の入力時点でファイルブレーク310を発生させるので、ファイル♯1(307(1))が完成状態となり、転送リスト500に登録することができる。図8(b)におけるファイル♯3(307(3))、図8(c)におけるファイル♯7(307(7))も同様である。この場合、ステップS907に遷移し、転送リスト500の登録処理を実施する。一方、転送リスト500に登録可能なファイルがない場合、ステップS909に遷移する。   In step S 906, the CPU 113 confirms whether there is a file that can be registered in the transfer list 500. The CPU 113 manages information of the scene currently being recorded. The information on the scene includes information on files that make up the scene, and the file break 310 makes it possible to determine whether the scene is composed of a plurality of files. In FIG. 8A, the file break 310 is generated at the input time of the Transfer Req 401, so the file # 1 (307 (1)) is completed and can be registered in the transfer list 500. The same applies to file # 3 (307 (3)) in FIG. 8 (b) and file # 7 (307 (7)) in FIG. 8 (c). In this case, the process transitions to step S 907, and registration processing of the transfer list 500 is performed. On the other hand, if there is no file that can be registered in the transfer list 500, the process proceeds to step S909.

ステップS907で、CPU113は、転送するファイルを転送リスト500に登録する。図8(a)では、完成状態にあるファイル♯1(307(1))を転送リスト500に登録する。また、図8(b)では、完成状態にあるファイル♯3(307(3))を転送リスト500に登録する。また、図8(c)では、完成状態にあるファイル♯7(307(7))を転送リスト500に登録する。
ステップS908で、CPU113は、登録可能な全てのファイルを転送リスト500に登録したか否かを確認する。図8では、転送リスト500に登録するファイルが他に存在しない。登録すべきファイルがある場合、ステップS907に戻る。全てのファイルを登録し終えた場合、ステップS909に遷移する。
ステップS909で、CPU113は、Transfer Req401を受けて、転送リスト500に登録したことを表示部112にてユーザに通知する。表示が終了すると、ステップS910に遷移する。
In step S 907, the CPU 113 registers the file to be transferred in the transfer list 500. In FIG. 8A, file # 1 (307 (1)) in the completed state is registered in transfer list 500. Further, in FIG. 8B, file # 3 (307 (3)) in the completed state is registered in transfer list 500. Further, in FIG. 8C, file # 7 (307 (7)) in the completed state is registered in transfer list 500.
In step S 908, the CPU 113 confirms whether all the registrable files have been registered in the transfer list 500. In FIG. 8, there are no other files registered in the transfer list 500. If there is a file to be registered, the process returns to step S 907. If all the files have been registered, the process proceeds to step S909.
In step S 909, the CPU 113 receives the Transfer Req 401 and notifies the user of the fact that it has been registered in the transfer list 500 through the display unit 112. When the display ends, the process transitions to step S910.

ステップS910で、CPU113は、記録中のシーンに含まれるファイルに対してファイルブレーク310が発生したか否かを確認する。記録媒体104に記録されるファイルのファイルサイズがファイルフォーマットのファイル上限容量に達すると、CPU113の制御によりファイルが分割される。図8(b)では、ファイル♯3(307(3))とファイル♯4(307(4))とを足し合わせたファイルサイズがファイルフォーマットのファイル上限容量に達すると、ファイル♯4(307(4))に対してファイルブレーク310が発生する。以降は、自身のファイルサイズがファイルフォーマットのファイル上限容量に達すると、ファイルブレーク310が発生する。また、図8(c)では、ファイル♯7(307(7))とファイル♯8(307(8))とを足し合わせたファイルサイズがファイルフォーマットのファイル上限容量に達すると、ファイル♯8(307(8))に対してファイルブレーク310が発生する。以降は、自身のファイルサイズがファイルフォーマットのファイル上限容量に達すると、ファイルブレーク310が発生する。ファイルブレーク310を検出した場合、ステップS911に遷移する。ファイルブレーク310を検出しない場合、ステップS913に遷移する。   In step S 910, the CPU 113 confirms whether or not the file break 310 has occurred for the file included in the scene being recorded. When the file size of the file recorded on the recording medium 104 reaches the file format upper limit file capacity, the file is divided by the control of the CPU 113. In FIG. 8B, when the combined file size of file # 3 (307 (3)) and file # 4 (307 (4)) reaches the file format upper limit file capacity, file # 4 (307 (307 (3)). A file break 310 occurs for 4). Thereafter, when the file size of the file reaches the file format upper limit file capacity, the file break 310 occurs. Also, in FIG. 8C, when the file size obtained by adding file # 7 (307 (7)) and file # 8 (307 (8)) reaches the file format upper limit of file capacity, file # 8 ( A file break 310 occurs with respect to 307 (8). Thereafter, when the file size of the file reaches the file format upper limit file capacity, the file break 310 occurs. If the file break 310 is detected, the process proceeds to step S911. If the file break 310 is not detected, the process proceeds to step S 913.

ステップS911で、CPU113は、Transfer Req401が入力されたか否かを確認する。Transfer Req401が入力されない場合、ステップS913に遷移する。Transfer Req401が入力された場合、ステップS912に遷移する。
ステップS912で、CPU113は、転送リスト500の更新を行う。図8(b)では、ファイル♯4(307(4))、ファイル♯5(307(5))を転送リスト500に登録する。また、図8(c)では、ファイル♯9(307(9))を転送リスト500に登録する。
In step S 911, the CPU 113 confirms whether Transfer Req 401 has been input. If Transfer Req 401 is not input, the process proceeds to step S 913. If Transfer Req 401 is input, the process proceeds to step S 912.
In step S912, the CPU 113 updates the transfer list 500. In FIG. 8B, file # 4 (307 (4)) and file # 5 (307 (5)) are registered in transfer list 500. Further, in FIG. 8C, file # 9 (307 (9)) is registered in transfer list 500.

ステップS913で、CPU113は、記録中のシーンに対してファイルクローズ309が発生したか否かを確認する。CPU113は、操作部106よりRec Stop308が入力された場合、ファイルクローズする。図8(a)では、ファイルクローズ309により、ファイル♯2(307(2))が完成状態となり、転送リスト500に登録可能となる。また、図8(b)では、ファイルクローズ309により、ファイル♯6(307(6))が完成状態となり、転送リスト500に登録可能となる。また、図8(c)では、ファイルクローズ309により、ファイル♯10(307(10))が完成状態となり、転送リスト500に登録可能となる。ファイルクローズ309を検出した場合、ステップS914に遷移する。ファイルクローズ309を検出しない場合、ステップS902に戻る。   In step S 913, the CPU 113 confirms whether the file close 309 has occurred for the scene being recorded. When the Rec Stop 308 is input from the operation unit 106, the CPU 113 closes the file. In FIG. 8A, file # 2 (307 (2)) is completed by file close 309 and can be registered in transfer list 500. Further, in FIG. 8B, file # 6 (307 (6)) is completed by file close 309 and can be registered in transfer list 500. Further, in FIG. 8C, file # 10 (307 (10)) is completed by file close 309 and can be registered in transfer list 500. If the file close 309 is detected, the process proceeds to step S914. If the file close 309 is not detected, the process returns to step S902.

ステップS914で、CPU113は、Transfer Req401が入力されたか否かを確認する。Transfer Req401が入力されない場合、本処理を終了する。Transfer Req401が入力された場合、ステップS915に遷移する。
ステップS915で、CPU113は、転送リスト500の更新を行う。図8(a)では、ファイルクローズ309により完成状態となったファイル♯2(307(2))を転送リスト500に登録する。また、図8(b)では、ファイルクローズ309により完成状態となったファイル♯6(307(6))を転送リスト500に登録する。また、図8(c)では、ファイルクローズ309により完成状態となったファイル♯10(307(10))を転送リスト500に登録する。
In step S 914, the CPU 113 confirms whether Transfer Req 401 has been input. If Transfer Req 401 is not input, this process ends. If Transfer Req 401 is input, the process proceeds to step S 915.
In step S 915, the CPU 113 updates the transfer list 500. In FIG. 8A, file # 2 (307 (2)) that has been completed by file close 309 is registered in transfer list 500. Further, in FIG. 8B, file # 6 (307 (6)) that has been completed by file close 309 is registered in transfer list 500. Further, in FIG. 8C, file # 10 (307 (10)) that has been completed by file close 309 is registered in transfer list 500.

ステップS916で、CPU113は、Transfer Req401によりファイルブレークしたファイルを統合する。図8(c)では、ファイル♯7(307(7))とファイル♯8(307(8))と結合して、ファイルを生成する。例えば結合したファイルを、最後に記録されたファイルと連番になるようにファイル♯11(307(11))とリネームする。
ステップS917で、CPU113は、転送リスト500の更新を行う。図8(c)では、ステップS916において結合したファイル♯11(307(11))を転送リスト500に登録する。
ステップS918で、CPU113は、転送リスト500にシーンが完成したというデータを書き込むファイルクローズ登録を行う。CPU113によりファイルクローズ309が検出され、ファイルを転送リスト500に登録した後、シーンが完結した旨を転送リスト500に登録する。
In step S916, the CPU 113 integrates the file which has been subjected to the file break by Transfer Req 401. In FIG. 8C, file # 7 (307 (7)) and file # 8 (307 (8)) are combined to generate a file. For example, the combined file is renamed as file # 11 (307 (11)) so as to be sequential with the file recorded last.
In step S917, the CPU 113 updates the transfer list 500. In FIG. 8C, file # 11 (307 (11)) combined in step S916 is registered in transfer list 500.
In step S 918, the CPU 113 performs file close registration in which data that the scene is completed is written in the transfer list 500. After the file close 309 is detected by the CPU 113 and the file is registered in the transfer list 500, the fact that the scene is completed is registered in the transfer list 500.

ステップS919で、CPU113は、結合したファイルの番号をRAM109に記憶する。図8(c)では、ファイル♯7とFile♯8の番号である♯7と♯8を記憶しておく。なお、ここではファイルの番号を例に挙げたが、ファイルが識別できるものであれば番号でなくてもよい。
ステップS920で、CPU113は、転送リスト500に登録された全てのファイルが転送されたか否かを確認する。転送リスト500に従った転送処理は第1の実施形態で説明したとおりであり、本フローチャートの処理とは非同期に行われる。転送リスト500に登録された全てのファイルが転送されると、ステップS921に遷移する。
ステップS921で、CPU113は、ステップS919において記憶したファイルの番号に対応するファイルを、転送先のFTPサーバから削除する。
本実施形態では、ビデオカメラ100の記録媒体104に記録されているファイル構造と転送先のFTPサーバにあるファイル構造との整合性を取るためにステップS916〜S921の処理を行う。ただし、必ずしもステップS921の削除処理を行わなければならないわけではない。例えばステップS921の削除処理を行わなかった場合に、結合に関する情報をメタ情報としてFTPサーバに送るような処理をしてもよい。
In step S919, the CPU 113 stores the number of the coupled file in the RAM 109. In FIG. 8C, files # 7 and # 8, which are the numbers of files # 7 and # 8, are stored. Although the file number is given as an example here, it may not be the number as long as the file can be identified.
In step S920, the CPU 113 confirms whether all the files registered in the transfer list 500 have been transferred. The transfer processing according to the transfer list 500 is as described in the first embodiment, and is performed asynchronously with the processing of this flowchart. When all the files registered in the transfer list 500 are transferred, the process proceeds to step S921.
In step S921, the CPU 113 deletes the file corresponding to the file number stored in step S919 from the transfer destination FTP server.
In this embodiment, in order to maintain consistency between the file structure recorded in the recording medium 104 of the video camera 100 and the file structure in the transfer destination FTP server, the processes in steps S916 to S921 are performed. However, the deletion process in step S921 does not necessarily have to be performed. For example, when the deletion process in step S 921 is not performed, a process may be performed such that information on connection is sent to the FTP server as meta information.

<第3の実施形態>
次に、第3の実施形態を説明する。なお、ビデオカメラ100の構成及び基本動作は第1、2の実施形態で説明したものと共通しており、以下では、第1、2の実施形態との相違点を中心に説明する。
図10は、第3の実施形態に係るビデオカメラ100における記録動作とシーン及びファイルと転送指示との関係の例を示す図である。
図10は、ビデオカメラ100の記録状態(REC304)で、記録中のシーンを外部機器に転送するよう転送指示がなされた状態を示す。
シーン♯1(306(1))は、記録媒体104への初期記録を想定しており、付与される番号を「♯1」としている。
ファイル♯1(307(1))は、シーン♯1(306(1))と同じく、記録媒体104への初期記録を想定しており、付与される番号を「♯1」としている。
Transfer Req401は、記録中のシーン♯1(306(1))を外部機器に転送することを指示する操作部106による入力操作を示す。
Cancel Transfer Req1001は、Transfer Req401により転送指示された記録中のシーン♯1(306(1))の転送を中断することを指示する操作部106による入力操作を示す。
この場合に、記録媒体104に記録しているファイル♯1(307(1))までを転送対象とし、以降のファイルの転送を停止するために、Cancel Transfer Req1001をトリガとしてファイルブレーク310を発生させる。これにより、転送中断指示を受けた時点のファイル♯1(307(1))を完成状態とするとともに、シーン♯1を引き続き記録する新たなファイル♯2(307(2))を生成する。ファイル♯2(307(2))は、転送中断指示があったので、その後にファイルクローズ309があっても転送リスト500への登録は行われない。
Rec Stop308が指示されると、ファイルクローズ309により、記録中で未完成状態のファイル♯2(307(2))をファイルとして完成させる。
なお、ファイル♯2(307(2))以降のファイルブレーク310、及びRec Stop308後のファイル結合については第2の実施形態と同様の処理になるので、説明を省略する。
Third Embodiment
Next, a third embodiment will be described. The configuration and basic operation of the video camera 100 are the same as those described in the first and second embodiments, and in the following, differences from the first and second embodiments will be mainly described.
FIG. 10 is a diagram showing an example of the relationship between the recording operation, the scene, the file, and the transfer instruction in the video camera 100 according to the third embodiment.
FIG. 10 shows a state in which a transfer instruction has been issued to transfer a scene being recorded to an external device in the recording state (REC 304) of the video camera 100.
Scene # 1 (306 (1)) assumes initial recording on the recording medium 104, and the assigned number is “# 1”.
File # 1 (307 (1)), like scene # 1 (306 (1)), assumes initial recording on the recording medium 104, and the assigned number is “# 1”.
Transfer Req 401 shows an input operation by the operation unit 106 instructing transfer of the scene # 1 (306 (1)) being recorded to an external device.
A Cancel Transfer Req 1001 indicates an input operation by the operation unit 106 instructing to interrupt the transfer of the scene # 1 (306 (1)) being recorded, which is instructed to be transferred by the Transfer Req 401.
In this case, up to file # 1 (307 (1)) recorded in the recording medium 104 is targeted for transfer, and file transfer 310 is triggered by Cancel Transfer Req 1001 to stop transfer of the subsequent files. . As a result, the file # 1 (307 (1)) at the time of receiving the transfer interruption instruction is made complete, and a new file # 2 (307 (2)) for continuously recording the scene # 1 is generated. Since the file # 2 (307 (2)) is instructed to interrupt the transfer, the file is not registered in the transfer list 500 even if there is a file close 309 thereafter.
When the Rec Stop 308 is instructed, the file close 309 completes the unfinished file # 2 (307 (2)) in the recording state as a file.
The file break 310 after the file # 2 (307 (2)) and the file combination after the Rec Stop 308 are the same processes as in the second embodiment, and thus the description thereof is omitted.

図11は、第3の実施形態に係るビデオカメラ100のファイル生成制御処理及び転送リスト登録処理を示すフローチャートである。
ビデオカメラ100は、図10に示すように転送中断指示であるCancel Transfer Req1001が入力されると、ファイルブレーク310を発生させ、転送リスト500を登録する。ビデオカメラ100は、この転送リスト500に従い、シーンを外部機器に転送する。
ステップS1101で、CPU113は、ビデオカメラ100が記録状態であるか否かを確認する。記録状態以外の状態では本処理を実施せず、ステップS1101を繰り返す。記録状態である場合、ステップS1102に遷移する。
ステップS1102で、CPU113は、Transfer Req401が入力されたか否かを確認する。Transfer Req401が入力されない場合、ステップS1109に遷移する。Transfer Req401が入力された場合、ステップS1103に遷移する。
FIG. 11 is a flowchart showing file generation control processing and transfer list registration processing of the video camera 100 according to the third embodiment.
When Cancel Transfer Req 1001 which is a transfer interruption instruction is input as shown in FIG. 10, the video camera 100 generates a file break 310 and registers the transfer list 500. The video camera 100 transfers the scene to an external device according to the transfer list 500.
In step S1101, the CPU 113 confirms whether the video camera 100 is in the recording state. In a state other than the recording state, this process is not performed, and step S1101 is repeated. If in the recording state, the process proceeds to step S1102.
In step S1102, the CPU 113 confirms whether Transfer Req 401 has been input. If Transfer Req 401 is not input, the process proceeds to step S1109. If Transfer Req 401 is input, the process proceeds to step S1103.

ステップS1103で、CPU113は、記録中のシーンが転送リスト500に登録されているか否かを確認する。転送リスト500に登録がある場合、ステップS1105に遷移する。転送リスト500に登録がない場合、ステップS1104に遷移する。
ステップS1104で、CPU113は、転送するシーンを転送リスト500に登録する。ステップS1102でTrasfer Req401の入力を検出したCPU113は、Transfer Req401で転送指示されたシーン番号を取得して、転送リスト500に登録する。
In step S 1103, the CPU 113 confirms whether the scene being recorded is registered in the transfer list 500. If the transfer list 500 is registered, the process proceeds to step S1105. If the transfer list 500 is not registered, the process proceeds to step S1104.
In step S1104, the CPU 113 registers the scene to be transferred in the transfer list 500. In step S 1102, the CPU 113, which has detected the input of the Processor Req 401, acquires the scene number instructed to be transferred by the Transfer Req 401, and registers the acquired scene number in the transfer list 500.

ステップS1105で、CPU113は、転送リスト500に登録可能なファイルがあるか否かを確認する。CPU113は、現在記録中のシーンの情報を管理する。シーンの情報には、シーンを構成するファイルの情報が含まれており、ファイルブレーク310により複数ファイルでシーンが構成されているか判別可能となっている。図10では、Transfer Req401の入力時点で、ファイル♯1(307(1))が未完成状態であり、転送リスト500に登録することができない。この場合、ステップS1108に遷移し、転送リスト500の登録処理を実施する。一方、転送リスト500に登録可能なファイルがある場合、ステップS1106に遷移する。   In step S1105, the CPU 113 confirms whether there is a file that can be registered in the transfer list 500. The CPU 113 manages information of the scene currently being recorded. The information on the scene includes information on files that make up the scene, and the file break 310 makes it possible to determine whether the scene is composed of a plurality of files. In FIG. 10, file # 1 (307 (1)) is in an incomplete state at the time of input of Transfer Req 401, and can not be registered in transfer list 500. In this case, the process transitions to step S1108, and registration processing of the transfer list 500 is performed. On the other hand, if there is a file that can be registered in the transfer list 500, the process proceeds to step S1106.

ステップS1106で、CPU113は、転送するファイルを転送リスト500に登録する。
ステップS1107で、CPU113は、登録可能な全てのファイルを転送リスト500に登録したか否かを確認する。登録すべきファイルがある場合、ステップS1106に戻る。全てのファイルを登録し終えた場合、ステップS1108に遷移する。
ステップS1108で、CPU113は、Transfer Req401を受けて、転送リスト500に登録したことを表示部112にてユーザに通知する。表示が終了すると、ステップS1109に遷移する。
In step S1106, the CPU 113 registers the file to be transferred in the transfer list 500.
In step S1107, the CPU 113 confirms whether all the registrable files have been registered in the transfer list 500 or not. If there is a file to be registered, the process returns to step S1106. If all the files have been registered, the process proceeds to step S1108.
In step S1108, the CPU 113 receives the Transfer Req 401 and notifies the user of the fact that it has been registered in the transfer list 500 by the display unit 112. When the display ends, the process transitions to step S1109.

ステップS1109で、CPU113は、Cancel Transfer Req1001が入力されたか否かを確認する。Cancel Transfer Req1001が入力されない場合、ステップS1116に遷移する。Cancel Transfer Req1001が入力された場合、ステップS1110に遷移する。
ステップS1110で、CPU113は、記録中のシーンが転送リスト500に登録されているか否かを確認する。図10では、シーン♯1(306(1))が転送リスト500に登録されているか否かを確認する。登録されていない場合、ステップS1116に遷移し、登録されている場合、ステップS1111に遷移する。
In step S1109, the CPU 113 confirms whether Cancel Transfer Req 1001 has been input. If Cancel Transfer Req 1001 is not input, the process proceeds to step S1116. If Cancel Transfer Req 1001 is input, the process proceeds to step S1110.
In step S 1110, the CPU 113 confirms whether the scene being recorded is registered in the transfer list 500. In FIG. 10, it is confirmed whether the scene # 1 (306 (1)) is registered in the transfer list 500 or not. If not registered, the process proceeds to step S1116. If registered, the process proceeds to step S1111.

ステップS1111で、CPU113は、ファイルブレーク310を発生させる。これにより、図10では、転送中断指示を受けた時点のファイル♯1(307(1))を完成状態とするとともに、シーン♯1を引き続き記録する新たなファイル♯2(307(2))を生成する。
ステップS1112で、CPU113は、転送リスト500に登録可能なファイルがあるか否かを確認する。CPU113は、現在記録中のシーンの情報を管理する。シーンの情報には、シーンを構成するファイルの情報が含まれており、ファイルブレーク310により複数ファイルでシーンが構成されているか判別可能となっている。図10では、Cancel Transfer Req1001の入力時点でファイルブレーク310を発生させるので、ファイル♯1(307(1))が完成状態となり、転送リスト500に登録することができる。この場合、ステップS1113に遷移し、転送リスト500の登録処理を実施する。一方、転送リスト500に登録可能なファイルがない場合、ステップS1115に遷移する。
At step S 1111, the CPU 113 generates a file break 310. Thus, in FIG. 10, while the file # 1 (307 (1)) at the time of receiving the transfer interruption instruction is made complete, a new file # 2 (307 (2)) in which the scene # 1 is continuously recorded is created. Generate
In step S1112, the CPU 113 confirms whether there is a file that can be registered in the transfer list 500. The CPU 113 manages information of the scene currently being recorded. The information on the scene includes information on files that make up the scene, and the file break 310 makes it possible to determine whether the scene is composed of a plurality of files. In FIG. 10, since the file break 310 is generated at the time of input of Cancel Transfer Req 1001, the file # 1 (307 (1)) is completed and can be registered in the transfer list 500. In this case, the process transitions to step S1113 and registration processing of the transfer list 500 is performed. On the other hand, if there is no file that can be registered in the transfer list 500, the process proceeds to step S1115.

ステップS1113で、CPU113は、転送するファイルを転送リスト500に登録する。図10では、完成状態にあるファイル♯1(307(1))を転送リスト500に登録する。
ステップS1114で、CPU113は、登録可能な全てのファイルを転送リスト500に登録したか否かを確認する。図10では、転送リスト500に登録するファイルが他に存在しない。登録すべきファイルがある場合、ステップS1113に戻る。全てのファイルを登録し終えた場合、ステップS1115に遷移する。
ステップS1115で、CPU113は、Cancel Transfer Req1001を受けて、転送リスト500への登録を中止したことを表示部112にてユーザに通知する。表示が終了すると、ステップS1116に遷移する。
In step S1113, the CPU 113 registers the file to be transferred in the transfer list 500. In FIG. 10, file # 1 (307 (1)) in the completed state is registered in transfer list 500.
In step S1114, the CPU 113 confirms whether all the registrable files have been registered in the transfer list 500 or not. In FIG. 10, there are no other files registered in the transfer list 500. If there is a file to be registered, the process returns to step S1113. If all the files have been registered, the process proceeds to step S1115.
In step S1115, the CPU 113 receives the Cancel Transfer Req 1001, and notifies the user of the fact that the registration in the transfer list 500 has been cancelled. When the display ends, the process transitions to step S1116.

ステップS1116で、CPU113は、記録中のシーンに含まれるファイルに対してファイルブレーク310が発生したか否かを確認する。記録媒体104に記録されるファイルのファイルサイズがファイルフォーマットのファイル上限容量に達すると、CPU113の制御によりファイルが分割される。ファイルブレーク310を検出した場合、ステップS1117に遷移する。ファイルブレーク310を検出しない場合、ステップS1119に遷移する。   In step S1116, the CPU 113 confirms whether or not the file break 310 has occurred in the file included in the scene being recorded. When the file size of the file recorded on the recording medium 104 reaches the file format upper limit file capacity, the file is divided by the control of the CPU 113. If the file break 310 is detected, the process proceeds to step S1117. If the file break 310 is not detected, the process proceeds to step S1119.

ステップS1117で、CPU113は、Transfer Req401が入力されたか否かを確認する。ここでの入力はCancel Transfer Req1001にて転送リストへの登録がキャンセルされていないことを意味している。Transfer Req401が入力されない場合、ステップS1119に遷移する。Transfer Req401が入力された場合、ステップS1118に遷移する。
ステップS1118で、CPU113は、転送リスト500の更新を行う。
ステップS1119で、CPU113は、記録中のシーンに対してファイルクローズ309が発生したか否かを確認する。CPU113は、操作部106よりRec Stop308が入力された場合、ファイルクローズする。図10では、ファイルクローズ309により、ファイル♯2(307(2))が完成状態となり、転送リスト500に登録可能となる。ファイルクローズ309を検出した場合、ステップS1120に遷移する。ファイルクローズ309を検出しない場合、ステップS1102に戻る。
In step S1117, the CPU 113 confirms whether Transfer Req 401 has been input. The input here means that Cancel Transfer Req 1001 has not canceled the registration to the transfer list. If Transfer Req 401 is not input, the process proceeds to step S1119. If Transfer Req 401 is input, the process proceeds to step S1118.
In step S1118, the CPU 113 updates the transfer list 500.
In step S1119, the CPU 113 confirms whether the file close 309 has occurred for the scene being recorded. When the Rec Stop 308 is input from the operation unit 106, the CPU 113 closes the file. In FIG. 10, file # 2 (307 (2)) is completed by file close 309 and can be registered in transfer list 500. If the file close 309 is detected, the process proceeds to step S1120. If the file close 309 is not detected, the process returns to step S1102.

ステップS1120で、CPU113は、Transfer Req401が入力されたか否かを確認する。ここでの入力はCancel Transfer Req1001にて転送リストへの登録がキャンセルされていないことを意味している。Transfer Req401が入力されない場合、本処理を終了する。Transfer Req401が入力された場合、ステップS1121に遷移する。
ステップS1121で、CPU113は、転送リスト500の更新を行う。図10では、ファイルクローズ309により完成状態となったファイル♯2(307(2))を転送リスト500に登録する。
In step S1120, the CPU 113 confirms whether Transfer Req 401 has been input. The input here means that Cancel Transfer Req 1001 has not canceled the registration to the transfer list. If Transfer Req 401 is not input, this process ends. If Transfer Req 401 is input, the process proceeds to step S1121.
In step S1121, the CPU 113 updates the transfer list 500. In FIG. 10, file # 2 (307 (2)) that has been completed by file close 309 is registered in transfer list 500.

ステップS1122で、CPU113は、転送リスト500にシーンが完成したというデータを書き込むファイルクローズ登録を行う。CPU113によりファイルクローズ309が検出され、ファイルを転送リスト500に登録した後、シーンが完結した旨を転送リスト500に登録する。   In step S1122, the CPU 113 performs file close registration in which data that the scene is completed is written in the transfer list 500. After the file close 309 is detected by the CPU 113 and the file is registered in the transfer list 500, the fact that the scene is completed is registered in the transfer list 500.

ステップS1123で、CPU113は、結合したファイルの番号をRAM109に記憶する。
ステップS1124で、CPU113は、転送リスト500に登録された全てのファイルが転送されたか否かを確認する。転送リスト500に従った転送処理は第1の実施形態で説明したとおりであり、本フローチャートの処理とは非同期に行われる。転送リスト500に登録された全てのファイルが転送されると、ステップS1125に遷移する。
ステップS1125で、CPU113は、ステップS1123において記憶したファイルの番号に対応するファイルを、転送先のFTPサーバから削除する。
本実施形態では、ビデオカメラ100の記録媒体104に記録されているファイル構造と転送先のFTPサーバにあるファイル構造との整合性を取るためにステップS1122〜S1125の処理を行う。ただし、必ずしもステップS1125の削除処理を行わなければならないわけではない。例えばステップS1125の削除処理を行わなかった場合に、結合に関する情報をメタ情報としてFTPサーバに送るような処理をしてもよい。
なお、第3の実施形態では、Transfer Req401をトリガとしてはファイルブレーク310を発生させない形態を説明したが、第2の実施形態のように、Transfer Req401をトリガとしてファイルブレーク310を発生させるようにしてもよい。
In step S1123, the CPU 113 stores the number of the coupled file in the RAM 109.
In step S1124, the CPU 113 confirms whether all the files registered in the transfer list 500 have been transferred. The transfer processing according to the transfer list 500 is as described in the first embodiment, and is performed asynchronously with the processing of this flowchart. When all the files registered in the transfer list 500 are transferred, the process proceeds to step S1125.
In step S1125, the CPU 113 deletes the file corresponding to the file number stored in step S1123 from the transfer destination FTP server.
In this embodiment, in order to maintain consistency between the file structure recorded in the recording medium 104 of the video camera 100 and the file structure in the transfer destination FTP server, the processes in steps S1122 to S1125 are performed. However, the deletion process in step S1125 does not necessarily have to be performed. For example, when the deletion process in step S1125 is not performed, a process may be performed such that information on connection is sent to the FTP server as meta information.
In the third embodiment, the form in which the file break 310 is not generated with Transfer Req 401 as a trigger has been described. However, as in the second embodiment, the file break 310 is generated with Transfer Req 401 as a trigger. It is also good.

以上、本発明を実施形態と共に説明したが、上記実施形態は本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。
(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
As mentioned above, although the present invention was explained with an embodiment, the above-mentioned embodiment shows only an example of the embodiment in the case of carrying out the present invention, and the technical scope of the present invention is interpreted restrictively by these. It is a must-have. That is, the present invention can be implemented in various forms without departing from the technical concept or the main features thereof.
(Other embodiments)
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or storage medium, and one or more processors in a computer of the system or apparatus read and execute the program. Can also be realized. It can also be implemented by a circuit (eg, an ASIC) that implements one or more functions.

100:ビデオカメラ、101:レンズ、102:CMOS、103:カメラ信号処理部、104:記録媒体、105:電源、106:操作部、107:入力インタフェース、108:ROM、109:RAM、110:CODEC、111:出力インタフェース、112:表示部、113:CPU、114:通信制御部、115:通信モジュール、116:通信インタフェース、118:データバス   100: Video camera, 101: Lens, 102: CMOS, 103: Camera signal processing unit, 104: Recording medium, 105: Power supply, 106: Operation unit, 107: Input interface, 108: ROM, 109: RAM, 110: CODEC , 111: output interface, 112: display unit, 113: CPU, 114: communication control unit, 115: communication module, 116: communication interface, 118: data bus

Claims (10)

記録媒体に画像データを記録し、前記記録媒体に記録した画像データを外部機器に転送する画像記録装置であって、
記録開始指示を受けてから記録終了指示を受けるまでのシーンの画像データの記録中に転送指示を受けたとき、転送指示を受けた時点のファイルである第1のファイルを完成状態とするとともに、前記シーンを引き続き記録する新たな第2のファイルを生成するファイル生成制御手段と、
完成状態となったファイルを転送先に転送する転送制御手段と、
前記第1のファイルと前記第2のファイルとを結合する結合手段とを備えたこと特徴とする画像記録装置。
An image recording apparatus for recording image data on a recording medium and transferring the image data recorded on the recording medium to an external device,
When the transfer instruction is received during recording of the image data of the scene from the reception of the recording start instruction to the reception of the recording end instruction, the first file, which is the file at the time of receiving the transfer instruction, is completed. File generation control means for generating a new second file for continuously recording the scene;
Transfer control means for transferring a completed file to a transfer destination;
An image recording apparatus comprising: combining means for combining the first file and the second file.
前記結合手段は、前記シーンの画像データの記録停止後に、前記第1のファイルと前記第2のファイルとを結合すること特徴とする請求項1に記載の画像記録装置。   The image recording apparatus according to claim 1, wherein the combining unit combines the first file and the second file after stopping recording of the image data of the scene. 前記結合手段により結合したファイル、及び結合に関する情報のうち少なくともいずれかを前記転送先に転送することを特徴とする請求項1又は2に記載の画像記録装置。   3. The image recording apparatus according to claim 1, wherein at least one of the file combined by the combining unit and information on the combination is transferred to the transfer destination. 前記転送先から前記第1のファイルと前記第2のファイルとを削除することを特徴とする請求項3に記載の画像記録装置。   4. The image recording apparatus according to claim 3, wherein the first file and the second file are deleted from the transfer destination. 記録媒体に画像データを記録し、前記記録媒体に記録した画像データを外部機器に転送する画像記録装置であって、
記録開始指示を受けてから記録終了指示を受けるまでのシーンの画像データの記録中に転送指示を受けた後、転送中断指示を受けたとき、前記転送中断指示を受けた時点のファイルである第1のファイルを完成状態とするとともに、前記シーンを引き続き記録する新たな第2のファイルを生成するファイル生成制御手段と、
完成状態となったファイルを転送先に転送する転送制御手段とを備えたこと特徴とする画像記録装置。
An image recording apparatus for recording image data on a recording medium and transferring the image data recorded on the recording medium to an external device,
The file is a file at the time when the transfer interruption instruction is received when the transfer interruption instruction is received after receiving the transfer instruction during recording of the image data of the scene from the reception of the recording start instruction to the reception of the recording end instruction. File generation control means for generating a new second file for recording the scene continuously while setting the first file as a complete state;
An image recording apparatus comprising: transfer control means for transferring a completed file to a transfer destination.
前記ファイル生成制御手段は、前記シーンの画像データの記録中に、所定のファイルサイズに達するたびにファイルブレークを発生させて、前記所定のファイルサイズに達したファイルを完成状態とするとともに、前記シーンを引き続き記録する新たなファイルを生成し、
前記第1のファイルと前記第2のファイルとを足し合わせたファイルサイズが前記所定のファイルサイズに達したときにファイルブレークを発生させることを特徴とする請求項1乃至5のいずれか1項に記載の画像記録装置。
The file generation control means generates a file break each time a predetermined file size is reached while recording the image data of the scene, and completes the file reaching the predetermined file size, and the scene Create a new file to continue recording
6. A file break is generated when a file size obtained by adding together the first file and the second file reaches the predetermined file size. Image recording apparatus as described.
記録媒体に画像データを記録し、前記記録媒体に記録した画像データを外部機器に転送する画像記録装置の制御方法であって、
記録開始指示を受けてから記録終了指示を受けるまでのシーンの画像データの記録中に転送指示を受けたとき、転送指示を受けた時点のファイルである第1のファイルを完成状態とするとともに、前記シーンを引き続き記録する新たな第2のファイルを生成するステップと、
完成状態となったファイルを転送先に転送するステップと、
前記第1のファイルと前記第2のファイルとを結合するステップとを有すること特徴とする画像記録装置の制御方法。
A control method of an image recording apparatus which records image data on a recording medium and transfers the image data recorded on the recording medium to an external device,
When the transfer instruction is received during recording of the image data of the scene from the reception of the recording start instruction to the reception of the recording end instruction, the first file, which is the file at the time of receiving the transfer instruction, is completed. Generating a new second file that continues to record the scene;
Transferring the completed file to a transfer destination;
And c. Combining the first file and the second file.
記録媒体に画像データを記録し、前記記録媒体に記録した画像データを外部機器に転送する画像記録装置の制御方法であって、
記録開始指示を受けてから記録終了指示を受けるまでのシーンの画像データの記録中に転送指示を受けた後、転送中断指示を受けたとき、前記転送中断指示を受けた時点のファイルである第1のファイルを完成状態とするとともに、前記シーンを引き続き記録する新たな第2のファイルを生成するステップと、
完成状態となったファイルを転送先に転送するステップとを有すること特徴とする画像記録装置の制御方法。
A control method of an image recording apparatus which records image data on a recording medium and transfers the image data recorded on the recording medium to an external device,
The file is a file at the time when the transfer interruption instruction is received when the transfer interruption instruction is received after receiving the transfer instruction during recording of the image data of the scene from the reception of the recording start instruction to the reception of the recording end instruction. Creating a new second file for recording the scene while making the one file complete;
And c. Transferring the completed file to a transfer destination.
記録媒体に画像データを記録し、前記記録媒体に記録した画像データを外部機器に転送する画像記録装置を制御するためのプログラムであって、
記録開始指示を受けてから記録終了指示を受けるまでのシーンの画像データの記録中に転送指示を受けたとき、転送指示を受けた時点のファイルである第1のファイルを完成状態とするとともに、前記シーンを引き続き記録する新たな第2のファイルを生成する処理と、
完成状態となったファイルを転送先に転送する処理と、
前記第1のファイルと前記第2のファイルとを結合する処理とをコンピュータに実行させるためのプログラム。
A program for controlling an image recording apparatus for recording image data on a recording medium and transferring the image data recorded on the recording medium to an external device,
When the transfer instruction is received during recording of the image data of the scene from the reception of the recording start instruction to the reception of the recording end instruction, the first file, which is the file at the time of receiving the transfer instruction, is completed. Generating a new second file that continues to record the scene;
Processing of transferring a completed file to a transfer destination,
A program for causing a computer to execute a process of combining the first file and the second file.
記録媒体に画像データを記録し、前記記録媒体に記録した画像データを外部機器に転送する画像記録装置を制御するためのプログラムであって、
記録開始指示を受けてから記録終了指示を受けるまでのシーンの画像データの記録中に転送指示を受けた後、転送中断指示を受けたとき、前記転送中断指示を受けた時点のファイルである第1のファイルを完成状態とするとともに、前記シーンを引き続き記録する新たな第2のファイルを生成する処理と、
完成状態となったファイルを転送先に転送する処理とをコンピュータに実行させるためのプログラム。
A program for controlling an image recording apparatus for recording image data on a recording medium and transferring the image data recorded on the recording medium to an external device,
The file is a file at the time when the transfer interruption instruction is received when the transfer interruption instruction is received after receiving the transfer instruction during recording of the image data of the scene from the reception of the recording start instruction to the reception of the recording end instruction. A process of generating a new second file for recording the scene while making the file of 1 complete;
A program for causing a computer to execute a process of transferring a completed file to a transfer destination.
JP2015164980A 2015-08-10 2015-08-24 Image recording apparatus, control method thereof and program Active JP6501676B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2015164980A JP6501676B2 (en) 2015-08-24 2015-08-24 Image recording apparatus, control method thereof and program
US15/230,180 US9852760B2 (en) 2015-08-10 2016-08-05 Image recording apparatus, control method of the same, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015164980A JP6501676B2 (en) 2015-08-24 2015-08-24 Image recording apparatus, control method thereof and program

Publications (2)

Publication Number Publication Date
JP2017046056A JP2017046056A (en) 2017-03-02
JP6501676B2 true JP6501676B2 (en) 2019-04-17

Family

ID=58212233

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015164980A Active JP6501676B2 (en) 2015-08-10 2015-08-24 Image recording apparatus, control method thereof and program

Country Status (1)

Country Link
JP (1) JP6501676B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060016772A (en) * 2003-05-12 2006-02-22 마츠시타 덴끼 산교 가부시키가이샤 Recording device, and related control method, computer program and system lsi
JP2005328154A (en) * 2004-05-12 2005-11-24 Canon Inc Recording apparatus, file dividing method, and program
JP4902415B2 (en) * 2007-04-23 2012-03-21 キヤノン株式会社 Recording / reproducing apparatus and control method thereof
JP5004706B2 (en) * 2007-07-24 2012-08-22 キヤノン株式会社 Recording apparatus and recording method
JP2009225116A (en) * 2008-03-17 2009-10-01 Panasonic Corp Video recording device with network transmission function
JP2010273025A (en) * 2009-05-20 2010-12-02 Sony Corp Electronic device, system and method of transferring contents and program

Also Published As

Publication number Publication date
JP2017046056A (en) 2017-03-02

Similar Documents

Publication Publication Date Title
JP4953603B2 (en) Imaging apparatus and control method thereof
JPWO2013132828A1 (en) Communication system and relay device
JP5698475B2 (en) COMMUNICATION DEVICE, RELAY DEVICE, COMMUNICATION DEVICE CONTROL METHOD, RELAY DEVICE CONTROL METHOD, AND PROGRAM
JP6602080B2 (en) Imaging system, control method therefor, and computer program
JP6501676B2 (en) Image recording apparatus, control method thereof and program
JP2010068295A (en) Communication terminal
JP6719932B2 (en) Information setting device, information management device, information generating device, control method thereof, and program
JP2017038238A (en) Image recording apparatus, control method thereof, and program
JP6426969B2 (en) Imaging device, control method therefor, system, and program
JP2018137726A (en) Imaging apparatus, control method, and program
CN111385673B (en) Communication apparatus, control method thereof, and recording medium thereof
JP6501669B2 (en) Image recording apparatus, control method thereof and program
JPWO2020129696A1 (en) Information processing equipment, information processing methods, programs, and information processing systems
JP6300475B2 (en) Information processing apparatus, communication device, control method thereof, data transfer method, and program
US9852760B2 (en) Image recording apparatus, control method of the same, and recording medium
JP5979949B2 (en) Image data transmitting apparatus and image data receiving apparatus
JP7146434B2 (en) COMMUNICATION DEVICE, CONTROL METHOD THEREOF, AND PROGRAM
JP2010252075A (en) Image management apparatus
JP2018006957A (en) Image recording device, control method therefor and program
JP6632374B2 (en) Data processing device, communication device, and control method
JP2015222931A (en) Image processing device and external device
JP2018195866A (en) Image processing apparatus, control method the same, and program
JP2015198407A (en) Image recording apparatus, control method of the same, and program
JP2013239926A (en) Imaging apparatus, control method therefor, and program
JP2019067133A (en) Information processing device, control method of information processing device, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180807

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190208

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190319

R151 Written notification of patent or utility model registration

Ref document number: 6501676

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151