JP5253348B2 - Status display device - Google Patents
Status display device Download PDFInfo
- Publication number
- JP5253348B2 JP5253348B2 JP2009229496A JP2009229496A JP5253348B2 JP 5253348 B2 JP5253348 B2 JP 5253348B2 JP 2009229496 A JP2009229496 A JP 2009229496A JP 2009229496 A JP2009229496 A JP 2009229496A JP 5253348 B2 JP5253348 B2 JP 5253348B2
- Authority
- JP
- Japan
- Prior art keywords
- request
- data
- unit
- liquid crystal
- image data
- 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
- 239000004973 liquid crystal related substance Substances 0.000 claims description 81
- 238000000034 method Methods 0.000 description 66
- 230000008569 process Effects 0.000 description 49
- 238000010586 diagram Methods 0.000 description 18
- 230000001174 ascending effect Effects 0.000 description 9
- 230000000007 visual effect Effects 0.000 description 9
- 238000012508 change request Methods 0.000 description 5
- 238000010422 painting Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 238000009877 rendering Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000003213 activating effect Effects 0.000 description 2
- 239000011248 coating agent Substances 0.000 description 2
- 238000000576 coating method Methods 0.000 description 2
- 206010047571 Visual impairment Diseases 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000020169 heat generation Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012804 iterative process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000003973 paint Substances 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
Images
Landscapes
- Air Conditioning Control Device (AREA)
- Digital Computer Display Output (AREA)
- Image Generation (AREA)
Description
本発明は、空気調和機等の家電機器における状態表示装置に関する。 The present invention relates to a status display device in home appliances such as an air conditioner.
空気調和機や家電機器等の電子機器の多機能化により、従来の数個のボタンと直結した固定内容の液晶の表示(例えば、セグメント液晶表示)を組み合わせるだけでは機器を操作しきれなくなっている。そこで、低価格化してきた汎用液晶により液晶に任意の図形及び画像を表示(いわゆるフルドット液晶表示)し、さらにはこの性質を利用して画面表示を切り替えたり説明用の小さな窓上のウインドウ表示を組み合わせる方法(いわゆるグラフィカルユーザインタフェース:GUI)により多機能性と使いやすさとを両立した機器が製造されるようになっている。利用者にとっても、基本機能をすぐ使えて、応用機能も使えるような操作性は利便性の向上につながっている。しかしこれら機器の表示装置においては製造コストの観点から液晶への表示内容や操作装置には大きな制約がある。 Due to the multi-functionality of electronic devices such as air conditioners and home appliances, it is not possible to operate the devices simply by combining a fixed LCD display (for example, segment LCD display) directly connected to several conventional buttons. . Therefore, it is possible to display arbitrary figures and images on the liquid crystal using so-called low-cost general-purpose liquid crystal (so-called full-dot liquid crystal display), and further switch the screen display using this property or display the window on a small window for explanation. By combining these two methods (so-called graphical user interface: GUI), a device having both multifunctionality and ease of use is manufactured. For the user, the operability that the basic functions can be used immediately and the applied functions can be used has led to an improvement in convenience. However, in the display devices of these devices, display contents on the liquid crystal and operation devices are greatly restricted from the viewpoint of manufacturing cost.
しかし、組込機器に用いられるマイコンは、コスト、発熱、消費電力等の観点からパソコンと比較して処理能力の低いものが用いられ、その性能比は速度1/100、記憶容量1/1000以下であることが多い。前述のフルドット液晶表示は微小な発光点を組み合わせて表示の自由度を実現するため、一つの図形を表示するだけでも多くの命令数を必要とする。例えば、1cm角の四角形を描画するために100個程度の微小な発光点を変化させねばならず、このためにはおよそ1000命令程度を要する。このような図形表示を組み合わせ、さらに画面表示切替により頻繁に描画するGUI処理のために、マイコン処理能力の大部分を消費し、また中間的な情報処理のために記憶容量の大部分を消費してしまい、本来の空気調和機や家電機器等の制御アプリケーションプログラムが遅延する等の影響がある。結果的に制御アプリケーションプログラムの設計が難しくなってしまうことが問題になる。 However, the microcomputer used for the embedded device has a lower processing capacity than a personal computer from the viewpoint of cost, heat generation, power consumption, etc., and its performance ratio is 1/100 speed and storage capacity 1/1000 or less. Often. Since the above-described full dot liquid crystal display realizes a degree of freedom of display by combining minute light emitting points, a large number of instructions are required even if only one figure is displayed. For example, in order to draw a 1 cm square, about 100 light emitting points must be changed, which requires about 1000 instructions. A large part of microcomputer processing capacity is consumed for GUI processing that combines such graphic displays and frequently draws by screen display switching, and a large part of storage capacity is consumed for intermediate information processing. As a result, the control application program of the original air conditioner, home appliance, etc. is delayed. As a result, it becomes a problem that the design of the control application program becomes difficult.
このような問題に対して、GUI部分の一部を専用のハードウェア化(以下、HW化という)することによって、マイコン処理能力の消費を低減し、描画処理を高速化するといった解決策が提案されている(例えば、特許文献1参照)。ハードウェアによる処理は、ソフトウエアによる処理に比べて非常に速い。これは、マイコンが最小単位クロックに同期してひとつずつ処理するのと比べ、クロックと無関係に並行して処理を実施することができ、さらにその並行度を最適化できるためである。このように一部の処理を専用HW化することによって処理を並行して実施することは、主たるアプリケーションがマイコンの処理能力を独占できるため、非常に有効な方法である。前記の例では1cm角の四角形を描画するために端点を算出するための10命令程度で済むようになる。従来、処理の一部を専用HW化する場合、「線の描写」又は「色の計算」等の描画命令単位でHW化する方法が提案されている。これらはグラフィックアクセラレータといった名称で商品化されている。 To solve this problem, a solution is proposed in which a part of the GUI is made into dedicated hardware (hereinafter referred to as “HW”), thereby reducing consumption of microcomputer processing capacity and speeding up drawing processing. (For example, refer to Patent Document 1). Processing by hardware is much faster than processing by software. This is because, compared with the case where the microcomputer processes one by one in synchronization with the minimum unit clock, the processing can be performed in parallel regardless of the clock, and the degree of parallelism can be optimized. Implementing processes in parallel by converting some processes into dedicated HWs in this way is a very effective method because the main application can monopolize the processing capacity of the microcomputer. In the above example, in order to draw a square of 1 cm square, about 10 instructions for calculating the end points are required. Conventionally, when a part of the processing is converted into a dedicated HW, a method of converting into HW in units of drawing commands such as “line drawing” or “color calculation” has been proposed. These are commercialized under the name of graphic accelerator.
しかしながら、上記のように描画命令単位でHW化した場合、GUIに関する処理を十分に切り離したとはいえない。液晶画面に多くの情報を図形及び画像として表示し、画面切り替えのため頻繁に描画要求がある場合、描画要求自体が非常に多く、相当量のマイコン処理能力を消費してしまうからである。 However, when the HW is rendered in units of drawing commands as described above, it cannot be said that the processing related to the GUI is sufficiently separated. This is because when a large amount of information is displayed on the liquid crystal screen as graphics and images and there are frequent drawing requests for screen switching, the drawing requests themselves are very large and consume a considerable amount of microcomputer processing capability.
逆に、GUI処理をまるごとHW化することは困難であった。GUIの画面自体はアプリケーションや製品ごとに異なるため、GUIの処理自体をHW化してしまうと、同じ画面しか作れなくなるためである。この場合、アプリケーションごとに専用のHWを作る必要があるが、これには膨大な手間とコストがかかるという問題がある。 On the other hand, it is difficult to turn the entire GUI process into HW. This is because the GUI screen itself is different for each application or product, and if the GUI processing itself is converted to HW, only the same screen can be created. In this case, it is necessary to create a dedicated HW for each application, but this has a problem that it takes enormous effort and cost.
本発明は、上記のような課題を解決するためになされたものであり、GUI描画のHW化の工夫によって描画処理を高速化することを目的とする。 The present invention has been made in order to solve the above-described problems, and an object of the present invention is to speed up the drawing process by devising the HW for GUI drawing.
本発明に係る状態表示装置は、液晶表示部と、該液晶表示部が画面表示をするために必要な描画演算を実施する描画演算部と、該描画演算部に描画演算を実施させる描画要求を生成する中央演算部と、前記描画演算部及び前記中央演算部がデータを読み書き可能である記憶部と、を備え、前記描画要求は、前記液晶表示部に表示させる範囲を示す描画範囲を含有し、前記中央演算部は、前記描画要求を前記記憶部に格納し、前記記憶部は、図形又は文字等の画像データを記憶し、前記描画演算部は、前記描画要求が前記記憶部に格納されているアドレスを保持するレジスターを備え、前記レジスターに保持されている前記アドレスに基づいて前記記憶部に格納されている前記描画要求を取得し、該描画要求にしたがって描画演算を実施し、その描画演算の結果を、前記液晶表示部が画面表示をするために必要な描画データとして前記記憶部に格納し、連続する次の前記描画要求がある場合は、次の前記描画要求のアドレスを前記レジスターに書き込み、前記液晶表示部は、前記記憶部に格納されている前記描画データに基づいて画面表示させるものであり、前記描画要求が、前記画像データを剰余によって描画すべき旨を指示する画像剰余の描画要求である場合には、前記描画演算部は、前記描画範囲で示される前記液晶表示部における表示座標を、前記画像データの幅で除算した剰余を算出し、前記表示座標において、前記画像データの左端から前記剰余数だけ右にあるデータを表示させる前記描画データを生成する描画演算を実施することを特徴とする。 A status display device according to the present invention includes a liquid crystal display unit, a drawing operation unit that performs drawing operations necessary for the liquid crystal display unit to display a screen, and a drawing request that causes the drawing operation unit to perform drawing operations. A central processing unit to generate, and a storage unit from which the central processing unit can read and write data, and the rendering request includes a rendering range indicating a range to be displayed on the liquid crystal display unit. The central processing unit stores the drawing request in the storage unit, the storage unit stores image data such as graphics or characters, and the drawing calculation unit stores the drawing request in the storage unit. includes a register for holding addresses, before Symbol acquires the drawing requests stored in the storage unit based on the address held in the register, performing a drawing operation in accordance with image drawing requests, its The rendering operation results, the liquid crystal display unit is stored in the storage unit as the drawing data necessary for the screen display, if there is a continuous following of the drawing request, the address of the next of said drawing request An image that writes to a register and that causes the liquid crystal display unit to display a screen based on the drawing data stored in the storage unit , and that the drawing request indicates that the image data should be drawn by a remainder In the case of a remainder drawing request, the drawing calculation unit calculates a remainder obtained by dividing the display coordinates in the liquid crystal display unit indicated by the drawing range by the width of the image data. A drawing operation for generating the drawing data for displaying the data on the right by the remainder from the left end of the image data is performed .
本発明によれば、描画演算手段が、描画繰返条件にしたがって、書き込み先アドレスを昇順で加算しながら、画像データを繰り返し描画することによって、描画演算手段は、繰り返し描画を実施している間は、中央演算手段とは独立に動作することができるので、中央演算手段の負荷を軽減することができる。また、描画要求の数が少なくて済むので、記憶領域の節約の観点から好ましい。 According to the present invention, the drawing calculation means repeatedly draws the image data while adding the write destination addresses in ascending order according to the drawing repetition condition, so that the drawing calculation means performs the repeated drawing. Can operate independently of the central processing means, so the load on the central processing means can be reduced. Further, since the number of drawing requests is small, it is preferable from the viewpoint of saving the storage area.
また、本発明によれば、画像データを利用して、描画範囲の左上座標における各座標値を画像データの幅及び高さの値で割った場合の剰余分ずらした画像データ上の位置から描画処理を実施することによって、ひとつの画像データから一部の画像部分を切り出して表示することができ、多種多様な描画処理を実施することができる。この場合も、線描画等で描画する場合と比べて、描画演算の回数を削減することができるので、描画処理の効率を向上させることができる。 According to the present invention, the image data is used to draw from the position on the image data shifted by the excess when each coordinate value in the upper left coordinate of the drawing range is divided by the width and height values of the image data. By performing the processing, it is possible to cut out and display a part of the image portion from one image data, and it is possible to perform a wide variety of drawing processing. Also in this case, since the number of drawing operations can be reduced as compared with the case of drawing by line drawing or the like, the efficiency of the drawing process can be improved.
実施の形態1.
図1は、本発明の実施の形態1に係る状態表示装置の機能ブロック図である。
図1で示されるように、状態表示装置は、中央演算手段101、描画演算手段104、記憶手段118及び液晶表示部123を備えている。
なお、中央演算手段101及び描画演算手段104は、同一のマイコンLSI(Large Scale Integration)に集積されていることが好ましい。
また、中央演算手段101、描画演算手段104及び記憶手段118はそれぞれ、本発明の「中央演算部」、「描画演算部」及び「記憶部」に相当する。
Embodiment 1 FIG.
FIG. 1 is a functional block diagram of a status display device according to Embodiment 1 of the present invention.
As shown in FIG. 1, the status display device includes a
The
The
まず、記憶手段118について説明する。
記憶手段118は、少なくとも、表示プログラム領域119、機器制御プログラム領域120、描画要求領域121及び描画結果領域122を有する。また、記憶手段118は、中央演算手段101及び描画演算手段104の双方からアクセスが可能である。
なお、表示プログラム領域119及び機器制御プログラム領域120は不揮発性記憶装置で構成され、描画要求領域121及び描画結果領域122は揮発性記憶装置で構成され、さらに、記憶手段118が中央演算手段101及び描画演算手段104と共に同一のマイコンLSIに集積されている、いわゆるシステムLSIとして実装されていることが好ましい。
First, the
The
The
表示プログラム領域119は、液晶表示部123に表示するための表示プログラムを格納しており、その表示プログラムは、状態表示装置のGUIに関する描画処理を規定している。機器制御プログラム領域120は、状態表示装置全体の動作を制御するための機器制御プログラムを格納している。この表示プログラム及び機器制御プログラムは、中央演算手段101が実行するプログラムである。
The
描画要求領域121は、描画演算手段104が実行する各種描画要求を格納している。中央演算手段101による各種演算結果に基づいて、描画要求が描画要求領域121に書き込まれる。
The drawing
描画結果領域122は、後述する液晶画面125に表示するための発光位置情報及び色情報(以下、描画データという)を格納するための記憶領域であり、一般的にフレームバッファーと呼ばれる。また、描画結果領域122は、液晶表示部123の液晶の発光点座標のそれぞれのアドレスに割り当てられた記憶空間で構成されている。本実施の形態では、描画結果領域122及び液晶表示部123の液晶の発光点座標とは1対1に対応している場合を例に説明するが、液晶表示部123の液晶に対して複数の描画結果領域を備えた構成であってもよい。
The drawing
次に、中央演算手段101について説明する。
中央演算手段101はマイコン又はCPU(Central Processing Unit)等によって構成されており、少なくとも、主レジスター102を備えており、この主レジスター102は命令アドレスレジスター103を有する。また、中央演算手段101は、命令アドレスレジスター103によって指し示された記憶手段118内の位置に記憶された情報を中央演算手段101の定義内容に基づき解釈し、四則演算、論理演算、データ転送、命令アドレス変更及び条件付命令アドレス変更を実施する。これらの演算等の組み合わせたプログラムにより複雑な計算及び機器の制御を実現する。本実施の形態においては、表示プログラム領域119及び機器制御プログラム領域120の位置に記憶された情報によって所定の複雑な動作を実現する。
Next, the
The central processing means 101 is constituted by a microcomputer, a CPU (Central Processing Unit) or the like, and includes at least a
主レジスター102は、各種演算処理を実施するためのデータレジスターや、記憶手段118へアクセスするためのアドレスを指定するアドレスレジスターを備えるが、本実施の形態では、命令アドレスレジスター103のみ図示している。
The
命令アドレスレジスター103は、中央演算手段101が実行する命令の、記憶手段118上のアドレスを保持するレジスターである。図1において、命令アドレスレジスター103から記憶手段118へ延びる矢印131及び矢印132は、命令アドレスレジスター103が記憶手段118のアドレスを指し示すことを意味している。
The
次に、描画演算手段104について説明する。
描画演算手段104は、液晶表示に特化した論理回路であって、記憶手段118を読み書きする機能を有する。また、描画演算手段104は、少なくとも、描画レジスター105及び描画機能110を備える。
Next, the drawing calculation means 104 will be described.
The
描画レジスター105は、少なくとも、指示アドレスレジスター106、開始終了指示レジスター107、割込要因レジスター108及び描画アドレスレジスター109を備える。
The
指示アドレスレジスター106は、描画演算手段104が実行する命令(以下、描画要求という)の、記憶手段118上のアドレスを保持するレジスターである。図1において、指示アドレスレジスター106から記憶手段118へ延びる矢印133は、指示アドレスレジスター106が記憶手段118のアドレスを指し示すことを意味している。
The
開始終了指示レジスター107は、描画演算手段104に描画処理の開始を指示する開始コマンドを保持するレジスターである。
The start /
割込要因レジスター108は、描画演算手段104から中央演算手段101に割り込み信号を発呼したときに、その割り込み要因を保持するレジスターである。
The interrupt factor register 108 is a register for holding an interrupt factor when an interrupt signal is issued from the drawing
描画アドレスレジスター109は、描画演算手段104による描画処理の結果の書き込み先となる記憶手段118のアドレスを保持するレジスターである。図1において、描画アドレスレジスター109から記憶手段118へ延びる矢印134は、描画アドレスレジスター109が記憶手段118のアドレスを指し示すことを意味している。
The
描画機能110は、少なくとも、解釈機能111、特定の描画機能を有する論理回路である線描画機能112、四角枠描画機能113、四角塗描画機能114及び画像描画機能115、並びに、描画範囲制約記憶116及び描画可否状態記憶117を備える。
The
解釈機能111は、描画演算手段104によって読み取られた指示アドレスレジスター106が指し示す描画要求領域121の描画要求を解釈し、その描画内容に応じて線描画機能112、四角枠描画機能113、四角塗描画機能114、画像描画機能115、のいずれかの論理回路を活性化する。その活性化された論理回路は、描画要求領域121から座標情報を読み取り、その座標情報に基づいて図形を描画結果領域122の所定位置へ描画データへ変換する。また、解釈機能111は、描画範囲制約記憶116の内容を更新する。
The
描画範囲制約記憶116は、描画演算手段104が描画可能な範囲を、描画の制約範囲として記憶する。すなわち、描画演算手段104は、描画範囲制約記憶116に記憶された描画範囲以外へは描画を実施しない。
The drawing
描画可否状態記憶117は、描画結果領域122に描画されたか、又は、全く描画されなかったかを示す情報を記憶する。
The drawing permission /
さらに、液晶表示部123について説明する
液晶表示部123は、少なくとも、表示アドレスレジスター124及び液晶画面125を備え、図示しない筐体に格納されている。また、液晶表示部123は、例えば、左上から右へ、さらに下方向へと時間経過とともに表示位置の移動に応じた内容を高速に発光させ、目に映る残像効果により二次元の画像を映し出す、いわゆるフルドット液晶表示を想定する。さらに、液晶表示部123は、描画結果領域122の描画データに基づいて液晶画面125の表示制御を実施する。
Further, the liquid
表示アドレスレジスター124は、液晶画面125の発光点を発光させるための描画データを格納した記憶手段118上のアドレスを保持するレジスターである。液晶表示部123は、この表示アドレスレジスター124が指し示す描画データを描画結果領域122から取得し、液晶画面125の発光点を発光させる。図1において、表示アドレスレジスター124から記憶手段118へ延びる矢印135は、表示アドレスレジスター124が記憶手段118のアドレスを指し示すことを意味している。また、表示アドレスレジスター124から液晶画面125へ延びる矢印136は、表示アドレスレジスター124が保持している発光位置情報及び色情報に基づいて液晶画面125に図形又は画像が表示されることを示している。
The
液晶画面125は、微小な発光点の集合である液晶を備え、液晶表示部123によって表示制御されて画面表示する。
The
図2は、本発明の実施の形態1に係る状態表示装置における描画要求領域121に格納されるデータの内容例を示す図である。
図2で示されるように、記憶手段118における描画要求領域121には、描画要求201〜描画要求204が格納されている。
FIG. 2 is a diagram showing an example of the contents of data stored in the
As shown in FIG. 2, the drawing
描画要求201は、描画開始指示201a、描画機能指示(四角枠)201b、描画範囲左上座標201c、描画範囲右下座標201d、描画太さ201e及び描画色(黒)201fを有する。
The
描画要求202は、描画開始指示202a、描画機能指示(描画範囲)202b、描画範囲左上座標202c及び描画範囲右下座標202dを有する。
The
描画要求203は、描画開始指示203a、描画機能指示(四角塗)203b、描画範囲左上座標203c、描画範囲右下座標203d、描画太さ203e及び描画色(灰)203fを有する。
The
描画要求204は、描画開始指示204a、描画機能指示(線描画)204b、描画範囲左上座標204c、描画範囲右下座標204d、描画太さ204e及び描画色(黒)204fを有する。
The
図3は、本発明の実施の形態1に係る状態表示装置における描画結果領域122の描画データの内容例を示す図である。描画データは、液晶画面125のどの部分を何色で発光させるか、といった情報を示すバイナリーデータである。ここでは、視覚的に説明するため、バイナリーデータに代えて、液晶画面125に表示される画面イメージ301を示す。
FIG. 3 is a diagram showing an example of the contents of drawing data in the
描画要求201は、四角枠(201b)を座標(0、0)(201c)と座標(9、9)(201d)とを対角とする矩形を太さ1(201e)、及び、色は黒(201f)で描画する要求を意味する。これを描画した結果は、図3(a)の矩形302となる。
The
描画要求202は、描画範囲(202b)を指定する特殊機能であり、以後の描画を座標(1、1)(202c)と座標(8、8)(202d)とを対角とする矩形に限るという要求を意味する。本要求は、描画範囲制約記憶116に記憶され、各描画機能である線描画機能112、四角枠描画機能113、四角塗描画機能114及び画像描画機能115の描画結果がその制約を受ける。この描画結果はこの時点では画面イメージ301に反映されない。
The
描画要求203は、塗りつぶし(203b)であり、座標(0、0)(203c)と座標(9、9)(203d)とを両端とする矩形範囲を塗りつぶす要求を意味する。ここで、描画要求202による制約を受け、実際には座標(1、1)と座標(8、8)とを両端とする矩形領域を塗りつぶす結果になる。これを描画した結果は、図3(b)の矩形塗303のようになる。また、描画要求202の制約により、矩形302の四角枠が上書きされずに残っている。
The
描画要求204は、線描画(204b)であり、座標(0、0)(204c)と座標(9、9)(204d)とを両端とする線分を太さ1(204e)、及び、色は黒(204f)で描画する要求を意味する。これを描画した結果は、図3(c)の線304のようになる。
The
図4は、本発明の実施の形態1に係る状態表示装置が複数の描画要求を処理する動作を説明する図である。ここでは、図1の一部を抜粋して記載し、同様の構成には同様の符号を付した。
図4で示されるように、描画要求領域121には、描画1要求(401)、描画2要求(402)、終了2要求(403)、描画3要求(404)、描画4要求(405)、終了1要求(406)が格納されている。各描画要求においては、図2で説明した描画要求201〜204と同様に、描画開始指示等の事項が指定されているものとする。以下、図4を用いて、各描画要求を処理する手順を下記ステップ(1)〜ステップ(13)で説明する。
FIG. 4 is a diagram illustrating an operation in which the state display device according to Embodiment 1 of the present invention processes a plurality of drawing requests. Here, a part of FIG. 1 is extracted and described, and the same reference numerals are given to the same components.
As shown in FIG. 4, the drawing
(1)指示アドレスレジスター106に格納されているアドレスは、描画1要求(401)の位置を指し示しているとする。
なお、指示アドレスレジスター106に描画1要求(401)のアドレスを書き込むのは、中央演算手段101でもよいし、その他の機能部でもよい。
(1) It is assumed that the address stored in the
The central processing means 101 may be used to write the address of the drawing 1 request (401) in the
(2)中央演算手段101は、開始終了指示レジスター107に、描画処理を開始すべき旨の開始指示を書き込む。
(2) The central processing means 101 writes a start instruction for starting the drawing process in the start /
(3)描画演算手段104は、開始終了指示レジスター107に開始指示が書き込まれると、描画機能110が備える解釈機能111によって、線描画機能112等の各描画機能を活性化させながら、下記手順を開始する。
(3) When the start instruction is written in the start /
(4)描画演算手段104は、指示アドレスレジスター106に格納されているアドレスに基づいて描画1要求(401)を取得し、その内容に応じて描画処理を実施する。次に、描画演算手段104は、指示アドレスレジスター106に、描画2要求(402)が格納されている記憶手段118上のアドレスを書き込む。
(4) The
(5)描画演算手段104は、指示アドレスレジスター106に格納されているアドレスに基づいて描画2要求(402)を取得し、その内容に応じて描画処理を実施する。次に、描画演算手段104は、指示アドレスレジスター106に、終了2要求(403)が格納されている記憶手段118上のアドレスを書き込む。
(5) The
(6)描画演算手段104は、指示アドレスレジスター106に格納されているアドレスに基づいて終了2要求(403)を取得する。次に、描画演算手段104は、終了2要求(403)の内容にしたがって、中央演算手段101に割込411を発呼し、割込要因レジスター108に要因2終了(412)を書き込む。ここで、描画演算手段104は、割込411の発呼に先立って、割込要因レジスター108へ要因2終了(412)を書き込むものとする。
(6) The
(7)描画演算手段104は、指示アドレスレジスター106に、次の描画要求である描画3要求(404)が格納されている記憶手段118上のアドレスを書き込んで、描画処理を中断する。
(7) The drawing operation means 104 writes the address on the storage means 118 storing the
(8)中央演算手段101は、開始終了指示レジスター107に、描画処理を開始すべき旨の開始指示を書き込む。
(8) The central processing means 101 writes a start instruction to start the drawing process in the start /
(9)描画演算手段104は、開始終了指示レジスター107に開始指示が書き込まれると、下記手順を開始する。
(9) When the start instruction is written in the start /
(10)描画演算手段104は、指示アドレスレジスター106に格納されているアドレスに基づいて描画3要求(404)を取得し、その内容に応じて描画処理を実施する。次に、描画演算手段104は、指示アドレスレジスター106に、描画4要求(405)が格納されている記憶手段118上のアドレスを書き込む。
(10) The
(11)描画演算手段104は、指示アドレスレジスター106に格納されているアドレスに基づいて描画4要求(405)を取得し、その内容に応じて描画処理を実施する。次に、描画演算手段104は、指示アドレスレジスター106に、終了1要求(406)が格納されている記憶手段118上のアドレスを書き込む。
(11) The
(12)描画演算手段104は、指示アドレスレジスター106に格納されているアドレスに基づいて終了1要求(406)を取得する。次に、描画演算手段104は、終了1要求(406)の内容にしたがって、中央演算手段101に割込413を発呼し、割込要因レジスター108に要因1終了(414)を書き込む。ここで、描画演算手段104は、割込413の発呼に先立って、割込要因レジスター108へ要因1終了(414)を書き込むものとする。
(12) The
(13)描画演算手段104は、指示アドレスレジスター106に、次の描画要求が格納されている記憶手段118上のアドレスを書き込んで、描画処理を中断する。
(13) The
以上、描画演算手段104が複数の描画要求を処理する手順を説明した。
In the foregoing, the procedure in which the
図5は、本発明の実施の形態1に係る状態表示装置が描画要求を処理する動作の詳細を説明するフローチャートである。以下、図5を参照しながら、描画要求の処理の詳細を説明する。 FIG. 5 is a flowchart for explaining details of an operation in which the state display device according to Embodiment 1 of the present invention processes a drawing request. Details of the drawing request process will be described below with reference to FIG.
(S1200)
描画演算手段104は、いずれかの図形描画を開始する。
(S1200)
The drawing calculation means 104 starts any figure drawing.
(S1201)
描画演算手段104は、描画可否状態記憶117を初期化しておく。
(S1201)
The drawing
(S1202)
描画演算手段104は、描画終了判定を行う。描画終了条件に合致する場合はステップS1208へ進み、合致しない場合はステップS1203へ進む。
(S1202)
The drawing
(S1203)
描画演算手段104は、描画座標を算出する。
(S1203)
The drawing calculation means 104 calculates drawing coordinates.
(S1204)
描画演算手段104は、描画座標が描画範囲制約記憶116として記録されている範囲に収まるか否かを判定する。この判定は、横方向の座標の大小判定と縦方向の座標の大小判定とによって実施することができる。その制約に収まる場合はステップS1205へ進み、収まらない場合はステップS1207へ進む。
(S1204)
The drawing
(S1205)
描画演算手段104は、描画位置の描画データを変更する。
(S1205)
The drawing
(S1206)
描画演算手段104は、描画可否状態記憶117を変更する。
(S1206)
The drawing
(S1207)
描画演算手段104は、次の描画条件を算出する。算出後は、ステップS1202へ戻って同様の処理を繰り返す。
(S1207)
The drawing calculation means 104 calculates the next drawing condition. After the calculation, the process returns to step S1202 and the same processing is repeated.
(S1208)
描画演算手段104は、描画可否状態記憶117が初期状態のままであるか否かを判定する。初期状態のままでない場合はステップS1211へ進み、初期状態のままである場合ステップS1209へ進む。
(S1208)
The drawing
(S1209)
描画演算手段104は、全く描画がなされなかったものと判定し、割り込み要因として「描画範囲外」を設定する。
(S1209)
The drawing
(S1210)
描画演算手段104は、中央演算手段101に割込みを要求する。
(S1210)
The drawing calculation means 104 requests an interruption from the central calculation means 101.
(S1211)
描画演算手段104は、何らかの描画がなされたものと判定し、次指示アドレスへ移動して本動作フローを完了する。
(S1211)
The drawing
(S1212)
描画演算手段104は、本動作フローを完了するとともに、描画演算全体を中断する。
(S1212)
The drawing calculation means 104 completes this operation flow and interrupts the entire drawing calculation.
なお、描画範囲制約記憶116は、具体的には液晶画面125が表示しうる範囲と描画結果領域122から算出される範囲と描画要求領域121に記載された指示範囲とがあり、好ましくはそれぞれの判定をそれぞれ描画可否状態記憶117として記憶することが望ましい。
The drawing
図6は、本発明の実施の形態1に係る状態表示装置において複数の描画要求が記憶手段118上の複数の領域に分割して記録されている場合における描画要求の処理手順を説明する図である。図4と同様に、図1の一部を抜粋して記載し、同様の構成には同様の符号を付した。
図6で示されるように、記憶手段118には、描画要求群1(501)及び描画要求群2(506)が格納されているものとする。描画要求群1(501)は、描画1要求(502)、描画2要求(503)、描画3要求(504)、アドレス変更要求(505)から構成される。また、描画要求群2(506)は、描画4要求(507)、描画5要求(508)、描画6要求(509)、終了1要求(510)から構成される。各描画要求においては、図2で説明した描画要求201〜204と同様に、描画開始指示等の事項が指定されているものとする。
FIG. 6 is a diagram for explaining a processing procedure of a drawing request when a plurality of drawing requests are divided and recorded in a plurality of areas on the
As shown in FIG. 6, it is assumed that the drawing request group 1 (501) and the drawing request group 2 (506) are stored in the
アドレス変更要求(505)は、指示アドレスレジスター106の内容を、描画4要求(507)が格納されているアドレスに書き換えるように描画演算手段104へ指示するものである。
The address change request (505) instructs the
以下、図6を用いて、描画要求を処理する手順を下記ステップ(1)〜ステップ(8)で説明する。 Hereinafter, the procedure for processing a drawing request will be described in the following steps (1) to (8) with reference to FIG.
(1)指示アドレスレジスター106に格納されているアドレスは、描画1要求(502)の位置を指し示しているとする。
なお、指示アドレスレジスター106に描画1要求(502)のアドレスを書き込むのは、中央演算手段101でもよいし、その他の機能部でもよい。
(2)中央演算手段101は、開始終了指示レジスター107に、描画処理を開始すべき旨の開始指示を書き込む。
(1) Assume that the address stored in the
The central processing means 101 may be used to write the address of the drawing 1 request (502) in the
(2) The central processing means 101 writes a start instruction for starting the drawing process in the start /
(3)描画演算手段104は、開始終了指示レジスター107に開始指示が書き込まれると、描画機能110が備える解釈機能111によって、線描画機能112等の各描画機能を活性化させながら、下記手順を開始する。
(3) When the start instruction is written in the start /
(4)描画演算手段104は、指示アドレスレジスター106に格納されているアドレスに基づいて描画1要求(502)を取得し、その内容に応じて描画処理を実施する。次に、描画演算手段104は、指示アドレスレジスター106に、描画2要求(503)が格納されている記憶手段118上のアドレスを書き込む。
(4) The
(5)描画演算手段104は、指示アドレスレジスター106に格納されているアドレスに基づいて描画2要求(503)を取得し、その内容に応じて描画処理を実施する。次に、描画演算手段104は、指示アドレスレジスター106に、描画3要求(504)が格納されている記憶手段118上のアドレスを書き込む。
(5) The
(6)描画演算手段104は、指示アドレスレジスター106に格納されているアドレスに基づいて描画3要求(504)を取得し、その内容に応じて描画処理を実施する。次に、描画演算手段104は、指示アドレスレジスター106に、アドレス変更要求(505)が格納されている記憶手段118上のアドレスを書き込む。
(6) The
(7)描画演算手段104は、指示アドレスレジスター106に格納されているアドレスに基づいてアドレス変更要求(505)を取得する。次に、描画演算手段104は、その内容にしたがって、指示アドレスレジスター106に、描画4要求(507)が格納されている記憶手段118上のアドレスを書き込む。
(7) The
(8)以後の動作は、以上説明した各ステップと同様である。 (8) Subsequent operations are the same as those described above.
以上のように、本実施の形態1によれば、描画演算手段104は、連続する次の描画要求がある場合は、先の描画要求の処理を終了する前に次の描画要求のアドレスを指示アドレスレジスター106に書き込み、次の描画要求は、指示アドレスレジスター106に書き込んだアドレスに基づき取得するので、描画演算手段104は、指示アドレスレジスター106が保持しているアドレスに基づき、中央演算手段101とは独立して、連続する複数の描画要求を自律的に取得しながら処理することができる。そのため、中央演算手段101は、GUIに関する処理以外の処理に演算リソースを多く割り当てることができる。
As described above, according to the first embodiment, when there is a continuous next drawing request, the drawing
また、描画演算手段104は、中央演算手段101のクロック周波数等に依拠することなく、複数の描画要求を独自に処理することができるので、中央演算手段101は、液晶表示部123の表示更新のために多くの演算リソースを割く必要はなくなり、他のアプリケーションの処理等により多くの演算リソースを割り当てることができる。
Further, since the drawing
また、上記の動作のように、描画要求を分割して配置することができ、限られた記憶手段118の領域を活用して、描画要求の列が多いときに所定の記憶位置範囲の末尾に解釈位置を所定の記憶位置範囲の先頭に変更するよう指示することで、記憶位置範囲が狭い機器であっても描画要求を連続的に発呼することができる。
Further, as in the above-described operation, drawing requests can be divided and arranged, and by using the limited area of the
また、似て非なる画面表示のうち異なる部分と共通の部分とを分離して記述し、異なる部分から共通の部分へ自動的に合流するような描画要求を組み立てて発呼することもできる。 It is also possible to separate and describe different parts and common parts of similar and non-displayed screen displays and assemble and call a drawing request that automatically merges from different parts to the common part.
実施の形態2.
本実施の形態においては、実施の形態1に係る状態表示装置と相違する点を中心に説明する。本実施の形態に係る状態表示装置そのものの構成は、実施の形態1で説明したものと同様である。
本実施の形態では、単一の描画要求の中に描画繰り返し条件が含まれており、描画演算手段104がこれにしたがって同一の描画処理を繰り返し実施する動作例を説明する。
Embodiment 2. FIG.
In the present embodiment, the difference from the state display device according to the first embodiment will be mainly described. The configuration of the status display device itself according to the present embodiment is the same as that described in the first embodiment.
In the present embodiment, a description will be given of an operation example in which a drawing repetition condition is included in a single drawing request, and the drawing calculation means 104 repeatedly executes the same drawing processing in accordance with this.
図7は、本発明の実施の形態2に係る状態表示装置における描画要求領域121に格納されるデータの内容例を示す図である。
図7で示されるように、記憶手段118における描画要求領域121には、描画要求601が格納されている。
FIG. 7 is a diagram showing an example of the contents of data stored in the
As shown in FIG. 7, a
描画要求601は、描画開始指示601a、描画機能指示(画像)601b、描画範囲左上座標601c、描画範囲右下座標601d、描画繰返条件601e及び描画画像アドレス601fを有する。
The
描画機能指示(画像)601bが、画像データを描画すべき旨を指示する場合、描画画像アドレス601fには、描画すべき画像データ602の記憶手段118上におけるアドレスが格納される。また、描画繰返条件601eには、同一の画像データを繰り返し描画するための繰り返し条件が格納される。
When the drawing function instruction (image) 601b instructs to draw image data, the drawing image address 601f stores an address on the
図8は、本発明の実施の形態2に係る状態表示装置における描画結果領域122の描画データの内容例を示す図である。図8は、図7で例示した描画要求を実施した結果として描画結果領域122に格納される描画データの内容例を示す図であり、視覚的に説明するため、描画データそのものに代えて、液晶画面125に表示される画面イメージ301を示す。
FIG. 8 is a diagram showing an example of the contents of the drawing data in the
描画演算手段104は、描画繰返条件601eにしたがって、画像データ602を繰り返し描画する。ここでは、描画範囲701内に収まる範囲内で、画像データ602を横方向に繰り返し描画した例を示した。
The drawing calculation means 104 repeatedly draws the
図9は、画像データ602及び描画範囲701のサイズについて説明する図である。
FIG. 9 is a diagram for explaining the sizes of the
画像高さ951は、画像データ602を液晶画面125に描画したときの縦方向のサイズである。
The
画像幅952は、画像データ602を液晶画面125に描画したときの横方向のサイズである。
The image width 952 is the horizontal size when the
描画幅955は、描画範囲701を液晶画面125に描画したときの横方向のサイズである。
The drawing width 955 is the horizontal size when the
描画高さ956は、描画範囲701を液晶画面125に描画したときの縦方向のサイズである。ここでは、描画高さ956と画像高さ951が一致している例を示している。
The
図10は、本発明の実施の形態2に係る状態表示装置における描画演算手段104が描画結果領域122に画像データ602を繰り返し書き込む処理の詳細を説明する図である。
図10で示されるように、画像データ602は、塗りつぶした小型の矩形領域961及び矩形領域981と、その下方に配置された大型の矩形領域で構成されているものとする。また、繰り返し処理は、各矩形領域毎に実施されるものと仮定する。
以下、記憶手段118におけるアドレスとの対応関係と併せて、繰り返し処理の内容を説明する。
FIG. 10 is a diagram for explaining details of processing in which the
As shown in FIG. 10, it is assumed that the
The contents of the repetitive processing will be described below together with the correspondence with the address in the
(1)記憶手段118上におけるアドレス割り当て
描画結果領域122は、記憶手段118上で、昇順に増加するアドレスを割り当てられている。このアドレスと液晶画面125上における発光点の位置との対応関係は、以下のようになる。
(1) Address assignment on storage means 118 The drawing
(1.1)液晶画面125の最も左上の発光点は、描画結果領域122内の最も小さいアドレスに対応付けられる。
(1.2)以後、液晶画面125上の右に向かって、描画結果領域122内のアドレスが昇順に増加して対応付けられる。
(1.3)液晶画面125上の最右端に達すると、1発光点分の直下行の最左端発光点を次のアドレスに割り当てる。
(1.4)以後同様に、発光点の1行分毎に左から右に向かって描画結果領域122内のアドレスが昇順に対応付けられる。
(1.1) The light emission point at the upper left of the
(1.2) Thereafter, the addresses in the
(1.3) When the rightmost end on the
(1.4) Similarly, the addresses in the
(2)横方向の繰返し範囲
次に、描画範囲701の横方向の描画範囲について説明する。
(2) Repeating range in the horizontal direction Next, the horizontal drawing range of the
(2.1)矩形領域961の描画
描画演算手段104は、矩形領域961を表示するための描画データを、描画結果領域122に繰り返し書き込む。書き込み先のアドレスは、昇順で順次増加させる。これは、液晶画面125上では、左から右に向かって繰り返し描画を実施することに相当する。また、描画演算手段104は、繰り返し描画を実施する途中で、書き込み先のアドレスを昇順で増加させた際、そのアドレスに対応する書き込み位置が描画範囲701の右端部に相当する位置を超過した時点で、繰り返し描画を中断する。記憶手段118のアドレス上では、描画範囲701の右端よりも1つ先のアドレスは、描画範囲701の左端に割り当てられているため、そのまま繰り返し描画を継続すると誤った描画を実施してしまうからである。
(2.1) Drawing of
(2.2)矩形領域981の描画
描画演算手段104は、矩形領域981についても、矩形領域961と同様に繰り返し描画する。また、描画演算手段104は、矩形領域961の繰り返し条件と同様に、書き込み先のアドレスに対応する書き込み位置が描画範囲701の右端部に相当する位置を超過した時点で、繰り返し描画を中断する。
(2.2) Drawing of
(2.3)矩形領域961と矩形領域981の共通事項その1
描画演算手段104は、いずれの矩形領域についても、書き込み先のアドレスに対応する書き込み位置が描画範囲701の右端部に相当する位置を超過した時点で、繰り返し描画を中断する。記憶手段118上のアドレスは、描画範囲701の右端で途切れているわけではなく、そのまま左端につながっている。そのため、描画範囲701の右端部に相当する位置を超過したか否かは、例えばアドレスの数値を発光点の横方向の総数で割った剰余等を用いて判断するとよい。
(2.3) Common items 1 of the
The drawing
(2.4)矩形領域961と矩形領域981の共通事項その2
描画演算手段104は、同様に、書き込み先のアドレスに対応する書き込み位置が液晶画面125の右端部に相当する位置を超過した時点で、繰り返し描画を中断する。液晶画面125の右端を超えて描画することはできないからである。少なくとも、描画を開始した時点のアドレスと、現時点での書き込み先アドレスとの差分が、液晶表示部123の横方向の発光点個数を超過した場合には、繰り返しを中断することが望ましい。
(2.4) Common Items 2 of
Similarly, when the writing position corresponding to the writing destination address exceeds the position corresponding to the right end portion of the
(3)縦方向の繰返し範囲
次に、描画範囲701の縦方向の描画範囲について説明する。
(3) Vertical Repeat Range Next, the vertical drawing range of the
(3.1)矩形領域961の描画
描画演算手段104は、画像データ602を横方向に1行分繰り返し描画すると、2行目の繰り返し描画位置を算出する。図10の例では、矢印971で示されるように、矩形領域961の2行目の描画位置を求めることになる。具体的には、描画範囲701の左上端部から起算して、縦方向に画像高さ951に相当する量だけ移動させた位置に到達するまで、矩形領域961の書き込み先アドレスを増加させるとよい。書き込み先アドレスを増加させた結果、そのアドレスが描画範囲701の右下端部に相当するアドレスよりも大きくなったときは、書き込み位置が描画範囲701を超過していることになる。したがって、描画演算手段104は、繰り返し描画を中断する。
(3.1) Drawing of
(3.2)矩形領域981の描画
描画演算手段104は、矩形領域981についても、矩形領域961と同様に繰り返し描画する。すなわち、画像データ602を横方向に1行分繰り返し描画すると、2行目の繰り返し描画位置を算出する。図10の例では、矢印991で示されるように、矩形領域981の2行目の描画位置を求めることになる。また、描画演算手段104は、矩形領域961の繰り返し条件と同様に、書き込み先のアドレスに対応する書き込み位置が描画範囲701の右下端部に相当する位置を超過した時点で、繰り返し描画を中断する。
(3.2) Drawing of
(3.3)矩形領域961と矩形領域981の共通事項
描画演算手段104は、同様に、書き込み先のアドレスに対応する書き込み位置が液晶画面125の下端部に相当する位置を超過した時点で、繰り返し描画を中断する。液晶画面125の下端を超えて描画することはできないからである。
(3.3) Common Items of
図11は、本発明の実施の形態2に係る状態表示装置における描画演算手段104が繰り返し描画を実施する手順を説明するフローチャートである。以下、図11の各ステップについて説明する。
FIG. 11 is a flowchart illustrating a procedure in which the
(S1001)
描画演算手段104は、開始終了指示レジスター107に開始指示が書き込まれると、描画処理を開始する。
(S1001)
When the start instruction is written in the start /
(S1002)
描画演算手段104は、描画繰返条件601eに基づいて、図10で説明したような判断基準を用いて、繰り返し描画を継続するか否かを判定する。繰り返しを継続する場合はステップS1003へ進み、繰り返しを終了する場合はステップS1006へ進む。
(S1002)
The drawing
(S1003)
描画演算手段104は、描画を実施する位置に対応する記憶手段118上のアドレスを、図10で説明したような手法を用いて算出する。
(S1003)
The drawing
(S1004)
描画演算手段104は、ステップS1003で算出したアドレスに対応する位置が描画範囲701に含まれているか否かを、図10で説明したような判断基準を用いて判定する。含まれている場合はステップS1005へ進み、含まれていない場合はステップS1002へ戻って同様の処理を繰り返す。
(S1004)
The drawing
(S1005)
描画演算手段104は、描画を実施する位置に対応するアドレスに、描画データを書き込む。例えば、描画要求が指定する色情報を、当該アドレスに書き込む。
(S1006)
描画演算手段104は、描画処理を終了する。
(S1005)
The
(S1006)
The drawing
なお、上記の繰り返し描画の手順の説明においては、横方向及び縦方向共に繰り返し描画を実施することを想定して説明したが、横方向のみ、あるいは縦方向のみに繰り返し描画を実施する場合でも、処理は同様である。 In the above description of the repeated drawing procedure, it is assumed that repeated drawing is performed in both the horizontal direction and the vertical direction, but even when performing repeated drawing only in the horizontal direction or only in the vertical direction, The process is similar.
以上の動作のように、描画演算手段104は、描画繰返条件601eにしたがって、書き込み先アドレスを昇順で加算しながら、画像データ602を繰り返し描画することによって、描画演算手段104は、繰り返し描画を実施している間は、中央演算手段101とは独立に動作することができるので、中央演算手段101の負荷を軽減することができる。また、描画要求の数が少なくて済むので、記憶領域の節約の観点から好ましい。
As described above, the
また、小さな画像データをあらかじめ用意しておくのみで、この画像を繰り返し描画して模様等を描画することができる。これにより、模様を線描画等で描画する場合と比べて、描画演算の回数を削減することができるので、描画処理の効率を向上させることができる。 Further, only by preparing small image data in advance, it is possible to draw this image repeatedly and draw a pattern or the like. Thereby, compared with the case where a pattern is drawn by line drawing etc., since the frequency | count of a drawing calculation can be reduced, the efficiency of a drawing process can be improved.
また、描画演算手段104は、記憶手段118上の書き込み先アドレスが、描画範囲701の右端又は液晶画面125の右端に相当する位置を超えた場合は、繰り返し描画を中断するので、描画演算手段104は、繰り返し描画を適正に実施することができる。
The drawing
また、描画演算手段104は、記憶手段118上の書き込み先アドレスが、描画範囲701の下端又は液晶画面125の下端に相当する位置を超えた場合は、繰り返し描画を中断するので、描画演算手段104は、繰り返し描画を適正に実施することができる。
The drawing
なお、描画演算手段104は、記憶手段118上の書き込み先アドレスを昇順に加算していく最中で、そのアドレスが描画範囲701の左上端部に相当するアドレスに達していない間は、書き込みを実施しないようにするとよい。アドレスが描画範囲701の左上端部に相当するアドレスに達していない時点で書き込みを実施すると、描画範囲701よりも上部又は左部に画像を描画することになってしまうからである。
Note that the
実施の形態3.
本実施の形態においては、実施の形態1及び実施の形態2に係る状態表示装置と相違する点を中心に説明する。本実施の形態に係る状態表示装置そのものの構成は、実施の形態1で説明したものと同様である。
本実施の形態では、液晶表示部123における液晶画面125上にボタン等のGUI部品を画面表示する動作例を説明する。
In the present embodiment, a description will be given focusing on differences from the state display devices according to the first and second embodiments. The configuration of the status display device itself according to the present embodiment is the same as that described in the first embodiment.
In this embodiment, an operation example in which a GUI component such as a button is displayed on the
図12は、本発明の実施の形態3に係る状態表示装置において描画範囲1101に画像データを繰り返し描画してボタンを構成した例を示す図である。図12は、描画結果領域122に格納される描画データの内容例を示す図であり、視覚的に説明するため、描画データそのものに代えて、液晶画面125に表示される画面イメージ301を示す。
図12で示されるように、画面イメージ301上の描画範囲1101には、徐々に色合いが薄くなるグラデーション画像が「ボタン」の周囲に繰り返し描画されている。これによって、「ボタン」の周囲は単純な線で囲まれているのではなく、ぼかしがかかった縁取りで囲まれているかのような視覚効果を形成することができる。
FIG. 12 is a diagram showing an example in which buttons are configured by repeatedly drawing image data in the
As shown in FIG. 12, in the
同様に、2色で構成された画像データを「ボタン」の周囲に繰り返し描画することにより、「ボタン」の周囲に影があるかのような視覚効果を形成することができる。又は、光沢がかったハイライトのあるような視覚効果を形成することができる。 Similarly, it is possible to form a visual effect as if there is a shadow around the “button” by repeatedly drawing the image data composed of two colors around the “button”. Alternatively, a visual effect such as a glossy highlight can be created.
実施の形態4.
本実施の形態においては、実施の形態1及び実施の形態2に係る状態表示装置と相違する点を中心に説明する。本実施の形態に係る状態表示装置そのものの構成は、実施の形態1で説明したものと同様である。
本実施の形態では、描画範囲の左上座標における各座標値を画像データの幅及び高さの値で割った場合の剰余分ずらした画像データ上の位置から描画処理を実施する動作例を説明する。
Embodiment 4 FIG.
In the present embodiment, a description will be given focusing on differences from the state display devices according to the first and second embodiments. The configuration of the status display device itself according to the present embodiment is the same as that described in the first embodiment.
In the present embodiment, an operation example is described in which drawing processing is performed from the position on the image data that has been shifted in excess when each coordinate value in the upper left coordinates of the drawing range is divided by the width and height values of the image data. .
図13は、本発明の実施の形態4に係る状態表示装置における描画要求領域121に格納されるデータの内容例を示す図である。
図13(a)で示されるように、記憶手段118における描画要求領域121には、描画要求801が格納されている。
FIG. 13 is a diagram showing an example of the contents of data stored in the
As shown in FIG. 13A, a
描画要求801は、描画開始指示801a、描画機能指示(画像剰余)801b、描画範囲左上座標801c、描画範囲右下座標801d、描画繰返条件801e及び描画画像アドレス801fを有する。
The
描画機能指示(画像剰余)801bが、画像データを剰余によって描画すべき旨を指示する場合、描画画像アドレス801fには、描画すべき画像データ602の記憶手段118上におけるアドレスが格納される。また、描画繰返条件801eには、同一の画像データを剰余によってずらして繰り返し描画するための繰り返し条件が格納される。
When the drawing function instruction (image remainder) 801b instructs that the image data should be drawn by the remainder, the
図13(b)は、図13(a)で示される描画要求801によって描画結果領域122に格納される描画データの内容を示すものであり、ここでは、視覚的に説明するため、描画データそのものに代えて、液晶画面125に表示される画面イメージ301を示す。以下、図13を用いて、画面データを剰余によって描画する手順を下記ステップ(1)〜ステップ(5)について説明する。
FIG. 13B shows the contents of the drawing data stored in the
(1)描画演算手段104は、指示アドレスレジスター106に格納されているアドレスに基づいて描画要求を取得して、その描画要求に基づいて描画処理を実施する動作は、実施の形態1の図4で説明した動作と同様である。描画演算手段104は、指示アドレスレジスター106に格納されているアドレスに基づいて描画要求801を取得する。
(1) The
(2)描画演算手段104は、描画要求801における描画機能指示(画像剰余)801bによってこの描画処理が、画面データを剰余によって描画する処理であると判断する。
(2) The
(3)描画演算手段104は、描画範囲左上座標801cで示される描画範囲610の左上座標における横の座標(以下、X座標という)を画像データ602の幅で割った剰余(以下、Mod(X)と表記する)を算出する。ここでは、描画範囲610の左上座標のX座標は「0」なので、画像データ602の幅の値「2」で割った剰余は、Mod(X)=0となる。
(3) The
(4)描画演算手段104は、描画範囲左上座標801cで示される描画範囲610の左上座標における縦の座標(以下、Y座標という)を画像データ602の高さで割った剰余(以下、Mod(Y)と表記する)を算出する。ここでは、描画範囲610の左上座標のY座標は「0」なので、画像データ602の高さの値「4」で割った剰余は、Mod(Y)=0となる。
(4) The
(5)描画演算手段104は、描画範囲610の左上座標から、画像データ602の左上のピクセル情報からMod(X)分だけ右に、そして、Mod(Y)分だけ下にずらしたピクセル情報から表示し、描画範囲610のその左上座標から右に向かう方向、及び、下に向かう方向で、画像データ602におけるそのピクセル情報から右に向かう情報、及び、下に向かう情報を描画範囲610の右下座標に達するまで描画する。
(5) The drawing calculation means 104 starts from the pixel information shifted from the upper left coordinates of the
なお、描画範囲610に含まれる各座標について、剰余であるMod(X)及びMod(Y)を算出して、各座標ごとに、画像データ602の左上のピクセル情報からMod(X)分だけ右に、そして、Mod(Y)分だけ下にずらしたピクセル情報を表示させる動作としてもよい。
For each coordinate included in the
以上の動作による描画結果が図13(b)で示されている。ここでは、X座標及びY座標における剰余が共に「0」であり、描画範囲610の大きさが画像データ602の大きさと同一なので、描画範囲610には画像データ602がそのまま表示されている。
The drawing result by the above operation is shown in FIG. Here, since the remainder in the X coordinate and the Y coordinate is both “0” and the size of the
図14は、本発明の実施の形態4に係る状態表示装置における描画要求領域121に格納されるデータの別の内容例を示す図である。
図14(a)で示されるように、記憶手段118における描画要求領域121には、描画要求802が格納されている。
FIG. 14 is a diagram showing another content example of data stored in the
As shown in FIG. 14A, a
描画要求802は、描画開始指示802a、描画機能指示(画像剰余)802b、描画範囲左上座標802c、描画範囲右下座標802d、描画繰返条件802e及び描画画像アドレス802fを有する。
The
描画機能指示(画像剰余)802bが、画像データを剰余によって描画すべき旨を指示する場合、描画画像アドレス802fには、描画すべき画像データ602の記憶手段118上におけるアドレスが格納される。また、描画繰返条件802eには、同一の画像データを剰余によってずらして繰り返し描画するための繰り返し条件が格納される。
When the drawing function instruction (image remainder) 802b instructs that the image data should be drawn by the remainder, the drawing image address 802f stores the address on the
図14(b)は、図14(a)で示される描画要求801によって描画結果領域122に格納される描画データの内容を示すものであり、ここでは、視覚的に説明するため、描画データそのものに代えて、液晶画面125に表示される画面イメージ301を示す。以下、図14を用いて、画面データを剰余によって描画する手順を下記ステップ(1)〜ステップ(5)について説明する。
FIG. 14B shows the contents of the drawing data stored in the
(1)描画演算手段104は、指示アドレスレジスター106に格納されているアドレスに基づいて描画要求を取得して、その描画要求に基づいて描画処理を実施する動作は、実施の形態1の図4で説明した動作と同様である。描画演算手段104は、指示アドレスレジスター106に格納されているアドレスに基づいて描画要求802を取得する。
(1) The
(2)描画演算手段104は、描画要求802における描画機能指示(画像剰余)802bによってこの描画処理が、画面データを剰余によって描画する処理であると判断する。
(2) The
(3)描画演算手段104は、描画範囲左上座標802cで示される描画範囲710の左上座標におけるX座標を画像データ602の幅で割った剰余Mod(X)を算出する。ここでは、描画範囲710の左上座標のX座標は「1」なので、画像データ602の幅の値「2」で割った剰余は、Mod(X)=1となる。
(3) The
(4)描画演算手段104は、描画範囲左上座標802cで示される描画範囲710の左上座標におけるY座標を画像データ602の高さで割った剰余Mod(Y)を算出する。ここでは、描画範囲710の左上座標のY座標は「0」なので、画像データ602の高さの値「4」で割った剰余は、Mod(Y)=0となる。
(4) The
(5)描画演算手段104は、描画範囲710の左上座標から、画像データ602の左上のピクセル情報からMod(X)分だけ右に、そして、Mod(Y)分だけ下にずらしたピクセル情報から表示し、描画範囲710のその左上座標から右に向かう方向、及び、下に向かう方向で、画像データ602におけるそのピクセル情報から右に向かう情報、及び、下に向かう情報を描画範囲710の右下座標に達するまで描画する。ここで、描画範囲710の右端に達するまでに、画像データ602の右端に達してしまうので、この場合は、画像データ602の左端のピクセル情報からさらに描画する。すなわち、描画範囲の右端に達するまでに、画像データの右端に達した場合は、画像データの左端から描画し、描画範囲の下端に達するまでに、画像データの下端に達した場合は、画像データの上端から描画する。
(5) The drawing calculation means 104 starts from the pixel information shifted from the upper left coordinates of the
なお、描画範囲710に含まれる各座標について、剰余であるMod(X)及びMod(Y)を算出して、各座標ごとに、画像データ602の左上のピクセル情報からMod(X)分だけ右に、そして、Mod(Y)分だけ下にずらしたピクセル情報を表示させる動作としてもよい。
For each coordinate included in the
以上の動作による描画結果が図14(b)で示されている。ここでは、X座標における剰余が「1」及びY座標における剰余が「0」であり、描画範囲710の大きさが画像データ602の大きさと同一なので、描画範囲710には画像データ602が左右に反転した状態が表示されている。
The drawing result by the above operation is shown in FIG. Here, the remainder in the X coordinate is “1” and the remainder in the Y coordinate is “0”, and the size of the
図15は、本発明の実施の形態4に係る状態表示装置における描画結果領域122の描画データの内容例を示す図である。ここでは、視覚的に説明するため、描画データそのものに代えて、液晶画面125に表示される画面イメージ301を示す。
図15で示されるように、描画要求領域121には、描画要求901〜描画要求905が格納されている。
FIG. 15 is a diagram showing an example of the contents of drawing data in the
As shown in FIG. 15, the drawing
描画要求901は、図13の描画要求801及び図14の描画要求802と同様のデータ構成を有するが、図15においては、描画範囲左上座標901c、描画範囲右下座標901d及び描画画像アドレス901fのみ示している。描画要求902〜描画要求905においても同様である。
The
描画要求902は、描画範囲左上座標902c、描画範囲右下座標902d及び描画画像アドレス902fを有する。
The
描画要求903は、描画範囲左上座標903c、描画範囲右下座標903d及び描画画像アドレス903fを有する。
The
描画要求904は、描画範囲左上座標904c、描画範囲右下座標904d及び描画画像アドレス904fを有する。
The
描画要求905は、描画範囲左上座標905c、描画範囲右下座標905d及び描画画像アドレス905fを有する。
The
以下、図15を用いて、複数の描画要求により、画面データを剰余によって描画する手順を下記ステップ(1)〜ステップ(5)について説明する。なお、複数の描画要求による描画処理は、実施の形態1における図4及び図6で説明した動作内容と同様であるので、ここでは各描画要求に基づいた描画処理の動作内容のみを示す。 Hereinafter, with reference to FIG. 15, the following steps (1) to (5) will be described with respect to a procedure for drawing screen data with a remainder in response to a plurality of drawing requests. Note that drawing processing by a plurality of drawing requests is the same as the operation content described in FIG. 4 and FIG. 6 in the first embodiment, and therefore only the operation content of the drawing processing based on each drawing request is shown here.
(1)描画演算手段104は、描画要求901の描画範囲左上座標901cで示される描画範囲911の左上座標におけるX座標を画像データ603の幅で割った剰余Mod(X)、及び、描画範囲左上座標901cで示される描画範囲911の左上座標におけるY座標を画像データ603の高さで割った剰余Mod(Y)を算出する。ここでは、描画範囲911の左上座標のX座標は「0」、そして、Y座標は「0」なので、画像データ603の幅の値「8」で割った剰余は、Mod(X)=0、及び、Mod(Y)=0となる。そして、描画演算手段104は、描画範囲911の左上座標から、画像データ603の左上のピクセル情報からMod(X)=0だけ右に、そして、Mod(Y)=0だけ下にずらしたピクセル情報から表示し、描画範囲911の右下座標に達するまで描画する。
(1) The
(2)描画演算手段104は、描画要求902の描画範囲左上座標902cで示される描画範囲912の左上座標におけるX座標を画像データ603の幅で割った剰余Mod(X)、及び、描画範囲左上座標902cで示される描画範囲912の左上座標におけるY座標を画像データ603の高さで割った剰余Mod(Y)を算出する。ここでは、描画範囲912の左上座標のX座標は「8」、そして、Y座標は「0」なので、画像データ603の幅の値「8」で割った剰余は、Mod(X)=0、及び、Mod(Y)=0となる。そして、描画演算手段104は、描画範囲912の左上座標から、画像データ603の左上のピクセル情報からMod(X)=0だけ右に、そして、Mod(Y)=0だけ下にずらしたピクセル情報から表示し、描画範囲912の右下座標に達するまで描画する。
(2) The
(3)描画演算手段104は、描画要求903の描画範囲左上座標903cで示される描画範囲913の左上座標におけるX座標を画像データ603の幅で割った剰余Mod(X)、及び、描画範囲左上座標903cで示される描画範囲913の左上座標におけるY座標を画像データ603の高さで割った剰余Mod(Y)を算出する。ここでは、描画範囲913の左上座標のX座標は「12」、そして、Y座標は「0」なので、画像データ603の幅の値「8」で割った剰余は、Mod(X)=4、及び、Mod(Y)=0となる。そして、描画演算手段104は、描画範囲913の左上座標から、画像データ603の左上のピクセル情報からMod(X)=4だけ右に、そして、Mod(Y)=0だけ下にずらしたピクセル情報から表示し、描画範囲913の右下座標に達するまで描画する。
(3) The
(4)描画演算手段104は、描画要求904の描画範囲左上座標904cで示される描画範囲914の左上座標におけるX座標を画像データ603の幅で割った剰余Mod(X)、及び、描画範囲左上座標904cで示される描画範囲914の左上座標におけるY座標を画像データ603の高さで割った剰余Mod(Y)を算出する。ここでは、描画範囲914の左上座標のX座標は「16」、そして、Y座標は「4」なので、画像データ603の幅の値「8」で割った剰余は、Mod(X)=0、及び、Mod(Y)=4となる。そして、描画演算手段104は、描画範囲914の左上座標から、画像データ603の左上のピクセル情報からMod(X)=0だけ右に、そして、Mod(Y)=4だけ下にずらしたピクセル情報から表示し、描画範囲914の右下座標に達するまで描画する。
(4) The
(5)描画演算手段104は、描画要求905の描画範囲左上座標905cで示される描画範囲915の左上座標におけるX座標を画像データ603の幅で割った剰余Mod(X)、及び、描画範囲左上座標905cで示される描画範囲915の左上座標におけるY座標を画像データ603の高さで割った剰余Mod(Y)を算出する。ここでは、描画範囲915の左上座標のX座標は「16」、そして、Y座標は「0」なので、画像データ603の幅の値「8」で割った剰余は、Mod(X)=0、及び、Mod(Y)=4となる。そして、描画演算手段104は、描画範囲915の左上座標から、画像データ603の左上のピクセル情報からMod(X)=0だけ右に、そして、Mod(Y)=4だけ下にずらしたピクセル情報から表示し、描画範囲915の右下座標に達するまで描画する。
(5) The
以上の動作のように、描画演算手段104は、描画繰返条件にしたがって、書き込み先アドレスを昇順で加算しながら、画像データを繰り返し描画することによって、描画演算手段104は、繰り返し描画を実施している間は、中央演算手段101とは独立に動作することができるので、中央演算手段101の負荷を軽減することができる。また、描画要求の数が少なくて済むので、記憶領域の節約の観点から好ましい。
As described above, the
また、画像データを利用して、描画範囲の左上座標における各座標値を画像データの幅及び高さの値で割った場合の剰余分ずらした画像データ上の位置から描画処理を実施することによって、ひとつの画像データから一部の画像部分を切り出して表示することができ、多種多様な描画処理を実施することができる。この場合も、線描画等で描画する場合と比べて、描画演算の回数を削減することができるので、描画処理の効率を向上させることができる。 Also, by using the image data, by performing the drawing process from the position on the image data that is shifted by the excess when each coordinate value in the upper left coordinate of the drawing range is divided by the width and height values of the image data A part of the image portion can be cut out and displayed from one image data, and various kinds of drawing processes can be performed. Also in this case, since the number of drawing operations can be reduced as compared with the case of drawing by line drawing or the like, the efficiency of the drawing process can be improved.
101 中央演算手段、102 主レジスター、103 命令アドレスレジスター、104 描画演算手段、105 描画レジスター、106 指示アドレスレジスター、107 開始終了指示レジスター、108 割込要因レジスター、109 描画アドレスレジスター、110 描画機能、111 解釈機能、112 線描画機能、113 四角枠描画機能、114 四角塗描画機能、115 画像描画機能、116 描画範囲制約記憶、117 描画可否状態記憶、118 記憶手段、119 表示プログラム領域、120 機器制御プログラム領域、121 描画要求領域、122 描画結果領域、123 液晶表示部、124 表示アドレスレジスター、125 液晶画面、131〜136 矢印、201 描画要求、201a 描画開始指示、201b 描画機能指示(四角枠)、201c 描画範囲左上座標、201d 描画範囲右下座標、201e 描画太さ、201f 描画色(黒)、202 描画要求、202a 描画開始指示、202b 描画機能指示(描画範囲)、202c 描画範囲左上座標、202d 描画範囲右下座標、203 描画要求、203a 描画開始指示、203b 描画機能指示(四角塗)、203c 描画範囲左上座標、203d 描画範囲右下座標、203e 描画太さ、203f 描画色(灰)、204 描画要求、204a 描画開始指示、204b 描画機能指示(線描画)、204c 描画範囲左上座標、204d 描画範囲右下座標、204e 描画太さ、204f 描画色(黒)、301 画面イメージ、302 矩形、303 矩形塗、304 線、401 描画1要求、402 描画2要求、403 終了2要求、404 描画3要求、405 描画4要求、406 終了1要求、411 割込、412 要因2終了、413 割込、414 要因1終了、501 描画要求群1、502 描画1要求、503 描画2要求、504 描画3要求、505 アドレス変更要求、506 描画要求群2、507 描画4要求、508 描画5要求、509 描画6要求、510 終了1要求、601 描画要求、601a 描画開始指示、601b 描画機能指示(画像)、601c 描画範囲左上座標、601d 描画範囲右下座標、601e 描画繰返条件、601f 描画画像アドレス、602、603 画像データ、610、701、710 描画範囲、801 描画要求、801a 描画開始指示、801b 描画機能指示(画像剰余)、801c 描画範囲左上座標、801d 描画範囲右下座標、801e 描画繰返条件、801f 描画画像アドレス、802 描画要求、802a 描画開始指示、802b 描画機能指示(画像剰余)、802c 描画範囲左上座標、802d 描画範囲右下座標、802e 描画繰返条件、802f 描画画像アドレス、901 描画要求、901c、描画範囲左上座標、901d 描画範囲右下座標、901f 描画画像アドレス、902 描画要求、902c 描画範囲左上座標、902d 描画範囲右下座標、902f 描画画像アドレス、903 描画要求、903c 描画範囲左上座標、903d 描画範囲右下座標、903f 描画画像アドレス、904 描画要求、904c 描画範囲左上座標、904d 描画範囲右下座標、904f 描画画像アドレス、905 描画要求、905c 描画範囲左上座標、905d 描画範囲右下座標、905f 描画画像アドレス、911〜915 描画範囲、951 画像高さ、952 画像幅、955 描画幅、956 描画高さ、961 矩形領域、971 矢印、981 矩形領域、991 矢印、1101 描画範囲。 101 Central processing means, 102 Main register, 103 Instruction address register, 104 Drawing operation means, 105 Drawing register, 106 Instruction address register, 107 Start / end instruction register, 108 Interrupt factor register, 109 Drawing address register, 110 Drawing function, 111 Interpretation function, 112 line drawing function, 113 square frame drawing function, 114 square painting drawing function, 115 image drawing function, 116 drawing range restriction storage, 117 drawing availability state storage, 118 storage means, 119 display program area, 120 device control program Area, 121 drawing request area, 122 drawing result area, 123 liquid crystal display unit, 124 display address register, 125 liquid crystal screen, 131-136 arrow, 201 drawing request, 201a drawing start instruction, 20 b Drawing function instruction (square frame), 201c Drawing range upper left coordinate, 201d Drawing range lower right coordinate, 201e Drawing thickness, 201f Drawing color (black), 202 Drawing request, 202a Drawing start instruction, 202b Drawing function instruction (Drawing range) ), 202c Drawing range upper left coordinate, 202d Drawing range lower right coordinate, 203 Drawing request, 203a Drawing start instruction, 203b Drawing function instruction (square painting), 203c Drawing range upper left coordinate, 203d Drawing range lower right coordinate, 203e Drawing thickness , 203f Drawing color (gray), 204 Drawing request, 204a Drawing start instruction, 204b Drawing function instruction (line drawing), 204c Drawing range upper left coordinate, 204d Drawing range lower right coordinate, 204e Drawing thickness, 204f Drawing color (black) , 301 screen image, 302 rectangle, 303 rectangle painting, 304 lines, 401 Drawing 1 request, 402 Drawing 2 request, 403 End 2 request, 404 Drawing 3 request, 405 Drawing 4 request, 406 End 1 request, 411 Interrupt, 412 Factor 2 end, 413 Interrupt, 414 Factor 1 end, 501 Drawing request Group 1, 502 Drawing 1 request, 503 Drawing 2 request, 504 Drawing 3 request, 505 Address change request, 506 Drawing request group 2, 507 Drawing 4 request, 508 Drawing 5 request, 509 Drawing 6 request, 510 End 1 request, 601 Drawing request, 601a Drawing start instruction, 601b Drawing function instruction (image), 601c Drawing range upper left coordinate, 601d Drawing range lower right coordinate, 601e Drawing repetition condition, 601f Drawing image address, 602, 603 Image data, 610, 701, 710 Drawing range, 801 Drawing request, 801a Drawing start instruction, 801b Drawing function instruction (image remainder), 801c drawing range upper left coordinate, 801d drawing range lower right coordinate, 801e drawing repetition condition, 801f drawing image address, 802 drawing request, 802a drawing start instruction, 802b drawing function instruction (image remainder), 802c Drawing range upper left coordinate, 802d Drawing range lower right coordinate, 802e Drawing repetition condition, 802f Drawing image address, 901 Drawing request, 901c, Drawing range upper left coordinate, 901d Drawing range lower right coordinate, 901f Drawing image address, 902 Drawing request , 902c Drawing range upper left coordinate, 902d Drawing range lower right coordinate, 902f Drawing image address, 903 drawing request, 903c Drawing range upper left coordinate, 903d Drawing range lower right coordinate, 903f Drawing image address, 904 Drawing request, 904c Drawing range upper left coordinate 904d Lower-right coordinates of image range, 904f Drawing image address, 905 Drawing request, 905c Upper-left coordinates of drawing range, 905d Lower-right coordinates of drawing range, 905f Drawing image address, 911-915 Drawing range, 951 Image height, 952 Image width, 955 drawing Width, 956 Drawing height, 961 Rectangular area, 971 arrow, 981 Rectangular area, 991 arrow, 1101 Drawing range.
Claims (5)
該液晶表示部が画面表示をするために必要な描画演算を実施する描画演算部と、
該描画演算部に描画演算を実施させる描画要求を生成する中央演算部と、
前記描画演算部及び前記中央演算部がデータを読み書き可能である記憶部と、
を備え、
前記描画要求は、前記液晶表示部に表示させる範囲を示す描画範囲を含有し、
前記中央演算部は、前記描画要求を前記記憶部に格納し、
前記記憶部は、図形又は文字等の画像データを記憶し、
前記描画演算部は、
前記描画要求が前記記憶部に格納されているアドレスを保持するレジスターを備え、
前記レジスターに保持されている前記アドレスに基づいて前記記憶部に格納されている前記描画要求を取得し、
該描画要求にしたがって描画演算を実施し、その描画演算の結果を、前記液晶表示部が画面表示をするために必要な描画データとして前記記憶部に格納し、
連続する次の前記描画要求がある場合は、次の前記描画要求のアドレスを前記レジスターに書き込み、
前記液晶表示部は、前記記憶部に格納されている前記描画データに基づいて画面表示させるものであり、
前記描画要求が、前記画像データを剰余によって描画すべき旨を指示する画像剰余の描画要求である場合には、前記描画演算部は、前記描画範囲で示される前記液晶表示部における表示座標を、前記画像データの幅で除算した剰余を算出し、前記表示座標において、前記画像データの左端から前記剰余数だけ右にあるデータを表示させる前記描画データを生成する描画演算を実施する
ことを特徴とする状態表示装置。 A liquid crystal display,
A drawing calculation unit for performing drawing calculation necessary for the liquid crystal display unit to display a screen;
A central processing unit for generating a drawing request for causing the drawing operation unit to perform the drawing operation;
A storage unit in which the drawing operation unit and the central operation unit can read and write data;
With
The drawing request includes a drawing range indicating a range to be displayed on the liquid crystal display unit,
The central processing unit stores the drawing request in the storage unit,
The storage unit stores image data such as graphics or characters,
The drawing operation unit
A register for holding an address at which the drawing request is stored in the storage unit;
It acquires the drawing requests stored in the storage unit based on the address held in front Symbol register,
A drawing operation is performed according to the drawing request, and the result of the drawing operation is stored in the storage unit as drawing data necessary for the liquid crystal display unit to display a screen.
If there is a next successive drawing request, write the address of the next drawing request to the register,
The liquid crystal display unit is configured to display a screen based on the drawing data stored in the storage unit ,
When the drawing request is an image remainder drawing request for instructing that the image data should be drawn by a remainder, the drawing operation unit displays the display coordinates in the liquid crystal display unit indicated by the drawing range, Calculating a remainder divided by the width of the image data, and performing a drawing operation for generating the drawing data for displaying the data that is to the right of the number of remainders from the left end of the image data in the display coordinates. Status display device.
前記描画範囲で示される前記液晶表示部における表示座標を、前記画像データの高さで除算した剰余を算出し、
前記表示座標において、前記画像データの上端から前記剰余数だけ下にあるデータを表示させる前記描画データを生成する
ことを特徴とする請求項1記載の状態表示装置。 When the drawing request is a drawing request for the image remainder,
Calculating a remainder obtained by dividing the display coordinates in the liquid crystal display unit indicated by the drawing range by the height of the image data;
2. The state display device according to claim 1, wherein the drawing data for displaying data lower than the upper end of the image data by the remainder in the display coordinates is generated.
該液晶表示部が画面表示をするために必要な描画演算を実施する描画演算部と、
該描画演算部に描画演算を実施させる描画要求を生成する中央演算部と、
前記描画演算部及び前記中央演算部がデータを読み書き可能である記憶部と、
を備え、
前記描画要求は、前記液晶表示部に表示させる範囲を示す描画範囲を含有し、
前記中央演算部は、前記描画要求を前記記憶部に格納し、
前記記憶部は、図形又は文字等の画像データを記憶し、
前記描画演算部は、
前記描画要求が前記記憶部に格納されているアドレスを保持するレジスターを備え、
前記レジスターに保持されている前記アドレスに基づいて前記記憶部に格納されている前記描画要求を取得し、
該描画要求にしたがって描画演算を実施し、その描画演算の結果を、前記液晶表示部が画面表示をするために必要な描画データとして前記記憶部に格納し、
連続する次の前記描画要求がある場合は、次の前記描画要求のアドレスを前記レジスターに書き込み、
前記液晶表示部は、前記記憶部に格納されている前記描画データに基づいて画面表示させるものであり、
前記描画要求が、前記画像データを剰余によって描画すべき旨を指示する画像剰余の描画要求である場合には、前記描画演算部は、前記描画範囲で示される前記液晶表示部における左端の表示座標を、前記画像データの幅で除算した剰余を算出し、前記描画範囲の左端の表示座標から、前記画像データの左端より前記剰余数だけ右にあるデータを基点としてその基点の右側にあるデータを表示していき、前記描画範囲の右端の表示座標に達する前に前記画像データの右端のデータに達した場合は、前記画像データの左端のデータを始点として右側にあるデータを表示していく前記描画データを生成する描画演算を実施する
ことを特徴とする状態表示装置。 A liquid crystal display,
A drawing calculation unit for performing drawing calculation necessary for the liquid crystal display unit to display a screen;
A central processing unit for generating a drawing request for causing the drawing operation unit to perform the drawing operation;
A storage unit in which the drawing operation unit and the central operation unit can read and write data;
With
The drawing request includes a drawing range indicating a range to be displayed on the liquid crystal display unit,
The central processing unit stores the drawing request in the storage unit,
The storage unit stores image data such as graphics or characters,
The drawing operation unit
A register for holding an address at which the drawing request is stored in the storage unit;
It acquires the drawing requests stored in the storage unit based on the address held in front Symbol register,
A drawing operation is performed according to the drawing request, and the result of the drawing operation is stored in the storage unit as drawing data necessary for the liquid crystal display unit to display a screen.
If there is a next successive drawing request, write the address of the next drawing request to the register,
The liquid crystal display unit is configured to display a screen based on the drawing data stored in the storage unit ,
When the drawing request is an image remainder drawing request that indicates that the image data should be drawn by a remainder, the drawing operation unit displays the display coordinates of the left end in the liquid crystal display unit indicated by the drawing range Is calculated by dividing the image data by the width of the image data, and from the display coordinates at the left end of the drawing range, the data on the right side of the base point is the data that is to the right of the number of remainders from the left end of the image data. When the right end data of the image data is reached before reaching the display coordinates at the right end of the drawing range, the data on the right side is displayed starting from the left end data of the image data. A state display device that performs a drawing operation for generating drawing data .
前記描画範囲で示される前記液晶表示部における上端の表示座標を、前記画像データの高さで除算した剰余を算出し、
前記描画範囲の上端の表示座標から、前記画像データの上端より前記剰余数だけ下にあるデータを基点として下側にあるデータを表示していき、前記描画範囲の下端の表示座標に達する前に前記画像データの下端のデータに達した場合は、前記画像データの上端のデータを始点として下側にあるデータを表示していく前記描画データを生成する
ことを特徴とする請求項3記載の状態表示装置。 When the drawing request is a drawing request for the image remainder,
Calculating the remainder obtained by dividing the display coordinates of the upper end of the liquid crystal display unit indicated by the drawing range by the height of the image data;
From the display coordinates at the upper end of the drawing range, the lower data is displayed starting from the data lower than the upper end of the image data by the remainder, and before reaching the display coordinates at the lower end of the drawing range. 4. The state according to claim 3, wherein when the data at the lower end of the image data is reached, the drawing data for displaying the lower data starting from the data at the upper end of the image data is generated. Display device.
前記描画演算部は、
前記液晶表示部における発光位置及びその発光色を示す情報を前記描画データとして前記記憶部に格納させ、
前記液晶表示部は、
前記描画データが指定する前記発光位置及び前記発光色に基づいて画面表示する
ことを特徴とする請求項1〜請求項4のいずれかに記載の状態表示装置。 The liquid crystal display unit is composed of a full-dot liquid crystal display device,
The drawing operation unit
Information indicating the light emission position and the light emission color in the liquid crystal display unit is stored in the storage unit as the drawing data,
The liquid crystal display unit
The state display device according to any one of claims 1 to 4 , wherein a screen is displayed based on the light emission position and the light emission color designated by the drawing data.
Priority Applications (11)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009229496A JP5253348B2 (en) | 2009-10-01 | 2009-10-01 | Status display device |
PCT/JP2010/000324 WO2010087132A1 (en) | 2009-01-27 | 2010-01-21 | State display device and method for display in state display device |
ES10735604.0T ES2621989T3 (en) | 2009-01-27 | 2010-01-21 | State presentation device and state presentation device presentation method |
EP11006171.0A EP2444961B1 (en) | 2009-01-27 | 2010-01-21 | State display device and display method of state display device |
CN201310719114.7A CN103646639B (en) | 2009-01-27 | 2010-01-21 | And the display packing of |
SG2011043619A SG172162A1 (en) | 2009-01-27 | 2010-01-21 | State display device and method for display in state display device |
US13/140,862 US8970604B2 (en) | 2009-01-27 | 2010-01-21 | State display device and display method of state display device |
EP10735604.0A EP2383728B1 (en) | 2009-01-27 | 2010-01-21 | State display device and method for display in state display device |
CN201080005758.4A CN102301414B (en) | 2009-01-27 | 2010-01-21 | State display device and method for display in state display device |
ES11006171.0T ES2629847T3 (en) | 2009-01-27 | 2010-01-21 | State presentation device and state presentation device presentation method |
EP20110006172 EP2444963A3 (en) | 2009-01-27 | 2010-01-21 | State display device and display method of state display device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009229496A JP5253348B2 (en) | 2009-10-01 | 2009-10-01 | Status display device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011076522A JP2011076522A (en) | 2011-04-14 |
JP5253348B2 true JP5253348B2 (en) | 2013-07-31 |
Family
ID=44020411
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009229496A Expired - Fee Related JP5253348B2 (en) | 2009-01-27 | 2009-10-01 | Status display device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5253348B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6246395B2 (en) * | 2014-12-26 | 2017-12-13 | 三菱電機株式会社 | Control device and remote controller |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5947665A (en) * | 1982-09-10 | 1984-03-17 | Alps Electric Co Ltd | Processing system of picture pattern |
JPS6095490A (en) * | 1983-10-31 | 1985-05-28 | 株式会社東芝 | Drawing pattern filling circuit |
US4646078A (en) * | 1984-09-06 | 1987-02-24 | Tektronix, Inc. | Graphics display rapid pattern fill using undisplayed frame buffer memory |
JPS6247778A (en) * | 1985-08-28 | 1987-03-02 | Fujitsu Ltd | Pattern registering system |
JP2955797B2 (en) * | 1992-04-03 | 1999-10-04 | 京セラ株式会社 | Pattern generator |
JPH0934411A (en) * | 1995-07-25 | 1997-02-07 | Hitachi Ltd | Image display device and liquid crystal display controller |
JP2006185195A (en) * | 2004-12-27 | 2006-07-13 | Toshiba Corp | Graphical user interface device and method |
JP2007066099A (en) * | 2005-08-31 | 2007-03-15 | Canon Inc | Gui constitution system, gui constitution method, and program |
-
2009
- 2009-10-01 JP JP2009229496A patent/JP5253348B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011076522A (en) | 2011-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9373308B2 (en) | Multi-viewport display of multi-resolution hierarchical image | |
JP5956770B2 (en) | Tile-based graphics system and method of operating such a system | |
KR900008180B1 (en) | Displaying screen control method | |
EP2641157B1 (en) | Method and apparatus for displaying user interface capable of intuitively editing and browsing folder | |
CN106502667B (en) | A kind of rendering method and device | |
CN111133766B (en) | Image display method | |
WO2010087132A1 (en) | State display device and method for display in state display device | |
JP2010175786A (en) | State display device | |
CN116347699A (en) | Lamp effect control method of interactive lamp, electronic equipment and vehicle | |
JP5253348B2 (en) | Status display device | |
JP6078243B2 (en) | Display system and display program | |
JP2011154533A (en) | Device and program for controlling display | |
JP2010175638A (en) | Display device and method for display in display device | |
CN109800039B (en) | User interface display method and device, electronic equipment and storage medium | |
CN111459369B (en) | Interface element screening method, intelligent terminal and storage medium | |
EP2761396A1 (en) | Displaying hardware accelerated video on x window systems | |
CN113900746B (en) | Flexible display method and household appliance | |
KR100789602B1 (en) | On Screen Display Control | |
US20230195626A1 (en) | Variable dispatch walk for successive cache accesses | |
NL2023600B1 (en) | Method, device and computer program for overlaying a graphical image | |
CN116783612A (en) | Image processing method and system capable of sorting multiple primitives in real time and electronic equipment | |
CN117745874A (en) | Image drawing method and related equipment | |
JPS6315617B2 (en) | ||
CN115494999A (en) | Multi-layer drawing method and device, electronic equipment and storage medium | |
CN113900746A (en) | Flexible display method and household appliance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120724 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120919 |
|
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: 20130319 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130416 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5253348 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160426 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |