JP4877195B2 - Information processing apparatus and data transfer method - Google Patents

Information processing apparatus and data transfer method Download PDF

Info

Publication number
JP4877195B2
JP4877195B2 JP2007280628A JP2007280628A JP4877195B2 JP 4877195 B2 JP4877195 B2 JP 4877195B2 JP 2007280628 A JP2007280628 A JP 2007280628A JP 2007280628 A JP2007280628 A JP 2007280628A JP 4877195 B2 JP4877195 B2 JP 4877195B2
Authority
JP
Japan
Prior art keywords
data
memory
processing
interrupt
data transfer
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
JP2007280628A
Other languages
Japanese (ja)
Other versions
JP2009111617A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2007280628A priority Critical patent/JP4877195B2/en
Publication of JP2009111617A publication Critical patent/JP2009111617A/en
Application granted granted Critical
Publication of JP4877195B2 publication Critical patent/JP4877195B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Studio Devices (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Description

本発明は、メモリからCPU(Central Processing Unit)へのデータ転送処理中に割り込み処理が発生した場合に、割り込み処理を優先して実行するとともに、データ処理部での消費電力を抑えつつ、処理時間の増大を抑えた情報処理装置及びデータ転送方法に関する。   According to the present invention, when an interrupt process occurs during a data transfer process from a memory to a CPU (Central Processing Unit), the interrupt process is preferentially executed and the processing time is reduced while suppressing power consumption in the data processing unit. The present invention relates to an information processing apparatus and a data transfer method that suppress an increase in data.

携帯端末のカメラ機能の性能は、デジタルスチルカメラ(Digital Still Camera:以下、DSC)に近づいており、DSC並の画質や操作性が要求されている、しかし、カメラ付き携帯端末は、携帯端末特有の処理(発着信処理など)への配慮、無線の影響を考慮した高速処理、優先すべきカメラ以外の処理の存在など、DSCとは異なった多くの制御シーンを想定して設計する必要がある。   The performance of the camera function of the portable terminal is approaching that of a digital still camera (hereinafter referred to as DSC), and image quality and operability equivalent to those of the DSC are required. However, the portable terminal with a camera is unique to the portable terminal. It is necessary to design in consideration of many control scenes different from DSC, such as considerations for processing (call-in / out-call processing, etc.), high-speed processing in consideration of the influence of radio, and existence of processing other than the camera to be prioritized .

近年、携帯端末のカメラはさらに高画素化が進み、既に5メガピクセルクラスのカメラまでもが搭載されるようになっている。携帯端末内のCPUも同様に高機能化・高速化は進んでいるが、カメラの高画素化に対して十分な処理能力が確保されているとはいえない。   In recent years, the cameras of mobile terminals have further increased in pixel count, and even cameras of the 5 megapixel class have already been installed. Similarly, CPUs in portable terminals are becoming higher in function and higher in speed, but it cannot be said that sufficient processing capacity is secured for higher pixels in cameras.

したがって、カメラの高画素化とCPUの高機能・高速化とは同等ではなく、また転送速度などは無線特性の制約もあり画像処理時間やデータ転送時間は増大する傾向にある。   Therefore, the increase in the number of pixels of the camera is not equivalent to the increase in the function and speed of the CPU, and the transfer speed and the like tend to increase the image processing time and the data transfer time due to restrictions on wireless characteristics.

また、DSCなどとは違い、携帯電話機は着信動作処理が制御上最優先となるため、カメラ動作中にも着信などの割り込み処理が入り、割り込み処理が発生した場合への設計上の配慮及び処理方法の最適化が必要である。   In contrast to DSC and the like, the mobile phone has the highest priority for control of incoming call operations, so interrupt handling such as incoming calls is entered even during camera operation, and design considerations and processing when interrupt processing occurs Optimization of the method is necessary.

カメラが起動しているだけ(ライブビュー)の状態であれば、割り込み動作に対しカメラ機能の停止又はスタンバイ制御を行い、割り込み処理終了後にカメラ機能の再起動又はスタンバイ解除制御を行うことで対処できる。   If the camera is only active (live view), it can be dealt with by stopping the camera function or performing standby control for the interrupt operation, and then restarting the camera function or performing standby release control after completion of the interrupt processing. .

しかし、撮影直後の撮影データを携帯端末CPU側に転送している最中に割り込み処理が発生した場合は、これとは異なる処理を行わねばならない。   However, if an interrupt process occurs while shooting data immediately after shooting is being transferred to the mobile terminal CPU side, a process different from this must be performed.

このような場合の処理として、図6のA〜Cの処理方法が一般的である。
処理方法Aは、優先すべき割り込み処理が発生したとしても現状の処理(撮影データの転送処理)を継続し、撮影データの転送処理が完了した時点で割り込み処理へ移行する。すなわち、データの転送が完了し携帯端末側のCPUにデータがダンプされるのを待って割り込み処理に移行する。この処理は、優先すべき処理(電話の着信処理など)が後回しとなってしまうため、最適な処理とは言えない。しかも、画像サイズが大きくなると転送に要する時間も増大するため、カメラの高性能化が進むと着信などの割り込み処理への移行がさらに遅くなってしまう。
As processing in such a case, the processing methods of A to C in FIG. 6 are common.
The processing method A continues the current process (shooting data transfer process) even when an interrupt process to be prioritized occurs, and shifts to the interrupt process when the shooting data transfer process is completed. That is, it waits for the data transfer to be completed and the data dumped to the CPU on the mobile terminal side, and then shifts to an interrupt process. This process is not an optimal process because a process that should be prioritized (such as an incoming call process) is postponed. In addition, since the time required for transfer increases as the image size increases, the shift to interrupt processing such as incoming calls becomes even slower as the performance of the camera increases.

処理方法Bは、割り込み処理が発生した時点で現状の処理(撮影データの転送処理)を強制的に終了させ、割り込み処理へ移行する。しかし、携帯端末用のカメラの多くは、カメラDSP(Digital Signal Processor)のコア電源とDSP内のメモリの電源とが共通化されており、この電源を落とすとカメラDSP内のメモリは初期化されてしまい、メモリ内の撮影データは消失してしまう。よって、割り込み処理が発生した時点で現状の処理を強制的に終了させ、割り込み処理へ移行ような処理を行うと、カメラ側でデータを保持したままスタンバイ制御ができない場合には、撮影データがカメラDSP内で削除されてしまうため、せっかくユーザが撮影した画像のデータが消失してしまう。すなわち、処理方法Bのように、割り込み処理を優先し、カメラ機能をスタンバイ状態又は動作停止してしまうと、カメラDSP内の撮影データが削除されてしまい、ユーザが撮影したデータを保証できなくなってしまう。   The processing method B forcibly ends the current process (shooting data transfer process) when the interrupt process occurs, and shifts to the interrupt process. However, in many portable terminal cameras, the core power source of the camera DSP (Digital Signal Processor) and the power source of the memory in the DSP are shared, and when the power is turned off, the memory in the camera DSP is initialized. The captured data in the memory will be lost. Therefore, when interrupt processing occurs, the current processing is forcibly terminated, and processing such as shifting to interrupt processing is performed. Since it is deleted in the DSP, the data of the image taken by the user is lost. In other words, as in processing method B, if interrupt processing is prioritized and the camera function is in a standby state or stopped, the shooting data in the camera DSP is deleted, and the data shot by the user cannot be guaranteed. End up.

処理方法Cは、データを保持したままスタンバイ制御が可能なカメラを用いた処理であり、割り込みが発生した時点で割り込み処理へ移行し、処理完了後に再度最初からデータ転送処理を開始する。この処理方法ならば撮影データを確保でき、かつ割り込み処理についても最優先で処理を開始できるが、データ転送処理が一部重複するため、カメラの復帰までに時間がかかってしまう。換言すると、処理方法Cのように、割り込み処理を優先し、カメラではデータを保持したスタンバイ状態又は起動状態を継続し、割り込み処理完了後にデータの転送を再度最初から行うことも可能ではあるが、処理の重複によって処理時間や消費電力の増大を招く。すなわち、たとえカメラDSP内のメモリに撮影データを保持させられるとしても、着信などの割り込み処理後に撮影データを最初から転送し直すとなると処理が重複するため、処理時間も消費電力も増大することとなってしまう。   The processing method C is a process using a camera capable of standby control while retaining data. When an interrupt occurs, the processing method C shifts to the interrupt process, and starts the data transfer process from the beginning again after the process is completed. With this processing method, shooting data can be secured and processing can be started with the highest priority for interrupt processing. However, since data transfer processing partially overlaps, it takes time to restore the camera. In other words, as in processing method C, it is possible to prioritize interrupt processing, continue the standby state or start-up state in which the data is held in the camera, and transfer data again from the beginning after completion of interrupt processing. Overlapping processing leads to increased processing time and power consumption. That is, even if the shooting data can be held in the memory in the camera DSP, if the shooting data is transferred again from the beginning after an interruption process such as an incoming call, the processing is duplicated, so that the processing time and power consumption increase. turn into.

上記のように、携帯端末においてカメラ機能は付加的な機能であるため、電話着信などの最優先で処理すべき処理が他に存在するが、データ転送中にそのような処理を割り込ませる場合には、ユーザが撮影したデータが消失してしまうことや、元の処理に復帰する際の操作性(復帰の遅さ)が課題となる。   As described above, since the camera function is an additional function in the mobile terminal, there are other processes that should be processed with the highest priority, such as incoming calls, but when such processes are interrupted during data transfer. The problem is that data taken by the user is lost and operability (slowness of return) when returning to the original process.

カメラ機能付き携帯端末に関する技術として、特許文献1や特許文献2がある。特許文献1や2は、着信などの割り込み制御があった場合にはカメラの画像処理と着信処理とのどちらかを優先して行うものである。すなわち、特許文献1や2は、単に通信機能とカメラ機能とを排他選択的に利用できるようにしただけであり、データ転送中に割り込み処理を実行させる場合に転送中のデータが消失してしまうことや、元の処理に復帰する際の操作性が悪くなるという上記の問題を解決するものではない。   There are Patent Literature 1 and Patent Literature 2 as technologies related to a portable terminal with a camera function. Patent Documents 1 and 2 give priority to either camera image processing or incoming call processing when there is interrupt control such as incoming call. In other words, Patent Documents 1 and 2 simply allow the communication function and the camera function to be used exclusively and selectively, and the data being transferred is lost when interrupt processing is executed during the data transfer. It does not solve the above problem that the operability when returning to the original processing is deteriorated.

カメラ付き携帯端末における割り込み制御に関連する技術として、特許文献3がある。特許文献3に開示される発明は、携帯電話端末から外部メモリへのデータを転送する際の制御方法であり、撮像画像に施す画像処理の処理内容を複数の処理単位に分割し、分割された処理ごとに画像処理を行い、分割処理が完了するごとに着信の有無を判断し、着信したと判断した場合に分割処理の実行中に通話処理を実行するものである。   As a technique related to interrupt control in a camera-equipped mobile terminal, there is Patent Literature 3. The invention disclosed in Patent Document 3 is a control method for transferring data from a mobile phone terminal to an external memory. The processing content of image processing performed on a captured image is divided into a plurality of processing units. Image processing is performed for each process, and the presence / absence of an incoming call is determined every time the division process is completed.

また、特許文献4に、装置レベルのマクロな構成における割り込み処理について開示されている。特許文献2に記載の発明は、送信側装置から受信側装置へのデータ転送中に送信側装置においてインターラプトが発生した場合における処理に関するものである。
特開2005−102241号公報 特開2005−333296号公報 特開2007−194808号公報 特開2006−163712号公報
Patent Document 4 discloses interrupt processing in a device level macro configuration. The invention described in Patent Document 2 relates to processing in the case where an interrupt occurs in the transmission side device during data transfer from the transmission side device to the reception side device.
Japanese Patent Laid-Open No. 2005-102241 JP 2005-333296 A JP 2007-194808 A JP 2006-163712 A

しかし、特許文献3に記載の発明では、分割処理の途中で着信があった場合には、処理中の分割処理が完了してから着信処理を行うため、上記処理方法Aと同様に優先すべき着信処理が後回しになってしまう(即時に着信処理に切り替わらない)ことに変わりはない。しかも、もともと携帯電話端末全体のCPUは外部メモリへの書き込み制御も一括して行っているため、特許文献3に記載の発明のように同CPU内で制御を分けるだけでは、着信処理が開始されるまでの時間を短縮できても割り込み処理中の消費電力の低減などの効果が得られない。さらに、全ての分割処理が完了する前に着信処理を行うこととなった場合には、処理中のデータを破棄し、通話が終了した後に処理をやり直すため、上記処理方法Cと同様に処理時間及び消費電力が増大してしまう。   However, in the invention described in Patent Document 3, if there is an incoming call in the middle of the division process, the incoming process is performed after the division process being completed is completed. The incoming call processing will be delayed (it will not switch to incoming call processing immediately). In addition, since the CPU of the entire mobile phone terminal originally performs batch writing control to the external memory, the incoming processing is started only by dividing the control within the CPU as in the invention described in Patent Document 3. Even if the time until the time is shortened, the effect of reducing power consumption during interrupt processing cannot be obtained. Further, if the incoming call processing is to be performed before all the division processing is completed, the processing time is the same as the processing method C described above, because the data being processed is discarded and the processing is performed again after the call is ended. In addition, power consumption increases.

また、カメラ付き携帯端末の内部でのカメラモジュールからCPUへのデータ転送においては、「送信側装置から受信側装置へのデータ転送中に送信側装置においてインターラプトが発生した場合」という状況には該当しないため、DSC−プリンタ間のデータ転送を想定した特許文献4に記載の発明をカメラ付き携帯端末に適用することは困難である。しかも、特許文献4に記載の発明は、割り込み処理の期間が時間として設定し、その期間のみデータ転送を一旦停止するため、時間の目処がつけられない場合(携帯電話端末における着信処理など)に適用することは難しい。しかも、割り込み期間中も全てのデバイスが起動状態となっているため、消費電力が増大してしまう。   In addition, in the data transfer from the camera module to the CPU inside the camera-equipped mobile terminal, the situation “when an interrupt occurs in the transmission side device during the data transfer from the transmission side device to the reception side device” Since this is not the case, it is difficult to apply the invention described in Patent Document 4 assuming data transfer between the DSC and the printer to a mobile terminal with a camera. In addition, the invention described in Patent Document 4 sets the interrupt processing period as time, and temporarily stops data transfer only during that period. Therefore, when time is not available (such as incoming call processing in a mobile phone terminal). It is difficult to apply. Moreover, since all the devices are in the activated state even during the interruption period, power consumption increases.

このように、メモリを備えたモジュールからCPUへのデータ転送処理中に割り込み処理が発生した場合に、割り込み処理を優先して実行するとともに、モジュールでの消費電力を抑えつつ、モジュールの処理時間の増大を抑えたデータ転送方法は実現されていなかった。   In this way, when interrupt processing occurs during data transfer processing from the module having the memory to the CPU, priority is given to the interrupt processing, and the module processing time can be reduced while suppressing power consumption in the module. A data transfer method that suppresses the increase has not been realized.

本発明は係る問題に鑑みてなされたものであり、メモリを備えたモジュールからCPUへのデータ転送処理中に割り込み処理が発生した場合に、割り込み処理を優先して実行するとともに、モジュールでの消費電力を抑えつつ、モジュールの処理時間の増大を抑えた情報処理装置及びデータ転送方法を提供することを目的とする。   The present invention has been made in view of such problems, and when an interrupt process occurs during a data transfer process from a module having a memory to a CPU, the interrupt process is preferentially executed and consumed by the module. It is an object of the present invention to provide an information processing apparatus and a data transfer method that suppress an increase in processing time of a module while suppressing power.

上記目的を達成するため、本発明は、第1の態様として、任意のデータ処理を行うデータ処理手段と、データ処理手段が処理したデータを蓄積するメモリと、データ処理手段を制御するとともに、メモリに蓄積されたデータが転送されるCPUとを有し、CPUは、メモリから転送されるデータの処理よりも優先度の高い割り込み処理が発生した場合には、メモリから自身へのデータの転送が済んだメモリアドレスを記録し、割り込み処理を実行中には、データ処理手段への電力供給量を低減させ、割り込み処理の終了後、記録されたメモリアドレスを参照して、メモリから自身へのデータの転送を再開させることを特徴とする情報処理装置を提供するものである。   In order to achieve the above object, the present invention provides, as a first aspect, a data processing means for performing arbitrary data processing, a memory for storing data processed by the data processing means, a data processing means, and a memory The CPU stores the data stored in the memory, and when the interrupt processing having a higher priority than the processing of the data transferred from the memory occurs, the CPU transfers the data from the memory to itself. When the completed memory address is recorded and the interrupt process is being executed, the amount of power supplied to the data processing means is reduced, and after the interrupt process is completed, the recorded memory address is referred to and the data from the memory to itself It is an object of the present invention to provide an information processing apparatus characterized by resuming the transfer of data.

また、上記目的を達成するため、本発明は、第2の態様として、任意のデータ処理を行うデータ処理手段と、データ処理手段が処理したデータを蓄積するメモリと、データ処理手段を制御するとともに、メモリに蓄積されたデータが転送されるCPUとを有する情報処理装置におけるデータ転送方法であって、メモリから転送されるデータの処理よりも優先度の高い割り込み処理がCPUに発生した場合には、メモリからCPUへのデータの転送が済んだメモリアドレスを記録し、割り込み処理を実行中には、データ処理手段への電力供給量を低減させ、割り込み処理の終了後、記録されたメモリアドレスを参照して、メモリからCPUへのデータの転送を再開させることを特徴とするデータ転送方法を提供するものである。   In order to achieve the above object, as a second aspect, the present invention controls a data processing means for performing arbitrary data processing, a memory for storing data processed by the data processing means, and a data processing means. A data transfer method in an information processing apparatus having a CPU to which data stored in a memory is transferred, and when interrupt processing having a higher priority than processing of data transferred from the memory occurs in the CPU The memory address at which data transfer from the memory to the CPU is completed is recorded, and during the interruption process, the power supply amount to the data processing means is reduced, and after the interruption process is completed, the recorded memory address is The data transfer method is characterized by restarting the transfer of data from the memory to the CPU.

本発明によれば、メモリを備えたモジュールからCPUへのデータ転送処理中に割り込み処理が発生した場合に、割り込み処理を優先して実行するとともに、モジュールでの消費電力を抑えつつ、モジュールの処理時間の増大を抑えた情報処理装置及びデータ転送方法を提供できる。   According to the present invention, when an interrupt process occurs during a data transfer process from a module having a memory to a CPU, the interrupt process is preferentially executed, and the module process is performed while reducing power consumption in the module. It is possible to provide an information processing apparatus and a data transfer method that suppress an increase in time.

〔第1の実施形態〕
本発明を好適に実施した第1の形態について説明する。
図1に、本実施形態に係る情報処理装置の機能構成を示す。
[First Embodiment]
A first embodiment in which the present invention is suitably implemented will be described.
FIG. 1 shows a functional configuration of the information processing apparatus according to the present embodiment.

データ処理部12は、メモリ13及び装置CPU(及び電源)18に接続され所定のデータ処理を行い、処理したデータをメモリ13に一旦格納したうえで、装置CPU18へ送信する。   The data processing unit 12 is connected to the memory 13 and the device CPU (and power source) 18 and performs predetermined data processing. The processed data is temporarily stored in the memory 13 and then transmitted to the device CPU 18.

メモリ13は、データ処理部12と接続されており、データ処理部12で処理されたデータを一旦格納する。   The memory 13 is connected to the data processing unit 12 and temporarily stores data processed by the data processing unit 12.

データライン14は、データの転送ラインである。   The data line 14 is a data transfer line.

電源線15、16は、デジタル電源線である。各電源線は、端末側の電源からデータ処理モジュールに電源を供給する。本実施形態においては処理データを保持したスタンバイ制御を行うために、電源線15、16はそれぞれデータ処理部用、メモリ用として分離されている。   The power supply lines 15 and 16 are digital power supply lines. Each power line supplies power to the data processing module from the power supply on the terminal side. In the present embodiment, the power supply lines 15 and 16 are separated for the data processing unit and the memory, respectively, in order to perform standby control holding the processing data.

装置CPU18は、アドレス記録部181、電力制御部182及び転送再開部183を有する。アドレス記録部181は、データ処理部12が実現する機能よりも優先される割り込み処理が処理データの転送中に発生した場合、データ転送が完了したところまでのメモリアドレスを記録する。電力制御部182は、割り込み処理中にデータ処理モジュールをスタンバイ状態に移行させ、データ処理部12における電力消費量を低減させる。転送再開部183は、割り込み処理が完了した際にデータ処理モジュールをスタンバイ状態から復帰させる。   The device CPU 18 includes an address recording unit 181, a power control unit 182, and a transfer resuming unit 183. The address recording unit 181 records a memory address up to the point where the data transfer is completed when an interrupt process that has priority over the function realized by the data processing unit 12 occurs during the transfer of the processing data. The power control unit 182 shifts the data processing module to the standby state during the interrupt process, and reduces the power consumption in the data processing unit 12. The transfer resuming unit 183 restores the data processing module from the standby state when the interrupt process is completed.

図2に、本実施形態に係るカメラ付き携帯端末のデータ転送及び割り込み処理の流れを示す。
上記の構成において、データ処理部12が実現する機能よりも優先される割り込み処理が処理データの転送中に発生した場合、データ転送が完了したところまでのメモリアドレスをアドレス記録部181が記録し、メモリアドレスの記録が完了したら電力制御部182は即時データ処理モジュールをスタンバイ状態へ移行させる。スタンバイ状態においてもメモリ13には電源線16を介して電源が供給されるため、処理データはスタンバイ状態でもメモリ13に保持されたままである。割り込み処理中にはデータ処理モジュールを消費電力の少ないスタンバイ状態へ移行させることで、情報処理装置全体としての消費電力を最小限に抑えられる。
割り込み処理が終了した時点で、転送再開部183がデータ処理モジュールをスタンバイ状態から復帰させる。データ処理モジュールがスタンバイ状態から復帰するとデータ処理部12は、割り込み処理前にデータ転送が完了していたメモリアドレスの続きからデータの転送を再開する。
FIG. 2 shows a flow of data transfer and interrupt processing of the camera-equipped mobile terminal according to the present embodiment.
In the above configuration, when an interrupt process that is prioritized over the function realized by the data processing unit 12 occurs during the transfer of the processing data, the address recording unit 181 records the memory address until the data transfer is completed, When the recording of the memory address is completed, the power control unit 182 shifts the immediate data processing module to the standby state. Even in the standby state, power is supplied to the memory 13 via the power supply line 16, so that the processing data is held in the memory 13 even in the standby state. By shifting the data processing module to a standby state with low power consumption during interrupt processing, the power consumption of the information processing apparatus as a whole can be minimized.
When the interrupt process is completed, the transfer resuming unit 183 returns the data processing module from the standby state. When the data processing module returns from the standby state, the data processing unit 12 resumes the data transfer from the continuation of the memory address where the data transfer has been completed before the interrupt process.

割り込み処理前に転送が完了したメモリアドレスを記録する制御を一般的なデータ転送処理に対して追加することとなるが、データ量が大きい処理データを割り込み処理の前後で継続して転送できるため、データ転送時間の短縮に有効である。さらに、データ転送が完了する前に割り込み処理を行っても、処理データは削除されることなく保持できる。   Control to record the memory address that has been transferred before interrupt processing will be added to general data transfer processing, but because large processing data can be transferred continuously before and after interrupt processing, Effective for shortening data transfer time. Furthermore, even if interrupt processing is performed before data transfer is completed, the processing data can be retained without being deleted.

すなわち、本実施形態に係る情報処理装置は、割り込み処理時には、データ転送中に発生した割り込み処理に対し、データ転送が完了したメモリアドレスを一旦記録した上で、処理データを保持したままデータ処理モジュールをスタンバイ状態へ移行する。そして、割り込み処理が完了した後、割り込み処理の直前に転送が完了したデータの続きからデータ転送処理を再開する。このような動作を行うことにより、割り込み処理を最優先して処理できるとともに、割り込み処理中にはデータ処理モジュールがスタンバイ状態に移行することによって消費電力を抑えることができ、データ転送処理にも無駄(重複)が無く、データ処理モジュールの待機状態への復帰までの時間も一般的な割り込み処理と比較して短くて済む。   That is, in the information processing apparatus according to the present embodiment, in the interrupt processing, the data processing module temporarily stores the memory address for which the data transfer has been completed for the interrupt processing generated during the data transfer, and retains the processing data To the standby state. Then, after the interrupt process is completed, the data transfer process is resumed from the continuation of the data that has been transferred just before the interrupt process. By performing such operations, interrupt processing can be processed with the highest priority, and power consumption can be reduced by shifting the data processing module to the standby state during interrupt processing, which is also wasteful for data transfer processing. There is no (overlapping), and the time required for the data processing module to return to the standby state can be shortened compared to general interrupt processing.

このように、本実施形態に係る情報処理装置は、ハードウェア構成自体はデータ処理モジュール及びCPUという一般的なものであり、ソフトウェア処理による制御方法を変更するだけで、割り込み処理を含めたデータ転送を最適化できる。これにより、処理データを保持しつつ、転送処理時間を短縮し、快適な操作性をユーザに提供できる。
しかも、制御方法の変更として新たに必要となるのは、割り込み処理前に転送が完了したメモリアドレスの記録程度であり、それ以外は一般的な制御をつなぎ合わせる程度で実現できる。
割り込み処理及びデータ転送処理を最適化することにより、処理時間の短縮のみならず、消費電力の増加も防ぐことができる。
As described above, the information processing apparatus according to the present embodiment has a general hardware configuration such as a data processing module and a CPU. Data transfer including interrupt processing can be performed only by changing a control method by software processing. Can be optimized. Thereby, it is possible to shorten the transfer processing time while retaining the processing data and to provide a comfortable operability to the user.
Moreover, what is newly required as a change in the control method is the recording of the memory address for which the transfer has been completed before the interrupt processing, and other than that, it can be realized by connecting general controls.
By optimizing the interrupt processing and data transfer processing, not only the processing time can be shortened but also the increase in power consumption can be prevented.

〔第2の実施形態〕
本発明を好適に実施した第2の形態について説明する。
図3に、本実施形態に係るカメラ付き携帯端末の機能構成を示す。
[Second Embodiment]
A second embodiment in which the present invention is suitably implemented will be described.
FIG. 3 shows a functional configuration of the camera-equipped mobile terminal according to the present embodiment.

センサ1はCMOS(Complementary Metal-Oxide Semiconductor)やCCD(Charge Coupled Device)などの固体撮像素子である。センサ1はカメラDSP2に接続され、カメラDSP2から駆動制御され、センサ1が生成した撮像データはカメラDSP2によって処理される。   The sensor 1 is a solid-state imaging device such as a complementary metal-oxide semiconductor (CMOS) or a charge coupled device (CCD). The sensor 1 is connected to and controlled by the camera DSP2, and the imaging data generated by the sensor 1 is processed by the camera DSP2.

カメラDSP2は、カメラの画像処理を行い、センサ1及びメモリ3、装置CPU(及び電源)8に接続され、センサ1の制御及びセンサ1から画像データを取得し、画像処理したデータをメモリ3に一旦格納したうえで、装置CPU8へ送信する。   The camera DSP 2 performs image processing of the camera, is connected to the sensor 1 and the memory 3, and the device CPU (and power source) 8, acquires the image data from the control of the sensor 1 and the sensor 1, and the image processed data is stored in the memory 3. Once stored, it is transmitted to the device CPU 8.

メモリ3は、カメラDSP2と接続されており、カメラDSP2で画像処理された画像データを一旦格納する。メモリ3は、カメラによって容量が異なり、携帯電話向けのカメラの多くは一画面分の画像データを格納できるだけの容量を備えていないが、本実施形態においては一画面分の画像データを一旦格納できるだけの容量を備えているものとする。   The memory 3 is connected to the camera DSP 2 and temporarily stores image data processed by the camera DSP 2. The capacity of the memory 3 varies depending on the camera, and many of the cameras for mobile phones do not have a capacity capable of storing image data for one screen, but in this embodiment, image data for one screen can only be temporarily stored. It is assumed that the capacity is provided.

データライン4は、画像データの転送ラインである。   The data line 4 is a transfer line for image data.

電源線5、6は、デジタル電源線であり、電源線7は、アナログ電源線である。各電源線は、端末側の電源からカメラに電源を供給する。携帯端末向けのカメラの多くは図4の電源線9のように、DSP2用とメモリ3用とで電源線が共通化されているが、本実施形態においては撮影データを保持したスタンバイ制御を行うために、電源線5、6はそれぞれDSP用、メモリ用として分離されている。   The power supply lines 5 and 6 are digital power supply lines, and the power supply line 7 is an analog power supply line. Each power line supplies power to the camera from the power source on the terminal side. Many of the cameras for portable terminals use a common power line for the DSP 2 and the memory 3 as in the power line 9 of FIG. 4, but in this embodiment, standby control is performed with image data stored. Therefore, the power supply lines 5 and 6 are separated for DSP and memory, respectively.

装置CPU8は、アドレス記録部81、電力制御部82及び転送再開部83を有する。アドレス記録部81は、カメラ機能よりも優先される割り込み処理が撮影データの転送中に発生した場合、データ転送が完了したところまでのメモリアドレスを記録する。電力制御部82は、割り込み処理中にカメラをスタンバイ状態に移行させ、カメラDSP2における電力消費量を低減させる。転送再開部83は、割り込み処理が完了した際にカメラをスタンバイ状態から復帰させる。   The device CPU 8 includes an address recording unit 81, a power control unit 82, and a transfer resuming unit 83. The address recording unit 81 records a memory address up to the point where the data transfer is completed when an interrupt process that has priority over the camera function occurs during the transfer of the photographing data. The power control unit 82 shifts the camera to the standby state during the interrupt process, and reduces the power consumption in the camera DSP 2. The transfer restarting unit 83 returns the camera from the standby state when the interrupt process is completed.

図5に、本実施形態に係るカメラ付き携帯端末のデータ転送及び割り込み処理の流れを示す。
上記の構成において、カメラ機能よりも優先される割り込み処理(着信など)が撮影データの転送処理中に発生した場合、データ転送が完了したところまでのメモリアドレスをアドレス記録部81が記録し、メモリアドレスの記録が完了したら電力制御部82は即時カメラをスタンバイ状態へ移行させる。スタンバイ状態においてもメモリ3には電源線6を介して電源が供給されるため、撮影データはスタンバイ状態でもメモリ3に保持されたままである。割り込み処理中にはカメラを消費電力の少ないスタンバイ状態へ移行させることで、携帯端末全体としての消費電力を最小限に抑えられる。
割り込み処理が終了した時点で、転送再開部83はカメラをスタンバイ状態から復帰させる。カメラがスタンバイ状態から復帰するとカメラDSP2は、割り込み処理前にデータ転送が完了していたメモリアドレスの続きからデータの転送を再開する。
FIG. 5 shows a flow of data transfer and interrupt processing of the camera-equipped mobile terminal according to the present embodiment.
In the above configuration, when an interrupt process (such as an incoming call) that has priority over the camera function occurs during the transfer process of the photographic data, the address recording unit 81 records the memory address until the data transfer is completed, When the address recording is completed, the power control unit 82 immediately shifts the camera to the standby state. Even in the standby state, power is supplied to the memory 3 via the power supply line 6, so that the photographing data is held in the memory 3 even in the standby state. By shifting the camera to a standby state with low power consumption during interrupt processing, the power consumption of the entire portable terminal can be minimized.
When the interrupt process is completed, the transfer resuming unit 83 returns the camera from the standby state. When the camera returns from the standby state, the camera DSP 2 resumes the data transfer from the continuation of the memory address where the data transfer has been completed before the interrupt process.

割り込み処理前に転送が完了したメモリアドレスを記録する制御を一般的なデータ転送処理に対して追加することとなるが、データ量が大きい撮影データを割り込み処理の前後で継続して転送できるため、データ転送時間の短縮に有効である。さらに、データ転送が完了する前に割り込み処理を行っても、撮影した画像データが削除されることなく保持できる。   Control to record the memory address that has been transferred before the interrupt process will be added to the general data transfer process, but because the shooting data with a large amount of data can be transferred continuously before and after the interrupt process, Effective for shortening data transfer time. Further, even if an interruption process is performed before the data transfer is completed, the captured image data can be retained without being deleted.

すなわち、本実施形態に係るカメラ付き携帯端末は、割り込み処理時には、データ転送処理中に発生した割り込み処理に対し、データ転送が完了したメモリアドレスを一旦記録した上で、撮影データを保持したままスタンバイ状態へ移行する。そして、割り込み処理が完了した後、割り込み処理の直前に転送が完了したデータの続きからデータ転送処理を再開する。このような動作を行うことにより、割り込み処理を最優先して処理できる(割り込み処理へ即時に切り替えられる)とともに、割り込み処理中にはカメラがスタンバイ状態に移行することによって消費電力を抑えることができ、データ転送処理にも無駄(重複)が無く、カメラ(プレビュー)復帰までの時間も一般的な割り込み処理(A〜Cの処理)と比較して短くて済む。   That is, the camera-equipped mobile terminal according to the present embodiment, during the interrupt process, temporarily records the memory address at which the data transfer is completed with respect to the interrupt process that occurred during the data transfer process, and then holds the captured data while Transition to the state. Then, after the interrupt process is completed, the data transfer process is resumed from the continuation of the data that has been transferred just before the interrupt process. By performing such operations, interrupt processing can be given the highest priority (switching to interrupt processing immediately), and power consumption can be reduced by shifting the camera to the standby state during interrupt processing. Also, there is no waste (duplication) in the data transfer process, and the time to return to the camera (preview) can be shortened compared to the general interrupt process (A to C processes).

このように、本実施形態に係るカメラ付き携帯端末は、ハードウェア構成自体はカメラ及び携帯端末CPUという一般的なものであり、ソフトウェア処理による制御方法を変更するだけで、割り込み処理を含めたデータ転送を最適化できる。これにより、撮影データを保持しつつ、処理時間を短縮し、快適な操作性をユーザに提供できる。
しかも、制御方法の変更として新たに必要となるのは、割り込み処理前に転送が完了したメモリアドレスの記録程度であり、それ以外は一般的な制御をつなぎ合わせる程度で実現できる。
割り込み処理及びデータ転送処理を最適化することにより、処理時間の短縮のみならず、消費電力の増加も防ぐことができる。
As described above, the camera-equipped portable terminal according to the present embodiment has a general hardware configuration of the camera and the portable terminal CPU, and data including interrupt processing is simply changed by a control method by software processing. Transfer can be optimized. Thereby, it is possible to shorten the processing time and to provide a user with comfortable operability while holding the shooting data.
Moreover, what is newly required as a change in the control method is the recording of the memory address for which the transfer has been completed before the interrupt processing, and other than that, it can be realized by connecting general controls.
By optimizing the interrupt processing and data transfer processing, not only the processing time can be shortened but also the increase in power consumption can be prevented.

なお、上記実施形態は本発明の好適な実施の一例であり、本発明はこれに限定されることはない。
例えば、上記実施形態においては、カメラモジュールからCPUへのデータ転送時に割り込み処理が発生する場合を例として説明したが、必ずしもカメラである必要はなく、メモリを備えたモジュールであればよい。
また、上記実施形態においては、センサ1、DSP2、メモリ3などをカメラとしてまとめているが、一体のモジュールである必要は無く、DSPとメモリなどは端末側の基板に搭載されていても良い。
このように本発明は様々な変形が可能である。
In addition, the said embodiment is an example of suitable implementation of this invention, and this invention is not limited to this.
For example, in the above-described embodiment, the case where an interrupt process occurs when data is transferred from the camera module to the CPU has been described as an example. However, the camera is not necessarily a camera, and may be a module including a memory.
In the above-described embodiment, the sensor 1, the DSP 2, the memory 3, and the like are collected as a camera. However, it is not necessary to be an integral module, and the DSP and the memory may be mounted on a terminal-side board.
Thus, the present invention can be variously modified.

本発明を好適に実施した第1の実施形態に係る情報処理装置の構成を示す図である。It is a figure which shows the structure of the information processing apparatus which concerns on 1st Embodiment which implemented this invention suitably. 第1の実施形態に係る情報処理装置のデータ転送及び割り込み処理の手順を示す図である。It is a figure which shows the procedure of the data transfer of the information processing apparatus which concerns on 1st Embodiment, and an interruption process. 本発明を好適に実施した第2の実施形態に係るカメラ付き携帯端末の構成を示す図である。It is a figure which shows the structure of the portable terminal with a camera which concerns on 2nd Embodiment which implemented this invention suitably. カメラのDSPとメモリとで電源線が共通化されたカメラ付き携帯端末の構成を示す図である。It is a figure which shows the structure of the portable terminal with a camera by which the power supply line was made common by DSP and memory of a camera. 第2の実施形態に係るカメラ付き携帯端末のデータ転送及び割り込み処理の手順を示す図である。It is a figure which shows the procedure of the data transfer of the portable terminal with a camera which concerns on 2nd Embodiment, and an interruption process. データ転送及び割り込み処理の一般的な手順を示す図である。It is a figure which shows the general procedure of a data transfer and an interruption process.

符号の説明Explanation of symbols

1 センサ
2 DSP
3、13 メモリ
4、14 データライン
5、6、9、15、16 電源線(デジタル)
7 電源線(アナログ)
8、18 CPU
81、181 アドレス記録部
82、182 電力制御部
83、183 転送再開部
1 Sensor 2 DSP
3, 13 Memory 4, 14 Data line 5, 6, 9, 15, 16 Power line (digital)
7 Power line (analog)
8, 18 CPU
81, 181 Address recording unit 82, 182 Power control unit 83, 183 Transfer resumption unit

Claims (7)

任意のデータ処理を行うデータ処理手段と、
前記データ処理手段が処理したデータを蓄積するメモリと、
前記データ処理手段を制御するとともに、前記メモリに蓄積されたデータが転送されるCPUとを有し、
前記CPUは、
前記メモリから転送されるデータの処理よりも優先度の高い割り込み処理が発生した場合には、前記メモリから自身へのデータの転送が済んだメモリアドレスを記録し、
前記割り込み処理を実行中には、前記データ処理手段への電力供給量を低減させ、
前記割り込み処理の終了後、記録されたメモリアドレスを参照して、前記メモリから自身へのデータの転送を再開させることを特徴とする情報処理装置。
Data processing means for performing arbitrary data processing;
A memory for storing data processed by the data processing means;
A CPU for controlling the data processing means and transferring data stored in the memory;
The CPU
When an interrupt process having a higher priority than the process of data transferred from the memory occurs, record the memory address where the data transfer from the memory to itself is completed,
While executing the interrupt processing, reduce the amount of power supply to the data processing means,
An information processing apparatus that resumes data transfer from the memory to itself by referring to a recorded memory address after completion of the interrupt processing.
前記データ処理手段と、前記メモリとが一体のモジュールとして構成され、
前記データ処理手段と前記メモリとには独立して電力が供給されることを特徴とする請求項1記載の情報処理装置。
The data processing means and the memory are configured as an integral module,
The information processing apparatus according to claim 1, wherein power is supplied to the data processing unit and the memory independently.
前記メモリの容量は、前記データ処理手段が一度に処理するデータ量よりも大きいことを特徴とする請求項1又は2記載の情報処理装置。   3. The information processing apparatus according to claim 1, wherein the memory has a capacity larger than a data amount processed by the data processing unit at a time. 前記データ処理手段は、
撮像データを生成する撮像手段と、該撮像手段を制御する制御手段とからなることを特徴とする請求項1から3のいずれか1項記載の情報処理装置。
The data processing means includes
The information processing apparatus according to claim 1, comprising: an imaging unit that generates imaging data; and a control unit that controls the imaging unit.
前記撮像手段は固体撮像素子であり、前記制御手段はデジタルシグナルプロセッサであることを特徴とする請求項4記載の情報処理装置。   The information processing apparatus according to claim 4, wherein the imaging unit is a solid-state imaging device, and the control unit is a digital signal processor. 可搬性を備えた携帯端末であることを特徴とする請求項1から5のいずれか1項記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the information processing apparatus is a portable terminal having portability. 任意のデータ処理を行うデータ処理手段と、
前記データ処理手段が処理したデータを蓄積するメモリと、
前記データ処理手段を制御するとともに、前記メモリに蓄積されたデータが転送されるCPUとを有する情報処理装置におけるデータ転送方法であって、
前記メモリから転送されるデータの処理よりも優先度の高い割り込み処理が前記CPUに発生した場合には、前記メモリから前記CPUへのデータの転送が済んだメモリアドレスを記録し、
前記割り込み処理を実行中には、前記データ処理手段への電力供給量を低減させ、
前記割り込み処理の終了後、記録されたメモリアドレスを参照して、前記メモリから前記CPUへのデータの転送を再開させることを特徴とするデータ転送方法。
Data processing means for performing arbitrary data processing;
A memory for storing data processed by the data processing means;
A data transfer method in an information processing apparatus that controls the data processing means and includes a CPU to which data stored in the memory is transferred,
When an interrupt process having a higher priority than the process of data transferred from the memory occurs in the CPU, the memory address at which the data transfer from the memory to the CPU is completed is recorded,
While executing the interrupt processing, reduce the amount of power supply to the data processing means,
A data transfer method, comprising: resuming data transfer from the memory to the CPU with reference to a recorded memory address after completion of the interrupt process.
JP2007280628A 2007-10-29 2007-10-29 Information processing apparatus and data transfer method Expired - Fee Related JP4877195B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007280628A JP4877195B2 (en) 2007-10-29 2007-10-29 Information processing apparatus and data transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007280628A JP4877195B2 (en) 2007-10-29 2007-10-29 Information processing apparatus and data transfer method

Publications (2)

Publication Number Publication Date
JP2009111617A JP2009111617A (en) 2009-05-21
JP4877195B2 true JP4877195B2 (en) 2012-02-15

Family

ID=40779652

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007280628A Expired - Fee Related JP4877195B2 (en) 2007-10-29 2007-10-29 Information processing apparatus and data transfer method

Country Status (1)

Country Link
JP (1) JP4877195B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003132683A (en) * 2001-10-23 2003-05-09 Hitachi Ltd Semiconductor device
JP4194328B2 (en) * 2002-09-24 2008-12-10 株式会社東芝 Mobile phone
JP2004220468A (en) * 2003-01-17 2004-08-05 Canon Inc Personal digital assistance, printer and information print system

Also Published As

Publication number Publication date
JP2009111617A (en) 2009-05-21

Similar Documents

Publication Publication Date Title
KR101245485B1 (en) Methods, computer program products and apparatus providing improved image capturing
KR101141854B1 (en) Method and apparatus for driving camera
JP6308199B2 (en) Imaging apparatus, communication control method, and program
WO1999060786A1 (en) Method and apparatus to control the behavior of a digital camera by detecting connectivity to a universal serial bus
US8370616B2 (en) Imaging apparatus and start-up method of imaging apparatus
JP2007214898A (en) Radio communication terminal provided with power-saving function
US9113055B2 (en) Image capturing apparatus automatically capturing sub image data
JP2007097125A (en) Digital camera, operating frequency setting program and image processing apparatus
JP5411623B2 (en) Image processing apparatus and method
KR20070022318A (en) Mobile telephone
JP4877195B2 (en) Information processing apparatus and data transfer method
US8977264B2 (en) Apparatus and method for preventing performance degradation of call service in a portable terminal
JP2017199977A (en) Imaging apparatus and control method, program and system thereof
JP2002094926A (en) Electronic image pickup device and storage medium
KR100641010B1 (en) Apparatus and method for preventing dual port memory full in mobile communication terminal with multi processors
US11902663B2 (en) Electronic devices and program
JP2014057145A (en) Connection device and program
JP4773533B2 (en) System and method enabling high-speed extraction of interleaved video data
JP2006025347A (en) Mobile terminal
JP6673389B2 (en) Imaging device, communication control method, and program
JP2007133774A (en) Printer, printing method and computer program
JP2005191991A (en) Information processor
JP2005327206A (en) Mobile terminal and data recording method
JP4804317B2 (en) Electronics
JP6790155B2 (en) Communication equipment and its control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100916

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20110919

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111027

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4877195

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141209

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees