JP2010186414A - Information-processing device, and program for controlling the same - Google Patents

Information-processing device, and program for controlling the same Download PDF

Info

Publication number
JP2010186414A
JP2010186414A JP2009031470A JP2009031470A JP2010186414A JP 2010186414 A JP2010186414 A JP 2010186414A JP 2009031470 A JP2009031470 A JP 2009031470A JP 2009031470 A JP2009031470 A JP 2009031470A JP 2010186414 A JP2010186414 A JP 2010186414A
Authority
JP
Japan
Prior art keywords
search
data
control
unit
application
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.)
Granted
Application number
JP2009031470A
Other languages
Japanese (ja)
Other versions
JP5037544B2 (en
Inventor
Noriyuki Marumo
宣之 丸茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2009031470A priority Critical patent/JP5037544B2/en
Publication of JP2010186414A publication Critical patent/JP2010186414A/en
Application granted granted Critical
Publication of JP5037544B2 publication Critical patent/JP5037544B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information-processing device which selects an optimum retrieval method in accordance with individual situations; and to provide a program for controlling the same. <P>SOLUTION: The information-processing device includes a control means which is the mainstay of the device itself and a database storage means which stores databases comprising various kinds of information. In this case, the information-processing device is provided with: an application-executing means which executes applications under control of the control means; and a data retrieval means which operates in parallel to the executions of the applications by the application-executing means under the control of the control means and retrieves data, which conform to the retrieval conditions, from the database storage means. Then, a rate at which the control means is occupied by the application-executing means and the data retrieval means is adjusted. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、帳票発行を行う事務用コンピュータなどの検索機能を備えた情報処理装置およびその制御プログラムに関する。   The present invention relates to an information processing apparatus having a search function, such as an office computer that issues a form, and a control program therefor.

帳票発行を行う事務用コンピュータなどの情報処理装置では、キーボードを用いて直接情報を入力する方式のほか、データ検索機能を用いてデータベースから任意の条件を満たす情報を検索し、操作者が検索結果の中から所望のデータを選択して入力する方式を採用した情報処理装置も知られている。(例えば、特許文献1を参照)
特開2008−165409号公報
In information processing devices such as office computers that issue forms, in addition to the method of directly inputting information using a keyboard, the data search function is used to search for information that satisfies any condition, and the operator searches for the results. There is also known an information processing apparatus that employs a method of selecting and inputting desired data from among them. (For example, see Patent Document 1)
JP 2008-165409 A

データ検索機能を用いてデータ検索を行う際の所要時間は、情報処理装置に記憶された全体のデータ件数、検索対象のデータ件数、情報処理装置の性能などによりかなりの差がある。そのため、データ検索の所要時間が長い場合に上記の検索完了後に検索結果を一覧表示する方式を使用すると、検索中は何ら操作ができないために使い勝手が悪い。また、データ検索の所要時間が短い場合に上記の検索結果を順次表示する方式を使用すると、検索途中に結果の表示処理が入るため、検索終了までの時間が無駄に長くなってしまった。   The time required for performing a data search using the data search function varies considerably depending on the total number of data items stored in the information processing device, the number of data items to be searched, and the performance of the information processing device. For this reason, when the time required for data search is long, using the method of displaying a list of search results after completion of the above search is not convenient because no operation can be performed during the search. In addition, when the above-described method of sequentially displaying the search results is used when the time required for data search is short, the result display processing is entered during the search, and therefore the time until the search ends is unnecessarily long.

本発明は、上記のような事情に鑑みてなされたものであり、その目的は、最適な検索方式の選択を可能とした情報処理装置およびその制御プログラムを提供することである。   The present invention has been made in view of the circumstances as described above, and an object thereof is to provide an information processing apparatus and a control program for the information processing apparatus that enable selection of an optimum search method.

本発明は、装置の中枢を成す制御手段と、各種情報からなるデータベースを記憶したデータベース記憶手段とを備えた情報処理装置において、前記制御手段の制御下にてアプリケーションを実行するアプリケーション実行手段と、前記制御手段の制御下にてアプリケーションの実行と並行して動作し、検索条件に合致するデータを前記データベース記憶手段から検索するデータ検索手段と、前記アプリケーション実行手段と前記データ検索手段とが前記制御手段を占有する割合を調整する調整手段とを備えてなることを特徴としている。   The present invention provides an information processing apparatus including a control unit that forms the center of the apparatus and a database storage unit that stores a database including various types of information, an application execution unit that executes an application under the control of the control unit, A data search unit that operates in parallel with the execution of the application under the control of the control unit and searches the database storage unit for data that matches the search condition, and the application execution unit and the data search unit are controlled by the control unit. And adjusting means for adjusting the ratio of occupying the means.

かかる手段を講じた本発明によれば、最適な検索方式の選択を可能とした情報処理装置およびその制御プログラムを提供することができる。   According to the present invention in which such measures are taken, it is possible to provide an information processing apparatus capable of selecting an optimum search method and a control program therefor.

以下、本発明を実施するための一実施形態について、図面を参照しながら説明する。なお、本実施形態は、本発明を帳票発行などを行う事務用の情報処理装置に適用した場合である。   Hereinafter, an embodiment for carrying out the present invention will be described with reference to the drawings. The present embodiment is a case where the present invention is applied to an office information processing apparatus that issues a form or the like.

図1は、当該情報処理装置の制御回路を示すブロック図である。1は本体で、内部の制御回路に制御手段として機能するCPU2を備えている。このCPU2に、ROM3、RAM4、磁気ディスクドライブや光ディスクドライブなどの補助記憶装置を駆動制御する補助記憶装置ドライバ5、通信インターフェイス(I/F)6、キーボードコントローラ7、ディスプレイコントローラ8、マウスインターフェイス(I/F)9、ハードディスクドライブ(HDD)コントローラ10を接続して構成されている。   FIG. 1 is a block diagram illustrating a control circuit of the information processing apparatus. A main body 1 includes a CPU 2 that functions as a control means in an internal control circuit. The CPU 2 includes a ROM 3, a RAM 4, an auxiliary storage device driver 5 for driving and controlling an auxiliary storage device such as a magnetic disk drive and an optical disk drive, a communication interface (I / F) 6, a keyboard controller 7, a display controller 8, a mouse interface (I / F) 9 and a hard disk drive (HDD) controller 10 are connected.

上記RAM4には、後述の検索処理において、検索した検索条件に合致するデータを記憶する検索データ記憶手段である検索データバッファ4aが形成される。   The RAM 4 is formed with a search data buffer 4a which is search data storage means for storing data that matches the search conditions searched in the search processing described later.

当該情報処理装置は、ROM3やハードディスクドライブ10aに記憶した各種のソフトウェア(業務プログラムなどのアプリケーション、アプリケーションの読み出しなどを統括するOS、OSがアプリケーションに対して提供する機能よりも高度で具体的な機能を提供するミドルウェア、様々なデータで構成されるデータベース、情報処理装置を構成する各デバイスを駆動するデバイスドライバ、システムの起動時に各デバイスの初期化やOSを呼び出す役割を担うBIOS等)を実行して動作する。   The information processing apparatus includes various software stored in the ROM 3 and the hard disk drive 10a (applications such as business programs, an OS that supervises the reading of applications, and functions that are more advanced than the functions provided by the OS to the applications. Middleware that provides information, a database composed of various data, a device driver that drives each device that constitutes the information processing apparatus, and a BIOS that plays the role of initializing each device and calling the OS when the system is started up) Works.

次に、上記ミドルウェアとアプリケーションおよびデータベースとの関係について説明する。図2は、ミドルウェアとアプリケーションおよびデータベースとの関係を示す概念図である。   Next, the relationship between the middleware, the application, and the database will be described. FIG. 2 is a conceptual diagram showing the relationship between middleware, applications, and databases.

ハードディスクドライブ10aに記憶された特定のプログラムをCPU2が実行することにより、アプリケーション選択部20、アプリケーション実行部21およびデータベースエンジン22が実現される。これらアプリケーション選択部20、アプリケーション実行部21およびデータベースエンジン22は、それぞれが独立して処理を行うミドルウェアである。ハードディスクドライブ10aには、当該情報処理装置にインストールされたアプリケーション(AP)A1〜Am(m:整数)を実行するデータで構成されるm個のアプリケーションファイルと、顧客情報や商品情報などのデータで構成されるデータベースD1〜Dn(n:整数)のn個のデータベースとが記憶されている。各アプリケーションプログラムは、アプリケーションによる処理を制御するプログラムファイルF1、アプリケーションの処理で使用する表示画面の設定情報からなる画面設定ファイルF2、後述の優先度が設定された検索優先度設定ファイルF3で構成されている。   When the CPU 2 executes a specific program stored in the hard disk drive 10a, the application selection unit 20, the application execution unit 21, and the database engine 22 are realized. The application selection unit 20, the application execution unit 21, and the database engine 22 are middleware that performs processing independently. The hard disk drive 10a includes m application files composed of data for executing the applications (AP) A1 to Am (m: integer) installed in the information processing apparatus, and data such as customer information and product information. Stored are n databases D1 to Dn (n: integer). Each application program includes a program file F1 that controls processing by the application, a screen setting file F2 that includes display screen setting information that is used in the processing of the application, and a search priority setting file F3 in which priorities to be described later are set. ing.

上記アプリケーション選択部20は、アプリケーションA1〜Amの中からオペレータの指示に従って実行すべきアプリケーションを選択する。
上記アプリケーション実行部21は、アプリケーション選択部20が選択したアプリケーションのアプリケーションファイルをハードディスクドライブ10aから特定し、当該アプリケーションを実行する。
上記データベースエンジン22は、アプリケーション実行部21から指定された検索条件に合致するデータを各データベースから検索する。
The application selection unit 20 selects an application to be executed from the applications A1 to Am in accordance with an operator instruction.
The application execution unit 21 specifies an application file of the application selected by the application selection unit 20 from the hard disk drive 10a, and executes the application.
The database engine 22 searches each database for data that matches the search condition specified by the application execution unit 21.

アプリケーション選択部20により実行すべきアプリケーションが選択され、実行が指示されたとき、アプリケーション実行部21は、当該実行が指示されたアプリケーションのプログラムファイルF1、画面設定ファイルF2、検索優先度設定ファイルF3を読み込んでプログラムファイルF1に記憶されたコマンドを順次実行していく。アプリケーション実行部21によりアプリケーションが実行された際に表示されるアプリケーション実行画面の一例を図3に示している。このアプリケーション実行画面30は、納品書を作成するアプリケーションを実行した際に、そのアプリケーションの画面設定ファイルF2に従って表示される画面である。   When an application to be executed is selected by the application selection unit 20 and execution is instructed, the application execution unit 21 stores the program file F1, the screen setting file F2, and the search priority setting file F3 of the application instructed to execute. The commands read and stored in the program file F1 are sequentially executed. An example of the application execution screen displayed when the application is executed by the application execution unit 21 is shown in FIG. This application execution screen 30 is a screen that is displayed according to the screen setting file F2 of the application when an application for creating a delivery note is executed.

アプリケーション実行画面30には、入力欄31〜34と、操作ボタン群35とが配置されている。   In the application execution screen 30, input fields 31 to 34 and an operation button group 35 are arranged.

テキストボックスへの情報の入力は、キーボード7aを操作して入力するほか、データベースから任意の条件に合致するデータを検索し、検索結果の中から所望のデータを選択して入力することでも可能である。
データ検索の結果からデータを入力するには、操作ボタン群35の照会ボタンを操作する。このとき、図4に示した照会画面40が表示される。照会画面40は、条件指定欄41、検索ボタン42、中止ボタン43、検索結果表示欄44(図4には検索結果が表示されているが、照会ボタンの操作直後の照会画面には未だ検索結果はない)を有している。
Information can be entered into the text box by operating the keyboard 7a, or by searching for data that matches an arbitrary condition from the database, and selecting and entering desired data from the search results. is there.
To input data from the data search result, the inquiry button of the operation button group 35 is operated. At this time, the inquiry screen 40 shown in FIG. 4 is displayed. The inquiry screen 40 includes a condition designation field 41, a search button 42, a cancel button 43, and a search result display field 44 (the search result is displayed in FIG. 4, but the search result is still displayed on the inquiry screen immediately after the operation of the inquiry button. Have no).

条件指定欄41は、検索のキーとなる文字列を入力するテキストボックスと、このテキストボックスに入力された文字列が商品コード、商品名、単価のいずれに関するものであるのかを選択するリストボックスと、検索結果表示欄44に表示された検索結果の中から選択されたデータの商品名を表示する表示欄と、当該選択されたデータのナンバを表示する表示欄とを有している。   The condition designation field 41 includes a text box for inputting a character string serving as a search key, and a list box for selecting whether the character string input in the text box relates to a product code, a product name, or a unit price. And a display field for displaying the product name of the data selected from the search results displayed in the search result display field 44 and a display field for displaying the number of the selected data.

条件指定欄41に検索条件を指定して検索を行ったとき、検索結果が検索結果表示欄44に表示される。ここで、例えば最上段のデータすなわちナンバ“01”,商品名“商品1”,単価“1,000”のデータを選択したならば、条件指定欄41の商品名の表示欄に“商品1”が表示され、ナンバの表示欄に“01”が表示されることとなる。かかる状態で、選択するデータがマウス9aでダブルクリックされると、当該ダブルクリックされたデータの商品コード、商品名、単価がアプリケーション実行画面30の入力欄34に入力される。   When a search is performed by specifying a search condition in the condition specification column 41, the search result is displayed in the search result display column 44. Here, for example, if data of the top row, that is, the number “01”, the product name “product 1”, and the unit price “1,000” is selected, “product 1” is displayed in the product name display field of the condition designation field 41. Is displayed, and “01” is displayed in the number display column. In this state, when the data to be selected is double-clicked with the mouse 9a, the product code, product name, and unit price of the double-clicked data are input to the input field 34 of the application execution screen 30.

さて、当該情報処理装置は、アプリケーション実行部21とデータベースエンジン22とがCPU2を占有する割合を調整する機能を備えている(調整手段)。この機能の詳細について、図5,図6および図7を用いて説明する。本実施形態においては、上記割合を優先度と称呼し、1〜8のパラメータで表す。優先度1では、検索速度を最大限に優先する。すなわち、検索を行っている間は実行中のアプリケーションに関する操作がほとんど受け付けられない。逆に優先度8では、検索よりもアプリケーションに関する操作を最大限に優先する。すなわち、検索速度は遅いが、アプリケーションに関する操作を円滑に行うことができる。   The information processing apparatus has a function of adjusting the ratio of the application execution unit 21 and the database engine 22 occupying the CPU 2 (adjustment unit). Details of this function will be described with reference to FIGS. In the present embodiment, the ratio is referred to as priority, and is represented by parameters 1 to 8. At priority 1, the search speed is given the highest priority. That is, while the search is being performed, operations related to the running application are hardly accepted. On the other hand, with priority 8, the operation related to the application is prioritized as much as possible over the search. That is, although the search speed is slow, operations related to the application can be performed smoothly.

優先度の設定は、図5に示した検索処理設定画面50から行う。検索処理設定画面50には、全ての検索処理についての優先度を一括して設定するマシン単位設定欄51、アプリケーションなどのプログラム単位で設定するプログラム単位設定欄52、優先度説明欄53、内容を確定するOKボタン54、設定内容を無効とし、設定処理を終了するキャンセルボタン55が設けられている。   The priority is set from the search processing setting screen 50 shown in FIG. The search processing setting screen 50 includes a machine unit setting column 51 for setting priorities for all search processes at once, a program unit setting column 52 for setting program units such as applications, a priority explanation column 53, and contents. An OK button 54 for confirming and a cancel button 55 for invalidating the setting contents and ending the setting process are provided.

マシン単位設定欄51には、優先度の入力欄51aと自動設定ボタン51bとが設けられている。オペレータは、優先度1〜8のうち所望の優先度を入力欄51aに入力できる。自動設定ボタン51bは、入力欄51aに自動的に優先度を入力するボタンである。自動設定ボタン51bが操作された際の処理については、図8の説明にて後述する。   The machine unit setting field 51 is provided with a priority input field 51a and an automatic setting button 51b. The operator can input a desired priority among the priorities 1 to 8 in the input field 51a. The automatic setting button 51b is a button for automatically inputting a priority in the input field 51a. The processing when the automatic setting button 51b is operated will be described later with reference to FIG.

プログラム単位設定欄52には、優先度を設定したいプログラムが格納されたフォルダを指定するフォルダ指定欄52aと、フォルダ指定欄52aで指定されたフォルダに格納されたプログラムの種別を表示するプログラム表示欄52bとが設けられている。例えば図5に図示したように、フォルダ指定欄52aにて“Uriage”なるフォルダを指定した場合、当該フォルダに格納された“納品書”を作成するアプリケーションおよび“月次集計”を作成するアプリケーションがプログラム表示欄52bに表示される。オペレータは、プログラム表示欄52bに表示されたアプリケーションのそれぞれに対して“優先度”の欄に所望の優先度を設定することができる。   The program unit setting field 52 includes a folder designation field 52a for designating a folder in which a program whose priority is to be set is stored, and a program display field for displaying the type of the program stored in the folder designated by the folder designation field 52a. 52b. For example, as shown in FIG. 5, when a folder “Uriage” is designated in the folder designation field 52 a, an application for creating an “invoice” and an application for creating “monthly aggregation” stored in the folder are displayed. It is displayed in the program display field 52b. The operator can set a desired priority in the “priority” column for each of the applications displayed in the program display column 52b.

かくしてマシン単位設定欄51またはプログラム単位設定欄52に設定すべき優先度が入力された状態でOKボタン54が操作されると、各アプリケーションファイルの検索優先度設定ファイルF3の優先度が更新される。図5に示した例では、“納品書”の作成に関するアプリケーションは優先度1に設定される。その他の全てのアプリケーションは優先度3が設定される。   Thus, when the OK button 54 is operated with the priority to be set in the machine unit setting field 51 or the program unit setting field 52 being input, the priority of the search priority setting file F3 of each application file is updated. . In the example shown in FIG. 5, the application related to the creation of “delivery note” is set to priority 1. All other applications are set to priority 3.

優先度に応じてのアプリケーション実行部21とデータベースエンジン22とがCPU2を占有する割合の調整は、検索結果の監視処理サイクルと結果表示基準件数を優先度に応じて調整することで行われる。結果表示基準件数とは、照会画面40の検索結果表示欄44に一度に表示するデータ件数である。すなわち、検索処理にて発見され検索データバッファ4aに記憶されたデータが結果表示基準件数に達するまでは、これらのデータの検索結果表示欄44への表示は行わず、結果表示基準件数に達したときに当該結果表示基準件数分のデータを検索結果表示欄44に表示する。また、監視処理サイクルとは、発見したデータの件数が結果表示基準件数に達したか否かを判断するサイクルである。このサイクルが短いときには、頻繁に上記判断がなされるので、この判断処理にCPU2の処理が占有され、他の操作を受け付けにくくなる。また、結果表示基準件数が大きいときには、小さいときに比べて一度に多量のデータを表示するので、表示処理に伴うオーバーフロー処理を考慮すれば同量のデータを複数回に分けて表示するよりも処理効率が良い。そのため、検索処理が迅速化する反面、表示処理にCPU2が連続して長時間占有され、その間他の操作を受け付けなくなる。   Adjustment of the ratio that the application execution unit 21 and the database engine 22 occupy the CPU 2 according to the priority is performed by adjusting the monitoring process cycle of the search results and the number of result display references according to the priority. The result display reference number is the number of data to be displayed at once in the search result display field 44 of the inquiry screen 40. That is, until the data found in the search process and stored in the search data buffer 4a reaches the result display reference number, these data are not displayed in the search result display column 44, and the result display reference number is reached. Sometimes, data corresponding to the number of the result display reference items are displayed in the search result display field 44. The monitoring processing cycle is a cycle for determining whether the number of found data has reached the result display reference number. When this cycle is short, the above determination is frequently made. Therefore, the processing of the CPU 2 is occupied in this determination processing, and it becomes difficult to accept other operations. Also, when the number of result display criteria is large, a larger amount of data is displayed at a time than when it is small. Therefore, if the overflow processing associated with the display processing is taken into consideration, the same amount of data is displayed more than once. Efficiency is good. For this reason, while the search process is speeded up, the CPU 2 is continuously occupied for a long time in the display process, and no other operation is accepted during that time.

なお、上記検索処理設定画面50から優先度を指定して検索結果のデータ件数(データ量)を監視するタイミングとデータを出力する結果表示基準件数(基準量)を設定する一連の処理は、設定手段を構成する。   Note that a series of processes for setting the timing for monitoring the number of data (data amount) of the search result by specifying the priority from the search processing setting screen 50 and setting the result display reference number (reference amount) for outputting the data are set. Configure the means.

優先度に応じた監視処理サイクルと結果表示基準件数とは、ROM3に記憶されたパラメータテーブルt1に設定されている。図6は、パラメータテーブルt1のデータ構造の一例を示す模式図である。1〜8の優先度に対応付けて監視処理サイクル(msec)および結果表示基準件数が設定されている。本実施形態においては、各優先度に対応付けられた監視処理サイクルおよび結果表示基準件数として、優先度1に“5msec”,“500件”を設定し、優先度2に“30msec”,“400件”を設定し、優先度3に“60msec”,“300件”を設定し、優先度4に“80msec”,“250件”を設定し、優先度5に“100msec”,“200件”を設定し、優先度6に“120msec”,“200件”を設定し、優先度7に“160msec”,“125件”を設定し、優先度8に“200msec”,“100件”を設定している。   The monitoring processing cycle corresponding to the priority and the result display reference number are set in the parameter table t1 stored in the ROM 3. FIG. 6 is a schematic diagram illustrating an example of the data structure of the parameter table t1. A monitoring processing cycle (msec) and a result display reference number are set in association with the priorities of 1 to 8. In the present embodiment, “5 msec” and “500” are set as priority 1 and “30 msec” and “400” are set as priority 2 as the number of monitoring processing cycles and result display reference cases associated with each priority. "Priority" is set, priority 3 is set to "60 msec", "300 cases", priority 4 is set to "80 msec", "250 cases", priority 5 is set to "100 msec", "200 cases" , Set priority 120 to "120 msec" and "200", set priority 7 to "160 msec" and "125", set priority 8 to "200 msec" and "100" is doing.

次に、データ検索処理にてアプリケーション実行部21およびデータベースエンジン22が実行する処理を図7に示した流れ図を用いて説明する。先ず、図4に示した照会画面40の条件指定欄41に検索条件が入力され、検索ボタン42が操作されたとき、アプリケーション実行部21は、ST101としてデータベースエンジン22に検索命令を送信して監視出力手段である監視出力処理を開始する。また、検索命令を受けたデータベースエンジン22は、データベース検索処理を開始する。なお、監視出力処理およびデータベース検索処理は、それぞれアプリケーション実行部21およびデータベースエンジン22により並行して実行される。   Next, processing executed by the application execution unit 21 and the database engine 22 in the data search processing will be described with reference to the flowchart shown in FIG. First, when a search condition is input to the condition designation field 41 of the inquiry screen 40 shown in FIG. 4 and the search button 42 is operated, the application execution unit 21 transmits a search command to the database engine 22 for monitoring as ST101. The monitoring output process which is an output means is started. Further, the database engine 22 that has received the search command starts database search processing. Note that the monitoring output process and the database search process are executed in parallel by the application execution unit 21 and the database engine 22, respectively.

データベース検索処理において、先ずデータベースエンジン22は、ST102aとして検索条件に関するエラー発生の有無を判断する。   In the database search process, first, the database engine 22 determines whether or not an error relating to the search condition has occurred in ST102a.

検索条件に関するエラーが発生していないと判断したとき(ST102aのNo)、データベースエンジン22は、ST103aとしてハードディスクドライブ10aに記憶されたデータベースD1〜Dnから、検索条件に合致したデータを検索する。そして、検索条件に合致するデータを一つ発見したとき、ST104aとしてそのデータを検索データバッファ4aに出力する。しかる後、ST105aとして全てのデータベースに対する検索が終了したか否かを判断する。全てのデータベースに対する検索が終了していないと判断したときには(ST105aのNo)、再びST103aの処理に戻って未だ検索を実行していないデータを対象として検索を継続し、発見したデータを検索データバッファ4aに出力する。このようにして検索を進行し、全てのデータベースに対する検索を終了したと判断したときには(ST105aのYes)、当該データベース検索処理を終了する。なお、上記ST102aの処理にてエラーが発生したと判断したときには(ST102aのYes)、ST106aとしてアプリケーション実行部21に通知し、ディスプレイ8aにエラー発生の警告を表示してデータベース検索処理を終了する。   When it is determined that no error relating to the search condition has occurred (No in ST102a), the database engine 22 searches the databases D1 to Dn stored in the hard disk drive 10a as ST103a for data that matches the search condition. When one piece of data matching the search condition is found, the data is output to the search data buffer 4a as ST104a. Thereafter, in ST105a, it is determined whether or not the search for all databases has been completed. When it is determined that the search for all the databases has not been completed (No in ST105a), the process returns to the process in ST103a again to continue the search for the data that has not yet been searched, and the found data is stored in the search data buffer. Output to 4a. In this way, when it is determined that the search has progressed and the search for all the databases has been completed (Yes in ST105a), the database search process is ended. When it is determined that an error has occurred in the process of ST102a (Yes in ST102a), the application execution unit 21 is notified as ST106a, an error occurrence warning is displayed on the display 8a, and the database search process is terminated.

監視出力処理を開始するに際して、先ずアプリケーション実行部21は、当該アプリケーションの検索優先度設定ファイルF3に設定された優先度に基づいてパラメータテーブルt1を参照し、監視処理サイクルおよび結果表示基準件数を特定する。そして、ST102bとして、特定した監視処理サイクルに従って処理発生待ち状態となる。例えば、検索優先度設定ファイルF3に優先度1が設定されている場合には5msecがCPU2に内蔵されたタイマにより計時されるまで待機する。   When starting the monitoring output process, the application execution unit 21 first refers to the parameter table t1 based on the priority set in the search priority setting file F3 of the application, and specifies the monitoring processing cycle and the result display reference number. To do. Then, as ST102b, the process waits according to the specified monitoring process cycle. For example, if priority 1 is set in the search priority setting file F3, the process waits until 5 msec is counted by a timer built in the CPU 2.

監視処理サイクルとして規定された時間を計時し終えたときには、ST103bとしてデータベースエンジン22により検索データバッファ4aに蓄積された検索結果が結果表示基準件数に達したか否かを判断する。このとき、結果表示基準件数に達していると判断したときには(ST103bのYes)、ST104bとして検索結果表示欄44に結果表示基準件数分の検索結果を表示する。例えば、検索優先度設定ファイルF3に優先度1が設定されている場合には500件のデータが検索結果表示欄44に表示される。   When the time specified as the monitoring process cycle is finished, it is determined whether the search result stored in the search data buffer 4a by the database engine 22 has reached the reference number of results display as ST103b. At this time, when it is determined that the number of result display reference cases has been reached (Yes in ST103b), search results for the number of result display reference cases are displayed in the search result display field 44 as ST104b. For example, when priority 1 is set in the search priority setting file F3, 500 pieces of data are displayed in the search result display field 44.

検索結果を表示した後、あるいはST103bの処理にて結果表示基準件数に達していないと判断したときには(ST103bのNo)、アプリケーション実行部21は、ST105bとして検索が終了したか否かを判断する。既にデータベースエンジン22から検索を完了した旨の通知を受けている場合や、検索結果表示欄44に表示された検索結果からアプリケーション実行画面30の入力欄へのデータ入力が完了しているときなどには、検索が終了したと判断する(ST105bのYes)。このとき、検索データバッファ4aに未だ検索結果表示欄44に表示していないデータがある場合には、ST106bとしてそのデータを検索結果表示欄44に表示し、監視出力処理を終了する。一方、検索が終了していないと判断したときには(ST105bのNo)、ST102bの処理に戻って再び処理発生待ち状態に移行する。   After displaying the search result or when it is determined in ST103b that the result display reference number has not been reached (No in ST103b), the application execution unit 21 determines whether the search is completed as ST105b. When a notification that the search has been completed has already been received from the database engine 22, or when data input from the search result displayed in the search result display field 44 to the input field of the application execution screen 30 has been completed. Determines that the search has been completed (Yes in ST105b). At this time, if there is data not yet displayed in the search result display field 44 in the search data buffer 4a, the data is displayed in the search result display field 44 as ST106b, and the monitoring output process is terminated. On the other hand, when it is determined that the search is not completed (No in ST105b), the process returns to ST102b and again shifts to a process generation waiting state.

このように、設定された優先度に応じて監視処理サイクルと結果表示基準件数を調整することで、アプリケーション実行部21とデータベースエンジン22とがCPU2を占有する割合が調整される。   In this way, by adjusting the monitoring processing cycle and the result display reference number according to the set priority, the ratio of the application execution unit 21 and the database engine 22 occupying the CPU 2 is adjusted.

ハードディスクドライブ10aに記憶された検索対象となるデータ数、情報処理装置の性能、オペレータの嗜好など、種々の状況に応じて最適な検索方式の選択が可能となる。具体的には、検索速度または検索中の操作性のいずれを優先するかの選択が可能となる。特別な機器や回路を用意する必要がなく、安価に当該調整機能を実現することができる。アプリケーションの特質や実行者の嗜好などに応じて個別的に検索速度または検索中の操作性のいずれを優先するかを設定することが可能である。   It is possible to select an optimal search method according to various situations such as the number of data to be searched stored in the hard disk drive 10a, the performance of the information processing apparatus, and the operator's preference. Specifically, it is possible to select which of the search speed and the operability during the search is given priority. There is no need to prepare a special device or circuit, and the adjustment function can be realized at a low cost. It is possible to individually set whether to give priority to the search speed or the operability during the search according to the characteristics of the application or the preference of the executor.

次に、検索処理設定画面50にて自動設定ボタン51bが操作されたことに応じて実行される自動設定処理について説明する。この処理は、検索データバッファ4aに記憶されたデータ量を監視するタイミングおよび検索データバッファ4aに記憶されたデータを出力する基準量を自動的に設定する自動設定手段を構成する。
図8は、自動設定処理においてアプリケーション実行部21が実行する処理の流れ図である。先ず、ST201としてRAM4のカウンタk(k:整数)を“1”に初期化する。そして、ST202としてkの値を優先度に設定し、所定の検索条件でハードディスクドライブ10aに記憶されたテストデータを検索する。当該検索で行われる処理は、図7にて説明した処理と同様である。ただし、検索開始から検索終了までの所要時間tをCPU2が内蔵したタイマで計時しており、検索が終了したときには、ST203として所要時間tをカウンタkの値と対応付けてRAM4に形成した作業用記憶領域に記録する。しかる後、ST204としてカウンタkの値が優先度の最大値に達しているか、すなわち“8”であるかを判断する。カウンタkの値が優先度の最大値に達していないと判断したときには(ST204のNo)、ST205としてカウンタkの値を一つインクリメントし、ST202の処理に戻って優先度をkに設定してテストデータの検索および所要時間tの記録を行う。
Next, the automatic setting process executed in response to the operation of the automatic setting button 51b on the search process setting screen 50 will be described. This processing constitutes automatic setting means for automatically setting the timing for monitoring the data amount stored in the search data buffer 4a and the reference amount for outputting the data stored in the search data buffer 4a.
FIG. 8 is a flowchart of processing executed by the application execution unit 21 in the automatic setting processing. First, in ST201, the counter k (k: integer) of the RAM 4 is initialized to “1”. In ST202, the value of k is set as the priority, and the test data stored in the hard disk drive 10a is searched under a predetermined search condition. The processing performed in the search is the same as the processing described in FIG. However, the required time t from the start of the search to the end of the search is measured by a timer built in the CPU 2, and when the search is completed, the required time t is associated with the value of the counter k and is formed in the RAM 4 in ST203. Record in the storage area. Thereafter, in ST204, it is determined whether the value of the counter k has reached the maximum priority value, that is, “8”. When it is determined that the value of the counter k has not reached the maximum priority value (No in ST204), the value of the counter k is incremented by 1 in ST205, and the process returns to ST202 to set the priority to k. Search for test data and record required time t.

このようにして各優先度1〜8におけるテストデータ検索の所要時間tを計測し終えたときには、カウンタkの値が優先度の最大値に達したと判断し(ST204のYes)、アプリケーション実行部21は、ST206としてRAM4に記録した各優先度1〜8における所要時間tの最大値tmaxと最小値tminを特定する。そして、ST207として最大値tmaxと最小値tminの平均値taveを算出する。さらに、ST208として、RAM4に記録した所要時間tが平均値taveに最も近い優先度を入力欄51aに入力して当該自動設定処理を終了する。
このように自動設定処理では、マシン単位の優先度が、設定可能な優先度の範囲において中間的な検索速度を有する値に自動的に設定される。したがって、当該情報処理装置の操作に不慣れな者が設定を行う場合や、全てのアプリケーションについて平均的な設定にしたい場合には、簡単な操作で一括して設定可能であるので作業効率が向上する。
When the time t required for test data search at each priority level 1 to 8 is thus measured, it is determined that the value of the counter k has reached the maximum priority level (Yes in ST204), and the application execution unit 21 specifies the maximum value tmax and the minimum value tmin of the required time t for each priority 1 to 8 recorded in the RAM 4 as ST206. In ST207, an average value tave of the maximum value tmax and the minimum value tmin is calculated. Furthermore, as ST208, the priority that the required time t recorded in the RAM 4 is closest to the average value tave is input to the input field 51a, and the automatic setting process is terminated.
As described above, in the automatic setting process, the priority of each machine is automatically set to a value having an intermediate search speed within a settable priority range. Therefore, when a person unfamiliar with the operation of the information processing apparatus makes a setting, or when it is desired to set an average setting for all applications, it is possible to set all at once by a simple operation, thereby improving work efficiency. .

なお、この発明は前記実施形態そのままに限定されるものではなく、実施段階においてはその要旨を逸脱しない範囲内にて各構成要素を適宜変形して具体化することができる。   In addition, this invention is not limited to the said embodiment as it is, In the implementation stage, within the range which does not deviate from the summary, each component can be changed suitably and can be embodied.

例えば、上記実施形態では監視処理サイクルと結果表示基準件数とを調整する例について説明したが、監視処理サイクルまたは結果表示基準件数のいずれか一方のみを調整するようにしてもよい。かかる場合であっても検索速度と検索中の操作性とを調整することができる。   For example, in the above embodiment, the example in which the monitoring process cycle and the result display reference number are adjusted has been described, but only one of the monitoring process cycle and the result display reference number may be adjusted. Even in such a case, the search speed and the operability during the search can be adjusted.

また、優先度は8段階に限られるものではなく、より多数の段階に設定可能としてもよいし、より少数の段階に設定可能としてもよい。かかる場合には、設定可能とした優先度の段階数に応じてパラメータテーブルt1のデータ数を増減させればよい。   Further, the priority is not limited to eight levels, and may be set to a larger number of levels or may be set to a smaller number of levels. In such a case, the number of data in the parameter table t1 may be increased or decreased according to the number of priority levels that can be set.

また、自動設定処理においては、各優先度でテストデータを検索し、検索完了までの所要時間tの最小値tminと最大値tmaxとの平均値taveを特定し、所要時間tがこの平均値taveに最も近い優先度に設定するとしたが、この設定方法に限定されない。この設定方法に代えて、例えば全ての優先度の所要時間tを加算し、その値を優先度の段階数で除した平均値を算出し、所要時間がその平均値に最も近い優先度に設定するなどの方法を採用してもよい。   In the automatic setting process, test data is searched for each priority, an average value tave between the minimum value tmin and the maximum value tmax of the required time t until the search is completed is specified, and the required time t is the average value tave. However, the priority is not limited to this setting method. Instead of this setting method, for example, the required time t of all priorities is added, an average value obtained by dividing the value by the number of priority levels is calculated, and the required time is set to the priority closest to the average value. You may employ | adopt methods, such as doing.

この他、前記実施形態に開示されている複数の構成要素を適宜組み合わせることにより種々の発明を形成することができる。例えば、実施形態に示される全体構成要素から幾つかの構成要素を削除してもよい。   In addition, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from the overall components shown in the embodiment.

本発明の一実施形態における情報処理装置の制御回路を示すブロック図。The block diagram which shows the control circuit of the information processing apparatus in one Embodiment of this invention. 同実施形態におけるミドルウェア等の関係を示す概念図。The conceptual diagram which shows the relationship of the middleware etc. in the same embodiment. 同実施形態におけるアプリケーション実行画面を示す図。The figure which shows the application execution screen in the embodiment. 同実施形態における照会画面を示す図。The figure which shows the inquiry screen in the embodiment. 同実施形態における検索処理設定画面を示す図。The figure which shows the search process setting screen in the embodiment. 同実施形態におけるパラメータテーブルのデータ構造を示す模式図。The schematic diagram which shows the data structure of the parameter table in the embodiment. 同実施形態におけるデータ検索処理の流れ図。The flowchart of the data search process in the embodiment. 同実施形態における自動設定処理の流れ図。The flowchart of the automatic setting process in the embodiment.

2…CPU、3…ROM、4…RAM、4a…検索データバッファ、5…補助記憶装置ドライバ、6…通信インターフェイス、7a…キーボード、8a…ディスプレイ、9a…マウス、10a…ハードディスクドライブ、20…アプリケーション選択部、21…アプリケーション実行部、22…データベースエンジン   2 ... CPU, 3 ... ROM, 4 ... RAM, 4a ... search data buffer, 5 ... auxiliary storage device driver, 6 ... communication interface, 7a ... keyboard, 8a ... display, 9a ... mouse, 10a ... hard disk drive, 20 ... application Selection unit, 21 ... application execution unit, 22 ... database engine

Claims (6)

装置の中枢を成す制御手段と、各種情報からなるデータベースを記憶したデータベース記憶手段とを備えた情報処理装置において、
前記制御手段の制御下にてアプリケーションを実行するアプリケーション実行手段と、
前記制御手段の制御下にてアプリケーションの実行と並行して動作し、検索条件に合致するデータを前記データベース記憶手段から検索するデータ検索手段と、
前記アプリケーション実行手段と前記データ検索手段とが前記制御手段を占有する割合を調整する調整手段とを備えてなることを特徴とする情報処理装置。
In an information processing apparatus comprising a control unit that forms the center of the apparatus and a database storage unit that stores a database of various types of information,
Application execution means for executing an application under the control of the control means;
Data search means that operates in parallel with the execution of the application under the control of the control means, and searches the database storage means for data that matches the search conditions;
An information processing apparatus comprising: an adjustment unit that adjusts a ratio of the application execution unit and the data search unit occupying the control unit.
前記データ検索手段が前記データベース記憶手段から検索した前記検索条件に合致するデータを記憶する検索データ記憶手段と、
この検索データ記憶手段に記憶されたデータ量を所定のタイミングで監視し、所定の基準量に達したことに応じて前記検索データ記憶手段に記憶されたデータを出力する監視出力手段と、
この監視出力手段が前記検索データ記憶手段に記憶されたデータ量を監視するタイミングを設定する設定手段をさらに備え、
前記調整手段は、前記設定手段により設定されたタイミングに従って前記検索データ記憶手段に記憶されたデータ量を監視するタイミングを変化させることで、前記アプリケーション実行手段と前記データ検索手段とが前記制御手段を占有する割合を調整することを特徴とする請求項1に記載の情報処理装置。
Search data storage means for storing data that matches the search conditions searched by the data search means from the database storage means;
A monitoring output means for monitoring the amount of data stored in the search data storage means at a predetermined timing, and outputting the data stored in the search data storage means in response to reaching a predetermined reference amount;
The monitoring output means further includes a setting means for setting a timing for monitoring the data amount stored in the search data storage means,
The adjustment means changes the timing for monitoring the amount of data stored in the search data storage means according to the timing set by the setting means, so that the application execution means and the data search means control the control means. The information processing apparatus according to claim 1, wherein an occupation ratio is adjusted.
前記設定手段は、前記タイミングに加え、前記基準量をさらに設定し、
前記調整手段は、前記設定手段により設定されたタイミングに従って前記検索データ記憶手段に記憶されたデータ量を監視するタイミングを変化させ、前記設定手段により設定された基準量に従って前記検索データ記憶手段に記憶されたデータを出力する基準量を変化させることで、前記アプリケーション実行手段と前記データ検索手段とが前記制御手段を占有する割合を調整することを特徴とする請求項2に記載の情報処理装置。
The setting means further sets the reference amount in addition to the timing,
The adjustment means changes the timing for monitoring the amount of data stored in the search data storage means according to the timing set by the setting means, and stores it in the search data storage means according to the reference amount set by the setting means. The information processing apparatus according to claim 2, wherein the ratio of the application execution unit and the data search unit occupying the control unit is adjusted by changing a reference amount for outputting the processed data.
前記設定手段は、前記アプリケーション実行手段と前記データ検索手段とが前記制御手段を占有する割合を、前記アプリケーション実行手段が実行するアプリケーションについて個別に設定することを特徴とする請求項3に記載の情報処理装置。   4. The information according to claim 3, wherein the setting unit individually sets a ratio of the application execution unit and the data search unit to occupy the control unit with respect to an application executed by the application execution unit. Processing equipment. 前記調整手段により前記監視出力手段が前記検索データ記憶手段に記憶されたデータ量を監視するタイミングおよび前記検索データ記憶手段に記憶されたデータを出力する基準量を自動的に設定する自動設定手段をさらに備えてなることを特徴とする請求項3に記載の情報処理装置。   Automatic setting means for automatically setting a timing at which the monitoring output means monitors the amount of data stored in the search data storage means and a reference amount for outputting the data stored in the search data storage means by the adjustment means; The information processing apparatus according to claim 3, further comprising: 装置の中枢を成す制御手段と、各種データからなるデータベースを記憶したデータベース記憶手段とを備えた情報処理装置の制御プログラムであって、
前記情報処理装置に、
前記制御手段の制御下にてアプリケーションを実行するアプリケーション実行機能と、
前記制御手段の制御下にてアプリケーションの実行と並行して動作し、検索条件に合致するデータを前記データベース記憶手段から検索するデータ検索機能と、
前記アプリケーション実行機能と前記データ検索機能とが前記制御手段を占有する割合を調整する調整機能とを実現させるための制御プログラム。
A control program for an information processing apparatus comprising a control unit that forms the center of the apparatus and a database storage unit that stores a database of various data,
In the information processing apparatus,
An application execution function for executing an application under the control of the control means;
A data search function that operates in parallel with the execution of the application under the control of the control means, and searches the database storage means for data that matches a search condition;
A control program for realizing an adjustment function for adjusting a ratio of the application execution function and the data search function occupying the control means.
JP2009031470A 2009-02-13 2009-02-13 Information processing apparatus and control program thereof Active JP5037544B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009031470A JP5037544B2 (en) 2009-02-13 2009-02-13 Information processing apparatus and control program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009031470A JP5037544B2 (en) 2009-02-13 2009-02-13 Information processing apparatus and control program thereof

Publications (2)

Publication Number Publication Date
JP2010186414A true JP2010186414A (en) 2010-08-26
JP5037544B2 JP5037544B2 (en) 2012-09-26

Family

ID=42767017

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009031470A Active JP5037544B2 (en) 2009-02-13 2009-02-13 Information processing apparatus and control program thereof

Country Status (1)

Country Link
JP (1) JP5037544B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000099441A (en) * 1998-09-25 2000-04-07 Fujitsu Ltd Device and method for controlling and presenting information
JP2000268053A (en) * 1999-03-19 2000-09-29 Nippon Steel Corp Information sharing system, device and method for controlling access to information and recording medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000099441A (en) * 1998-09-25 2000-04-07 Fujitsu Ltd Device and method for controlling and presenting information
JP2000268053A (en) * 1999-03-19 2000-09-29 Nippon Steel Corp Information sharing system, device and method for controlling access to information and recording medium

Also Published As

Publication number Publication date
JP5037544B2 (en) 2012-09-26

Similar Documents

Publication Publication Date Title
JP6678780B2 (en) Process visualization platform
WO2014094467A1 (en) Webpage searching method and browser
JP2010271863A (en) Information processing apparatus
JP6441786B2 (en) Test support apparatus, test support method, and program
WO2016143064A1 (en) Parameter setting value design assisting method and system
JP4881102B2 (en) Display system GUI display method and display control apparatus
JP5037544B2 (en) Information processing apparatus and control program thereof
JPH1097407A (en) Portable information equipment and display control method for icon
JPH07306847A (en) Computer operation support device
JP2005216201A (en) Job processing system
JP2002073655A (en) Information retrieval method and system, and program
JP7298208B2 (en) Information processing device and program
JPH07219743A (en) Data processor having icon display function
JP4697143B2 (en) Bearer selection method and apparatus
WO2013061481A1 (en) Method of search
JP2005327069A (en) Icon display processing method and icon display processing program
US11693620B2 (en) Information processing apparatus, information processing method, and non-transitory computer-readable storage medium
US20210271635A1 (en) File management apparatus and non-transitory computer readable medium
JP2000010701A (en) Operation menu setting method for graphical user interface
US20230297225A1 (en) Information processing apparatus, non-transitory computer readable medium, and information processing method
JP5836334B2 (en) Search program and search device
JPH09160704A (en) Command supplement device
JP2009289149A (en) Data processor
JP2728037B2 (en) Dynamic menu generator
JP2013097725A (en) Database device, database method, and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120501

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120704

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

Free format text: PAYMENT UNTIL: 20150713

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5037544

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150