JP6857066B2 - Recording / playback device, control method of recording / playback device, and program - Google Patents

Recording / playback device, control method of recording / playback device, and program Download PDF

Info

Publication number
JP6857066B2
JP6857066B2 JP2017068744A JP2017068744A JP6857066B2 JP 6857066 B2 JP6857066 B2 JP 6857066B2 JP 2017068744 A JP2017068744 A JP 2017068744A JP 2017068744 A JP2017068744 A JP 2017068744A JP 6857066 B2 JP6857066 B2 JP 6857066B2
Authority
JP
Japan
Prior art keywords
recording
data
memory card
recording media
tuning
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
JP2017068744A
Other languages
Japanese (ja)
Other versions
JP2018170732A (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 JP2017068744A priority Critical patent/JP6857066B2/en
Publication of JP2018170732A publication Critical patent/JP2018170732A/en
Application granted granted Critical
Publication of JP6857066B2 publication Critical patent/JP6857066B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)
  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

本発明は、記録再生装置、記録再生装置の制御方法、及び、プログラムに関する。 The present invention relates to a recording / playback device, a control method for the recording / playback device, and a program.

メモリカード等の記録媒体に画像データや音声データ等を書き込み、或いは記録媒体に記録されたデータを読み出して再生する装置が存在する。記録媒体が接続される装置(ホスト装置)と記録媒体との間におけるデータの書き込み、読み出しは、ホスト装置が発生するクロック信号に合わせて行われる。ホスト装置がクロック信号の1つのクロックパルスを送信した後、書き込み又は読み出しの対象となるデータの送受信、或いはコマンドに対するレスポンスの受信が行われる。このため、クロックパルスとデータやレスポンスとは、完全に同期したタイミングで送受信される訳ではない。例えば、ホスト装置がSDメモリカードのような記録媒体からデータの読み出しを行う場合、ホスト装置から記録媒体にクロックパルスが与えられてからデータ送信が行われるまでは、規格化された固定値分だけ遅延が存在することになる。このため、ホスト装置は、クロックパルスの送信から固定値分だけ遅延したタイミングで、記録媒体から送信されたデータをラッチすることにより、記録媒体から送信されたデータを取得している。 There is a device that writes image data, audio data, or the like on a recording medium such as a memory card, or reads and reproduces the data recorded on the recording medium. Data is written and read between the device (host device) to which the recording medium is connected and the recording medium in accordance with the clock signal generated by the host device. After the host device transmits one clock pulse of the clock signal, data to be written or read is transmitted / received, or a response to a command is received. Therefore, the clock pulse and the data or response are not transmitted and received at the timing of perfect synchronization. For example, when the host device reads data from a recording medium such as an SD memory card, only a standardized fixed value is used from the time when the clock pulse is given to the recording medium by the host device until the data is transmitted. There will be a delay. Therefore, the host device acquires the data transmitted from the recording medium by latching the data transmitted from the recording medium at a timing delayed by a fixed value from the transmission of the clock pulse.

一方で、近年は記録媒体に読み書きするデータレートの向上に伴い、クロックパルスの送信を高速化する必要があり、データ取得のためのクロックパルスからの遅延量は、固定値で規定することが困難になっている。これに対し、SDメモリカードの高速規格であるUHS−I(UltraHighSpeed)では、高速クロックを使用してデータの読み出しを行う場合、カードごとにデータラッチのタイミングを調整した上でデータ読み出しを行うことが規定されている。このようなラッチタイミングの調整処理はチューニング処理と呼ばれる(特許文献1参照)。 On the other hand, in recent years, with the improvement of the data rate for reading and writing to the recording medium, it is necessary to speed up the transmission of the clock pulse, and it is difficult to specify the delay amount from the clock pulse for data acquisition with a fixed value. It has become. On the other hand, in UHS-I (Ultra High Speed), which is a high-speed standard for SD memory cards, when reading data using a high-speed clock, the data should be read after adjusting the data latch timing for each card. Is stipulated. Such a latch timing adjustment process is called a tuning process (see Patent Document 1).

また、複数の記録媒体に対して撮影した動画を同時に記録する機能を持つ装置も登場している。 In addition, devices having a function of simultaneously recording moving images shot on a plurality of recording media have also appeared.

特開2012−54715号公報Japanese Unexamined Patent Publication No. 2012-54715

チューニング処理中は、記録媒体に対するデータの書き込みを行うことができないため、書き込み用データのためのバッファの空き容量が減少し、バッファがオーバーフローしてしまう可能性がある。特に、複数の記録媒体に対して同時に動画を記録している場合、これら複数の記録媒体に対して同時にチューニング処理を実施すると、複数の記録媒体でバッファのオーバーフローが発生し、同時に記録停止してしまうおそれがある。 Since data cannot be written to the recording medium during the tuning process, the free space of the buffer for the data for writing decreases, and the buffer may overflow. In particular, when moving images are being recorded on a plurality of recording media at the same time, if tuning processing is performed on the plurality of recording media at the same time, a buffer overflow occurs on the plurality of recording media and recording is stopped at the same time. There is a risk that it will end up.

本発明はこのような状況に鑑みてなされたものであり、チューニング不足に起因するライトエラーやリトライの発生を抑制しつつ、バッファオーバーフローによる記録停止の同時発生を抑制する技術を提供する。 The present invention has been made in view of such a situation, and provides a technique for suppressing the simultaneous occurrence of recording stop due to a buffer overflow while suppressing the occurrence of write errors and retries due to insufficient tuning.

上記課題を解決するための本発明の記録再生装置は、
複数の記録媒体のそれぞれに対してクロック信号を出力する出力手段と、
前記複数の記録媒体のそれぞれに命令を送信すると共に、前記クロック信号を遅延させることにより得られたタイミング信号に応じて、前記複数の記録媒体のそれぞれから送信されたデータを受信する通信手段と、
前記通信手段を制御して、前記複数の記録媒体のそれぞれについて前記タイミング信号の遅延量を調整する調整処理の実行を制御する制御手段とを備え、
前記制御手段は、前記複数の記録媒体のうち、いずれか1つの記録媒体に対する調整処理が実行されている間は、前記複数の記録媒体のうちの他の記録媒体に対する調整処理の実行を抑制するように制御する。
The recording / reproducing device of the present invention for solving the above problems is
An output means that outputs a clock signal to each of a plurality of recording media,
A communication means that transmits a command to each of the plurality of recording media and receives data transmitted from each of the plurality of recording media according to a timing signal obtained by delaying the clock signal.
The communication means is provided with a control means for controlling the execution of the adjustment process for adjusting the delay amount of the timing signal for each of the plurality of recording media.
The control means suppresses execution of the adjustment process for the other recording medium among the plurality of recording media while the adjustment process for any one of the plurality of recording media is being executed. To control.

本発明によれば、チューニング不足に起因するライトエラーやリトライの発生を抑制しつつ、バッファオーバーフローによる記録停止の同時発生を抑制することができる。 According to the present invention, it is possible to suppress the simultaneous occurrence of recording stop due to buffer overflow while suppressing the occurrence of write errors and retries due to insufficient tuning.

発明の実施形態に対応する記録再生装置の構成例を示すブロック図。The block diagram which shows the structural example of the recording / reproduction apparatus corresponding to the embodiment of an invention. 発明の実施形態に対応するメモリカードコントローラ113の構成例を示すブロック図、及び、メモリカードのラッチタイミングを説明するための図。A block diagram showing a configuration example of the memory card controller 113 corresponding to the embodiment of the present invention, and a diagram for explaining the latch timing of the memory card. 発明の実施形態1に対応する記録再生装置の動作の一例を示すフローチャート。The flowchart which shows an example of the operation of the recording / playback apparatus corresponding to Embodiment 1 of the invention. 発明の実施形態1に対応する記録再生装置の動作の一例を示すシーケンスチャート。A sequence chart showing an example of the operation of the recording / reproducing device corresponding to the first embodiment of the present invention. 発明の実施形態2に対応する記録再生装置の動作の一例を示すフローチャート。The flowchart which shows an example of the operation of the recording / playback apparatus corresponding to Embodiment 2 of the invention. 発明の実施形態2に対応する記録再生装置の動作の一例を示すシーケンスチャート。A sequence chart showing an example of the operation of the recording / reproducing device corresponding to the second embodiment of the present invention.

以下、添付図面を参照して、本発明の実施形態を説明する。なお、本発明の技術的範囲は、特許請求の範囲によって確定されるのであって、以下の個別の実施形態によって限定されるわけではない。また、実施形態の中で説明されている特徴の組み合わせすべてが、本発明に必須とは限らない。 Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. The technical scope of the present invention is determined by the scope of claims, and is not limited by the following individual embodiments. Also, not all combinations of features described in the embodiments are essential to the present invention.

<第1の実施形態>
以下、本発明の例示的な実施形態について、図面を参照して詳細に説明する。なお、以下に説明する実施形態では、記録再生装置の一例として、接続された複数のメモリカードに対してデータの書き込み/読み出しが可能なデジタルカメラに、本発明を適用した例を説明する。しかし、本発明は、複数の記録媒体に対する同時のデータの書き込み/読み出しが可能な任意の機器(ホスト装置)に適用可能であり、デジタルカメラに限定されず、例えば、パソコン、携帯電話、スマートフォン、PDA、デジタルビデオカメラ、タブレット端末、携帯型メディアプレーヤ等の任意のホスト装置、情報処理装置、撮像装置、データ生成装置等として実施することもできる。
<First Embodiment>
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the drawings. In the embodiment described below, as an example of the recording / playback device, an example in which the present invention is applied to a digital camera capable of writing / reading data to a plurality of connected memory cards will be described. However, the present invention can be applied to any device (host device) capable of writing / reading data to a plurality of recording media at the same time, and is not limited to a digital camera, for example, a personal computer, a mobile phone, a smartphone, and the like. It can also be implemented as an arbitrary host device such as a PDA, a digital video camera, a tablet terminal, a portable media player, an information processing device, an imaging device, a data generation device, or the like.

図1は、本実施形態のデジタルカメラ100の構成の一例を示すブロック図である。図1において、撮影レンズ101は、被写体像をとらえ、絞り102によって光量が所定量に制限された後、撮像素子103上に被写体像を結像させる。結像した被写体像は、A/D変換器104でデジタル化される。デジタル化された画像データは、画像処理部105でガンマ補正、ホワイトバランス補正、及びノイズリダクション処理等が行われた後、フレームメモリ106に保持される。フレームメモリ106に保持された画像データは、データバス107に非圧縮画像データとして出力される。 FIG. 1 is a block diagram showing an example of the configuration of the digital camera 100 of the present embodiment. In FIG. 1, the photographing lens 101 captures a subject image, and after the amount of light is limited to a predetermined amount by the aperture 102, the subject image is formed on the image sensor 103. The imaged subject image is digitized by the A / D converter 104. The digitized image data is held in the frame memory 106 after gamma correction, white balance correction, noise reduction processing, and the like are performed by the image processing unit 105. The image data held in the frame memory 106 is output to the data bus 107 as uncompressed image data.

本実施形態において、撮影レンズ101からフレームメモリ106までの構成を撮像部10と呼ぶことにする。以下の実施形態では、撮像部10から出力される画像データを記録媒体であるメモリカードA115或いはメモリカードB121に書き込む場合等について説明する。しかし、本発明が適用可能な対象は画像データに限定されるものではなく、音声データ、動画像データと音声データとを含むマルチメディアデータ、或いは、メモリカードへの書き込み対象となり得るその他の任意のデータであってもよい。これらの種類のデータを総称して情報データと呼ぶことができる。本発明の実施形態としての記録再生装置は、情報データを生成するために、撮像部10に追加してマイク、A/D変換器、音声処理部を含む音声生成部等を更に備えることができる。 In the present embodiment, the configuration from the photographing lens 101 to the frame memory 106 will be referred to as an imaging unit 10. In the following embodiment, a case where the image data output from the imaging unit 10 is written to the memory card A115 or the memory card B121 which is a recording medium will be described. However, the object to which the present invention is applicable is not limited to image data, but is limited to audio data, multimedia data including moving image data and audio data, or any other object that can be written to a memory card. It may be data. These types of data can be collectively referred to as information data. The recording / reproducing device according to the embodiment of the present invention may further include a microphone, an A / D converter, a voice generation unit including a voice processing unit, and the like in addition to the imaging unit 10 in order to generate information data. ..

撮像部10は、データバス107に非圧縮画像データおよび画像表示用のデータを出力し、当該データはメモリ116に格納される。メモリ116は、例えばDRAMとして構成されても良い。JPEGコーデック108は、メモリ116が保持する非圧縮画像データを静止画として圧縮符号化し、JPEG静止画データを生成する。MPEGコーデック109は、非圧縮画像データを動画として圧縮符号化し、MPEG動画データを生成する。 The imaging unit 10 outputs uncompressed image data and image display data to the data bus 107, and the data is stored in the memory 116. The memory 116 may be configured as, for example, a DRAM. The JPEG codec 108 compresses and encodes the uncompressed image data held in the memory 116 as a still image to generate JPEG still image data. The MPEG codec 109 compresses and encodes uncompressed image data as a moving image to generate MPEG moving image data.

ディスプレイ111は、画像や各種情報を表示する表示部であって、例えば液晶パネルで構成される。ディスプレイドライバ112は、メモリ116に格納(保持)されている画像表示用のデータをディスプレイ111用の表示信号に変換してディスプレイ111に供給する。こうして、メモリ116に書き込まれた表示用の画像データは、ディスプレイドライバ112を介してディスプレイ111により表示される。ディスプレイ111は、電子ビューファインダとして機能し、スルー画像表示を行うこともできる。ディスプレイ111を電子ビューファインダとして機能させる場合、ディスプレイドライバ112は、A/D変換器104によって一度A/D変換されメモリ116に蓄積されたデジタル信号の解像度をディスプレイ111のドット数に合わせて削減する。その後、ディスプレイドライバ112は、デジタル信号を液晶表示信号に変換し、ディスプレイ111に逐次転送する。 The display 111 is a display unit that displays images and various information, and is composed of, for example, a liquid crystal panel. The display driver 112 converts the image display data stored (held) in the memory 116 into a display signal for the display 111 and supplies the data to the display 111. In this way, the image data for display written in the memory 116 is displayed by the display 111 via the display driver 112. The display 111 functions as an electronic viewfinder and can also display a through image. When the display 111 functions as an electronic viewfinder, the display driver 112 reduces the resolution of the digital signal once A / D converted by the A / D converter 104 and stored in the memory 116 according to the number of dots of the display 111. .. After that, the display driver 112 converts the digital signal into a liquid crystal display signal and sequentially transfers the digital signal to the display 111.

メモリ116は、JPEGコーデック108で生成されるJPEG静止画データ又はMPEGコーデック109で生成されるMPEG動画データなどの、メモリカードに記録されるデータを一時的に記憶する領域(バッファ)としても使用される。本実施形態では、後述する同時記録モードの実行時においては、データ記録先のメモリカードのそれぞれについてバッファが確保される。メモリ116のバッファに記憶されたデータは、メモリカードコントローラ113により読み出されてメモリカード115(記録媒体)に書き込まれる。バッファに対するデータの書き込み、読み出しは制御部118により制御される。また、メモリ116は、撮影された画像から再生時のインデックス表示で使用するサムネイル画像を生成する画素数変換部110のための作業メモリ空間の提供も行う。画素数変換部110は、メモリ116に保持されているJPEG静止画データや、MPEG動画データのフレーム画像の画素数を変換し、サムネイル画像を生成する。更に、メモリ116は、前述の通り、ディスプレイ111で表示を行うためのビデオメモリとしての空間も提供する。更に、メモリ116は、接続される記録媒体毎にチューニング処理中か否かを示すチューニング中フラグを記憶する。 The memory 116 is also used as an area (buffer) for temporarily storing data recorded on the memory card, such as JPEG still image data generated by the JPEG codec 108 or MPEG moving image data generated by the MPEG codec 109. To. In the present embodiment, a buffer is secured for each of the data recording destination memory cards when the simultaneous recording mode described later is executed. The data stored in the buffer of the memory 116 is read by the memory card controller 113 and written to the memory card 115 (recording medium). The writing and reading of data to the buffer is controlled by the control unit 118. The memory 116 also provides a working memory space for the pixel number conversion unit 110 that generates a thumbnail image to be used for index display during reproduction from the captured image. The pixel number conversion unit 110 converts the number of pixels of the frame image of the JPEG still image data and the MPEG moving image data held in the memory 116 to generate a thumbnail image. Further, as described above, the memory 116 also provides a space as a video memory for displaying on the display 111. Further, the memory 116 stores a tuning flag indicating whether or not tuning processing is being performed for each connected recording medium.

メモリカードA115およびメモリカードB121(以下、これらを総称して単にメモリカードとも言う。)は、カードスロット/検出SWA114およびカードスロット/検出SWB120を介してデジタルカメラ100に対して着脱が可能である。これらのメモリカードは、例えばNAND型フラッシュメモリ(登録商標)で構成することができる。制御部118は、メモリカードに記録したデータを、例えば、FAT(FileAllocatiONTable)ファイルシステム等のファイルシステムに従い、ファイルとして管理することができる。 The memory card A115 and the memory card B121 (hereinafter, collectively referred to as a memory card) can be attached to and detached from the digital camera 100 via the card slot / detection SWA114 and the card slot / detection SWB120. These memory cards can be composed of, for example, NAND flash memory (registered trademark). The control unit 118 can manage the data recorded in the memory card as a file according to a file system such as a FAT (File AllocatiON Table) file system.

メモリカードコントローラ113は、メモリカードA115またはメモリカードB121と通信を行なってこれらを制御し、メモリ116からのデータをメモリカードに記録する。また、メモリカードコントローラ113は、メモリカードからデータを読み出し、メモリ116へのデータ転送を行う。 The memory card controller 113 communicates with the memory card A115 or the memory card B121 to control them, and records the data from the memory 116 in the memory card. Further, the memory card controller 113 reads data from the memory card and transfers the data to the memory 116.

カードスロット/検出SWA114は、メモリカードA115を装着するスロットであり、スロットへの装着の有無を検出する検出SW(スイッチ)を含む。カードスロット/検出SWB120は、メモリカードB121を装着するスロットであり、スロットへの装着の有無を検出する検出SW(スイッチ)を含む。 The card slot / detection SWA114 is a slot for mounting the memory card A115, and includes a detection SW (switch) for detecting the presence / absence of mounting in the slot. The card slot / detection SWB120 is a slot for mounting the memory card B121, and includes a detection SW (switch) for detecting the presence / absence of mounting in the slot.

操作部117は、ユーザからの各種操作を受け付ける各種の操作部材で構成され、静止画の撮影操作を行うシャッターボタンや、動画の撮影開始及び撮影停止を指示するトリガーボタン、カメラ撮影モードと再生モードとを切り替えるモードスイッチを含むことができる。 The operation unit 117 is composed of various operation members that receive various operations from the user, and includes a shutter button for performing a still image shooting operation, a trigger button for instructing movie shooting start and shooting stop, a camera shooting mode, and a playback mode. It can include a mode switch to switch between.

ROM119は、電気的に消去・記録可能な不揮発性メモリであって、制御部118の動作用の定数、プログラム等が格納される。ここでいうプログラムとは、本実施形態にて後述する各種シーケンスを実行するためのプログラムのことであり、後述する本実施形態の各動作を実現する。 The ROM 119 is a non-volatile memory that can be electrically erased and recorded, and stores constants, programs, and the like for the operation of the control unit 118. The program referred to here is a program for executing various sequences described later in the present embodiment, and realizes each operation of the present embodiment described later.

制御部118は1以上のプロセッサ(例えば、CPU)を有し、ROM119に記憶された動作プログラムに従って動作して、デジタルカメラの各部を制御する。制御部118は、ディスプレイドライバ112等を制御することにより表示制御を行う。また、本実施形態では、制御部118は、メモリカードA115またはメモリカードB121が記憶するものと同じパターンのチューニングパターン信号を利用して、後述するテストパターンの成否判定、及び最適ラッチタイミングの決定動作を行う。 The control unit 118 has one or more processors (for example, a CPU) and operates according to an operation program stored in the ROM 119 to control each unit of the digital camera. The control unit 118 controls the display by controlling the display driver 112 and the like. Further, in the present embodiment, the control unit 118 uses the tuning pattern signal of the same pattern as that stored in the memory card A115 or the memory card B121 to determine the success or failure of the test pattern described later and to determine the optimum latch timing. I do.

次に図2(A)を参照して、メモリカードコントローラ113の構成及び動作について説明する。図2(A)は、本実施形態に対応するメモリカードコントローラ113の構成の一例を示すブロック図である。メモリカードコントローラ113は、メモリカードへのデータの書き込み及び読み出しにおいて、CLKライン、CMDライン、及びDATラインを介して信号及びデータの送受信を行う。以下、メモリカードに対する処理を説明する。この処理はメモリカードA115及びメモリカードB121に対し、同様に実施することができる。 Next, the configuration and operation of the memory card controller 113 will be described with reference to FIG. 2 (A). FIG. 2A is a block diagram showing an example of the configuration of the memory card controller 113 corresponding to the present embodiment. The memory card controller 113 transmits and receives signals and data via the CLK line, the CMD line, and the DAT line when writing and reading data to and from the memory card. The processing for the memory card will be described below. This process can be similarly performed on the memory card A115 and the memory card B121.

クロック源201は、読み書きのタイミング制御に利用されるクロックパルスで構成されたクロック信号(CLK信号)を、CLKラインを介してメモリカードに出力する。クロック源201は、メモリカードに対してデータ書込み及び読出しのタイミングを与えるとともに、後述のホストコントローラ202に対してデータ送出および受信のタイミングを与える。ホストコントローラ202は、読み書きに係る命令を指示するコマンド信号の出力、及びコマンドに対するメモリカードからのレスポンス信号の受信をCMDラインを介して行う。またホストコントローラ202は、メモリカードに書き込むデータ、或いはメモリカードから読み出したデータを、DATラインを介して送受信する制御を行う。本実施形態では、ホストコントローラ202からのデータの書き込みを所定サイズの書き込み単位のデータを単位として行う。ここで、1つの書き込み単位分に相当するデータサイズは、後述するライトサイズβとなる。ホストコントローラ202は、クロック源201からのクロック信号に同期して、メモリ116のバッファから読み出した動画データや静止画データ、或いは、その他のデータを、DATラインを介してメモリカードに送信する。 The clock source 201 outputs a clock signal (CLK signal) composed of clock pulses used for read / write timing control to a memory card via a CLK line. The clock source 201 gives the memory card the timing of data writing and reading, and also gives the host controller 202, which will be described later, the timing of data transmission and reception. The host controller 202 outputs a command signal instructing a command related to reading and writing, and receives a response signal from the memory card for the command via the CMD line. Further, the host controller 202 controls transmission / reception of data to be written to the memory card or data read from the memory card via the DAT line. In the present embodiment, data is written from the host controller 202 in units of data in a writing unit of a predetermined size. Here, the data size corresponding to one writing unit is the write size β described later. The host controller 202 transmits the moving image data, the still image data, or other data read from the buffer of the memory 116 to the memory card via the DAT line in synchronization with the clock signal from the clock source 201.

データの読み書きにおいて、上述したようにクロックパルスとデータの送受信のタイミングは異なる。このため、遅延素子203は、例えばメモリカードからのデータの読み出し時にクロック信号の位相を制御部118の制御に従って遅延させ、メモリカードから出力されたデータを受信するためのタイミング信号を生成する。そして、フリップフロップ204は、遅延素子203から出力されたタイミング信号に従って、メモリカードから出力されたデータをラッチする。即ち、タイミング信号は、データをラッチするタイミングを規定する。 In reading and writing data, the timing of clock pulse and data transmission / reception is different as described above. Therefore, for example, the delay element 203 delays the phase of the clock signal according to the control of the control unit 118 when reading data from the memory card, and generates a timing signal for receiving the data output from the memory card. Then, the flip-flop 204 latches the data output from the memory card according to the timing signal output from the delay element 203. That is, the timing signal defines the timing at which the data is latched.

また、フリップフロップ206は、クロック源201からのクロック信号のタイミングに従って、ホストコントローラ202からの書き込み用のデータをラッチし、DATラインを介してメモリカードに送信する。なお、コマンドの入出力、及びデータの送受信に応じたCMDラインとDATラインとの間の切り替えは、信号分岐部205により行われる。フリップフロップ204から出力された、メモリカードからのレスポンス及びデータはホストコントローラ202に送られる。 Further, the flip-flop 206 latches the data for writing from the host controller 202 according to the timing of the clock signal from the clock source 201, and transmits the data to the memory card via the DAT line. The signal branching unit 205 switches between the CMD line and the DAT line according to the input / output of commands and the transmission / reception of data. The response and data from the memory card output from the flip-flop 204 are sent to the host controller 202.

次に、本実施形態に対応するチューニング処理(調整処理)の動作について説明する。メモリカードコントローラ113がメモリカードにテストデータ送信コマンドを発行する。これに応えて、メモリカードは、クロック源201から送られてくるクロック信号に同期して、予め決められているパターンの64バイトのデータ列(テストデータ)を送信する。メモリカードコントローラ113は、クロック源201が生成したクロック信号を遅延素子で遅延させて得られるタイミング信号に従い、テストデータを受信する。ここで、遅延素子203に設定される遅延段数の値を変化させることでタイミング信号の位相を変化させることができる。制御部118は、クロック信号とタイミング信号との位相関係を変化させながら、即ちフリップフロップ204によるラッチタイミングを変えながらテストデータの受信の成否を判定する。 Next, the operation of the tuning process (adjustment process) corresponding to the present embodiment will be described. The memory card controller 113 issues a test data transmission command to the memory card. In response to this, the memory card transmits a 64-byte data string (test data) of a predetermined pattern in synchronization with the clock signal sent from the clock source 201. The memory card controller 113 receives the test data according to the timing signal obtained by delaying the clock signal generated by the clock source 201 by the delay element. Here, the phase of the timing signal can be changed by changing the value of the number of delay stages set in the delay element 203. The control unit 118 determines the success or failure of receiving the test data while changing the phase relationship between the clock signal and the timing signal, that is, changing the latch timing by the flip-flop 204.

具体的には、制御部118は、遅延素子203の量を第1の遅延量に設定した状態で、メモリカードに対してテストデータの送信コマンドを送る。そして、メモリカードが送信したテストデータを、第1の遅延量を持つタイミング信号に従ってフリップフロップ204により受信する。制御部118は、受信されたテストデータを、予め保持しているテストデータと比較して、正しく受信できたか否かを判別する。第1の遅延量のタイミング信号によるテストデータの受信処理が終わると、制御部118は、次に、遅延素子203の遅延量を第2の遅延量に設定し、再度、テストデータの送信コマンドをメモリカードA115に送信させる。そして、第2の遅延量のタイミング信号に応じて受信されたテストデータが正しく受信できたかどうかを判別する。 Specifically, the control unit 118 sends a test data transmission command to the memory card in a state where the amount of the delay element 203 is set to the first delay amount. Then, the test data transmitted by the memory card is received by the flip-flop 204 according to the timing signal having the first delay amount. The control unit 118 compares the received test data with the test data held in advance, and determines whether or not the received test data can be correctly received. When the process of receiving the test data by the timing signal of the first delay amount is completed, the control unit 118 next sets the delay amount of the delay element 203 to the second delay amount, and issues the test data transmission command again. Send to the memory card A115. Then, it is determined whether or not the received test data correctly received according to the timing signal of the second delay amount.

このように、制御部118は、遅延素子203による遅延量を変えながら、各遅延量においてテストデータが正しく受信できたかどうかを判別する処理を繰り返す。なお、1回に変更する遅延量は、クロック信号の1周期の数十分の1程度とする。そして、制御部118は、全ての遅延量のタイミング信号によるテストデータの受信が完了すると、最も安定してテストデータの受信に成功する遅延量を選択し、これをタイミング信号の遅延量として遅延素子203に設定する。 In this way, the control unit 118 repeats the process of determining whether or not the test data can be correctly received at each delay amount while changing the delay amount by the delay element 203. The amount of delay to be changed at one time is about one tenth of one cycle of the clock signal. Then, when the reception of the test data by the timing signals of all the delay amounts is completed, the control unit 118 selects the delay amount that succeeds in receiving the test data most stably, and uses this as the delay amount of the timing signal as the delay element. Set to 203.

図2(B)は、メモリカードのラッチタイミングを説明するための図である。クロック信号の1周期分に対して複数の遅延量を設定して複数のラッチタイミングを確保することができる。ここでは、16ステップのラッチタイミングを確保している。 FIG. 2B is a diagram for explaining the latch timing of the memory card. It is possible to secure a plurality of latch timings by setting a plurality of delay amounts for one cycle of the clock signal. Here, the latch timing of 16 steps is secured.

以上のような一連の処理を、ラッチタイミングのチューニング処理(即ち、タイミング信号の遅延の量の調整処理)という。このように、チューニング処理を行っている間、メモリカードに対する画像データの書き込みと読み出しを行うことができない。 The series of processes as described above is called a latch timing tuning process (that is, an adjustment process for adjusting the amount of delay of the timing signal). As described above, it is not possible to write and read the image data to the memory card during the tuning process.

次に、図3を参照して、データ記録中の記録再生装置によるチューニング処理の制御動作を説明する。図3は、本実施形態に対応する記録再生装置が実行する処理の一例を示すフローチャートである。図3では、特にフレーム間予測符号化を伴うMPEG符号化方式により符号化されたMPEG動画データを記録する動画撮影モードを例に説明を行う。しかしながら、本実施形態は、フレーム間予測符号化やMPEG符号化方式に限定されず、いかなる動画データを記録する場合に対しても適用可能である。また、本実施形態は、動画データに限定されず、連続的に生成されるデータを記録する場合に適用可能である。例えば、生成されるデータは音声データや、それ以外のデータであってもよい。 Next, the control operation of the tuning process by the recording / reproducing device during data recording will be described with reference to FIG. FIG. 3 is a flowchart showing an example of processing executed by the recording / playback device corresponding to the present embodiment. In FIG. 3, a moving image shooting mode for recording MPEG moving image data encoded by an MPEG coding method accompanied by inter-frame predictive coding will be described as an example. However, this embodiment is not limited to the inter-frame predictive coding or the MPEG coding method, and can be applied to the case of recording any moving image data. Further, the present embodiment is not limited to moving image data, and is applicable to the case of recording continuously generated data. For example, the generated data may be voice data or other data.

記録時においても、メモリカードに対して出力した書き込みコマンドに対するレスポンスをメモリカードから受ける必要がある。そのため、記録中であっても、適切なラッチタイミングでデータを受けることが望ましい。一方、動画撮影により生成される画像は一般的にデータサイズが大きいため、チューニングによりデータの書き込みが妨げられると、内部のバッファの空き容量が減少し、バッファ溢れに起因する記録停止につながる可能性がある。従って、動画撮影動作に伴う記録中にチューニングを行う頻度を低下させることが特に効果的である。 Even during recording, it is necessary to receive a response from the memory card to the write command output to the memory card. Therefore, it is desirable to receive data at an appropriate latch timing even during recording. On the other hand, images generated by movie shooting generally have a large data size, so if tuning prevents data from being written, the free space in the internal buffer will decrease, which may lead to recording stoppage due to buffer overflow. There is. Therefore, it is particularly effective to reduce the frequency of tuning during recording accompanying the moving image shooting operation.

本実施形態の記録再生装置としてのデジタルカメラ100は、二つのメモリカードA115とB121のうち、ユーザが選択した一方のメモリカードに対して動画を記録する「通常記録モード」を有する。また、デジタルカメラ100は、二つのメモリカードA115とB121に対し、同じ動画データを同時に記録する「同時記録モード」も有する。同時記録モードは、二つのメモリカードに同じデータを二重に記録することで、記録の安全性を確保する記録モードである。ユーザは、記録待機状態において操作部117を操作して、同時記録モードを設定することができる。 The digital camera 100 as the recording / reproducing device of the present embodiment has a "normal recording mode" in which a moving image is recorded on one of the two memory cards A115 and B121 selected by the user. The digital camera 100 also has a "simultaneous recording mode" in which the same moving image data is simultaneously recorded on the two memory cards A115 and B121. The simultaneous recording mode is a recording mode that ensures the safety of recording by recording the same data twice on two memory cards. The user can set the simultaneous recording mode by operating the operation unit 117 in the recording standby state.

通常記録モードが設定された場合、デジタルカメラ100の制御部118は、ユーザからの記録開始の指示に応じて、メモリカードA115とB121のうち、ユーザが選択した一方のメモリカードに対して動画データの記録を開始する。また、制御部118は、通常記録モードにおいて、記録開始から、一定期間毎にチューニング処理を実行する。そして、ユーザからの記録停止の指示があると、動画の記録を停止する。 When the normal recording mode is set, the control unit 118 of the digital camera 100 responds to the instruction from the user to start recording, and receives moving image data for one of the memory cards A115 and B121 selected by the user. Start recording. Further, the control unit 118 executes the tuning process at regular intervals from the start of recording in the normal recording mode. Then, when the user gives an instruction to stop recording, the recording of the moving image is stopped.

次に、同時記録モード時の処理を説明する。ユーザが同時記録モードを設定した後、操作部117を操作して記録開始を指示すると、図3のフローチャートの処理が開始する。ここでは、メモリカードA115とメモリカードB121に動画データを同時記録している際に、メモリカードA115のチューニング中にメモリカードB121のチューニングタイミングとなったケースを説明する。まず、メモリカードA115に関する処理を説明する。 Next, the processing in the simultaneous recording mode will be described. After the user sets the simultaneous recording mode, when the operation unit 117 is operated to instruct the start of recording, the processing of the flowchart of FIG. 3 starts. Here, a case will be described in which the tuning timing of the memory card B121 is reached during the tuning of the memory card A115 when the moving image data is simultaneously recorded on the memory card A115 and the memory card B121. First, the process related to the memory card A115 will be described.

S301において、制御部118はMPEGコーデック109を制御して動画データを符号化し、符号化された動画データを動画データ用に割り当てたメモリ116のバッファに蓄積していく。 In S301, the control unit 118 controls the MPEG codec 109 to encode the moving image data, and stores the encoded moving image data in the buffer of the memory 116 allocated for the moving image data.

本実施形態では、メモリカードA115に対するデータの書き込み速度は、符号化された動画データのデータレートよりも高い。そのため、動画データを記録する場合、符号化された動画データを一旦メモリ116のバッファに記憶する。そして、バッファに記憶された、未記録の動画データのデータ量が所定のデータ量に達すると、バッファから動画データを読み出してメモリカードA115に記録する。メモリカードA115の記録速度は動画データのデータレートよりも高いので、メモリカードA115への動画データの書き込みを行っている間は、バッファに記憶される動画データのデータ量が減っていく。但し、その間もバッファへの動画データの蓄積は継続して行なわれる。そして、メモリカードA115への所定サイズの動画データの書き込みが完了すると、書き込みを停止する。このように、本実施形態では、動画の記録開始から記録停止までの間、メモリカードA115に対して間欠的に動画データが記録される。 In the present embodiment, the data writing speed to the memory card A115 is higher than the data rate of the encoded moving image data. Therefore, when recording the moving image data, the encoded moving image data is temporarily stored in the buffer of the memory 116. Then, when the amount of unrecorded moving image data stored in the buffer reaches a predetermined amount of data, the moving image data is read from the buffer and recorded in the memory card A115. Since the recording speed of the memory card A115 is higher than the data rate of the moving image data, the amount of the moving image data stored in the buffer decreases while the moving image data is being written to the memory card A115. However, during that time, the moving image data is continuously accumulated in the buffer. Then, when the writing of the moving image data of a predetermined size to the memory card A115 is completed, the writing is stopped. As described above, in the present embodiment, the moving image data is intermittently recorded on the memory card A115 from the start of recording of the moving image to the stopping of recording.

次にS302において、制御部118はメモリ116のバッファに蓄積した動画データの合計サイズα(メガバイト(MB))が、ライトサイズβ(MB)に達したか否かを判定する。ここで、ライトサイズβは、前述のように、動画データの間欠的な記録における1回の書き込み処理においてメモリカードA115に書き込まれるサイズである。バッファに蓄積した動画データの合計サイズαがライトサイズβに達した場合、処理はS303に進む。 Next, in S302, the control unit 118 determines whether or not the total size α (megabytes (MB)) of the moving image data stored in the buffer of the memory 116 has reached the write size β (MB). Here, the write size β is a size written to the memory card A115 in one writing process in the intermittent recording of moving image data, as described above. When the total size α of the moving image data stored in the buffer reaches the write size β, the process proceeds to S303.

S303において、制御部118は、メモリカードコントローラ113を制御してメモリカードA115に対してライトコマンドを発行し、メモリ116のバッファに蓄積したライトサイズβ分の動画データをメモリカードA115に書き込む。データの書き込みが終わると、続くS304において制御部118は、チューニング処理のタイミングとなったか否かを判定する。本実施形態では、動画の記録開始から一定期間毎にチューニング処理を行う。なお、これ以外にも、動画データのライト回数が所定の回数に達する毎にチューニング処理を行う構成や、動画データの記録済みのサイズの合計が所定のサイズに達する毎にチューニング処理を行う構成等、定期的にチューニング処理を実施する構成としてもよい。 In S303, the control unit 118 controls the memory card controller 113 to issue a write command to the memory card A115, and writes the moving image data for the write size β stored in the buffer of the memory 116 to the memory card A115. When the writing of the data is completed, in the subsequent S304, the control unit 118 determines whether or not it is the timing of the tuning process. In the present embodiment, the tuning process is performed at regular intervals from the start of recording the moving image. In addition to this, a configuration in which tuning processing is performed every time the number of times the video data is written reaches a predetermined number of times, a configuration in which tuning processing is performed every time the total recorded size of video data reaches a predetermined size, etc. , The tuning process may be performed periodically.

S304における判定で、チューニング処理タイミングであると判定された場合、制御部118は、S305においてメモリ116のチューニング中フラグを参照し、今回チューニング処理の対象となるカード以外のカードに対してチューニング処理が実行されているか否かを判定する。当該判定は、各メモリカードについてメモリ116に保持されたチューニング中フラグの値を参照することにより行なうことができる。チューニング中フラグがONの場合はチューニング中と判定し、チューニング中フラグがOFFの場合はチューニング中でないと判定する。今回チューニング処理の対象となるカード以外のカードが複数ある場合は、各メモリカードについてのチューニング中フラグを参照して判定する。ここでは、今回のチューニング対象はメモリカードA115であるので、他のメモリカードとしてメモリカードB121がチューニング中か否かを判定する。S305において今回のチューニング対象のカード以外のカードがチューニング中であると判定された場合、処理はS309に進み、制御部118は、チューニング処理を行わないようにする。 When it is determined in the determination in S304 that it is the tuning processing timing, the control unit 118 refers to the tuning flag of the memory 116 in S305, and the tuning process is performed on the card other than the card to be tuned this time. Determine if it is running. The determination can be made by referring to the value of the tuning flag held in the memory 116 for each memory card. If the tuning flag is ON, it is determined that tuning is in progress, and if the tuning flag is OFF, it is determined that tuning is not in progress. If there are a plurality of cards other than the card to be tuned this time, the tuning flag for each memory card is referred to for determination. Here, since the tuning target this time is the memory card A115, it is determined whether or not the memory card B121 is being tuned as another memory card. If it is determined in S305 that a card other than the card to be tuned this time is being tuned, the process proceeds to S309, and the control unit 118 does not perform the tuning process.

S305において他のメモリカードがチューニング処理中でないと判定された場合、制御部118は、S306においてメモリ116に記憶した今回のチューニング対象のメモリカードのチューニング中フラグをONに設定する。続いて制御部118は、S307においてメモリカードコントローラ113を制御して、メモリカードA115のチューニング処理を行う。チューニング処理が終了すると、制御部118は、S308においてメモリ116に記憶された今回のチューニング処理が完了したカードのチューニング中フラグのONを解除してOFFに設定する。 When it is determined in S305 that another memory card is not in the tuning process, the control unit 118 sets the tuning flag of the memory card to be tuned this time stored in the memory 116 in S306 to ON. Subsequently, the control unit 118 controls the memory card controller 113 in S307 to perform tuning processing of the memory card A115. When the tuning process is completed, the control unit 118 releases the tuning flag of the card that has completed the tuning process stored in the memory 116 in S308 and sets it to OFF.

また、S304においてチューニング処理のタイミングではないと判定された場合、S305において他のカードがチューニング処理の実行中であると判定された場合、或いは、S308でチューニング処理が完了した場合、制御部118は、S309において動画記録を停止するか否かを判定する。例えば、メモリカードA115の容量がフルになった場合や、操作部117を介した記録停止指示が行われた場合、制御部118は動画記録を停止すると判定する。S309において動画記録を停止しないと判定した場合、処理はS301に戻り、制御部118はS301以降の処理を繰り返して動画記録を継続する。一方、動画記録を停止すると判定した場合、制御部118は、S310において記録中の動画ファイルをクローズさせるためにメモリ116のバッファに蓄積した動画データや管理情報を、メモリカードA115に書き込んだ後、動画記録を停止する。 Further, when it is determined in S304 that it is not the timing of the tuning process, in S305 it is determined that another card is executing the tuning process, or when the tuning process is completed in S308, the control unit 118 , S309 determines whether or not to stop the moving image recording. For example, when the capacity of the memory card A 115 becomes full, or when a recording stop instruction is given via the operation unit 117, the control unit 118 determines that the moving image recording is stopped. When it is determined in S309 that the moving image recording is not stopped, the process returns to S301, and the control unit 118 repeats the processing after S301 to continue the moving image recording. On the other hand, when it is determined to stop the moving image recording, the control unit 118 writes the moving image data and management information stored in the buffer of the memory 116 in order to close the moving image file being recorded in S310 to the memory card A115, and then writes the moving image data and the management information to the memory card A115. Stop video recording.

次にメモリカードB121に関する処理を説明する。先ほどメモリカードA115で説明した内容と同等の箇所は適宜説明を省略する。S301、S302、S303及びS304は、上記と同様であるので説明を省略する。 Next, the processing related to the memory card B121 will be described. The description of the parts equivalent to those described above for the memory card A115 will be omitted as appropriate. Since S301, S302, S303 and S304 are the same as above, the description thereof will be omitted.

S305において、制御部118はメモリ116のメモリカードB121と関連づけられたチューニング中フラグの値を参照して、今回チューニング処理の対象であるメモリカードB121以外のメモリカードがチューニング中か否かを判定する。今回チューニング処理の対象となるカード以外のカードが複数ある場合は、各メモリカードのチューニング中フラグを参照して判定する。ここでは、今回のチューニング対象はメモリカードB121であるので、他のメモリカードとしてメモリカードA115がチューニング中か否かを判定することとする。今回のチューニング対象以外のカードがチューニング中である場合、制御部118は、対象カードのチューニング処理の実行を抑制するようにチューニング処理の実行タイミングを制御する。 In S305, the control unit 118 refers to the value of the tuning flag associated with the memory card B121 of the memory 116 to determine whether or not a memory card other than the memory card B121 to be tuned this time is being tuned. .. If there are a plurality of cards other than the card to be tuned this time, the tuning flag of each memory card is referred to for determination. Here, since the tuning target this time is the memory card B121, it is determined whether or not the memory card A115 is being tuned as another memory card. When a card other than the tuning target of this time is being tuned, the control unit 118 controls the execution timing of the tuning process so as to suppress the execution of the tuning process of the target card.

S305で、他のメモリカードがチューニング処理中でないと判定された場合、制御部118は、S306においてメモリ116に記憶した、今回のチューニング対象のメモリカードのチューニング中フラグにONを設定する。続くS307にて制御部118は、メモリカードコントローラ113を制御して、メモリカードB121のチューニング処理を行う。チューニング処理が終了すると、S308にて制御部118は、メモリ116に記憶された、今回のチューニング処理が完了したカードのチューニング中フラグにOFFを設定する。 When it is determined in S305 that another memory card is not in the tuning process, the control unit 118 sets the tuning flag of the memory card to be tuned this time stored in the memory 116 in S306 to ON. In the following S307, the control unit 118 controls the memory card controller 113 to perform tuning processing of the memory card B121. When the tuning process is completed, the control unit 118 in S308 sets the tuning flag of the card that has completed the tuning process this time, which is stored in the memory 116, to OFF.

このように、同時記録モードでは、各メモリカードにおけるチューニング処理のタイミングとなった場合に、今回のチューニング処理の対象となるカード以外のカードがチューニング処理の実行中であるかを判別する。そして、他のカードに対するチューニング処理が実行中の場合、今回のチューニング処理の対象となるカードのチューニング処理を行わないようにする。この場合、例えば、対象となるカードについてはチューニング処理のタイミングである状態を維持しておく。そして、再度、S304において判定を行なってチューニング処理を当該メモリカードに対して実行するかを決定することができる。この結果、チューニング処理が実行されると、チューニング処理のタイミングである状態を解除し、再度、一定期間が経過した際にチューニング処理のタイミングとなる。なお、図3の処理では、S302においてライト単位に達していないと判断された場合でも、S304に移行して、チューニングタイミングであるか否かを判別しているが、S304の処理は、S303のデータライト処理が完了したタイミングで行う構成としてもよい。こうすることで、バッファの空きが大きな状態でチューニング処理を開始するかどうかを判別することができる。 In this way, in the simultaneous recording mode, when it is the timing of the tuning process for each memory card, it is determined whether or not a card other than the card targeted for the tuning process this time is executing the tuning process. Then, when the tuning process for another card is being executed, the tuning process of the card to be the target of the tuning process this time is not performed. In this case, for example, the target card is maintained in a state of tuning processing timing. Then, it is possible to determine again in S304 whether to execute the tuning process on the memory card. As a result, when the tuning process is executed, the state of the timing of the tuning process is released, and when a certain period of time elapses again, the timing of the tuning process is reached. In the process of FIG. 3, even if it is determined in S302 that the light unit has not been reached, the process shifts to S304 to determine whether or not the tuning timing is reached. However, the process of S304 is the process of S303. The configuration may be performed when the data write process is completed. By doing so, it is possible to determine whether or not to start the tuning process when the buffer is free.

図4は、図3のフローチャートにおける一連の動作を、メモリカードA115とメモリカードB121の同時記録モードにおける動画記録時のバッファの蓄積状態の推移と、ライト処理およびチューニング処理の時間を用いて時系列で示す図である。縦軸は各バッファに蓄積されたデータ量であり、横軸は時間tである。本実施形態では、メモリ116においてメモリカードA115に割り当てられるバッファをバッファAとし、メモリカードB121に割り当てられるバッファをバッファBとする。 FIG. 4 shows a series of operations in the flowchart of FIG. 3 in a time series using the transition of the buffer accumulation state at the time of moving image recording in the simultaneous recording mode of the memory card A115 and the memory card B121, and the time of the write process and the tuning process. It is a figure shown by. The vertical axis is the amount of data stored in each buffer, and the horizontal axis is the time t. In the present embodiment, the buffer allocated to the memory card A115 in the memory 116 is the buffer A, and the buffer allocated to the memory card B121 is the buffer B.

符号401は、バッファAに蓄積された動画データをメモリカードA115にライトする時間を示す。符号402は、メモリカードA115のチューニングを行う時間を示す。符号421は、バッファBに蓄積された動画データをメモリカードB121にライトする時間を示す。符号422は、メモリカードB121のチューニングを行う時間を示す。 Reference numeral 401 indicates a time for writing the moving image data stored in the buffer A to the memory card A115. Reference numeral 402 indicates the time for tuning the memory card A115. Reference numeral 421 indicates a time for writing the moving image data stored in the buffer B to the memory card B121. Reference numeral 422 indicates the time for tuning the memory card B121.

メモリカードA115のチューニング処理につき、制御部118は、符号412で示す期間が到来するとメモリカードA115のチューニング処理のタイミングであると判断する。また、この時点ではメモリカードB121がチューニング中でないため、メモリカードA115に対するチューニングを実施すると判断する。制御部118は、符号412のチューニングのタイミングで、チューニング中フラグの設定とチューニングを行う。 Regarding the tuning process of the memory card A115, the control unit 118 determines that it is the timing of the tuning process of the memory card A115 when the period indicated by reference numeral 412 arrives. Further, since the memory card B121 is not being tuned at this point, it is determined that the memory card A115 will be tuned. The control unit 118 sets and tunes the tuning flag at the tuning timing of reference numeral 412.

また、メモリカードB121のチューニング処理につき、制御部118は、符号431で示す期間が到来するとメモリカードB121のチューニングタイミングであると判断する。しかし、このタイミングではメモリカードA115がチューニング中であるため、メモリカードB121のチューニングは実施しないと判断する。制御部118は、その後に符号432で示す期間が到来すると、メモリカードB121のチューニング処理のタイミングであると判断する。このタイミングでは、メモリカードA115がチューニング中でないため、メモリカードB121のチューニングを実施すると判断する。このように本実施形態では、制御部118は、同時記録モードにおいて記録対象の複数の記録媒体に対するチューニングの実行を排他するように動作する。制御部118は、符号432のチューニングのタイミングでS306からS308に対応する処理を実行し、チューニング中フラグの設定とチューニング処理を実施する。 Further, regarding the tuning process of the memory card B121, the control unit 118 determines that the tuning timing of the memory card B121 is reached when the period indicated by reference numeral 431 arrives. However, since the memory card A115 is being tuned at this timing, it is determined that the memory card B121 is not tuned. When the period indicated by reference numeral 432 arrives thereafter, the control unit 118 determines that it is the timing of the tuning process of the memory card B121. At this timing, since the memory card A115 is not being tuned, it is determined that the memory card B121 is to be tuned. As described above, in the present embodiment, the control unit 118 operates so as to exclude the execution of tuning for the plurality of recording media to be recorded in the simultaneous recording mode. The control unit 118 executes the processes corresponding to S306 to S308 at the tuning timing of the reference numeral 432, sets the tuning flag, and executes the tuning process.

以上に説明した本実施形態によれば、記録再生装置であるデジタルカメラ100は、同時記録中に記録対象の複数の記録媒体に対するチューニングの重複実行を排他することができる。これにより、チューニング不足に起因するライトエラーやリトライの発生を抑制しつつ、チューニング処理の重複実施により生ずるバッファ溢れによる記録停止の同時発生を抑制することができる。 According to the present embodiment described above, the digital camera 100, which is a recording / playback device, can exclude duplicate tuning executions for a plurality of recording media to be recorded during simultaneous recording. As a result, while suppressing the occurrence of write errors and retries due to insufficient tuning, it is possible to suppress the simultaneous occurrence of recording stop due to buffer overflow caused by duplicate tuning processing.

<第2の実施形態>
上述の実施形態1では、同時記録中に記録媒体毎にチューニング中か否かを示すチューニング中フラグを参照して、記録対象の複数のメモリカードに対するチューニングの実行を排他した。これに対し実施形態2では、他のメモリカードのバッファの余裕度を更に参照して、記録対象の複数のメモリカードに対するチューニングの実行を排他する制御について説明する。特に、本実施形態ではチューニング処理の対象となるメモリカード以外のメモリカードがチューニング処理中で無くても、当該他のメモリカードのためのバッファの状態に応じてチューニング処理を抑制する。
<Second embodiment>
In the first embodiment described above, the execution of tuning for a plurality of memory cards to be recorded is excluded by referring to the tuning flag indicating whether or not tuning is being performed for each recording medium during simultaneous recording. On the other hand, in the second embodiment, the control that excludes the execution of tuning for a plurality of memory cards to be recorded will be described with reference to the buffer margins of the other memory cards. In particular, in the present embodiment, even if a memory card other than the memory card to be tuned is not being tuned, the tuning process is suppressed according to the state of the buffer for the other memory card.

本実施形態における記録再生装置としてのデジタルカメラ100及びメモリカードコントローラ113の基本的な構成は、実施形態1に示したもの(図1及び図2)と同様である。以下、実施形態1と異なる点について主に説明する。 The basic configurations of the digital camera 100 and the memory card controller 113 as the recording / reproducing device in the present embodiment are the same as those shown in the first embodiment (FIGS. 1 and 2). Hereinafter, the differences from the first embodiment will be mainly described.

まず、図5を参照して、本実施形態における同時記録モードの処理について説明する。ここでは、メモリカードA115とメモリカードB121に動画データを同時記録している際に、メモリカードA115のチューニング中にメモリカードB121のチューニングタイミングとなったケースを説明する。 First, the processing of the simultaneous recording mode in the present embodiment will be described with reference to FIG. Here, a case will be described in which the tuning timing of the memory card B121 is reached during the tuning of the memory card A115 when the moving image data is simultaneously recorded on the memory card A115 and the memory card B121.

まず、メモリカードA115に関する処理を説明する。ユーザが操作部117を操作して記録開始を指示すると、図5のフローチャートの動画記録処理を開始する。S301からS305までの処理は第1の実施形態と同様であるため説明を省略する。S305で、他のメモリカードがチューニング処理中であると判定されない場合、制御部118は、他のメモリカード、ここではメモリカードB121のためのバッファの使用量を参照する。続くS501において制御部118は、他のメモリカードのためのバッファの使用量を閾値と比較し、バッファの状態を判定する。他のメモリカードのためのバッファの使用量が閾値に達していない場合、バッファには余裕があると判定することができる。また、他のメモリカードのためのバッファの使用量が閾値を超えている場合、余裕があると判定されない。本実施形態では、閾値を、例えば、書き込み処理においてメモリカードに書き込まれるライトサイズβとすることができる。 First, the process related to the memory card A115 will be described. When the user operates the operation unit 117 to instruct the start of recording, the moving image recording process of the flowchart of FIG. 5 is started. Since the processes from S301 to S305 are the same as those in the first embodiment, the description thereof will be omitted. If it is not determined in S305 that another memory card is in the tuning process, the control unit 118 refers to the amount of buffer used for the other memory card, here the memory card B121. In the following S501, the control unit 118 compares the usage amount of the buffer for another memory card with the threshold value, and determines the state of the buffer. If the buffer usage for other memory cards has not reached the threshold, it can be determined that the buffer has room. Further, if the amount of buffer used for other memory cards exceeds the threshold value, it is not determined that there is a margin. In the present embodiment, the threshold value can be, for example, the write size β written to the memory card in the writing process.

S501において他のメモリカードのためのバッファの使用量に余裕があると判定された場合、制御部118は、S306においてメモリ116に記憶した、今回のチューニング対象のメモリカードのチューニング中フラグにONを設定する。S501において他のメモリカードのためのバッファの使用量に余裕があると判定されなかった場合、今回のチューニング処理の対象となるカードのチューニング処理を行わないようにする。この場合、処理はS309に移行する。これ以降のS307からS310における処理は実施形態1と同様なので説明を省略する。なお、メモリカードB121に関する処理は、上記メモリカードA115をメモリカードB121に読み替えればよいので、説明は省略する。 When it is determined in S501 that there is a margin in the amount of buffer used for another memory card, the control unit 118 sets ON to the tuning flag of the memory card to be tuned this time, which is stored in the memory 116 in S306. Set. If it is not determined in S501 that there is a margin in the amount of buffer used for another memory card, the tuning process of the card to be the target of the tuning process this time is not performed. In this case, the process shifts to S309. Since the subsequent processes in S307 to S310 are the same as those in the first embodiment, the description thereof will be omitted. In the process related to the memory card B121, the memory card A115 may be read as the memory card B121, and thus the description thereof will be omitted.

図6は、図5のフローチャートにおける一連の動作を、メモリカードA115とメモリカードB121の同時記録モードにおける動画記録時の各バッファの蓄積状態の推移と、ライト処理およびチューニング処理の時間を用いて時系列で示す図である。縦軸はバッファに蓄積されたデータ量であり、横軸は時間tである。本実施形態でも、メモリ116においてメモリカードA115に割り当てられるバッファをバッファAとし、メモリカードB121に割り当てられるバッファをバッファBとする。 FIG. 6 shows a series of operations in the flowchart of FIG. 5 when the transition of the accumulation state of each buffer at the time of moving image recording in the simultaneous recording mode of the memory card A115 and the memory card B121 and the time of the write process and the tuning process are used. It is a figure which shows by a series. The vertical axis is the amount of data stored in the buffer, and the horizontal axis is the time t. Also in this embodiment, the buffer assigned to the memory card A115 in the memory 116 is referred to as the buffer A, and the buffer assigned to the memory card B121 is referred to as the buffer B.

符号601は、バッファAに蓄積された動画データをメモリカードA115にライトする時間を示す。符号602は、メモリカードA115のチューニングを行う時間を示す。符号621は、バッファBに蓄積された動画データをメモリカードB121にライトする時間を示す。符号622は、メモリカードB121のチューニングを行う時間を示す。 Reference numeral 601 indicates the time for writing the moving image data stored in the buffer A to the memory card A115. Reference numeral 602 indicates the time for tuning the memory card A115. Reference numeral 621 indicates a time for writing the moving image data stored in the buffer B to the memory card B121. Reference numeral 622 indicates the time for tuning the memory card B121.

メモリカードA115のチューニング処理につき、制御部118は、符号611で示す期間が到来するとメモリカードA115のチューニング処理のタイミングであると判断する。また、この時点ではメモリカードB121がチューニング中でないので、更に、メモリカードB121のバッファBに余裕があるか否かを判別する。ここで、メモリカードB121のバッファBの使用量は閾値であるライトサイズβMBを超えていない余裕がある状態なので制御部118は、符号612のチューニングのタイミングで、チューニング中フラグの制御とチューニングを行う。 Regarding the tuning process of the memory card A115, the control unit 118 determines that it is the timing of the tuning process of the memory card A115 when the period indicated by reference numeral 611 arrives. Further, since the memory card B121 is not being tuned at this point, it is further determined whether or not there is a margin in the buffer B of the memory card B121. Here, since the usage amount of the buffer B of the memory card B121 does not exceed the threshold value write size βMB, the control unit 118 controls and tunes the tuning flag at the tuning timing of reference numeral 612. ..

また、メモリカードB121のチューニング処理につき、制御部118は、符号631で示す期間が到来するとメモリカードB121のチューニングタイミングであると判断する。また、この時点ではメモリカードA115がチューニング中であるため、メモリカードB121のチューニングは実施しないと判断する。制御部118は、その後に符号632および符号633で示す期間が到来すると、メモリカードB121のチューニングタイミングであると判断する。このタイミングではメモリカードA115がチューニング中ではないので、メモリカードA115のバッファAに余裕があるかどうか判別する。しかし、バッファAの使用量は閾値であるライトサイズβMBを超えていてバッファAには余裕がない。そこで、制御部118はメモリカードB121のチューニングを実施しないと判断する。 Further, regarding the tuning process of the memory card B121, the control unit 118 determines that the tuning timing of the memory card B121 is reached when the period indicated by reference numeral 631 is reached. Further, since the memory card A115 is being tuned at this point, it is determined that the memory card B121 is not tuned. When the period indicated by reference numeral 632 and reference numeral 633 arrives thereafter, the control unit 118 determines that it is the tuning timing of the memory card B121. Since the memory card A115 is not being tuned at this timing, it is determined whether or not the buffer A of the memory card A115 has a margin. However, the amount of buffer A used exceeds the threshold value of write size βMB, and buffer A has no margin. Therefore, the control unit 118 determines that the memory card B121 is not tuned.

制御部118は、その後に符号634で示す期間が到来すると、チューニングタイミングであると判断する。このタイミングでもメモリカードA115がチューニング中ではないので、バッファAに余裕があるか否かを判別する。ここでは、バッファAの使用量は閾値であるライトサイズβMBを超えていないのでバッファAに余裕があると判断できる。そこで、制御部118は、メモリカードB121のチューニングを実施すると判断する。制御部118は、符号632のチューニングのタイミングで、チューニング中フラグの制御とメモリカードB121のチューニングを行う。 When the period indicated by reference numeral 634 arrives thereafter, the control unit 118 determines that the tuning timing has been reached. Since the memory card A115 is not being tuned even at this timing, it is determined whether or not the buffer A has a margin. Here, since the amount of buffer A used does not exceed the threshold value of write size βMB, it can be determined that buffer A has a margin. Therefore, the control unit 118 determines that the memory card B121 is to be tuned. The control unit 118 controls the tuning flag and tunes the memory card B121 at the tuning timing of reference numeral 632.

以上のように、メモリカードA115とメモリカードB121との同時記録中において、メモリカードA115のチューニング中である場合、或いは、バッファAの余裕度がない場合には、メモリカードB121のチューニングを実施しない例を説明した。 As described above, during the simultaneous recording of the memory card A115 and the memory card B121, if the memory card A115 is being tuned or if there is no margin in the buffer A, the memory card B121 is not tuned. An example was explained.

本実施形態によれば、記録再生装置であるデジタルカメラ100は、同時記録中に記録対象の複数の記録媒体に対するチューニングの実行を排他することができる。また、一方の記録媒体に対するチューニング処理の実行により生じたバッファ使用量の増加を考慮して、他方の記録媒体に対するチューニング処理の開始タイミングを調整し、バッファのオーバーフローを未然に防止することができる。これにより、ダブル処理中のチューニング不足に起因するライトエラーやリトライの発生を抑制しつつ、バッファ溢れによる記録停止の同時発生を抑制することができる。 According to the present embodiment, the digital camera 100, which is a recording / playback device, can exclude the execution of tuning for a plurality of recording media to be recorded during simultaneous recording. Further, in consideration of the increase in the buffer usage caused by the execution of the tuning process for one recording medium, the start timing of the tuning process for the other recording medium can be adjusted to prevent the buffer from overflowing. As a result, it is possible to suppress the occurrence of write errors and retries due to insufficient tuning during double processing, and to suppress the simultaneous occurrence of recording stop due to buffer overflow.

(その他の実施例)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other Examples)
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It is also possible to realize the processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

10 撮影部、113 メモリカードコントローラ、115 メモリカードA、116 メモリ、118 制御部、121 メモリカードB 202 ホストコントローラ 10 Shooting unit, 113 memory card controller, 115 memory card A, 116 memory, 118 control unit, 121 memory card B 202 host controller

Claims (10)

複数の記録媒体のそれぞれに対してクロック信号を出力する出力手段と、
前記複数の記録媒体のそれぞれにデータを書き込むために前記クロック信号に応じて前記記録媒体に対して書き込み命令と書き込まれるデータとを送信すると共に、前記クロック信号を遅延させることにより得られたタイミング信号に応じて、前記複数の記録媒体のそれぞれから送信されたデータを受信する通信手段と、
前記通信手段を制御して、前記複数の記録媒体のそれぞれについて前記タイミング信号の遅延量を調整する調整処理の実行を制御する制御手段と
を備え、
前記制御手段は、前記複数の記録媒体に対して同時にデータの記録を行うための所定の記録モードにおいて、前記複数の記録媒体のうち、いずれか1つの記録媒体に対する調整処理が実行されている間は、前記複数の記録媒体のうちの他の記録媒体に対する調整処理の実行を抑制するように制御することを特徴とする、記録再生装置。
An output means that outputs a clock signal to each of a plurality of recording media,
A timing signal obtained by transmitting a write command and the data to be written to the recording medium in response to the clock signal in order to write data to each of the plurality of recording media, and delaying the clock signal. A communication means for receiving data transmitted from each of the plurality of recording media according to the above.
The communication means is provided with a control means for controlling the execution of the adjustment process for adjusting the delay amount of the timing signal for each of the plurality of recording media.
In a predetermined recording mode for simultaneously recording data on the plurality of recording media, the control means is performing adjustment processing on any one of the plurality of recording media. Is a recording / playback device, characterized in that control is performed so as to suppress execution of adjustment processing for other recording media among the plurality of recording media.
前記記録媒体に記録されるデータを保持するメモリを更に備え、
前記制御手段は、前記いずれか1つの記録媒体に対する調整処理が終了した後、該いずれか1つの記録媒体に書き込むために前記メモリが保持するデータのサイズに応じて、前記他の記録媒体に対する調整処理を実行するタイミングを決定する、ことを特徴とする請求項1に記載の記録再生装置。
Further provided with a memory for holding the data recorded on the recording medium,
After the adjustment processing for any one of the recording media is completed, the control means adjusts for the other recording medium according to the size of the data held by the memory for writing to the one recording medium. The recording / playback apparatus according to claim 1, wherein the timing for executing the process is determined.
前記制御手段は、前記メモリが保持するデータのサイズが閾値より小さくなるまで、前記他の記録媒体に対する調整処理の実行を抑制する、ことを特徴とする請求項2に記載の記録再生装置。 The recording / reproducing device according to claim 2, wherein the control means suppresses execution of adjustment processing on the other recording medium until the size of the data held in the memory becomes smaller than the threshold value. 前記通信手段は、前記書き込まれるデータを所定のサイズの書き込み単位で前記記録媒体に送信し、前記閾値は、前記所定のサイズに対応することを特徴とする請求項3に記載の記録再生装置。 The recording / playback device according to claim 3, wherein the communication means transmits the data to be written to the recording medium in a writing unit of a predetermined size, and the threshold value corresponds to the predetermined size. 前記制御手段は、
前記いずれか1つの記録媒体について前記調整処理を実行する場合に該記録媒体と関連づけて調整処理を実行していることを示すフラグを設定し、前記調整処理が終了すると前記フラグを解除し、
前記他の記録媒体に対する調整処理の実行を抑制するか否かを前記フラグが設定されているかどうかに基づき判定することを特徴とする請求項1から4のいずれか1項に記載の記録再生装置。
The control means
When the adjustment process is executed for any one of the recording media, a flag indicating that the adjustment process is being executed in association with the recording medium is set, and when the adjustment process is completed, the flag is released.
The recording / playback apparatus according to any one of claims 1 to 4, wherein it is determined whether or not to suppress the execution of the adjustment process on the other recording medium based on whether or not the flag is set. ..
前記制御手段は、前記複数の記録媒体のそれぞれについての前記調整処理を実行するか否かを、それぞれの記録媒体に対して前記データの記録を開始した後に一定期間ごと判定することを特徴とする請求項1から5のいずれか1項に記載の記録再生装置。 The control means is characterized in that it determines whether or not to execute the adjustment process for each of the plurality of recording media at regular intervals after starting recording of the data on each recording medium. The recording / playback device according to any one of claims 1 to 5. 前記通信手段は、前記書き込まれるデータを所定のサイズの書き込み単位で前記記録媒体に送信し、
前記制御手段は、前記通信手段が1つの書き込み単位分のデータを送信したのに応じて前記判定を行なうことを特徴とする請求項6に記載の記録再生装置。
The communication means transmits the data to be written to the recording medium in writing units of a predetermined size.
The recording / reproducing device according to claim 6, wherein the control means makes the determination in response to the communication means transmitting data for one writing unit.
撮像手段を備え、
前記書き込まれるデータは、前記撮像手段により取得された動画データであることを特徴とする請求項1から7のいずれか1項に記載の記録再生装置。
Equipped with imaging means
The recording / playback apparatus according to any one of claims 1 to 7, wherein the written data is moving image data acquired by the imaging means.
複数の記録媒体のそれぞれに対してクロック信号を出力する出力手段と、
前記複数の記録媒体のそれぞれに命令を送信すると共に、前記クロック信号を遅延させることにより得られたタイミング信号に応じて、前記複数の記録媒体のそれぞれから送信されたデータを受信する通信手段と、
前記通信手段を制御して、前記複数の記録媒体のそれぞれについて前記タイミング信号の遅延量を調整する調整処理の実行を制御する制御手段と
を備える記録再生装置の制御方法であって、
前記制御手段が、前記複数の記録媒体のうち、いずれか1つの記録媒体に対する調整処理が実行されている間は、前記複数の記録媒体のうちの他の記録媒体に対する調整処理の実行を抑制する工程を含むことを特徴とする、記録再生装置の制御方法。
An output means that outputs a clock signal to each of a plurality of recording media,
A communication means that transmits a command to each of the plurality of recording media and receives data transmitted from each of the plurality of recording media according to a timing signal obtained by delaying the clock signal.
A control method for a recording / playback device including a control means for controlling the communication means to control execution of an adjustment process for adjusting a delay amount of the timing signal for each of the plurality of recording media.
While the control means is executing the adjustment process for any one of the plurality of recording media, the control means suppresses the execution of the adjustment process for the other recording medium among the plurality of recording media. A method for controlling a recording / playback device, which comprises a process.
コンピュータを請求項1乃至8のいずれか1項に記載の記録再生装置の前記制御手段として機能させるためのプログラム。 A program for causing a computer to function as the control means of the recording / reproducing device according to any one of claims 1 to 8.
JP2017068744A 2017-03-30 2017-03-30 Recording / playback device, control method of recording / playback device, and program Active JP6857066B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017068744A JP6857066B2 (en) 2017-03-30 2017-03-30 Recording / playback device, control method of recording / playback device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017068744A JP6857066B2 (en) 2017-03-30 2017-03-30 Recording / playback device, control method of recording / playback device, and program

Publications (2)

Publication Number Publication Date
JP2018170732A JP2018170732A (en) 2018-11-01
JP6857066B2 true JP6857066B2 (en) 2021-04-14

Family

ID=64017959

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017068744A Active JP6857066B2 (en) 2017-03-30 2017-03-30 Recording / playback device, control method of recording / playback device, and program

Country Status (1)

Country Link
JP (1) JP6857066B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4105959B2 (en) * 2003-02-07 2008-06-25 富士フイルム株式会社 Digital camera
JP2012165186A (en) * 2011-02-07 2012-08-30 Jvc Kenwood Corp Recording device and recording control method
JP2015126417A (en) * 2013-12-26 2015-07-06 キヤノン株式会社 Recording apparatus and control method of the same
JP6356970B2 (en) * 2014-01-17 2018-07-11 キヤノン株式会社 Recording apparatus and control method of recording apparatus
JP6784631B2 (en) * 2017-03-30 2020-11-11 キヤノン株式会社 Recording / playback device, control method of recording / playback device, and program

Also Published As

Publication number Publication date
JP2018170732A (en) 2018-11-01

Similar Documents

Publication Publication Date Title
JP6356970B2 (en) Recording apparatus and control method of recording apparatus
CN108632552B (en) Recording apparatus, control method, and storage medium
JP6784631B2 (en) Recording / playback device, control method of recording / playback device, and program
JP2015029228A (en) Recording apparatus and control method therefor
US10439619B2 (en) Recording apparatus, control method, and storage medium
US9363465B2 (en) Data processing apparatus and data processing method
JP2016009280A (en) Recording device
US9240231B2 (en) Recording apparatus and control method for recording apparatus
JP6857066B2 (en) Recording / playback device, control method of recording / playback device, and program
JP6151976B2 (en) Recording / reproducing apparatus and control method
JP2020091696A (en) Recording and reproducing apparatus
US8452158B2 (en) Recording apparatus, imaging and recording apparatus, recording method, and program
US8509597B2 (en) Recording apparatus, imaging and recording apparatus, recording method, and program
JP6373002B2 (en) Recording apparatus and control method thereof
JP2016046781A (en) Recording and reproducing device, control method for recording and reproducing device, and program
JP2015118568A (en) Recording reproducing device, method for controlling recording reproducing device, and computer program
JP2015210540A (en) Recording device, imaging apparatus, control method of recording device, and program
JP2018147260A (en) Recording and reproducing device, control method of recording and reproducing device, and program
JP2016025391A (en) Recording apparatus, recording method, and program
JP2004165972A (en) Video and audio signal recorder
JP2007013691A (en) Imaging device, controlling method thereof and program performing the same, and storage media
JP2006157074A (en) Video/audio signal recorder
JP2006157073A (en) Video/audio signal recorder

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200324

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201209

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210319

R151 Written notification of patent or utility model registration

Ref document number: 6857066

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151