[go: up one dir, main page]

JP7418105B2 - Recording device, control method, and program - Google Patents

Recording device, control method, and program Download PDF

Info

Publication number
JP7418105B2
JP7418105B2 JP2019158668A JP2019158668A JP7418105B2 JP 7418105 B2 JP7418105 B2 JP 7418105B2 JP 2019158668 A JP2019158668 A JP 2019158668A JP 2019158668 A JP2019158668 A JP 2019158668A JP 7418105 B2 JP7418105 B2 JP 7418105B2
Authority
JP
Japan
Prior art keywords
recording
recording medium
automatic background
execution
background processing
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
JP2019158668A
Other languages
Japanese (ja)
Other versions
JP2021040184A (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 JP2019158668A priority Critical patent/JP7418105B2/en
Priority to EP20190003.2A priority patent/EP3786804B1/en
Priority to US17/003,076 priority patent/US11334142B2/en
Priority to CN202010884785.9A priority patent/CN112449091B/en
Publication of JP2021040184A publication Critical patent/JP2021040184A/en
Application granted granted Critical
Publication of JP7418105B2 publication Critical patent/JP7418105B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Description

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

撮像装置の記録メディアとして、NAND型フラッシュメモリが広く採用されている。NAND型フラッシュメモリは、最小単位としてデータを格納する「セル」、複数のセルから構成された「ページ」、複数のページから構成された「ブロック」という単位で構成される。1セルあたり1ビットの情報を記録する方式をSLC方式(Single Level Cell)と呼び、1セルあたり2ビットの情報を記録する方式をMLC方式(Multi Level Cell)と呼ぶ。また、1セルあたり3ビットの情報を記録する方式をTLC方式(Triple Level Cell)と呼ぶ。 NAND flash memories are widely used as recording media for imaging devices. A NAND flash memory is configured in units of a "cell" which stores data as a minimum unit, a "page" made up of a plurality of cells, and a "block" made up of a plurality of pages. A method of recording 1 bit of information per cell is called an SLC method (Single Level Cell), and a method of recording 2 bits of information per cell is called an MLC method (Multi Level Cell). Further, a method of recording 3 bits of information per cell is called a TLC method (Triple Level Cell).

SLC方式は、読み書き速度が最も高く、短時間に大量のデータを書き込むのに適しているが、ビット当たりの単価が高い。また、1セルあたりの容量は少ないが信頼性が高く寿命も長いため、一般的なストレージのキャッシュ領域又は産業機器ストレージの用途で使用されている。MLC方式及びTLC方式は、読み書き速度、信頼性、寿命がSLC方式と比較して劣っている。一方、1セルあたりの容量は、MLC方式ではSLC方式の2倍、TLC方式ではSLC方式の3倍であり、ビットあたりの単価が安いため、一般的なNAND型フラッシュメモリストレージとして広く使用されている。 The SLC method has the highest read/write speed and is suitable for writing large amounts of data in a short period of time, but the unit cost per bit is high. In addition, although the capacity per cell is low, it is highly reliable and has a long life, so it is used for general storage cache areas or industrial equipment storage. The MLC method and the TLC method are inferior to the SLC method in read/write speed, reliability, and lifespan. On the other hand, the capacity per cell in the MLC method is twice that of the SLC method, and the TLC method is three times that of the SLC method, and the unit price per bit is low, so it is widely used as a general NAND flash memory storage. There is.

NAND型フラッシュメモリを使用したSSD(Solid State Drive)やカード型メディアは、SLC方式とTLC方式とを組み合わせた構成をとることが多い。この場合、メモリコントローラは、SLC方式として使用する領域をキャッシュ領域として、TLC方式として使用する領域を主たるデータ領域として管理する。メモリコントローラは、ホストコントローラから転送されてくるデータをキャッシュ領域へ書き込むことで、トップスピードでの書き込み可能となる。 SSDs (Solid State Drives) and card-type media using NAND flash memory often have a configuration that combines the SLC method and the TLC method. In this case, the memory controller manages the area used for the SLC method as a cache area and the area used for the TLC method as a main data area. The memory controller can write data transferred from the host controller to the cache area at top speed.

キャッシュ領域であるSLC方式の領域は、全体の容量の中の比率が低い。そのため、メモリコントローラは、書き込みが停止している期間に次の書き込みに備え、キャッシュ領域における空き領域を確保するために、キャッシュ領域から主たるデータ領域であるTLC方式の領域へとデータを移動する。これをフラッシュキャッシュと呼ぶ。 The SLC type area, which is a cache area, has a low proportion of the total capacity. Therefore, the memory controller moves data from the cache area to the TLC area, which is the main data area, in order to secure free space in the cache area in preparation for the next write while writing is stopped. This is called flash cache.

SLC方式の領域をキャッシュ領域として使用することでトップスピードでの書き込みが実現する。そして、フラッシュキャッシュによりTLC方式の領域へデータを移動することにより、SLC方式の領域確保とNAND型フラッシュメモリ全体の容量の有効活用が可能となる。 Writing at top speed is achieved by using the SLC area as a cache area. By moving data to the TLC area using the flash cache, it becomes possible to secure the SLC area and effectively utilize the entire capacity of the NAND flash memory.

また、NAND型フラッシュメモリは、データ消去単位はブロック毎に制限され、かつ既存データへの上書きができない特性を持つ。ホストコントローラからNAND型フラッシュメモリ内のファイルが削除されると、メモリコントローラは内部ファイルテーブルに削除を記録する。削除されたファイルが記録されていたブロックには不要データが残り、断片化されたブロックとなる。 Furthermore, the NAND flash memory has the characteristic that the data erasing unit is limited to each block, and existing data cannot be overwritten. When a file in the NAND flash memory is deleted by the host controller, the memory controller records the deletion in an internal file table. Unnecessary data remains in the block where the deleted file was recorded, resulting in a fragmented block.

断片化されたブロックは、新たなデータを上書きできない領域として残ってしまう。そのため、メモリコントローラは、ブロック内の有効なデータを他のブロックへ退避し、現行のブロックのデータを消去し、新たなデータの記録領域として回復する。これをガベージコレクションという。 Fragmented blocks remain as areas that cannot be overwritten with new data. Therefore, the memory controller saves valid data in the block to another block, erases the data in the current block, and recovers it as a new data recording area. This is called garbage collection.

メモリコントローラによる定期的なフラッシュキャッシュ及びガベージコレクションの実施により、撮像装置の記録メディアとして、大容量静止画の連写に耐えうる書き込み速度の回復、及び、書き込み容量の最大化が期待できる。 By periodically performing flash caching and garbage collection by the memory controller, it is expected that the writing speed will be restored to be able to withstand continuous shooting of large-capacity still images as a recording medium for an imaging device, and the writing capacity will be maximized.

メモリコントローラによるフラッシュキャッシュ及びガベージコレクションの処理を、ホストコントローラからの書き込み・読み出しのメイン処理が無い時間にバックグラウンド処理として実施する技術が提案されている(特許文献1参照)。 A technique has been proposed in which flash cache and garbage collection processing by a memory controller is performed as background processing when there is no main write/read processing from the host controller (see Patent Document 1).

特許第6193189号公報Patent No. 6193189

ところで、撮像装置の記録メディアには、動画記録のようにリアルタイムに生成されるデータを定期的に長時間記録するリアルタイムタスク処理に対する要求もある。この場合、ホストコントローラとなる撮像装置は、定期的なリアルタイムデータの記録と記録との間に省電期間を設けることでNAND型フラッシュメモリの発熱を抑え、長時間記録に耐えうる電力管理が必要となる。 By the way, there is also a demand for real-time task processing in which data generated in real time is periodically recorded for a long time, such as in video recording, for recording media of imaging devices. In this case, the imaging device that serves as the host controller needs to have power management that can withstand long-term recording by setting a power-saving period between regular real-time data recordings to suppress the heat generation of the NAND flash memory. becomes.

しかしながら、省電期間として期待する、メイン処理がない期間にメモリコントローラがバックグラウンド処理を開始してしまうと、NAND型フラッシュメモリは省電期間なしに電力を消費することとなり、記録メディアの発熱が大きくなる。その結果、記録が停止してしまうなどの問題が発生する可能性がある。 However, if the memory controller starts background processing during a period when there is no main processing, which is expected as a power-saving period, the NAND flash memory will consume power without the power-saving period, and the recording media will generate heat. growing. As a result, problems such as recording stopping may occur.

一方で、バックグラウンド処理を禁止すると、記録メディアの発熱が低減されるため発熱による記録の停止を回避することができるが、記録メディアの最適化が実行されないため、書き込み速度の回復、及び、書き込み容量の最大化が期待できない。 On the other hand, if background processing is prohibited, the heat generated by the recording media will be reduced, and recording stops due to heat generation can be avoided, but the recording media will not be optimized, so the writing speed will not be restored and the writing speed will not be restored. Maximization of capacity cannot be expected.

本発明はこのような状況に鑑みてなされたものであり、記録媒体での省電期間における自動バックグラウンド処理の実行を許可するか否かを適切に制御する技術を提供することを目的とする。 The present invention has been made in view of this situation, and an object of the present invention is to provide a technology for appropriately controlling whether or not to permit automatic background processing to be executed during a power saving period in a recording medium. .

上記課題を解決するために、本発明の記録装置は、
フラッシュメモリを用いた記録媒体に画像を記録するように制御する記録制御手段と、記録媒体での省電期間における自動バックグラウンド処理の実行を許可するか否かを、所定の条件を満たすか否かに応じて切り替えるように制御する制御手段と、を備え、制御手段は、記録制御手段による記録媒体への画像の記録中に、所定の条件を満たすか否かに応じて、自動バックグラウンド処理の実行を許可するか否かを切り替えるように制御することを特徴とする。
In order to solve the above problems, the recording device of the present invention includes:
A recording control means for controlling recording of an image on a recording medium using a flash memory , and whether or not to permit execution of automatic background processing during a power saving period on the recording medium, depending on whether predetermined conditions are met. and a control means for controlling automatic background processing depending on whether or not a predetermined condition is satisfied while the recording control means is recording an image on a recording medium. The feature is that control is performed to switch whether or not to permit execution.

または、
フラッシュメモリを用いた複数の記録媒体のうち、記録先に設定されている記録媒体に画像を記録するように制御する記録制御手段と、複数の記録媒体での、省電期間における自動バックグラウンド処理の実行を許可するか否かを制御する制御手段と、を備え、制御手段は、複数の記録媒体のうち、記録先として設定されている記録媒体については、自動バックグラウンド処理の実行を許可しないように制御し、記録先として設定されていない記録媒体については、自動バックグラウンド処理の実行を許可するように制御する、ことを特徴とする。
or
A recording control means that controls recording of an image on a recording medium set as a recording destination among multiple recording media using flash memory , and automatic background processing during a power saving period on multiple recording media. control means for controlling whether to permit execution of the automatic background processing, and the control means does not permit execution of automatic background processing for a recording medium that is set as a recording destination among the plurality of recording media. The present invention is characterized in that it is controlled so as to permit execution of automatic background processing for recording media that are not set as recording destinations.

本発明によれば、記録媒体での省電期間における自動バックグラウンド処理の実行を許可するか否かを適切に制御することが可能となる。 According to the present invention, it is possible to appropriately control whether or not to permit execution of automatic background processing during the power saving period on a recording medium.

なお、本発明のその他の特徴及び利点は、添付図面及び以下の発明を実施するための形態における記載によって更に明らかになるものである。 Note that other features and advantages of the present invention will become more apparent from the accompanying drawings and the description in the following detailed description.

撮像装置100の構成を模式的に示す図。FIG. 1 is a diagram schematically showing the configuration of an imaging device 100. 撮像装置100が実行する撮影処理のフローチャート。5 is a flowchart of photographing processing executed by the imaging apparatus 100. カード制御(図2のS207)の詳細を示すフローチャート。3 is a flowchart showing details of card control (S207 in FIG. 2). 図3のS304及びS309において述べた各種条件の一例である温度条件の判定について説明するフローチャート。4 is a flowchart illustrating determination of a temperature condition, which is an example of the various conditions described in S304 and S309 of FIG. 3. 図3のS304及びS309において述べた各種条件の一例である電源条件の判定について説明するフローチャート。4 is a flowchart illustrating determination of a power supply condition, which is an example of the various conditions described in S304 and S309 of FIG. 3. 図3のS304及びS309において述べた各種条件の一例である残バッファ量/遅延時間条件の判定について説明するフローチャート。4 is a flowchart illustrating determination of the remaining buffer amount/delay time condition, which is an example of the various conditions described in S304 and S309 of FIG. 3; 図3のS304及びS309において述べた各種条件の一例である残バッファ量条件の判定について説明するフローチャート。4 is a flowchart illustrating determination of a remaining buffer amount condition, which is an example of the various conditions described in S304 and S309 of FIG. 3. FIG. 図3のS304及びS309において述べた各種条件の一例である遅延時間条件の判定について説明するフローチャート。4 is a flowchart illustrating determination of a delay time condition, which is an example of the various conditions described in S304 and S309 of FIG. 3. FIG.

以下、添付図面を参照して実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る発明を限定するものでない。実施形態には複数の特徴が記載されているが、これらの複数の特徴の全てが発明に必須のものとは限らず、また、複数の特徴は任意に組み合わせられてもよい。さらに、添付図面においては、同一若しくは同様の構成に同一の参照番号を付し、重複した説明は省略する。 Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the claimed invention. Although a plurality of features are described in the embodiments, not all of these features are essential to the invention, and the plurality of features may be arbitrarily combined. Furthermore, in the accompanying drawings, the same or similar components are designated by the same reference numerals, and redundant description will be omitted.

[第1の実施形態]
図1は、記録装置の一例である撮像装置100の構成を模式的に示す図である。図1において、撮像装置内部バス101に対して、レンズ部102、撮像部103、表示部104、操作部105、撮像装置温度検出部106、放熱ファン107、及びCPU108が接続されている。また、撮像装置内部バス101に対して、画像処理部109、第1のメディア制御部110、第2のメディア制御部111、RAM112、不揮発性メモリ113、及び電源部114が接続されている。撮像装置内部バス101に接続されている各部は、撮像装置内部バス101を介して互いにデータのやり取りを行うことができるように構成されている。
[First embodiment]
FIG. 1 is a diagram schematically showing the configuration of an imaging device 100, which is an example of a recording device. In FIG. 1, a lens section 102, an imaging section 103, a display section 104, an operation section 105, an imaging device temperature detection section 106, a heat dissipation fan 107, and a CPU 108 are connected to an imaging device internal bus 101. Further, an image processing section 109 , a first media control section 110 , a second media control section 111 , a RAM 112 , a nonvolatile memory 113 , and a power supply section 114 are connected to the imaging device internal bus 101 . Each unit connected to the imaging device internal bus 101 is configured to be able to exchange data with each other via the imaging device internal bus 101.

CPU108は、例えば不揮発性メモリ113に格納されるプログラムに従い、RAM112をワークメモリとして用いて、撮像装置100の各部を制御する。 The CPU 108 controls each part of the imaging apparatus 100 according to a program stored in the nonvolatile memory 113, for example, using the RAM 112 as a work memory.

不揮発性メモリ113には、画像データや音声データ、その他のデータ、CPU108が動作するための各種プログラムなどが格納される。不揮発性メモリ113は例えばハードディスク(HD)やROMなどで構成される。 The nonvolatile memory 113 stores image data, audio data, other data, various programs for the CPU 108 to operate, and the like. The nonvolatile memory 113 is composed of, for example, a hard disk (HD) or a ROM.

画像処理部109は、CPU108の制御に基づいて、不揮発性メモリ113やRAM112に格納された画像データや、レンズ部102を通して入射した被写体光学像を撮像部103で撮像した画像データなどに対して、各種画像処理を施す。画像処理部109が行う画像処理には、A/D変換処理、D/A変換処理、画像データのエンコード処理、圧縮処理、デコード処理、拡大/縮小処理(リサイズ)、ノイズ低減処理、色変換処理などが含まれる。画像処理部109は特定の画像処理を施すための専用の回路ブロックで構成してもよい。また、画像処理の種別によっては画像処理部109を用いずにCPU108がプログラムに従って画像処理を施すことも可能である。 Under the control of the CPU 108, the image processing unit 109 processes image data stored in the nonvolatile memory 113 or RAM 112, image data obtained by capturing an optical image of a subject incident through the lens unit 102 by the imaging unit 103, etc. Perform various image processing. Image processing performed by the image processing unit 109 includes A/D conversion processing, D/A conversion processing, image data encoding processing, compression processing, decoding processing, enlargement/reduction processing (resizing), noise reduction processing, and color conversion processing. etc. are included. The image processing unit 109 may be configured with a dedicated circuit block for performing specific image processing. Furthermore, depending on the type of image processing, the CPU 108 may perform image processing according to a program without using the image processing unit 109.

表示部104は、CPU108の制御に基づいて、画像やGUI(Graphical User Interface)を構成するGUI画面などを表示する。CPU108は、プログラムに従い表示制御信号を生成し、表示部104に表示するための映像信号を生成して表示部104に出力するように撮像装置100の各部を制御する。表示部104は出力された映像信号に基づいて映像を表示する。なお、撮像装置100自体が備える構成としては表示部104に表示させるための映像信号を出力するためのインタフェースまでとし、表示部104は外付けのモニタ(テレビなど)で構成してもよい。 The display unit 104 displays images, a GUI screen forming a GUI (Graphical User Interface), etc. under the control of the CPU 108. The CPU 108 generates a display control signal according to a program, and controls each section of the imaging device 100 to generate a video signal to be displayed on the display section 104 and output it to the display section 104. The display unit 104 displays video based on the output video signal. Note that the configuration of the imaging device 100 itself includes an interface for outputting a video signal to be displayed on the display unit 104, and the display unit 104 may be configured with an external monitor (such as a television).

操作部105は、キーボードなどの文字情報入力デバイスや、マウスやタッチパネルといったポインティングデバイス、ボタン、ダイヤル、ジョイスティック、タッチセンサ、タッチパッドなどを含む、ユーザ操作を受け付けるための入力デバイスである。なお、タッチパネルは、表示部104に重ね合わせて平面的に構成され、接触された位置に応じた座標情報が出力されるように構成された入力デバイスである。 The operation unit 105 is an input device for receiving user operations, including a character information input device such as a keyboard, a pointing device such as a mouse or a touch panel, a button, a dial, a joystick, a touch sensor, a touch pad, and the like. Note that the touch panel is an input device configured in a planar manner so as to be superimposed on the display unit 104, and configured to output coordinate information according to a touched position.

電源部114は、バッテリー115とACアダプタ116が装着可能な電源入力端子を有し、コンパレータ、ロードスイッチなどで構成された電源選択回路で、電圧の高い側又はACアダプタ116を優先して電源を選択する。 The power supply unit 114 has a power input terminal to which a battery 115 and an AC adapter 116 can be attached, and is a power supply selection circuit composed of a comparator, a load switch, etc., and gives priority to the higher voltage side or the AC adapter 116 when switching the power supply. select.

また、電源部114は、撮像装置100とバッテリー115とを接続するバッテリーインタフェースを含む。バッテリーインタフェースは、電源、グラウンドだけでなく、バッテリー115内部のマイコン(不図示)との通信端子、バッテリー115内部の温度検出部(不図示)を含む。更に、電源部114は、撮像装置100とACアダプタ116とを接続するACアダプタインタフェースを含む。ACアダプタインタフェースは、電源、グラウンド、ACアダプタ116を検出する検出部を含む。 Further, the power supply unit 114 includes a battery interface that connects the imaging device 100 and the battery 115. The battery interface includes not only a power supply and a ground, but also a communication terminal with a microcomputer (not shown) inside the battery 115 and a temperature detection section (not shown) inside the battery 115. Furthermore, the power supply unit 114 includes an AC adapter interface that connects the imaging device 100 and the AC adapter 116. The AC adapter interface includes a detection unit that detects power, ground, and AC adapter 116.

また、電源部114は、撮像装置内部バス101を介してCPU108にバッテリー115及びACアダプタ116の情報を通知することができる。また、電源部114は、選択された電源から不図示のDC/DCコンバーターやシリーズレギュレータを用いて電圧をレギュレートし、撮像装置100を構成している各部へ電力を供給する。また、電源部114は、装着されたバッテリー115及びACアダプタ116それぞれの電圧をA/D変換し、その値をCPU108に通知する。 Further, the power supply unit 114 can notify the CPU 108 of information about the battery 115 and the AC adapter 116 via the imaging device internal bus 101. Further, the power supply section 114 regulates the voltage from the selected power supply using a DC/DC converter or a series regulator (not shown), and supplies power to each section constituting the imaging device 100. Further, the power supply unit 114 A/D converts the voltages of the attached battery 115 and AC adapter 116, and notifies the CPU 108 of the values.

撮像部103は、CCDセンサやCMOSセンサなどの撮像素子である。レンズ部102は、ズームレンズ、フォーカスレンズ、シャッター、絞り、測距部、A/D変換器などにより構成されるレンズユニットである。 The imaging unit 103 is an imaging element such as a CCD sensor or a CMOS sensor. The lens section 102 is a lens unit that includes a zoom lens, a focus lens, a shutter, an aperture, a distance measuring section, an A/D converter, and the like.

撮像部103は、静止画及び動画を撮像可能である。撮像された画像の画像データは画像処理部109に送信され、各種処理を施された後、静止画ファイル又は動画ファイルとして第1の記録メディア150又は第2の記録メディア160に記録される。 The imaging unit 103 is capable of capturing still images and moving images. The image data of the captured image is transmitted to the image processing unit 109, subjected to various processing, and then recorded on the first recording medium 150 or the second recording medium 160 as a still image file or a moving image file.

放熱ファン107は、冷却用のファンである、撮像装置100内部の温度は撮像装置温度検出部106によって検出され、CPU108に通知される。CPU108はその温度によって放熱ファン107のファンの回転数を制御し、撮像装置100内部の温度を調整する。 The heat dissipation fan 107 is a cooling fan. The temperature inside the imaging device 100 is detected by the imaging device temperature detection unit 106 and notified to the CPU 108. The CPU 108 controls the rotation speed of the heat dissipation fan 107 based on the temperature, and adjusts the temperature inside the imaging device 100.

撮像装置100は、第1のメディア制御部110及び第1のメディアインタフェース155を介して、画像処理部109によって画像処理、エンコード処理、圧縮処理が施された静止画・動画のデータを、第1の記録メディア150に記録することができる。また、撮像装置100は、第1のメディア制御部110及び第1のメディアインタフェース155を介して、第1の記録メディア150に記録された静止画・動画のデータを読み出すことができる。撮像装置100は、読み出されたデータを画像処理部109によってデコード処理することにより得られる映像を表示部104に表示する。 The imaging device 100 transmits still image/video data that has been subjected to image processing, encoding processing, and compression processing by the image processing section 109 to a first can be recorded on the recording medium 150 of. Further, the imaging device 100 can read still image/video data recorded on the first recording medium 150 via the first media control unit 110 and the first media interface 155. The imaging device 100 displays an image obtained by decoding the read data by the image processing unit 109 on the display unit 104.

第1の記録メディア150は、撮像装置100に対して着脱可能な記録媒体であり、本実施形態においては、CFexpress規格に準拠したメモリカードとする。 The first recording medium 150 is a recording medium that can be attached to and detached from the imaging device 100, and in this embodiment, it is a memory card that complies with the CFexpress standard.

第1のメディア制御部110は、第1のメディアインタフェース155を介して、第1のメモリコントローラ152と制御コマンドの通信も行うことができる。制御コマンドには、データの記録及び再生のためのコマンドの他に、ベンダー情報、温度情報、及び書き込み回数情報等の取得のためのコマンドなどがある。 The first media control unit 110 can also communicate control commands with the first memory controller 152 via the first media interface 155. In addition to commands for recording and reproducing data, the control commands include commands for obtaining vendor information, temperature information, writing number information, and the like.

第1の記録メディア150は、第1のメモリコントローラ152、第1のNAND型メモリ部153、第1のメディア温度検出部154を含み、それぞれが第1の記録メディア内部バス151で接続されている。 The first recording medium 150 includes a first memory controller 152, a first NAND type memory section 153, and a first media temperature detection section 154, each of which is connected by a first recording medium internal bus 151. .

第1のメモリコントローラ152は、第1のメディア制御部110から転送される静止画・動画のデータを第1のNAND型メモリ部153へ記録する。この際、第1のメモリコントローラ152は、第1のNAND型メモリ部153のキャッシュ領域への書き込みの制御、及び主たるデータ領域へのデータの移動の制御を実行する。また、第1のメモリコントローラ152は、第1のNAND型メモリ部153内の断片化されたデータを移動・整理して空き領域を確保するガベージコレクションを行うことができる。 The first memory controller 152 records still image/video data transferred from the first media control unit 110 into the first NAND memory unit 153. At this time, the first memory controller 152 controls writing to the cache area of the first NAND memory unit 153 and controls movement of data to the main data area. Further, the first memory controller 152 can perform garbage collection to move and organize fragmented data in the first NAND memory section 153 to secure free space.

また、第1のメモリコントローラ152は、第1のメディア温度検出部154によって検出された第1のNAND型メモリ部153の温度を取得する。第1のメモリコントローラ152は、取得した温度に応じて、第1のNAND型メモリ部153へのクロック周波数の制御、アクセス禁止・許可の制御、及びアクセス速度の制御を行う。 The first memory controller 152 also obtains the temperature of the first NAND memory section 153 detected by the first media temperature detection section 154. The first memory controller 152 controls the clock frequency, prohibits/permits access, and controls the access speed to the first NAND memory section 153 according to the acquired temperature.

第2の記録メディア160は、第2のメディア制御部111及び第2のメディアインタフェース165を介して撮像装置100と接続され、第1の記録メディア150と同様の構成及び機能を持つ。第2のメモリコントローラ162、第2のNAND型メモリ部163、及び第2のメディア温度検出部164は、それぞれ、第1のメモリコントローラ152、第1のNAND型メモリ部153、及び第1のメディア温度検出部154に対応する。第2のメモリコントローラ162、第2のNAND型メモリ部163、及び第2のメディア温度検出部164は、第2の記録メディア内部バス161で接続されている。 The second recording medium 160 is connected to the imaging device 100 via the second media control unit 111 and the second media interface 165, and has the same configuration and functions as the first recording medium 150. The second memory controller 162, the second NAND type memory section 163, and the second media temperature detection section 164 respectively control the first memory controller 152, the first NAND type memory section 153, and the first medium It corresponds to the temperature detection section 154. The second memory controller 162, the second NAND memory section 163, and the second media temperature detection section 164 are connected by a second recording media internal bus 161.

図2は、撮像装置100が実行する撮影処理のフローチャートである。本フローチャートの各ステップの処理は、特に断らない限り、CPU108が不揮発性メモリ113に格納された制御プログラムを実行して撮像装置100の各部を制御することにより実現される。撮像装置100の電源がONになる撮影待機状態になると、本フローチャートの処理が開始する。 FIG. 2 is a flowchart of the photographing process executed by the imaging apparatus 100. Unless otherwise specified, the processing of each step in this flowchart is realized by the CPU 108 executing a control program stored in the nonvolatile memory 113 to control each part of the imaging apparatus 100. When the imaging device 100 enters the imaging standby state in which the power is turned on, the processing of this flowchart starts.

なお、撮像装置100は、複数の記録媒体に対する画像データの記録モードとして、シングル記録モード、デュアル記録モード、及びリレー記録モードのうちのいずれかを選択することができる。シングル記録モードの場合、撮像装置100は、第1の記録メディア150及び第2の記録メディア160のうちの一方を、画像データの記録先(以下、「記録対象カード」)として選択する。デュアル記録モードの場合、撮像装置100は、第1の記録メディア150及び第2の記録メディア160の両方を記録対象カードとして扱い、第1の記録メディア150及び第2の記録メディア160の両方に同じデータを記録する。リレー記録モードの場合、撮像装置100は、第1の記録メディア150及び第2の記録メディア160のうちの一方を記録対象カードとして選択する。記録対象カードの残容量が少なくなると、撮像装置100は、第1の記録メディア150及び第2の記録メディア160のうちの記録対象カードでない方(以下、「待機カード」と呼ぶ)を新たに記録対象カードとして選択する。元の記録対象カードは、待機カードになる。換言すると、記録対象カードの残容量が少なくなると、撮像装置100は、記録対象カードと待機カードとの入れ替えを行う。 Note that the imaging device 100 can select any one of a single recording mode, a dual recording mode, and a relay recording mode as a recording mode of image data for a plurality of recording media. In the single recording mode, the imaging device 100 selects one of the first recording medium 150 and the second recording medium 160 as a recording destination for image data (hereinafter referred to as a "recording target card"). In the dual recording mode, the imaging device 100 treats both the first recording medium 150 and the second recording medium 160 as recording target cards, and the same Record data. In the relay recording mode, the imaging device 100 selects one of the first recording medium 150 and the second recording medium 160 as the recording target card. When the remaining capacity of the recording target card becomes low, the imaging device 100 uses the one of the first recording medium 150 and the second recording medium 160 that is not the recording target card (hereinafter referred to as "standby card") for new recording. Select as target card. The original recording target card becomes a standby card. In other words, when the remaining capacity of the recording target card becomes low, the imaging device 100 replaces the recording target card with the standby card.

記録モードは、例えば操作部105を介したユーザ操作などにより、予め選択されているものとする。デュアル記録モード及びリレー記録モードは、第1の記録メディア150及び第2の記録メディア160の両方が撮像装置100に装着されている場合に選択可能である。リレー記録モードの場合、最初の記録対象カードは、例えば操作部105を介したユーザ操作などにより、予め選択されているものとする。シングル記録モードは、第1の記録メディア150及び第2の記録メディア160の少なくとも一方が撮像装置100に装着されている場合に選択可能である。シングル記録モードにおいて第1の記録メディア150及び第2の記録メディア160の両方が撮像装置100に装着されている場合、記録対象カードは、例えば操作部105を介したユーザ操作などにより、予め選択されているものとする。 It is assumed that the recording mode has been selected in advance, for example, by a user operation via the operation unit 105. The dual recording mode and the relay recording mode can be selected when both the first recording medium 150 and the second recording medium 160 are attached to the imaging device 100. In the case of the relay recording mode, it is assumed that the first card to be recorded is selected in advance, for example, by a user operation via the operation unit 105. The single recording mode can be selected when at least one of the first recording medium 150 and the second recording medium 160 is attached to the imaging device 100. When both the first recording medium 150 and the second recording medium 160 are installed in the imaging device 100 in the single recording mode, the recording target card is selected in advance by, for example, a user operation via the operation unit 105. It is assumed that

以下の説明において、第1の記録メディア150及び第2の記録メディア160のことを単に「カード」又は「メディア」と呼ぶ場合がある。 In the following description, the first recording medium 150 and the second recording medium 160 may be simply referred to as a "card" or "media."

最初に、S201で、CPU108は、撮像装置100に装着されている全てのカードに対して、バックグラウンド処理(BG処理)許可コマンドを送信する。BG処理許可コマンドは、省電期間(データの記録と記録との間など)における自動的なバックグラウンド処理の実行(自動バックグラウンド処理の実行)を許可するように制御するコマンドである。 First, in S201, the CPU 108 transmits a background processing (BG processing) permission command to all cards installed in the imaging apparatus 100. The BG processing permission command is a command that controls to permit automatic background processing execution (automatic background processing execution) during the power saving period (eg, between data recordings).

本実施形態では、第1の記録メディア150及び第2の記録メディア160は、CFexpress規格に準拠したメモリカードであるものとする。そして、BG処理の許可・禁止を、NVM Express規格(NVMe規格)のNOPPME(Non-Operational Power State Permissive Mode Enable)コマンドを用いて制御するものとする。NOPPMEコマンドは、実際には、省電期間中のBG処理を直接的に制御するコマンドではなく、所定の電力を超えるBG処理を許可するか否かを指定するコマンドである。 In this embodiment, it is assumed that the first recording medium 150 and the second recording medium 160 are memory cards compliant with the CFexpress standard. It is assumed that permission/prohibition of BG processing is controlled using a NOPPME (Non-Operational Power State Permissive Mode Enable) command of the NVM Express standard (NVMe standard). The NOPPME command is actually not a command that directly controls BG processing during the power saving period, but a command that specifies whether or not to permit BG processing that exceeds a predetermined power level.

NOPPMEコマンドによりEnableを示す「1」が指定された場合、メディアでは、所定の電力を超えるBG処理の実行が可能となり、その結果、省電期間におけるBG処理が実行可能となる。従って、NOPPMEコマンドにより「1」を指定することは、省電期間中のBG処理の実行を許可するように制御するBG処理許可コマンドを送信することに相当する。 When "1" indicating Enable is specified by the NOPPME command, the media can perform BG processing that exceeds the predetermined power, and as a result, BG processing during the power saving period can be performed. Therefore, specifying "1" with the NOPPME command corresponds to transmitting a BG processing permission command that controls to permit execution of BG processing during the power saving period.

一方、NOPPMEコマンドによりDisableを示す「0」が指定された場合、メディアでは、所定の電力を超えるBG処理の実行が不可能となり、その結果、省電期間中のBG処理が実行不可能となる。従って、NOPPMEコマンドにより「0」を指定することは、省電期間中のBG処理の実行を禁止する(許可しない)ように制御するコマンド(BG処理禁止コマンド)を送信することに相当する。 On the other hand, if "0" indicating Disable is specified by the NOPPME command, the media will not be able to execute BG processing that exceeds the predetermined power, and as a result, BG processing during the power saving period will not be able to be executed. . Therefore, specifying "0" with the NOPPME command corresponds to transmitting a command (BG processing prohibition command) that controls to prohibit (not permit) execution of BG processing during the power saving period.

なお、本実施形態は、省電期間中のBG処理の許可・禁止をNVM ExpressのNOPPMEコマンドを用いて制御する構成に限定されない。また、第1の記録メディア150及び第2の記録メディア160が準拠する規格は、CFexpress規格に限定されない。他の種類のコマンドをBG処理許可コマンド及びBG処理禁止コマンドとして用いて、他の規格に準拠するメディアの省電期間中のBG処理の許可・禁止を制御する構成も、本実施形態の範囲に含まれる。 Note that this embodiment is not limited to a configuration in which permission/prohibition of BG processing during the power saving period is controlled using the NOPPME command of NVM Express. Furthermore, the standards that the first recording medium 150 and the second recording medium 160 comply with are not limited to the CFexpress standard. A configuration in which other types of commands are used as the BG processing permission command and the BG processing prohibition command to control permission/prohibition of BG processing during the power saving period of media compliant with other standards is also within the scope of this embodiment. included.

次に、S202で、CPU108は、静止画撮影指示が行われたか否かを判定する。静止画撮影指示が行われた場合、処理はS203に進み、そうでない場合、処理はS204に進む。 Next, in S202, the CPU 108 determines whether a still image shooting instruction has been given. If a still image shooting instruction has been given, the process proceeds to S203; otherwise, the process proceeds to S204.

S203で、CPU108は、撮像部103を用いて静止画を生成する静止画撮影を行い、得られた静止画を記録対象カードに記録する。その後、処理はS202に戻る。 In S203, the CPU 108 performs still image shooting to generate a still image using the imaging unit 103, and records the obtained still image on the recording target card. After that, the process returns to S202.

S204で、CPU108は、動画撮影指示が行われたか否かを判定する。動画撮影指示が行われた場合、処理はS205に進み、そうでない場合、処理はS205に進む。 In S204, the CPU 108 determines whether a video shooting instruction has been given. If a video shooting instruction has been given, the process proceeds to S205; otherwise, the process proceeds to S205.

S205で、CPU108は、記録対象カードに対してBG処理禁止コマンドを送信する。すなわち、動画記録の場合は、基本的には、記録対象カードにおけるBG処理を禁止する。待機カードについては、S201においてBG処理許可コマンドを送信しているため、BG処理は許可されている。待機カードでは画像の記録が行われないため、基本的には、BG処理を許可している。 In S205, the CPU 108 transmits a BG processing prohibition command to the recording target card. That is, in the case of video recording, BG processing on the recording target card is basically prohibited. As for the standby card, since the BG processing permission command is transmitted in S201, BG processing is permitted. Since no image is recorded on the standby card, BG processing is basically permitted.

S206で、CPU108は、撮像部103を用いて動画を生成する動画撮影と、記録対象カードへの動画記録とを開始する。 In S206, the CPU 108 starts video shooting to generate a video using the imaging unit 103 and video recording to the recording target card.

S207で、CPU108は、カード制御を行う。カード制御は、リレー記録モードにおける記録対象カードと待機カードとの入れ替え制御、記録対象カードのBG処理の許可・禁止制御、及び待機カードのBG処理の許可・禁止制御を含む。カード制御の詳細は図3を参照して後述する。 In S207, the CPU 108 performs card control. The card control includes control for exchanging the recording target card and the standby card in the relay recording mode, control for permitting/prohibiting the BG processing of the recording target card, and control for permitting/prohibiting the BG processing for the standby card. Details of card control will be described later with reference to FIG.

S208で、CPU108は、記録停止指示が行われたか否かを判定する。記録停止指示が行われた場合、処理はS209に進み、そうでない場合、処理はS207に戻る。即ち、動画記録中は、カード制御が繰り返し実行される。 In S208, the CPU 108 determines whether a recording stop instruction has been given. If a recording stop instruction has been given, the process proceeds to S209; otherwise, the process returns to S207. That is, during video recording, card control is repeatedly executed.

S209で、CPU108は、動画の撮影及び記録を停止する。その後、処理はS201に戻り、再び全てのカードにBG処理許可コマンドが送信される。動画の記録停止時及び本フローチャートの処理開始時に全てのカードにBG処理許可コマンドが送信されるので、S203において静止画を記録する場合は、記録対象カードのメモリコントローラは省電期間にBG処理を実行可能である。 In S209, the CPU 108 stops capturing and recording the video. After that, the process returns to S201, and the BG processing permission command is sent to all cards again. A BG processing permission command is sent to all cards when recording a video is stopped and when processing in this flowchart is started, so when recording a still image in S203, the memory controller of the recording target card does not perform BG processing during the power saving period. It is doable.

次に、図3を参照して、カード制御(図2のS207)の詳細について説明する。S301で、CPU108は、現在の記録モードがリレー記録モードであるか否かを判定する。リレー記録モードの場合、処理はS302に進み、そうでない場合、処理はS304に進む。 Next, details of card control (S207 in FIG. 2) will be described with reference to FIG. 3. In S301, the CPU 108 determines whether the current recording mode is the relay recording mode. If the relay recording mode is selected, the process proceeds to S302; otherwise, the process proceeds to S304.

S302で、CPU108は、現在の記録対象カードの残容量が予め設定された閾値未満(第6の閾値未満)であるか否かを判定する。残容量が閾値未満の場合、処理はS303に進み、そうでない場合、処理はS304に進む。 In S302, the CPU 108 determines whether the remaining capacity of the current recording target card is less than a preset threshold (less than a sixth threshold). If the remaining capacity is less than the threshold, the process proceeds to S303; otherwise, the process proceeds to S304.

S303で、CPU108は、記録対象カードと待機カードとの入れ替えを行う。なお、この時、CPU108は、記録対象カードに対してBG処理禁止コマンドを送信し、待機カードに対してBG処理許可コマンドを送信する。画像の記録が行われる記録対象カードにおいては基本的にはBG処理を禁止し、画像の記録が行われない待機カードにおいては基本的にはBG処理を許可するためである。 In S303, the CPU 108 replaces the recording target card with the standby card. Note that at this time, the CPU 108 transmits a BG processing prohibition command to the recording target card, and transmits a BG processing permission command to the standby card. This is because BG processing is basically prohibited on the recording target card where images are recorded, and BG processing is basically permitted on standby cards where images are not recorded.

S304で、CPU108は、記録対象カードの省電期間におけるBG処理を許可するか禁止するかに関する各種条件を判定する。各種条件とは、例えば、温度条件、電源条件、及び残バッファ量/遅延時間条件である。各条件には対応する禁止フラグ(例えば、「温度条件による禁止フラグ」、「電源条件による禁止フラグ」、及び「残バッファ量/遅延時間条件による禁止フラグ」)が定義されている。各条件の判定結果に応じて、対応する禁止フラグがON又はOFFに設定される。各禁止フラグは、例えばRAM112に保持される。これらの条件及びその判定の詳細については、図4乃至図8を参照して後述する。なお、前述したとおり、図3のカード制御処理は、記録停止指示があるまで繰り返される。そのため、各種条件の判定結果に応じたBG処理の許可・禁止の制御は、動画の記録中は繰り返し実行され、各種条件の判定結果が変化する度にBG処理の許可・禁止を切り替えることになる。 In S304, the CPU 108 determines various conditions regarding whether to permit or prohibit BG processing during the power saving period of the recording target card. The various conditions include, for example, temperature conditions, power supply conditions, and remaining buffer amount/delay time conditions. A corresponding prohibition flag is defined for each condition (eg, "prohibition flag based on temperature condition", "prohibition flag based on power supply condition", and "prohibition flag based on remaining buffer amount/delay time condition"). Depending on the determination result of each condition, the corresponding prohibition flag is set to ON or OFF. Each prohibition flag is held in the RAM 112, for example. Details of these conditions and their determination will be described later with reference to FIGS. 4 to 8. Note that, as described above, the card control process in FIG. 3 is repeated until an instruction to stop recording is given. Therefore, the control to permit/prohibit BG processing according to the judgment results of various conditions is executed repeatedly during video recording, and the permission/prohibition of BG processing is switched every time the judgment results of various conditions change. .

S305で、CPU108は、S304の処理により設定された記録対象カードに関する全ての禁止フラグがOFFであるか否かを判定する。全ての禁止フラグがOFFである場合、処理はS306に進み、そうでない場合、処理はS307に進む。 In S305, the CPU 108 determines whether all the prohibition flags regarding the recording target card set in the process of S304 are OFF. If all prohibition flags are OFF, the process proceeds to S306; otherwise, the process proceeds to S307.

S306で、CPU108は、記録対象カードに対してBG処理許可コマンドを送信する。 In S306, the CPU 108 transmits a BG processing permission command to the recording target card.

S307で、CPU108は、記録対象カードに対してBG処理禁止コマンドを送信する。 In S307, the CPU 108 transmits a BG processing prohibition command to the recording target card.

なお、デュアル記録モードの場合、両方の記録対象カードに対してBG処理許可コマンド又はBG処理禁止コマンドの送信が行われる。温度条件のようにカード毎に判定結果が異なる可能性のある条件については、カード毎に条件の判定と対応する禁止フラグの設定を行ってもよい。従って、S305の判定結果がカード毎に異なる場合もあり、この場合、1つの記録対象カードについてはS306の処理が実行され、もう1つの記録対象カードについてはS307の処理が実行される。 Note that in the case of the dual recording mode, a BG processing permission command or a BG processing prohibition command is transmitted to both recording target cards. For conditions such as temperature conditions where the determination result may differ from card to card, the condition may be determined and the corresponding prohibition flag may be set for each card. Therefore, the determination result of S305 may differ for each card, and in this case, the process of S306 is executed for one recording target card, and the process of S307 is executed for the other recording target card.

S308で、CPU108は、待機カードが存在するか否かを判定する。リレー記録モードの場合、及び、シングル記録モードにおいて第1の記録メディア150及び第2の記録メディア160の両方が撮像装置100に装着されている場合に、待機カードが存在する。待機カードが存在する場合、処理はS309に進み、そうでない場合、カード制御は終了して処理は図2のS208に進む。 In S308, the CPU 108 determines whether a standby card exists. A standby card exists in the relay recording mode and when both the first recording medium 150 and the second recording medium 160 are attached to the imaging device 100 in the single recording mode. If there is a standby card, the process proceeds to S309; otherwise, card control ends and the process proceeds to S208 in FIG. 2.

S309で、CPU108は、待機カードの省電期間におけるBG処理を許可するか禁止するかに関する各種条件を判定する。各種条件とは、例えば、温度条件及び電源条件である。各条件には対応する禁止フラグ(例えば、「温度条件による禁止フラグ」及び「電源条件による禁止フラグ」)が定義されている。各条件の判定結果に応じて、対応する禁止フラグがON又はOFFに設定される。各禁止フラグは、例えばRAM112に保持される。これらの条件及びその判定の詳細については、図4及び図5を参照して後述する。 In S309, the CPU 108 determines various conditions regarding whether to permit or prohibit BG processing during the power saving period of the standby card. The various conditions are, for example, temperature conditions and power supply conditions. A corresponding prohibition flag (for example, "prohibition flag due to temperature condition" and "prohibition flag due to power supply condition") is defined for each condition. Depending on the determination result of each condition, the corresponding prohibition flag is set to ON or OFF. Each prohibition flag is held in the RAM 112, for example. Details of these conditions and their determination will be described later with reference to FIGS. 4 and 5.

S310で、CPU108は、S309の処理により設定された待機カードに関する全ての禁止フラグがOFFであるか否かを判定する。全ての禁止フラグがOFFである場合、処理はS311に進み、そうでない場合、処理はS312に進む。 In S310, the CPU 108 determines whether all prohibition flags related to the standby cards set in the process of S309 are OFF. If all the prohibition flags are OFF, the process proceeds to S311; otherwise, the process proceeds to S312.

S311で、CPU108は、待機カードに対してBG処理許可コマンドを送信する。S312で、CPU108は、待機カードに対してBG処理禁止コマンドを送信する。 In S311, the CPU 108 transmits a BG processing permission command to the standby card. In S312, the CPU 108 transmits a BG processing prohibition command to the standby card.

次に、図4を参照して、図3のS304及びS309において述べた各種条件の一例である温度条件の判定について説明する。 Next, with reference to FIG. 4, determination of temperature conditions, which are examples of the various conditions described in S304 and S309 of FIG. 3, will be described.

S401で、CPU108は、各種温度閾値を取得する。具体的には、CPU108は、不揮発性メモリ113から、カメラ温度閾値TC_TH(第2の閾値)、メディア温度閾値TM_TH(第1の閾値、第7の閾値)、メディア温度有効下限TM_MIN、及びメディア温度有効上限TM_MAXを読み出す。 In S401, the CPU 108 acquires various temperature threshold values. Specifically, the CPU 108 reads from the nonvolatile memory 113 camera temperature threshold TC_TH (second threshold), media temperature threshold TM_TH (first threshold, seventh threshold), effective lower limit TM_MIN of media temperature, and media temperature Read the effective upper limit TM_MAX.

なお、各種温度閾値は、撮像装置100の動作モード又は動画の記録ビットレートなどに応じて変化してもよい。例えば、撮像装置100の動作モード及び記録ビットレートの組合せ毎に対応する各種温度閾値を持つデータテーブルを不揮発性メモリ113に予め記憶しておく。そして、CPU108は、データテーブルを参照することにより、現在の動作モード及び記録ビットレートの組合せに対応する各種温度閾値を取得する。 Note that the various temperature threshold values may change depending on the operation mode of the imaging device 100 or the recording bit rate of the moving image. For example, a data table having various temperature threshold values corresponding to each combination of the operation mode and recording bit rate of the imaging device 100 is stored in the nonvolatile memory 113 in advance. Then, the CPU 108 obtains various temperature threshold values corresponding to the combination of the current operation mode and recording bit rate by referring to the data table.

また、各種温度閾値は、記録対象カードに関する温度条件の場合(図3のS304の場合)と待機カードに関する温度条件の場合(図3のS309の場合)とで異なってもよい。 Further, various temperature threshold values may be different between the temperature condition regarding the recording target card (in the case of S304 in FIG. 3) and the temperature condition in the case of the standby card (in the case of S309 in FIG. 3).

S402で、CPU108は、撮像装置温度検出部106からカメラ温度情報TCを取得する。前述の通り、撮像装置100では、撮像装置温度検出部106によって撮像装置100の内部の温度が検出され、CPU108に通知される。 In S402, the CPU 108 acquires camera temperature information TC from the imaging device temperature detection unit 106. As described above, in the imaging device 100, the temperature inside the imaging device 100 is detected by the imaging device temperature detection unit 106, and the CPU 108 is notified.

S403で、CPU108は、記録対象カードから(図3のS304の場合)、又は待機カードから(図3のS309の場合)、メディア温度情報TMを取得する。前述の通り、第1のメモリコントローラ152は、第1のメディア温度検出部154によって検出された第1のNAND型メモリ部153の温度を取得する。従って、CPU108は、第1の記録メディア150からメディア温度情報TMを取得する場合、第1のメモリコントローラ152を介して取得を行う。第2の記録メディア160についても同様である。 In S403, the CPU 108 acquires media temperature information TM from the recording target card (in the case of S304 in FIG. 3) or from the standby card (in the case of S309 in FIG. 3). As described above, the first memory controller 152 acquires the temperature of the first NAND memory section 153 detected by the first media temperature detection section 154. Therefore, when acquiring the media temperature information TM from the first recording medium 150, the CPU 108 performs the acquisition via the first memory controller 152. The same applies to the second recording medium 160.

S404で、CPU108は、S403で取得したメディア温度TMの有効判定を行う。即ち、CPU108は、メディア温度TMが、メディア温度有効下限TM_MIN以上かつメディア温度有効上限TM_MAX以下であるか否か(所定の範囲内に含まれるか否か)を判定する。メディア温度有効下限TM_MIN以上かつメディア温度有効上限TM_MAX以下である場合、処理はS405に進み、そうでない場合、処理はS408に進む。 In S404, the CPU 108 determines the validity of the media temperature TM acquired in S403. That is, the CPU 108 determines whether the media temperature TM is greater than or equal to the effective lower limit of media temperature TM_MIN and less than or equal to the effective upper limit of media temperature TM_MAX (whether it is within a predetermined range). If the media temperature is greater than or equal to the effective lower limit TM_MIN and less than or equal to the effective media temperature upper limit TM_MAX, the process proceeds to S405; otherwise, the process proceeds to S408.

S405で、CPU108は、メディア温度TMがメディア温度閾値TM_TH以上であるか否かを判定する。メディア温度TMがメディア温度閾値TM_TH以上である場合、処理はS406に進み、そうでない場合、処理はS407に進む。 In S405, the CPU 108 determines whether the media temperature TM is equal to or higher than the media temperature threshold TM_TH. If the media temperature TM is equal to or higher than the media temperature threshold TM_TH, the process proceeds to S406; otherwise, the process proceeds to S407.

S406で、CPU108は、温度条件による禁止フラグをONに設定する。即ち、CPU108は、メディア温度TM又はカメラ温度TCが対応する閾値以上である場合に温度条件による禁止フラグをONに設定することにより、BG処理の実行を禁止するように制御する。これにより、メディア又はカメラの発熱を抑制し、発熱による記録の停止を抑制することが可能となる。 In S406, the CPU 108 sets the prohibition flag based on the temperature condition to ON. That is, when the media temperature TM or camera temperature TC is equal to or higher than the corresponding threshold value, the CPU 108 sets the prohibition flag based on the temperature condition to ON, thereby controlling the execution of the BG process to be prohibited. This makes it possible to suppress heat generation in the media or camera and prevent recording from stopping due to heat generation.

S407で、CPU108は、温度条件による禁止フラグをOFFに設定する。 In S407, the CPU 108 sets the prohibition flag based on the temperature condition to OFF.

S408で、CPU108は、カメラ温度TCがカメラ温度閾値TC_TH以上であるか否かを判定する。カメラ温度TCがカメラ温度閾値TC_TH以上である場合、処理はS406に進み、そうでない場合、処理はS407に進む。S408の処理が実行される場合(即ち、メディア温度有効下限TM_MIN以上かつメディア温度有効上限TM_MAX以下でない場合)、メディアの異常や通信の異常などの理由により、通常使用する範囲では想定されない温度情報が得られたと考えられる。従って、この場合は、メディア温度TMを用いるS405と異なり、カメラ温度TCに基づいて温度条件による禁止フラグのON/OFFが制御される。 In S408, the CPU 108 determines whether the camera temperature TC is equal to or higher than the camera temperature threshold TC_TH. If the camera temperature TC is equal to or higher than the camera temperature threshold TC_TH, the process proceeds to S406; otherwise, the process proceeds to S407. When the process of S408 is executed (that is, when the media temperature is not higher than the effective lower limit TM_MIN and lower than the effective media temperature upper limit TM_MAX), temperature information that is not expected in the normally used range is generated due to media abnormality or communication abnormality. It is considered that it was obtained. Therefore, in this case, unlike S405 in which the media temperature TM is used, ON/OFF of the prohibition flag according to the temperature condition is controlled based on the camera temperature TC.

ここで、図4の各ステップの処理に関する変形例について説明する。CPU108は、S402及びS403におけるカメラ温度情報TC及びメディア温度情報TMの取得に加えて、単位系の変換処理及びオフセット調整処理などの所定の前処理を行ってもよい。 Here, a modification regarding the processing of each step in FIG. 4 will be described. In addition to acquiring the camera temperature information TC and media temperature information TM in S402 and S403, the CPU 108 may perform predetermined preprocessing such as unit system conversion processing and offset adjustment processing.

また、複数の温度検出部を持つ構成の場合には、全ての温度検出部から温度情報を取得する構成を採用してもよいし、一部の温度検出部のみから温度情報を取得する構成を採用してもよい。或いは、複数の温度検出部から取得した温度情報について、平均化や重み付け、最大値検出、最小値検出などの所定の演算を施す構成を最小してもよい。 In addition, in the case of a configuration having multiple temperature detection units, a configuration may be adopted in which temperature information is acquired from all temperature detection units, or a configuration in which temperature information is acquired from only some temperature detection units may be adopted. May be adopted. Alternatively, a configuration in which predetermined calculations such as averaging, weighting, maximum value detection, minimum value detection, etc. are performed on temperature information acquired from a plurality of temperature detection units may be minimized.

また、S405ではメディア温度TMを用いた判定が行われているが、CPU108は、メディア温度TMとカメラ温度TCの両方の温度情報を用いて判定を行ってもよい。例えば、メディア温度TMとメディア温度閾値TM_THの差分と、メディア温度TCとメディア温度閾値TC_THの差分の小さい方を判定基準として用いることができる。 Furthermore, although the determination is made using the media temperature TM in S405, the CPU 108 may also make the determination using temperature information on both the media temperature TM and the camera temperature TC. For example, the smaller of the difference between the media temperature TM and the media temperature threshold TM_TH and the difference between the media temperature TC and the media temperature threshold TC_TH can be used as the determination criterion.

次に、図5を参照して、図3のS304及びS309において述べた各種条件の一例である電源条件の判定について説明する。BG処理を実施することで撮像装置100は通常記録動作より電力を多く消費するため、電源の消費が早くなり、バッテリー115駆動の場合は、撮像装置100が所望のタイミング外で電源シャットダウンする恐れがある。そのため、撮像装置100の電源の状態を判定する電源条件による禁止フラグを用いることにより、このような問題が発生する可能性を低減することができる。また、撮像装置100に接続されるバッテリー115について、CPU108では特性の判断ができない場合や、バッテリー115の残量が変化することなどを考慮して、適切にBG処理の許可・禁止を制御することが望ましい。 Next, with reference to FIG. 5, determination of the power supply condition, which is an example of the various conditions described in S304 and S309 of FIG. 3, will be described. By performing the BG processing, the imaging device 100 consumes more power than normal recording operation, so the power consumption becomes faster, and if the imaging device 100 is driven by the battery 115, there is a risk that the imaging device 100 will be powered down at an undesired timing. be. Therefore, by using a prohibition flag based on the power condition that determines the power state of the imaging device 100, the possibility that such a problem will occur can be reduced. Furthermore, the CPU 108 may be unable to determine the characteristics of the battery 115 connected to the imaging device 100, or the remaining capacity of the battery 115 may change, and the permission/prohibition of BG processing may be appropriately controlled. is desirable.

なお、図4を参照して説明した温度条件についてはメディア毎に判定結果が異なる可能性があったが、電源条件の場合はメディアに応じた判定結果の相違は発生しない。そのため、図3のS309では、電源条件の判定を省略して、S304における温度条件の判定結果を、待機カードについての温度条件の判定結果として用いてもよい。 Regarding the temperature conditions described with reference to FIG. 4, there is a possibility that the determination results differ depending on the media, but in the case of the power supply conditions, there is no difference in the determination results depending on the media. Therefore, in S309 of FIG. 3, the power condition determination may be omitted, and the temperature condition determination result in S304 may be used as the temperature condition determination result for the standby card.

最初に、S501で、CPU108は、電源部114から電源情報を取得する。電源情報は、撮像装置100の現在の駆動電源が、バッテリー115又はACアダプタ116のうちのどちらであるかを示す。 First, in S501, the CPU 108 acquires power information from the power supply unit 114. The power source information indicates whether the current power source for driving the imaging device 100 is the battery 115 or the AC adapter 116.

S502で、CPU108は、撮像装置100の現在の駆動電源がバッテリー115であるか否かを判定する。バッテリー115の場合、処理はS503に進み、そうでない場合、処理はS507に進む。 In step S<b>502 , the CPU 108 determines whether the current driving power source of the imaging apparatus 100 is the battery 115 . In the case of the battery 115, the process advances to S503; otherwise, the process advances to S507.

S503で、CPU108は、バッテリー115の特性が既知であるか否かを判定する。例えば、CPU108は、バッテリー115から識別情報(型番など)を取得し、取得した識別情報に対応する特性情報が不揮発性メモリ113に格納されている場合に、バッテリー115の特性が既知であると判断する。バッテリー115の特性が既知である場合、処理はS504に進み、そうでない場合、処理はS507に進む。 In S503, the CPU 108 determines whether the characteristics of the battery 115 are known. For example, the CPU 108 acquires identification information (model number, etc.) from the battery 115, and determines that the characteristics of the battery 115 are known when characteristic information corresponding to the acquired identification information is stored in the nonvolatile memory 113. do. If the characteristics of the battery 115 are known, the process proceeds to S504; otherwise, the process proceeds to S507.

S504で、CPU108は、バッテリー115の電圧が、予め設定された閾値以上(第3の閾値以上)であるか否かを判定する。電圧が閾値以上の場合、つまり、バッテリー115の残量が予め設定された閾値以上で十分ある場合は、処理はS506に進む。そして、電圧が閾値未満の場合、つまり、バッテリー115の残量が予め設定された閾値未満で、バッテリー残量が低下している場合は、処理はS505に進む。なお、ここで使用する閾値は、バッテリー115の特性に応じて変化してもよい。 In S504, the CPU 108 determines whether the voltage of the battery 115 is greater than or equal to a preset threshold (a third threshold or greater). If the voltage is greater than or equal to the threshold, that is, if the remaining capacity of the battery 115 is greater than or equal to the preset threshold, the process proceeds to S506. Then, if the voltage is less than the threshold value, that is, if the remaining amount of battery 115 is less than a preset threshold value and the remaining battery amount is decreasing, the process advances to S505. Note that the threshold value used here may change depending on the characteristics of the battery 115.

S505で、CPU108は、電源条件による禁止フラグをONに設定する。即ち、CPU108は、現在の駆動電源であるバッテリー115の電圧が閾値以上でない場合に電源条件による禁止フラグをONに設定することにより、BG処理の実行を禁止するように制御する。これにより、BG処理によるバッテリー115の残量低下を抑制し、バッテリー115の残量不足による記録の停止を抑制することが可能となる。 In S505, the CPU 108 sets the prohibition flag based on the power supply condition to ON. That is, when the voltage of the battery 115, which is the current driving power source, is not equal to or higher than the threshold value, the CPU 108 controls to prohibit execution of the BG process by setting the prohibition flag based on the power supply condition to ON. This makes it possible to suppress a decrease in the remaining capacity of the battery 115 due to BG processing, and to suppress the stoppage of recording due to insufficient remaining capacity of the battery 115.

S506で、CPU108は、電源条件による禁止フラグをOFFに設定する。 In S506, the CPU 108 sets the power condition-based prohibition flag to OFF.

S502において現在の駆動電源がバッテリー115でないと判定された場合、及びS503においてバッテリー115の特性が既知でないと判定された場合、S507で、CPU108は、電源条件による禁止フラグをOFFに設定する。 If it is determined in S502 that the current drive power source is not the battery 115, and if it is determined in S503 that the characteristics of the battery 115 are not known, the CPU 108 sets the prohibition flag based on the power supply condition to OFF in S507.

図5フローチャートでは、駆動電源がバッテリーであり、かつ、バッテリー115の電圧が閾値未満の場合に、禁止フラグをONに設定し、BG処理を禁止するようにした。しかし、電圧によるバッテリー115の残量を判定せずに、バッテリー駆動の場合には常にBG処理を禁止するようにしてもよい。また、駆動電源がバッテリー115のみの場合は、駆動電源の種別を判定せずに、電圧によるバッテリー115の残量に応じて、BG処理の許可・禁止を制御するようにしてもよい。次に、図6を参照して、図3のS304及びS309において述べた各種条件の一例である残バッファ量/遅延時間条件の判定について説明する。動画記録のようにリアルタイム生成されるデータを定期的に長時間記録するような場合、撮像装置100は、NAND型フラッシュメモリで構成されたメディアに対してリアルタイムデータを書き込む前に、バッファメモリに一時的に記録する。バッファメモリとしては、例えばRAM112が用いられる。所定量のリアルタイムデータがバッファメモリに記録されたところで、メディアへの記録が実行される。この時、メディア内部でBG処理が実行されていて、リアルタイムデータの記録であるメイン処理が滞ると、バッファメモリ残容量(残バッファ量)がなくなってしまい、リアルタイムデータを消失してしまう。また、メディア内部で実行されていたBG処理からメイン処理であるリアルタイムデータの記録へ遷移する際には遅延時間が発生する。この遅延時間がリアルタイムデータの書き込みに必要な時間に対して長い場合はリアルタイムデータの記録が間に合わず、リアルタイムデータを消失してしまう。そのため、RAM112のバッファメモリ容量を使い切ることなく、かつ、十分な書き込み速度を保てるようにBG処理の許可・禁止を制御する必要がある。 In the flowchart of FIG. 5, when the drive power source is a battery and the voltage of the battery 115 is less than the threshold value, the prohibition flag is set to ON and the BG process is prohibited. However, the BG processing may be always prohibited in the case of battery drive without determining the remaining capacity of the battery 115 based on the voltage. Further, when the driving power source is only the battery 115, the permission/prohibition of BG processing may be controlled according to the remaining amount of the battery 115 based on the voltage without determining the type of the driving power source. Next, with reference to FIG. 6, determination of the remaining buffer amount/delay time condition, which is an example of the various conditions described in S304 and S309 of FIG. 3, will be described. When recording data generated in real time for a long period of time, such as video recording, the imaging device 100 temporarily stores data in a buffer memory before writing the real time data to a medium configured with a NAND flash memory. Record it accurately. For example, a RAM 112 is used as the buffer memory. Once a predetermined amount of real-time data has been recorded in the buffer memory, recording onto the media is executed. At this time, if BG processing is being executed inside the medium and the main processing, which is recording of real-time data, is delayed, the remaining buffer memory capacity (remaining buffer amount) will be exhausted and the real-time data will be lost. Furthermore, a delay time occurs when transitioning from the BG processing executed inside the medium to the recording of real-time data, which is the main processing. If this delay time is longer than the time required to write real-time data, the real-time data will not be recorded in time, and the real-time data will be lost. Therefore, it is necessary to control permission/prohibition of BG processing so as not to use up the buffer memory capacity of the RAM 112 and to maintain a sufficient writing speed.

S601で、CPU108は、記録対象カードから遅延時間を取得する。S602で、CPU108は、撮像装置100の残バッファ量を取得する。 In S601, the CPU 108 acquires the delay time from the recording target card. In S602, the CPU 108 obtains the remaining buffer amount of the imaging apparatus 100.

S603で、CPU108は、遅延時間が予め定められた閾値以上(第5の閾値以上)であるか否かを判定する。遅延時間が閾値以上である場合、処理はS604に進み、そうでない場合、処理はS606に進む。なお、ここで使用する閾値は、動画の記録ビットレートに応じて変化してもよい。 In S603, the CPU 108 determines whether the delay time is greater than or equal to a predetermined threshold (greater than or equal to the fifth threshold). If the delay time is equal to or greater than the threshold, the process proceeds to S604; otherwise, the process proceeds to S606. Note that the threshold value used here may change depending on the recording bit rate of the moving image.

S604で、CPU108は、残バッファ量が予め定められた閾値未満(第4の閾値未満)であるか否かを判定する。残バッファ量が閾値未満である場合、処理はS605に進み、そうでない場合、処理はS606に進む。なお、ここで使用する閾値は、動画の記録ビットレートに応じて変化してもよい。 In S604, the CPU 108 determines whether the remaining buffer amount is less than a predetermined threshold (less than a fourth threshold). If the remaining buffer amount is less than the threshold, the process proceeds to S605; otherwise, the process proceeds to S606. Note that the threshold value used here may change depending on the recording bit rate of the moving image.

S605で、CPU108は、残バッファ量/遅延時間条件による禁止フラグをONに設定する。即ち、CPU108は、遅延時間が閾値以上であり残バッファ量が閾値未満である場合に残バッファ量/遅延時間条件による禁止フラグをONに設定することにより、BG処理の実行を禁止するように制御する。これにより、データを記録するメイン処理がBG処理により妨げられることが原因で記録すべき動画のリアルタイムデータが消失することを抑制することが可能となる。 In S605, the CPU 108 sets the prohibition flag based on the remaining buffer amount/delay time condition to ON. That is, the CPU 108 controls to prohibit execution of the BG process by setting the prohibition flag based on the remaining buffer amount/delay time condition to ON when the delay time is equal to or greater than the threshold value and the remaining buffer amount is less than the threshold value. do. This makes it possible to prevent real-time data of a moving image to be recorded from disappearing due to the main process of recording data being interrupted by BG processing.

一方、S606では、CPU108は、残バッファ量/遅延時間条件による禁止フラグをOFFに設定する。 On the other hand, in S606, the CPU 108 sets the prohibition flag based on the remaining buffer amount/delay time condition to OFF.

ところで、図6から理解できるように、残バッファ量/遅延時間条件による禁止フラグの場合、残バッファ量及び遅延時間の両方に関する判定に基づいて禁止フラグのON/OFFが制御される。しかしながら、残バッファ量/遅延時間条件を残バッファ量条件と遅延時間条件とに分けて、それぞれに対応する「残バッファ量条件による禁止フラグ」と「遅延時間条件による禁止フラグ」とを設けてもよい。即ち、図3のS304及びS309において述べた各種条件の例には、残バッファ量条件及び遅延時間条件も含まれる。 By the way, as can be understood from FIG. 6, in the case of a prohibition flag based on the remaining buffer amount/delay time condition, ON/OFF of the prohibition flag is controlled based on determinations regarding both the remaining buffer amount and the delay time. However, even if the remaining buffer amount/delay time condition is divided into remaining buffer amount condition and delay time condition, and corresponding "prohibition flag based on remaining buffer amount condition" and "prohibition flag based on delay time condition" are provided, respectively. good. That is, the examples of the various conditions described in S304 and S309 of FIG. 3 also include the remaining buffer amount condition and the delay time condition.

図7は、図3のS304及びS309において述べた各種条件の一例である残バッファ量条件の判定について説明するフローチャートである。 FIG. 7 is a flowchart illustrating determination of the remaining buffer amount condition, which is an example of the various conditions described in S304 and S309 of FIG.

S701で、CPU108は、撮像装置100の残バッファ量を取得する。S702で、CPU108は、残バッファ量が予め定められた閾値未満であるか否かを判定する。残バッファ量が閾値未満である場合、S703で、CPU108は、残バッファ量条件による禁止フラグをONに設定する。残バッファ量が閾値未満でない場合、S704で、CPU108は、残バッファ量条件による禁止フラグをOFFに設定する。 In S701, the CPU 108 obtains the remaining buffer amount of the imaging apparatus 100. In S702, the CPU 108 determines whether the remaining buffer amount is less than a predetermined threshold. If the remaining buffer amount is less than the threshold value, in S703, the CPU 108 sets a prohibition flag based on the remaining buffer amount condition to ON. If the remaining buffer amount is not less than the threshold value, in S704, the CPU 108 sets the prohibition flag based on the remaining buffer amount condition to OFF.

図8は、図3のS304及びS309において述べた各種条件の一例である遅延時間条件の判定について説明するフローチャートである。 FIG. 8 is a flowchart illustrating determination of delay time conditions, which are examples of the various conditions described in S304 and S309 of FIG.

S801で、CPU108は、記録対象カードから遅延時間を取得する。S802で、CPU108は、遅延時間が予め定められた閾値以上であるか否かを判定する。遅延時間が閾値以上である場合、S803で、CPU108は、遅延時間条件による禁止フラグをONに設定する。遅延時間が閾値以上でない場合、S804で、CPU108は、遅延時間条件による禁止フラグをOFFに設定する。 In S801, the CPU 108 acquires the delay time from the recording target card. In S802, the CPU 108 determines whether the delay time is greater than or equal to a predetermined threshold. If the delay time is equal to or greater than the threshold, in step S803, the CPU 108 sets a prohibition flag based on the delay time condition to ON. If the delay time is not equal to or greater than the threshold, in S804, the CPU 108 sets the prohibition flag based on the delay time condition to OFF.

以上説明したように、第1の実施形態によれば、撮像装置100は、記録対象カードに静止画又は動画を記録するように制御する記録制御を行う。撮像装置100は、記録対象カードに静止画を記録する場合は、省電期間における自動バックグラウンド処理の実行を許可する。一方、撮像装置100は、記録対象カードに動画を記録する場合は、省電期間における自動バックグラウンド処理の実行を許可しないように制御する。これにより、記録媒体での省電期間における自動バックグラウンド処理の実行を許可するか否かを適切に制御することが可能となり、高速静止画記録と安定した動画記録とを両立することが可能とする。 As described above, according to the first embodiment, the imaging device 100 performs recording control to record still images or moving images on the recording target card. When recording a still image on a recording target card, the imaging device 100 allows execution of automatic background processing during the power saving period. On the other hand, when recording a moving image on a recording target card, the imaging device 100 performs control so as not to permit execution of automatic background processing during the power saving period. This makes it possible to appropriately control whether or not to allow automatic background processing during the power saving period on the recording medium, making it possible to achieve both high-speed still image recording and stable video recording. do.

なお、上では、動画記録時に、自動BG処理の許可・禁止を制御(BG処理許可コマンド/BG処理禁止コマンドの送信)するものとした。しかし、記録開始前(撮影待機状態時や、動画撮影/静止画撮影モード切替時など)に、動画撮影モードであるかを静止画撮影モードであるかを判定し、動画撮影モードの場合は自動BG処理の実行を許可せず、静止画撮影モードの場合は自動BG処理の実行を許可するようにしてもよい。この場合、動画撮影モードの場合は、動画記録開始前に一度自動BG処理の実行を禁止する。そして、さらに、動画記録開始時及び記録中に、上で説明した各種条件(温度、電源種別、電源の残量、遅延時間、バッファ残量等)に応じて、自動BG処理の実行を許可するか否かを制御するようにするとよい。 In the above description, it is assumed that permission/prohibition of automatic BG processing is controlled (transmission of BG processing permission command/BG processing prohibition command) during video recording. However, before recording starts (when in standby mode for recording, or when switching between video recording and still image recording modes, etc.), it is determined whether the mode is video recording mode or still image recording mode, and in the case of video recording mode, automatic recording is performed. The execution of BG processing may not be permitted, but in the case of still image shooting mode, execution of automatic BG processing may be permitted. In this case, in the video shooting mode, automatic BG processing is prohibited once before the video recording starts. Furthermore, when starting and during video recording, execution of automatic BG processing is permitted depending on the various conditions described above (temperature, power source type, remaining power amount, delay time, remaining buffer amount, etc.). It is preferable to control whether or not.

また、上の実施形態では、動画記録であるか否かという条件と、温度、電源、遅延時間、バッファ残量の各種条件とにより、BG処理の許可・禁止を制御した。しかし、これらのうちの1つの条件のみを用いてBG処理の許可・禁止を制御するようにしてもよい。また、これらの条件のうちのいくつかの条件を組み合わせて、BG処理の許可・禁止を制御するようにしてもよい。 Further, in the above embodiment, permission/prohibition of BG processing is controlled based on the condition of whether or not video recording is being performed, and various conditions such as temperature, power supply, delay time, and remaining buffer capacity. However, permission/prohibition of BG processing may be controlled using only one of these conditions. Further, permission/prohibition of BG processing may be controlled by combining some of these conditions.

また、上では、待機カードについても、各種条件の判定結果に応じてBG処理の実行の許可・禁止を制御するものとした。しかし、待機カードについては、画像の記録を行わない記録媒体であるため、各種条件の判定を行わずに、BG処理の実行を許可するようにしてもよい。また、待機カードだけでなく、記録対象カードについても各種条件の判定を行わずに、記録対象カードについてはBG処理の実行を禁止し、待機カードについては、BG処理の実行を許可するようにしてもよい。 Further, in the above description, permission/prohibition of execution of BG processing is also controlled for standby cards according to the determination results of various conditions. However, since the standby card is a recording medium that does not record images, execution of the BG process may be permitted without determining various conditions. In addition, without determining various conditions not only for the standby card but also for the recording target card, execution of BG processing is prohibited for the recording target card, and execution of BG processing is permitted for the standby card. Good too.

また、上では、動画の記録時に、記録対象カードと待機カードについて、BG処理の実行を許可・禁止を制御するものとした。しかし、動画の記録時ではなく、記録開始前(例えば、記録待機時、記録先となるカードの選択時)に、BG処理の実行を許可・禁止を制御するようにしてもよい。 Furthermore, in the above description, when recording a moving image, permission/prohibition of execution of BG processing is controlled for the recording target card and the standby card. However, the permission/prohibition of execution of the BG process may be controlled not when recording a moving image but before the start of recording (for example, during recording standby or when selecting a card to be a recording destination).

また、撮像装置100は、記録対象カードに動画を記録する場合であっても、各種条件の判定結果によってはBG処理の実行を許可するように制御する。これにより、NAND型フラッシュメモリの最適化処理と安定した動画記録とを両立することが可能となる。 Further, even when recording a moving image on a recording target card, the imaging device 100 controls to permit execution of BG processing depending on the determination results of various conditions. This makes it possible to achieve both optimization processing of the NAND flash memory and stable video recording.

なお、上では、静止画を記録するか動画を記録するかに基づいてBG処理の許可・禁止を制御する構成について説明したが、他の動作モードを基準にBG処理の許可・禁止を制御してもよい。例えば、長時間露出撮影モード、ハイフレーム撮影モード、タイムラプス撮影モードなどの動作モードに応じてBG処理の許可・禁止を制御してもよい。この場合、例えば、タイムラプス撮影モード等の低ビットレートの撮影モードの場合は、静止画撮影と同様にBG処理を許可し、ハイフレーム撮影モードなどの高ビットレートの撮影モードの場合は、BG処理を禁止するとよい。 Note that although the configuration above has been described in which permission/prohibition of BG processing is controlled based on whether a still image or a moving image is recorded, permission/prohibition of BG processing may also be controlled based on other operation modes. You can. For example, permission/prohibition of BG processing may be controlled depending on an operation mode such as a long exposure photography mode, a high frame photography mode, or a time-lapse photography mode. In this case, for example, in a low bit rate shooting mode such as time-lapse shooting mode, BG processing is permitted in the same way as still image shooting, and in a high bit rate shooting mode such as high frame shooting mode, BG processing is allowed. It would be good to ban.

また、上では、静止画を記録する場合はBG処理を許可する構成について説明したが、静止画を記録する場合であっても、動画を記録する場合と同様に各種条件の判定結果によってはBG処理を禁止してもよい。 In addition, above, we have described a configuration that allows BG processing when recording still images, but even when recording still images, BG processing may be disabled depending on the determination results of various conditions, just like when recording moving images. Processing may be prohibited.

また、図5の例では、現在の駆動電源がバッテリー115でないと判定された場合、及びバッテリー115の特性が既知でないと判定された場合のいずれについても、電源条件による禁止フラグがOFFに設定された。しかしながら、バッテリー115の特性が既知でない場合には電源条件による禁止フラグをONにする構成を採用してもよい。 Furthermore, in the example of FIG. 5, the prohibition flag based on the power supply condition is set to OFF both when it is determined that the current drive power source is not the battery 115 and when it is determined that the characteristics of the battery 115 are not known. Ta. However, if the characteristics of the battery 115 are not known, a configuration may be adopted in which a prohibition flag based on power supply conditions is turned on.

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

発明は上記実施形態に制限されるものではなく、発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、発明の範囲を公にするために請求項を添付する。 The invention is not limited to the embodiments described above, and various changes and modifications can be made without departing from the spirit and scope of the invention. Therefore, the following claims are hereby appended to disclose the scope of the invention.

100 撮像装置
108 CPU
110 第1のメディア制御部
111 第2のメディア制御部
112 RAM
113 不揮発性メモリ
150 第1の記録メディア
160 第2の記録メディア
100 Imaging device 108 CPU
110 First media control unit 111 Second media control unit 112 RAM
113 Non-volatile memory 150 First recording medium 160 Second recording medium

Claims (18)

フラッシュメモリを用いた記録媒体に画像を記録するように制御する記録制御手段と、
前記記録媒体での省電期間における自動バックグラウンド処理の実行を許可するか否かを、所定の条件を満たすか否かに応じて切り替えるように制御する制御手段と、
を備え、
前記制御手段は、前記記録制御手段による前記記録媒体への画像の記録中に、前記所定の条件を満たすか否かに応じて、前記自動バックグラウンド処理の実行を許可するか否かを切り替えるように制御することを特徴とする記録装置。
a recording control means for controlling recording of an image on a recording medium using flash memory ;
A control means for controlling whether or not to permit execution of automatic background processing during a power saving period in the recording medium, depending on whether or not a predetermined condition is satisfied;
Equipped with
The control means switches whether or not to permit execution of the automatic background processing depending on whether or not the predetermined condition is satisfied while the recording control means is recording an image on the recording medium. A recording device characterized by being controlled by.
前記制御手段は、前記記録制御手段による前記記録媒体への画像の記録中に前記所定の条件を満たすか否が変化したことに応じて、前記自動バックグラウンド処理の実行を許可するか否かを切り替えるように制御することを特徴とする請求項1に記載の記録装置。 The control means determines whether or not to permit execution of the automatic background processing in response to a change in whether or not the predetermined condition is satisfied during recording of an image on the recording medium by the recording control means. The recording apparatus according to claim 1, wherein the recording apparatus is controlled to switch. 前記制御手段は、前記記録制御手段による前記記録媒体への画像の記録中は、前記所定の条件を満たすか否が変化する度に、前記自動バックグラウンド処理の実行を許可するか否かを切り替えるように制御することを特徴とする請求項1に記載の記録装置。 The control means switches whether or not to permit execution of the automatic background process every time whether or not the predetermined condition is satisfied changes while the recording control means is recording an image on the recording medium. The recording apparatus according to claim 1, wherein the recording apparatus is controlled as follows. 前記所定の条件は、前記記録媒体または前記記録装置の温度に関する温度条件を含み、
前記制御手段は、前記記録媒体または前記記録装置の温度が第1の閾値以上の場合は、前記自動バックグラウンド処理の実行を禁止するように制御し、前記記録媒体または前記記録装置の温度が前記第1の閾値未満の場合は、前記自動バックグラウンド処理の実行を許可するように制御することを特徴とする請求項1乃至3のいずれか1項に記載の記録装置。
The predetermined conditions include temperature conditions regarding the temperature of the recording medium or the recording device,
The control means controls to prohibit execution of the automatic background process when the temperature of the recording medium or the recording device is equal to or higher than a first threshold, The recording apparatus according to any one of claims 1 to 3, wherein the recording apparatus is controlled to permit execution of the automatic background processing if the value is less than a first threshold.
前記所定の条件は、前記記録装置の電源の状態に関する電源条件を含み、
前記制御手段は、前記記録装置の電源がバッテリーの場合、または、前記記録装置のバッテリーの残量が第3の閾値未満の場合に、前記自動バックグラウンド処理の実行を禁止するように制御し、前記記録装置の電源がバッテリーではない場合、または、前記記録装置のバッテリーの残量が前記第3の閾値以上の場合には、前記自動バックグラウンド処理の実行を許可するように制御することを特徴とする請求項1乃至4のいずれか1項に記載の記録装置。
The predetermined condition includes a power condition regarding a power state of the recording device,
The control means controls to prohibit execution of the automatic background processing when the recording device is powered by a battery, or when the remaining battery power of the recording device is less than a third threshold; When the power source of the recording device is not a battery, or when the remaining battery level of the recording device is equal to or higher than the third threshold, control is performed to permit execution of the automatic background processing. The recording device according to any one of claims 1 to 4.
前記記録制御手段は、前記記録媒体に記録する画像を一時的にバッファメモリに格納してから前記記録媒体に記録するように制御し、
前記所定の条件は、前記バッファメモリの残量に関するバッファ量条件を含み、
前記制御手段は、前記バッファメモリの残量が第4の閾値未満の場合には、前記自動バックグラウンド処理の実行を禁止するように制御し、前記バッファメモリの残量が前記第4の閾値以上の場合には、前記自動バックグラウンド処理の実行を許可するように制御することを特徴とする請求項1乃至5のいずれか1項に記載の記録装置。
The recording control means controls such that an image to be recorded on the recording medium is temporarily stored in a buffer memory and then recorded on the recording medium,
The predetermined condition includes a buffer amount condition regarding the remaining amount of the buffer memory,
The control means controls to prohibit execution of the automatic background processing when the remaining capacity of the buffer memory is less than a fourth threshold, and controls to prohibit execution of the automatic background processing when the remaining capacity of the buffer memory is equal to or greater than the fourth threshold. 6. The recording apparatus according to claim 1, wherein the recording apparatus is controlled to permit execution of the automatic background processing in this case.
前記記録媒体から、前記記録媒体において前記自動バックグラウンド処理からデータを記録するメイン処理へと遷移する際に発生する遅延時間を取得する取得手段を更に備え、
前記所定の条件は、前記遅延時間に関する遅延時間条件を含み、
前記制御手段は、前記遅延時間が第5の閾値以上の場合には、前記自動バックグラウンド処理の実行を禁止するように制御し、前記遅延時間が前記第5の閾値未満の場合には、前記自動バックグラウンド処理の実行を許可するように制御することを特徴とする請求項1乃至6のいずれか1項に記載の記録装置。
Further comprising an acquisition means for acquiring, from the recording medium, a delay time that occurs when transitioning from the automatic background processing to the main processing of recording data in the recording medium,
The predetermined condition includes a delay time condition regarding the delay time,
The control means controls to prohibit execution of the automatic background processing when the delay time is equal to or greater than a fifth threshold, and when the delay time is less than the fifth threshold, 7. The recording apparatus according to claim 1, wherein the recording apparatus is controlled to permit execution of automatic background processing.
前記所定の条件は、
前記記録媒体または前記記録装置の温度が第1の閾値未満の場合に、前記自動バックグラウンド処理の実行を許可する温度条件、
前記記録装置の電源がバッテリーではない場合、または、前記記録装置のバッテリーの残量が第3の閾値以上の場合に、前記自動バックグラウンド処理の実行を許可する電源条件、
前記記録媒体に記録する画像を一時的にバッファメモリの残量が第4の閾値以上の場合に、前記自動バックグラウンド処理の実行を許可するバッファ量条件、
前記記録媒体において前記自動バックグラウンド処理からデータを記録するメイン処理へと遷移する際に発生する遅延時間が第5の閾値未満の場合に、前記自動バックグラウンド処理の実行を許可する遅延時間条件、
のうちの少なくとも1つを含み、
前記制御手段は、前記所定の条件に含まれる全ての条件において、前記自動バックグラウンド処理の実行を許可する条件を満たしている場合に、前記自動バックグラウンド処理の実行を許可し、前記所定の条件に含まれる条件のうち前記自動バックグラウンド処理の実行を許可する条件を満たしていない条件がある場合は、前記自動バックグラウンド処理の実行を禁止することを特徴とする請求項1乃至3のいずれか1項に記載の記録装置。
The predetermined conditions are:
a temperature condition that allows execution of the automatic background processing when the temperature of the recording medium or the recording device is less than a first threshold;
a power supply condition that permits execution of the automatic background processing when the power source of the recording device is not a battery, or when the remaining battery level of the recording device is equal to or higher than a third threshold;
a buffer amount condition that permits execution of the automatic background processing when the remaining amount of the buffer memory for images to be recorded on the recording medium is equal to or greater than a fourth threshold;
a delay time condition that permits execution of the automatic background processing when the delay time that occurs when transitioning from the automatic background processing to the main processing of recording data in the recording medium is less than a fifth threshold;
including at least one of
The control means is configured to permit execution of the automatic background processing when all conditions included in the predetermined conditions satisfy conditions for permitting execution of the automatic background processing, and to comply with the predetermined conditions. Any one of claims 1 to 3, characterized in that if there is a condition that does not satisfy a condition that permits execution of the automatic background process among the conditions included in the process, the execution of the automatic background process is prohibited. The recording device according to item 1.
前記記録装置は、複数の記録媒体と接続可能であり、
前記記録制御手段は、前記記録装置に接続される複数の記録媒体のうち、記録先として選択されている記録媒体に、画像を記録するように制御し、
前記制御手段は、前記記録先として選択されている記録媒体での前記自動バックグラウンド処理の実行を禁止するように制御し、前記記録先として選択されていない記録媒体での前記自動バックグラウンド処理の実行を許可するように制御することを特徴とする請求項1乃至3のいずれか1項に記載の記録装置。
The recording device is connectable to a plurality of recording media,
The recording control means controls to record an image on a recording medium selected as a recording destination among a plurality of recording media connected to the recording device,
The control means controls to prohibit execution of the automatic background processing on a recording medium selected as the recording destination, and prohibits execution of the automatic background processing on a recording medium not selected as the recording destination. 4. The recording apparatus according to claim 1, wherein the recording apparatus is controlled to permit execution.
前記制御手段は、前記記録制御手段による前記記録媒体への画像の記録中に、前記記録先として選択されている記録媒体が切り替わったことに応じて、前記自動バックグラウンド処理の実行を許可するか否かを切り替えるように制御することを特徴とする請求項9に記載の記録装置。 The control means may permit execution of the automatic background processing in response to a change in the recording medium selected as the recording destination while the recording control means is recording an image on the recording medium. 10. The recording apparatus according to claim 9, wherein the recording apparatus is controlled to switch between the two. 前記制御手段は、前記記録制御手段による画像の記録中に、記録先として選択されている記録媒体の残容量が第6の閾値未満となったことに応じて、記録先として選択される記録媒体を、前記複数の記録媒体のうちの他の記録媒体に切り替え、当該切り替えにより選択されなくなった記録媒体での前記自動バックグラウンド処理の実行を許可するように制御し、新たに選択された記録媒体での前記自動バックグラウンド処理の実行を禁止するように制御することを特徴とする請求項9または10に記載の記録装置。 The control means controls the recording medium selected as the recording destination in response to the remaining capacity of the recording medium selected as the recording destination becoming less than a sixth threshold while the recording control means is recording the image. to another recording medium among the plurality of recording media, and controls to permit execution of the automatic background processing on the recording medium that is no longer selected due to the switching, and the newly selected recording medium 11. The recording apparatus according to claim 9, wherein the recording apparatus is controlled to prohibit execution of the automatic background processing. フラッシュメモリを用いた複数の記録媒体のうち、記録先に設定されている記録媒体に画像を記録するように制御する記録制御手段と、
前記複数の記録媒体での、省電期間における自動バックグラウンド処理の実行を許可するか否かを制御する制御手段と、
を備え、
前記制御手段は、前記複数の記録媒体のうち、記録先として設定されている記録媒体については、前記自動バックグラウンド処理の実行を許可しないように制御し、記録先として設定されていない記録媒体については、前記自動バックグラウンド処理の実行を許可するように制御する、
ことを特徴とする記録装置。
a recording control unit configured to record an image on a recording medium set as a recording destination among a plurality of recording media using flash memory ;
A control means for controlling whether or not to permit execution of automatic background processing during a power saving period on the plurality of recording media;
Equipped with
The control means controls to disallow execution of the automatic background processing for a recording medium that is set as a recording destination among the plurality of recording media, and controls to disallow execution of the automatic background process for a recording medium that is not set as a recording destination. controls to permit execution of the automatic background process;
A recording device characterized by:
前記制御手段は、前記記録制御手段による画像の記録中に、記録先に設定されている記録媒体の残容量が第6の閾値未満となったことに応じて、記録先とする記録媒体を前記複数の記録媒体のうちの他の記録媒体に変更し、当該変更により記録先でなくなった記録媒体については、前記省電期間における前記自動バックグラウンド処理の実行を許可するように制御し、当該変更により新たに記録先となった記録媒体については、前記省電期間における前記自動バックグラウンド処理の実行を許可するように制御することを特徴とする請求項12に記載の記録装置。 The control means changes the recording medium to be the recording destination to the recording medium in response to the fact that the remaining capacity of the recording medium set as the recording destination becomes less than a sixth threshold while the recording control means is recording the image. If a recording medium is changed to another one of the plurality of recording media, and the recording medium is no longer a recording destination due to the change, control is performed to permit execution of the automatic background processing during the power saving period, and the change is performed. 13. The recording apparatus according to claim 12, wherein the recording medium that has become a new recording destination is controlled to permit execution of the automatic background processing during the power saving period. 前記制御手段は、自動バックグラウンド処理の実行を許可するか否かを、NVM Express規格のNOPPME(Non-Operational Power State Permissive Mode Enable)コマンドを用いて制御することを特徴とする請求項1乃至13のいずれか1項に記載の記録装置。 14. The control means controls whether or not to permit execution of automatic background processing using a NOPPME (Non-Operational Power State Permissive Mode Enable) command of the NVM Express standard. The recording device according to any one of the above. 記録装置が実行する制御方法であって、
フラッシュメモリを用いた記録媒体に画像を記録するように制御する記録制御工程と、
前記記録媒体での省電期間における自動バックグラウンド処理の実行を許可するか否かを、所定の条件を満たすか否かに応じて切り替えるように制御する制御工程と、
を備え、
前記制御工程では、前記記録媒体への画像の記録中に、前記所定の条件を満たすか否かに応じて、前記自動バックグラウンド処理の実行を許可するか否かを切り替えるように制御する
ことを特徴とする制御方法。
A control method executed by a recording device, the method comprising:
a recording control step for controlling recording of an image on a recording medium using flash memory ;
a control step of controlling whether or not to permit execution of automatic background processing during a power saving period in the recording medium, depending on whether or not a predetermined condition is satisfied;
Equipped with
In the control step, control is performed to switch whether or not execution of the automatic background processing is permitted depending on whether or not the predetermined condition is satisfied while recording an image on the recording medium. Characteristic control method.
記録装置が実行する制御方法であって、
フラッシュメモリを用いた複数の記録媒体のうち、記録先に設定されている記録媒体に画像を記録するように制御する記録制御工程と、
前記複数の記録媒体での、省電期間における自動バックグラウンド処理の実行を許可するか否かを制御する制御工程と、
を備え、
前記制御工程では、前記複数の記録媒体のうち、記録先として設定されている記録媒体については、前記自動バックグラウンド処理の実行を許可しないように制御し、記録先として設定されていない記録媒体については、前記自動バックグラウンド処理の実行を許可するように制御する、
ことを特徴とする制御方法。
A control method executed by a recording device, the method comprising:
a recording control step of controlling to record an image on a recording medium set as a recording destination among a plurality of recording media using flash memory ;
a control step of controlling whether or not to permit execution of automatic background processing during a power saving period on the plurality of recording media;
Equipped with
In the control step, among the plurality of recording media, a recording medium that is set as a recording destination is controlled so as not to allow execution of the automatic background process, and a recording medium that is not set as a recording destination is controlled to not be permitted to execute the automatic background processing. controls to permit execution of the automatic background process;
A control method characterized by:
コンピュータを、請求項1乃至14のいずれか1項に記載の記録装置の各手段として機能させるためのプログラム。 A program for causing a computer to function as each means of the recording device according to any one of claims 1 to 14. コンピュータに、請求項15又は16に記載の制御方法を実行させるためのプログラム。 A program for causing a computer to execute the control method according to claim 15 or 16.
JP2019158668A 2019-08-30 2019-08-30 Recording device, control method, and program Active JP7418105B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2019158668A JP7418105B2 (en) 2019-08-30 2019-08-30 Recording device, control method, and program
EP20190003.2A EP3786804B1 (en) 2019-08-30 2020-08-07 Recording apparatus, image capturing apparatus, control method, and storage medium
US17/003,076 US11334142B2 (en) 2019-08-30 2020-08-26 Recording apparatus, image capturing apparatus, control method, and storage medium
CN202010884785.9A CN112449091B (en) 2019-08-30 2020-08-28 Recording apparatus, image pickup apparatus, control method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019158668A JP7418105B2 (en) 2019-08-30 2019-08-30 Recording device, control method, and program

Publications (2)

Publication Number Publication Date
JP2021040184A JP2021040184A (en) 2021-03-11
JP7418105B2 true JP7418105B2 (en) 2024-01-19

Family

ID=74849241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019158668A Active JP7418105B2 (en) 2019-08-30 2019-08-30 Recording device, control method, and program

Country Status (1)

Country Link
JP (1) JP7418105B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117636984A (en) 2022-08-17 2024-03-01 联想(北京)有限公司 Information processing device and control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001014215A (en) 1999-07-01 2001-01-19 Matsushita Electric Ind Co Ltd Program execution device
US20090319720A1 (en) 2008-06-20 2009-12-24 Seagate Technology Llc System and method of garbage collection in a memory device
JP2014059946A (en) 2012-09-15 2014-04-03 Lsi Corp Measuring cell damage for wear leveling in non-volatile memory
JP2016045563A (en) 2014-08-20 2016-04-04 株式会社東芝 NAND background processing control device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3727983B2 (en) * 1995-09-28 2005-12-21 キヤノン株式会社 Electronic camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001014215A (en) 1999-07-01 2001-01-19 Matsushita Electric Ind Co Ltd Program execution device
US20090319720A1 (en) 2008-06-20 2009-12-24 Seagate Technology Llc System and method of garbage collection in a memory device
JP2014059946A (en) 2012-09-15 2014-04-03 Lsi Corp Measuring cell damage for wear leveling in non-volatile memory
JP2016045563A (en) 2014-08-20 2016-04-04 株式会社東芝 NAND background processing control device

Also Published As

Publication number Publication date
JP2021040184A (en) 2021-03-11

Similar Documents

Publication Publication Date Title
US9032235B2 (en) Semiconductor storage device and method for controlling the semiconductor storage device
US8225010B2 (en) Data recording apparatus and method
US20110099339A1 (en) Information processing apparatus, method for controlling information processing apparatus and storage medium
JPWO2008018446A1 (en) MEMORY CONTROLLER, NONVOLATILE STORAGE DEVICE, ACCESS DEVICE, AND NONVOLATILE STORAGE SYSTEM
CN112449091B (en) Recording apparatus, image pickup apparatus, control method, and storage medium
JP7418105B2 (en) Recording device, control method, and program
US8077221B2 (en) Image capturing apparatus and control method therefor with determination whether storage medium is limited-rewriteable storage medium
CN101221513B (en) Information processing device and information processing method
JP2021157561A (en) Recording device and control method of recording device
JP7339815B2 (en) Recording device, imaging device, control method, and program
JP2016009280A (en) Recording device
JP7313840B2 (en) Information processing device, control method for information processing device, and program
JP2015231169A (en) Imaging device
JP6326799B2 (en) Electronics
JP2004328037A (en) Imaging and image recording device
JP4208611B2 (en) Mobile device with camera
US11570395B2 (en) Recording and reproducing apparatus and method of controlling recording and reproducing apparatus
CN112887641B (en) Recording apparatus, control method thereof, and storage medium
JP6066718B2 (en) Imaging apparatus, control method thereof, and program
JP4701297B2 (en) Image processing apparatus, method, and recording medium
JP7490401B2 (en) Recording apparatus and control method for recording apparatus
JP7458755B2 (en) Recording device and method of controlling the recording device
JP2012019372A (en) Recording device
JP7263017B2 (en) Recording control device and its control method
JP5637879B2 (en) Imaging apparatus and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220801

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230711

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230801

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230901

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

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20231213

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231228

R151 Written notification of patent or utility model registration

Ref document number: 7418105

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151