JP5195281B2 - Input candidate recommendation method and input candidate recommendation program - Google Patents

Input candidate recommendation method and input candidate recommendation program Download PDF

Info

Publication number
JP5195281B2
JP5195281B2 JP2008275968A JP2008275968A JP5195281B2 JP 5195281 B2 JP5195281 B2 JP 5195281B2 JP 2008275968 A JP2008275968 A JP 2008275968A JP 2008275968 A JP2008275968 A JP 2008275968A JP 5195281 B2 JP5195281 B2 JP 5195281B2
Authority
JP
Japan
Prior art keywords
input
history
target form
character string
similarity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008275968A
Other languages
Japanese (ja)
Other versions
JP2010102656A (en
Inventor
悟 ▲高▼橋
隆夫 毛利
充 織田
豊 岩山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2008275968A priority Critical patent/JP5195281B2/en
Publication of JP2010102656A publication Critical patent/JP2010102656A/en
Application granted granted Critical
Publication of JP5195281B2 publication Critical patent/JP5195281B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ユーザ端末のディスプレイ上に表示された入力フォームの各入力欄に対する入力候補のリストを、過去の入力履歴に基づいて当該ユーザ端末のディスプレイ上に表示するための入力候補推薦方法,及び、かかる入力候補推薦方法を実現するための入力候補推薦プログラムに、関する。   The present invention provides an input candidate recommendation method for displaying a list of input candidates for each input field of an input form displayed on a display of a user terminal on the display of the user terminal based on a past input history, and The present invention relates to an input candidate recommendation program for realizing such an input candidate recommendation method.

例えばインターネットのようなコンピュータネットワーク上では、従来の紙の書面で授受された申請書,申込書等の各種書面が電子化されて、授受されている。例えば、インターネットにおいては、かかる電子化書面を要求するウェブサイトには、予め、一又は複数の入力欄(以下、「入力フォーム」という)を夫々含む電子化書面の雛形がアップロードされており、当該ウェブサイトに対してかかる電子化書面の交付・提出を希望するユーザは、自己の端末上で実行されているウェブブラウザプログラムを操作することによって、かかる電子化書面の雛形を当該ウェブサイト(ウェブサーバ)からダウンロードし、各入力フォームに必要な情報を入力(補充)することによって電子化書面を完成させた後に、当該電子化書面を同ウェブサイトへ送信するように、システム構成されている。   For example, on a computer network such as the Internet, various documents such as application forms and application forms that have been exchanged in a conventional paper form are digitized and exchanged. For example, on the Internet, a website requesting such a digitized document is preliminarily uploaded with a digitized template that includes one or more input fields (hereinafter referred to as “input forms”). A user who wishes to issue / submit such a digitized document to a website operates the web browser program executed on his / her terminal, and thereby the template of the digitized document is transferred to the website (web server). ), And after completing the digitized document by inputting (supplementing) necessary information in each input form, the system is configured to transmit the digitized document to the website.

ところで、入力フォームへの情報の入力(補充)を容易にするために、現在普及している主要なウェブブラウザプログラムには、一般に、当該ウェブブラウザプログラムがインストールされたユーザ端末における各入力フォームへの入力履歴を夫々記憶しておき、各入力フォーム毎に過去の入力履歴を提示し、ユーザが各入力履歴に含まれる文字列を任意に選択すると、選択された文字列を各入力フォームへ入力(補充)できる機能が、備えられている。   By the way, in order to facilitate the input (replenishment) of information to the input form, the currently popular main web browser programs generally include the input forms in the user terminals in which the web browser program is installed. Each input history is stored, the past input history is presented for each input form, and when the user arbitrarily selects a character string included in each input history, the selected character string is input to each input form ( A function that can be supplemented) is provided.

また、ある種の業務システムにおいては、各入力フォームに対する各端末での入力履歴をサーバ側に蓄積しておき、何れかの雛形を端末のディスプレイ上に表示させる際に、当該雛形の各入力フォームに対する入力履歴に基づいて入力候補を提示し、そこから夫々に対応する入力フォームに入力(補充)させるべき文字列を選択させる機能が、サーバ装置に備えられている。   Also, in a certain business system, when the input history of each input form at each terminal is stored on the server side and any template is displayed on the terminal display, each input form of that template is displayed. The server apparatus is provided with a function of presenting input candidates based on the input history for and selecting a character string to be input (supplemented) from the corresponding input form.

更に、例えばウィンドウズ(日本マイクロソフト社の登録商標)のようなOS(オペレーティングシステム)には、辞書や過去の入力履歴から入力候補を提示して、ユーザに入力候補を選択させて簡単に文字列入力させる機能(上記OSにおいては、IMEと称される機能)が組み込まれており、これによると、入力フォーム如何とは無関係に入力履歴が蓄積されているので、どの入力フォームに対しても同様に入力候補が提示されることとなる。
特開2000-276487号公報 特開平8-255174号公報
Furthermore, for example, an OS (operating system) such as Windows (registered trademark of Microsoft Japan Co., Ltd.) presents input candidates from a dictionary or past input history, and allows the user to select an input candidate for easy character string input. (In the above OS, a function called IME) is incorporated, and according to this, since the input history is accumulated regardless of the input form, the same applies to any input form. Input candidates are presented.
JP 2000-276487 A JP-A-8-255174

しかしながら、前二者の機能によると、各入力フォームに割り当てられたNAME属性の値毎に入力履歴が作成されるので、異なるNAME属性が夫々割り当てられた入力欄同士の間では入力履歴は共有されない。また、入力履歴は、入力フォーム毎に管理され、別の入力フォームにおける入力履歴は参照されないので、以前に別の入力フォームで望む値を入力したことがあったとしても、その入力履歴を流用することはできなかった。   However, according to the former two functions, an input history is created for each value of the NAME attribute assigned to each input form, so that the input history is not shared between input fields to which different NAME attributes are assigned. . The input history is managed for each input form, and the input history in another input form is not referred to. Therefore, even if a desired value has been input in another input form before, the input history is diverted. I couldn't.

また、後者の機能によると、各入力フォームの別とは無関係に蓄積された一つの膨大な入力履歴が参照されるので、いきおい入力候補の数が多くなりすぎ、また、関連性のない入力候補が提示されてしまい、ユーザが望む入力候補が提示される可能性が低くなり、かつ、選択が困難となるという問題が生じていた。   In addition, according to the latter function, one huge input history that is stored independently of each input form is referenced, so the number of input candidates is too large, and unrelated input candidates. This presents a problem that the input candidate desired by the user is less likely to be presented and selection becomes difficult.

そこで、本案の課題は、同じ入力フォームに対して過去に入力した文字列の履歴だけではなく、類似した文字列が入力される傾向のある入力フォームでの文字列入力の履歴をも参照して、入力候補を提示することができる入力候補推薦方法,及び、コンピュータをしてかかる入力候補推薦方法のサービスを行わしめるための入力候補推薦プログラムの提案である。   Therefore, the problem of this proposal is to refer not only to the history of character strings input in the past for the same input form, but also to the history of character string input in input forms that tend to input similar character strings. The present invention proposes an input candidate recommendation method capable of presenting input candidates and an input candidate recommendation program for causing a computer to perform the service of the input candidate recommendation method.

本案では、所定の複数の入力フォームの夫々について、過去に入力された文字列の入力履歴がデータベースに保存され、前記コンピュータの操作者によって入力対象として選択された入力フォームである入力対象フォームについての入力履歴,及び、当該入力対象フォーム以外の入力フォームである非入力対象フォームについての入力履歴が、夫々、前記データベースから取得される。前記非入力対象フォームについての入力履歴に含まれる文字列のうち前記入力対象フォームについての入力履歴に含まれないものについて、夫々、前記入力対象フォームについての入力履歴に含まれる全文字列に対する類似度の総和を算出され、前記非入力対象フォームについての入力履歴に含まれる文字列のうちの前記類似度の総和が高い所定個数の文字列を、前記入力対象フォームについての入力履歴に含まれる文字列とともに、入力候補として出力される。   In the present plan, for each of a plurality of predetermined input forms, an input history of a character string input in the past is stored in a database, and an input target form that is an input form selected as an input target by the computer operator is described. An input history and an input history for a non-input target form that is an input form other than the input target form are respectively acquired from the database. Of the character strings included in the input history for the non-input target form, those that are not included in the input history for the input target form, respectively, the similarity to all the character strings included in the input history for the input target form The character string included in the input history for the input target form is a predetermined number of character strings having a high sum of the similarities among the character strings included in the input history for the non-input target form. At the same time, it is output as an input candidate.

このように、本案によると、操作者が選択した入力対象フォームの入力履歴に含まれる文字列が、入力候補として出力される他、各非入力対象フォームの夫々の入力履歴に含まれる文字列のうち、入力対象フォームの入力履歴に含まれる各文字列との類似度の総和が高いものから順に所定個数の文字列も、入力候補として出力される。従って、操作者に提示される入力候補が、入力対象フォームの入力履歴に含まれる文字列に限定されない一方で、関連性の低い大量の文字列が入力候補として出力されてしまう弊害も防止される。   As described above, according to the present plan, the character strings included in the input history of the input target form selected by the operator are output as input candidates, and the character strings included in the respective input histories of the non-input target forms. Among these, a predetermined number of character strings are output as input candidates in descending order of the sum of the similarities with each character string included in the input history of the input target form. Therefore, the input candidates presented to the operator are not limited to the character strings included in the input history of the input target form, but the adverse effect that a large number of unrelated character strings are output as input candidates is also prevented. .

本案は、操作者が操作するコンピュータとしてのクライアント端末とサーバ装置とをネットワーク経由で接続してなるネットワークシステムに適用することも可能であるが、データベースは、端末にあってもサーバ装置にあっても良い。前者の場合、データベースからの入力履歴の取得,類似度の総和の算出,入力候補の選択といった処理もクライアント端末でなされることになる。この場合、入力フォームは予めクライアント端末に用意されていても良いし、サーバ装置からダウンロードされても良い。サーバ装置からダウンロードする場合には、新規の種類の入力フォームがダウンロードされる毎に、その入力フォームについての入力履歴も、データベースに追加されるようになっていることが望ましい。データベースがサーバ装置側に存在する場合には、各入力フォーム毎の入力履歴として、ユーザ毎の入力履歴を蓄積することも可能であるし、入力したユーザの区別をせずに入力履歴を蓄積することも可能である。   The present proposal can be applied to a network system in which a client terminal as a computer operated by an operator and a server device are connected via a network. Also good. In the former case, processing such as acquisition of input history from the database, calculation of the sum of similarities, and selection of input candidates are also performed at the client terminal. In this case, the input form may be prepared in advance in the client terminal or may be downloaded from the server device. When downloading from the server device, it is desirable that the input history for the input form is also added to the database each time a new type of input form is downloaded. When the database exists on the server device side, it is possible to store the input history for each user as the input history for each input form, and to store the input history without distinguishing the input user. It is also possible.

類似度の算出の仕方としては、公知の様々な手法を採りうるが、その一つとして内積相関法を採用することが可能である。この場合、単に文字列同士の形態的な一致率を計測するだけでなく、各入力フォームに各文字列が入力される頻度,割合といった重みを、類似度に反映させても良い。また、各入力フォーム間で類似した文字列同士が入力される傾向がある場合には、これをフォーム間類似度と評価して、フォーム間類似度が高い入力フォームに入力された文字列の類似度をより高く評価しても良い。   As a method of calculating the similarity, various known methods can be adopted, and as one of them, the inner product correlation method can be adopted. In this case, not only the morphological coincidence rate between character strings but also weights such as the frequency and ratio of each character string input to each input form may be reflected in the similarity. Also, if there is a tendency for similar character strings to be input between input forms, this is evaluated as similarity between forms, and the similarity of character strings input to input forms with high inter-form similarity You may rate higher.

以上のように構成された本案によると、同じ入力フォームに対して過去に入力した文字列の履歴だけではなく、類似した文字列が入力される傾向のある入力フォームでの文字列入力の履歴をも参照して、入力候補を提示することができる。   According to the present plan configured as described above, not only the history of character strings input in the past for the same input form, but also the history of character string input in input forms that tend to input similar character strings. Also, input candidates can be presented.

以下、図面に基づいて、本案の実施の形態であるネットワークシステムの例を、説明する。
<システム構成>
先ず、当該ネットワークシステムのシステム構成を、図1及び図2のブロック図に基づいて説明する。
Hereinafter, an example of a network system according to an embodiment of the present plan will be described with reference to the drawings.
<System configuration>
First, the system configuration of the network system will be described based on the block diagrams of FIGS.

図1に示すように、このネットワークシステムは、上記入力支援方法を利用した電子化書面(例えば、各種会員サービスに対する入会申込書,ネットショッピングにおける商品購入申込書,各種行政機関に対する電子申請書,等)の受け付けサービスを行っているサーバ装置1,及び、当該サーバ装置1に対して電子化書面の送信を行うクライアント装置2から構成される。なお、以下の説明では、サーバ装置1とクライアント端末2とを中継するネットワークはインターネットNであるとする。また、インターネットN上には、かかるサーバ装置1及びクライアント端末2は夫々多数存在し得るが、図1では、夫々1台づつ図示した。   As shown in FIG. 1, this network system is an electronic document that uses the above input support method (for example, membership application forms for various member services, product purchase application forms for online shopping, electronic application forms for various administrative institutions, etc. ) And a client device 2 that transmits an electronic document to the server device 1. In the following description, it is assumed that the network that relays the server device 1 and the client terminal 2 is the Internet N. In addition, a large number of such server devices 1 and client terminals 2 may exist on the Internet N, but one unit is illustrated in FIG.

クライアント装置2は、インターネット接続機能を有するパーソナルコンピュータ,PDA(Personal Digital Assistant),携帯電話等であり、一般的に市販されているものである。即ち、クライアント装置2の図示せぬメモリ又はディスク装置に、通信プログラムを含むOS及びブラウザプログラム21がインストールされ、図示せぬCPUがこれらプログラムを読み込んで実行することより、図示せぬネットワークアダプタ又は無線装置(SIMカード等)を通じてインターネットNに接続可能となっていれば良い。それにより
、ブラウザプログラム21に従って、CPUがインターネット上のウェブサーバ(サーバ装置1等)から各種構造化文書データ(HTMLデータ,XMLデータ等,以下、HTMLデータを
もってその代表とする,後述する電子書面のHTMLデータS,入力候補提示画面のHTMLデータ0等)をダウンロードし、ダウンロードしたHTMLデータを解析することによって夫々のHTMLデータに対応した画面を図示せぬディスプレイ上に表示する。
The client device 2 is a personal computer having an Internet connection function, a PDA (Personal Digital Assistant), a mobile phone or the like, and is generally commercially available. That is, an OS and a browser program 21 including a communication program are installed in a memory or a disk device (not shown) of the client device 2, and a CPU (not shown) reads and executes these programs to thereby execute a network adapter or wireless communication (not shown). It is only necessary to be able to connect to the Internet N through a device (SIM card or the like). As a result, according to the browser program 21, the CPU sends various structured document data (HTML data, XML data, etc., hereinafter referred to as HTML data, which will be described below) from a web server (such as the server device 1) on the Internet. HTML data S, HTML data 0 of the input candidate presentation screen, etc.) are downloaded, and the downloaded HTML data is analyzed to display a screen corresponding to each HTML data on a display (not shown).

一方サーバ装置1は、インターネットN上のウェブサーバとして通常必要となるCPU,ネットワークアダプタ,メインメモリ,ハードディスク等のハードウェア構成,並びに、ハードディスクに格納されてCPUによって読み込まれて実行されるOSやWWW(World
Wide Web)サーバプログラムを有している。
On the other hand, the server device 1 has a hardware configuration such as a CPU, a network adapter, a main memory, and a hard disk that are normally required as a web server on the Internet N, and an OS and WWW that are stored in the hard disk and read and executed by the CPU. (World
Wide Web) server program.

また、サーバ装置1の図示せぬハードディスクには、WWWサーバプログラムと連携する
ことにより、クライアント端末2からの要求に応じて、ディスク装置(後述するWebページDB13)から読み出した入力フォームのテンプレートに基づいて電子書面雛形のHTMLデータを生成した上で要求元クライアント端末2へ送信し、この電子化書面雛型のHTMLデータの各入力フォームに適宜文字列を補充してなる電子化書面のHTMLデータSを受信して、その内容(各入力フォームに補充される文字列が意味する内容)に応じた処理や、ディスク装置(後述するWebページDB13)から読み出した入力候補提示画面のテンプレートに、後述するように類似候補推薦機能11から通知された入力候補群を埋め込むことによって、これら入力候補群から一つを選択して入力フォームに補充する機能を有する入力候補提示画面のHTMLデータ0を生成して、要求元クライアント装置2へ応答させる処理を、図示せぬCPUに実行させるための各種アプリケーションプログラム(CGIプログラム,サーブレット等)も、インストールされている。図1においては、これらCPU,OS,WWWサーバプログラム及び上記各種アプリケーションプログラムによって実現さ
れる機能が、「Webサーバ10」として図示されている。
In addition, the hard disk (not shown) of the server device 1 is linked to the template of the input form read from the disk device (Web page DB 13 described later) in response to a request from the client terminal 2 in cooperation with the WWW server program. The electronic document HTML data S is generated after being generated and transmitted to the requesting client terminal 2, and each input form of the electronic document template HTML data is appropriately supplemented with a character string. Will be described later in the template of the input candidate presentation screen read out from the disk device (Web page DB 13 to be described later) according to the content (the content meaning the character string supplemented to each input form). By embedding the input candidate group notified from the similar candidate recommendation function 11 as described above, Various application programs (CGI) for causing a CPU (not shown) to execute processing for generating HTML data 0 of an input candidate presentation screen having a function of selecting and supplementing the input form and causing the request source client device 2 to respond Programs, servlets, etc.) are also installed. In FIG. 1, the functions realized by the CPU, OS, WWW server program, and the various application programs are illustrated as “Web server 10”.

さらに、サーバ装置1の図示せぬハードディスクには、WWWサーバ10からの要求に応
じて、要求された入力フォームに対する入力候補群を決定してWWWサーバ10に応答する
処理を、図示せぬCPUに実行させるための各種アプリケーションプログラム(CGIプログラム,サーブレット等)も、インストールされている。図1おいては、これらCPU及び上記各種アプリケーションプログラムによって実現される機能が、「類似候補推薦機能11」として図示されている。この類似候補推薦機能11の機能については、後において、図2を参照して詳細に説明する。
Further, on the hard disk (not shown) of the server device 1, a process for determining an input candidate group for the requested input form and responding to the WWW server 10 in response to a request from the WWW server 10 is sent to the CPU (not shown). Various application programs (CGI program, servlet, etc.) to be executed are also installed. In FIG. 1, functions realized by the CPU and the various application programs are illustrated as “similar candidate recommendation function 11”. The function of the similar candidate recommendation function 11 will be described later in detail with reference to FIG.

さらに、サーバ装置1の図示せぬハードディスクには、WWWサーバ10と連携すること
により、クライアント装置2から受信した電子化書面のHTMLデータS中の各入力フォーム
毎に、そこに補充されている文字列を入力履歴として、ディスク装置(後述する入力履歴データベース15a)に蓄積させる処理を、図示せぬCPUに実行させるための各種アプリケーションプログラム(CGIプログラム,サーブレット等)も、インストールされている。図1おいては、これらCPU及び上記各種アプリケーションプログラムによって実現される機能が、「履歴更新機能12」として図示されている。
Furthermore, the hard disk (not shown) of the server device 1 is supplemented with each input form in the electronic document HTML data S received from the client device 2 by cooperating with the WWW server 10. Various application programs (CGI program, servlet, etc.) for causing a CPU (not shown) to execute processing for storing a column as an input history in a disk device (an input history database 15a described later) are also installed. In FIG. 1, functions realized by the CPU and the various application programs are illustrated as “history update function 12”.

Webページデータベース13は、予め、WWWサーバプログラムが単体で応答可能な各
種ウェブデータや、上述した入力フォームのテンプレートや、上述した有力候補提示画面のテンプレートを格納してあるデータベースであり、ディスク装置の一部を構成する要素である。図3は、Webページデータベース13のデータ構造及び一つの入力フォームのテンプレートと上記入力候補提示画面のテンプレートを格納した部分を例示する表である。
The web page database 13 is a database that stores in advance various web data that can be responded to by a WWW server program alone, the template of the input form described above, and the template of the leading candidate presentation screen described above. It is an element that constitutes a part. FIG. 3 is a table exemplifying a data structure of the Web page database 13 and a part storing one input form template and the input candidate presentation screen template.

また、入力履歴データベース15は、Webページデータベース13に格納されている各種電子化書面のHTMLデータに含まれる各入力フォーム毎に作成され、夫々、対応する入力フォームに対して過去に入力(補充)された文字列の履歴(入力履歴)を蓄積するデータベースである(所定の複数の入力フォームの夫々について、過去に入力された文字列の入力履歴を保存するデータベース手段に相当)。図1においては、入力対象フォーム入力履歴データベース15aと他の入力履歴データベース15bとに分けて図示されているが、両者の差は相対的に過ぎず、ある一つの入力フォームについての処理をする際に、同入力フォームに対応した入力履歴データベース15が、特に「入力対象フォーム入力履歴データベース15a」と称されるに過ぎない。また、これらの入力履歴データベース15は、各入力フォーム毎に入力履歴が蓄積され且つ検索可能となっている限り、一つのデータベースとして統合されていても良い。図4及び図5は、入力履歴データベース15のデータ構造及びその内容を例示する表である。図4及び図5に示されるように、入力履歴データベース15は、対応する入力フォームのIDを記録するための「フォームID」フィールド,同入力ホームに対して過去に入力(補充)された各文字列を夫々記録するための「入力履歴」フィールド,各文字列毎の入力回数を記録するための「入力回数」フィールド,入力回数の総和に対する各文字列毎の入力回数の比率を記録するための「重み」フィールドから、構成されている。   The input history database 15 is created for each input form included in the HTML data of various electronic documents stored in the Web page database 13, and is input (supplemented) to the corresponding input form in the past. This is a database that accumulates the history of input character strings (input history) (corresponding to database means for storing input history of character strings input in the past for each of a plurality of predetermined input forms). In FIG. 1, the input target form input history database 15a and the other input history database 15b are illustrated separately, but the difference between them is only relatively, and when processing for one input form is performed. In addition, the input history database 15 corresponding to the input form is merely referred to as “input target form input history database 15a”. Further, these input history databases 15 may be integrated as one database as long as the input history is accumulated and searchable for each input form. 4 and 5 are tables illustrating the data structure of the input history database 15 and its contents. As shown in FIGS. 4 and 5, the input history database 15 has a “form ID” field for recording the ID of the corresponding input form, and each character input (supplemented) in the past to the input home. An “input history” field for recording each column, an “number of input” field for recording the number of times of input for each character string, and a ratio of the number of times of input for each character string to the total number of times of input Consists of the "weight" field.

図2は、上述した類似候補推薦機能11の詳細構成を示すブロック図である。この図2に示すように、類似候補推薦機能11(即ち、類似候補推薦機能11を実現するためのアプリケーションプログラム群)は、入力対象フォーム履歴取得機能111,全体履歴取得機能112,類似度算出機能113及び順位付け機能114の各モジュール(即ち、各モジュールの機能を夫々実現するための各アプリケーションプログラム)から、構成されている。   FIG. 2 is a block diagram showing a detailed configuration of the similar candidate recommendation function 11 described above. As shown in FIG. 2, the similar candidate recommendation function 11 (that is, a group of application programs for realizing the similar candidate recommendation function 11) includes an input target form history acquisition function 111, an entire history acquisition function 112, and a similarity calculation function. 113 and the ranking function 114 (that is, each application program for realizing the function of each module).

入力対象フォーム履歴取得機能111は、Webサーバ10から指定された入力フォーム(入力対象フォーム)に対応した入力履歴データベース(入力対象フォーム入力履歴データベース15a)から入力履歴の内容(以下、「入力対象フォームの履歴」という)を取得するモジュールである(入力対象フォームについての入力履歴をデータベース手段から取得する取得手段に相当)。   The input target form history acquisition function 111 reads the contents of the input history (hereinafter referred to as “input target form”) from the input history database (input target form input history database 15a) corresponding to the input form (input target form) designated from the Web server 10. (Referred to as acquisition means for acquiring the input history of the input target form from the database means).

全体履歴取得機能112は、入力対象フォーム入力履歴データベース15a以外の全入力履歴データベース15bから夫々の入力履歴の内容(以下、「非入力対象フォームの履歴」という)を取得するモジュールである(入力対象フォーム以外の入力フォームである非入力対象フォームについての入力履歴をデータベース手段から取得する取得手段に相当)。   The entire history acquisition function 112 is a module that acquires the contents of each input history (hereinafter referred to as “non-input target form history”) from all input history databases 15b other than the input target form input history database 15a (input target). This corresponds to an acquisition unit that acquires from the database unit the input history of a non-input target form that is an input form other than a form.

類似度算出機能113は、入力対象フォームの入力履歴をなす各文字列と各非入力対象フォームの入力履歴をなす各文字列との類似度を夫々算出するモジュールである。なお、この類似度の算出方法としては各種手法が適用可能であるが、ここでは、その一例として、内積相関法を用いている(非入力対象フォームについての入力履歴に含まれる文字列のうち入力対象フォームについての入力履歴に含まれないものについて、夫々、入力対象フォームについての入力履歴に含まれる全文字列に対する類似度の総和を算出する類似度総和算出手段に相当)。   The similarity calculation function 113 is a module that calculates the similarity between each character string forming the input history of the input target form and each character string forming the input history of each non-input target form. Note that various methods can be applied as the similarity calculation method. Here, as an example, the inner product correlation method is used (input among the character strings included in the input history of the non-input target form). For items not included in the input history for the target form, this corresponds to a similarity total calculation means for calculating the sum of similarities for all character strings included in the input history for the input target form).

順位付け機能114は、類似度算出機能113によって算出された類似度の大きい幾つかの文字列を推薦入力候補として選択し、入力対象フォーム履歴取得手段111によって読み出された入力対象フォームの入力履歴に含まれる入力候補としてのもじれるとともに、Webサーバ10に応答するモジュールである(非入力対象フォームについての入力履歴に含まれる文字列のうちの類似度の総和が高い所定個数の文字列を、入力対象フォームについての入力履歴に含まれる文字列とともに、入力候補として出力する入力候補出力手段に相当)。   The ranking function 114 selects several character strings having a high similarity calculated by the similarity calculation function 113 as recommended input candidates, and the input target form input history read by the input target form history acquisition unit 111. This is a module that responds to the Web server 10 as a candidate for input included in (a predetermined number of character strings having a high sum of similarities among character strings included in the input history for the non-input target form, This corresponds to input candidate output means for outputting as an input candidate together with a character string included in the input history of the input target form).

フォーム間類似度データべース14は、各入力フォーム相互間における類似度算出機能113によって算出された類似度の総合評価であるフォーム間類似度を記録しておくためのデータベースであり、ディスク装置の一部を構成する要素である。図6は、フォーム間類似度データベース14のデータ構造及びその内容を例示する表である。
<処理内容>
以下、フローチャートを参照して、サーバ装置1におけるWebサーバ10,類似候補推薦機能11及び履歴更新機能12の動作(即ち、WWWサーバプログラム及び各アプリケ
ーションプログラムに従って図示せぬCPUが実行する処理)の内容を、図7乃至図15のフローチャート,並びに、図16及び図17のタイミングチャートを参照して、説明する。なお、上記フローチャート及びタイミングチャートには、同じ処理については同じステップ番号を付してある。また、以下の説明においては、理解を容易にするために、図3乃至図6に例示した各種データが各データベース13〜15に格納されていた場合における処理の具体例を、合わせて記述する。
The inter-form similarity database 14 is a database for recording the inter-form similarity, which is a comprehensive evaluation of the similarity calculated by the similarity calculation function 113 between the input forms. Is an element that constitutes a part of FIG. 6 is a table illustrating the data structure of the inter-form similarity database 14 and its contents.
<Processing content>
Hereinafter, with reference to the flowchart, the contents of the operations of the Web server 10, the similar candidate recommendation function 11 and the history update function 12 in the server device 1 (that is, processing executed by a CPU (not shown) according to the WWW server program and each application program). Will be described with reference to the flowcharts of FIGS. 7 to 15 and the timing charts of FIGS. Note that the same step numbers are assigned to the same processes in the flowchart and the timing chart. In the following description, in order to facilitate understanding, specific examples of processing in the case where various data illustrated in FIGS. 3 to 6 are stored in the databases 13 to 15 will be described together.

先ず、図7は、Webサーバ10が実行する処理であり、各クライアント端末2とのセッション毎に起動する。そして、最初のS001において、Webサーバ10は、クライアント端末1からのHTTPリクエストメッセージを待機する。そして、何らかのHTTPリクエストメッセージを受信すると、Webサーバ10は、処理をS001からS002へ進める。   First, FIG. 7 shows processing executed by the Web server 10 and is activated for each session with each client terminal 2. In the first S001, the Web server 10 waits for an HTTP request message from the client terminal 1. When any HTTP request message is received, the Web server 10 advances the process from S001 to S002.

S002では、Webサーバ10は、クライアント端末1から受信したHTTPリクエストメッセージが電子化書面の雛型のHTML取得要求(図18)であるかどうかをチェックする
。そして、電子化書面の雛型のHTML取得要求を受信したのであれば処理をS003へ進め、それ以外のHTTPリクエストメッセージを受信したのであれば処理をS007へ進める。
In S002, the Web server 10 checks whether the HTTP request message received from the client terminal 1 is an electronic document template HTML acquisition request (FIG. 18). If an electronic document template HTML acquisition request is received, the process proceeds to step S003. If any other HTTP request message is received, the process proceeds to step S007.

S003では、Webサーバ10は、受信したHTTPリクエストメッセージによって要求された電子化書面の雛型を構成すべき入力フォームのHTMLテンプレートを、Webベースデータベース13から取得する。例えば、要求された電子化書面の雛型が、図3に示す内容を有するWebページデータベース13に格納された一つの入力フォームのみから構成される場合には、本ステップにて抽出される入力フォームのHTMLテンプレートは、図19に示す通りとなる。   In S <b> 003, the Web server 10 acquires an HTML template of an input form that should form a digitized document template requested by the received HTTP request message from the Web base database 13. For example, if the requested electronic document template is composed of only one input form stored in the Web page database 13 having the contents shown in FIG. 3, the input form extracted in this step The HTML template is as shown in FIG.

次のS004では、Webサーバ10は、S003にて取得したHTMLテンプレート上の入力値を空にする。例えば、図19に示す内容のHTMLテンプレートが取得された場合には、図20に示す通りとなる。   In the next S004, the Web server 10 empties the input value on the HTML template acquired in S003. For example, when the HTML template having the content shown in FIG. 19 is acquired, the result is as shown in FIG.

次のS005では、Webサーバ10は、S004での処理がなされたHTMLテンプレートを合成することにより、要求された電子化書面雛型のHTMLデータを生成する。但し、要求された電子化書面の雛型が一つの入力フォームのみから構成される場合には、S004での処理がなされたHTMLテンプレートが、そのまま、電子化書面雛型のHTMLデータとされる。   In the next S005, the Web server 10 generates the requested electronic document template HTML data by synthesizing the HTML template processed in S004. However, when the requested electronic document template is composed of only one input form, the HTML template processed in S004 is used as it is as the electronic document template HTML data.

次のS006では、Webサーバ10は、S005の処理を経た電子化書面雛型のHTMLデータを、要求元クライアント端末2へ返送する。すると、クライアント端末2では、図示せぬCPUによって実行されているブラウザプログラム21が、受信したHTMLデータに基づいて、電子化書面の雛型を図示せぬディスプレイ上に表示する。例えば、電子化書面雛型のHTMLデータが図20に示すHTMLテンプレートのみから構成されている場合には、表示される電子化書面の雛型は、図21に示す通りとなる。図20及び図21から明らかなように、この電子化書面の雛型には、住所を示す文字列が入力(補充)されるべき入力フォーム31,図示せぬ入力装置によって操作されることによって入力候補推薦要求メッセージをサーバ装置1へ送信するための「履歴検索」ボタン32,及び、図示せぬ入力装置によって操作されることによって入力フォーム31に入力(補充)された文字列を「送信要求メッセージ」として送信するための「送信」ボタン33が含まれている。なお、図22に示すように、上記入力候補推薦要求メッセージには、「履歴検索機能」のURL,及び、操作された「履歴検索」ボタン32に対応した入力フォーム31のIDが、含まれている。   In next S006, the Web server 10 returns the digitized document template HTML data subjected to the processing in S005 to the requesting client terminal 2. Then, in the client terminal 2, the browser program 21 executed by the CPU (not shown) displays an electronic document template on a display (not shown) based on the received HTML data. For example, when the digitized document template HTML data is composed only of the HTML template shown in FIG. 20, the digitized document template to be displayed is as shown in FIG. As is apparent from FIGS. 20 and 21, in this electronic document template, a character string indicating an address is input by being operated by an input form 31 to be input (supplemented), an input device (not shown). A “history search” button 32 for transmitting a candidate recommendation request message to the server device 1 and a character string input (supplemented) in the input form 31 by being operated by an input device (not shown) are referred to as a “transmission request message”. "Send" button 33 for sending as "." As shown in FIG. 22, the input candidate recommendation request message includes the URL of “history search function” and the ID of the input form 31 corresponding to the operated “history search” button 32. Yes.

S006を完了すると、Webサーバ10は、処理をS001に戻し、次のHTMLメッセージを待つ。そして、HTMLメッセージをクライアント端末2から受信すると、Webサーバ10は、処理をS001からS002へ進め、受信したHTMLメッセージが電子化書面の雛型のHTML取得要求以外のHTMLメッセージであれば、処理をS002からS007へ進め、更に、受信したHTMLメッセージが入力候補推薦要求メッセージであるか否かをチェックする。そして、Webサーバ10は、入力候補推薦要求メッセージを受信したのであれば処理をS008へ進め、それ以外のHTTPリクエストメッセージを受信したのであれば処理をS011へ進める。   When S006 is completed, the Web server 10 returns the process to S001 and waits for the next HTML message. When the HTML message is received from the client terminal 2, the Web server 10 advances the process from S001 to S002, and if the received HTML message is an HTML message other than an electronic document template HTML acquisition request, the process is performed. The process proceeds from S002 to S007, and further, it is checked whether or not the received HTML message is an input candidate recommendation request message. The Web server 10 advances the process to S008 if an input candidate recommendation request message is received, and advances the process to S011 if any other HTTP request message is received.

S008では、Webサーバ10は、類似候補推薦機能11を呼び出しす。すると、呼び出された類似候補推薦機能11は、図8のサブルーチンを実行し、その最初のS101において、入力対象フォーム履歴取得機能を111を呼び出す。すると、呼び出された類似候補推薦機能11、図9のサブルーチンを実行し、S201において、Webサーバ10が受信した入力候補推薦要求メッセージに含まれる入力フォームのIDに対応した入力履歴データベース15,即ち、入力対象フォーム入力履歴データベース15aから、入力
履歴たる全ての文字列(及びその「重み」フィールドの値[以下、単に「重み」と称する])を読み出す。例えば、図4に示す内容を有するフォームID=0についての入力履歴データベース15が入力対象フォーム入力履歴データベース15aとされた場合には、読み出される入力履歴は、図23に示す通りとなる。このS201の処理が、入力対象フォームについての入力履歴をデータベースから取得する処理に、相当する。
In S008, the Web server 10 calls the similar candidate recommendation function 11. Then, the called similar candidate recommendation function 11 executes the subroutine of FIG. 8 and calls the input target form history acquisition function 111 in the first S101. Then, the called similar candidate recommendation function 11 and the subroutine of FIG. 9 are executed, and in S201, the input history database 15 corresponding to the input form ID included in the input candidate recommendation request message received by the Web server 10, that is, From the input target form input history database 15a, all the character strings (and their “weight” field values [hereinafter simply referred to as “weights”) as input history are read. For example, when the input history database 15 for the form ID = 0 having the contents shown in FIG. 4 is the input target form input history database 15a, the input history to be read is as shown in FIG. The process of S201 corresponds to a process of acquiring the input history for the input target form from the database.

図8のサブルーチンにおける次のS102では、類似候補推薦機能11は、全体履歴取得機能112を呼び出す。すると、呼び出された全体履歴取得機能112は、図10のサブルーチンを実行し、S301において、入力対象フォーム入力履歴データベース15a以外の全入力履歴データベース15,即ち、全ての非入力対象フォーム入力履歴データベース15bから、夫々、全入力履歴(文字列)及びその重みを読み出す。例えば、図5に示す内容を有するフォームID=1及びフォームID=2についての二つの入力履歴データベース15が入力対象フォーム入力履歴データベース15aとは別に存在していた場合には、読み出される入力履歴及び重みは、図24に示す通りとなる。このS301の処理が、入力対象フォーム以外の入力フォームである非入力対象フォームについての入力履歴をデータベースから取得する処理に、相当する。   In the next S102 in the subroutine of FIG. 8, the similar candidate recommendation function 11 calls the entire history acquisition function 112. Then, the called entire history acquisition function 112 executes the subroutine of FIG. 10, and in S301, all the input history databases 15 other than the input target form input history database 15a, that is, all the non-input target form input history databases 15b. From this, all input histories (character strings) and their weights are read out. For example, when two input history databases 15 for the form ID = 1 and the form ID = 2 having the contents shown in FIG. 5 exist separately from the input target form input history database 15a, The weights are as shown in FIG. The process of S301 corresponds to a process of acquiring an input history for a non-input target form that is an input form other than the input target form from the database.

図8のサブルーチンにおける次のS103では、類似候補推薦機能11は、類似度算出機能113を呼び出す。すると、呼び出された類似度算出機能113は、図11のサブルーチンを実行する。   In the next S 103 in the subroutine of FIG. 8, the similarity candidate recommendation function 11 calls the similarity calculation function 113. Then, the called similarity calculation function 113 executes the subroutine of FIG.

図11のサブルーチンに入って最初のS401では、類似度算出機能113は、S301にて各非入力対象フォーム入力履歴データベース15bから読み出した入力履歴(文字列)を、一つのデータ列として連結する。例えば、図24に示す内容の入力履歴(文字列)が各非入力対象フォーム入力履歴データベース15bから読み出された場合には、データ列は、図25に示すようになる。図25に示すように、この時点では、データ列には同じ文字列が重複して含まれていることがありうる。   In the first step S401 after entering the subroutine of FIG. 11, the similarity calculation function 113 concatenates the input histories (character strings) read from each non-input target form input history database 15b in S301 as one data string. For example, when the input history (character string) having the contents shown in FIG. 24 is read from each non-input target form input history database 15b, the data string is as shown in FIG. As shown in FIG. 25, at this point, the data string may include the same character string in duplicate.

次のS402では、類似度算出機能113は、S401にて連結したデータ列から、重複した文字列を削除する。例えば、図25に示す内容のデータ列では「東京都東京都EE区」なる文字列が重複しているので、図26に示すように、当該文字列(二度目以降に登場したもの)が削除される。   In next step S402, the similarity calculation function 113 deletes a duplicate character string from the data string connected in step S401. For example, in the data string having the contents shown in FIG. 25, the character string “EE Tokyo EE Ward” is duplicated, so that the character string (appeared for the second time or later) is deleted as shown in FIG. Is done.

次のS403では、類似度算出機能113は、S402の処理を経たデータ列から、S201にて取得した入力履歴に含まれる文字列を削除する。例えば、S201にて取得された入力履歴が図23に示す通りであるとすると、図26に示すデータ列から、「東京都AA区」なる文字列,及び、「東京都BB区」なる文字列が削除され、削除後のデータ列
は、図27に示す通りとなる。
In the next S403, the similarity calculation function 113 deletes the character string included in the input history acquired in S201 from the data string that has undergone the process of S402. For example, assuming that the input history acquired in S201 is as shown in FIG. 23, the character string “Tokyo AA Ward” and the character string “Tokyo BB Ward” from the data string shown in FIG. Is deleted, and the data string after deletion is as shown in FIG.

次のS404では、類似度算出機能113は、各非入力対象フォーム入力履歴データベース15b毎に、S403の処理を経たデータ列に含まれる各文字列について夫々に格納されていた「重み」を記載したフィールド(列)を付加することにより、マージ表を生成する。このとき、各非入力対象フォーム入力履歴データベース15bに値が格納されていない文字列に相当するレコード(行)には、値がないことを無効値N/Aが設定される。このような無効値N/Aが設定されるが故に、当該マージ表における各フィールド(列)の値は、「拡張重み」と称される。例えば、データ列が図27に示す内容であり、各非入力対象フォーム入力履歴データベース15bから読み出した入力履歴が図24に示す通りであるとすると、作成されるマージ表は図28に示す通りとなる。即ち、文字列「千葉県GG市」,「神奈川県HH市」及び「埼玉県FF市」はフォーム1に対応した入力履歴データベース15には格納されていないので、マージ表における「フォーム1での拡張重み
」のフィールドでは、それらを見出しとするレコードに無効値N/Aが設定されている。また、文字列「東京都CC区」及び「東京都DD区」はフォーム2に対応した入力履歴データベース15には格納されていないので、マージ表における「フォーム2での拡張重み」のフィールドでは、それらを見出しとするレコードに無効値N/Aが設定されている。
In the next S404, the similarity calculation function 113 describes the “weight” stored for each character string included in the data string that has undergone the process of S403 for each non-input target form input history database 15b. A merge table is generated by adding a field (column). At this time, an invalid value N / A is set to indicate that there is no value in a record (row) corresponding to a character string for which no value is stored in each non-input target form input history database 15b. Since such an invalid value N / A is set, the value of each field (column) in the merge table is referred to as “expansion weight”. For example, if the data string has the contents shown in FIG. 27 and the input history read from each non-input target form input history database 15b is as shown in FIG. 24, the merge table created is as shown in FIG. Become. That is, the character strings “GG city in Chiba Prefecture”, “HH city in Kanagawa Prefecture”, and “FF city in Saitama Prefecture” are not stored in the input history database 15 corresponding to the form 1; In the field of “extension weight”, an invalid value N / A is set in a record having these as a heading. In addition, since the character strings “Tokyo CC Ward” and “Tokyo DD Ward” are not stored in the input history database 15 corresponding to Form 2, in the field of “Extension Weight in Form 2” in the merge table, An invalid value N / A is set in a record having these as a headline.

次のS405では、類似度算出機能113は、フォーム間類似度データベース14から、入力対象フォームとそれ以外の各入力フォーム(非入力対象フォーム)とのフォーム間類似度を、夫々読み出す。例えば、図6に示す内容を有するフォーム間類似度データベース14から、入力対象フォームに対応した全ての非入力対象フォームについてのフォーム間類似度を夫々読み出す。なお、フォーム間類似度データベース14に登録されるフォーム間類似度の意義(算出方法)については、後述するS501についての記述において説明する。   In next step S405, the similarity calculation function 113 reads the inter-form similarity between the input target form and each other input form (non-input target form) from the inter-form similarity database 14. For example, the inter-form similarity for all the non-input target forms corresponding to the input target form is read from the inter-form similarity database 14 having the contents shown in FIG. The significance (calculation method) of the inter-form similarity registered in the inter-form similarity database 14 will be described in the description of S501 described later.

次のS406では、類似度算出機能113は、図12に示す「文字列類似度の重み値計算処理」サブルーチンを実行する。このサブルーチンに入って最初のS501では、類似度算出機能113は、S404にて生成したマージ表から、未処理の見出し(文字列)を一つ取り出す。   In next step S406, the similarity calculation function 113 executes a “character string similarity weight value calculation process” subroutine shown in FIG. In the first step S501 after entering this subroutine, the similarity calculation function 113 extracts one unprocessed heading (character string) from the merge table generated in step S404.

続いて類似度算出機能113は、S502乃至S505のループ処理を実行する。このループ処理に入って最初のS502では、類似度算出機能113は、S201にて取得した入力対象フォームの入力履歴から、未処理の文字列を一つ取り出す。   Subsequently, the similarity calculation function 113 executes a loop process from S502 to S505. In the first step S502 after entering this loop process, the similarity calculation function 113 extracts one unprocessed character string from the input history of the input target form acquired in S201.

次のS503では、類似度算出機能113は、S502にて取り出した文字列を比較元文字列とするとともに、S501にて取り出した見出しを比較先文字列として、文字列類似度を計算する。具体的には、比較先文字列と比較元文字列との先頭からの一致文字数の比較元文字列の文字数に対する比率を、「文字列類似度」として算出するのである。   In the next step S503, the similarity calculation function 113 calculates the character string similarity using the character string extracted in S502 as a comparison source character string and the headline extracted in S501 as a comparison destination character string. Specifically, the ratio of the number of matching characters from the beginning of the comparison target character string and the comparison source character string to the number of characters of the comparison source character string is calculated as “character string similarity”.

次のS504では、類似度算出機能113は、S503にて算出した文字列類似度に、S502にて取り出した文字列に対応してS201にて取得した「重み」を乗じて、その積を算出する。このS504の処理が、各文字列について算出した重みを夫々前記類似度の値に反映させる処理に、相当する。   In the next S504, the similarity calculation function 113 multiplies the character string similarity calculated in S503 by the “weight” acquired in S201 corresponding to the character string extracted in S502, and calculates the product. To do. The process of S504 corresponds to a process of reflecting the weight calculated for each character string in the similarity value.

次のS505では、類似度算出機能113は、S201にて取得した入力対象フォームの入力履歴に含まれる全ての文字列について処理を完了したかどうかをチェックする。そして、未処理の文字列が残っている場合には処理をS502に戻し、次の文字列に対する処理を行う。これに対して、S502乃至S505のループ処理を繰り返した結果、未処理の文字列が残っていない場合には、類似度算出機能113は、処理をS506へ進める。   In next step S505, the similarity calculation function 113 checks whether or not the processing has been completed for all the character strings included in the input history of the input target form acquired in step S201. If an unprocessed character string remains, the process returns to S502, and the process for the next character string is performed. On the other hand, if the unprocessed character string does not remain as a result of repeating the loop processing of S502 to S505, the similarity calculation function 113 advances the processing to S506.

S506では、類似度算出機能113は、S201にて取得した入力対象フォームの入力履歴に含まれる全ての文字列に対してS504にて夫々算出された積の総和を算出し、算出された総和を、S501にてマージ表から取り出した見出し(文字列)の「文字列類似度の重み値」とする。例えば、入力対象フォームの入力履歴が図23に示す通りであり、マージ表の内容が図28に示す通りであるとすると、各見出し(文字列)について算出される「文字列類似度の重み値」は、図29に示す通りとなる。即ち、マージ表の見出し「東京都CC区」についての「総和」については、入力対象フォームの各入力履歴「東京都AA区」,「東京都BB区」との「文字列類似度」が夫々“0.5”と算出されるので(
S503)、夫々に対応した入力対象フォームの重み値“0.67”,“0.33”を乗じて(S504)、その総和を算出すると(S506)、“0.50×0.67+0.50×0.33=0.50”となるのである。同様に、他の見出し「東京都DD区」,「東京都EE区」,「東京都GG区
」,「東京都HH区」,「東京都FF区」については、「文字列類似度の重み値」が夫々“0.50”,“0.50”,“0.00”,“0.00”,“0.00”と算出される。このS506の処理が、非入力対象フォームについての入力履歴に含まれる文字列のうち入力対象フォームについての入力履歴に含まれないものについて、夫々、入力対象フォームについての入力履歴に含まれる全文字列に対する類似度の総和を算出する処理に、相当する。
In S506, the similarity calculation function 113 calculates the sum of the products calculated in S504 for all the character strings included in the input history of the input target form acquired in S201, and calculates the calculated sum. , “Weight value of character string similarity” of the headline (character string) extracted from the merge table in S501. For example, if the input history of the input target form is as shown in FIG. 23 and the contents of the merge table are as shown in FIG. 28, the “weight value of character string similarity” calculated for each heading (character string) "Is as shown in FIG. That is, for the “sum” for the heading “Tokyo CC Ward” in the merge table, the “character string similarity” with each input history “Tokyo AA Ward” and “Tokyo BB Ward” of the input target form respectively. Since it is calculated as “0.5” (
S503), the weight values “0.67” and “0.33” of the corresponding input target forms are multiplied (S504), and the sum is calculated (S506), and “0.50 × 0.67 + 0.50 × 0.33 = 0.50” is obtained. It is. Similarly, for other headings “Tokyo DD Ward”, “Tokyo EE Ward”, “Tokyo GG Ward”, “Tokyo HH Ward”, and “Tokyo FF Ward”, “weight of string similarity” Value is calculated as “0.50”, “0.50”, “0.00”, “0.00”, “0.00”, respectively. For the character string included in the input history for the input target form among the character strings included in the input history for the non-input target form, the processing in S506 is performed for all the character strings included in the input history for the input target form. This corresponds to the process of calculating the sum of the similarities with respect to.

次のS507では、類似度算出機能113は、マージ表に含まれる全ての見出し(文字列)について処理を完了したかどうかをチェックする。そして、未処理の見出し(文字列)が残っている場合には処理をS501に戻し、次の見出し(文字列)に対する処理を行う。これに対して、S501乃至S507のループ処理を繰り返した結果、未処理の文字列が残っていない場合には、類似度算出機能113は、このサブルーチンを終了して、図11におけるS407へ進む。   In next step S507, the similarity calculation function 113 checks whether or not the processing has been completed for all the headings (character strings) included in the merge table. If an unprocessed heading (character string) remains, the process returns to S501 to perform processing for the next heading (character string). On the other hand, if the unprocessed character string does not remain as a result of repeating the loop processing of S501 to S507, the similarity calculation function 113 ends this subroutine and proceeds to S407 in FIG.

S407では、類似度算出機能113は、図13に示す「フォーム間類似度の重み値計算処理」サブルーチンを実行する。このサブルーチンに入って最初のS601では、類似度算出機能113は、S404にて生成したマージ表から未処理の見出し(文字列)を一つ取り出す。   In S <b> 407, the similarity calculation function 113 executes the “inter-form similarity weight value calculation processing” subroutine shown in FIG. 13. In the first step S601 after entering this subroutine, the similarity calculation function 113 extracts one unprocessed heading (character string) from the merge table generated in step S404.

続いて、類似度算出機能113は、S602乃至S607のループ処理を実行する。このループ処理に入って最初のS602では、類似度算出機能113は、マージ表から、S601にて取り出した見出し(文字列)に対応した各非入力対象フォームでの拡張重みのうち、未取り出しのものを一つ取り出す。   Subsequently, the similarity calculation function 113 executes a loop process of S602 to S607. In the first step S602 after entering this loop process, the similarity calculation function 113 has not yet extracted out of the extension weights in each non-input target form corresponding to the heading (character string) extracted in S601 from the merge table. Take out one thing.

次のS603では、類似度算出機能113はS602にて取り出した拡張重みは無効値N/Aであるかどうかをチェックする。そして、無効値N/Aであるならば、類似度算出機能113は、S604において「計算結果」を“0”として、処理をS607へ進める。   In the next S603, the similarity calculation function 113 checks whether or not the extension weight extracted in S602 is an invalid value N / A. If the value is invalid value N / A, the similarity calculation function 113 sets “calculation result” to “0” in S604, and advances the process to S607.

これに対して、拡張重みが無効値N/AでないとS603にて判断した場合には、類似度算出機能113は、S605において、フォーム間類似度データベース14から、入力対象フォームに対応した全ての非入力対象フォームについてのフォーム間類似度を、読み出す。   On the other hand, if it is determined in step S603 that the extension weight is not the invalid value N / A, the similarity calculation function 113, in step S605, searches the inter-form similarity database 14 for all the input target forms. Read the similarity between forms for non-input target forms.

次のS606では、S605に取り出した全てのフォーム間類似度の総和を算出する。そして、入力対象フォームとS602にて取り出した拡張重みに対応した非入力対象フォームとのフォーム間類似度を、S602にて取り出した拡張重みに乗じ、算出された積を、更に、上記フォーム間類似度の総和によって割り、最終的に算出された商を「計算結果」とする。S606を完了すると、類似度算出機能113は、処理をS607へ進める。   In the next S606, the sum of all the inter-form similarity extracted in S605 is calculated. Then, the inter-form similarity between the input target form and the non-input target form corresponding to the extended weight extracted in S602 is multiplied by the extended weight extracted in S602, and the calculated product is further calculated. Divide by the sum of degrees and finally calculate the quotient as “calculation result”. When S606 is completed, the similarity calculation function 113 advances the process to S607.

S607では、類似度算出機能113は、S601にて取り出した見出し(文字列)に対応した全ての非入力対象フォームの拡張重みについて、S603以下の処理を終了したかどうかをチェックする。そして、未だ全ての非入力対象フォームの拡張重みについてS603以下の処理を終了していなければ、類似度算出機能113は、処理をS602へ戻す。これに対して、S602乃至S607のループ処理を繰り返した結果として全ての非入力対象フォームの拡張重みについてS603以下の処理を終了していた場合には、類似度算出機能113は、処理をS607からS608へ進める。   In S <b> 607, the similarity calculation function 113 checks whether or not the processing in S <b> 603 and subsequent steps has been completed for the extended weights of all the non-input target forms corresponding to the heading (character string) extracted in S <b> 601. If the processing from S603 onward is not yet completed for the extended weights of all non-input target forms, the similarity calculation function 113 returns the processing to S602. On the other hand, when the processing from S603 onward is completed for the extended weights of all non-input target forms as a result of repeating the loop processing of S602 to S607, the similarity calculation function 113 starts the processing from S607. Proceed to S608.

S608では、S601にて取り出された見出し(文字列)に関して全ての非入力対象フォームの拡張重みについてS604又はS606にて得られた「計算結果」の総和を算出し、算出された総和を、S601にて取り出した見出し(文字列)についての「フォー
ム間類似度の重み値」とする。例えば、フォーム間類似度データベース14の内容が図6に示す通りであり、マージ表の内容が図28に示す通りであるとすると、各見出し(文字列)について算出される「フォーム間類似度の重み値」は、図30に示す通りとなる。即ち、フォーム間類似度データベース14における入力対象フォームと各非入力対象フォームとのフォーム間類似度の総和は“0.65+0.25=0.90”となる。そして、マージ表における見出し「東京都CC区」についての「フォーム1での拡張重み」は“0.40”であり、フォーム間類似度データベース14に記載された入力対象フォームとフォーム1とのフォーム間類似度は“0.65”であるので、「計算結果」は“(0.65×0.40)/0.90=0.289”と
なる(S606)。他方、マージ表における見出し「東京都CC区」についての「フォーム2での拡張重み」は無効値N/Aであるので、「計算結果」は“0”となる(S604
)。よって、「フォーム間類似度の重み値」は、“0.289”と算出されるのである。同様
に、他の見出し「東京都DD区」,「東京都EE区」,「東京都GG区」,「東京都HH区」,「東京都FF区」については、「フォーム間類似度の重み値」が夫々“0.144”,
“0.128”,“0.097”,“0.056”,“0.028”と算出される。これらS604乃至S608の処理が、各文字列につき、それを含む非入力対象フォームについて算出されていたフォーム間類似度に比例した値の総和を前記類似度の値に反映させる処理に、相当する。
In S608, the sum of the “calculation results” obtained in S604 or S606 is calculated for the extension weights of all the non-input target forms for the headline (character string) extracted in S601, and the calculated sum is calculated in S601. The “weight value of similarity between forms” for the headline (character string) taken out in (1). For example, assuming that the content of the inter-form similarity database 14 is as shown in FIG. 6 and the content of the merge table is as shown in FIG. 28, the “inter-form similarity degree calculated for each heading (character string)” is calculated. The “weight value” is as shown in FIG. That is, the sum of the similarity between forms of the input target form and each non-input target form in the inter-form similarity database 14 is “0.65 + 0.25 = 0.90”. The “extension weight in form 1” for the heading “Tokyo CC Ward” in the merge table is “0.40”, and the inter-form similarity between the input target form described in the inter-form similarity database 14 and form 1 Since the degree is “0.65”, the “calculation result” is “(0.65 × 0.40) /0.90=0.289” (S606). On the other hand, since “extension weight in form 2” for the heading “Tokyo CC Ward” in the merge table is an invalid value N / A, “calculation result” is “0” (S604).
). Therefore, the “weight value of similarity between forms” is calculated as “0.289”. Similarly, for the other headings “Tokyo DD ward”, “Tokyo EE ward”, “Tokyo GG ward”, “Tokyo HH ward”, and “Tokyo FF ward”, “weight of similarity between forms” Value ”is“ 0.144 ”,
Calculated as “0.128”, “0.097”, “0.056”, “0.028”. The processing of S604 to S608 corresponds to processing for reflecting the sum of values proportional to the inter-form similarity calculated for the non-input target form including each character string in the similarity value.

次のS609では、類似度算出機能113は、マージ表中の全ての見出し(文字列)について、S601以下の処理を終了したかどうかをチェックする。そして、未だ全ての見出し(文字列)についての処理を終了していなければ、類似度算出機能113は、処理をS601へ戻す。これに対して、S601乃至S609のループ処理を繰り返した結果として全ての見出し(文字列)についてS602以下の処理を終了していた場合には、類似度算出機能113は、このサブルーチンを終了して、処理を図11のS408へ進める。   In next step S609, the similarity calculation function 113 checks whether or not the processing in step S601 and subsequent steps has been completed for all headings (character strings) in the merge table. If the processing for all headings (character strings) has not been completed, the similarity calculation function 113 returns the processing to S601. On the other hand, if the processing from S602 onward has been completed for all headings (character strings) as a result of repeating the loop processing of S601 to S609, the similarity calculation function 113 ends this subroutine. The process proceeds to S408 in FIG.

S408では、類似度算出機能113は、マージ表の各見出し(文字列)について、S406について算出した「文字列類似度の重み値」とS407にて算出した「フォーム間類似度の重み値」との積を、「入力候補適正評価値」として算出する。例えば、各見出し(文字列)について算出した「文字列類似度の重み値」及び「フォーム間類似度の重み値」が夫々図29,図30に示す通りであるとすると、各見出し(文字列)について算出した「入力候補適正評価値」は、図31に示す通りとなる。即ち、見出し「東京都CC区」について算出された「文字列類似度の重み値」は“0.50”,「フォーム間類似度の重み値」は“0.289”であるので、「入力候補適正評価値」は“0.144”と算出される。同様に、他の見出し「東京都DD区」,「東京都EE区」,「東京都GG区」,「東京都HH区」,「東京都FF区」については、「入力候補適正評価値」が夫々“0.072”,“0.064”,“0.000”,“0.000”,“0.000”と算出される。   In S <b> 408, the similarity calculation function 113 calculates the “character string similarity weight value” calculated in S <b> 406 and the “inter-form similarity weight value” calculated in S <b> 407 for each heading (character string) in the merge table. Is calculated as “input candidate appropriate evaluation value”. For example, assuming that the “character string similarity weight value” and “form similarity weight value” calculated for each heading (character string) are as shown in FIGS. 29 and 30, respectively, each heading (character string) The “input candidate appropriate evaluation value” calculated for) is as shown in FIG. In other words, the “character string similarity weight value” calculated for the heading “Tokyo CC Ward” is “0.50”, and the “form similarity weight value” is “0.289”. Is calculated as “0.144”. Similarly, for the other headings “Tokyo DD ward”, “Tokyo EE ward”, “Tokyo GG ward”, “Tokyo HH ward”, and “Tokyo FF ward”, “input candidate appropriate evaluation value” Are calculated as “0.072”, “0.064”, “0.000”, “0.000”, and “0.000”, respectively.

次のS409では、S408において各見出し(文字列)に対して算出した「入力候補適正評価値」を図31に示すリスト形式にて図示せぬディスク装置に保存するとともに、マージ表を類似候補推薦機能11に渡す。S409を完了すると、類似度算出機能113は、図11のサブルーチンを終了して、類似候補推薦機能11に処理を戻す。   In the next S409, the “input candidate appropriate evaluation value” calculated for each heading (character string) in S408 is stored in a disk device (not shown) in the list format shown in FIG. 31, and a merge table is recommended for similar candidates. Pass to function 11. When S409 is completed, the similarity calculation function 113 ends the subroutine of FIG. 11 and returns the process to the similarity candidate recommendation function 11.

図8のサブルーチンにおける次のS104では、類似候補推薦機能11は、順位付け機能114を呼び出す。すると、呼び出された順位付け機能114は、図14のサブルーチンを実行する。   In the next S104 in the subroutine of FIG. 8, the similar candidate recommendation function 11 calls the ranking function 114. Then, the called ranking function 114 executes the subroutine of FIG.

図14のサブルーチンに入って最初のS701では、順位付け機能114は、S409にて類似度算出機能113が図示せぬディスク301にて保存された「入力候補適正評価値」が大きい順に、類似度算出機能113から渡されれたマージ表の各レコードをソートする。例えば、「入力候補適正評価値」の内容が図31に示す通りであり、マージ表の内容が図28に示す通りであるとすると、ソート後のマージ表のレコードは、図32に示す
通りとなる。
In the first step S701 after entering the subroutine of FIG. 14, the ranking function 114 determines the similarity in descending order of the “input candidate appropriate evaluation value” stored in the disk 301 (not shown) by the similarity calculation function 113 in S409. The records in the merge table passed from the calculation function 113 are sorted. For example, if the contents of the “input candidate appropriate evaluation value” are as shown in FIG. 31 and the contents of the merge table are as shown in FIG. 28, the merge table records after sorting are as shown in FIG. Become.

次のS702では、順位付け機能114は、S701でのソート後のマージ表から、上位所定個数のレコードを抽出して、図示せぬディスク装置に保存する。例えば、ソート後のマージ表が図32に示す通りであるとし、上位3個のレコードを抽出するした場合、抽出されるレコードは、図33に示す通りとなる。   In next step S702, the ranking function 114 extracts a predetermined upper number of records from the merge table after the sorting in step S701, and stores it in a disk device (not shown). For example, if the sorted merge table is as shown in FIG. 32 and the top three records are extracted, the extracted records are as shown in FIG.

次のS703では、順位付け機能114は、S201にて取得した入力対象フォームの入力履歴(即ち、入力候補),及び、S702にて抽出したレコード中の見出し(文字列)からなる推薦入力候補の集合を、Webサーバ10に対して応答する。例えば、入力対象フォームの入力履歴の内容が図23に示す通りであり、抽出されたレコードが図33に示す通りであるとすると、Webサーバ10に対して応答される入力候補及び推薦入力候補は、図34(a)及び(b)に夫々示す通りとなる。以上の、S701乃至S703の処理が、非入力対象フォームについての入力履歴に含まれる文字列のうちの類似度の総和が高い所定個数の文字列を、入力対象フォームについての入力履歴に含まれる文字列とともに、入力候補として出力することに相当する。   In next step S703, the ranking function 114 selects a recommended input candidate consisting of the input history of the input target form acquired in step S201 (that is, the input candidate) and the heading (character string) in the record extracted in step S702. The set is returned to the Web server 10. For example, if the contents of the input history of the input target form are as shown in FIG. 23 and the extracted records are as shown in FIG. 33, the input candidates and recommended input candidates that are responded to the Web server 10 are 34 (a) and 34 (b), respectively. The above-described processing of S701 to S703 is performed by using a predetermined number of character strings having a high sum of similarities among the character strings included in the input history for the non-input target form as characters included in the input history for the input target form. It corresponds to outputting as an input candidate together with a column.

S703を完了すると、順位付け機能114は、図14のサブルーチンを終了して、類似候補推薦機能11に処理を戻す。すると、図8のサブルーチンも終了するので、類似候補推薦機能11は、処理をWebサーバ10に戻す。   When S703 is completed, the ranking function 114 ends the subroutine of FIG. 14 and returns the process to the similar candidate recommendation function 11. Then, since the subroutine of FIG. 8 is also ended, the similar candidate recommendation function 11 returns the processing to the Web server 10.

図7のメインルーチンにおける次のS009では、Webサーバ10は、Webページデータベース13から、入力候補提示画面のHTMLテンプレートを読み出す。例えば、Webページデータベース13の内容が図3に示す通りであるとすると、読み出される入力候補提示画面のHTMLテンプレートの内容は、図35に示す通りとなる。   In the next S009 in the main routine of FIG. 7, the Web server 10 reads the HTML template of the input candidate presentation screen from the Web page database 13. For example, if the content of the Web page database 13 is as shown in FIG. 3, the content of the HTML template of the input candidate presentation screen to be read is as shown in FIG.

次のS010では、Webサーバ10は、S009にて取得した入力候補提示画面のHTMLテンプレート中のリストに、S008にて類似候補推薦機能11から受け取った各入力候補及び各推薦入力候補の文字列を挿入することにより、入力候補提示画面のHTMLデータを生成する。例えば、図34に示す内容の入力候補及び推薦入力候補が類似候補推薦機能11から応答された場合には、図36に示すように、入力候補及び推薦入力候補の数分、入力対象フォームのURLを含むアンカータグの記述が複製されて、各入力候補及び推薦入力候補が夫々挿入される。   In the next S010, the Web server 10 adds each input candidate and the character string of each recommended input candidate received from the similar candidate recommendation function 11 in S008 to the list in the HTML template of the input candidate presentation screen acquired in S009. By inserting, the HTML data of the input candidate presentation screen is generated. For example, when the input candidates and recommended input candidates having the contents shown in FIG. 34 are returned from the similar candidate recommendation function 11, as shown in FIG. 36, the URL of the input target form is equal to the number of input candidates and recommended input candidates. The description of the anchor tag including is copied, and each input candidate and recommended input candidate are inserted.

次のS006では、Webサーバ10は、S010の処理を経た入力候補提示画面のHTMLデータOを、要求元クライアント端末2へ返送する。すると、クライアント端末2では、図示せぬCPUによって実行されているブラウザプログラム21が、受信したHTMLデータOに基づいて、入力候補提示画面を図示せぬディスプレイ上に表示する。例えば、入力候補提示画面のHTMLデータOが図36に示すものであると、表示される入力候補提示画面は、図37に示す通りとなる。図36及び図37から明らかなように、この入力候補提示画面上には、各入力候補及び推薦入力候補が一覧表示され、各入力候補及び推薦入力候補の選択(例えば、図示せぬポインティングデバイスによるクリック)がなされると、図38に示すように、入力対象フォームのURL及び選択された入力候補又は推薦入力候補をパラメータとして含む入力候補選択要求メッセージが、Webサーバ10へ送出される。   In the next S006, the Web server 10 returns the HTML data O of the input candidate presentation screen that has undergone the processing of S010 to the requesting client terminal 2. Then, in the client terminal 2, the browser program 21 being executed by the CPU (not shown) displays an input candidate presentation screen on a display (not shown) based on the received HTML data O. For example, if the HTML data O of the input candidate presentation screen is as shown in FIG. 36, the displayed input candidate presentation screen is as shown in FIG. As is clear from FIGS. 36 and 37, each input candidate and recommended input candidate are displayed in a list on the input candidate presentation screen, and each input candidate and recommended input candidate is selected (for example, by a pointing device (not shown)). 38, an input candidate selection request message including the URL of the input target form and the selected input candidate or recommended input candidate as parameters is sent to the Web server 10, as shown in FIG.

S006を完了すると、Webサーバ10は、処理をS001に戻し、次のHTMLメッセージを待つ。そして、HTMLメッセージをクライアント端末2から受信すると、Webサーバ10は、処理をS001からS002へ進め、受信したHTMLメッセージが電子化書面の雛型の要求メッセージ及び入力候補推薦要求メッセージ以外であれば、処理をS007,S011へと進め、更に、受信したHTMLメッセージが入力候補選択要求メッセージである
か否かをチェックする。そして、Webサーバ10は、入力候補選択要求メッセージを受信したのであれば処理をS012へ進め、それ以外のHTTPリクエストメッセージを受信したのであれば処理をS014へ進める。
When S006 is completed, the Web server 10 returns the process to S001 and waits for the next HTML message. When the HTML message is received from the client terminal 2, the Web server 10 advances the process from S001 to S002. If the received HTML message is other than the digitized template request message and the input candidate recommendation request message, The process proceeds to S007 and S011, and it is further checked whether or not the received HTML message is an input candidate selection request message. The Web server 10 advances the process to S012 if an input candidate selection request message has been received, and advances the process to S014 if any other HTTP request message has been received.

S012では、Webサーバ10は、受信したHTTPリクエストメッセージにパラメータとして含まれるURLに対応した入力フォームのHTMLテンプレートを、Webベースデータベース13から取得する。   In S012, the Web server 10 acquires the HTML template of the input form corresponding to the URL included as a parameter in the received HTTP request message from the Web base database 13.

次のS013では、Webサーバ10は、S012にて取得したHTMLテンプレートの入力値に、受信したHTTPリクエストメッセージにパラメータとして含まれる入力候補又は推薦入力候補を挿入することにより電子化書面雛型のHTMLデータを完成させる。例えば、入力フォームのHTMLテンプレートが図19に示すものであると、図39に示されるように、選択された入力候補又は推薦入力候補が、アンカータグに挿入される。   In the next S013, the Web server 10 inserts an input candidate or a recommended input candidate included as a parameter in the received HTTP request message into the input value of the HTML template acquired in S012, thereby generating HTML of the electronic document template. Complete the data. For example, if the HTML template of the input form is as shown in FIG. 19, as shown in FIG. 39, the selected input candidate or recommended input candidate is inserted into the anchor tag.

次のS006では、Webサーバ10は、S013の処理を経た電子化書面雛型のHTMLデータを、要求元クライアント端末2へ返送する。すると、クライアント端末2では、図示せぬCPUによって実行されているブラウザプログラム21が、受信したHTMLデータに基づいて、電子化書面を図示せぬディスプレイ上に表示する。例えば、図39において推薦入力候補「東京都EE区」が挿入された場合には、表示される電子化書面は、図40に示す通りとなる。図40から明らかなように、この電子化書面雛型は、選択された入力候補又は推薦入力候補の文字列が入力フォーム31に入力(補充)されていることを除き、図21に示されるものと、全く同じである。従って、再度「履歴検索」ボタン33を操作することも可能であるし、入力フォーム31に入力(補充)されている文字列を修正することも可能であるし、「送信」ボタン33を操作することも可能である。従って、「送信」ボタン33が操作されると、図41に示すように、入力フォームのID,及び、その時点でテキストボックス31に入力(補充)されている文字列(入力フォームの内容)をパラメータとし、Webサーバ10のURLを宛先とする送信要求メッセージが、Webサーバ10へ送信される。   In the next S006, the Web server 10 returns the digitized document template HTML data that has undergone the processing of S013 to the requesting client terminal 2. Then, in the client terminal 2, the browser program 21 executed by the CPU (not shown) displays the electronic document on the display (not shown) based on the received HTML data. For example, when the recommended input candidate “Tokyo EE Ward” is inserted in FIG. 39, the electronic document to be displayed is as shown in FIG. As is clear from FIG. 40, this electronic document template is the one shown in FIG. 21 except that the selected input candidate or recommended input candidate character string is input (supplemented) to the input form 31. Is exactly the same. Accordingly, the “history search” button 33 can be operated again, the character string input (supplemented) in the input form 31 can be corrected, and the “send” button 33 is operated. It is also possible. Therefore, when the “Send” button 33 is operated, as shown in FIG. 41, the ID of the input form and the character string (content of the input form) input (supplemented) in the text box 31 at that time are displayed. A transmission request message is sent to the Web server 10 as a parameter and addressed to the URL of the Web server 10.

S006を完了すると、Webサーバ10は、処理をS001に戻し、次のHTMLメッセージを待つ。そして、HTMLメッセージをクライアント端末2から受信すると、Webサーバ10は、処理をS001からS002へ進め、受信したHTMLメッセージが電子化書面の雛型の要求メッセージ,入力候補推薦要求メッセージ及び入力候補選択要求メッセージ以外であれば、処理をS007,S011,S014へと進め、更に、受信したHTMLメッセージが送信要求メッセージであるか否かをチェックする。そして、Webサーバ10は、送信要求メッセージを受信したのであれば処理をS015へ進め、それ以外のHTTPリクエストメッセージを受信したのであれば、そのまま処理をS001に戻す。   When S006 is completed, the Web server 10 returns the process to S001 and waits for the next HTML message. When the HTML message is received from the client terminal 2, the Web server 10 advances the process from S001 to S002, and the received HTML message is an electronic document template request message, input candidate recommendation request message, and input candidate selection request. If it is not a message, the process proceeds to S007, S011, and S014, and it is further checked whether or not the received HTML message is a transmission request message. Then, if the Web server 10 has received a transmission request message, the process proceeds to S015, and if another HTTP request message has been received, the process returns to S001.

S015では、Webサーバ10は、送信要求メッセージを受け付ける処理を行う。即ち、当該送信要求メッセージメッセージに含まれるパラメータによって内容特定される電子化書面を受領して、それに対処するための処理を自ら実行するか、そのような対処を行うための図示せぬ別サーバ装置へ転送する。例えば、電子書面が何らかの証明書の発行申請書であれば、証明書の発行手続きを行う。   In S015, the Web server 10 performs processing for receiving a transmission request message. That is, a computerized document whose contents are specified by parameters included in the transmission request message is received and processing for coping with it is executed by itself, or another server device (not shown) for performing such coping Forward to. For example, if the electronic document is a certificate issuance application form, a certificate issuance procedure is performed.

次のS015では、Webサーバ10は、履歴更新機能12を呼び出しす。すると、呼び出された履歴更新機能12は、図15のサブルーチンを実行し、その最初のS801において、入力対象フォーム入力履歴データベース15a(即ち、受信した送信要求メッセージ中にパラメータとして含まれるIDに対応した入力履歴データベース)を更新する。即ち、受信した送信要求メッセージ中にパラメータとして含まれる文字列が「入力履歴」欄に未だ記載されていなければ、新規のレコードを追加して、当該文字列を記入するとと
もに「入力回数」欄に初期値“1”を記入する。当該文字列が「入力履歴」欄に既に記載されていれば、当該文字列に対応する「入力回数」を一つインクリメントする。その上で、各文字列の入力回数の値の比率に応じて、「重み」の値を再計算して「重み」欄に上書きする。例えば、入力対象フォーム入力履歴データベース15aの内容が図4に示すものであった場合において、受信した送信要求メッセージ中に「東京都EE区」が含まれていた場合には、当該入力対象フォーム入力履歴データベース15aは、図42に示すように更新される。このS801の処理が、過去に入力された文字列の入力履歴をデータベースに保存しておく処理,及び、各入力フォーム単位で、入力履歴に含まれる各文字列同士の入力回数の比率に応じた重みを予め計算しておく処理に、相当する。
In the next S015, the Web server 10 calls the history update function 12. Then, the called history update function 12 executes the subroutine of FIG. 15, and in the first S801, corresponds to the input target form input history database 15a (that is, the ID included as a parameter in the received transmission request message). Update input history database). That is, if the character string included as a parameter in the received transmission request message is not yet written in the “input history” field, add a new record, fill in the character string, and enter the “input count” field. Enter the initial value “1”. If the character string is already described in the “input history” field, the “number of times of input” corresponding to the character string is incremented by one. Then, the “weight” value is recalculated and overwritten in the “weight” column according to the ratio of the number of times of input of each character string. For example, if the contents of the input target form input history database 15a are as shown in FIG. 4, and the received transmission request message includes “Tokyo EE Ward”, the input target form input The history database 15a is updated as shown in FIG. The processing in S801 corresponds to the processing for storing the input history of character strings input in the past in the database, and the ratio of the number of times of input between character strings included in the input history for each input form. This corresponds to the process of calculating the weight in advance.

続いて、履歴更新機能12は、入力対象フォーム入力履歴データベース15a以外の入力履歴データベース15(即ち、非入力対象フォーム入力履歴データベース15b)毎にS802乃至S813の第1ループ処理を実行する。   Subsequently, the history update function 12 executes the first loop process of S802 to S813 for each input history database 15 other than the input target form input history database 15a (that is, the non-input target form input history database 15b).

この第1ループ処理内では、履歴更新機能12は、最初のS802において、非入力対象フォーム入力履歴データベース15bのうち未選択のものを、一つ選択する。   In the first loop process, the history update function 12 selects one of the non-input target form input history database 15b that has not been selected in the first S802.

続いて、履歴更新機能12は、S802にて選択した非入力対象フォーム入力履歴データベース15b中の各入力履歴(文字列)毎に、S803乃至S810の第2ループ処理を実行する。   Subsequently, the history update function 12 executes the second loop processing of S803 to S810 for each input history (character string) in the non-input target form input history database 15b selected in S802.

この第2ループ処理内では、履歴更新機能12は、最初のS803において、S802にて選択した非入力対象フォーム入力履歴データベース15b中の入力履歴(文字列)のうち未取出のものを、一つ取り出す。   In the second loop process, the history update function 12 selects one of the input histories (character strings) in the non-input target form input history database 15 b selected in S 802 in the first S 803 that has not been extracted. Take out.

続いて、履歴更新機能12は、S803にて取り出した入力履歴(文字列)毎に、S804乃至S809の第3ループ処理を実行する。   Subsequently, the history update function 12 executes the third loop processing of S804 to S809 for each input history (character string) extracted in S803.

この第3ループ処理内では、履歴更新機能12は、最初のS804において、S801での更新後の入力対象フォーム入力履歴データベース15a中の入力履歴(文字列)のうち未取出のものを、一つ取り出す。   In the third loop process, the history update function 12 selects one of the input histories (character strings) in the input target form input history database 15a after the update in S801 in the first S804. Take out.

次のS805では、履歴更新機能12は、S803にて取り出した非入力対象フォーム入力履歴データベース15b中の入力履歴(文字列)と、入力対象フォーム入力履歴データベース15a中の入力履歴(文字列)のいずれかとが一致するか否かをチェックする。   In next step S805, the history update function 12 stores the input history (character string) in the non-input target form input history database 15b extracted in S803 and the input history (character string) in the input target form input history database 15a. Check if any matches.

そして、両者が一致すれば、履歴更新機能12は、S806において、当該非入力対象フォーム入力履歴データベース15b中の入力履歴(文字列)と当該入力対象フォーム入力履歴データベース15a中の入力履歴(文字列)との「文字列類似度」を“1.0”とし
た後に、処理をS808へ進める。これに対して、両者が一致しなければ、履歴更新機能12は、S807において、入力対象フォーム入力履歴データベース15a中の入力履歴(文字列)比較元文字列とするとともに、非入力対象フォーム入力履歴データベース15b中の入力履歴(文字列)を比較先文字列として、S503と同様に、文字列類似度を計算する。具体的には、比較先文字列と比較元文字列との先頭からの一致文字数の比較元文字列の文字数に対する比率を、当該非入力対象フォーム入力履歴データベース15b中の入力履歴(文字列)と当該入力対象フォーム入力履歴データベース15a中の入力履歴(文字列)との「文字列類似度」として算出するのである。そして、S807を完了すると、履歴更新機能12は、処理をS808へ進める。例えば、S801での更新後の入力対象フォーム入力履歴データベース15aの内容が図42に示す通りであって、図5に示す内容の非入力対象フォーム入力履歴データベース15bに対応した「フォーム1」の非入
力対象フォームがS802にて選択されたとすると、それらの入力履歴(文字列)の各組合せについてS806又はS807にて取得される「文字列類似度」は、図43に示す通りとなる。
If the two match, the history update function 12 determines that the input history (character string) in the non-input target form input history database 15b and the input history (character string) in the input target form input history database 15a in S806. ) Is set to “1.0”, and then the process proceeds to S808. On the other hand, if the two do not match, the history update function 12 uses the input history (character string) comparison source character string in the input target form input history database 15a and the non-input target form input history in S807. Using the input history (character string) in the database 15b as a comparison target character string, the character string similarity is calculated as in S503. Specifically, the ratio of the number of matching characters from the beginning of the comparison target character string and the comparison source character string to the number of characters of the comparison source character string is set as the input history (character string) in the non-input target form input history database 15b. This is calculated as “character string similarity” with the input history (character string) in the input target form input history database 15a. When S807 is completed, the history update function 12 advances the process to S808. For example, the contents of the input target form input history database 15a after the update in S801 are as shown in FIG. 42, and the contents of “form 1” corresponding to the non-input target form input history database 15b having the contents shown in FIG. If the input target form is selected in S802, the “character string similarity” acquired in S806 or S807 for each combination of the input histories (character strings) is as shown in FIG.

S808では、履歴更新機能12は、S806又はS807にて取得された「文字列類似度」に、S804にて取り出した入力履歴(文字列)について入力対象フォーム入力履歴データベース15a中に記録されている「重み」,及び、S803にて取り出した入力履歴(文字列)について非入力対象フォーム入力履歴データベース15b中に記録されている「重み」を乗じる。このS808の処理が、前記フォーム間類似度を計算する際には、前記入力対象フォームについての入力履歴に含まれる各文字列と非入力対象フォームについての入力履歴に含まれる各文字列との類似度に、夫々の文字列について算出されていた重みを反映させる処理に、相当する。   In S808, the history update function 12 records the input history (character string) extracted in S804 in the input target form input history database 15a in the “character string similarity” acquired in S806 or S807. The “weight” and the “weight” recorded in the non-input target form input history database 15b are multiplied by the input history (character string) extracted in S803. When the processing of S808 calculates the similarity between the forms, the similarity between each character string included in the input history for the input target form and each character string included in the input history for the non-input target form This corresponds to the process of reflecting the weight calculated for each character string each time.

次のS809では、履歴更新機能12は、入力対象フォーム入力履歴データベース15a中の全入力履歴(文字列)について、第3ループ処理を実行したか否かをチェックする。そして、全入力履歴(文字列)について第3ループ処理を実行し終わっていなければ、履歴更新機能12は、処理をS804へ戻す。これに対して、第3ループ処理を繰り返した結果として全入力履歴(文字列)について第3ループ処理を実行し終わっている場合には、履歴更新機能12は、処理をS809からS810へ進める。   In next step S809, the history update function 12 checks whether or not the third loop processing has been executed for all input histories (character strings) in the input target form input history database 15a. If the third loop process has not been executed for all input histories (character strings), the history update function 12 returns the process to S804. On the other hand, when the third loop process has been executed for all input histories (character strings) as a result of repeating the third loop process, the history update function 12 advances the process from S809 to S810.

S810では、履歴更新機能12は、S802にて選択した非入力対象フォーム入力履歴データベース15b中の全入力履歴(文字列)について、第2ループ処理を実行したか否かをチェックする。そして、全入力履歴(文字列)について第2ループ処理を実行し終わっていなければ、履歴更新機能12は、処理をS803へ戻す。これに対して、第2ループ処理を繰り返した結果として全入力履歴(文字列)について第2ループ処理を実行し終わっている場合には、S802にて選択された非入力対象フォーム入力履歴データベース15b中の入力履歴(文字列)及び入力対象フォーム入力履歴データベース15a中の入力履歴(文字列)の全ての組み合わせに対して、S808での計算が完了したことになるので、履歴更新機能12は、処理をS810からS811へ進める。   In S810, the history update function 12 checks whether or not the second loop process has been executed for all input histories (character strings) in the non-input target form input history database 15b selected in S802. If the second loop process has not been executed for all input histories (character strings), the history update function 12 returns the process to S803. On the other hand, if the second loop processing has been executed for all input histories (character strings) as a result of repeating the second loop processing, the non-input target form input history database 15b selected in S802 Since the calculation in S808 is completed for all combinations of the input history (character string) and the input history (character string) in the input target form input history database 15a, the history update function 12 The process proceeds from S810 to S811.

S811では、履歴更新機能12は、S802にて選択された非入力対象フォーム入力履歴データベース15b中の入力履歴(文字列)及び入力対象フォーム入力履歴データベース15a中の入力履歴(文字列)の全ての組み合わせに関してS808にて算出された積の総和を算出し、これを入力対象フォームとS802にて選択された非入力対象フォームとの類似度とする。図44は、S801での更新後の入力対象フォーム入力履歴データベース15aの内容が図42に示す通りであって、図5に示す内容の非入力対象フォーム入力履歴データベース15bに対応した「フォーム1」の非入力対象フォームがS802にて選択された場合におけるS811での計算例であり、一旦、入力対象フォームの入力履歴(文字列)毎にS808にて算出された積の総和を算出し、最後に、入力対象フォームの入力履歴(文字列)毎に算出された総和全体の総和を算出したものである。このS811の処理が、各非入力対象フォーム毎に、入力対象フォームについての入力履歴に含まれる各文字列と非入力対象フォームについての入力履歴に含まれる各文字列との類似度の総和であるフォーム間類似度を予め計算しておく処理に、相当する。   In S811, the history update function 12 selects all of the input history (character string) in the non-input target form input history database 15b selected in S802 and the input history (character string) in the input target form input history database 15a. The sum of the products calculated in S808 for the combination is calculated, and this is set as the similarity between the input target form and the non-input target form selected in S802. FIG. 44 shows the contents of the input target form input history database 15a after the update in S801 as shown in FIG. 42, and “form 1” corresponding to the non-input target form input history database 15b having the contents shown in FIG. This is an example of calculation in S811 when the non-input target form is selected in S802, and once the sum of products calculated in S808 is calculated for each input history (character string) of the input target form, Further, the sum total of the total sum calculated for each input history (character string) of the input target form is calculated. The processing in S811 is the sum of the similarities between each character string included in the input history for the input target form and each character string included in the input history for the non-input target form for each non-input target form. This corresponds to a process of calculating the similarity between forms in advance.

次のS812では、履歴更新機能12は、フォーム間類似度データベース14における入力対象フォームとS802にて選択された非入力対象フォームとの類似度を、S811にて算出された値によって更新する。   In next step S812, the history update function 12 updates the similarity between the input target form in the inter-form similarity database 14 and the non-input target form selected in S802 with the value calculated in S811.

次のS813では、履歴更新機能12は、全非入力対象フォーム入力履歴データベース15bについて、第1ループ処理を実行したか否かをチェックする。そして、全非入力対
象フォーム入力履歴データベース15bについて第1ループ処理を実行し終わっていなければ、履歴更新機能12は、処理をS802へ戻す。これに対して、第1ループ処理を繰り返した結果として全非入力対象フォーム入力履歴データベース15bについて第1ループ処理を実行し終わっている場合には、履歴更新機能12は、図15のサブルーチンを終了して、Webサーバ10に処理を戻す。
In next step S813, the history update function 12 checks whether or not the first loop processing has been executed for the all non-input target form input history database 15b. If the first loop process has not been executed for all non-input target form input history database 15b, the history update function 12 returns the process to S802. On the other hand, when the first loop process has been executed for all non-input target form input history database 15b as a result of repeating the first loop process, the history update function 12 ends the subroutine of FIG. Then, the process is returned to the Web server 10.

図7のメインルーチンでは、Webサーバ10は、S015の完了後に、処理をS001に戻し、次のメッセージを待つ。以上のようにして、S001乃至S016の処理が、同じクライアント端末2とのセッションが繋がっている限り、繰り返される。   In the main routine of FIG. 7, after completing S015, the Web server 10 returns the process to S001 and waits for the next message. As described above, the processes of S001 to S016 are repeated as long as the session with the same client terminal 2 is connected.

以上に説明したように、本実施形態によれば、サーバ装置1上のWebサーバ10が提供する電子書面の雛型(図21)においては、各入力フォーム31に対応して「履歴検索」ボタン32が備えられており、ユーザがクライアント端末2の図示せぬポインティングデバイスを用いて当該「履歴検索」ボタン32を操作すると、当該入力フォームに対応した入力履歴データベース15(入力対象フォーム入力履歴データベース15a)に蓄積された過去の入力履歴(文字列)が全て読み出されるとともに、他の入力フォームに関して入力履歴データベース15(非入力対象フォーム入力履歴データベース15b)に蓄積された入力履歴(文字列)から、入力対象フォーム入力履歴データベース15aに蓄積された各入力履歴(文字列)との総合的な類似度が最も高いものから順に所定個数の入力履歴(文字列)が選択される。このようにして、入力対象フォーム入力履歴データベース15aから読み出された入力履歴(文字列)が入力候補として、また、非入力対象フォーム入力履歴データベース15bに蓄積された入力履歴(文字列)から選択された幾つかの入力履歴(文字列)が推薦入力候補として、夫々、入力候補提示画面(図37)上に表示される。従って、ユーザとしては、当該入力フォームの過去の入力履歴(文字列)以外の(推薦)入力候補も提示されるので、ユーザの選択の幅が拡がることになる。しかも、当該入力フォームの過去の入力履歴(文字列)以外の推薦入力候補は、当該入力フォームの過去の入力履歴(文字列)と類似度が厳選されているので、関連性の低い入力候補によって却って入力が煩わされてしまうという問題も生じない。
(付記1)
クライアント端末とネットワークで接続されたコンピュータにより実行される入力フォームに対する入力候補を推薦するための入力候補推薦方法であって、
所定の複数の入力フォームの夫々について、過去に入力された文字列の入力履歴をデータベースに保存しておき、
前記クライアント端末の操作者によって入力対象として選択された入力フォームである入力対象フォームについての入力履歴,及び、当該入力対象フォーム以外の入力フォームである非入力対象フォームについての入力履歴を、夫々、前記データベースから取得し、
前記非入力対象フォームについての入力履歴に含まれる文字列のうち前記入力対象フォームについての入力履歴に含まれないものについて、夫々、前記入力対象フォームについての入力履歴に含まれる全文字列に対する類似度の総和を算出し、
前記非入力対象フォームについての入力履歴に含まれる文字列のうちの前記類似度の総和が高い所定個数の文字列を、前記入力対象フォームについての入力履歴に含まれる文字列とともに、入力候補として出力する
ことを前記コンピュータが実行することを特徴とする入力候補推薦方法。
(付記2)
前記類似度は、内積相関法に従って算出される
ことを前記コンピュータが実行することを特徴とする付記1記載の入力候補推薦方法。
(付記3)
各入力フォーム単位で、入力履歴に含まれる各文字列同士の入力回数の比率に応じた重みを予め計算しておき、
前記入力対象フォームについての入力履歴に含まれる文字列と前記非入力対象フォーム
についての入力履歴に含まれる文字列との前記類似度を算出する際には、各文字列について算出した重みを夫々前記類似度の値に反映させる
ことを前記コンピュータが実行することを特徴とする付記1記載の入力候補推薦方法。
(付記4)
前記非入力対象フォームが複数存在する場合には、各非入力対象フォーム毎に、前記入力対象フォームについての入力履歴に含まれる各文字列と非入力対象フォームについての入力履歴に含まれる各文字列との類似度の総和であるフォーム間類似度を予め計算しておき、各文字列につき、それを含む非入力対象フォームについて算出されていたフォーム間類似度に比例した値の総和を、前記類似度の値に反映させる。
ことを前記コンピュータが実行することを特徴とする付記1又は3記載の入力候補推薦方法。
(付記5)
各入力フォーム単位で、入力履歴に含まれる各文字列同士の入力回数の比率に応じた重みを予め計算しておき、
前記フォーム間類似度を計算する際には、前記入力対象フォームについての入力履歴に含まれる各文字列と非入力対象フォームについての入力履歴に含まれる各文字列との類似度に、夫々の文字列について算出されていた重みを反映させ、重みを反映させた類似度の総和を前記フォーム間類似度とする
ことを前記コンピュータが実行することを特徴とする付記4記載の入力候補推薦方法。
(付記6)
クライアント端末とサーバ装置とからなるネットワークシステムにおいて、前記データベースを前記サーバ装置に格納しておき、前記入力装置を前記サーバ装置から前記クライアント端末へ出力する
ことを前記コンピュータが実行することを特徴とする付記1記載の入力候補推薦方法。
(付記7)
クライアント端末とネットワークで接続されたコンピュータが入力フォームに対する入力候補を推薦するために読み込んで実行する入力候補推薦プログラムであって、前記コンピュータを、
所定の複数の入力フォームの夫々について、過去に入力された文字列の入力履歴を保存するデータベース手段,
操作者によって入力対象として選択された入力フォームである入力対象フォームについての入力履歴,及び、当該入力対象フォーム以外の入力フォームである非入力対象フォームについての入力履歴を、夫々、前記データベース手段から取得する取得手段,
前記非入力対象フォームについての入力履歴に含まれる文字列のうち前記入力対象フォームについての入力履歴に含まれないものについて、夫々、前記入力対象フォームについての入力履歴に含まれる全文字列に対する類似度の総和を算出する類似度操作算出手段,及び、
前記非入力対象フォームについての入力履歴に含まれる文字列のうちの前記類似度の総和が高い所定個数の文字列を、前記入力対象フォームについての入力履歴に含まれる文字列とともに、入力候補として出力する入力候補出力手段
として機能させることを特徴とする入力候補推薦プログラム。
As described above, according to the present embodiment, the “history search” button corresponding to each input form 31 in the template of the electronic document (FIG. 21) provided by the Web server 10 on the server device 1. 32, when the user operates the “history search” button 32 using a pointing device (not shown) of the client terminal 2, the input history database 15 corresponding to the input form (input target form input history database 15a) ) In the past, the input history (character string) stored in the input history database 15 (non-input target form input history database 15b) for other input forms is read out. Total with each input history (character string) stored in the input target form input history database 15a Specific input history of similarity is a predetermined number in order from the highest ones (string) is selected. In this way, the input history (character string) read from the input target form input history database 15a is selected as an input candidate, or selected from the input history (character string) stored in the non-input target form input history database 15b. Some of the input histories (character strings) are displayed as recommended input candidates on the input candidate presentation screen (FIG. 37), respectively. Therefore, since the (recommended) input candidates other than the past input history (character string) of the input form are also presented to the user, the range of selection by the user is expanded. In addition, since the recommended input candidates other than the past input history (character string) of the input form are carefully selected for similarity with the past input history (character string) of the input form, On the other hand, there is no problem that the input is bothered.
(Appendix 1)
An input candidate recommendation method for recommending input candidates for an input form executed by a computer connected to a client terminal via a network,
For each of a plurality of predetermined input forms, the input history of character strings input in the past is saved in the database,
An input history for an input target form that is an input form selected as an input target by an operator of the client terminal, and an input history for a non-input target form that is an input form other than the input target form, respectively, From the database,
Of the character strings included in the input history for the non-input target form, those that are not included in the input history for the input target form, respectively, the similarity to all the character strings included in the input history for the input target form Of the sum of
Among character strings included in the input history for the non-input target form, a predetermined number of character strings having a high sum of the similarities are output as input candidates together with the character strings included in the input history for the input target form. An input candidate recommendation method, wherein the computer executes the operation.
(Appendix 2)
The input candidate recommendation method according to claim 1, wherein the computer executes that the similarity is calculated according to an inner product correlation method.
(Appendix 3)
In each input form unit, a weight corresponding to the ratio of the number of times of input between each character string included in the input history is calculated in advance,
When calculating the similarity between the character string included in the input history for the input target form and the character string included in the input history for the non-input target form, the weight calculated for each character string is The input candidate recommendation method according to appendix 1, wherein the computer executes the reflection in the similarity value.
(Appendix 4)
When there are a plurality of non-input target forms, for each non-input target form, each character string included in the input history for the input target form and each character string included in the input history for the non-input target form The inter-form similarity, which is the sum of the similarities with the above, is calculated in advance, and for each character string, the sum of values proportional to the inter-form similarity calculated for the non-input target form including the same is calculated. Reflect in the degree value.
The input candidate recommendation method according to appendix 1 or 3, wherein the computer executes the above.
(Appendix 5)
In each input form unit, a weight corresponding to the ratio of the number of times of input between each character string included in the input history is calculated in advance,
When calculating the inter-form similarity, each character is used for the similarity between each character string included in the input history for the input target form and each character string included in the input history for the non-input target form. The input candidate recommendation method according to appendix 4, wherein the computer executes that the weight calculated for the column is reflected and the sum of the similarities reflecting the weight is used as the inter-form similarity.
(Appendix 6)
In a network system including a client terminal and a server device, the computer stores the database in the server device and outputs the input device from the server device to the client terminal. The input candidate recommendation method according to appendix 1.
(Appendix 7)
A computer connected to a client terminal via a network is an input candidate recommendation program that is read and executed in order to recommend input candidates for an input form, the computer comprising:
Database means for storing an input history of a character string input in the past for each of a plurality of predetermined input forms;
An input history for an input target form that is an input form selected as an input target by the operator and an input history for a non-input target form that is an input form other than the input target form are respectively acquired from the database means. Acquisition means,
Of the character strings included in the input history for the non-input target form, those that are not included in the input history for the input target form, respectively, the similarity to all the character strings included in the input history for the input target form Similarity operation calculation means for calculating the sum of, and
Among character strings included in the input history for the non-input target form, a predetermined number of character strings having a high sum of the similarities are output as input candidates together with the character strings included in the input history for the input target form. An input candidate recommendation program that functions as an input candidate output means.

本案の実施の形態であるネットワークシステムの概略構成を示すブロック図The block diagram which shows schematic structure of the network system which is embodiment of this plan 類似候補推薦機能の詳細構成を示すブロック図Block diagram showing detailed configuration of similar candidate recommendation function Webページデータベースのデータ例を示す表Table showing example data of Web page database 入力履歴データベース(入力対象フォーム入力履歴データベース)のデータ例を示す表Table showing example data of input history database (input target form input history database) 入力履歴データベース(非入力対象フォーム入力履歴データベース)のデータ例を示す表Table showing data example of input history database (non-input target form input history database) フォーム間類似度データベースのデータ例を示す表Table showing data example of inter-form similarity database Webサーバ10による処理を示すフローチャートA flowchart showing processing by the Web server 10 S008にて実行される類似候補推薦機能による処理を示すフローチャートThe flowchart which shows the process by the similar candidate recommendation function performed in S008 S101にて実行される入力対象フォーム履歴取得機能による処理を示すフローチャートThe flowchart which shows the process by the input object form log | history acquisition function performed in S101 S102にて実行される全体履歴取得機能による処理を示すフローチャートThe flowchart which shows the process by the whole log | history acquisition function performed in S102 S103にて実行される類似度算出機能による処理を示すフローチャートThe flowchart which shows the process by the similarity calculation function performed in S103 S406にて実行される文字列類似度の重み値計算処理サブルーチンを示すフローチャートThe flowchart which shows the weight value calculation processing subroutine of the character string similarity performed in S406 S407にて実行されるフォーム間類似度の重み値計算処理サブルーチンを示すフローチャートThe flowchart which shows the weight value calculation processing subroutine of the similarity between forms performed in S407 S104にて実行される順位付け機能による処理を示すフローチャートThe flowchart which shows the process by the ranking function performed in S104 S015にて実行される類似度算出機能による処理を示すフローチャートThe flowchart which shows the process by the similarity calculation function performed in S015 図8乃至図15のフローチャートに従った処理によって各部間で授受されるデータの流れを示すタイミングチャートTiming chart showing the flow of data exchanged between each unit by the processing according to the flowcharts of FIGS. 図16を一部拡大して示すタイミングチャートFIG. 16 is a partially enlarged timing chart 電子化書面雛型のHTML要求メッセージ中のパラメータを示す図Diagram showing parameters in HTML request message of electronic document template 入力フォームのHTMLテンプレートを示す図Figure showing input form HTML template 入力値を空とされた入力フォームのHTMLテンプレートを示す図Figure showing HTML template of input form with empty input value 電子化書面雛型を示す図Diagram showing digitized document template 入力候補推薦要求メッセージ中のパラメータを示す図The figure which shows the parameter in the input candidate recommendation request message 入力対象フォーム入力履歴データベースから読み出された入力履歴を示す表Table showing input history read from the input target form input history database 各非入力対象フォーム入力履歴データベースから読み出された入力履歴を示す表Table showing input history read from each non-input target form input history database 各非入力対象フォームの入力履歴を結合してなるデータ列を示す表A table showing data columns that combine the input history of each non-input target form 入力対象フォームの入力履歴を削除したデータ列を示す表Table showing the data column from which the input history of the input target form has been deleted 重複した入力履歴を削除したデータ列を示す表Table showing data columns from which duplicate input history has been deleted マージ表を示す表Table showing merge table 文字列類似度の重み値を示す表Table showing string similarity weight values フォーム間類似度の重み値を示す表Table showing weight values for similarity between forms 入力候補適正評価値を示す表Table showing input candidate suitability evaluation values ソート後のマージ表の見出しを示す表Table showing merge table headings after sorting 抽出された上位3個の見出しを示す表Table showing the top three extracted headings Webサーバに応答される入力候補及び推薦入力候補を示す表。The table | surface which shows the input candidate and recommendation input candidate which are responded to a web server. 入力候補提示画面のHTMLテンプレートを示す表Table showing HTML template of input candidate presentation screen 入力候補提示画面のHTMLデータを示す表Table showing HTML data of input candidate presentation screen 入力候補提示画面を示す表Table showing input candidate presentation screen 入力候補選択要求メッセージ中のパラメータを示す図The figure which shows the parameter in the input candidate selection request message 選択した(推薦)入力候補を挿入した電子化書面雛型のHTMLデータを示す表Table showing the HTML data of the digitized document template with the selected (recommended) input candidates inserted 選択した(推薦)入力候補を挿入した電子化書面雛型を示す図Diagram showing the digitized document template with the selected (recommended) input candidate inserted 送信要求メッセージ中のパラメータを示す図Diagram showing parameters in the send request message 更新後の入力対象フォーム入力履歴データベースを示す表Table showing input target form input history database after update 入力対象フォームの入力履歴中の各文字列と非入力対象フォームの入力履歴中の各文字列との文字列類似度の計算結果を一覧する表。A table listing calculation results of character string similarity between each character string in the input history of the input target form and each character string in the input history of the non-input target form. フォーム間類似度の計算過程を示す表Table showing the calculation process of similarity between forms 更新後のフォーム間類似度データベースを示す表Table showing the inter-form similarity database after update

符号の説明Explanation of symbols

1 サーバ装置
10 Webサーバ
11 類似候補推薦機能
12 履歴更新機能
14 フォーム間類似度データベース
15 入力履歴データベース
111 入力対象フォーム履歴取得機能
112 全体履歴取得機能
113 類似度算出機能
114 順位付け機能
N ネットワーク
DESCRIPTION OF SYMBOLS 1 Server apparatus 10 Web server 11 Similarity candidate recommendation function 12 History update function 14 Inter-form similarity database 15 Input history database 111 Input object form history acquisition function 112 Whole history acquisition function 113 Similarity calculation function 114 Ranking function N network

Claims (5)

クライアント端末とネットワークで接続されたコンピュータにより実行される入力フォームに対する入力候補を推薦するための入力候補推薦方法であって、
所定の複数の入力フォームの夫々について、過去に入力された文字列の入力履歴をデータベースに保存しておき、
前記クライアント端末の操作者によって入力対象として選択された入力フォームである入力対象フォームについての入力履歴,及び、当該入力対象フォーム以外の入力フォームである非入力対象フォームについての入力履歴を、夫々、前記データベースから取得し、
前記非入力対象フォームについての入力履歴に含まれる文字列のうち前記入力対象フォームについての入力履歴に含まれないものについて、夫々、前記入力対象フォームについての入力履歴に含まれる全文字列に対する類似度の総和を算出し、
前記非入力対象フォームについての入力履歴に含まれる文字列のうちの前記類似度の総和が高い所定個数の文字列を、前記入力対象フォームについての入力履歴に含まれる文字列とともに、入力候補として出力する
ことを前記コンピュータが実行することを特徴とする入力候補推薦方法。
An input candidate recommendation method for recommending input candidates for an input form executed by a computer connected to a client terminal via a network,
For each of a plurality of predetermined input forms, the input history of character strings input in the past is saved in the database,
An input history for an input target form that is an input form selected as an input target by an operator of the client terminal, and an input history for a non-input target form that is an input form other than the input target form, respectively, From the database,
Of the character strings included in the input history for the non-input target form, those that are not included in the input history for the input target form, respectively, the similarity to all the character strings included in the input history for the input target form Of the sum of
Among character strings included in the input history for the non-input target form, a predetermined number of character strings having a high sum of the similarities are output as input candidates together with the character strings included in the input history for the input target form. An input candidate recommendation method, wherein the computer executes the operation.
各入力フォーム単位で、入力履歴に含まれる各文字列同士の入力回数の比率に応じた重みを予め計算しておき、
前記入力対象フォームについての入力履歴に含まれる文字列と前記非入力対象フォームについての入力履歴に含まれる文字列との前記類似度を算出する際には、各文字列について算出した重みを夫々前記類似度の値に反映させる
ことを前記コンピュータが実行することを特徴とする請求項1記載の入力候補推薦方法。
In each input form unit, a weight corresponding to the ratio of the number of times of input between each character string included in the input history is calculated in advance,
When calculating the similarity between the character string included in the input history for the input target form and the character string included in the input history for the non-input target form, the weight calculated for each character string is The input candidate recommendation method according to claim 1, wherein the computer executes the reflection to the similarity value.
前記非入力対象フォームが複数存在する場合には、各非入力対象フォーム毎に、前記入力対象フォームについての入力履歴に含まれる各文字列と非入力対象フォームについての入力履歴に含まれる各文字列との類似度の総和であるフォーム間類似度を予め計算しておき、各文字列につき、それを含む非入力対象フォームについて算出されていたフォーム間類似度に比例した値の総和を、前記類似度の値に反映させる
ことを前記コンピュータが実行することを特徴とする請求項1又は2記載の入力候補推薦方法。
When there are a plurality of non-input target forms, for each non-input target form, each character string included in the input history for the input target form and each character string included in the input history for the non-input target form The inter-form similarity, which is the sum of the similarities with the above, is calculated in advance, and for each character string, the sum of values proportional to the inter-form similarity calculated for the non-input target form including the same is calculated. The input candidate recommendation method according to claim 1, wherein the computer executes the reflection to the degree value.
各入力フォーム単位で、入力履歴に含まれる各文字列同士の入力回数の比率に応じた重みを予め計算しておき、
前記フォーム間類似度を計算する際には、前記入力対象フォームについての入力履歴に含まれる各文字列と非入力対象フォームについての入力履歴に含まれる各文字列との類似度に、夫々の文字列について算出されていた重みを反映させ、重みを反映させた類似度の総和を前記フォーム間類似度とする
ことを前記コンピュータが実行することを特徴とする請求項3記載の入力候補推薦方法。
In each input form unit, a weight corresponding to the ratio of the number of times of input between each character string included in the input history is calculated in advance,
When calculating the inter-form similarity, each character is used for the similarity between each character string included in the input history for the input target form and each character string included in the input history for the non-input target form. 4. The input candidate recommendation method according to claim 3, wherein the computer executes that the weight calculated for the column is reflected and the sum of the similarities reflecting the weight is set as the inter-form similarity.
クライアント端末とネットワークで接続されたコンピュータが入力フォームに対する入力候補を推薦するために読み込んで実行する入力候補推薦プログラムであって、前記コンピュータを、
所定の複数の入力フォームの夫々について、過去に入力された文字列の入力履歴を保存するデータベース手段,
操作者によって入力対象として選択された入力フォームである入力対象フォームについての入力履歴,及び、当該入力対象フォーム以外の入力フォームである非入力対象フォームについての入力履歴を、夫々、前記データベース手段から取得する取得手段,
前記非入力対象フォームについての入力履歴に含まれる文字列のうち前記入力対象フォームについての入力履歴に含まれないものについて、夫々、前記入力対象フォームについ
ての入力履歴に含まれる全文字列に対する類似度の総和を算出する類似度総和算出手段,及び、
前記非入力対象フォームについての入力履歴に含まれる文字列のうちの前記類似度の総和が高い所定個数の文字列を、前記入力対象フォームについての入力履歴に含まれる文字列とともに、入力候補として出力する入力候補出力手段
として機能させることを特徴とする入力候補推薦プログラム。
A computer connected to a client terminal via a network is an input candidate recommendation program that is read and executed in order to recommend input candidates for an input form, the computer comprising:
Database means for storing an input history of a character string input in the past for each of a plurality of predetermined input forms;
An input history for an input target form that is an input form selected as an input target by the operator and an input history for a non-input target form that is an input form other than the input target form are respectively acquired from the database means. Acquisition means,
Of the character strings included in the input history for the non-input target form, those that are not included in the input history for the input target form, respectively, the similarity to all the character strings included in the input history for the input target form A similarity sum calculating means for calculating the sum of
Among character strings included in the input history for the non-input target form, a predetermined number of character strings having a high sum of the similarities are output as input candidates together with the character strings included in the input history for the input target form. An input candidate recommendation program that functions as an input candidate output means.
JP2008275968A 2008-10-27 2008-10-27 Input candidate recommendation method and input candidate recommendation program Expired - Fee Related JP5195281B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008275968A JP5195281B2 (en) 2008-10-27 2008-10-27 Input candidate recommendation method and input candidate recommendation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008275968A JP5195281B2 (en) 2008-10-27 2008-10-27 Input candidate recommendation method and input candidate recommendation program

Publications (2)

Publication Number Publication Date
JP2010102656A JP2010102656A (en) 2010-05-06
JP5195281B2 true JP5195281B2 (en) 2013-05-08

Family

ID=42293227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008275968A Expired - Fee Related JP5195281B2 (en) 2008-10-27 2008-10-27 Input candidate recommendation method and input candidate recommendation program

Country Status (1)

Country Link
JP (1) JP5195281B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809637A (en) * 2015-05-18 2015-07-29 北京京东尚科信息技术有限公司 Commodity recommending method and system realized by computer

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5279761B2 (en) * 2010-05-11 2013-09-04 株式会社エヌ・ティ・ティ・ドコモ Information processing apparatus, information processing method, and program
JP5903918B2 (en) * 2012-02-09 2016-04-13 日本電気株式会社 Input support device, input support method, and input support program
US20150370478A1 (en) * 2013-01-22 2015-12-24 Nec Solution Innovators, Ltd. Input support system, input support method and input support program
JP6920270B2 (en) * 2018-11-20 2021-08-18 Nttテクノクロス株式会社 Operation execution system, operation execution device, operation execution method and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0385620A (en) * 1989-08-30 1991-04-10 Fujitsu Ltd Associative input system
JPH11306171A (en) * 1998-04-20 1999-11-05 Fujitsu Ltd Item information input method and recording medium
JP2002140350A (en) * 2000-11-02 2002-05-17 Toshiba Corp Device and method for managing history of input data and information storage medium with the managing method stored therein
JP2005010916A (en) * 2003-06-17 2005-01-13 Canon Inc Document processor, character input support method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809637A (en) * 2015-05-18 2015-07-29 北京京东尚科信息技术有限公司 Commodity recommending method and system realized by computer

Also Published As

Publication number Publication date
JP2010102656A (en) 2010-05-06

Similar Documents

Publication Publication Date Title
RU2745632C1 (en) Automated response server device, terminal device, response system, response method and program
CN107766479B (en) Client-side search template for online social networks
KR101150099B1 (en) Query graphs
US7149812B2 (en) Logical semantic compression
EP1326176A1 (en) Online used car information retrieval system
CN107403388A (en) Syntactic model for structured search inquiry
CN104903886A (en) Structured search queries based on social-graph information
TW201118620A (en) Systems and methods for providing advanced search result page content
CN110869925B (en) Multiple entity aware pre-entry in a search
JP5195281B2 (en) Input candidate recommendation method and input candidate recommendation program
WO2006057517A1 (en) Method for providing font service on service page and system for executing the method
US20060156063A1 (en) Instant messaging transaction integration
CN108701121A (en) User&#39;s input is assigned to the multiple input domain in user interface
CN105279569A (en) Career path navigation
JP2007317031A (en) Electronic document update notification apparatus and electronic document update notification method
KR100372225B1 (en) An apparatus for creating homepage, a method for automatically converting the homepage and method for discriminating to view the homepage
US10409830B2 (en) System for facet expansion
JP4772880B2 (en) Application execution method, application change device, and application change program
WO2015077488A2 (en) Performing marketplace actions based on social networking tags
Rasmussen et al. The data documentation initiative: a preservation standard for research
JP2002215519A (en) Method and system for web page generation, web page generating program, and recording medium
JP6907701B2 (en) Information processing equipment, information processing systems, information processing methods and programs
KR101697290B1 (en) Method and system for making homepage using web browser
US20190114372A1 (en) System and method for determining contact names that may identify the same person
JP5598923B2 (en) Request information processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110808

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121221

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130121

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

Free format text: PAYMENT UNTIL: 20160215

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees