JP5652212B2 - Electronic equipment, electronic camera - Google Patents
Electronic equipment, electronic camera Download PDFInfo
- Publication number
- JP5652212B2 JP5652212B2 JP2011002821A JP2011002821A JP5652212B2 JP 5652212 B2 JP5652212 B2 JP 5652212B2 JP 2011002821 A JP2011002821 A JP 2011002821A JP 2011002821 A JP2011002821 A JP 2011002821A JP 5652212 B2 JP5652212 B2 JP 5652212B2
- Authority
- JP
- Japan
- Prior art keywords
- control unit
- cpu
- general
- startup
- time
- 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
Links
- 230000004913 activation Effects 0.000 claims description 29
- 238000001514 detection method Methods 0.000 claims description 22
- 230000003287 optical effect Effects 0.000 claims description 11
- 230000008859 change Effects 0.000 claims description 7
- 238000003384 imaging method Methods 0.000 claims description 7
- 230000002159 abnormal effect Effects 0.000 claims description 4
- 238000004458 analytical method Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 description 40
- 230000008569 process Effects 0.000 description 40
- 238000001994 activation Methods 0.000 description 35
- 238000010586 diagram Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000001454 recorded image Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Description
本発明は、電子機器、電子カメラに関する。 The present invention relates to an electronic device and an electronic camera.
従来より、オペレーティングシステム(以下「OS」という)を搭載した電子機器が知られている(例えば、特許文献1参照)。また、近年、電子カメラでは、操作形態の多様化、高性能化に伴い、高機能な汎用OSを搭載する方向に進んでいる。一方、従来から、電子カメラでは、例えば、タスクの実行時間を管理するリアルタイムOS(以下「RTOS」という)が搭載されている。 Conventionally, an electronic device equipped with an operating system (hereinafter referred to as “OS”) is known (see, for example, Patent Document 1). In recent years, electronic cameras have been increasingly equipped with high-functional general-purpose OSs with the diversification of operation modes and higher performance. On the other hand, conventionally, for example, a real-time OS (hereinafter referred to as “RTOS”) that manages the execution time of a task is mounted on an electronic camera.
ところで、例えばRTOSと汎用OSとを電子カメラ等に搭載した場合、汎用OSが起動を開始してから完了するまでに要する時間が、RTOSに比較して長時間要する。そのため、ユーザは電子カメラの電源をオンした後、汎用OSが起動終了して使用開始状態になるまで待たされるおそれが生じる。すなわち、起動時間の異なる複数のOSの取り扱いが問題となる。 By the way, for example, when an RTOS and a general-purpose OS are mounted on an electronic camera or the like, it takes a longer time than the RTOS to start after the general-purpose OS starts up. For this reason, after the user turns on the power of the electronic camera, there is a possibility that the user may wait until the general-purpose OS is activated and enters a use start state. That is, handling of a plurality of OSs having different startup times becomes a problem.
そこで、本発明は、上記事情に鑑み、起動時間の異なる複数のOSに関し、複数のOSの起動時間の効率化を図る手段を提供することを目的とする。 In view of the above circumstances, an object of the present invention is to provide means for improving the startup time of a plurality of OSs regarding a plurality of OSs having different startup times.
第1の発明に係る電子機器は、起動時間の異なる複数のオペレーティングシステム(OS)と、複数の前記OSの何れかを選択して演算処理を実行する複数の制御部とを備え、複数の前記制御部のうちの第1制御部は、複数の前記OSのうちから第1のOSを起動して、システム状態を前記第1のOSに検出させると共に、前記第1のOSによる検出結果に基づいて、前記第1のOSよりも起動時間の遅い他の複数のOSの中から、前記第1制御部とは異なる第2制御部で起動するOSを選択する。 An electronic device according to a first aspect of the present invention includes a plurality of operating systems (OS) having different startup times, and a plurality of control units that select one of the plurality of OSs and execute arithmetic processing, The first control unit of the control units starts up the first OS from the plurality of OSs, causes the first OS to detect the system state, and based on the detection result by the first OS. Then, an OS to be booted by a second control unit different from the first control unit is selected from a plurality of other OSs having a boot time later than that of the first OS.
第2の発明は、第1の発明において、第1のOSよりも起動時間の遅い他の複数のOSは、汎用OSである。第1制御部は、検出結果が汎用OSを起動する第1動作モードの場合、第2制御部で起動する汎用OSを選択する。 In a second aspect based on the first aspect, the plurality of other OSs having a startup time slower than that of the first OS are general-purpose OSs. When the detection result is the first operation mode in which the general-purpose OS is activated, the first control unit selects the general-purpose OS that is activated by the second control unit.
第3の発明は、第2の発明において、汎用OSは、その汎用OSの起動時間を短縮するスナップショットイメージとしてメモリに記録されている。第2制御部は、スナップショットイメージを起動する。 In a third aspect based on the second aspect, the general-purpose OS is recorded in the memory as a snapshot image that shortens the startup time of the general-purpose OS. The second control unit activates the snapshot image.
第4の発明は、第1の発明において、第1のOSよりも起動時間の遅い他の複数のOSは、タスクの実行時間を管理するリアルタイムOSである。第1制御部は、検出結果がリアルタイムOSを起動する第2の動作モードの場合、第2制御部で起動するリアルタイムOSを選択する。 According to a fourth invention, in the first invention, the plurality of other OSs whose startup times are slower than those of the first OS are real-time OSs for managing task execution times. When the detection result is the second operation mode in which the real-time OS is activated, the first control unit selects the real-time OS that is activated by the second control unit.
第5の発明は、第1の発明において、第1のOSよりも起動時間の遅い他の複数のOSは、汎用OSとタスクの実行時間を管理するリアルタイムOSとである。第1制御部は、検出結果が汎用OSとリアルタイムOSとを起動する第3動作モードの場合、第2制御部で起動する汎用OSと、第1制御部及び第2制御部とは異なる第3制御部で起動するリアルタイムOSとを選択する。 According to a fifth invention, in the first invention, the plurality of other OSs having a startup time slower than that of the first OS are a general-purpose OS and a real-time OS that manages task execution time. When the detection result is the third operation mode in which the detection result is to start the general-purpose OS and the real-time OS, the general-purpose OS started by the second control unit is different from the first control unit and the second control unit. A real-time OS to be started up by the control unit is selected.
第6の発明は、第1の発明において、第1のOSよりも起動時間の遅い他の複数のOSは、汎用OSである。第1制御部は、検出結果が汎用OSを、第2制御部と、第1制御部及び第2制御部とは異なる第3制御部とで共有して管理する第4動作モードの場合、第2制御部及び第3制御部で起動する汎用OSを選択する。 In a sixth aspect based on the first aspect, the plurality of other OSs whose startup time is slower than that of the first OS are general-purpose OSs. The first control unit, when the detection result of the fourth operation mode for managing the universal OS, a second controller, the first controller and the second controller is shared by different third control unit, the 2. Select a general-purpose OS to be started by the second control unit and the third control unit.
第7の発明は、第6の発明において、第4動作モードは、並列処理方式の対称型マルチプロセッシング(SMP:Symmetric Multiprocessing)である。 In a seventh aspect based on the sixth aspect, the fourth operation mode is symmetric multiprocessing (SMP) of a parallel processing system.
第8の発明は、第1から第7の何れか1の発明において、第1制御部は、第1のOSの起動後、第1のOSよりも起動時間の遅い他のOSの起動中に中断事由又は中止事由を第1のOSが検出した場合、他のOSの起動を中断又は中止する。 According to an eighth invention, in any one of the first to seventh inventions, the first control unit, after starting the first OS, during startup of another OS having a startup time later than that of the first OS. When the first OS detects an interruption reason or an interruption reason, the activation of the other OS is interrupted or stopped.
第9の発明に係る電子機器は、起動時間の異なる複数のオペレーティングシステム(OS)と、複数の前記OSの何れかを選択して演算処理を実行する複数の制御部とを備え、複数の前記制御部のうちの第1制御部は、複数の前記OSのうちで起動時間の速い第1のOSを起動して、システム状態を示す動作モードを前記第1のOSに検出させると共に、前記第1のOSによる検出結果に基づいて、前記第1制御部とは異なる他の制御部で起動するOSとして、前記第1のOSよりも起動時間の遅い他のOSを選択し、前記第1制御部は、前記第1のOSの起動後、前記他のOSの起動中に中断事由又は中止事由を前記第1のOSが検出した場合、前記他のOSの起動を中断又は中止することを特徴とする。
第10の発明は、第9の発明において、第1制御部は、他のOSの起動中に電源システムの異常状態を第1のOSが検出した場合、他のOSの起動を中断する。第1制御部は、電源システムの正常状態を第1のOSが再度検出した場合、他のOSの起動を再開する。
An electronic apparatus according to a ninth aspect includes a plurality of operating systems (OS) having different startup times, and a plurality of control units that select one of the plurality of OSs and execute arithmetic processing. The first control unit of the control units starts up the first OS having a fast startup time among the plurality of OSs, and causes the first OS to detect an operation mode indicating a system state. Based on the detection result of the first OS, an OS having a startup time later than that of the first OS is selected as an OS to be started by another control unit different from the first control unit, and the first control is performed. When the first OS detects a reason for interruption or cancellation during startup of the other OS after the startup of the first OS, the unit interrupts or cancels startup of the other OS. And
In a tenth aspect based on the ninth aspect , when the first OS detects an abnormal state of the power supply system during activation of the other OS, the first control unit interrupts activation of the other OS. When the first OS detects the normal state of the power supply system again, the first control unit resumes startup of the other OS.
第11の発明は、第9の発明において、第1制御部は、他のOSの起動中に動作モードの変更を第1のOSが検出した場合、起動中の他のOSを強制終了する。他の制御部は、動作モードに適した変更用の他のOS又は予めメモリに記録されている変更用の他のOSの起動時間を短縮するスナップショットイメージを起動する。 In an eleventh aspect based on the ninth aspect , the first control unit forcibly terminates the other operating OS when the first OS detects a change in the operation mode while the other OS is starting. The other control unit activates a snapshot image that shortens the activation time of another OS for change suitable for the operation mode or another OS for change that is recorded in the memory in advance.
第12の発明に係る電子カメラは、撮影光学系からの被写体光を撮像して画像を生成する撮像素子と、第1から第11の発明の何れかに記載の電子機器とを備える。 An electronic camera according to a twelfth aspect includes an image pickup device that picks up subject light from a photographing optical system and generates an image, and the electronic apparatus according to any one of the first to eleventh aspects.
第13の発明は、第12の発明において、第1制御部は、第1のOSよりも起動時間の遅い他のOSの起動中に静止画撮影又は動画撮影の指示入力を検出した場合、他のOSの起動を中断する。第1制御部は、静止画撮影又は動画撮影の実行後に、他のOSの起動を再開する。 In a thirteenth aspect based on the twelfth aspect , if the first control unit detects an instruction input for still image shooting or moving image shooting while starting another OS having a later startup time than the first OS , The OS startup is interrupted. The first control unit resumes activation of another OS after the still image shooting or the moving image shooting is executed.
第14の発明は、第12又は第13の発明において、第1のOSは、撮影光学系が有するレンズ情報を解析する。第1制御部を除く他の制御部は、レンズ情報の解析結果に基づいて、汎用OSとタスクの実行時間を管理するリアルタイムOSとの何れか一方を起動する。 In a fourteenth aspect based on the twelfth or thirteenth aspect , the first OS analyzes lens information included in the photographing optical system. The other control units other than the first control unit activate either the general-purpose OS or the real-time OS that manages the execution time of the task based on the analysis result of the lens information.
本発明によれば、起動時間の異なる複数のOSに関し、複数のOSの起動時間の効率化を図る手段を提供できる。 According to the present invention, it is possible to provide means for improving the startup time of a plurality of OSs regarding a plurality of OSs having different startup times.
以下、図面に基づいて本発明の実施の形態を詳細に説明する。図1は、本実施形態の電子カメラ100の構成例を説明するブロック図である。本実施形態の電子カメラ100は最初に起動したOSが起動条件を検出し、その後に起動するOSを決定するマルチコアシステムを有する。このマルチコアシステムの一例は、後述するフローの処理により実現される。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration example of an
電子カメラ100は、図1に示す通り、撮影光学系10と、レンズ制御部11、撮像素子12と、信号処理部13と、カードインターフェース部(以下「カードI/F部」という)14と、USB(Universal Serial Bus)インターフェース部(以下「USBI/F部」という)15と、フラッシュメモリ16と、SDRAM(Synchronous Dynamic Random Access Memory)17と、表示モニタ18と、操作部19と、レリーズ釦20と、電源21と、通信インターフェース部(以下「通信I/F部」という)22と、ASIC(Application Specific Integrated Circuit)23と、データバス24とを備える。
As shown in FIG. 1, the
このうち、信号処理部13、カードI/F部14、USBI/F部15、フラッシュメモリ16、SDRAM17、表示モニタ18、通信I/F部22及びASIC23は、データバス24を介して互いに接続されている。また、レンズ制御部11、撮像素子12、信号処理部13、操作部19、レリーズ釦20及び電源21は、ASIC23に接続されている。
Among these, the signal processing unit 13, the card I / F unit 14, the USB I /
撮影光学系10は、ズームレンズとフォーカスレンズとを含む複数のレンズ群で構成されている。なお、簡単のため、図1では、撮影光学系10を1枚のレンズとして図示する。レンズ制御部11は、撮影光学系10内でズームレンズやフォーカスレンズのレンズ位置をASIC23の指示に応じて光軸方向に調整する。
The photographing
撮像素子12は、被写体の像を撮像し、アナログの画像信号を出力する。そして、撮像素子12が出力するアナログの画像信号は、信号処理部13に入力される。なお、撮像素子12の撮像面には、R(赤)、G(緑)B(青)の3種類のカラーフィルタが例えばベイヤー配列で配置されている。また、撮像素子12の電荷蓄積時間及び画像信号の読み出しは、タイミングジェネレータ(不図示)によって制御される。 The image sensor 12 captures an image of a subject and outputs an analog image signal. The analog image signal output from the image sensor 12 is input to the signal processing unit 13. Note that three types of color filters of R (red), G (green), and B (blue) are arranged on the imaging surface of the imaging device 12 in, for example, a Bayer array. Further, the charge accumulation time of the image sensor 12 and the reading of the image signal are controlled by a timing generator (not shown).
ここで、撮像素子12は、電子カメラ100の撮影モードにおいて、レリーズ釦20の全押し操作に応答して記録用の静止画像(本画像)を撮像する。また、撮像素子12は、撮影待機時にも所定間隔毎に観測用の画像(スルー画像)を連続的に撮像する。なお、撮像素子12は、CCD(Charge Coupled Device)型又はCMOS(Complementary Metal-Oxide Semiconductor)型のイメージセンサである。
Here, the imaging element 12 captures a still image (main image) for recording in response to a full pressing operation of the
信号処理部13は、撮像素子12が出力する画像信号に対してアナログ信号処理を施すアナログフロントエンド回路(AFE)と、そのAFEでアナログ信号処理が施された画像信号に対して、デジタル信号処理を施すデジタルフロントエンド回路(DFE)とを有する。ここで、信号処理部13のAFEは、アナログの画像信号に対して相関二重サンプリングやゲイン調整をした後、アナログの画像信号をデジタルの画像信号に変換する(A/D変換)処理等を行なう。また、信号処理部13のDFEは、A/D変換されたデジタルの画像信号におけるノイズ成分の除去等を行なう。この信号処理部13が出力する画像信号は、RGB信号の画像データとしてSDRAM17に一時的に記録される。
The signal processing unit 13 performs analog signal processing on an analog front end circuit (AFE) that performs analog signal processing on an image signal output from the image sensor 12 and digital signal processing on an image signal that has been subjected to analog signal processing by the AFE. A digital front-end circuit (DFE). Here, the AFE of the signal processing unit 13 performs a process of converting the analog image signal into a digital image signal (A / D conversion) after performing correlated double sampling and gain adjustment on the analog image signal. Do. The DFE of the signal processing unit 13 removes noise components from the A / D converted digital image signal. The image signal output from the signal processing unit 13 is temporarily recorded in the
カードI/F部14には、着脱自在の記録媒体30を接続するためのコネクタ(不図示)が形成されている。そして、カードI/F部14は、そのコネクタに接続された記録媒体30にアクセスして画像の記録処理等を行なう。この記録媒体30は、例えば、不揮発性のメモリカードである。図1では、コネクタに接続された後の記録媒体30を示している。
The card I / F unit 14 is formed with a connector (not shown) for connecting a
USBI/F部15には、カードI/F部14と同様、着脱自在の記録媒体31を接続するためのコネクタ(不図示)が形成されている。そして、USBI/F部15は、そのコネクタに接続された記録媒体31にアクセスして画像の記録処理等を行なう。この記録媒体31は、例えば、不揮発性のUSBメモリである。図1では、コネクタに接続された後の記録媒体31を示している。
Similar to the card I / F unit 14, a connector (not shown) for connecting a detachable recording medium 31 is formed in the USB I /
フラッシュメモリ16は、不揮発性メモリであって、複数のOSや複数のスナップショットイメージが格納される。図1では、簡単のため、フラッシュメモリ16は、第1のリアルタイムOS(以下「第1のRTOS」という)16a、第2のリアルタイムOS(以下「第2のRTOS」という)16b、第1の汎用OS16c、第2の汎用OS16dを格納している。ここで、第1のRTOS16aは、例えば、タスクの実行時間を管理するリアルタイムOSである。第2のRTOS16bは、第1のRTOS16aよりも起動時間の遅いRTOSである。第1の汎用OS16cは、例えばLinux(登録商標)等の汎用OSである。第2の汎用OS16dは、例えばLinuxとは異なる汎用OSである。
The
また、フラッシュメモリ16は、例えば第1の汎用OS16cの起動時間を短縮する第1のスナップショットイメージ(以下「第1のSP」という)16eや第2のスナップショットイメージ(以下「第2のSP」という)16fを格納している。ここで、第1のSP16e及び第2のSP16fは、OSの一形態である。
The
なお、Linux等の汎用OSの場合、ハードウエアを直接管理する処理を行なう中心的な機能を有するソフトウェアをカーネルと称し、カーネル以外の部分(例えば、ファイルシステムやファイル操作コマンド、シェルなどの基本的なソフトウェア群)をユーザランドと称している。本実施形態では、例えば、第1のSP16e及び第2のSP16fは、ユーザランドのスナップショットイメージとする。汎用OSのユーザランドをロードする場合、ユーザランドのファイルのサイズに応じて、起動時間がかかる。そこで、本実施形態では、予めユーザランドのスナップショットイメージを作成しておくことにより、起動時間を高速化することができる。 In the case of a general-purpose OS such as Linux, software having a central function for performing processing for directly managing hardware is referred to as a kernel, and other parts (for example, file system, file operation command, shell, etc.) Software group) is called userland. In the present embodiment, for example, the first SP 16e and the second SP 16f are userland snapshot images. When loading a user land of a general-purpose OS, startup time is required depending on the file size of the user land. Therefore, in this embodiment, it is possible to increase the startup time by creating a userland snapshot image in advance.
また、本実施形態で使用するOSは、工場出荷時に予めインストールされていることとする。ただし、電子カメラ100では、記録媒体30、記録媒体31、又は通信I/F部22を介して、汎用OSのソフトウェア(バージョンアップも含む)をインストールするようにしても良い。
In addition, the OS used in this embodiment is assumed to be installed in advance at the time of factory shipment. However, the
SDRAM17は、画像データやOS等のプログラムを一時的に記録する揮発性のバッファメモリである。ここで、ASIC23は、フラッシュメモリ16に格納されている第1のRTOS16a、第2のRTOS16b、第1の汎用OS16c、第2の汎用OS16d、第1のSP16e及び第2のSP16fを必要に応じて読み出し、SDRAM17にロードして起動する。これにより、各OSは、SDRAM17に一時的に記録される。なお、図1に示すSDRAM17では、一例として、工場出荷時の状態を例示しているため、ロード前の状態として点線枠で示している。
The
表示モニタ18は、例えば液晶表示媒体により構成される。そして、表示モニタ18は、記録用の画像、スルー画像、電子カメラ100の操作メニュー等を表示する。
The display monitor 18 is composed of, for example, a liquid crystal display medium. The display monitor 18 displays a recording image, a through image, an operation menu of the
操作部19は、電子カメラ100を操作するための指示入力を受け付ける複数の釦(不図示)を有している。レリーズ釦20は、半押し操作(撮影前におけるオートフォーカス(AF)や自動露出(AE)等の動作開始の指示入力)と全押し操作(記録用画像を取得するための撮像動作開始)との指示入力とを受け付ける。電源21は、電子カメラ100の各機能ブロック等に電力を供給する。電力の供給開始及び供給停止は、ASIC23から指示により行なう。
The
ASIC23は、各種演算及び電子カメラ100の制御を行なう。また、ASIC23は、画像データに各種の画像処理(例えば、輪郭強調処理、色補間処理等)を施す。さらに、ASIC23は、複数のCPU(Central Processing Unit)コアを搭載してCPUの高速化を実現するマルチコアシステムを採用している。マルチコアシステムでは、CPUをN個(Nは自然数)搭載するが、本実施形態では、説明の便宜上、一例として3つのCPUコアを搭載する。
The
また、本実施形態では、最初に起動した第1のOS(第1のRTOS16a)が、システム状態(例えば起動条件)を示す動作モードを検出して、それ以降に起動するOSを決定する。具体的には、本実施形態では、複数のCPUのうちで主となる第1CPU1(主制御部)を設定する。これにより、第1CPU1(マスター側)と第2CPU2、第3CPU3とは、主従関係を形成する。例えば、第1CPU1は、第2CPU2、及び第3CPU3が起動するOSを選択する。
In the present embodiment, the first OS that is started first (first RTOS 16a) detects an operation mode that indicates a system state (for example, a start condition), and determines an OS that is to be started after that. Specifically, in the present embodiment, a first first CPU 1 (main control unit) among the plurality of CPUs is set. Thus, the first CPU 1 (master side), the
また、第1CPU1は、複数のOSのうちで起動時間の速い第1のOS(第1のRTOS16a)を起動して、システム状態を示す動作モードを第1のOSに検出させる。この場合、第1のOSは、電子カメラ100の制御系の機能を管理するRTOSであって、最初に予め定められた時間内で処理可能なOSである。また、第1のOSは、複数のOSのうちで最速のOSである。そして、第1CPU1は、第1のOSによる検出結果に基づいて、第1CPU1とは異なる他のCPUで起動するOSとして、第1のOSよりも起動時間の遅い他のOSを選択する。本実施形態の他のOSは、第2のRTOS16b、第1の汎用OS16c、第2の汎用OS16d、第1のSP16e、第2のSP16fが該当する。なお、第1CPU1は、1つのCPUで起動するOSとして複数のOSを選択しても良い。
In addition, the
図2、図3は、各動作モードにおけるシステム構成例の概念図である。図2及び図3に示す概念図では、フラッシュメモリ16に格納されているOSと、ASIC23内の第1CPU1〜第3CPU3との対応関係を動作モード毎に示している。なお、図2、図3では、第1の汎用OSをLinuxとして例示している。
2 and 3 are conceptual diagrams of system configuration examples in each operation mode. In the conceptual diagrams shown in FIGS. 2 and 3, the correspondence between the OS stored in the
図2(a)は、動作モード0のシステム構成例を示す概念図である。動作モード0は、第1のRTOS16aを起動する動作モードである。第1CPU1は、複数のOSのうちで起動時間の速い第1のRTOS16a(第1のOS)を起動して、システム状態を示す動作モードをその第1のRTOS16aに検出させる。動作モードの検出結果が、動作モード0の場合、第1CPU1は、フラッシュメモリ16に格納されている第1のRTOS16aを図1に示すSDRAM17にロードして起動する。図2(a)では、SDRAM17にロードされた第1のRTOS16aを第1CPU1が使用することを概念的に表している。つまり、動作モード0では、最初に起動時間が最速の第1のRTOS16aを起動することで、起動時間の効率化を図る。
FIG. 2A is a conceptual diagram showing a system configuration example of the
図2(b)は、動作モード1のシステム構成例を示す概念図である。動作モード1は、第1のRTOS16aと、第1の汎用OS16c(Linux)を起動する動作モードである。ここで、動作モードの検出結果が動作モード1の場合、第1CPU1は、第2CPU2で起動する第1の汎用OS16cを選択する。これにより、第1CPU1は、第1のRTOS16aを起動し、第2CPU2は、その第1のRTOS16aよりも起動時間の遅い第1の汎用OS16cを起動する。
FIG. 2B is a conceptual diagram illustrating a system configuration example of the
具体的には、第1CPU1は、図2(a)に示す動作モード0と同様、第1のRTOS16aを起動する。また、第2CPU2は、フラッシュメモリ16に格納されている第1の汎用OS16cをSDRAM17にロードして起動する。図2(b)では、SDRAM17にロードされた第1のRTOS16aを第1CPU1が使用し、SDRAM17にロードされた第1の汎用OS16c(Linux:登録商標)を第2CPU2が使用することを概念的に表している。
Specifically, the
なお、動作モード1の場合、第2CPU2は、第1のRTOS16aよりも起動時間の遅い他の汎用OSを起動しても良い。つまり、動作モード1では、起動時間が最速の第1のRTOS16aを起動し、続いて、高機能な汎用OSを起動することにより、起動時間の効率化を図ることができる。
In the case of the
また、動作モード1では、第1の汎用OSの起動中に第1のRTOS16a側で発生した優先タスクの起動に応じて、第1の汎用OSの起動を中断又は中止することができる(詳細は後述する)。また、動作モード1では、電子カメラ100の撮影光学系10の制御や、撮像素子12の撮像制御、信号処理部13内での画像信号の処理については、第1のRTOS16aで実行する。一方、ASIC23は、例えば、信号処理部13が出力した画像データの画像処理については、第1の汎用OSで実行する。すなわち、動作モード1では、ASIC23の処理に応じて、OSを使い分けることができる。
Further, in the
図2(c)は、動作モード1のシステム構成例(変形例)を示す概念図である。動作モードの検出結果が動作モード1の場合、第1CPU1は、第1のRTOS16aを起動し、第2CPU2は、例えば第1のSP16eと第1の汎用OS16cのカーネル部分とを起動しても良い。
FIG. 2C is a conceptual diagram showing a system configuration example (modification) of the
具体的には、第1CPU1は、第1のRTOS16aをSDRAM17にロードして起動する。また、第2CPU2は、フラッシュメモリ16に格納されている第1のSP16e(ユーザランド部分)と第1の汎用OS16cのカーネル部分とをSDRAM17にロードして起動する。図2(c)では、SDRAM17にロードされた第1のRTOS16aを第1CPU1が使用し、SDRAM17にロードされた第1の汎用OS16c(カーネル部)及び第1のSP16e(ユーザランド部分)からなるLinuxを第2CPU2が使用することを概念的に表している。
Specifically, the
なお、第2CPU2は、必要に応じてフラッシュメモリ16に格納されている第1のSP16e或いは第2のSP16fをSDRAM17にロードして起動しても良いし、又は、第2CPU2は、必要に応じて第1のSP16e、第2のSP16fをSDRAM17にロードして起動しても良い。つまり、動作モード1の変形例では、汎用OSの起動の高速化を実現できる。
Note that the
図3(a)は、動作モード2のシステム構成例を示す概念図である。動作モード2は、第1のRTOS16a及び第2のRTOS16bを起動する動作モードである。ここで、
動作モードの検出結果が動作モード2の場合、第1CPU1は、第2CPU2で起動する第2のRTOS16bを選択する。これにより、第1CPU1は、第1のRTOS16aを起動し、第2CPU2は、その第1のRTOS16aよりも起動時間の遅い第2のRTOS16bを起動する。そのため、動作モード2では、動作モード1と同様、起動時間が最速の第1のRTOS16aを起動し、続いて、第2のRTOS16bを起動することにより、起動時間の効率化を図ることができる。具体的には、第1CPU1は、第1のRTOS16aをSDRAM17にロードして起動する。また、第2CPU2は、フラッシュメモリ16に格納されている第2のRTOS16bをSDRAM17にロードして起動する。図3(a)では、SDRAM17にロードされた第1のRTOS16aを第1CPU1が使用し、SDRAM17にロードされた第2のRTOS16bを第2CPU2が使用することを概念的に表している。なお、第2のRTOS16bは、例えば、高精度なレンズ駆動やAF演算等の処理を行なう。つまり、動作モード2では、動作モード1と同様、ASIC23の処理に応じて、OSを使い分けることができる。
FIG. 3A is a conceptual diagram illustrating a system configuration example of the
When the detection result of the operation mode is the
図3(b)は、動作モード3のシステム構成例を示す概念図である。動作モード3は、第1のRTOS16a、第2のRTOS16、第1の汎用OS16cを起動する動作モードである。動作モードの検出結果が動作モード3の場合、第1CPU1は、第1のRTOS16aを起動し、第2CPU2は、第2のRTOS16bを起動し、第3CPU3は、第1の汎用OS16cを起動する。
FIG. 3B is a conceptual diagram illustrating a system configuration example of the
具体的には、第1CPU1は、第1のRTOS16aをSDRAM17にロードして起動する。また、第2CPU2は、第2のRTOS16bをSDRAM17にロードして起動する。さらに、第3CPU3は、第1の汎用OS16cをSDRAM17にロードして起動する。
Specifically, the
図3(b)では、第1SDRAM17にロードされた第1のRTOS16aを第1CPU1が使用し、SDRAM17にロードされた第2のRTOS16bを第2CPU2が使用し、SDRAM17にロードされた第1の汎用OS16c(Linux)を第3CPU3が使用することを概念的に表している。つまり、動作モード3では、動画撮影等の処理の機能を第1の汎用OS16cを用いて実行するのに適している。また、一例として、高精度なレンズ駆動やAF演算等の処理、撮影された記録用の画像を無線LAN通信で外部に送信する送信処理を行なう場合には、第3のモードを選択することが好ましい。すなわち、動作モード3では、高精度なレンズ駆動やAF演算等の処理を行なうため、第2のRTOS16bを起動し、送信処理を行なうため、第1の汎用OS16c(Linux)を起動しても良い。また、動作モード3では、第1のRTOS16aは、撮影光学系10が有するレンズ情報を解析しても良い。第2CPU2は、レンズ情報の解析結果に基づいて、第2のRTOS16bと第1の汎用OS16c(Linux)との何れか一方を起動しても良い。従って、動作モード3では、各々の処理に適したOSを効率良く使い分けて起動できる。
In FIG. 3B, the
図3(c)は、動作モード4のシステム構成例を示す概念図である。動作モード4は、第1の汎用OS16cを複数の制御部(第2CPU2及び第3CPU3)で共有して管理(使用)する動作モードである。ここで、動作モードの検出結果が動作モード4の場合、第1CPU1は、複数の制御部(第2CPU2及び第3CPU3)で起動する第1の汎用OS16cを選択する。これにより、第1CPU1は、第1のRTOS16aを起動し、第2CPU2及び第3CPU3は、第1の汎用OS16cを起動する。ここで、動作モード4は、例えば、個々のCPUが対等の条件でメモリを共有する並列処理方式の対称型マルチプロセッシング(SMP:Symmetric Multiprocessing)である。
FIG. 3C is a conceptual diagram illustrating a system configuration example of the
図3(c)では、SDRAM17にロードされた第1のRTOS16aを第1CPU1が使用し、SDRAM17にロードされた第2のRTOS16bを第2CPU2及び第3CPU3が対称型マルチプロセッシングにより使用することを概念的に表している。なお、第1CPU1は、第2CPU2及び第3CPU3で起動する汎用OSとして、例えば、第1のSP16e、第2のSP16fの何れかを選択しても良い。
In FIG. 3 (c), the first RTOS16a used by the 1CPU1 loaded into
具体的には、第1CPU1は、第1のRTOS16aをSDRAM17にロードして起動する。また、第2CPU2及び第3CPU3は、第1の汎用OS16cをSDRAM17にロードして起動する。そのため、動作モード4では、動作モード1と同様、最初に起動時間が最速の第1のRTOS16aを起動し、続いて、第1の汎用OS16cを起動することにより、起動時間の効率化を図ることができる。つまり、動作モード4は、例えば、第1の汎用OS16cの並列処理に優れている。
Specifically, the
次に、本実施形態の電子カメラ100におけるOSの起動処理の一例を説明する。図4は、電子カメラ100の電源オン時における動作の一例を示すフローチャートである。ここで、操作部19が電子カメラ100の電源オンの指示入力を受け付けた場合、ASIC23の第1CPU1は、図4に示すフローの処理を開始させる。図4では、動作モード1の場合について例示する。そのため、先ず第1CPU1側のフローの処理を説明した後、第2CPU2側のフローの処理を説明する。なお、動作モード2〜4の場合についても、基本的に動作モード1の場合のフロー処理と同様である。
Next, an example of an OS activation process in the
ステップS101:第1CPU1は、CPU識別番号(CPUID)の確認をし、RTOS1の起動処理を開始する。具体的には、マルチコアシステムを採用しているため、各々のCPUがどの識別番号に属するCPUであるのかを確認する。第1CPU1は、フラッシュメモリ16に記録されているCPU識別番号を参照し、マスター側のCPUであることを確認する。これにより、第1CPU1は、第1のRTOS16aの起動処理を開始する。すなわち、第1CPU1は、フラッシュメモリ16に格納されている第1のRTOS16aをSDRAM17にロードして起動する。
Step S101: The
ステップS102:第1CPU1は、第1のRTOS16aの起動終了後に、動作モードを検出する。具体的には、第1CPU1は、一例として、ユーザが前回電源をオフした際の、電子カメラ100の動作モードをフラッシュメモリ16に記録しておく。第1CPU1は、第1のRTOS16aの起動終了後に、フラッシュメモリ16に記録されている動作モードを参照することにより検出する。
Step S102: The
ステップS103:第1CPU1は、動作モードに基づいて、OSを選択し、起動するCPUに起動許可通知を送信する。例えば、第1CPU1は、動作モード1を検出する。これにより、第1CPU1は、第2CPU2で起動する第1の汎用OS16cを選択する。そして、第1CPU1は、第2CPU2に起動許可通知を送信する。
Step S103: The
ステップS104:第1CPU1は、優先処理タスクの発生の有無を確認する。優先処理タスクは、第1CPU1以外の第2CPU2又は第3CPU3の起動のタスクよりも優先度の高いタスクである。優先処理タスクは、例えば、静止画撮影又は動画撮影の指示入力、動作モードの変更、電源システムの異常状態の検出等がある。
Step S104: The
ステップS105:第1CPU1は、優先処理タスクの有無を判定する。優先処理タスクのイベントが発生した場合(ステップS105:Yes)、第1CPU1は、ステップS106の処理に移行する。優先処理タスクのイベントが発生していない場合(ステップS105:No)、第1CPU1は、ステップS104の処理を繰り返す。
Step S105: The
ステップS106:第1CPU1は、第2CPU2に対して起動処理の中断(又は中止)通知を送信する。具体的には、第1CPU1は、静止画撮影又は動画撮影の指示入力、電源システムの異常状態の検出の場合、起動処理の中断通知を送信する。一方、第1CPU1は、動作モードの変更の場合、起動処理の中止(強制終了)通知を送信する。
Step S106: The
ステップS107:第1CPU1は、優先処理タスクの実行を行なう。そして、第1CPU1は、優先処理タスクの終了後に第2CPU2に対して再開通知の送信を行なう。
Step S107: The
ステップS108:第1CPU1は、第2CPU2からの起動完了通知の受信待ちの処理を行なう。具体的には、起動完了通知を受信しない場合(ステップS108:No)、第1CPU1は、ステップS108の処理を繰り返す。一方、起動完了通知を受信した場合(ステップS108:Yes)、第1CPU1は、図4に示す第1CPU1側のフローの処理を終了させる。
Step S108: The
次に、第2CPU2側のフローの処理を説明する。
Next, the flow process on the
ステップS201:第2CPU2は、CPU識別番号(CPUID)を確認する。第2CPU2は、フラッシュメモリ16に記録されているCPU識別番号を参照し、第1CPU1の従属側のCPUであることを確認する。
Step S201: The
ステップS202:第2CPU2は、起動許可通知の待ち状態に遷移する。
Step S202: The
ステップS203:第2CPU2は、第1CPU1からの起動許可通知の受信待ちの処理を行なう。具体的には、起動許可通知を受信しない場合(ステップS203:No)、第1CPU1は、ステップS203の処理を繰り返す。一方、起動許可通知を受信した場合(ステップS203:Yes)、第2CPU2は、ステップS204の処理に移行する。
Step S203: The
ステップS204:第2CPU2は、汎用OSの起動処理のサブルーチンを実行する(詳細は後述する)。
Step S204: The
ステップS205:第2CPU2は、OS起動完了通知の送信を行なう。そして、第2CPU2は、図4に示す第2CPU2側のフローの処理を終了させる。
Step S205: The
次に、汎用OSの起動処理について説明する。図5は、汎用OSの起動処理のサブルーチンを示すフローチャートである。 Next, general-purpose OS startup processing will be described. FIG. 5 is a flowchart showing a subroutine of general-purpose OS startup processing.
ステップS301:第2CPU2は、第1の汎用OS16cの起動処理を開始する。具体的には、第2CPU2は、フラッシュメモリ16に格納されている第1の汎用OS16cをSDRAM17にロードする処理を開始する。
Step S301: The
図6は、第1の汎用OS16cの起動処理を説明する概念図である。第1CPU1は、既に第1のRTOS16aを起動している。そこで、第1CPU1は、第1のRTOS16a上で動作する第1のアプリケーションプログラム(第1のAppl)を起動して、フラッシュメモリ16に格納されている第1の汎用OS16c(Linux)のカーネル部分をSDRAM17にロードする処理を開始する。
FIG. 6 is a conceptual diagram illustrating the startup process of the first general-purpose OS 16c. The
続いて、第1CPU1は、第1のアプリケーションプログラムを用いて、例えば第1のSP16eと第2のSP16fとの何れか一方のユーザランドをSDRAM17にロードする処理を開始する。これにより、第2CPU2は、Linux上で動作する第2のアプリケーションプログラム(第2のAppl)を起動する。
Subsequently, the
ステップS302:第2CPU2は、起動完了を監視する。そして、起動完了した場合(ステップS302:Yes)、第2CPU2は、図5に示すサブルーチンのフローの処理を終了して、図4に示すステップS205の処理に移行する。一方、起動完了していない場合(ステップS302:No)、第2CPU2は、ステップS303の処理に移行する。
Step S302: The
ステップS303:第2CPU2は、第1CPU1側から中止通知を受信したか否かの有無を判定する。中止通知を受信した場合(ステップS303:Yes)、第2CPU2は、ステップS309の処理に移行する。そして、第2CPU2は、第1の汎用OS16cの起動処理を強制終了する。そして、第2CPU2は、図4に示す第2CPU2側のフローの処理を終了させる(ステップS309)。この場合、第1CPU1は、中止通知を第2CPU2に送信しているので、図4に示すステップS107の再開通知送信の処理と、ステップS108の完了通知の受信の処理とをスキップする。一方、中止通知を受信していない場合(ステップS303:No)、第2CPU2は、ステップS304の処理に移行する。
Step S303: The
ステップS304:第2CPU2は、第1CPU1側から中断通知を受信したか否かの有無を判定する。中断通知を受信していない場合(ステップS304:No)、第2CPU2は、ステップS302の処理に戻る。一方、中断通知を受信した場合(ステップS304:Yes)、第2CPU2は、ステップS305の処理に移行する。
Step S304: The
ステップS305:第2CPU2は、第1の汎用OS16cの起動処理を中断して、再開待ち状態に遷移する。そして、第2CPU2は、ステップS306の処理に移行する。
Step S305: The
ステップS306:第2CPU2は、第1CPU1側から再開通知を受信したか否かの有無を判定する。再開通知を受信していない場合(ステップS306:No)、第2CPU2は、ステップS306の処理を繰り返す。一方、再開通知を受信した場合(ステップS306:Yes)、第2CPU2は、ステップS307の処理に移行する。
Step S306: The
ステップS307:第2CPU2は、第1の汎用OS16cの起動処理を再開する。そして、第2CPU2は、ステップS308の処理に移行する。
Step S307: The
ステップS308:第2CPU2は、起動処理の終了を監視する。起動処理が完了していない場合(ステップS308:No)、第2CPU2は、ステップS308の処理を繰り返す。一方、起動処理が完了した場合(ステップS308:Yes)、第2CPU2は、図5に示すサブルーチンのフローの処理を終了して、図4に示すステップS205の処理に移行する。
Step S308: The
以上、本実施形態の電子カメラ100は、複数のOSの起動時間を効率化するための複数の動作モードを備える。また、電子カメラ100は、汎用OSのスナップショットイメージを作成して起動することにより、起動時間の高速化を行なうこともできる。さらに、電子カメラ100は、汎用OSの起動中に上述した優先処理タスクのイベントが発生した場合、汎用OSの起動を中断すると共に、その優先処理タスクの終了後に、汎用OSの起動を再開することができる。
As described above, the
これにより、本発明は、起動時間の異なる複数のOSに関し、複数のOSの起動時間の効率化を図る手段を提供できる。 Thus, the present invention can provide a means for improving the startup time of a plurality of OSs regarding a plurality of OSs having different startup times.
(実施形態の補足事項)
(1)上記の実施形態では、汎用OSとして、Linuxを用いて説明したが、汎用OSは、Linuxに限られず、例えば、Windows(登録商標)、UNIX(登録商標)、JAVA(登録商標)等の他の汎用OSであっても良い。
(Supplementary items of the embodiment)
(1) In the above embodiment, description has been made using Linux as a general-purpose OS. However, the general-purpose OS is not limited to Linux, for example, Windows (registered trademark), UNIX (registered trademark), JAVA (registered trademark), or the like. Other general-purpose OSs may be used.
(2)上記の実施形態では、本発明の電子機器を搭載して電子カメラを例示したが、本発明の電子機器は、RTOSと汎用OSとを使用する電子機器であれば良く、例えば携帯電話であっても良い。 (2) In the above embodiment, the electronic camera of the present invention is mounted and the electronic camera is exemplified. However, the electronic apparatus of the present invention may be an electronic device using an RTOS and a general-purpose OS, for example, a mobile phone It may be.
(3)上記の実施形態では、フラッシュメモリ18は、内部の基本回路の構成によってNOR(否定論理和)型とNAND(否定論理積)型との何れかであって良い。なお、NOR(否定論理和)型のフラッシュメモリの場合、第1CPU1、第2CPU2、第3CPU3は、SDRAM17にロードせずに、RTOSや汎用OSを起動することができる。これにより、電子カメラ100は、起動時間を高速化することができる。
(3) In the above embodiment, the flash memory 18 may be either a NOR (Negative OR) type or a NAND (Negative AND) type depending on the configuration of the internal basic circuit. In the case of a NOR (negative logical sum) type flash memory, the
100・・・電子カメラ、1・・・第1CPU、2・・・第2CPU、3・・・第3CPU、16a・・・第1のRTOS、16b・・・第2のRTOS、16c・・・第1の汎用OS、16d・・・第2の汎用OS、16e・・・第1のSP、16f・・・第2のSP
DESCRIPTION OF
Claims (14)
複数の前記OSの何れかを選択して演算処理を実行する複数の制御部とを備え、
複数の前記制御部のうちの第1制御部は、複数の前記OSのうちから第1のOSを起動して、システム状態を前記第1のOSに検出させると共に、前記第1のOSによる検出結果に基づいて、前記第1のOSよりも起動時間の遅い他の複数のOSの中から、前記第1制御部とは異なる第2制御部で起動するOSを選択することを特徴とする電子機器。 Multiple operating systems (OS) with different startup times;
A plurality of control units that select one of the plurality of OSs and execute arithmetic processing;
The first controller of the plurality of the control unit activates the inner shell first OS of a plurality of the OS, causes detected before Symbol first OS system state, by the first OS Based on a detection result, an OS to be booted by a second control unit different from the first control unit is selected from a plurality of other OSs having a boot time later than that of the first OS. Electronics.
前記第1のOSよりも起動時間の遅い他の複数のOSは、汎用OSであって、
前記第1制御部は、前記検出結果が前記汎用OSを起動する第1動作モードの場合、前記第2制御部で起動する前記汎用OSを選択することを特徴とする電子機器。 The electronic device according to claim 1,
The plurality of other OSs whose startup time is slower than that of the first OS are general-purpose OSs,
The first control unit selects the general-purpose OS to be activated by the second control unit when the detection result is the first operation mode in which the general-purpose OS is activated.
前記汎用OSは、該汎用OSの起動時間を短縮するスナップショットイメージとしてメモリに記録されており、
前記第2制御部は、前記スナップショットイメージを起動することを特徴とする電子機器。 The electronic device according to claim 2,
The general-purpose OS is recorded in a memory as a snapshot image that shortens the startup time of the general-purpose OS.
The second control unit activates the snapshot image.
前記第1のOSよりも起動時間の遅い他の複数のOSは、タスクの実行時間を管理するリアルタイムOSであって、
前記第1制御部は、前記検出結果が前記リアルタイムOSを起動する第2の動作モードの場合、前記第2制御部で起動する前記リアルタイムOSを選択することを特徴とする電子機器。 The electronic device according to claim 1,
The plurality of other OSs whose startup times are slower than those of the first OS are real-time OSs that manage task execution time,
The first control unit selects the real-time OS to be started by the second control unit when the detection result is a second operation mode for starting the real-time OS.
前記第1のOSよりも起動時間の遅い他の複数のOSは、汎用OSとタスクの実行時間を管理するリアルタイムOSであって、
前記第1制御部は、前記検出結果が前記汎用OSと前記リアルタイムOSとを起動する第3動作モードの場合、前記第2制御部で起動する前記汎用OSと、前記第1制御部及び前記第2制御部とは異なる第3制御部で起動する前記リアルタイムOSとを選択することを特徴とする電子機器。 The electronic device according to claim 1,
The slow addition of the plurality of OS of the first activation time than the OS, a realtime O S for managing the execution time of the general purpose OS and tasks,
The first control unit, when the detection result is a third operation mode in which the general-purpose OS and the real-time OS are started, the general-purpose OS started by the second control unit, the first control unit, and the first control unit 2. An electronic apparatus, wherein the real-time OS that is activated by a third control unit different from the second control unit is selected.
前記第1のOSよりも起動時間の遅い他の複数のOSは、汎用OSであって、
前記第1制御部は、前記検出結果が前記汎用OSを、前記第2制御部と、前記第1制御部及び前記第2制御部とは異なる第3制御部とで共有して管理する第4動作モードの場合、前記第2制御部及び前記第3制御部で起動する前記汎用OSを選択することを特徴とする電子機器。 The electronic device according to claim 1,
The plurality of other OSs whose startup time is slower than that of the first OS are general-purpose OSs,
The first control unit is configured to manage the general-purpose OS whose detection result is shared between the second control unit and a third control unit different from the first control unit and the second control unit . In the operation mode, the general-purpose OS activated by the second control unit and the third control unit is selected.
前記第4動作モードは、並列処理方式の対称型マルチプロセッシング(SMP:Symmetric Multiprocessing)であることを特徴とする電子機器。 The electronic device according to claim 6,
4. The electronic apparatus according to claim 4, wherein the fourth operation mode is symmetric multiprocessing (SMP) of a parallel processing system.
前記第1制御部は、前記第1のOSの起動後、前記第1のOSよりも起動時間の遅い他のOSの起動中に中断事由又は中止事由を前記第1のOSが検出した場合、前記他のOSの起動を中断又は中止することを特徴とする電子機器。 The electronic device according to any one of claims 1 to 7,
The first control unit, after the first OS is started, when the first OS detects an interrupt reason or a stop reason during startup of another OS whose startup time is later than the first OS, An electronic apparatus characterized by interrupting or canceling startup of the other OS.
複数の前記OSの何れかを選択して演算処理を実行する複数の制御部とを備え、
複数の前記制御部のうちの第1制御部は、複数の前記OSのうちで起動時間の速い第1のOSを起動して、システム状態を示す動作モードを前記第1のOSに検出させると共に、前記第1のOSによる検出結果に基づいて、前記第1制御部とは異なる他の制御部で起動するOSとして、前記第1のOSよりも起動時間の遅い他のOSを選択し、
前記第1制御部は、前記第1のOSの起動後、前記他のOSの起動中に中断事由又は中止事由を前記第1のOSが検出した場合、前記他のOSの起動を中断又は中止することを特徴とする電子機器。 Multiple operating systems (OS) with different startup times;
A plurality of control units that select one of the plurality of OSs and execute arithmetic processing;
The first control unit of the plurality of control units starts up the first OS having a fast startup time among the plurality of OSs, and causes the first OS to detect an operation mode indicating a system state. Based on the detection result by the first OS, select another OS whose startup time is slower than that of the first OS as an OS to be started by another control unit different from the first control unit,
The first control unit interrupts or cancels the startup of the other OS when the first OS detects a reason for the interruption or cancellation during the startup of the other OS after the startup of the first OS. An electronic device characterized by that.
前記第1制御部は、前記他のOSの起動中に電源システムの異常状態を前記第1のOSが検出した場合、前記他のOSの起動を中断し、
前記第1制御部は、前記電源システムの正常状態を前記第1のOSが再度検出した場合、前記他のOSの起動を再開することを特徴とする電子機器。 The electronic device according to claim 9,
When the first OS detects an abnormal state of the power supply system during the startup of the other OS, the first control unit interrupts the startup of the other OS,
The electronic device according to claim 1, wherein when the first OS detects the normal state of the power supply system again, the first controller restarts the other OS .
前記第1制御部は、前記他のOSの起動中に前記動作モードの変更を前記第1のOSが検出した場合、起動中の前記他のOSを強制終了し、 When the first OS detects a change in the operation mode while the other OS is starting, the first control unit forcibly terminates the other OS being started,
前記他の制御部は、前記動作モードに適した変更用の他のOS又は予めメモリに記録されている前記変更用の前記他のOSの起動時間を短縮するスナップショットイメージを起動することを特徴とする電子機器。 The other control unit activates a snapshot image that shortens the activation time of another OS for change suitable for the operation mode or the other OS for change recorded in a memory in advance. Electronic equipment.
請求項1から請求項11の何れか1項記載の電子機器と、
を備えることを特徴とする電子カメラ。 An image sensor that captures subject light from the imaging optical system and generates an image;
An electronic device according to any one of claims 1 to 11,
Electronic camera comprising: a.
前記第1制御部は、前記第1のOSよりも起動時間の遅い他のOSの起動中に静止画撮影又は動画撮影の指示入力を検出した場合、前記他のOSの起動を中断し、
前記第1制御部は、前記静止画撮影又は前記動画撮影の実行後に、前記他のOSの起動を再開することを特徴とする電子カメラ。 The electronic camera according to claim 12 ,
When the first control unit detects an instruction input for still image shooting or moving image shooting during startup of another OS whose startup time is slower than that of the first OS, the first control unit interrupts startup of the other OS,
The first control unit restarts the other OS after execution of the still image shooting or the moving image shooting .
前記第1のOSは、前記撮影光学系が有するレンズ情報を解析し、 The first OS analyzes lens information included in the photographing optical system,
前記第1制御部を除く他の制御部は、前記レンズ情報の解析結果に基づいて、汎用OSとタスクの実行時間を管理するリアルタイムOSとの何れか一方を起動することを特徴とする電子カメラ。 The other control unit excluding the first control unit activates either a general-purpose OS or a real-time OS that manages task execution time based on the analysis result of the lens information. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011002821A JP5652212B2 (en) | 2011-01-11 | 2011-01-11 | Electronic equipment, electronic camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011002821A JP5652212B2 (en) | 2011-01-11 | 2011-01-11 | Electronic equipment, electronic camera |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012146052A JP2012146052A (en) | 2012-08-02 |
JP5652212B2 true JP5652212B2 (en) | 2015-01-14 |
Family
ID=46789567
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011002821A Active JP5652212B2 (en) | 2011-01-11 | 2011-01-11 | Electronic equipment, electronic camera |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5652212B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5996513B2 (en) * | 2013-11-27 | 2016-09-21 | 京セラドキュメントソリューションズ株式会社 | Electronics |
JP6512895B2 (en) | 2015-03-27 | 2019-05-15 | キヤノン株式会社 | Image pickup apparatus, control method thereof and program |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8004A (en) * | 1851-03-25 | Francis b | ||
US7003A (en) * | 1850-01-08 | Method oe counterbalancing sash by means of a heavy weight | ||
JP4111649B2 (en) * | 2000-01-26 | 2008-07-02 | 富士フイルム株式会社 | Digital camera |
JP2004086330A (en) * | 2002-08-23 | 2004-03-18 | Toshiba Corp | Electronic apparatus |
JP2005284491A (en) * | 2004-03-29 | 2005-10-13 | Mitsubishi Electric Corp | Starting time shortening system for computer |
JP2007221370A (en) * | 2006-02-15 | 2007-08-30 | Matsushita Electric Ind Co Ltd | Decoding apparatus and integrated circuit |
JP2009070090A (en) * | 2007-09-12 | 2009-04-02 | Toyota Motor Corp | Information processor |
-
2011
- 2011-01-11 JP JP2011002821A patent/JP5652212B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012146052A (en) | 2012-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI719332B (en) | Exposure method, electronic device and master-slave system | |
WO2020207272A1 (en) | Image processing apparatus, method for image processing, and electronic device | |
CN110290288B (en) | Image processor, image processing method, photographing device, and electronic apparatus | |
JP2019054536A (en) | Electronic apparatus | |
JP2004260609A (en) | Camera device, method for activating camera device, and program | |
CN110062161B (en) | Image processor, image processing method, photographing device, and electronic apparatus | |
JP2013090006A (en) | Electronic apparatus and program | |
JP2009033267A (en) | Image capturing apparatus, control method thereof, and program | |
CN108459882B (en) | Electronic device and control method thereof | |
JP5652212B2 (en) | Electronic equipment, electronic camera | |
JP2006222973A (en) | Optimizing method and apparatus for string table loading during imaging device initialization | |
US10419593B2 (en) | Wireless communication device, communication system, wireless communication method, and storage medium | |
US20230269344A1 (en) | Imaging element, imaging apparatus, operation method of imaging element, and program | |
JP5569140B2 (en) | Camera system, camera body unit, external unit, and camera system control method | |
US20120162498A1 (en) | Photographing apparatus with random trigger operation | |
JP6602106B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
JP5751069B2 (en) | Electronic equipment | |
KR20040076615A (en) | Camera device and the starting method of camera device, program thereof | |
JP2007006125A (en) | Image processing support apparatus, electronic camera, image processing apparatus, development processing system, and program for fulfilling these image processing support apparatus and image processing apparatus | |
JP4924321B2 (en) | Imaging apparatus, camera shake detection element calibration execution method, and program | |
JP6447595B2 (en) | Control device, process execution device, control method, process execution method, and control system | |
KR101476648B1 (en) | Digital photographing apparatus and the controlling method for the same | |
JP2013205929A (en) | Electronic device | |
JP4804317B2 (en) | Electronics | |
EP3033874B1 (en) | Electronic apparatus and method of controlling the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131217 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140723 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140729 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140929 |
|
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: 20141021 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141103 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5652212 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |