JP6523869B2 - GUI creation apparatus and GUI creation method - Google Patents
GUI creation apparatus and GUI creation method Download PDFInfo
- Publication number
- JP6523869B2 JP6523869B2 JP2015166369A JP2015166369A JP6523869B2 JP 6523869 B2 JP6523869 B2 JP 6523869B2 JP 2015166369 A JP2015166369 A JP 2015166369A JP 2015166369 A JP2015166369 A JP 2015166369A JP 6523869 B2 JP6523869 B2 JP 6523869B2
- Authority
- JP
- Japan
- Prior art keywords
- gui
- parameter
- mode
- mode number
- setting table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Description
本発明は、GUI作成装置およびGUI作成方法に関するものである。 The present invention relates to a GUI creation apparatus and a GUI creation method.
例えば特許文献1には、GUI作成において、プログラミング変更およびコンパイル不要の方法が記載されている。GUIの動作が複雑化している今日において、プログラミングレスのGUI作成を行う場合、多数の画像データおよびパラメータを設定する必要がある。このため、GUIのデータ量は増大し、GUI作成も複雑になっている。
For example,
特許文献1には、定義した通信プロトコルおよび各パラメータ設定でアニメーションのフレームを決定する方法が記載されているが、表示するアニメーションまたはパラメータが多くなるとデータ量が多くなり、メモリを圧迫するという問題がある。また、この場合には、GUI作成においても画面数が多くなり、操作性およびメンテナンス性が悪くなるという問題がある。
そこで、本発明は、少ないデータ量でGUIを作成することが可能な技術を提供することを目的とする。 Therefore, an object of the present invention is to provide a technology capable of creating a GUI with a small amount of data.
本発明に係るGUI作成装置は、モード番号毎に異なるGUI部品の画像を表示するための画像ファイルおよび画像のフレーム番号を決定するための換算係数を含む第1パラメータと、複数の前記モード番号で共通する第2パラメータとを格納するGUI設定テーブルと、外部から受信した受信データと、現在設定されているモード番号である現在モード番号とを格納するGUIデータメモリテーブルと、前記現在モード番号に対応する前記第1パラメータを前記GUI設定テーブルから読み出して、当該第1パラメータを前記GUIデータメモリテーブルに格納するGUIデータ選択部と、前記GUIデータメモリテーブルに格納された前記受信データと前記第1パラメータの前記換算係数に基づいて前記GUI部品の画像のフレーム番号を決定し、当該フレーム番号と前記第1パラメータの前記画像ファイルに基づいて前記GUI部品の画像を表示させるGUI表示部とを備えるものである。 The GUI creation device according to the present invention comprises an image file for displaying an image of a GUI component different for each mode number, a first parameter including a conversion coefficient for determining a frame number of the image, and a plurality of the mode numbers. A GUI setting table for storing a common second parameter, a GUI data memory table for storing received data received from the outside, and a current mode number which is a currently set mode number, and corresponding to the current mode number A GUI data selection unit that reads the first parameter to be read from the GUI setting table and stores the first parameter in the GUI data memory table; the received data stored in the GUI data memory table; and the first parameter Frame number of the image of the GUI part based on the conversion factor of Determined, in which and a GUI display unit for displaying an image of the GUI component on the basis of the image file of the with the frame number first parameter.
本発明によれば、GUI設定テーブルは、モード番号毎に異なるGUI部品の画像を表示するための画像ファイルおよび画像のフレーム番号を決定するための換算係数を含む第1パラメータと、複数のモード番号で共通する第2パラメータとを格納する。これにより、GUI設定テーブルは、第2パラメータをモード番号毎に格納しないため、GUIを作成する際に必要なデータ量を削減することができる。 According to the present invention, the GUI setting table includes an image file for displaying an image of a GUI component different for each mode number, a first parameter including a conversion coefficient for determining a frame number of the image, and a plurality of mode numbers And the common second parameter. As a result, the GUI setting table does not store the second parameter for each mode number, so it is possible to reduce the amount of data required when creating a GUI.
<実施の形態1>
本発明の実施の形態1について、図面を用いて以下に説明する。図1は、実施の形態1に係るGUI作成装置の機能ブロック図であり、図2は、GUI作成装置のハードウェア構成図である。
The first embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a functional block diagram of a GUI creation apparatus according to the first embodiment, and FIG. 2 is a hardware configuration diagram of the GUI creation apparatus.
図1に示すように、GUI作成装置は、例えば、自動車などに組み込まれる装置であり、GUIデータ選択部11、GUI表示部12、通信データ受信部13、GUI設定テーブル14、モード設定テーブル15、およびGUIデータメモリテーブル16を備えている。なお、実施の形態では、GUI作成装置を自動車などに組み込んだ場合について説明するが、これに限定されることなく他の機器に組み込むことも可能である。
As shown in FIG. 1, the GUI creation apparatus is an apparatus incorporated into, for example, a car, and the GUI
先ず、図2を用いて、各構成要素のハードウェア構成について説明する。GUI設定テーブル14、モード設定テーブル15、およびGUIデータメモリテーブル16には、メモリ22が採用され、メモリ22は、例えば、RAM、ROM、フラッシュメモリ、EPROM、EEPROM等の不揮発性または揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、またはDVD等が該当する。通信データ受信部13には、受信装置23が採用されている。
First, the hardware configuration of each component will be described with reference to FIG. A
GUIデータ選択部11およびGUI表示部12は、例えばプロセッサ21が、メモリ22に記憶されたプログラムを実行することによって実現される。プロセッサ21は、例えば、CPU(Central Processing Unit)、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサ、またはDSP等が該当する。上記プログラムは、GUIデータ選択部11およびGUI表示部12の手順および方法をコンピュータに実行させるものであり、例えば、ソフトウェア、ファームウェア、またはソフトウェアとファームウェアとの組み合わせにより実現される。
The GUI
なお、GUIデータ選択部11およびGUI表示部12は、ソフトウェアプログラムに従って動作することにより実現される構成に限ったものではなく、例えば、当該動作をハードウェアの電気回路で実現する信号処理回路であってもよい。または、GUIデータ選択部11およびGUI表示部12は、ソフトウェアプログラムにより実現される構成と、ハードウェアにより実現される構成との組み合わせであってもよい。
The GUI
図1に戻って、GUI作成装置の各構成要素について詳細に説明する。GUI設定テーブル14は、第1パラメータを含むGUI部品のパラメータの設定値を格納している。なお、第1パラメータの詳細については後述する。モード設定テーブル15は、GUI設定テーブル14におけるモード番号の取り得る範囲を示すモード数を格納している。GUIデータメモリテーブル16は、通信データ受信部13で受信した外部からの通信データ(受信データ)と、現在モード番号と、現在モード番号に対応する第1パラメータとを格納するテーブルである。ここで、モード番号とは、GUI部品の表示状態を指定するための番号であり、現在モード番号とは、現在設定されているモード番号である。
Returning to FIG. 1, each component of the GUI creation apparatus will be described in detail. The GUI setting table 14 stores setting values of parameters of the GUI component including the first parameter. The details of the first parameter will be described later. The mode setting table 15 stores the number of modes indicating the possible range of mode numbers in the GUI setting table 14. The GUI data memory table 16 is a table for storing external communication data (received data) received by the communication
GUIデータ選択部11は、現在モード番号に対応する第1パラメータをGUI設定テーブル14から読み出して、当該第1パラメータをGUIデータメモリテーブル16に格納する。GUI表示部12には、例えば、液晶モジュールを備えるディスプレイ(図示省略)が接続されている。
The GUI
GUI表示部12は、GUIデータメモリテーブル16に格納された通信データと第1パラメータの換算係数に基づいてGUI部品の画像のフレーム番号を決定し、当該フレーム番号と第1パラメータの画像ファイルに基づいてGUI部品の画像をディスプレイに表示させる。通信データ受信部13は、外部から通信データを受信し、当該通信データをGUIデータメモリテーブル16に格納する。
The
次に、各テーブルの詳細について説明する。図3は、GUI設定テーブル14の一例を示す図である。図4は、モード設定テーブル15の一例を示す図である。図5は、GUIデータメモリテーブル16の一例を示す図である。 Next, details of each table will be described. FIG. 3 is a diagram showing an example of the GUI setting table 14. FIG. 4 is a diagram showing an example of the mode setting table 15. As shown in FIG. FIG. 5 is a diagram showing an example of the GUI data memory table 16.
GUI設定テーブル14およびモード設定テーブル15は、GUI作成装置の製造段階において事前に設定されるテーブルである。モード設定テーブル15は、GUI部品のパターンを決定するテーブルであるが、図4に示す例の場合、モード数が20であるため、各GUI部品は最大20種類のパターンを持つことができる。また、モード設定テーブル15は、現在モード番号の初期値として使用される起動モード番号を格納している。この起動モード番号は、GUI装置の起動時に設定されるモード番号である。 The GUI setting table 14 and the mode setting table 15 are tables set in advance at the manufacturing stage of the GUI creation device. Although the mode setting table 15 is a table for determining the pattern of the GUI component, in the case of the example shown in FIG. 4, since the number of modes is 20, each GUI component can have a maximum of 20 types of patterns. The mode setting table 15 also stores a start mode number used as an initial value of the current mode number. The start mode number is a mode number set when the GUI device is started.
GUI設定テーブル14は、各GUI部品のパラメータの設定値を格納するテーブルである。GUI設定テーブル14には、表示する画面名、画面に表示するGUI部品名、およびGUI部品のパラメータの設定値が格納されている。図3では、GUI部品としてデジタルメータを例にしている。このデジタルメータは、画像ファイルに0から10000の数値を表示できる10001フレームの画像に対して、例えば、外部からの通信データにより5000の数値が入力された場合、5001フレーム目の5000の画像を表示するGUI部品である。パラメータとしてはモード毎(モード番号毎)に変化しないパラメータA、パラメータB、および通信項目と、モード毎(モード番号毎)に変化する画像ファイルおよび換算係数がある。ここで、画像ファイルおよび換算係数は、モード番号毎に異なる第1パラメータである。また、パラメータA、パラメータB、および通信項目は、複数のモード番号で共通する第2パラメータである。 The GUI setting table 14 is a table for storing setting values of parameters of each GUI component. The GUI setting table 14 stores screen names to be displayed, GUI component names to be displayed on the screen, and setting values of parameters of the GUI components. In FIG. 3, a digital meter is used as an example of the GUI component. This digital meter displays the 5000 image of the 5001st frame, for example, when the 5000 value is input by the communication data from the outside to the image of 10001 frames which can display the numerical value of 0 to 10000 in the image file GUI parts that The parameters include a parameter A, a parameter B, and a communication item that do not change for each mode (for each mode number), and an image file and conversion factor that change for each mode (for each mode number). Here, the image file and the conversion factor are first parameters that differ for each mode number. The parameter A, the parameter B, and the communication item are second parameters common to a plurality of mode numbers.
第1,第2パラメータはGUI部品毎に異なるパラメータである。第2パラメータであるパラメータA、パラメータB、および通信項目は、GUI設定テーブル14において先頭から配置されている。モード毎に変化する第1パラメータは、GUI設定テーブル14においてモード番号1から順にモード番号毎に画像ファイル、換算係数の順に配置されている。ここで、換算係数とは、GUI部品の画像のフレーム番号を決定するための係数である。例えば、外部からの通信データの単位がKm/hであり、これをMile/hに変換する場合、1/1.60934=0.62137を外部からの通信データに乗算すれば換算できる。換算係数とはこの係数のことを示す。
The first and second parameters are different for each GUI component. The second parameter, parameter A, parameter B, and communication item are arranged from the top in the GUI setting table 14. The first parameter changing for each mode is arranged in order of an image file and a conversion coefficient for each mode number from the
なお、図3に示すGUI設定テーブル14には、モード番号の項目が配置されていないが、モード設定テーブル15のモード数と同じ範囲のモード番号、すなわち、モード番号1からモード番号20に対応する第1パラメータがそれぞれ配置されているため、モード番号の項目を省略している。後述する図9においても同様である。より具体的に説明すると、GUI設定テーブル14には、モード番号1からモード番号20に対応する第1パラメータ(画像ファイルおよび換算係数)が順番に配置されている。このため、GUI設定テーブル14から第1パラメータを読み出すGUIデータ選択部11は、モード番号の項目がなくても、対象のモード番号部分のデータがどのアドレスに存在するか認識は可能である。
Although no item of mode number is arranged in the GUI setting table 14 shown in FIG. 3, the mode number in the same range as the number of modes in the mode setting table 15, that is,
GUIデータメモリテーブル16には、外部からの通信データ、および現在モード番号に対応する第1パラメータが格納される。また、換算係数と外部からの通信データに基づいて表示するGUI部品の画像のフレーム番号が決定され、当該フレーム番号がGUIデータメモリテーブル16に格納される。 The GUI data memory table 16 stores external communication data and a first parameter corresponding to the current mode number. Further, the frame number of the image of the GUI component to be displayed is determined based on the conversion factor and the communication data from the outside, and the frame number is stored in the GUI data memory table 16.
なお、外部からの通信データは、GUI作成装置が組み込まれる自動車の速度と、ユーザーによる外部操作により設定される現在モード番号を含んでいる。ここで、自動車の速度は、自動車に組み込まれた車速センサーなどで検出される。ユーザーによる外部操作とは、例えば、ユーザーがリモコン、GUI作成装置に接続されたタッチパネルまたはスイッチなどで行う操作である。 The communication data from the outside includes the speed of the car into which the GUI creation apparatus is incorporated and the current mode number set by the external operation by the user. Here, the speed of the vehicle is detected by a vehicle speed sensor or the like incorporated in the vehicle. The external operation by the user is, for example, an operation performed by the user using a remote control, a touch panel or a switch connected to the GUI creation apparatus.
次に、図6と図7を用いて、GUI作成装置の処理、すなわち、GUI作成方法について説明する。図6は、GUI作成装置の処理を示すフローチャートの一部であり、図7は、GUI作成装置の処理を示すフローチャートの残部である。 Next, processing of the GUI creation apparatus, that is, a GUI creation method will be described using FIGS. 6 and 7. FIG. 6 is a part of a flowchart showing processing of the GUI creation device, and FIG. 7 is the rest of the flowchart showing processing of the GUI creation device.
GUI作成装置が起動したとき、図6と図7で示される処理が実行される。最初に、GUIデータ選択部11は、モード設定テーブル15から起動モード番号を読み出して取得する(ステップS1)、取得した起動モード番号をGUIデータメモリテーブル16の現在モード番号に書き込む(ステップS2)。次に、GUIデータ選択部11は、GUIデータメモリテーブル16から現在モード番号を読み出して取得する(ステップS3)。ここで、起動時には現在モード番号として起動モード番号が使用されるが、それ以降はユーザーによる外部操作によって現在モード番号が書き換えられる。
When the GUI creation apparatus is activated, the processes shown in FIGS. 6 and 7 are executed. First, the GUI
続いて、GUIデータ選択部11は、GUI設定テーブル14から起動モード番号に対応する第1パラメータを読み出して取得し(ステップS4)、取得した第1パラメータをGUIデータメモリテーブル16に書き込む(ステップS5)。以上が1つのGUI部品に対する処理である。
Subsequently, the GUI
次に、GUIデータ選択部11は、GUI設定テーブル14に表示対象のGUI部品の残存がある場合(ステップS6においてYES)、次のGUI部品に対してステップS4からステップS6までの処理を繰り返す。GUIデータ選択部11は、GUI部品の残存がない場合(ステップS6においてNO)、処理をステップS7へ移行する。ここで、上記のようにステップS1からステップS6までの処理は、GUIデータ選択部11により実行される処理であり、以下説明するステップS7からステップS13までの処理は、GUI表示部12により実行される処理である。
Next, when there is a GUI component to be displayed remaining in the GUI setting table 14 (YES in step S6), the GUI
GUI表示部12は、GUIデータメモリテーブル16から第1パラメータを読み出す(ステップS7)。GUI表示部12は、GUIデータメモリテーブル16から通信項目の通信データ値(より具体的には、自動車の速度)を読み出して取得する(ステップS8)。GUI表示部12は、通信データ値と第1パラメータの1つである換算係数とを乗算したものに1を加えて演算を行う(ステップS9)。GUI表示部12は、演算結果を元に画像ファイルのフレーム番号を決定し、GUIデータメモリテーブル16の表示フレーム番号に書き込む(ステップS10)。上記の例を用いて説明すると、数値0の画像がフレーム番号0、数値10000の画像がフレーム番号10001と定義する0から10000の数値を表示できる10001フレームの画像に対して、通信データが5000、換算係数が0.5の場合、5000×0.5=2500となり、フレーム番号が2501の画像が選択される。
The
GUIデータメモリテーブル16に表示するGUI部品の残存がある場合(ステップS11においてYES)、GUI表示部12は、次のGUI部品に対してステップS7からステップS11までの処理を繰り返す。GUIデータメモリテーブル16に表示するGUI部品の残存がない場合(ステップS11においてNO)、GUI表示部12は、全てのGUI部品に対してGUIデータメモリテーブル16の表示フレーム番号の書き込みが完了後、全GUI部品の最終画像データを作成する(ステップS12)。次に、GUI表示部12は、最終画像データを映像信号に変換してディスプレイへ送信し(ステップS13)、ディスプレイ上に最終画像を表示させる。GUI表示部12は、ステップS13において映像信号の送信完了後、処理をS3へ移行させる。ここで、最終画像とは、ディスプレイ上に最終的に表示させる画像である。
If there is a GUI component to be displayed in the GUI data memory table 16 (YES in step S11), the
次に、図8を用いて、GUI表示部12の動作を説明する。図8は、GUI表示部12の動作を示す図である。0から10000を表示する10001フレームの画像ファイルAAAがある場合を考える。ケース1において、通信データが200、換算係数が1.0の場合、画像ファイルAAAの表示するフレーム番号は、通信データ値×換算係数+1で算出され201となり、フレーム番号201は200を表示する画像のため、ディスプレイには200が表示される。
Next, the operation of the
次にケース2において、通信データが200、換算係数が0.62137の場合、画像ファイルAAAの表示するフレーム番号は、200×0.62137+1=125.274、小数点第1位を四捨五入し、125となる。画像ファイルAAAのフレーム番号125は124を表示する画像のため、ディスプレイには124が表示される。
Next, in
次に、図9を用いて、GUI設定テーブル14にモード対応フラグを追加した場合について説明する。図9は、GUI設定テーブル14の他の例(モード対応フラグ追加パターン)を示す図であり、GUI設定テーブル14の画面1にGUI部品であるデジタルメータを2個配置した例である。
Next, the case where the mode correspondence flag is added to the GUI setting table 14 will be described with reference to FIG. FIG. 9 is a view showing another example (mode corresponding flag addition pattern) of the GUI setting table 14 and is an example in which two digital meters as GUI parts are arranged on the
デジタルメータ1はモード対応項目(モード対応フラグ)がモード対応するONの設定、デジタルメータ2はモード対応項目がモード対応しないOFFの設定である。ここで、モード対応項目は、現在モード番号に対応する動作をGUIデータ選択部11に行わせるか否かを示すフラグである。モード対応項目がONの設定の場合、モード対応、すなわち、図6と図7を用いて説明した現在モード番号に対応する動作をGUIデータ選択部11に行わせる。
The
他方、モード対応項目がOFFの設定の場合、モード非対応、すなわち、現在モード番号に対応する動作をGUIデータ選択部11に行わせない。より具体的には、デジタルメータ2(モード非対応)の場合、GUI設定テーブル14に1組の第1パラメータが格納されているが、図6のステップS4ではGUI設定テーブル14から1組の第1パラメータが取得され、ステップS5では当該第1パラメータがGUIデータメモリテーブル16に書き込まれる。
On the other hand, when the mode corresponding item is set to OFF, the GUI
モード設定テーブル15によればモード数は20個のため、デジタルメータ1のモード対応パラメータの画像ファイル、および換算係数は20組のデータが必要となる。同じ考えで設計すると、デジタルメータ2の方はモード非対応だが、画像ファイル、および換算係数をモード番号1からモード番号20まで持つ必要がある。モード対応項目を追加した場合、モード非対応時は、モード対応パラメータの画像ファイル、および換算係数はモード番号1の1組のみ設定すれば良いため、GUI設定テーブル14のデータ量を小さくできる効果がある。
According to the mode setting table 15, since the number of modes is 20, an image file of mode corresponding parameters of the
次に、図10を用いて、GUI設定テーブル14においてモード設定を省略した場合について説明する。図10は、GUI設定テーブル14の他の例(モード設定省略パターン)を示す図であり、GUI設定テーブル14の画面1にGUI部品としてモード対応のデジタルメータ1とモード非対応のデジタルメータ2を配置した例である。
Next, a case where mode setting is omitted in the GUI setting table 14 will be described with reference to FIG. FIG. 10 is a view showing another example (mode setting omission pattern) of the GUI setting table 14. In the
図9のデジタルメータ1では、モード番号1からモード番号20まで画像ファイルと換算係数が設定された。これに対して図10では、モード設定個数およびモード番号の項目が追加され、モード番号1,10,15の3つのモード番号だけ画像ファイルと換算係数が設定されている。
In the
ここで、モード番号1のパラメータはデフォルト設定の意味も有している。例えば、現在モード番号に対応する第1パラメータがGUI設定テーブル14に存在しない場合、すなわち、GUI設定テーブル14に格納されていないモード番号が指定された場合はモード番号1の画像ファイルおよび換算係数が選択され、これらのデータがGUIデータメモリテーブル16に格納される。また、格納されていないモード番号が指定された場合の選択基準に関しては、モード番号1を選択する方法以外に、指定されたモード番号から若い番号順に遡って格納されているモード番号の第1パラメータを使用する方法がある。
Here, the parameter of
また、上記で説明したように、モード設定テーブル15のモード数とGUI設定テーブル14に設定されたモード番号のモード数が一致する場合、全てのモード番号に対応する第1パラメータがGUI設定テーブル14に存在するため、モード番号の項目を付けないルールとしデータ量の削減を図っている。以上のように、デフォルトの第1パラメータをGUIデータメモリテーブル16に格納することで、全てのモード番号に対応する第1パラメータをGUIデータメモリテーブル16に格納する必要がないため、図9の場合よりもさらにGUI設定テーブル14のデータ量を小さくできる効果がある。 Also, as described above, when the number of modes in the mode setting table 15 matches the number of modes in the mode number set in the GUI setting table 14, the first parameter corresponding to all mode numbers is the GUI setting table 14. In order to reduce the amount of data, the rule does not attach an item of mode number. As described above, by storing the default first parameter in the GUI data memory table 16, it is not necessary to store the first parameter corresponding to all the mode numbers in the GUI data memory table 16. In the case of FIG. The amount of data of the GUI setting table 14 can be further reduced.
また、従来は、例えばパターン数が20個ある場合、図11の左上の図のように画面1にデジタルメータを20個配置し、1つを表示、残りを非表示にする方法となる。図11は、GUI表示部12の表示例を示す図である。または、図11の左下の図のように画面を20個作成し、画面1にモード番号1のデジタルメータ1、画面2にモード番号2のデジタルメータ1のように画面毎に異なるモード番号のGUI部品を配置し、画面1から画面20の切り替えで表示するGUI部品を変更する方法となる。
Also, conventionally, when there are 20 patterns, for example, as shown in the upper left of FIG. 11, 20 digital meters are arranged on the
これに対して、実施の形態1では、図11の右側の図のように画面1に、GUI部品を1つ配置すれば良い。パターン数が20個の場合の設定情報はGUI部品において対応できるようにしておけば良い。以上により、ディスプレイ上に表示させるGUI部品数が少なくなるため、GUI作成装置の操作および、変更を実施するGUI部品数が減少する。これにより、GUI作成装置のメンテナンス性を向上させる効果もある。
On the other hand, in the first embodiment, one GUI component may be arranged on the
以上のように、実施の形態1に係るGUI作成装置およびGUI作成方法では、GUI設定テーブル14は、モード番号毎に異なるGUI部品の画像を表示するための画像ファイルおよび画像のフレーム番号を決定するための換算係数を含む第1パラメータと、複数のモード番号で共通する第2パラメータとを格納する。これにより、GUI設定テーブルは、第2パラメータをモード番号毎に格納しないため、GUIを作成する際に必要なデータ量を削減することができる。 As described above, in the GUI creating apparatus and the GUI creating method according to the first embodiment, the GUI setting table 14 determines an image file for displaying an image of a GUI component different for each mode number and a frame number of the image. And a second parameter common to a plurality of mode numbers. As a result, the GUI setting table does not store the second parameter for each mode number, so it is possible to reduce the amount of data required when creating a GUI.
GUI作成装置は、現在モード番号の初期値として使用される起動モード番号を格納するモード設定テーブル15をさらに備えるため、GUI作成装置の起動時に起動モード番号を現在モード番号として使用することができる。GUI作成装置の起動時に外部操作により現在モード番号を設定する必要がないため、ユーザーの操作負担を減らすことができる。 Since the GUI creation apparatus further includes the mode setting table 15 storing the start mode number used as the initial value of the current mode number, the start mode number can be used as the current mode number when the GUI creation apparatus is started. Since it is not necessary to set the current mode number by an external operation when the GUI creation device is started, the user's operation burden can be reduced.
GUI設定テーブル14は、現在モード番号に対応する動作をGUIデータ選択部11に行わせるか否かを示すモード対応フラグをさらに備えるため、モード非対応時、すなわち、現在モード番号に対応する動作をGUIデータ選択部11に行わせない場合は、画像ファイルおよび換算係数はモード番号1の1組のみ設定すれば良いため、GUI設定テーブル14のデータ量を小さくすることが可能となる。
Since the GUI setting table 14 further includes a mode corresponding flag indicating whether or not the GUI
GUIデータ選択部11は、現在モード番号に対応する第1パラメータがGUI設定テーブル14に存在しない場合、デフォルトの第1パラメータをGUIデータメモリテーブル16に格納するため、GUI設定テーブル14のデータ量をさらに小さくすることができる。
When the first parameter corresponding to the current mode number does not exist in the GUI setting table 14, the GUI
<実施の形態2>
次に、実施の形態2に係るGUI作成装置およびGUI作成方法について説明する。図12は、実施の形態2に係るGUI作成装置のGUI設定テーブルを示す図である。なお、実施の形態2において、実施の形態1で説明したものと同一の構成要素については同一符号を付して説明は省略する。
Second Embodiment
Next, a GUI creating apparatus and a GUI creating method according to the second embodiment will be described. FIG. 12 is a diagram showing a GUI setting table of the GUI creation device according to the second embodiment. In the second embodiment, the same components as those described in the first embodiment are denoted by the same reference numerals, and the description thereof is omitted.
実施の形態1では、GUI設定テーブル14において、GUI部品の各パラメータは固定されている、すなわち、変更できないことが前提であるが、実際のGUI作成では各パラメータを固定にしておくことは、ユーザーの自由度を下げることとなる。実施の形態2では、GUI設定テーブル14において、ユーザーによる外部操作によってGUI部品の各パラメータを設定することができるようになっている。 In the first embodiment, each parameter of the GUI component is fixed in the GUI setting table 14, that is, it can not be changed, but in actual GUI creation, each parameter is fixed to the user. Lower the degree of freedom. In the second embodiment, in the GUI setting table 14, each parameter of the GUI component can be set by an external operation by the user.
図12は、画面1にデジタルメータを配置した例である。図12に示すように、GUI部品のデジタルメータには、図3で説明した5個のパラメータに加えて、図10で説明したモード対応、モード設定個数、およびモード番号の項目が追加されている。モード設定個数は各パラメータに設定され、モード番号は第2パラメータに設定される。モード設定個数が1つの場合と、モード設定個数がモード設定テーブル15のモード数と同じ場合は、モード番号の項目がなくてもどのモードかを判断できるため、モード番号の項目を省略することでデータ量の削減を図っている。
FIG. 12 shows an example in which a digital meter is arranged on the
画像ファイルおよび換算係数はモード設定個数がモード設定テーブル15のモード数と同じ値のため、第2パラメータのみモード番号順に設定される。パラメータBはモード設定個数が1つのため、モード番号1のパラメータが設定される。パラメータAと通信項目はモード番号毎にパラメータを指定するため、モード番号、パラメータA(または通信項目)の順に設定される。パラメータA、パラメータB、および通信項目において、指定したモード番号のパラメータが存在しない場合は、モード番号1のパラメータが使用される。
Since the image file and the conversion factor have the same mode setting number as the mode number of the mode setting table 15, only the second parameter is set in order of mode number. Since the parameter B has one mode setting number, the parameter of
以上のように実施の形態2に係るGUI作成装置およびGUI作成方法では、GUI設定テーブル14において、ユーザーがGUI部品の各パラメータを設定することができる。モード対応フラグについても外部操作によって設定されるため、ユーザーによる外部操作によってモード対応フラグをONまたはOFFに変更することができ、ユーザーの自由度を向上させることができるとともに、GUI設定テーブルのデータ量を一層削減することができる。 As described above, in the GUI creation device and the GUI creation method according to the second embodiment, the user can set each parameter of the GUI component in the GUI setting table 14. Since the mode correspondence flag is also set by the external operation, the mode correspondence flag can be changed to ON or OFF by the external operation by the user, and the degree of freedom of the user can be improved and the data amount of the GUI setting table Can be further reduced.
なお、本発明は、その発明の範囲内において、各実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略することが可能である。 In the present invention, within the scope of the invention, each embodiment can be freely combined, or each embodiment can be appropriately modified or omitted.
11 GUIデータ選択部、12 GUI表示部、13 通信データ受信部、14 GUI設定テーブル、15 モード設定テーブル、16 GUIデータメモリテーブル。 11 GUI data selection unit, 12 GUI display unit, 13 communication data reception unit, 14 GUI setting table, 15 mode setting table, 16 GUI data memory table.
Claims (10)
外部から受信した受信データと、現在設定されているモード番号である現在モード番号とを格納するGUIデータメモリテーブルと、
前記現在モード番号に対応する前記第1パラメータを前記GUI設定テーブルから読み出して、当該第1パラメータを前記GUIデータメモリテーブルに格納するGUIデータ選択部と、
前記GUIデータメモリテーブルに格納された前記受信データと前記第1パラメータの前記換算係数に基づいて前記GUI部品の画像のフレーム番号を決定し、当該フレーム番号と前記第1パラメータの前記画像ファイルに基づいて前記GUI部品の画像を表示させるGUI表示部と、
を備える、GUI作成装置。 A first parameter including an image file for displaying an image of a different GUI component for each mode number and a conversion coefficient for determining a frame number of the image, and a second parameter common to a plurality of the mode numbers are stored. GUI setting table,
A GUI data memory table for storing received data received from the outside and a current mode number which is a currently set mode number;
A GUI data selection unit which reads the first parameter corresponding to the current mode number from the GUI setting table and stores the first parameter in the GUI data memory table;
The frame number of the image of the GUI component is determined based on the received data stored in the GUI data memory table and the conversion coefficient of the first parameter, and the frame number and the image file of the first parameter are determined. A GUI display unit for displaying an image of the GUI component;
, GUI creation device.
(b)外部から受信した受信データと、現在設定されているモード番号である現在モード番号とをGUIデータメモリテーブルに格納するステップと、
(c)前記現在モード番号に対応する前記第1パラメータを前記GUI設定テーブルから読み出して、当該第1パラメータを前記GUIデータメモリテーブルに格納するステップと、
(d)前記GUIデータメモリテーブルに格納された前記受信データと前記第1パラメータの前記換算係数に基づいて前記GUI部品の画像のフレーム番号を決定し、当該フレーム番号と前記第1パラメータの前記画像ファイルに基づいて前記GUI部品の画像を表示させるステップと、
を備える、GUI作成方法。 (A) a first parameter including an image file for displaying an image of a GUI component different for each mode number and a conversion coefficient for determining a frame number of the image, and a second parameter common to a plurality of the mode numbers Storing in the GUI setting table,
(B) storing received data received from the outside and a current mode number which is a currently set mode number in the GUI data memory table;
(C) reading out the first parameter corresponding to the current mode number from the GUI setting table, and storing the first parameter in the GUI data memory table;
(D) A frame number of the image of the GUI component is determined based on the received data stored in the GUI data memory table and the conversion coefficient of the first parameter, and the frame number and the image of the first parameter are determined. Displaying an image of the GUI component based on a file;
, GUI creation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015166369A JP6523869B2 (en) | 2015-08-26 | 2015-08-26 | GUI creation apparatus and GUI creation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015166369A JP6523869B2 (en) | 2015-08-26 | 2015-08-26 | GUI creation apparatus and GUI creation method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017045214A JP2017045214A (en) | 2017-03-02 |
JP6523869B2 true JP6523869B2 (en) | 2019-06-05 |
Family
ID=58210258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015166369A Active JP6523869B2 (en) | 2015-08-26 | 2015-08-26 | GUI creation apparatus and GUI creation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6523869B2 (en) |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05201273A (en) * | 1991-08-19 | 1993-08-10 | Mitsubishi Motors Corp | Display device for vehicle |
JP4045468B2 (en) * | 1996-05-30 | 2008-02-13 | 三菱電機株式会社 | Graphical user interface controller |
CN101784411A (en) * | 2007-09-11 | 2010-07-21 | 夏普株式会社 | Instrument panel image forming device, instrument panel image forming method, vehicle, instrument panel image display device, instrument panel image display method, instrument panel image forming program, and computer readable storing medium storing with instrument panel image forming program |
JP2009116043A (en) * | 2007-11-06 | 2009-05-28 | Sharp Corp | Display system, data output device for display, display control device, display control method, display control program and computer readable recording medium |
JP5000728B2 (en) * | 2008-01-22 | 2012-08-15 | シャープ株式会社 | Display system, display control device, image display device |
JP2013161322A (en) * | 2012-02-07 | 2013-08-19 | Mitsubishi Electric Corp | Panel display device and panel display method |
WO2013125266A1 (en) * | 2012-02-20 | 2013-08-29 | 三菱電機株式会社 | Graphics data processing device and graphics data processing system |
JP5644833B2 (en) * | 2012-10-30 | 2014-12-24 | 株式会社デンソー | Vehicle display device |
-
2015
- 2015-08-26 JP JP2015166369A patent/JP6523869B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2017045214A (en) | 2017-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9019217B2 (en) | Touch input location correction device, input device, touch input location correction method, and program and integrated circuit used for touch input location correction apparatus | |
JP7241114B2 (en) | Input device and input method | |
JP2014032529A (en) | Plc system, drawing editor device thereof, and programmable display | |
JP2011181050A (en) | Graph display and program | |
JP5934428B2 (en) | Programmable display, programmable controller system, program | |
JP2013196169A (en) | Display controller, display control method and display control program | |
JP2013008278A (en) | Operation device and operation method | |
JP6430642B2 (en) | Display control apparatus and display control method | |
JP6523869B2 (en) | GUI creation apparatus and GUI creation method | |
JP6335710B2 (en) | Display information generation system and display information generation method | |
JP7116261B2 (en) | A display device for outputting various types of content | |
JP5388216B2 (en) | Information terminal and soft key display method | |
JP2010055417A (en) | Portable terminal | |
JP5957026B2 (en) | Input region generation method, generation device, and generation program | |
JP2006343111A (en) | Measurement device | |
JP2008108184A (en) | Touch panel mounting device, external device, and operation method for external device | |
JP5599378B2 (en) | Display control device | |
JP2009048231A (en) | Multi-functional information equipment and method for starting multi-functional information equipment | |
JP5338437B2 (en) | Remote control system | |
JP6644210B2 (en) | Notification control device and notification control method | |
JP2011141620A (en) | Scroll control device, scroll control method, program and information processor | |
US20150241982A1 (en) | Apparatus and method for processing user input | |
JP2011064525A (en) | Timer apparatus, control method and program of timer function | |
JP5962696B2 (en) | Graphic display device and program | |
JP2016223988A (en) | Display device for vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180726 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190301 |
|
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: 20190402 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190426 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6523869 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |