JP4230528B1 - Display processing device, mobile phone provided with display processing device, display processing method, control program, and recording medium - Google Patents
Display processing device, mobile phone provided with display processing device, display processing method, control program, and recording medium Download PDFInfo
- Publication number
- JP4230528B1 JP4230528B1 JP2008039172A JP2008039172A JP4230528B1 JP 4230528 B1 JP4230528 B1 JP 4230528B1 JP 2008039172 A JP2008039172 A JP 2008039172A JP 2008039172 A JP2008039172 A JP 2008039172A JP 4230528 B1 JP4230528 B1 JP 4230528B1
- Authority
- JP
- Japan
- Prior art keywords
- unit
- display
- takeover information
- display processing
- script
- 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
Links
Images
Landscapes
- Digital Computer Display Output (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
【課題】複数の描画装置間の描画処理の引継ぎを円滑に行い、表示切替え時間を短縮する。
【解決手段】本発明の表示処理装置1は、オブジェクトを第1の表示態様にて表示するように、当該オブジェクトを描画する3D描画部7と、オブジェクトを第2の表示態様にて表示するように、当該オブジェクトを描画する2D描画部8と、3D描画部7または2D描画部8がオブジェクトに対して適用した処理内容を、各オブジェクトに関連付けて引継情報として記憶する引継情報記憶部30とを備え、各描画部は、表示部に出力される描画結果が、他の描画部によるものから自身によるものに切替わる際、オブジェクトに対して、該オブジェクトに関連付けられている引継情報が示す処理内容を適用して、当該オブジェクトを描画することを特徴としている。
【選択図】図1To smoothly take over a drawing process among a plurality of drawing apparatuses, and to shorten a display switching time.
A display processing apparatus 1 of the present invention displays a 3D drawing unit 7 for drawing the object and a second display mode so as to display the object in a first display mode. In addition, a 2D drawing unit 8 for drawing the object and a takeover information storage unit 30 for storing the processing contents applied to the object by the 3D drawing unit 7 or 2D drawing unit 8 in association with each object as takeover information. Each drawing unit, when the drawing result output to the display unit is switched from the one by another drawing unit to the one by itself, the processing contents indicated by the takeover information associated with the object Is applied to draw the object.
[Selection] Figure 1
Description
本発明は、複数の描画装置を備える表示処理装置、表示処理装置を備えた携帯電話機、表示処理方法、制御プログラム、および、記録媒体に関するものである。 The present invention relates to a display processing device including a plurality of drawing devices, a mobile phone including the display processing device, a display processing method, a control program, and a recording medium.
従来一般に、図形、ボタン、アイコン、または、テキストボックスなどのユーザインターフェース(UI)部品(オブジェクト)を表示部に表示することが行われている。このようなオブジェクトを表示する表示処理装置は描画装置を備えている。描画装置は、オブジェクトの属性(サイズ、形状、色、テクスチャなど)を記述するスクリプトを解析して、オブジェクトを描画し、表示部に表示するための画面データとしてフレームバッファに出力する。 Conventionally, a user interface (UI) component (object) such as a figure, a button, an icon, or a text box is generally displayed on a display unit. A display processing device that displays such an object includes a drawing device. The drawing apparatus analyzes a script describing the attributes (size, shape, color, texture, etc.) of the object, draws the object, and outputs it to the frame buffer as screen data for display on the display unit.
表示処理装置は、複数の描画装置を備えることも可能である。複数の描画装置による描画結果を表示部に出力する表示処理装置では、1つの描画装置の描画処理によって表示部に表示している内容(オブジェクト)を別の描画装置の描画処理によって表示することが可能である。 The display processing device can also include a plurality of drawing devices. In a display processing device that outputs drawing results from a plurality of drawing devices to the display unit, the content (object) displayed on the display unit by the drawing processing of one drawing device can be displayed by the drawing processing of another drawing device. Is possible.
例えば、それぞれ種類の異なる解析エンジンを搭載した描画装置を複数備えていれば、同じオブジェクトでも視覚効果を異ならせて表示部に表示することができる。より詳細には、UI部品であるボタンを、2D描画装置の描画によって、2次元の長方形の図形で表示するとともに、3D描画装置の描画によって、仮想的に3次元の直方体に見える図形で表示することなどが可能である。
複数の描画装置を備える表示処理装置において、ハードウェア資源の制約から、各描画装置による複数の描画結果を選択的に表示部に出力しなければならない場合がある。すなわち、オブジェクトを描画する描画装置を切替える必要がある。 In a display processing device including a plurality of drawing devices, there are cases where a plurality of drawing results from each drawing device must be selectively output to a display unit due to hardware resource restrictions. That is, it is necessary to switch the drawing apparatus that draws the object.
描画装置の切替えが発生する際、先の描画装置による表示内容やオブジェクトの状態を、切替え後の描画装置が引き継ぐために、表示処理装置は、オブジェクトに対して行われた操作や処理の履歴情報を蓄積していなければならない。 When the switching of the drawing device occurs, the display processing device takes the history information of the operations and processes performed on the object so that the drawing device after the switching takes over the display contents and the state of the object by the previous drawing device. Must be accumulated.
例えば、特許文献1(図3)に記載されているように、履歴情報は、操作や処理が行われる度に蓄積されていくものである。 For example, as described in Patent Document 1 (FIG. 3), history information is accumulated every time an operation or process is performed.
しかしながら、特許文献1の技術では、表示処理装置が複数の描画装置を備えることが考慮されていないため、上記履歴情報を複数の描画装置で共有することもできず、したがって、表示内容の切替えを円滑に行うことができない。
However, in the technique of
特許文献2に記載のシステムのように、コンテンツを提供するサーバ側が、端末(表示処理装置)の能力に応じて、3Dコンテンツ、または、3Dコンテンツを2Dコンテンツにレンダリングしたもののいずれかを各端末に配信することが行われている。しかしながら、特許文献2に記載のシステムでは、たとえ端末が2Dコンテンツおよび3Dコンテンツの両方を表示可能な場合であっても、コンテンツを提供するサーバ側でレンダリングの切替えを行っているので、サーバと端末との間で通信処理が必要となり、端末における表示の切替えを円滑に実施することは困難である。
As in the system described in
なお、上述した問題は、2D描画装置/3D描画装置を切替える場合に限定されず、複数の描画装置を備え、各描画装置の描画結果を選択的に表示部に出力する表示処理装置において同様に生じる問題である。 Note that the above-described problem is not limited to switching between the 2D drawing apparatus and the 3D drawing apparatus, and similarly in a display processing apparatus that includes a plurality of drawing apparatuses and selectively outputs the drawing results of each drawing apparatus to the display unit. It is a problem that arises.
本発明は、上記の問題点に鑑みてなされたものであり、その目的は、複数の描画装置間の描画処理の引継ぎを円滑に行い、表示切替え時間を短縮する表示処理装置、表示処理装置を備えた携帯電話機、表示処理方法、制御プログラム、および、記録媒体を実現することにある。 The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a display processing device and a display processing device that can smoothly take over drawing processing among a plurality of drawing devices and reduce display switching time. To provide a mobile phone, a display processing method, a control program, and a recording medium.
本発明の表示処理装置は、上記課題を解決するために、複数の描画手段による描画結果を選択的に表示部に出力する表示処理装置において、表示対象のオブジェクトを第1の表示態様にて表示するように、当該オブジェクトを描画する第1の描画手段と、上記オブジェクトを第2の表示態様にて表示するように、当該オブジェクトを描画する第2の描画手段と、上記第1の描画手段または上記第2の描画手段がオブジェクトに対して適用した処理内容を、各オブジェクトに関連付けて引継情報として記憶する引継情報記憶部とを備え、上記各描画手段は、上記表示部に出力される描画結果が、他の描画手段によるものから自手段によるものに切替わる際、上記オブジェクトに対して、上記引継情報記憶部において当該オブジェクトに関連付けられている引継情報が示す処理内容を適用して、当該オブジェクトを描画することを特徴としている。 In order to solve the above problems, a display processing apparatus according to the present invention displays an object to be displayed in a first display mode in a display processing apparatus that selectively outputs drawing results by a plurality of drawing means to a display unit. The first drawing means for drawing the object, the second drawing means for drawing the object so as to display the object in the second display mode, and the first drawing means or A takeover information storage unit that stores processing contents applied to the object by the second drawing unit in association with each object as takeover information, and each drawing unit outputs a drawing result output to the display unit However, when switching from other drawing means to own means, the object is associated with the object in the takeover information storage unit. By applying the processing contents shown are takeover information that is, is characterized by drawing the object.
上記構成によれば、上記表示処理装置は、複数の描画手段、すなわち、少なくとも、上記オブジェクトを第1の表示態様にて表示するための第1の描画手段と、上記オブジェクトを第1の表示態様にて表示するための第2の描画手段とを備えており、第1の描画手段および第2の描画手段のいずれか一方が描画した描画結果が上記表示部に表示されるようになっている。 According to the above configuration, the display processing device includes a plurality of drawing means, that is, at least the first drawing means for displaying the object in the first display mode, and the object in the first display mode. And a second drawing means for displaying the image, and a drawing result drawn by one of the first drawing means and the second drawing means is displayed on the display unit. .
そして、いずれかの描画手段が描画処理中に、上記オブジェクトに対して適用した処理内容が、オブジェクトごとに引継情報として引継情報記憶部に記憶されている。 Then, the processing content applied to the object during the drawing process by any of the drawing means is stored in the takeover information storage unit as takeover information for each object.
ここで、表示部に描画結果を出力する描画手段が切替わったときには、具体的には、第1の描画手段が描画していたのが、第2の描画手段に切替わったり、その逆に切替わったりしたときには、切替わった後の描画手段は、描画対象となるオブジェクトに関連付けられている引継情報を参照して、当該オブジェクトに対して適用されている処理内容を同様に反映させた上で、当該オブジェクトを描画する。 Here, when the drawing means for outputting the drawing result to the display unit is switched, specifically, the first drawing means is switched to the second drawing means or vice versa. When switching, the drawing means after switching refers to the takeover information associated with the object to be drawn, and similarly reflects the processing content applied to the object. Then the object is drawn.
これにより、異なる描画手段間で切替が発生したとしても、切替前と切替後とで、表示内容はそのまま変更することなく円滑に引き継いで、表示態様のみを即座に切替えることが可能となる。すなわち、複数の描画装置間の描画処理の引継ぎを円滑に行い、表示切替え時間を短縮することが可能となる。 As a result, even if switching between different drawing means occurs, it is possible to smoothly switch over only the display mode immediately without changing the display contents before and after switching. That is, it is possible to smoothly take over the drawing process among a plurality of drawing apparatuses, and to shorten the display switching time.
さらに、表示処理装置は、自装置における所定のイベントの発生に応じて、上記表示部に描画結果を出力する描画手段を切替える切替制御手段を備えていてもよい。 Furthermore, the display processing device may include a switching control unit that switches a drawing unit that outputs a drawing result to the display unit in response to occurrence of a predetermined event in the own device.
上記構成によれば、表示処理装置に何らかのイベントが発生したとき、当該イベントが描画手段の切替えを要するイベントであった場合に、上記切替制御手段が、各描画手段を制御して、描画手段の切替えを行う。例えば、イベントが発生するまで描画を行っていた描画手段の描画処理を終了し、別の描画手段による描画処理を開始する。 According to the above configuration, when an event occurs in the display processing apparatus, if the event is an event that requires switching of the drawing unit, the switching control unit controls each drawing unit to control the drawing unit. Switch over. For example, the drawing process of the drawing means that has been drawing until the event occurs is terminated, and the drawing process by another drawing means is started.
これにより、表示処理装置の状況に応じて、適切な描画手段を選択し、切替えることが可能となる。この切替えも、引継情報によって円滑に実行される。 This makes it possible to select and switch an appropriate drawing unit according to the status of the display processing apparatus. This switching is also smoothly executed by the takeover information.
さらに、上記第1の描画手段は、オブジェクトを3次元で規定する構造化データに基づいて、オブジェクトを3次元で描画する3D描画手段であり、上記第2の描画手段は、オブジェクトを2次元で規定する構造化データに基づいて、オブジェクトを2次元で描画する2D描画手段であって、上記切替制御手段は、自装置が備えるアクセラレータを3D描画に利用できない状況が発生したときに、上記表示部に描画結果を出力する描画手段を、上記3D描画手段から上記2D描画手段に切替えてもよい。 Further, the first drawing means is a 3D drawing means for drawing the object in three dimensions based on the structured data defining the object in three dimensions, and the second drawing means is a two-dimensional drawing of the object. 2D rendering means for rendering an object in two dimensions based on the structured data to be defined, wherein the switching control means is configured to display the display unit when a situation occurs in which an accelerator included in the apparatus cannot be used for 3D rendering. The drawing means for outputting the drawing result may be switched from the 3D drawing means to the 2D drawing means.
上記構成によれば、表示処理装置の切替制御手段は、自装置において発生するイベントに応じて、オブジェクトを3次元表示するか2次元表示するかを切替えることができる。 According to the above configuration, the switching control means of the display processing device can switch whether the object is displayed three-dimensionally or two-dimensionally according to an event that occurs in the own device.
より具体的には、上記イベントとは、表示処理装置が備えるアクセラレータが、3D描画に利用できない状況に陥ることであり、上記切替制御手段は、上記イベントが発生したときに、上記3D描画手段が描画処理中の場合には、上記3D描画手段を上記2D描画手段に切替える。 More specifically, the event means that the accelerator included in the display processing apparatus falls into a situation where it cannot be used for 3D drawing. The switching control means is configured such that when the event occurs, the 3D drawing means When the drawing process is in progress, the 3D drawing unit is switched to the 2D drawing unit.
これにより、表示処理装置の状況に応じて、適切な描画手段を選択し、切替えることが可能となる。この切替えも、引継情報によって円滑に実行される。 This makes it possible to select and switch an appropriate drawing unit according to the status of the display processing apparatus. This switching is also smoothly executed by the takeover information.
上記切替制御手段は、自装置が備える音声再生手段が、音声を再生する際に上記アクセラレータを利用するときに、上記表示部に描画結果を出力する描画手段を、上記3D描画手段から上記2D描画手段に切替えてもよい。 The switching control means changes the drawing means for outputting a drawing result to the display unit from the 3D drawing means to the 2D drawing when the sound reproducing means provided in the own apparatus uses the accelerator when reproducing the sound. You may switch to a means.
これにより、上記音声再生手段が、音声を再生する際に上記アクセラレータを利用することで、該アクセラレータを3D描画に利用できない状況に陥った場合は、2D描画手段に切替えてオブジェクトの描画を行う。よって、3D描画手段による3D描画が、音声再生処理と重なって滞ることを回避することが可能となる。 As a result, when the sound reproduction means uses the accelerator when reproducing sound and the accelerator cannot be used for 3D drawing, the object is drawn by switching to the 2D drawing means. Therefore, it is possible to avoid the 3D drawing by the 3D drawing means from being overlapped with the audio reproduction process.
さらに、上記切替制御手段は、上記アクセラレータが3D描画に利用できない状況から利用できる状況に復帰したときに、上記表示部に描画結果を出力する描画手段を、上記2D描画手段から上記3D描画手段に切替えてもよい。 Further, the switching control means changes the drawing means for outputting a drawing result to the display unit from the 2D drawing means to the 3D drawing means when the accelerator is returned from a situation where it cannot be used for 3D drawing. It may be switched.
これにより、表示処理装置の状況に応じて、適切な描画手段を選択し、切替えることが可能となる。この切替えも、引継情報によって円滑に実行される。 This makes it possible to select and switch an appropriate drawing unit according to the status of the display processing apparatus. This switching is also smoothly executed by the takeover information.
上記引継情報記憶部は、上記各描画手段の切替えの直前に、切替わる前の描画手段が適用した1の処理内容を、上記オブジェクトに関連付けて記憶していることが好ましい。 It is preferable that the takeover information storage unit stores, in association with the object, one processing content applied by the drawing means before switching immediately before the switching of each drawing means.
上記構成によれば、引継情報記憶部の引継情報は、1つのオブジェクトに対して、最後に施された1つの処理内容のみを含んでいる。 According to the above configuration, the takeover information in the takeover information storage unit includes only one processing content that is applied last to one object.
これにより、引継情報のデータ量を必要最小限に抑えることができる。 Thereby, the data amount of takeover information can be minimized.
したがって、各描画手段が切替時に参照するべきデータ量を最小限に抑えることが可能であるので、切替えの処理にかかる時間をさらに短縮することが可能となる。 Therefore, since the amount of data that each drawing means should refer to at the time of switching can be minimized, it is possible to further reduce the time required for the switching process.
特許文献1(図3)の技術では、履歴情報は、操作や処理が行われる度に蓄積されていくものである。 In the technique of Patent Document 1 (FIG. 3), history information is accumulated every time an operation or process is performed.
このような履歴情報を、オブジェクトの描画に利用すると以下の問題が生じる。すなわち、切替え後の描画装置は、蓄積されている履歴情報を解析して、該解析結果を反映してオブジェクトを描画することになる。このため、表示処理装置において、上記履歴情報が膨大なデータ量になればなるほど、描画装置間の引継ぎに時間がかかり、描画装置の切替え、すなわち、表示内容の切替えに多くの時間がかかり、切替えが円滑に行われないという問題を生じる。 When such history information is used for drawing an object, the following problems occur. That is, the drawing apparatus after switching analyzes the accumulated history information and draws the object reflecting the analysis result. For this reason, in the display processing device, the larger the amount of history information, the longer it takes to take over between drawing devices, and the more time it takes to switch between drawing devices, that is, to switch display contents. This causes a problem that it is not performed smoothly.
本発明の上記構成によれば、引継情報のデータ量を必要最小限に抑えることができるので、切替えの処理にかかる時間をさらに短縮することが可能となる。 According to the above-described configuration of the present invention, the data amount of the takeover information can be suppressed to a necessary minimum, so that the time required for the switching process can be further shortened.
さらに、表示処理装置は、上記引継情報記憶部に記憶されている引継情報を管理する引継情報管理手段を備え、上記引継情報管理手段は、自装置におけるイベントの発生に応じて上記第1の描画手段または上記第2の描画手段がオブジェクトに対して処理を適用したときに、上記引継情報を、適用した処理内容に更新することが好ましい。 Furthermore, the display processing device includes takeover information management means for managing takeover information stored in the takeover information storage unit, and the takeover information management means performs the first drawing according to the occurrence of an event in the own apparatus. When the means or the second drawing means applies the process to the object, it is preferable to update the handover information to the applied process content.
上記構成によれば、表示処理装置において何らかのイベントが発生したのに応じて、表示中のオブジェクトに変更が生じた場合、各描画手段がオブジェクトに対して何らかの処理を適用してオブジェクトを再描画する。このとき、上記引継情報管理手段は、上記描画手段がオブジェクトに対して適用した処理の内容を、当該オブジェクトに関連付けて記憶することにより、上記オブジェクトの引継情報を更新する。 According to the above configuration, when a change occurs in the displayed object in response to some event occurring in the display processing device, each drawing unit applies some processing to the object to redraw the object. . At this time, the takeover information management means updates the takeover information of the object by storing the contents of the process applied to the object by the drawing means in association with the object.
これにより、オブジェクトに変更が生じた場合でも、該オブジェクトの引継情報を常に最新の状態に維持しておくことが可能となるので、描画手段の切替えがいつ発生しても、描画手段間で適切に引継ぎを行うことができる。 As a result, even when a change occurs in an object, it is possible to keep the inheritance information of the object always up-to-date. Can take over.
上記第1の描画手段は、オブジェクトを3次元で規定する構造化データに基づいて、オブジェクトを3次元で描画する3D描画手段であり、上記第2の描画手段は、オブジェクトを2次元で規定する構造化データに基づいて、オブジェクトを2次元で描画する2D描画手段であってもよい。 The first drawing means is 3D drawing means for drawing an object in three dimensions based on structured data that specifies the object in three dimensions, and the second drawing means specifies the object in two dimensions. 2D drawing means for drawing an object in two dimensions based on structured data may be used.
これにより、上記表示処理装置は、上記オブジェクトを3次元で表示したり、2次元で表示したりできる。そして、オブジェクトを3次元表示から2次元表示に切替える場合に、あるいは、その逆の場合に、上記オブジェクトの処理内容を円滑に引き継ぐことが可能となる。表示内容はそのままに、3次元表示/2次元表示の切替えのみを即座に実行することが可能となる。 Thereby, the display processing apparatus can display the object in three dimensions or two dimensions. Then, when the object is switched from the three-dimensional display to the two-dimensional display, or vice versa, the processing contents of the object can be taken over smoothly. Only the switching between 3D display and 2D display can be immediately executed without changing the display contents.
本発明の携帯電話機は、上記課題を解決するために、上述の表示処理装置を備えていることを特徴としている。 In order to solve the above-described problems, a mobile phone according to the present invention includes the above-described display processing device.
このように、本発明の表示処理装置を、比較的小型でハードウェア資源に制約のある携帯電話機に適用すると、本発明による効果が特に大きい。 Thus, when the display processing apparatus of the present invention is applied to a mobile phone having a relatively small size and limited hardware resources, the effect of the present invention is particularly great.
近年、携帯電話機には、3次元表示機能を搭載することにより、視覚的効果の高いユーザインターフェースが提供されるようになってきている。 In recent years, mobile phones have been provided with a three-dimensional display function to provide a user interface with a high visual effect.
しかしながら、従来の携帯電話機では3次元のオブジェクトの効率的な描画にアクセラレータを利用しており、何らかの制限によりアクセラレータが使用できない場合に、3次元表示ができなくなるという問題があった。 However, the conventional mobile phone uses an accelerator for efficient drawing of a three-dimensional object, and there is a problem that three-dimensional display cannot be performed when the accelerator cannot be used due to some limitation.
この問題の対策として、本発明の携帯電話機において、3次元表示を2次元表示に切替えることを行っている。しかし、表示態様を切替えても、表示内容を変更するわけではないので、表示内容については適切に引き継ぐ必要がある。 As a countermeasure against this problem, the three-dimensional display is switched to the two-dimensional display in the mobile phone of the present invention. However, even if the display mode is switched, the display content is not changed, and therefore it is necessary to appropriately take over the display content.
従来の携帯電話機であれば、時系列で蓄積されるユーザ操作の履歴やシステム状況の履歴などを参照して、それを解析し、表示内容を引き継ぐことしかできなかった。これらの履歴情報は、データ量が多いため、表示態様の切替えをスムーズに実行できないという問題があった。これは、比較的小型でハードウェア資源に制約のある携帯電話機においては、特に深刻な課題となる。 With a conventional mobile phone, it is only possible to refer to the history of user operations and the history of system status accumulated in time series, analyze it, and take over the display contents. Since these pieces of history information have a large amount of data, there has been a problem that the display mode cannot be switched smoothly. This is a particularly serious problem for mobile phones that are relatively small and have limited hardware resources.
そこで、本発明の表示処理装置を携帯電話機に適用することにより、引継情報を利用して、描画手段の切替え時間の短縮を図り、表示態様の切替えを円滑に実施することが可能な携帯電話機を実現することが可能となる。 Therefore, by applying the display processing device of the present invention to a mobile phone, a mobile phone capable of smoothly switching the display mode by shortening the switching time of the drawing means using the transfer information. It can be realized.
本発明の表示処理方法は、上記課題を解決するために、複数の描画手段による描画結果を選択的に表示部に出力する表示処理装置における表示処理方法であって、表示対象のオブジェクトを第1の表示態様にて表示するように、当該オブジェクトを描画する第1描画ステップ、または、上記オブジェクトを第2の表示態様にて表示するように、当該オブジェクトを描画する第2描画ステップのいずれかを実行する描画実行ステップを含み、上記表示処理装置の引継情報記憶部には、上記描画実行ステップの実行中に上記オブジェクトに対して適用された処理内容を、各オブジェクトに関連付けた引継情報が記憶されており、上記描画実行ステップにおいて実行される描画ステップが、上記第1描画ステップおよび上記第2描画ステップのいずれかに切替わったとき、切替わった上記第1描画ステップまたは上記第2描画ステップでは、上記オブジェクトに対して、上記引継情報記憶部において当該オブジェクトに関連付けられている引継情報が示す処理内容を適用して、当該オブジェクトを描画することを特徴としている。 In order to solve the above problems, a display processing method of the present invention is a display processing method in a display processing apparatus that selectively outputs a drawing result by a plurality of drawing means to a display unit, and displays a display target object as a first object. Either the first drawing step for drawing the object so as to display in the display mode or the second drawing step for drawing the object so as to display the object in the second display mode. The transfer information storage unit of the display processing device includes a drawing execution step to be executed, and the transfer information in which the processing content applied to the object during execution of the drawing execution step is associated with each object is stored. The drawing step executed in the drawing execution step is any of the first drawing step and the second drawing step. In the first drawing step or the second drawing step that has been switched to, the processing content indicated by the takeover information associated with the object in the takeover information storage unit is applied to the object. Thus, the object is drawn.
これにより、異なる描画ステップ間の切替が発生したとしても、切替前と切替後とで、表示内容はそのまま変更することなく円滑に引き継いで、表示態様のみを即座に切替えることが可能となる。すなわち、描画処理の引継ぎを円滑に行い、表示切替え時間を短縮することが可能となる。 As a result, even if switching between different drawing steps occurs, the display content can be taken over smoothly without changing the display contents before and after the switching, and only the display mode can be switched immediately. That is, the drawing process can be smoothly taken over and the display switching time can be shortened.
なお、上記表示処理装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記各手段として動作させることにより上記表示処理装置をコンピュータにて実現させる表示処理装置の制御プログラム、および、それを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。 The display processing device may be realized by a computer. In this case, the display processing device control program for realizing the display processing device by the computer by causing the computer to operate as each of the means, and A computer-readable recording medium on which it is recorded also falls within the scope of the present invention.
本発明の表示処理装置は、上記課題を解決するために、複数の描画手段による描画結果を選択的に表示部に出力する表示処理装置において、表示対象のオブジェクトを第1の表示態様にて表示するように、当該オブジェクトを描画する第1の描画手段と、上記オブジェクトを第2の表示態様にて表示するように、当該オブジェクトを描画する第2の描画手段と、上記第1の描画手段または上記第2の描画手段がオブジェクトに対して適用した処理内容を、各オブジェクトに関連付けて引継情報として記憶する引継情報記憶部とを備え、上記各描画手段は、上記表示部に出力される描画結果が、他の描画手段によるものから自手段によるものに切替わる際、上記オブジェクトに対して、上記引継情報記憶部において当該オブジェクトに関連付けられている引継情報が示す処理内容を適用して、当該オブジェクトを描画することを特徴としている。 In order to solve the above problems, a display processing apparatus according to the present invention displays an object to be displayed in a first display mode in a display processing apparatus that selectively outputs drawing results by a plurality of drawing means to a display unit. The first drawing means for drawing the object, the second drawing means for drawing the object so as to display the object in the second display mode, and the first drawing means or A takeover information storage unit that stores processing contents applied to the object by the second drawing unit in association with each object as takeover information, and each drawing unit outputs a drawing result output to the display unit However, when switching from other drawing means to own means, the object is associated with the object in the takeover information storage unit. By applying the processing contents shown are takeover information that is, is characterized by drawing the object.
本発明の携帯電話機は、上記課題を解決するために、上述の表示処理装置を備えていることを特徴としている。 In order to solve the above-described problems, a mobile phone according to the present invention includes the above-described display processing device.
本発明の表示処理方法は、上記課題を解決するために、複数の描画手段による描画結果を選択的に表示部に出力する表示処理装置における表示処理方法であって、表示対象のオブジェクトを第1の表示態様にて表示するように、当該オブジェクトを描画する第1描画ステップ、または、上記オブジェクトを第2の表示態様にて表示するように、当該オブジェクトを描画する第2描画ステップのいずれかを実行する描画実行ステップを含み、上記表示処理装置の引継情報記憶部には、上記描画実行ステップの実行中に上記オブジェクトに対して適用された処理内容を、各オブジェクトに関連付けた引継情報が記憶されており、上記描画実行ステップにおいて実行される描画ステップが、上記第1描画ステップおよび上記第2描画ステップのいずれかに切替わったとき、切替わった上記第1描画ステップまたは上記第2描画ステップでは、上記オブジェクトに対して、上記引継情報記憶部において当該オブジェクトに関連付けられている引継情報が示す処理内容を適用して、当該オブジェクトを描画することを特徴としている。 In order to solve the above problems, a display processing method of the present invention is a display processing method in a display processing apparatus that selectively outputs a drawing result by a plurality of drawing means to a display unit, and displays a display target object as a first object. Either the first drawing step for drawing the object so as to display in the display mode or the second drawing step for drawing the object so as to display the object in the second display mode. The transfer information storage unit of the display processing device includes a drawing execution step to be executed, and the transfer information in which the processing content applied to the object during execution of the drawing execution step is associated with each object is stored. The drawing step executed in the drawing execution step is any of the first drawing step and the second drawing step. In the first drawing step or the second drawing step that has been switched to, the processing content indicated by the takeover information associated with the object in the takeover information storage unit is applied to the object. Thus, the object is drawn.
これにより、複数の描画装置間の描画処理の引継ぎを円滑に行い、表示切替え時間を短縮できるという効果を奏する。 Thereby, the drawing process between a plurality of drawing apparatuses can be smoothly taken over, and the display switching time can be shortened.
本発明の一実施形態について図面に基づいて説明すると以下の通りである。本実施形態では、一例として、本発明の表示処理装置を携帯電話に適用した場合について説明する。しかし、これに限定する意図はなく、本発明の表示処理装置は、テレビ、パソコン、PDA(personal digital assistant)などのように、表示部を備えた各種情報処理装置、電子機器等に適用可能である。 An embodiment of the present invention is described below with reference to the drawings. In the present embodiment, as an example, a case where the display processing device of the present invention is applied to a mobile phone will be described. However, the present invention is not intended to be limited to this, and the display processing apparatus of the present invention can be applied to various information processing apparatuses, electronic devices, and the like having a display unit such as a television, a personal computer, and a PDA (personal digital assistant). is there.
〔携帯電話の構成〕
図1は、本発明の実施形態にかかる表示処理装置1を備える携帯電話100の要部構成を示すブロック図である。図1に示すとおり、本実施形態における携帯電話100は、記憶部2、主制御部3、無線通信部4、バッテリ部5、入力部6、3D描画部7、2D描画部8、3Dフレームバッファ9、2Dフレームバッファ10、および、表示部12を備える構成となっている。さらに、音声出力部18、および、放送波受信部19を備えていてもよい。
[Configuration of mobile phone]
FIG. 1 is a block diagram showing a main configuration of a
無線通信部4は、外部の通信端末装置や携帯電話などと無線通信を行うものである。また、無線通信部4は、無線通信アンテナを含んでおり、携帯電話網における基地局との無線通信を実現する。すなわち、電話、電子メール、インターネット等の通信機能を実現する。
The
バッテリ部5は、携帯電話100内の各種構成に適当な電力を供給するものであり、例えば、リチウムイオン電池などの充電可能な2次電池や電源回路などで構成される。
The
入力部6は、携帯電話100の操作をユーザが行うために指示を入力する入力インターフェースを実現するものである。表示部12に表示されたGUI画面において項目を選択するための(カーソルを動かすための)上下左右キーや選択した項目を決定する決定キー、数字や文字を入力する数字キー等を含む入力キー群で構成されている。入力部6は、入力キーへの入力を入力信号として主制御部3に送る。これを受けた主制御部3は、入力信号に応じた動作を行うようになっている。これにより、携帯電話100は、ユーザの入力操作に応じた動作を行うことになる。
The
音声出力部18は、音声処理部17からの音声信号を音波に変換して外部に出力するものである。例えば、音声出力部18は、スピーカ、イヤホン、または、音声出力用コネクタなどで構成される。
The
放送波受信部19は、放送波受信用アンテナ(図示せず)を通じて供給された放送信号を受信し、携帯電話100に伝達するものであり、例えば、チューナ、復調部、デコーダなどで構成される。
The broadcast
3D描画部7は、記憶部2に記憶されている3Dスクリプト41を解析し、立体形状を特定するデータに基づいて、3Dオブジェクトを描画するものである。3D描画部7が行った描画処理の結果は、画面データとして3Dフレームバッファ9に一旦出力された後、表示部12に出力され、これにより、3Dオブジェクトが表示部12に表示される。
The
2D描画部8は、記憶部2に記憶されている2Dスクリプト42を解析し、平面形状を特定するデータに基づいて、2Dオブジェクトを描画するものである。2D描画部8が行った描画処理の結果は、画面データとして2Dフレームバッファ10に一旦出力された後、表示部12に出力され、これにより、2Dオブジェクトが表示部12に表示される。
The
本実施形態では、3D描画部7および2D描画部8のいずれか一方が描画した画面データを表示部12に表示する構成となっており、切替制御部15の制御下で、3D描画部7および2D描画部8のいずれ描画結果を採用するのかを切替えることができるようになっている。
In the present embodiment, screen data drawn by either one of the
描画部の切替が行われると、3D描画部7および2D描画部8は、切替え前の描画部が描画していたものと同一の内容を示すスクリプト(3Dスクリプト41または2Dスクリプト42)を解析しオブジェクトを描画するとともに、切替え前の描画部がオブジェクトに対して適用した処理を引き継いで、その内容をオブジェクトに反映させて描画を行う。
When the drawing unit is switched, the
切替え前の描画部が行っていた処理を引き継ぐために、本実施形態では、3D描画部7および2D描画部8は、後述する引継情報記憶部30に記憶された引継情報を取得し、引継情報の内容をオブジェクトに反映させる。
In order to take over the processing performed by the drawing unit before switching, in this embodiment, the
表示部12は、主制御部3の指示に従って、3D描画部7または2D描画部8が描画する、GUI画面、静止画像、動画像、または、テキストデータ等を表示するものである。表示部12としては、例えばLC(liquid Crystal)表示装置やEL(Electro Luminescence)表示装置等を好適に適用することができる。
The
なお、携帯電話100は、上述した構成に限定されず、図示はしないが、カメラ部、テレビ受像部、GPS部など、公知の携帯電話機が備える各種機能を備えていてもよい。
Note that the
主制御部3は、携帯電話100の各部を統括制御するものであり、さらに、機能ブロックとしての、イベント処理部13、エフェクト処理部14、音声処理部17、切替制御部15、および、引継情報管理部16を含んでいる。なお、上記機能ブロックとして示される各部は、CPU(central processing unit)がROM(read only memory)等の記憶装置に記憶されているプログラムをRAM(random access memory)等に読み出して実行することで実現できる。なお、本実施形態では、主制御部3の機能ブロックである切替制御部15および引継情報管理部16、3D描画部7、2D描画部8、3Dフレームバッファ9、2Dフレームバッファ10、ならびに、記憶部2は、携帯電話100において本発明の表示処理装置1として機能する。
The
記憶部2は、携帯電話100が使用する各種データを記録する記録装置である。例えば、フラッシュROM(Read Only Memory)等のような公知の不揮発性記録装置を適宜使用することができる。図1に示すとおり、記憶部2には、引継情報記憶部30と、スクリプト記憶部31とが含まれている。
The
スクリプト記憶部31は、各描画部がオブジェクトを描画するために解析するスクリプトを記憶するものである。
The
スクリプトとは、各描画部がオブジェクトを描画するために必要な各種情報を含む構造化されたデータのことであり、各描画部が解析可能な言語(例えば、XML(extensible markup language))で記述されている。オブジェクトごとに1つのスクリプトが用意されても構わないし、複数のオブジェクトからなるGUI(graphical user interface)画面1画面ごとに1つのスクリプトが用意されても構わない。2Dオブジェクトと3Dオブジェクトとで同一のオブジェクトを示す場合は、3Dスクリプト41と2Dスクリプト42とに同一のオブジェクトのスクリプトであることを示すオブジェクトIDが付与されている。これにより、各描画部は、表示すべきオブジェクトの対応関係を把握し、適切なオブジェクトのスクリプトを記憶部2から取得することができる。
A script is structured data including various information necessary for each drawing unit to draw an object, and is described in a language (for example, XML (extensible markup language)) that each drawing unit can analyze. Has been. One script may be prepared for each object, or one script may be prepared for each GUI (graphical user interface) screen composed of a plurality of objects. When the 2D object and the 3D object indicate the same object, the
図1に示す例では、スクリプト記憶部31には、3D描画部7が3Dオブジェクトを描画するための3Dスクリプト41と、2D描画部8が2Dオブジェクトを描画するための2Dスクリプト42とが含まれている。このように、スクリプトは、各描画部の解析エンジンの種類ごとに作成される。
In the example illustrated in FIG. 1, the
しかし、これに限定されない。3D描画部7および2D描画部8の両方が解析可能な、内容が共通する情報については、共通スクリプト43として、いずれの描画部からも参照可能なように記憶しておくことが好ましい。このように、同一オブジェクトに関する共通の情報をできる限り共有することによって、携帯電話100に保存しておくデータ量を削減することが可能となる。
However, it is not limited to this. Information that can be analyzed by both the
各スクリプトの具体例については、図を用いて後に説明する。 Specific examples of each script will be described later with reference to the drawings.
引継情報記憶部30は、引継情報を記憶するものである。
The takeover
この引継情報は、オブジェクトIDに関連付けてオブジェクトごとに記憶されている。オブジェクトIDは、オブジェクトを一意に識別するための識別情報である。描画部が切り替っても、各描画部がオブジェクトを共通で識別できるように、スクリプトにおいて、同一オブジェクトには同一のIDを付与している。 This takeover information is stored for each object in association with the object ID. The object ID is identification information for uniquely identifying an object. In the script, the same ID is assigned to the same object so that each drawing unit can identify the object in common even if the drawing unit is switched.
これにより、3D描画部7が解析する3Dスクリプト41と、2D描画部8が解析する2Dスクリプト42とが別々のデータであっても、同じオブジェクトには共通のオブジェクトIDが付与されており、表示処理装置1全体としては、同一オブジェクトと認識することが可能となる。よって、描画部が切り替っても、2D表示/3D表示の見え方を変えるのみで、同一内容を表示することが可能となる。
Thus, even if the
引継情報とは、携帯電話100の発生イベントに応じて携帯電話100の状態が変化したことに伴い、各描画部がオブジェクトに対して適用した処理内容の履歴を示すものである。
The takeover information indicates a history of processing contents applied to the object by each drawing unit when the state of the
引継情報更新のトリガとなる、携帯電話100の発生イベントとしては、例えば、以下のようなものが考えられる。
For example, the following events can be considered as events generated by the
まず、ユーザが入力部6を用いてキーを押下したときに発生するキー入力イベントが挙げられる。例えば、上下左右キー、決定キー、数字キーなどが押下されると、各キーに対応する信号が携帯電話100の主制御部3に入力され、イベント処理部13がこれを検知する。
First, there is a key input event that occurs when a user presses a key using the
次に、携帯電話100の状態が所定の条件を満たす場合に、そのことが表示処理装置1に通知される通知イベントが挙げられる。これらの通知イベントが発生すると、イベント処理部13がこれを検知し、ユーザに通知イベントの発生を通知するためのメッセージを表示するように、表示処理装置1の各描画部に指示する。通知イベントの具体例としては、バッテリ部5の充電残量が一定量以下になった状態を示す充電残量不足通知、無線通信部4が電子メール(通話)を受信したことを示すメール(通話)受信通知、メモリ不足通知、または、特定アプリケーションの多重起動の禁止通知などが想定される。
Next, when the state of the
ここで、引継情報が更新されるトリガとなるイベントの内容は上記に限定されない。オブジェクトの再描画が必要となるあらゆるイベントが想定される。そのようなイベントが発生すると、それに伴い各描画部がオブジェクトを再描画し、引継情報が更新される。 Here, the content of the event that is a trigger for updating the takeover information is not limited to the above. Any event that requires an object to be redrawn is assumed. When such an event occurs, each drawing unit redraws the object and the takeover information is updated accordingly.
例えば、複数のオブジェクトからなるGUI画面において、フォーカス対象(カーソルがあたっているオブジェクト)が、上下左右キーの押下応じて変更されると、最新のフォーカス対象のオブジェクトを特定する情報(オブジェクトID)が、引継情報として更新される。あるいは、テキストボックス(=オブジェクト)に文字列を入力するために、数字キーが押下されると、現在のテキストボックスに入力されている最新の文字列情報が、引継情報として更新される。あるいは、ユーザ操作によって、あるウェブサイトのURLがブックマーク登録されると、ブックマークに適用する参照先URLの情報が、引継情報として更新される。引継情報の具体例については、図を参照して後に詳細に説明する。 For example, in a GUI screen composed of a plurality of objects, when the focus target (object on which the cursor is placed) is changed in response to pressing of the up / down / left / right key, information (object ID) for specifying the latest focus target object is displayed. , Updated as takeover information. Alternatively, when a numeric key is pressed in order to input a character string in a text box (= object), the latest character string information input in the current text box is updated as takeover information. Alternatively, when a URL of a certain website is registered as a bookmark by a user operation, information on a reference destination URL applied to the bookmark is updated as takeover information. A specific example of the takeover information will be described in detail later with reference to the drawings.
次に、主制御部3の機能ブロックの各部について説明する。
Next, each part of the functional block of the
イベント処理部13は、携帯電話100において発生する各イベントを検知して、検知したイベントに対応した処理を実行するものである。あるいは、上記処理を実行する他の部材に指示信号を伝達するものであってもよい。
The
携帯電話100において発生するイベントの具体例としては以下のものが挙げられる。すなわち、ユーザによる入力部6の操作(キー入力)、バッテリ部5の充電残量の変動、所定時刻到達、電子メール受信、通話着信、カメラ部の起動、メモリ不足通知などのあらゆるイベントが想定される。
Specific examples of events that occur in the
エフェクト処理部14は、スクリプトの記述にしたがって、スクリプトが定義するアニメーションなどの視覚的効果(以下、エフェクトと称する)をオブジェクトに施すものである。例えば、エフェクトの記述は、Java(登録商標)スクリプトを利用して、OpenGL関数のAPI(Application Program Interface)を記述することで実現されている。エフェクト処理部14は、このようなエフェクトに関する記述を解析して、描画部によって描画されるオブジェクトに対して、動きや見た目の変化など複雑なアニメーションを付加することができる。これにより、2D/3Dのオブジェクトを単に表示するだけでなく、表示しているオブジェクトを動かしたり、その形状、色、テクスチャなどを変化させたりすることが可能となる。
The
音声処理部17は、通話時に、図示しないマイクなどの音声入力部からの音声信号を所定の音声データに変換して無線通信部4に送信するとともに、無線通信部4からの音声データを音声信号に変換して音声出力部18に送信するものである。また、着信時に、記憶部2に記憶される着信音などの音声ファイルを再生して音声出力部18に出力するものである。具体的には、音声処理部17は、A/D変換器、D/A変換器、アンプ、音声コーデック回路などを制御する。
The
切替制御部15は、携帯電話100の状態に応じて、表示部12に画面データを出力するフレームバッファを切替えるものである。さらに、フレームバッファの切替えに応じて描画部の起動または終了を制御することも可能である。
The switching
例えば、本実施形態では、携帯電話100は、3Dフレームバッファ9および2Dフレームバッファ10の2つのフレームバッファを備えており、そのいずれかが保持する画面データが表示部12に出力される構成である。切替制御部15は、携帯電話100の状態に応じて、適切な描画部およびフレームバッファを選択する。これにより、オブジェクトを2D表示したり、3D表示したりして、携帯電話100の状態に応じて、表示の仕方を切替えることが可能となる。
For example, in the present embodiment, the
切替制御部15の動作をより具体的に説明すると、携帯電話100の状態とは、例えば、主制御部3が他の優先度の高い画面表示処理を行っているために(着信通知、放送波受信など)、高負荷となる3D描画部7の3Dオブジェクトの描画処理を適切に実行できなくなる状態が考えられる。
The operation of the switching
そこで、携帯電話100がこのような状態に陥ったときには、切替制御部15は、2D表示に切替えるべく、2D描画部8を起動して、2D描画部8が書き出した2Dフレームバッファ10の画面データを表示部12に出力する。
Therefore, when the
逆に、優先度の高い画面表示処理が終了し、主制御部3が、3D描画部7の3Dオブジェクトの描画を制御できる状態に復帰した時には、切替制御部15は、再び3D表示に切替えるべく、3D描画部7を起動して、3Dフレームバッファ9の画面データを表示部12に出力する。
On the contrary, when the screen display process with high priority is completed and the
あるいは、切替制御部15は、所定の規則にしたがって、携帯電話100において発生するイベントに応じて、2D表示と3D表示とを切替える構成でもよい。記憶部2には、イベントと、2D/3D表示のいずれを採用するのかを示す情報とが対応付けて記憶された切替規則記憶部(図示せず)が含まれており、切替制御部15は、上記切替規則記憶部を参照して、携帯電話100において発生したイベントに応じて、各描画部の起動/終了を制御して、2D表示と3D表示とを切替えてもよい。
Alternatively, the switching
引継情報管理部16は、引継情報記憶部30に記憶されている引継情報を常に最新の情報に維持するものである。引継情報管理部16は、携帯電話100のイベント発生に応じて、引継情報記憶部30の引継情報を更新する。携帯電話100にイベントが発生すると、該イベントに応じて、携帯電話100における描画部を含む各部が何らかの処理を実行する。これが、表示中のオブジェクトに何らかの変更を伴う処理である場合には、描画部は、オブジェクトの再描画を行う必要がある。引継情報管理部16は、現在描画中のいずれかの描画部によって、オブジェクトに対して何らかの変更処理が実行されると、その処理内容の履歴を残すために上記引継情報を更新する。
The takeover
これにより、3D描画部7および2D描画部8は、切替え前の描画部がオブジェクトに対して行っていた処理を把握して、引継情報にしたがってそれを適切に引き継ぐことが可能となる。
As a result, the
以上のように、携帯電話100が備える複数の描画部(例えば、3D描画部7および2D描画部8)は、各解析エンジンによって解析可能な各々のスクリプトにしたがってオブジェクトを描画し、さらに、引継情報を参照して、切替え前の描画部がオブジェクトに対して施した処理を当該オブジェクトに反映させる。このようにして、同一の表示内容を異なる描画部間で円滑かつ適切に引き継ぐことができる。以下では、3D描画部7および2D描画部8が、携帯電話100をユーザが操作するときのGUI画面を描画する場合を例に挙げて、スクリプトおよび引継情報のデータ構造について詳細に説明する。
As described above, the plurality of drawing units (for example, the
〔スクリプトのデータ構造とオブジェクトの表示〕
図2(a)は、3Dスクリプト41のデータ構造を模式的に示す図である。
[Display script data structure and objects]
FIG. 2A is a diagram schematically showing the data structure of the
図2(a)に示すとおり、3Dスクリプト41は、レイアウトスクリプト141、イベント処理スクリプト142、エフェクト処理スクリプト143、3D形状データ144、および、画像データ145を含む構造を有している。
As shown in FIG. 2A, the
レイアウトスクリプト141は、各オブジェクトを表示部12のどの位置に描画するのかを規定するものである。
The
イベント処理スクリプト142は、オブジェクトの表示に関連して実行する各種処理の起動を指示するものである。例えば、各描画部が実行する、初期化処理、描画処理、および、エフェクト処理部14が実行するエフェクト処理などの起動を指示する。
The
エフェクト処理スクリプト143は、オブジェクトに付加するエフェクトの具体的な内容を規定するものである。
The
3D形状データ144は、立体形状のオブジェクトの各点をXYZ座標にて記述したポリゴンデータである。
The
画像データ145は、3D形状データ144によって規定された立体形状のオブジェクトにおける各面を描画するために、3D形状データ144の立体形状にマッピングする画像データである。この画像データの画像形式は、特に限定されないが、例えば、PNG(Portable Network Graphics)またはJPEG(Joint Photographic Experts Group)形式を採用することができる。
The
図2(b)は、3Dスクリプト41の一部を具体的に示す図である。
FIG. 2B is a diagram specifically showing a part of the
図2(b)に示すとおり、本実施形態では、3D描画部7が参照するGUI画面の3Dスクリプト41には、オブジェクトIDに、オブジェクトを処理するのに必要な情報が関連付けて記述されている。図2(b)に示す例では、GUI画面は5つのオブジェクトから構成されているので、3Dスクリプト41において、各オブジェクトに1から5までのオブジェクトIDが付与され、それに関連付けて、オブジェクトのレイアウトや当該オブジェクトが選択されたときの動作などが規定されている。
As shown in FIG. 2B, in the present embodiment, the
本実施形態では、3Dスクリプト41は、XMLを用いてオブジェクトが記述されている。L1とL7の行に示されるタグは、これらのタグで挟まれたスクリプトが、3Dオブジェクト描画用の3Dスクリプトであることを示している。
In the present embodiment, the
L2は、オブジェクトID=1を付与された、ボタンオブジェクトの記述である。このオブジェクトがユーザ操作によって選択されて、アクティベートされると、L2の記述にて指定されたURLのWebサイトをブラウザで表示することが規定されている。携帯電話100のイベント処理部13の指示にしたがって、ブラウザ機能を実行するアプリケーション実行部(図示せず)が、Webサイトを表示部12に表示する。
L2 is a description of the button object to which object ID = 1 is assigned. When this object is selected and activated by a user operation, it is specified that a Web site with a URL specified in the description of L2 is displayed on a browser. In accordance with an instruction from the
L3は、オブジェクトID=2を付与された、ボタンオブジェクトの記述である。このオブジェクトがアクティベートされると、携帯電話100における通話機能を実行するアプリケーション実行部(ダイアラ)を起動させることが規定されている。
L3 is a description of the button object given the object ID = 2. When this object is activated, it is specified that an application execution unit (dialer) that executes a call function in the
L4は、オブジェクトID=3を付与された、ボタンオブジェクトの記述である。このオブジェクトがアクティベートされると、携帯電話100におけるメール機能を実行するアプリケーション実行部(メーラ)を起動させることが規定されている。
L4 is a description of the button object given the object ID = 3. When this object is activated, it is specified that an application execution unit (mailer) that executes a mail function in the
L5は、オブジェクトID=4を付与された、文字列をティッカー表示させるためのテキストボックスオブジェクトの記述である。ここでは、所定の領域に、所定の文字列をティッカー表示させることが規定されている。図2(b)に示す例では、初期状態では「S社がコンビナート建設を発表」をティッカー表示することが規定されている。 L5 is a description of a text box object to which a character string is given a ticker display with an object ID = 4. Here, it is defined that a predetermined character string is tickered in a predetermined area. In the example shown in FIG. 2B, it is specified that “S company announces the construction of a complex” is tickered in the initial state.
L6は、オブジェクトID=5を付与された、ユーザが文字列を入力するためのインプットダイアログオブジェクトの記述である。ここでは、所定の領域に、ユーザが文字列を入力するためのダイアログボックスを表示させることが規定されている。初期状態では、表示すべき文字列のデータが無いので、上記ダイアログボックス内には、何も表示されない。 L6 is a description of an input dialog object to which a user inputs a character string, to which an object ID = 5 is assigned. Here, it is defined that a dialog box for a user to input a character string is displayed in a predetermined area. In the initial state, there is no character string data to be displayed, so nothing is displayed in the dialog box.
図2(c)は、図2(b)に示す3Dスクリプト41で規定された各オブジェクトを3D描画部7が描画した結果、表示部12に表示されるGUI画面の具体例を示す図である。
FIG. 2C is a diagram illustrating a specific example of a GUI screen displayed on the
オブジェクト51は、図2(b)に示すL2の記述にしたがって描画されたボタンオブジェクトを示す。オブジェクト52は、L3の記述にしたがって描画されたボタンオブジェクトを示す。オブジェクト53は、L4の記述にしたがって描画されたボタンオブジェクトを示す。オブジェクト54は、L5の記述にしたがって描画されたテキストボックスオブジェクトを示す。オブジェクト55は、L6の記述にしたがって描画されたインプットダイアログオブジェクトを示す。
An
カーソル56は、現在フォーカスがあたっているオブジェクトを示すためのものである。図2(c)の例は、オブジェクト52にフォーカスがあたっているところを示している。ユーザが入力部6に設けられている上下左右キーを操作することによって、カーソル56を他のオブジェクトに遷移させることができるようになっている。
The
図3(a)は、2Dスクリプト42のデータ構造を模式的に示す図である。
FIG. 3A is a diagram schematically illustrating the data structure of the
図3(a)に示すとおり、2Dスクリプト42は、レイアウトスクリプト151、イベント処理スクリプト152、エフェクト処理スクリプト153、2D形状データ154、および、画像データ155を含む構造を有している。
As shown in FIG. 3A, the
図2(a)に示す3Dスクリプト41の構造と異なる点は、3D形状データ144の代りに2D形状データ154を有している点である。2D形状データ154は、図形のオブジェクトの各点をXY座標にて記述したデータである。
The difference from the structure of the
2Dスクリプト42における、レイアウトスクリプト151、イベント処理スクリプト152、エフェクト処理スクリプト153、および、画像データ155は、2D描画部8が解析可能なように記述してあるならば、3Dスクリプト41のレイアウトスクリプト141、イベント処理スクリプト142、エフェクト処理スクリプト143、および、画像データ145とそれぞれ全く同じであってもよい。本実施形態では、上述のように3Dスクリプト41と2Dスクリプト42とで共通の部分については、共通スクリプト43として記述し、3D描画部7および2D描画部8の両方がそれを参照できるようにスクリプト記憶部31に格納しておく。
If the
図3(b)は、2Dスクリプト42の一部を具体的に示す図である。
FIG. 3B is a diagram specifically showing a part of the
図3(b)に示す2Dスクリプト42は、図2(a)〜(c)に示す3D表示のGUI画面と同じ内容のものを2D表示するためのスクリプトである。本実施形態では、図2(b)に示す3Dスクリプト41と同様に、各オブジェクトに1から5までのオブジェクトIDが付与され、それに関連付けて、オブジェクトを処理するのに必要な情報、すなわち、オブジェクトのレイアウトや当該オブジェクトが選択されたときの動作などが規定されている。
The
本実施形態では、2Dスクリプト42は、3Dスクリプト41と同様XMLを用いてオブジェクトが記述されている。図3(b)のL1とL7の行に示されるタグは、これらのタグで挟まれたスクリプトが、2Dオブジェクト描画用の2Dスクリプトであることを示している。
In the present embodiment, the
ここで、GUI画面を構成する5つのオブジェクトに対し、2Dスクリプト42において、3Dスクリプト41のオブジェクトと同一のオブジェクトには、同一のオブジェクトIDが付与されている。
Here, for the five objects constituting the GUI screen, in the
すなわち、L2は、ボタンオブジェクト(図2(c)のオブジェクト51)に対応する2Dオブジェクトの記述であるので、オブジェクトID=1が付与されている。L3は、ボタンオブジェクト(オブジェクト52)に対応する2Dオブジェクトの記述であるので、オブジェクトID=2が付与されている。同様に、L4では、オブジェクト53に対応する2Dオブジェクトに、同じオブジェクトID=3が付与され、L5では、オブジェクト54に対応する2Dオブジェクトに、オブジェクトID=4が付与され、L6では、オブジェクト55に対応する2Dオブジェクトに、オブジェクトID=5が付与されている。
That is, since L2 is a description of the 2D object corresponding to the button object (
これにより、異なる描画部間において、別々のスクリプトによりオブジェクトを描画する場合でも、同一内容のオブジェクトを同一のオブジェクトとして認識することが可能となる。 This makes it possible to recognize objects having the same contents as the same object even when the objects are drawn by different scripts between different drawing units.
図3(c)は、図3(b)に示す2Dスクリプト42で規定された各オブジェクトを2D描画部8が描画した結果、表示部12に表示されるGUI画面の具体例を示す図である。
FIG. 3C is a diagram showing a specific example of a GUI screen displayed on the
オブジェクト61は、図3(b)に示すL2の記述にしたがって2D描画部8によって描画された画像オブジェクト(アイコン画像)であり、3D表示のGUI画面のオブジェクト51に対応している。この画像オブジェクトをアクティベートすることによって、指定されたURLのWebサイトを表示するためにブラウザを起動することができる。
The
オブジェクト62は、L3の記述にしたがって描画された画像オブジェクトであり、オブジェクト52に対応している。この画像オブジェクトをアクティベートすることによって、ダイアラを起動することができる。
The
オブジェクト63は、L4の記述にしたがって描画された画像オブジェクトであり、オブジェクト53に対応している。この画像オブジェクトをアクティベートすることによって、メーラを起動することができる。
The
オブジェクト64は、L5の記述にしたがって描画されたテキストボックスオブジェクトであり、オブジェクト54に対応している。オブジェクト54と同様に、オブジェクト64内には、所定の文字列(「S社がコンビナート建設を発表」)がティッカー表示される。
The
オブジェクト65は、L6の記述にしたがって描画されたインプットダイアログオブジェクトであり、オブジェクト55に対応している。オブジェクト65は、アクティベートされても何も起動されないが、ユーザは、オブジェクト65内に文字列を入力することができる。
The
以上のように、携帯電話100の異なる描画部によって取り扱われるオブジェクトが、描画部ごとに別々のスクリプトに規定されている場合であっても、同一内容のオブジェクトに対しては共通のオブジェクトIDが割り振られている。さらに、各オブジェクト内に表示するデータの内容(文字列など)を共通スクリプト43として記述し、それを参照するように各描画部に対して指定する。指定する方法としては、個々の3Dスクリプト41、2Dスクリプト42に、それぞれ、共通スクリプト43を参照する命令文を記述しておくことが考えられる。
As described above, even when objects handled by different drawing units of the
これにより、各描画部は、オブジェクトを共通に識別し、共通スクリプト43を参照して、同じオブジェクトに対しては、同様の処理を施すことが可能となる。さらに、共通スクリプト43によって、共有できる情報については可能な限り統合して格納しておくため、個々の描画部ごとに重複して同じ情報を格納しておく必要がなくなる。結果として、各描画部が描画処理時に参照するデータ量を削減することにつながる。
As a result, each drawing unit can identify the object in common and refer to the
なお、図2(a)および図3(a)に示す3Dスクリプト41および2Dスクリプト42のデータ構造は一例であって、本発明のスクリプトを限定するものではない。例えば、スクリプトに記述されるオブジェクトに、エフェクトを付加することが不要であれば、エフェクト処理スクリプト143(153)は含まれていなくてもよい。スクリプトには、各描画部がオブジェクトを描画するのに必要な情報が含まれていればよい。
Note that the data structures of the
〔引継情報のデータ構造〕
図4は、引継情報記憶部30に記憶されている引継情報の具体例を示す図である。
[Data structure of transfer information]
FIG. 4 is a diagram illustrating a specific example of the takeover information stored in the takeover
上述したとおり、引継情報とは、携帯電話100において発生したイベントに応じて携帯電話100が各種処理を実行した結果を、3D描画部7および2D描画部8が、オブジェクトに対して適用した処理内容の履歴を示すものである。
As described above, the transfer information refers to the processing contents that the
引継情報は、携帯電話100の各描画部が取り扱うオブジェクト分のレコードが用意されており、1レコードが1オブジェクトに対応している。本実施形態では、図2および図3の(c)に示すとおり、5つのオブジェクトを扱っているので、5つのレコードをあらかじめ用意されている。
As the transfer information, records for objects handled by each drawing unit of the
1オブジェクトのレコードにおいて、オブジェクトID(項目名「id」)に関連付けて、「割当アプリ名」、「フォーカス」、「起動設定」、「文字列」の4つのフィールドが用意されている。 In one object record, four fields of “assigned application name”, “focus”, “startup setting”, and “character string” are prepared in association with the object ID (item name “id”).
項目名「id」に格納される値は、3Dスクリプト41(または2Dスクリプト42)に記述されているid属性の値と対応しており、各描画部は、描画しようとしているオブジェクトの引継情報のレコードをこのオブジェクトIDに基づいて正しく抽出することが可能となる。 The value stored in the item name “id” corresponds to the value of the id attribute described in the 3D script 41 (or 2D script 42), and each drawing unit displays the takeover information of the object to be drawn. Records can be correctly extracted based on the object ID.
「割当アプリ名」は、idが示すオブジェクトに割り当てられているアプリケーションを示している。これにより、当該オブジェクトが選択された場合にどのアプリケーションが起動すべきかをイベント処理部13が判断することが可能となる。
The “assigned application name” indicates an application assigned to the object indicated by id. Thus, the
「フォーカス」は、現在どのオブジェクトが選択されているか(カーソルがあたっているか)を示すフラグを格納するフィールドである。本実施形態では、基本的に、5つのオブジェクトのうち、いずれか1つがフォーカスされる(カーソルがあたる)ので、図4に示すとおり、『フォーカスあり』のフラグが立っているレコードは、5レコード中1レコードとなる。図2(c)に示すとおり、カーソルは、ダイアラのオブジェクト(オブジェクトID=2)にフォーカスされているので、id=2のレコードにフラグが立っている。 “Focus” is a field for storing a flag indicating which object is currently selected (whether the cursor is hit). In the present embodiment, basically, any one of the five objects is focused (the cursor hits), and therefore, as shown in FIG. It becomes 1 record. As shown in FIG. 2C, since the cursor is focused on the dialer object (object ID = 2), a flag is set on the record with id = 2.
「起動設定」は、描画されているオブジェクトから、アプリケーション起動が可能か否かを示している。例えば、オブジェクトID=5について、アプリケーション起動「×」が格納されている。これは、オブジェクトID=5のインプットダイアログオブジェクトに対しては、表示すべき文字列が初期状態では取得されていないため、ヘッドライン情報を表示する機能のアプリケーション実行部が、ヘッドラインの情報を取得できない(アプリケーションを起動できない)ようになっていることを意味する。 “Startup setting” indicates whether or not an application can be started from a drawn object. For example, the application activation “×” is stored for the object ID = 5. This is because the character string to be displayed is not acquired in the initial state for the input dialog object with the object ID = 5, so the application execution unit of the function for displaying the headline information acquires the headline information. It means that it is impossible (cannot start application).
「文字列」は、異なる描画部間で表示切替が行われる場合でも、同一オブジェクトにおいて引き継ぐべき(共通で描画すべき)文字列を格納するフィールドである。例えば、ブラウザのアプリケーションに対応するオブジェクト(id=1)には、URLが格納されている。ヘッドライン1のアプリケーションに対応するオブジェクト(id=4)には、ティッカー表示するべきニュースの文字列が格納されている。
The “character string” is a field for storing a character string to be inherited (to be drawn in common) in the same object even when display switching is performed between different drawing units. For example, a URL is stored in an object (id = 1) corresponding to a browser application. An object (id = 4) corresponding to the application of the
上述の各フィールドの情報は、引継情報管理部16によって管理されており、携帯電話100がイベントに応じて実行した動作によってオブジェクトに変更が生じるた場合には、その変更に合わせて、引継情報管理部16が、引継情報の更新を逐次行う。このようにして、オブジェクトに対する処理内容の履歴は常に最新の状態に維持される。各描画部は、このような引継情報をオブジェクトごとに参照することによって、描画部の切替えが起こっても、描画対象のオブジェクトの最新の状態を用意に把握して、円滑に描画処理に反映することが可能となる。
The information of each field described above is managed by the takeover
例えば、3D描画部7が、図2(c)に示すGUI画面を描画し、表示している状態で、ユーザが下キーを押下したところにより、カーソル56が、オブジェクト52からオブジェクト53へ遷移したとする。このキー入力イベントをイベント処理部13を介して受信した引継情報管理部16は、上記キー入力イベントにしたがって、カーソル56が、オブジェクト53へ遷移したことを検知して、引継情報を更新する。つまり、図4の「フォーカス」のフィールドのフラグを、id=2のレコードではなく、id=3のレコードに立てる。
For example, when the
これにより、フォーカスがあたっているオブジェクトが3D描画部7の描画中に更新された場合に、3D描画部7から2D描画部8への描画表示に切り替るときに、引継情報を参照し、上記更新を円滑に引き継ぐことが可能となる。
As a result, when the focused object is updated during the drawing of the
〔処理フロー〕
次に、上述したスクリプトおよび引継情報を用いてGUI画面を表示する携帯電話100の動作について説明する。
[Process flow]
Next, an operation of the
図5は、携帯電話100においてイベントが発生したときの、引継情報管理部16における引継情報更新処理の流れを示すフローチャートである。ここでは、3D描画部7が図2(c)に示すGUI画面を描画処理している場合を例に挙げて説明する。
FIG. 5 is a flowchart showing the flow of takeover information update processing in the takeover
3D描画部7が描画処理を実行しているときに、イベント処理部13が、通知イベント(バッテリ部5の充電残量の変化など)、キー入力イベント(ユーザの上下左右キー押下など)を受信すると(S101においてYES)、イベント処理部13は、まず、発生したイベントに応じたイベント処理を実行する(あるいは、他の実行部に実行させる)(S102)。3D描画部7は、S102におけるイベント処理の実行に伴って、表示部12に出力するGUI画面の内容に変化が生じた場合には、上記イベント処理の実行結果を必要なオブジェクトに反映させて(S103)、各オブジェクトを再描画する(S104)。
When the
次に、引継情報管理部16は、イベント処理部13を介してオブジェクトの変更を伴うイベントの発生を検知すると、3D描画部7から、どのオブジェクトをどのように変更したのかを示す情報を取得する。変更されたオブジェクトのオブジェクトIDと、それに対応付けられた変更内容を取得する(S105)。
Next, when detecting the occurrence of an event accompanied by an object change via the
例えば、引継情報管理部16は、オブジェクト52にあたっているカーソル56をオブジェクト53に遷移するという変更が行われた場合には、オブジェクト52の「オブジェクトID=2」と、「フォーカス:オフ」とを対応付けた情報を、3D描画部7から取得する。さらに、オブジェクト53の「オブジェクトID=3」と「フォーカス:オン」とを対応付けた情報を、3D描画部7から取得する。
For example, when the change is made such that the
引継情報管理部16は、3D描画部7から取得した情報に基づいて、引継情報記憶部30に新しい引継情報を記憶する。あるいは、すでに記憶されている引継情報を更新する(S106)。具体的には、図4に示す引継情報において、id=2のレコードのフォーカスのフィールドのフラグを解除して、id=3のレコードのフォーカスのフラグを立てる。
The takeover
上述のようにして更新される引継情報は、2D描画部8が同じGUI画面を描画している場合にも、2D描画部8によって参照されるし、なおかつ、2D描画部8の描画処理に応じて、引継情報管理部16によって常に最新の状態に更新されるものである。
The takeover information updated as described above is referred to by the
なお、図5にしめす例では、携帯電話100は、イベントを受信しない場合は、イベントの発生を待ち受ける構成となっているがこれに限定されない。例えば、携帯電話100において、イベントを受信した、受信していないにかかわらず、表示処理装置1が所定の規則に基づいて描画が必要であると判断した場合に、3D描画部7(または、2D描画部8)が、オブジェクトの変更を伴わない場合でも3Dフレームバッファ9(2Dフレームバッファ10)へのGUI画面の書き出しを続行するように、携帯電話100を構成することもできる。
In the example illustrated in FIG. 5, the
また、図5に示す例では、引継情報の更新のタイミングは、イベント発生に伴ってその都度引継情報管理部16が実行する構成として説明したが、これに限定されない。例えば、引継情報の更新は都度実施される必要はなく、描画部の切替えが行われる直前に、まとめてまとめて更新されてもよい。
In the example illustrated in FIG. 5, the takeover information update timing is described as being configured to be executed by the takeover
図6は、携帯電話100において描画部の切替えを要する切替えイベントが発生したときの、携帯電話100における描画切替え処理の流れを示すフローチャートである。ここでは、3D描画部7が図2(c)に示すGUI画面を描画処理しているときに、イベントに応じて2D描画部8の描画処理に切替える場合を例に挙げて説明する。
FIG. 6 is a flowchart showing a flow of drawing switching processing in the
3D描画部7が描画処理を実行しているときに、イベント処理部13が、切替えイベント(主制御部3が3D描画処理を制御できない状態になった、など)を受信すると(S201においてYES)、切替制御部15は、イベント処理部13の指示にしたがって、描画部の切替えを行う。すなわち、3D描画部7の描画処理を終了させて(S202)、代わりに2D描画部8を起動する(S203)。切替制御部15は、3Dフレームバッファ9ではなく、2Dフレームバッファ10から出力される画面データが表示部12に表示されるように制御する。
When the
起動時、2D描画部8は、これまで3D描画部7が描画処理中に参照していたGUI画面の3Dスクリプト41に対応する、2Dスクリプト42を読み込む。スクリプトの紐付けは、例えば、GUI画面に固有の識別情報が付与されており、3Dスクリプト41と2Dスクリプト42にも共通の識別情報が付与されていることにより実現されている。これにより、2D描画部8は、これまで3D描画部7が描画していたのと同じ内容のGUI画面の描画を開始することができる。
At startup, the
2D描画部8は、2Dスクリプト42を用いてGUI画面を構成する各オブジェクトを描画すると、続いて、引継情報記憶部30に記憶されている引継情報を取得する(S204)。そして、オブジェクトIDに基づいてオブジェクトごとに引継内容を反映させる(S205)。最後に、引継内容を反映した各オブジェクトを描画して、画面データを2Dフレームバッファ10に出力する(S206)。
When the
図6に示す例では、3D描画部7から2D描画部8に切替わる場合について説明したが、2D描画部8から3D描画部7に切替わる場合についてもほぼ同様である。例えば、イベント処理部13が、主制御部3が3D描画部7の制御を行える状態に復帰したことを検知すると、切替制御部15は、3D描画部7を起動して、3Dフレームバッファ9の画面データが表示部12に出力されるように制御する。
In the example illustrated in FIG. 6, the case of switching from the
3D描画部7は、GUI画面の3Dスクリプト41と、引継情報記憶部30の引継情報とに基づいて、オブジェクトを描画する。
The
本実施形態では、3Dスクリプト41および2Dスクリプト42を別々のデータとして扱う場合について述べてきたが、3Dスクリプト41および2Dスクリプト42を1つにアーカイブしていてもよい。
In the present embodiment, the case where the
この場合、上記アーカイブには、3D描画処理と2D描画処理とを切替える条件などが規定されている。 In this case, the archive defines conditions for switching between 3D drawing processing and 2D drawing processing.
図7は、3D/2D描画処理の切替え条件を記述したアーカイブの具体例を示す図である。図7に示すスクリプトには、2D表示のイベントが発生した場合には、2Dスクリプト42を用いた描画処理を、3D表示のイベントが発生した場合は、3Dスクリプト41を用いた描画処理を行うように条件が記述されている。
FIG. 7 is a diagram illustrating a specific example of an archive describing switching conditions for 3D / 2D drawing processing. In the script shown in FIG. 7, a drawing process using the
本実施形態では、主制御部3による3D描画部7の制御の可/不可によって、3D表示と2D表示とを切替える場合について説明したが、本発明の表示処理装置1の構成はこれに限定されない。
In the present embodiment, the case has been described where switching between 3D display and 2D display is performed depending on whether the
例えば、携帯電話100の表示部12が縦長/横長に回転可能に設けられている場合に(例えば、サイクロイド方式による回転)、表示部12の向きに応じて、表示内容を縦長表示と横長表示とで切替える場合が考えられる。ここで、携帯電話100において横長表示にする場合には、GUI画面の表示領域が、縦長表示の場合に比べて制限されるため、GUI画面を表示する際の画面解像度にも制限が加わる。したがって、横長表示の場合には、2D表示をすることが好ましく、縦長表示の場合にだけ、3D表示にすることが好ましい。
For example, when the
そこで、表示処理装置1を、スクリプトに切替え条件を記述して、表示部12の向きの変化に応じて、3D描画部7と2D描画部8とを切替える構成としてもよい。
Therefore, the
図8は、3D/2D描画処理の切替え条件を記述したアーカイブの他の具体例を示す図である。図8に示すスクリプトには、表示部12が横長表示の場合には、2Dスクリプト42を用いた描画処理を、縦長表示の場合には、3Dスクリプト41を用いた描画処理を行うように条件が記述されている。
FIG. 8 is a diagram showing another specific example of the archive describing the switching conditions of the 3D / 2D drawing process. The script shown in FIG. 8 has a condition that the drawing process using the
これまで述べてきたように、本発明の表示処理装置1の構成によれば、異なる描画部間で共通で参照すべきオブジェクトの情報を、オブジェクトIDに関連付けて統合して管理し、各描画部が参照できるようにしている。
As described above, according to the configuration of the
これにより、異なる描画部間で切替えが行われる携帯電話100(あるいは、表示処理装置1)において、携帯電話100に発生するイベントに応じてオブジェクトに対して施される処理内容の履歴を、描画部の切替え時に引き継ぐことが容易になる。つまり、各描画部は、共通の引継情報を参照して、上記履歴を反映した上でオブジェクトの描画を円滑に行うことが可能となる。オブジェクトの情報の共通部分は、統合管理されているため、各描画部ごとにオブジェクトの情報を保持する場合と比較して、引継ぎ情報量が削減され、描画部が読み込む必要のある情報量が削減される。この結果、描画部間で切替えが発生しても、切替えおよび描画処理を高速に行い、リアルタイム性を損なわずに、表示切替を実現することが可能となる。
Thus, in the mobile phone 100 (or the display processing device 1) that is switched between different drawing units, a history of processing contents performed on the object in accordance with an event that occurs in the
さらに、描画部を切替える原因が取り除かれたときに、元の描画部に戻す場合にも、その時点での履歴を反映しつつ、円滑に元の描画部に復帰することが可能である。 Further, when the cause of switching the drawing unit is removed, even when returning to the original drawing unit, it is possible to smoothly return to the original drawing unit while reflecting the history at that time.
さらに、従来の技術(例えば、特許文献1)では、履歴情報(引継情報)が時間と共に常に増加していくという問題があった。しかし、上記構成によれば、3Dスクリプト41(または2Dスクリプト42)の記述中のidで識別されるオブジェクトごとに、最新の処理履歴を1つ保存することで、引継情報を維持するために使用するメモリの容量を一定量以下に維持して管理することができる。このため、携帯電話100のように、ハードウェア資源に制限の大きい、携帯型、小型の機器に対して本発明の表示処理装置1を適用すると特に効果が大きい。
Furthermore, the conventional technology (for example, Patent Document 1) has a problem that history information (takeover information) always increases with time. However, according to the above configuration, for each object identified by the id in the description of the 3D script 41 (or 2D script 42), the latest processing history is saved, and used to maintain the takeover information. It is possible to manage the memory capacity to be maintained below a certain amount. For this reason, when the
〔変形例〕
次に、携帯電話100の表示処理装置1がメディアアクセラレータ11を備えている場合に、携帯電話100が2D/3D表示切替えを行うための携帯電話100の構成および動作について説明する。
[Modification]
Next, when the
図9は、本発明の他の実施形態にかかる表示処理装置1を備える携帯電話100の要部構成を示すブロック図である。図9に示す携帯電話100において、図1のそれと異なる点は、表示処理装置1が、3D描画部7による3D描画の演算に利用可能なメディアアクセラレータ11(以下、アクセラレータ11)を備えている点である。
FIG. 9 is a block diagram showing a main configuration of a
アクセラレータ11は、携帯電話100の各描画部(3D描画部7および2D描画部8)が行う描画処理の演算、および、音声処理部17が行う音声再生処理の演算を請け負って、これらの各部の各処理を高速化するものであり、例えば、LSIチップなどで実現される。
The
本実施形態における切替制御部15の動作をより具体的に説明する。
The operation of the switching
携帯電話100の状態とは、例えば、アクセラレータ11が他の優先度の高い高負荷の処理(例えば、着信通知のための着信音再生処理)に利用されているために、アクセラレータ11を3D描画部7の3Dオブジェクトの描画処理に利用することができなくなる状態が考えられる。
The state of the
これは、本実施形態におけるアクセラレータ11が、3D描画のみならず音声再生チップを兼ねているためである。このため、3D描画処理と音声再生処理とで同じメモリ空間が使用される。このような構成では、3D描画処理と音声再生処理とを排他的にしか実行することができない。したがって、音声再生中(例えば、着信音再生中)は、3D表示を行うことができないので、携帯電話100において着信のイベントが発生した場合には、3D表示を2D表示に切替える必要がある。
This is because the
まず、無線通信部4を介して、イベント処理部13が着信を検知すると、イベント処理部13の指示に応じて、表示処理装置17は、着信音を音声出力部18に出力するという着信音再生処理を実行する。このように着信をユーザに通知するための処理は、優先度の高い処理であるため、アクセラレータ11は、優先的に、表示処理装置17の着信音再生処理に利用される。
First, when the
このため、アクセラレータ11は、3D描画部7の描画処理に利用できない状態になる。切替制御部15は、アクセラレータ11が3D描画部7の描画処理に利用できない状態に陥ったことを検知すると、3D描画部7を終了し、より低負荷の2D描画部8を起動し、オブジェクトの3D表示を2D表示に切替える。
For this reason, the
このように、アクセラレータ11などのハードウェアリソースが、3D描画処理に利用できない状態に陥った場合でも、携帯電話100における各処理が円滑に実行されるように、切替制御部15が適切な描画部を選択することが可能となる。
In this way, even when hardware resources such as the
なお、切替制御部15が、描画の切替えを行う際のイベントは上述した例に限定されない。図1および図9に示す放送波受信部19が放送波を受信した場合に、主制御部3が映像信号を表示部12に出力するための処理も、主制御部3およびアクセラレータ11にとって、3D描画と同時に処理することが困難な高負荷処理になると想定される。
Note that the event when the switching
したがって、放送波受信部19が放送波を受信した場合(チューナおよびデコーダが動作した場合)も、切替制御部15は、3D表示を2D表示に切替えてもよい。
Therefore, also when the broadcast
なお、図1および図9に示す例では、携帯電話100における切替えイベントの発生に応じて、切替制御部15が2D表示を3D表示に切替える構成について説明したが、本発明の表示処理装置1の構成はこれに限定されない。
In the example shown in FIGS. 1 and 9, the configuration in which the
例えば、表示処理装置1が、第1の描画部として、動画オブジェクトを動画で表示する動画描画部(図示せず)と、第2の描画部として、静止画オブジェクトまたは上記動画オブジェクトの1コマを画像で表示する静止画描画部(図示せず)とを備えている場合に、切替制御部15が、携帯電話100における切替えイベントの発生に応じて、動画描画部と静止画描画部とを切替える構成が考えられる。具体的には、主制御部3にとって優先度の高い高負荷の別の処理が発生した場合に、切替制御部15は、動画描画部を終了して、静止画描画部を起動する。
For example, the
本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.
最後に、携帯電話100(表示処理装置1)の各ブロック、特に、切替制御部15および引継情報管理部16ならびに3D描画部7および2D描画部8は、ハードウェアロジックによって構成してもよいし、次のようにCPUを用いてソフトウェアによって実現してもよい。
Finally, each block of the mobile phone 100 (display processing device 1), in particular, the switching
すなわち、携帯電話100は、各機能を実現する制御プログラムの命令を実行するCPU(central processing unit)、上記プログラムを格納したROM(read only memory)、上記プログラムを展開するRAM(random access memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアである携帯電話100(表示処理装置1)の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、上記携帯電話100(表示処理装置1)に供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。
That is, the
上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などを用いることができる。 Examples of the recording medium include a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, and an optical disk such as a CD-ROM / MO / MD / DVD / CD-R. Card system such as IC card, IC card (including memory card) / optical card, or semiconductor memory system such as mask ROM / EPROM / EEPROM / flash ROM.
また、携帯電話100(表示処理装置1)を通信ネットワークと接続可能に構成し、上記プログラムコードを、通信ネットワークを介して供給してもよい。この通信ネットワークとしては、特に限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。 Further, the mobile phone 100 (display processing apparatus 1) may be configured to be connectable to a communication network, and the program code may be supplied via the communication network. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication. A net or the like is available. Further, the transmission medium constituting the communication network is not particularly limited. For example, even in the case of wired such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL line, etc., infrared rays such as IrDA and remote control, Bluetooth ( (Registered trademark), 802.11 wireless, HDR, mobile phone network, satellite line, terrestrial digital network, and the like can also be used. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.
本発明の表示処理装置によれば、複数の描画装置を備えている場合に、描画装置の切替えが行われても、引継情報を用いて切替え前の表示状態を引き継いで、円滑に切替え後の描画装置による描画結果を表示部に表示することができる。したがって、複数の描画装置を備え、描画装置の切替えを行うことが必要な表示処理装置に適用可能である。特に、リソースが制限された組込み機器(携帯電話などの小型の機器)において好適なものである。 According to the display processing device of the present invention, when a plurality of drawing devices are provided, even if the drawing device is switched, the display state before the switching is inherited using the takeover information, and after the switching is smoothly performed. The drawing result by the drawing device can be displayed on the display unit. Therefore, the present invention can be applied to a display processing device that includes a plurality of drawing devices and needs to switch drawing devices. In particular, it is suitable for embedded devices (small devices such as mobile phones) with limited resources.
1 表示処理装置
2 記憶部
3 主制御部
4 無線通信部
5 バッテリ部
6 入力部
7 3D描画部(描画手段/第1の描画手段/3D描画手段)
8 2D描画部(描画手段/第2の描画手段/2D描画手段)
9 3Dフレームバッファ
10 2Dフレームバッファ
11 メディアアクセラレータ
12 表示部
13 イベント処理部
14 エフェクト処理部
15 切替制御部(切替制御手段)
16 引継情報管理部(引継情報管理手段)
17 音声処理部(音声再生手段)
18 音声出力部
19 放送波受信部
30 引継情報記憶部
31 スクリプト記憶部
41 3Dスクリプト(構造化データ)
42 2Dスクリプト(構造化データ)
43 共通スクリプト(構造化データ)
100 携帯電話(携帯電話機)
DESCRIPTION OF
8 2D drawing unit (drawing means / second drawing means / 2D drawing means)
9
16 Takeover information management part (takeover information management means)
17 Voice processing unit (voice playback means)
18
42 2D script (structured data)
43 Common script (structured data)
100 Mobile phone (mobile phone)
Claims (9)
オブジェクトを3次元で規定する構造化データに基づいて、表示対象の複数のオブジェクトを、3次元で各々描画する3D描画手段と、
オブジェクトを2次元で規定する構造化データに基づいて、上記複数のオブジェクトを、2次元で各々描画する2D描画手段と、
上記3D描画手段または上記2D描画手段がオブジェクトの各々に対して適用した処理内容を、オブジェクトごとに関連付けて引継情報として記憶する引継情報記憶部と、
自装置における所定のイベントの発生に応じて、上記表示部に描画結果を出力する描画手段を切替える切替制御手段とを備え、
上記各描画手段は、上記表示部に出力される描画結果が、他の描画手段によるものから自手段によるものに切替わる際、
上記各描画手段は、上記各オブジェクトに対して、上記引継情報記憶部においてオブジェクトごとに関連付けられている引継情報が示す処理内容を適用して、各オブジェクトを描画し、
上記切替制御手段は、自装置が備えるアクセラレータを3D描画に利用できない状況が発生したときに、上記表示部に描画結果を出力する描画手段を、上記3D描画手段から上記2D描画手段に切替えることを特徴とする表示処理装置。 In a display processing apparatus for selectively outputting drawing results by a plurality of drawing means to a display unit,
3D rendering means for rendering each of a plurality of objects to be displayed in three dimensions based on structured data defining the objects in three dimensions ;
2D drawing means for drawing each of the plurality of objects in two dimensions based on structured data defining the objects in two dimensions ;
A takeover information storage unit that stores processing contents applied to each of the objects by the 3D drawing unit or the 2D drawing unit in association with each object as takeover information ;
A switching control unit that switches a drawing unit that outputs a drawing result to the display unit in response to the occurrence of a predetermined event in the device ;
Each drawing means, when the drawing result output to the display unit is switched from the other drawing means to the own means,
Each drawing means applies the processing content indicated by the takeover information associated with each object in the takeover information storage unit to each object, draws each object ,
The switching control means switches the drawing means for outputting the drawing result to the display unit from the 3D drawing means to the 2D drawing means when a situation occurs in which the accelerator included in the apparatus cannot be used for 3D drawing. A characteristic display processing device.
自装置が備える音声再生手段が、音声を再生する際に上記アクセラレータを利用するときに、上記表示部に描画結果を出力する描画手段を、上記3D描画手段から上記2D描画手段に切替えることを特徴とする請求項1に記載の表示処理装置。 When the sound reproduction means provided in the own apparatus uses the accelerator for reproducing sound, the drawing means for outputting a drawing result to the display unit is switched from the 3D drawing means to the 2D drawing means. The display processing apparatus according to claim 1.
上記アクセラレータが3D描画に利用できない状況から利用できる状況に復帰したときに、上記表示部に描画結果を出力する描画手段を、上記2D描画手段から上記3D描画手段に切替えることを特徴とする請求項1または2に記載の表示処理装置。 The drawing means for outputting a drawing result to the display unit when the accelerator is restored from a situation where the accelerator cannot be used for 3D drawing is switched from the 2D drawing means to the 3D drawing means. 3. The display processing device according to 1 or 2.
上記各描画手段の切替えの直前に、切替わる前の描画手段が適用した1の処理内容を、上記オブジェクトに関連付けて記憶していることを特徴とする請求項1から3までのいずれか1項に記載の表示処理装置。 The processing content of 1 applied by the drawing means before switching is stored in association with the object immediately before the switching of each drawing means. The display processing device according to 1.
上記引継情報管理手段は、 The takeover information management means
自装置におけるイベントの発生に応じて上記3D描画手段または上記2D描画手段がオブジェクトに対して処理を適用したときに、上記引継情報を、適用した処理内容に更新することを特徴とする請求項1から4までのいずれか1項に記載の表示処理装置。 2. The takeover information is updated to the applied processing content when the 3D drawing means or the 2D drawing means applies a process to an object in response to the occurrence of an event in its own apparatus. 5. The display processing device according to any one of items 1 to 4.
オブジェクトを3次元で規定する構造化データに基づいて、表示対象の複数のオブジェクトを、3次元で各々描画する3D描画ステップ、または、オブジェクトを2次元で規定する構造化データに基づいて、上記複数のオブジェクトを、2次元で各々描画する2D描画ステップのいずれかを実行する描画実行ステップと、 Based on the structured data defining the object in three dimensions, the 3D rendering step for rendering each of the plurality of objects to be displayed in three dimensions, or the structured data defining the object in two dimensions A drawing execution step for executing any one of the 2D drawing steps for drawing each of the objects in two dimensions;
自装置における所定のイベントの発生に応じて、上記表示部に描画結果を出力する描画手段を切替える切替制御ステップとを含み、 A switching control step of switching a drawing means for outputting a drawing result to the display unit in response to occurrence of a predetermined event in the own device,
上記表示処理装置の引継情報記憶部には、 In the takeover information storage unit of the display processing device,
上記描画実行ステップの実行中に上記オブジェクトの各々に対して適用された処理内容を、オブジェクトごとに関連付けた引継情報が記憶されており、 Inheritance information that associates, for each object, the processing content applied to each of the objects during execution of the drawing execution step is stored.
上記描画実行ステップにおいて実行される描画ステップが、上記3D描画ステップおよび上記2D描画ステップのいずれかに切替わったとき、 When the drawing step executed in the drawing execution step is switched to either the 3D drawing step or the 2D drawing step,
切替わった上記3D描画ステップまたは上記2D描画ステップでは、 In the switched 3D drawing step or 2D drawing step,
上記各オブジェクトに対して、上記引継情報記憶部においてオブジェクトごとに関連付けられている引継情報が示す処理内容を適用して、各オブジェクトを描画し、 Applying the processing content indicated by the takeover information associated with each object in the takeover information storage unit to each object, drawing each object,
上記切替制御ステップでは、自装置が備えるアクセラレータを3D描画に利用できない状況が発生したときに、上記表示部に描画結果を出力する描画実行ステップにおいて、上記3D描画ステップから上記2D描画ステップに切替えることを特徴とする表示処理方法。 In the switching control step, when a situation occurs in which the accelerator included in the apparatus cannot be used for 3D drawing, the drawing execution step of outputting the drawing result to the display unit switches from the 3D drawing step to the 2D drawing step. A display processing method characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008039172A JP4230528B1 (en) | 2008-02-20 | 2008-02-20 | Display processing device, mobile phone provided with display processing device, display processing method, control program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008039172A JP4230528B1 (en) | 2008-02-20 | 2008-02-20 | Display processing device, mobile phone provided with display processing device, display processing method, control program, and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP4230528B1 true JP4230528B1 (en) | 2009-02-25 |
JP2009199260A JP2009199260A (en) | 2009-09-03 |
Family
ID=40445135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008039172A Expired - Fee Related JP4230528B1 (en) | 2008-02-20 | 2008-02-20 | Display processing device, mobile phone provided with display processing device, display processing method, control program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4230528B1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8289333B2 (en) | 2008-03-04 | 2012-10-16 | Apple Inc. | Multi-context graphics processing |
US8477143B2 (en) | 2008-03-04 | 2013-07-02 | Apple Inc. | Buffers for display acceleration |
US9418171B2 (en) * | 2008-03-04 | 2016-08-16 | Apple Inc. | Acceleration of rendering of web-based content |
-
2008
- 2008-02-20 JP JP2008039172A patent/JP4230528B1/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009199260A (en) | 2009-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108845856B (en) | Object-based synchronous updating method and device, storage medium and equipment | |
CN105359121B (en) | Use the application remote operation for receiving data | |
CN111597000B (en) | Small window management method and terminal | |
US20100039399A1 (en) | Mobile terminal and method of controlling operation of the mobile terminal | |
WO2021175143A1 (en) | Picture acquisition method and electronic device | |
CN111191176B (en) | Website content updating method, device, terminal and storage medium | |
WO2022161119A1 (en) | Display method and electronic device | |
CN114201097B (en) | Interaction method between multiple application programs | |
CN108228776A (en) | Data processing method, device, storage medium and electronic equipment | |
CN114721761B (en) | Terminal equipment, application icon management method and storage medium | |
JP4230528B1 (en) | Display processing device, mobile phone provided with display processing device, display processing method, control program, and recording medium | |
CN113709026B (en) | Method, device, storage medium and program product for processing instant communication message | |
EP4195623A1 (en) | Application interface migration system, method, and related device | |
CN111443858B (en) | Display method, device, terminal and storage medium of application interface | |
CN112565870B (en) | Content caching and reading method, client and storage medium | |
CN110889060A (en) | Webpage display method and device, computer equipment and storage medium | |
CN113642010B (en) | Method for acquiring data of extended storage device and mobile terminal | |
CN115033193B (en) | Screen turning processing method and device, medium and electronic equipment | |
CN113157092B (en) | Visualization method, terminal device and storage medium | |
JP2008065699A (en) | Information-processing device | |
US20150074530A1 (en) | Method for controlling content in mobile electronic device | |
JP2008085847A (en) | Mobile electronic apparatus, catalogue image displaying method in mobile electronic apparatus, and program | |
CN113378085B (en) | Page loading method, device, terminal and storage medium | |
JP2006139443A (en) | Portable terminal device having scenario type icon system | |
CN114143456B (en) | Photographing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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: 20081202 |
|
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: 20081203 |
|
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: 20111212 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |