Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4726543B2 - Electronics - Google Patents
[go: Go Back, main page]

JP4726543B2 - Electronics - Google Patents

Electronics Download PDF

Info

Publication number
JP4726543B2
JP4726543B2 JP2005154516A JP2005154516A JP4726543B2 JP 4726543 B2 JP4726543 B2 JP 4726543B2 JP 2005154516 A JP2005154516 A JP 2005154516A JP 2005154516 A JP2005154516 A JP 2005154516A JP 4726543 B2 JP4726543 B2 JP 4726543B2
Authority
JP
Japan
Prior art keywords
recording
time
electronic device
predetermined time
memory
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.)
Expired - Fee Related
Application number
JP2005154516A
Other languages
Japanese (ja)
Other versions
JP2006331124A (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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2005154516A priority Critical patent/JP4726543B2/en
Publication of JP2006331124A publication Critical patent/JP2006331124A/en
Application granted granted Critical
Publication of JP4726543B2 publication Critical patent/JP4726543B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、記録手段の使用可能な記録領域にデータを記録して処理を実行する制御回路を備える電子機器に関し、特に稼動状態から遷移した待機状態で動作可能な制御回路を備える電子機器に関する。   The present invention relates to an electronic device including a control circuit that records data in a usable recording area of a recording unit and executes processing, and more particularly, to an electronic device including a control circuit that can operate in a standby state that is shifted from an operating state.

プログラムの実行に使用するデータを記録するメモリ領域の割り当てを動的に行うシステムが様々な分野で普及している。このようなメモリ領域の動的割り当てを行うシステムでは、メモリリーク、ガベージ等の要因により、使用可能なメモリ領域が減少する場合がある。特にメモリの記録容量に比して使用量が大きいシステム、またファイルシステムによるデータベースを使用する様なシステムが長時間稼動する場合、使用可能な記録領域が著しく減少し、システムの不安定化を引き起こす場合がある(例えば非特許文献1参照)。   Systems that dynamically allocate memory areas for recording data used for program execution are widely used in various fields. In a system that dynamically allocates such a memory area, the usable memory area may decrease due to a memory leak, garbage, or the like. In particular, when a system that uses a large amount of memory compared to the recording capacity of a memory or a system that uses a file system database runs for a long time, the usable recording area decreases significantly, causing the system to become unstable. There is a case (for example, refer nonpatent literature 1).

使用可能なメモリ領域が減少していたとしても、システムを制御するマイクロコンピュータ(以下、マイコンという)の再起動時には、メモリがリセット(初期化)されるので、使用不可能な状態にあったメモリ領域が開放され、使用可能なメモリ領域が元の状態まで拡大する。
湯浅太一,実時間ごみ集め,情報処理,情報処理学会,1994年11月15日,Vol.35 No.11,P1006−1014
Even if the usable memory area is reduced, the memory is reset (initialized) when the microcomputer that controls the system (hereinafter referred to as microcomputer) is restarted. The area is released, and the usable memory area is expanded to the original state.
Taichi Yuasa, Real-time Garbage Collection, Information Processing, Information Processing Society of Japan, November 15, 1994, Vol. 35 No. 11, P1006-1014

しかしながら例えば予約録画機能を備える録画装置等の電子機器では、装置全体が稼動状態ではない場合でも、待機用電力が供給され録画機能を制御する一部のマイコンは稼動状態にあるため、メモリがリセットされないという問題がある。   However, for example, in an electronic device such as a recording device having a reservation recording function, even when the entire device is not in an operating state, some of the microcomputers that are supplied with standby power and control the recording function are in an operating state, so the memory is reset. There is a problem that it is not.

本発明は斯かる事情に鑑みてなされたものであり、待機用電力が供給される待機状態であっても所定の条件を満足した場合に、メモリに記録されている有用なデータを退避させた上で初期化等の再使用可能化処理を行うことにより、動作を安定化する電子機器の提供を目的とする。   The present invention has been made in view of such circumstances, and useful data recorded in a memory is saved when a predetermined condition is satisfied even in a standby state in which standby power is supplied. An object of the present invention is to provide an electronic device that stabilizes operation by performing reusability processing such as initialization.

本発明に係る電子機器は、記録手段の使用可能な記録領域にデータを記録して処理を実行する制御回路を備え、該制御回路は、稼動状態から遷移した待機状態で動作可能な電子機器において、退避用記録手段と、待機状態にある場合に、所定の時間条件を満足しているか否かを判定する条件判定手段と、時間条件を満足していると判定したときに、記録手段に記録している有用なデータを退避用記録手段に記録する手段と、制御回路の処理に要するデータの記録に使用されていた記録手段の記録領域を、実行中の処理に要するデータの記録に再使用することを可能とする再使用可能化手段と、退避用記録手段に記録したデータを、再使用可能とした記録手段に記録する手段とを備えることを特徴とする。   An electronic device according to the present invention includes a control circuit that records data in a usable recording area of a recording unit and executes processing, and the control circuit is an electronic device that can operate in a standby state that is shifted from an operating state. Recording means for evacuation, condition determining means for determining whether or not a predetermined time condition is satisfied when in the standby state, and recording to the recording means when it is determined that the time condition is satisfied Re-use the recording area of the recording means used for recording the data required for processing and the recording means used for recording the data required for the processing of the control circuit to record the data required for the processing being executed. And a means for recording data recorded in the evacuation recording means on a recording means made reusable.

本発明では、待機状態であっても記録領域の再使用可能化処理を実行するので、使用可能な記録領域を拡大し、動作を安定化することが可能である。しかも使用者が電子機器を使用していない待機状態の間に再使用可能化処理を実行するので、使用者の使用の妨げになることがない。   In the present invention, since the recording area reusability process is executed even in the standby state, the usable recording area can be expanded and the operation can be stabilized. Moreover, since the reusability process is executed during the standby state in which the user is not using the electronic device, the user's use is not hindered.

本発明に係る電子機器は、前記条件判定手段は、通電開始からの経過時間が所定時間を超えているか否かを判定するように構成していることを特徴とする。   The electronic device according to the present invention is characterized in that the condition determining means is configured to determine whether or not an elapsed time from the start of energization exceeds a predetermined time.

本発明では、主電源の投入等の通電開始からの経過時間が所定時間を超えた場合に再使用可能化処理を実行することにより、通電開始から長期間が経過し、使用可能な記録領域が減少した段階で再使用可能化処理を実行することになるので、長期間の連続稼動による使用可能な記録領域の減少を改善することが可能であり、また必要以上に再使用可能化処理を行うことによる様々な弊害を防止することが可能である。   In the present invention, when the elapsed time from the start of energization, such as turning on the main power supply, exceeds a predetermined time, a reusable process is executed, so that a long-term period has elapsed from the start of energization and there is a usable recording area. Since the reusable processing is executed at the reduced stage, it is possible to improve the decrease in the usable recording area due to continuous operation for a long period of time, and to perform the reusable processing more than necessary. It is possible to prevent various harmful effects.

本発明に係る電子機器は、前記条件判定手段は、待機状態に遷移してからの経過時間が所定時間を超えているか否かを判定するように構成していることを特徴とする。   The electronic device according to the present invention is characterized in that the condition determining means is configured to determine whether or not an elapsed time after transitioning to the standby state exceeds a predetermined time.

本発明では、待機状態に遷移してから所定時間以上経過した場合に再使用可能化処理を実行することにより、使用者が待機状態に遷移させる操作を行ってから直ぐに稼動状態に遷移させる操作を行った場合でも、再使用可能化処理を実行していないため速やかに稼動状態に復帰することができるので、使用者が誤操作を行った場合等の操作が連続して行われる状況下でも操作性を損なうことがない。   In the present invention, when a predetermined time or more has elapsed since the transition to the standby state, the reusability enabling process is executed, so that the user can perform the transition to the active state immediately after performing the transition to the standby state. Even if it is performed, since the re-enabling process is not executed, it is possible to quickly return to the operating state, so that the operability can be achieved even in a situation where the operation is continuously performed such as when the user performs an erroneous operation. Will not be damaged.

本発明に係る電子機器は、稼動状態となる稼動開始時刻の設定を記録する手段を備え、前記条件判定手段は、稼動開始時刻までの時間が所定時間を超えているか否かを判定するように構成してあることを特徴とする。   The electronic device according to the present invention includes means for recording the setting of the operation start time at which the operation is started, and the condition determination means determines whether or not the time until the operation start time exceeds a predetermined time. It is configured.

本発明では、予約録画の開始時刻等の稼動開始時刻までの時間が十分ある場合に再使用可能化処理を実行することにより、予約録画等の処理の実行の妨げとなることを防止することが可能である。   In the present invention, when the time until the operation start time such as the start time of the reserved recording is sufficient, it is possible to prevent the execution of the process such as the reserved recording by performing the reusability process. Is possible.

本発明に係る電子機器は、外部情報を取り込む手段と、外部情報を取り込む取込時刻の設定を記録する手段とを備え、前記条件判定手段は、取込時刻までの時間が所定時間を超えているか否かを判定するように構成してあることを特徴とする。   The electronic device according to the present invention comprises means for capturing external information and means for recording setting of the capture time for capturing external information, wherein the condition determination means is configured to exceed a predetermined time until the capture time. It is characterized by determining whether it exists.

本発明では、電子番組表等の外部情報を取り込む取込時刻等の稼動開始時刻までの時間が十分ある場合に再使用可能化処理を実行することにより、外部情報の取込の実行の妨げとなることを防止することが可能である。   In the present invention, the execution of the reusability process is performed when there is sufficient time until the operation start time such as the capture time for capturing external information such as an electronic program guide, thereby preventing the execution of external information capture. Can be prevented.

本発明に係る電子機器は、前記再使用可能化手段は、記録手段の初期化を行うように構成してあることを特徴とする。   The electronic device according to the present invention is characterized in that the reusable means is configured to initialize the recording means.

本発明では、使用不可能な状態にあった記録領域が開放され、使用可能な記録領域を元の状態まで拡大させることが可能である。   In the present invention, the recording area that was in an unusable state is released, and the usable recording area can be expanded to the original state.

本発明の電子機器は、装置全体が稼動する稼動状態から、一部の機能のみが稼動する待機状態に遷移した状態にある場合で、所定の時間条件を満足しているときに、マイコン等の制御回路の制御に要する記録手段に記録している有用なデータを退避用記録手段に記録し、記録手段の記録領域を再使用可能とする初期化(リセット)等の再使用可能化処理を実行した上で、退避用記録手段に記録したデータを、記録手段に書き戻す。   When the electronic device of the present invention is in a state in which the entire apparatus is in operation and is in a state of transition to a standby state in which only some functions are operated, Useful data recorded in the recording means required for control of the control circuit is recorded in the evacuation recording means, and reusability processing such as initialization (reset) is performed to make the recording area of the recording means reusable. After that, the data recorded in the evacuation recording unit is written back to the recording unit.

この構成により、本発明では、待機状態であっても記録領域の再使用可能化処理を実行するので、使用可能な記録領域を拡大し、動作を安定化することが可能である等、優れた効果を奏する。しかも使用者が電子機器を使用していない待機状態の間に再使用可能化処理を実行するので、使用者の使用の妨げになることなく、使用可能な記録領域を拡大することが可能である等、優れた効果を奏する。   With this configuration, in the present invention, since the recording area can be reusable even in the standby state, the usable recording area can be expanded and the operation can be stabilized. There is an effect. Moreover, since the reusability process is executed during the standby state in which the user is not using the electronic device, the usable recording area can be expanded without hindering the user's use. Etc. have excellent effects.

さらに本発明の電子機器は、主電源の投入等の通電開始からの経過時間が所定時間を超えた場合に再使用可能化処理を実行することにより、通電開始から長期間が経過し、使用可能な記録領域が減少した段階で再使用可能化処理を実行することになるので、長期間の連続稼動による使用可能な記録領域の減少を改善することが可能である等、優れた効果を奏する。また必要以上に再使用可能化処理を行うことによる様々な弊害を防止することが可能である等、優れた効果を素する。   Furthermore, the electronic device of the present invention can be used after a long period of time has elapsed since the start of energization by executing a reusable process when the elapsed time from the start of energization, such as turning on the main power supply, exceeds a predetermined time. Since the reusability process is executed when the recording area is reduced, it is possible to improve the reduction in the usable recording area due to continuous operation over a long period of time. In addition, the present invention has excellent effects such as preventing various harmful effects caused by performing the reusability process more than necessary.

さらに本発明の電子機器は、待機状態に遷移してから所定時間以上経過した場合に再使用可能化処理を実行することにより、使用者が待機状態に遷移させる操作を行ってから直ぐに稼動状態に遷移させる操作を行った場合でも、再使用可能化処理を実行していないため速やかに稼動状態に復帰することができるので、使用者が誤操作を行った場合等の操作が連続して行われる状況下でも操作性を損なうことがない等、優れた効果を奏する。   Furthermore, the electronic device of the present invention is put into an operating state immediately after the user performs an operation to make a transition to the standby state by executing a reusability process when a predetermined time or more has elapsed since the transition to the standby state. Even when an operation to make a transition is made, because the re-enabling process has not been executed, it is possible to quickly return to the operating state. Excellent effects such as no loss of operability even underneath.

さらに本発明の電子機器は、例えばVTR(Video Tape Recorder) 、DVD(Digital Versatile Disc)、HD(Hard Disc) 、更にはSTB(Set Top Box) 等の録画装置に適用する場合に、予約録画の開始時刻等の稼動開始時刻までの時間が所定時間を超えている場合に、開始までの時間が十分にあると判定し、再使用可能化処理を実行することにより、予約録画等の処理の実行の妨げとなることを防止することが可能である等、優れた効果を奏する。   Furthermore, the electronic device of the present invention can be used for reservation recording when applied to recording devices such as VTR (Video Tape Recorder), DVD (Digital Versatile Disc), HD (Hard Disc), and STB (Set Top Box). When the time until the operation start time such as the start time exceeds the predetermined time, it is determined that the time until the start is sufficient, and the reusable processing is executed, thereby executing the processing such as the scheduled recording It is possible to prevent the hindrance from being hindered.

さらに本発明の電子機器は、電子番組表等の外部情報を取り込む取込時刻等の稼動開始時刻までの時間が所定時間を超えている場合に、開始までの時間が十分にあると判定し、再使用可能化処理を実行することにより、外部情報の取込の実行の妨げとなることを防止することが可能である等、優れた効果を奏する。   Furthermore, the electronic device of the present invention determines that the time until the start is sufficient when the time until the operation start time such as the capture time for capturing external information such as an electronic program guide exceeds a predetermined time, By performing the reusability process, it is possible to prevent the external information from being hindered from being executed.

以下、本発明をその実施の形態を示す図面に基づいて詳述する。   Hereinafter, the present invention will be described in detail with reference to the drawings illustrating embodiments thereof.

図1は、本発明の電子機器の構成例を示すブロック図である。図1中1は、VTR(Video Tape Recorder) 、DVD(Digital Versatile Disc)レコーダ、HD(Hard Disc) レコーダ、更にはSTB(Set Top Box) 等の録画装置を用いた本発明の電子機器であり、電子機器1は、装置全体を制御する制御部11、機械的及び電気的な機構を備え装置の主要部として稼動する稼働部12、並びに商用電源、乾電池等の外部電力の供給を受けて制御部11及び稼働部12へ電力を供給する電源部13を備えている。   FIG. 1 is a block diagram illustrating a configuration example of an electronic device according to the present invention. In FIG. 1, reference numeral 1 denotes an electronic apparatus of the present invention using a recording device such as a VTR (Video Tape Recorder), a DVD (Digital Versatile Disc) recorder, an HD (Hard Disc) recorder, or an STB (Set Top Box). The electronic device 1 is controlled by receiving a control unit 11 that controls the entire apparatus, an operation unit 12 that includes mechanical and electrical mechanisms and operates as a main part of the apparatus, and external power such as a commercial power source and a dry battery. The power supply part 13 which supplies electric power to the part 11 and the operation part 12 is provided.

制御部11は、制御の主体となるメインマイクロコンピュータ(以下、メインマイコンという)111、メインマイコン111による処理の実行時に発生するデータを記録するフラッシュメモリ等のメインメモリ112、メインマイコン111の処理を補完する本発明の制御手段であるサブマイクロコンピュータ(以下、サブマイコンという)113、サブマイコン113による処理の実行時に発生するデータを記録するフラッシュメモリ等のサブメモリ114、サブメモリ114に記録している有用なデータの退避時に用いられる退避用メモリ115を備えている。さらに制御部11は、無線又は有線にて送信される電子番組表(EPG:Electronic Programming Guide)等の外部情報を取り込むチューナ機構等の取込回路116及び時計回路117等の様々な回路を備えている。   The control unit 11 performs processing of a main microcomputer 111 (hereinafter referred to as a main microcomputer) that is a main body of control, a main memory 112 such as a flash memory that records data generated when processing is performed by the main microcomputer 111, and processing of the main microcomputer 111. Sub-microcomputer (hereinafter referred to as sub-microcomputer) 113 which is the control means of the present invention to be supplemented, sub-memory 114 such as a flash memory for recording data generated during execution of processing by sub-microcomputer 113, and sub-memory 114 A evacuation memory 115 is used for saving useful data. Further, the control unit 11 includes various circuits such as a capture circuit 116 such as a tuner mechanism and a clock circuit 117 that capture external information such as an electronic program guide (EPG: Electronic Programming Guide) transmitted wirelessly or by wire. Yes.

電子機器1は、稼動状態及び待機状態の少なくとも2種類の動作状態があり、装置全体が稼動する稼動状態では、制御部11のメインマイコン111及びサブマイコン113の双方のマイコンが稼動し、稼動状態から一部の機能のみが稼動する待機状態へ遷移した場合、サブマイコン113のみが稼動する。そしてメインマイコン111は、メインメモリ112の使用可能な記録領域にデータを記録して実行することで稼動部12に録画、再生等の動作を実行させる制御を行う。またサブマイコン113は、サブメモリ114の使用可能な記録領域にデータを記録して実行することにより、予約録画の管理、外部情報の取込管理等の常時実行すべき処理の制御を行う。例えば取込回路116による外部情報の取込は、サブマイコン113の制御により、時計回路117を参照して1日2回、サブメモリ114に取込時刻として予め記録されている時刻に行われ、取り込んだ外部情報、例えば電子番組表は、サブメモリ114に記録される。また予約録画の内容等の情報、即ち予約録画を開始すべく稼動を開始する稼動開始時刻の設定等の情報もサブメモリ114に記録される。このようにサブマイコン113は、稼動状態及び待機状態のいずれでも動作しているが、メインマイコン111は、稼動状態でのみ動作し、また動作の開始時には、メインメモリ112の初期化等の処理が行われる。   The electronic device 1 has at least two types of operation states, that is, an operation state and a standby state. In the operation state in which the entire apparatus is in operation, both the main microcomputer 111 and the sub-microcomputer 113 of the control unit 11 are operated. When a transition is made to a standby state in which only some functions are activated, only the sub-microcomputer 113 is activated. The main microcomputer 111 controls the operation unit 12 to execute operations such as recording and reproduction by recording and executing data in a usable recording area of the main memory 112. In addition, the sub-microcomputer 113 controls the processes that should be executed at all times, such as management of reserved recording and management of capturing external information, by recording and executing data in a usable recording area of the sub-memory 114. For example, the acquisition of external information by the acquisition circuit 116 is performed twice a day with reference to the clock circuit 117 under the control of the sub-microcomputer 113 at the time recorded in advance in the sub-memory 114 as the acquisition time. The acquired external information, for example, an electronic program guide, is recorded in the sub memory 114. Information such as the contents of reserved recording, that is, information such as setting of an operation start time for starting operation to start reserved recording is also recorded in the sub memory 114. As described above, the sub-microcomputer 113 operates in both the operating state and the standby state, but the main microcomputer 111 operates only in the operating state, and at the start of the operation, processing such as initialization of the main memory 112 is performed. Done.

次に本発明の電子機器1の処理について説明する。図2は、本発明の電子機器1の処理を示すフローチャートである。本発明の電子機器1は、サブマイコン113の制御により、稼動状態から遷移した待機状態であるか否かを判定する(ステップS1)。   Next, processing of the electronic device 1 of the present invention will be described. FIG. 2 is a flowchart showing processing of the electronic apparatus 1 of the present invention. The electronic device 1 according to the present invention determines whether or not the standby state is changed from the operating state under the control of the sub-microcomputer 113 (step S1).

ステップS1において、待機状態であると判定した場合(ステップS1:YES)、電子機器1は、サブマイコン113の制御により、通電開始からの経過時間が、予めサブメモリ114に記録されている所定時間を超えているか否かを判定する(ステップS2)。通電開始からの経過時間とは、電源部13が外部電力の供給を受け始めてからの時間であり、例えば電源プラグが商用電源のコンセントに差し込まれた時刻、主電源が投入された時刻、後述するサブメモリ114の初期化処理を前回実行した時刻等の時刻からの時間である。ステップS2における所定時間は、動作の不安定化を回避すべくサブメモリ114の使用可能な記録領域の経時的な減少状況に基づいて設定され、例えば2週間等の期間が設定される。   If it is determined in step S1 that the electronic device 1 is in the standby state (step S1: YES), the electronic device 1 controls the sub-microcomputer 113 so that the elapsed time from the start of energization is recorded in the sub-memory 114 in advance. Is determined (step S2). The elapsed time from the start of energization is the time from when the power supply unit 13 starts to receive external power. For example, the time when the power plug is inserted into the outlet of the commercial power supply, the time when the main power is turned on, which will be described later. This is the time from the time such as the time when the initialization process of the sub memory 114 was executed last time. The predetermined time in step S2 is set based on the time-dependent decrease in the usable recording area of the sub memory 114 in order to avoid unstable operation, and a period of, for example, two weeks is set.

ステップS2において、通電開始からの経過時間が所定時間を超えていると判定した場合(ステップS2:YES)、電子機器1は、サブマイコン113の制御により、稼動状態から待機状態に遷移してからの経過時間が、予めサブメモリ114に記録されている所定時間を超えているか否かを判定する(ステップS3)。電子機器1を操作する使用者は、例えば誤操作により、待機状態に遷移させる操作を行った場合、待機状態に遷移させる操作を行ってから、直ぐに稼動状態に遷移させる操作を行う可能性が高い。そこでステップS3では、使用者の連続した操作に対して速やかに対応すべく待機状態に遷移した後も所定時間の間は、後述する初期化処理の実行を禁止する。なおステップS3における所定時間は、使用者が連続して操作を行わないと考えられる時間として、例えば6分等の時間が設定される。   If it is determined in step S2 that the elapsed time from the start of energization exceeds the predetermined time (step S2: YES), the electronic device 1 has changed from the operating state to the standby state under the control of the sub-microcomputer 113. It is determined whether or not the elapsed time exceeds a predetermined time previously recorded in the sub memory 114 (step S3). If the user who operates the electronic device 1 performs an operation for shifting to the standby state due to, for example, an erroneous operation, the user is likely to perform an operation for immediately shifting to the operating state after performing the operation for shifting to the standby state. Therefore, in step S3, execution of an initialization process, which will be described later, is prohibited for a predetermined time even after the transition to the standby state in order to quickly respond to a user's continuous operation. Note that the predetermined time in step S3 is set to a time such as 6 minutes, for example, as a time when the user is considered not to perform the operation continuously.

ステップS3において、待機状態に遷移してからの経過時間が所定時間を超えていると判定した場合(ステップS3:YES)、電子機器1は、サブマイコン113の制御により、時計回路117が示す現在時刻から、サブメモリ114に記録されている稼動開始時刻までの時間が、予めサブメモリ114に記録されている所定時間を超えているか否かを判定する(ステップS4)。サブメモリ114に記録されている稼動開始時刻とは例えば予約録画を開始する時刻であり、後述する初期化処理を実行中に予約録画の開始時刻に到達した場合、設定されている開始時刻から予約録画を行うことができないという問題が生じる。従ってステップS4では、初期化処理に要する時間に基づいて設定された所定時間と比較することにより、初期化処理を実行しても稼動開始時刻までに終了するだけの時間的な余裕が十分にあるか否かを判定するのである。   In step S3, when it is determined that the elapsed time since the transition to the standby state has exceeded the predetermined time (step S3: YES), the electronic device 1 displays the current time indicated by the clock circuit 117 under the control of the sub-microcomputer 113. It is determined whether the time from the time to the operation start time recorded in the sub memory 114 exceeds a predetermined time recorded in advance in the sub memory 114 (step S4). The operation start time recorded in the sub-memory 114 is, for example, the time at which reserved recording is started. If the reserved recording start time is reached during the initialization process described later, the reservation starts from the set start time. There arises a problem that recording cannot be performed. Therefore, in step S4, by comparing with a predetermined time set based on the time required for the initialization process, there is sufficient time margin for completion by the operation start time even if the initialization process is executed. It is determined whether or not.

ステップS4において、稼動開始時刻までの時間が所定時間を超えていると判定した場合(ステップS4:YES)、電子機器1は、サブマイコン113の制御により、時計回路117が示す現在時刻から、サブメモリ114に記録されている取込時刻までの時間が、予めサブメモリ114に記録されている所定時間を超えているか否かを判定する(ステップS5)。サブメモリ114に記録されている取込時刻とは、取込回路116により、外部情報を取り込む時刻として設定されている時刻であり、後述する初期化処理を実行中に取込時刻に到達した場合、設定されている取込時刻に外部情報を取り込むことができないという問題が生じる。従ってステップS5では、初期化処理に要する時間に基づいて設定された所定時間と比較することにより、初期化処理を実行しても取込時刻までに終了するだけの時間的な余裕が十分にあるか否かを判定するのである。   If it is determined in step S4 that the time until the operation start time exceeds the predetermined time (step S4: YES), the electronic device 1 controls the sub-microcomputer 113 from the current time indicated by the clock circuit 117. It is determined whether or not the time until the capture time recorded in the memory 114 exceeds a predetermined time previously recorded in the sub memory 114 (step S5). The capture time recorded in the sub memory 114 is a time set as a time when external information is captured by the capture circuit 116, and when the capture time is reached during the initialization process described later This causes a problem that external information cannot be captured at the set capture time. Therefore, in step S5, by comparing with a predetermined time set based on the time required for the initialization process, there is a sufficient time margin for completion by the capture time even if the initialization process is executed. It is determined whether or not.

ステップS5において、取込時刻までの時間が所定時間を超えていると判定した場合(ステップS5:YES)、電子機器1は、サブマイコン113の制御により、サブメモリ114の初期化処理を開始する。   If it is determined in step S5 that the time until the capture time exceeds the predetermined time (step S5: YES), the electronic device 1 starts the initialization process of the sub memory 114 under the control of the sub microcomputer 113. .

サブメモリ114の初期化処理として、電子機器1は、サブマイコン113の制御により、サブメモリ114に記録している有用なデータを読み出し(ステップS6)、読み出したデータを退避用メモリ115に記録する(ステップS7)。さらに電子機器1は、サブマイコン113の制御により、サブメモリ114の記録領域を再使用可能とすべく記録内容を消去する初期化(リセット)を行い(ステップS8)、退避用メモリ115に記録したデータを読み出し(ステップS9)、読み出したデータを再使用可能としたサブメモリ114に記録する(ステップS10)。ステップS6にて読み出す有用なデータとは、実行中の処理に要するデータ、具体的には、サブマイコン113にて実行中のプログラムからポインタを用いて参照される可能性があるデータであり、ガベージ等の無用なデータを除くデータである。ステップS8にて初期化することにより、サブマイコン113にて以前に実行されていた処理に要するデータの記録に使用されていたが、現在実行中の処理には用いられていない無用なデータが消去され、無用なデータが消去された記録領域は、現在実行中の処理に要するデータの記録に再使用することが可能となる。ステップS6〜S10として示したサブメモリ114の初期化処理を終了後、元の待機状態としてステップS1に戻り、以降の処理を繰り返す。   As initialization processing of the sub memory 114, the electronic device 1 reads useful data recorded in the sub memory 114 under the control of the sub microcomputer 113 (step S6), and records the read data in the save memory 115. (Step S7). Further, the electronic device 1 performs initialization (reset) to erase the recorded contents so that the recording area of the sub memory 114 can be reused under the control of the sub microcomputer 113 (step S8), and records it in the save memory 115. Data is read (step S9), and the read data is recorded in the sub-memory 114 that can be reused (step S10). The useful data read in step S6 is data required for the processing being executed, specifically, data that may be referenced using a pointer from a program being executed by the sub-microcomputer 113. It is data excluding unnecessary data such as. By initializing in step S8, useless data that has been used for recording data required for the processing previously executed by the sub-microcomputer 113 but is not used for the processing currently being executed is erased. Thus, the recording area from which unnecessary data has been erased can be reused for recording data required for the processing currently being executed. After completing the initialization process of the sub memory 114 shown as steps S6 to S10, the process returns to step S1 as the original standby state, and the subsequent processes are repeated.

ステップS1において待機状態でないと判定した場合(ステップS1:NO)、ステップS2において通電開始からの経過時間が所定時間を超えていないと判定した場合(ステップS2:NO)、ステップS3において待機状態に遷移してからの経過時間が所定時間を超えていないと判定した場合(ステップS3:NO)、ステップS4において稼動開始時刻までの時間が所定時間を超えていないと判定した場合(ステップS4:NO)、又はステップS5において取込時刻までの時間が所定時間を超えていないと判定した場合(ステップS5:NO)、電子機器1は、ステップS6〜S10に示すサブメモリ114の初期化処理は実行せずに、ステップS1に戻り、以降の処理を繰り返す。   If it is determined in step S1 that it is not in the standby state (step S1: NO), if it is determined in step S2 that the elapsed time from the start of energization does not exceed the predetermined time (step S2: NO), the standby state is entered in step S3. When it is determined that the elapsed time since the transition does not exceed the predetermined time (step S3: NO), when it is determined in step S4 that the time until the operation start time does not exceed the predetermined time (step S4: NO) ) Or when it is determined in step S5 that the time until the capture time does not exceed the predetermined time (step S5: NO), the electronic device 1 executes the initialization process of the sub memory 114 shown in steps S6 to S10. Without returning to step S1, the subsequent processing is repeated.

前記実施の形態では、サブメモリの記録領域を再使用可能とする処理として初期化する形態を示したが、本発明はこれに限らず、無用なデータに占有されている記録領域を開放するガベージコレクション等の様々な処理に展開することが可能である。   In the above-described embodiment, the form in which the recording area of the sub-memory is initialized as reusable processing has been described. However, the present invention is not limited to this, and the garbage collection for releasing the recording area occupied by unnecessary data is performed. It can be expanded to various processes such as collection.

また前記実施の形態では、稼動開始時刻及び取込時刻をサブメモリに設定する形態を示したが、本発明はこれに限らず、更にサブメモリ以外のメモリを用いる等、様々な方法に展開することが可能である。   In the above-described embodiment, the operation start time and the capture time are set in the sub memory. However, the present invention is not limited to this, and can be expanded to various methods such as using a memory other than the sub memory. It is possible.

さらに前記実施の形態では、電子機器として録画装置を用いる形態を示したが、本発明はこれに限らず、稼動状態及び待機状態の2以上の動作状態に遷移する様々な電子機器に適用することが可能である。   Furthermore, in the said embodiment, although the form which uses a recording device as an electronic device was shown, this invention is not limited to this, It applies to the various electronic devices which change to two or more operation states, an operation state and a standby state. Is possible.

またステップS2〜S5にて示した、初期化処理を実行するまでの条件は、その電子機器の機能、目的、使用方法等の各種要因に応じて適宜設定することが可能である。   The conditions until the initialization process shown in steps S2 to S5 can be set as appropriate according to various factors such as the function, purpose, and usage method of the electronic device.

本発明の電子機器の構成例を示すブロック図である。It is a block diagram which shows the structural example of the electronic device of this invention. 本発明の電子機器の処理を示すフローチャートである。It is a flowchart which shows the process of the electronic device of this invention.

符号の説明Explanation of symbols

1 電子機器
11 制御部
111 メインマイクロコンピュータ(メインマイコン)
112 メインメモリ
113 サブマイクロコンピュータ(サブマイコン)
114 サブメモリ
115 退避用メモリ
116 取込回路
117 時計回路
1 Electronic Device 11 Control Unit 111 Main Microcomputer (Main Microcomputer)
112 Main memory 113 Sub-microcomputer (Sub-microcomputer)
114 Sub-memory 115 Evacuation memory 116 Capture circuit 117 Clock circuit

Claims (6)

記録手段の使用可能な記録領域にデータを記録して処理を実行する制御回路を備え、該制御回路は、稼動状態から遷移した待機状態で動作可能な電子機器において、
退避用記録手段と、
待機状態にある場合に、所定の時間条件を満足しているか否かを判定する条件判定手段と、
時間条件を満足していると判定したときに、
記録手段に記録している有用なデータを退避用記録手段に記録する手段と、
制御回路の処理に要するデータの記録に使用されていた記録手段の記録領域を、実行中の処理に要するデータの記録に再使用することを可能とする再使用可能化手段と、
退避用記録手段に記録したデータを、再使用可能とした記録手段に記録する手段と
を備えることを特徴とする電子機器。
A control circuit that records data in a usable recording area of the recording means and executes processing, the control circuit in an electronic device that can operate in a standby state that has transitioned from an operating state,
Evacuation recording means;
Condition determining means for determining whether or not a predetermined time condition is satisfied when in a standby state;
When it is determined that the time condition is satisfied,
Means for recording useful data recorded in the recording means in the evacuation recording means;
Reusability enabling means for enabling the recording area of the recording means used for recording data required for the processing of the control circuit to be reused for recording data required for the processing being executed;
An electronic apparatus comprising: means for recording data recorded in the evacuation recording means in a recording means that can be reused.
前記条件判定手段は、通電開始からの経過時間が所定時間を超えているか否かを判定するように構成していることを特徴とする請求項1に記載の電子機器。 The electronic device according to claim 1 , wherein the condition determination unit is configured to determine whether or not an elapsed time from the start of energization exceeds a predetermined time. 前記条件判定手段は、待機状態に遷移してからの経過時間が所定時間を超えているか否かを判定するように構成していることを特徴とする請求項1又は請求項2に記載の電子機器。 3. The electronic device according to claim 1, wherein the condition determining unit is configured to determine whether or not an elapsed time after transitioning to the standby state exceeds a predetermined time. 4. machine. 稼動状態となる稼動開始時刻の設定を記録する手段を備え、
前記条件判定手段は、稼動開始時刻までの時間が所定時間を超えているか否かを判定するように構成してある
ことを特徴とする請求項1乃至請求項のいずれかひとつに記載の電子機器。
It has a means to record the setting of the operation start time when it becomes an operation state,
The electronic apparatus according to any one of claims 1 to 3 , wherein the condition determination unit is configured to determine whether or not a time until an operation start time exceeds a predetermined time. machine.
外部情報を取り込む手段と、
外部情報を取り込む取込時刻の設定を記録する手段と
を備え、
前記条件判定手段は、取込時刻までの時間が所定時間を超えているか否かを判定するように構成してある
ことを特徴とする請求項1乃至請求項のいずれかひとつに記載の電子機器。
Means to capture external information;
Means for recording the setting of the capture time for capturing external information,
The electronic apparatus according to any one of claims 1 to 4 , wherein the condition determination unit is configured to determine whether or not a time until an acquisition time exceeds a predetermined time. machine.
前記再使用可能化手段は、記録手段の初期化を行うように構成してあることを特徴とする請求項1乃至請求項のいずれかひとつに記載の電子機器。 The reusable means is the electronic device according to any one of claims 1 to 5, characterized in that are configured to perform the initialization of the recording means.
JP2005154516A 2005-05-26 2005-05-26 Electronics Expired - Fee Related JP4726543B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005154516A JP4726543B2 (en) 2005-05-26 2005-05-26 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005154516A JP4726543B2 (en) 2005-05-26 2005-05-26 Electronics

Publications (2)

Publication Number Publication Date
JP2006331124A JP2006331124A (en) 2006-12-07
JP4726543B2 true JP4726543B2 (en) 2011-07-20

Family

ID=37552740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005154516A Expired - Fee Related JP4726543B2 (en) 2005-05-26 2005-05-26 Electronics

Country Status (1)

Country Link
JP (1) JP4726543B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4419663B2 (en) * 2004-04-22 2010-02-24 カシオ計算機株式会社 Information processing system, program

Also Published As

Publication number Publication date
JP2006331124A (en) 2006-12-07

Similar Documents

Publication Publication Date Title
JP3564031B2 (en) Electronic still camera
US20120182446A1 (en) Electronic device and control method therefor
JP4726543B2 (en) Electronics
KR100563538B1 (en) Information recording device and information recording method
CN100407150C (en) Information processing device and operating system conversion method
JP3839856B2 (en) Data processing device
JP4687403B2 (en) Electronic device, electronic device control method, electronic device control method program, and recording medium storing electronic device control method program
JP3826134B2 (en) Recording device
JP4785778B2 (en) Imaging device, control method thereof, and program
KR100594808B1 (en) Video recorder and backup method that can be backed up when recording space is insufficient
JP4679333B2 (en) Digital camera
JP2005295433A (en) Data recording apparatus
JP4984867B2 (en) Display control device, display device, display control method, and program
JPH1050084A (en) Memory control device and memory access method
JP2001036785A (en) Information processing apparatus, control method therefor, and memory medium
JP4281803B2 (en) Information recording apparatus and information recording method
JP4140427B2 (en) Video recording apparatus and reserved recording method
JP2006202051A (en) Data processing apparatus and data processing method
JP3246045B2 (en) Timer recording device
JP3970993B2 (en) Data recording device
JP5637879B2 (en) Imaging apparatus and control method thereof
JP3840242B2 (en) Image processing apparatus and control method thereof
JP3140607B2 (en) Information reading device
JP2007318381A (en) Digital camera
JP2006148581A (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070822

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110118

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110412

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140422

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees