JP2012194920A - Program and image processing device - Google Patents

Program and image processing device Download PDF

Info

Publication number
JP2012194920A
JP2012194920A JP2011059843A JP2011059843A JP2012194920A JP 2012194920 A JP2012194920 A JP 2012194920A JP 2011059843 A JP2011059843 A JP 2011059843A JP 2011059843 A JP2011059843 A JP 2011059843A JP 2012194920 A JP2012194920 A JP 2012194920A
Authority
JP
Japan
Prior art keywords
cpu
hash value
replacement
data
link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011059843A
Other languages
Japanese (ja)
Other versions
JP5672094B2 (en
Inventor
Masashi Yamada
真史 山田
Hiroaki Tokuno
裕明 徳野
Hodaka Kitano
穂高 北野
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 JP2011059843A priority Critical patent/JP5672094B2/en
Publication of JP2012194920A publication Critical patent/JP2012194920A/en
Application granted granted Critical
Publication of JP5672094B2 publication Critical patent/JP5672094B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a program and an image processing device capable of using the other object corresponding to one object in accordance with a use state of a user.SOLUTION: The other object T1 is temporarily stored in a storage unit. Whether one object T2 displayed on a display unit 14 is replaced with the other object T1 stored temporarily in the storage unit is detected by a control unit. When replacement is detected, the other object T1 and one object T2 are associated with each other by the control unit and are stored in the storage unit. When one object T2 is displayed on the display unit 14, the storage unit is referred to by the control unit, and the other object T1 associated with one object T2 is extracted. The control unit replaces one object T2 with the other object T1 and displays the other object T1 on the display unit 14.

Description

本発明は、コンピュータにより情報処理を行うためのプログラム及び情報処理装置に関する。   The present invention relates to a program and an information processing apparatus for performing information processing by a computer.

情報処理装置を用いて、データを編集する技術が開示されている(特許文献1及び2参照)。これらはデータをクリップボードにコピーし、貼り付ける技術を開示している。   A technique for editing data using an information processing apparatus is disclosed (see Patent Documents 1 and 2). These disclose techniques for copying and pasting data to a clipboard.

特開平8−185514号公報JP-A-8-185514 特開平8−212219号公報JP-A-8-212219

しかしながら、後にクリップボードのデータを利用しようとした際には、当該データが既に消去されていることがあり、再び、当該データを探し出さなければならないという問題があった。   However, when trying to use the data on the clipboard later, the data may already be deleted, and there is a problem that the data must be searched again.

本発明は斯かる事情に鑑みてなされたものである。その目的は、ユーザの使用状況に応じて一のオブジェクトに対応する他のオブジェクトを利用することが可能なプログラム等を提供することにある。   The present invention has been made in view of such circumstances. The purpose is to provide a program or the like that can use another object corresponding to one object in accordance with the use state of the user.

本願に開示するプログラムは、制御部及び表示部を有するコンピュータにより情報処理を行うプログラムにおいて、コンピュータに、前記表示部に表示された一のオブジェクトが記憶部に一時的に記憶された他のオブジェクトへ置換されたか否かを前記制御部により検出し、置換されたことを検出した場合に、前記制御部により前記他のオブジェクト及び一のオブジェクトを関連付けて記憶部に記憶し、前記一のオブジェクトが前記表示部に表示される場合に、前記制御部により前記記憶部を参照し、前記一のオブジェクトに関連付けられた他のオブジェクトを抽出する処理を実行させる。   The program disclosed in the present application is a program for performing information processing by a computer having a control unit and a display unit. In the computer, one object displayed on the display unit is transferred to another object temporarily stored in the storage unit. The control unit detects whether or not it has been replaced, and when the replacement is detected, the control unit stores the other object and one object in association with each other, and the one object is stored in the storage unit. When displayed on the display unit, the control unit refers to the storage unit and executes a process of extracting another object associated with the one object.

本願の一観点によれば、ユーザの使用状況に応じて一のオブジェクトに対応する他のオブジェクトを利用することが可能となる。   According to one aspect of the present application, it is possible to use another object corresponding to one object in accordance with the usage status of the user.

置換処理のイメージを示す説明図である。It is explanatory drawing which shows the image of a replacement process. 変換処理のイメージを示す説明図である。It is explanatory drawing which shows the image of a conversion process. 情報処理装置のハードウェア群を示す説明図である。It is explanatory drawing which shows the hardware group of information processing apparatus. 文例ファイルのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of an example file. 退避テーブルのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of an evacuation table. オブジェクトテーブルのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of an object table. リンクテーブルのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of a link table. 置換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a replacement process. 置換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a replacement process. 置換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a replacement process. 置換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a replacement process. 置換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a replacement process. 置換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a replacement process. 置換処理のイメージを示す説明図である。It is explanatory drawing which shows the image of a replacement process. 実施の形態2に係るオブジェクトテーブルのレコードレイアウトを示す説明図である。10 is an explanatory diagram showing a record layout of an object table according to Embodiment 2. FIG. 実施の形態2に係るリンクテーブルのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of the link table which concerns on Embodiment 2. FIG. 置換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a replacement process. 置換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a replacement process. 置換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a replacement process. 置換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a replacement process. 置換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a replacement process. 置換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a replacement process. 置換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a replacement process. 置換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a replacement process. 実施の形態3に係るパーソナルコンピュータのハードウェア群を示すブロック図である。FIG. 10 is a block diagram illustrating a hardware group of a personal computer according to a third embodiment. 実施の形態3に係るリンクテーブルのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of the link table which concerns on Embodiment 3. FIG. リンク記憶処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a link memory | storage process. リンク記憶処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a link memory | storage process. 閾リンク数に基づくリンク抽出処理の手順を示す説明図である。It is explanatory drawing which shows the procedure of the link extraction process based on the threshold link number. 閾リンク数に基づくリンク抽出処理の手順を示す説明図である。It is explanatory drawing which shows the procedure of the link extraction process based on the threshold link number. 閾リンク数に基づくリンク抽出処理の手順を示す説明図である。It is explanatory drawing which shows the procedure of the link extraction process based on the threshold link number. 閾リンク数に基づくリンク抽出処理の手順を示す説明図である。It is explanatory drawing which shows the procedure of the link extraction process based on the threshold link number. 閾リンク数に基づくリンク抽出処理の手順を示す説明図である。It is explanatory drawing which shows the procedure of the link extraction process based on the threshold link number. リンクワークテーブルのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of a link work table. 閾リンク数に応じたハッシュ値の抽出処理手順を示すフローチャートである。It is a flowchart which shows the extraction process procedure of the hash value according to the threshold link number. 閾リンク数に応じたハッシュ値の抽出処理手順を示すフローチャートである。It is a flowchart which shows the extraction process procedure of the hash value according to the threshold link number. 閾リンク数に応じたハッシュ値の抽出処理手順を示すフローチャートである。It is a flowchart which shows the extraction process procedure of the hash value according to the threshold link number. リンクワークテーブルを用いたリンク欄及び省略データの表示処理手順を示すフローチャートである。It is a flowchart which shows the display processing procedure of the link column and abbreviated data using a link work table. 上述した形態のパーソナルコンピュータの動作を示す機能ブロック図である。It is a functional block diagram which shows operation | movement of the personal computer of the form mentioned above. 実施の形態4に係るパーソナルコンピュータのハードウェア群を示すブロック図である。FIG. 10 is a block diagram illustrating a hardware group of a personal computer according to a fourth embodiment.

実施の形態1
以下実施の形態を、図面を参照して説明する。図1は置換処理のイメージを示す説明図である。図1Aに示すように、アプリケーションA1(以下、場合によりアプリケーションAで代表する)上にオブジェクトT1(以下、場合によりオブジェクトTで代表する)が表示されている。オブジェクトT1は例えば、画像データ、テキストデータ、グラフ、表、音声データ、動画データ、またはURL(Uniform Resource Locator)が記述されたハイパーリンクである。オブジェクトT1はテキストと画像データ等との組み合わせであっても良い。その他、オブジェクトはパワーポイント(登録商標)等のプレゼンテーションアプリケーションのスライドであっても良い。また、PDF(Portable Document Format:登録商標)等の文書表示アプリケーション上の画像データ、テキストデータ、または画像データとテキストデータとの組み合わせであっても良い。また、オブジェクトはHTML(HyperText Markup Language)で作成されたWebページデータであっても良い。本実施形態ではオブジェクトT1をGIF(Graphics Interchange Format)形式の画像データ、オブジェクトT2をテキストデータであるものとして説明する。
Embodiment 1
Hereinafter, embodiments will be described with reference to the drawings. FIG. 1 is an explanatory diagram showing an image of replacement processing. As shown in FIG. 1A, an object T1 (hereinafter, represented by the object T in some cases) is displayed on the application A1 (hereinafter, represented by the application A in some cases). The object T1 is, for example, image data, text data, a graph, a table, audio data, moving image data, or a hyperlink describing a URL (Uniform Resource Locator). The object T1 may be a combination of text and image data. In addition, the object may be a slide of a presentation application such as PowerPoint (registered trademark). Further, it may be image data, text data, or a combination of image data and text data on a document display application such as PDF (Portable Document Format: registered trademark). The object may be Web page data created by HTML (HyperText Markup Language). In the present embodiment, it is assumed that the object T1 is image data in the GIF (Graphics Interchange Format) format and the object T2 is text data.

アプリケーションA1にてユーザはオブジェクトT1をコピーしクリップボードに記憶する。図1Bでは異なるアプリケーションA2において「○×システム構成図」と記述されたオブジェクトT2が表示されている。ユーザは、「○×システム構成図」のオブジェクトT2を選択する。ここで選択したオブジェクトT2上で、オブジェクトT1を、貼付処理した場合、図1Cに示す如く、アプリケーションA2上にオブジェクトT1が置換貼り付けされる。この場合、オブジェクトT2とオブジェクトT1とを関連付けて、記憶しておく。   In the application A1, the user copies the object T1 and stores it on the clipboard. In FIG. 1B, an object T2 described as “Ox system configuration diagram” is displayed in a different application A2. The user selects the object T2 of “◯ × system configuration diagram”. When the object T1 is pasted on the object T2 selected here, the object T1 is replaced and pasted on the application A2 as shown in FIG. 1C. In this case, the object T2 and the object T1 are associated and stored.

図2は変換処理のイメージを示す説明図である。図2AにおいてはアプリケーションA2において「まるばつ」と入力され、複数の文例候補L1が表示される。文例候補L1として「○×システム価格表」、「○×システム制限事項表」、「○×システム構成図 ★」、「○×システム開発体制図」が表示されている。このうち置換が可能な「○×システム構成図」に係る文例候補L1にはアイコンとして「★」が併記される。さらに文例候補L1にはオブジェクトT1のカテゴリ、属性、利用日時を示すリンク欄L2の他、オブジェクトT1のサムネイルL3も表示される。ユーザはオブジェクトT1への変換を希望する場合、リンク欄L2またはサムネイルL3を選択する。これにより、図2Bに示すように、アプリケーションA2上に変換後のオブジェクトT1が表示される。以下詳細を説明する。   FIG. 2 is an explanatory diagram showing an image of the conversion process. In FIG. 2A, “marubatsu” is input in the application A2, and a plurality of sentence example candidates L1 are displayed. “XX system price list”, “XX system restriction table”, “XX system configuration diagram ★”, and “XX system development system diagram” are displayed as sentence example candidates L1. Of these, “★” is also written as an icon in the sentence example candidate L1 related to “XX system configuration diagram” that can be replaced. In addition, the sentence example candidate L1 displays a thumbnail L3 of the object T1 in addition to the link column L2 indicating the category, attribute, and use date and time of the object T1. When the user desires conversion to the object T1, the user selects the link field L2 or the thumbnail L3. Thereby, as shown in FIG. 2B, the converted object T1 is displayed on the application A2. Details will be described below.

図3は情報処理装置1のハードウェア群を示す説明図である。情報処理装置1は例えば、パーソナルコンピュータ、携帯電話機、PDA(Personal Digital Assistant)、ブックリーダ、ゲーム機、または、医療機器、半導体製造装置若しくは工作機械等の制御用コンピュータ等である。以下では情報処理装置1をパーソナルコンピュータ1であるものとして説明する。パーソナルコンピュータ1は制御部としてのCPU(Central Processing Unit)11、RAM(Random Access Memory)12、入力部13、表示部14、記憶部15、時計部18及び通信部16等を含む。CPU11は、バス17を介してハードウェア各部と接続されている。CPU11は記憶部15に記憶された制御プログラム15Pに従いハードウェア各部を制御する。   FIG. 3 is an explanatory diagram showing a hardware group of the information processing apparatus 1. The information processing apparatus 1 is, for example, a personal computer, a mobile phone, a PDA (Personal Digital Assistant), a book reader, a game machine, or a control computer such as a medical device, a semiconductor manufacturing apparatus, or a machine tool. Hereinafter, the information processing apparatus 1 will be described as being a personal computer 1. The personal computer 1 includes a CPU (Central Processing Unit) 11 as a control unit, a RAM (Random Access Memory) 12, an input unit 13, a display unit 14, a storage unit 15, a clock unit 18, a communication unit 16, and the like. The CPU 11 is connected to each part of the hardware via the bus 17. The CPU 11 controls each part of the hardware according to the control program 15P stored in the storage unit 15.

RAM12は例えばSRAM(Static RAM)、DRAM(Dynamic RAM)、フラッシュメモリ等である。RAM12は、記憶部としても機能し、CPU11による各種プログラムの実行時に発生する種々のデータを一時的に記憶する。またCPU11はアプリケーションA上でオブジェクトTがコピーされた場合、コピーされたオブジェクトTのデータ、サムネイルL3及び属性をクリップボードであるRAM12に一時的に記憶する。なお、本実施形態ではコピーされたオブジェクトTをクリップボードであるRAM12に一時的に記憶する例を挙げて説明するが、これに限るものではない。CPU11は、記憶部15の他、図示しないUSB(Universal Serial Bus)メモリ等の他の記憶媒体に、コピーされたオブジェクトTを一時的に記憶しても良い。   The RAM 12 is, for example, SRAM (Static RAM), DRAM (Dynamic RAM), flash memory, or the like. The RAM 12 also functions as a storage unit, and temporarily stores various data generated when the CPU 11 executes various programs. When the object T is copied on the application A, the CPU 11 temporarily stores the copied object T data, thumbnail L3, and attribute in the RAM 12 which is a clipboard. In the present embodiment, an example in which the copied object T is temporarily stored in the RAM 12 as a clipboard will be described. However, the present invention is not limited to this. The CPU 11 may temporarily store the copied object T in another storage medium such as a USB (Universal Serial Bus) memory (not shown) in addition to the storage unit 15.

入力部13はマウス、キーボード、またはタッチパッド、タッチパネル等の入力デバイスであり、受け付けた操作情報をCPU11へ出力する。表示部14は液晶ディスプレイまたは有機EL(electroluminescence)ディスプレイ等であり、CPU11の指示に従い各種情報を表示する。時計部18は日時の情報をCPU11へ出力する。通信部16は有線または無線LAN(Local Area Network)カード等であり、インターネット等の通信網Nを介して他のコンピュータ(図示せず)等との間で情報の送受信を行う。記憶部15は例えば、ハードディスクまたは大容量フラッシュメモリ等であり、制御プログラム15Pを格納する。記憶部15はこの他、文例ファイル151、退避テーブル152、オブジェクトテーブル153及びリンクテーブル154等を格納している。   The input unit 13 is an input device such as a mouse, a keyboard, a touch pad, or a touch panel, and outputs received operation information to the CPU 11. The display unit 14 is a liquid crystal display, an organic EL (electroluminescence) display, or the like, and displays various information according to instructions from the CPU 11. The clock unit 18 outputs date and time information to the CPU 11. The communication unit 16 is a wired or wireless local area network (LAN) card and transmits / receives information to / from another computer (not shown) via a communication network N such as the Internet. The storage unit 15 is, for example, a hard disk or a large-capacity flash memory, and stores the control program 15P. In addition, the storage unit 15 stores a sentence example file 151, a save table 152, an object table 153, a link table 154, and the like.

図4は文例ファイル151のレコードレイアウトを示す説明図である。文例ファイル151はキーフィールド及び文例フィールド等を含む。文例ファイル151には入力部13から入力行へ文字が入力された際の文例候補L1を記憶している。図4の例では「マルバツ」とのキーに対し、「○×」、「○×システム」、「○×システム構成図」、「○×システム価格表」及び「○×システム制限事項表」等の文例が記憶されている。なお、本実施形態では説明を容易にするために、文例ファイル151に入力された文字列に対応する文例を複数記憶した例を挙げて説明するがこれに限るものではない。文例ファイル151の他に、入力文字列を漢字に変換する際に参照される単語辞書、並びに、文節及び送り仮名の用法等の文法を規定した文法辞書を用いても良い。   FIG. 4 is an explanatory diagram showing a record layout of the sentence example file 151. The sentence example file 151 includes a key field and a sentence example field. The sentence example file 151 stores a sentence example candidate L1 when a character is input from the input unit 13 to the input line. In the example of FIG. 4, “Ox”, “Ox system”, “Ox system configuration diagram”, “Ox system price list”, “Ox system restriction table”, etc. Example sentences are stored. In the present embodiment, for ease of explanation, an example in which a plurality of sentence examples corresponding to the character string input to the sentence example file 151 are stored will be described, but the present invention is not limited to this. In addition to the sentence example file 151, a word dictionary that is referred to when converting an input character string into a kanji character, and a grammar dictionary that defines grammars such as the usage of clauses and kana characters may be used.

図5は退避テーブル152のレコードレイアウトを示す説明図である。退避テーブル152はオブジェクトデータフィールド及びカテゴリフィールドに加えて、属性に係る形式フィールド及びサイズフィールド等を含む。図1B及び図1Cに示す如く、CPU11は入力部13によりオブジェクトT2が選択され、RAM12に記憶されたオブジェクトT1に置換された(貼り付けられた)場合、オブジェクトT2のデータ及び属性を退避テーブル152に記憶する。なお、図1では異なるアプリケーションA1、A2間での置換処理を例として挙げたが、同一アプリケーションA間での置換処理であっても良い。   FIG. 5 is an explanatory diagram showing a record layout of the save table 152. The save table 152 includes a format field and a size field related to attributes in addition to the object data field and the category field. As shown in FIG. 1B and FIG. 1C, when the object T2 is selected by the input unit 13 and is replaced (pasted) with the object T1 stored in the RAM 12, the CPU 11 stores the data and attributes of the object T2 in the save table 152. To remember. In FIG. 1, a replacement process between different applications A1 and A2 is given as an example, but a replacement process between the same applications A may be used.

オブジェクトデータフィールドには、置換されたオブジェクトTのデータが記憶される。属性は、オブジェクトが有する固有の情報、特性をいい、例えばオブジェクトデータのファイルの形式、及び、オブジェクトデータのファイルのサイズ等が該当する。形式フィールドにはオブジェクトデータのデータ形式がオブジェクトデータに対応付けて記憶されている。例えば、オブジェクトTが図である場合、GIF、BMP(Bitmap)、またはJPEG(Joint Photographic Experts Group)等である。オブジェクトTが文章である場合、テキストを示すtxt等の形式が記憶される。   In the object data field, data of the replaced object T is stored. The attribute refers to unique information and characteristics of the object, and corresponds to, for example, the file format of the object data, the size of the file of the object data, and the like. In the format field, the data format of the object data is stored in association with the object data. For example, when the object T is a figure, it is GIF, BMP (Bitmap), JPEG (Joint Photographic Experts Group), or the like. When the object T is a sentence, a format such as txt indicating the text is stored.

オブジェクトTが文章、URLが記述されたハイパーリンク及び図面等の複数のオブジェクトにより構成される場合、マイクロソフト社のパワーポイント(登録商標)スライド、PDF(登録商標)ファイル等のアプリケーションに係る拡張子が形式として記憶される。オブジェクトTがWeb頁に関連する場合、HTMLドキュメント等の形式が記憶される。オブジェクトTが音声または画像の場合、mp3(MPEG-1 Audio Layer 3)、wma(Windows(登録商標) Media Audio)、MPEG(Moving Picture Experts Group)4等の形式が記憶される。   When the object T is composed of a plurality of objects such as texts, hyperlinks describing URLs, and drawings, extensions of applications such as Microsoft PowerPoint (registered trademark) slides, PDF (registered trademark) files, etc. Is remembered as When the object T is related to a Web page, a format such as an HTML document is stored. When the object T is sound or image, formats such as mp3 (MPEG-1 Audio Layer 3), wma (Windows (registered trademark) Media Audio), MPEG (Moving Picture Experts Group) 4 are stored.

カテゴリフィールドには、オブジェクトTのカテゴリがオブジェクトデータ及び形式に対応付けて記憶される。CPU11は形式フィールドに記憶された形式に対応するカテゴリをカテゴリフィールドに記憶する。具体的には、CPU11は形式とカテゴリとの対応関係を予め記憶した記憶部15を参照し、形式に対応するカテゴリを抽出する。例えば、CPU11は形式がGIFの場合、カテゴリ「図」を抽出する。CPU11は形式がtxtの場合、カテゴリ「文章」を抽出する。CPU11は形式がパワーポイント(登録商標)スライドの拡張子である場合、カテゴリ「PPT」を抽出する。   In the category field, the category of the object T is stored in association with the object data and format. The CPU 11 stores a category corresponding to the format stored in the format field in the category field. Specifically, the CPU 11 refers to the storage unit 15 that stores the correspondence between the format and the category in advance, and extracts the category corresponding to the format. For example, when the format is GIF, the CPU 11 extracts the category “figure”. When the format is txt, the CPU 11 extracts the category “text”. When the format is an extension of a PowerPoint (registered trademark) slide, the CPU 11 extracts the category “PPT”.

サイズフィールドには、オブジェクトのサイズがオブジェクトデータに対応付けて記憶される。例えば、容量(例えば63キロバイト)、オブジェクトTが図の場合画像領域(例えば、縦横の画素数を示す380×240)、オブジェクトTが文章の場合、文字数(例えば250文字)を記憶すればよい。   In the size field, the size of the object is stored in association with the object data. For example, the capacity (for example, 63 kilobytes), the image area (for example, 380 × 240 indicating the number of vertical and horizontal pixels) when the object T is a figure, and the number of characters (for example, 250 characters) may be stored when the object T is a sentence.

図6はオブジェクトテーブル153のレコードレイアウトを示す説明図である。オブジェクトテーブル153はオブジェクトデータフィールド、カテゴリフィールド、形式フィールド、サイズフィールド、省略データフィールド及び利用日時フィールド等を含む。CPU11はオブジェクトTの置換処理が発生した場合、置換元及び置換先のオブジェクトTに関する情報をオブジェクトテーブル153に記憶する。図6の例では置換元の文章であるオブジェクトT2(○×システム構成図)と、置換先の図であるオブジェクトT1に関する情報が記憶されている。   FIG. 6 is an explanatory diagram showing a record layout of the object table 153. The object table 153 includes an object data field, a category field, a format field, a size field, an abbreviated data field, a use date / time field, and the like. When the replacement process of the object T occurs, the CPU 11 stores information regarding the replacement source and the replacement destination object T in the object table 153. In the example of FIG. 6, information related to the object T2 (◯ × system configuration diagram) which is a replacement source sentence and the object T1 which is a replacement destination diagram is stored.

オブジェクトデータフィールドには、オブジェクトTのバイナリデータが記憶されている。カテゴリフィールド、形式フィールド及びサイズフィールドは退避テーブル152において説明したとおりであるので詳細な説明は省略する。省略データフィールドにはオブジェクトデータに対応付けてオブジェクトデータのデータ容量を減じた情報が記憶される。例えば、図の場合、サムネイルL3である。文章の場合、文章の一部、例えば、文章の先頭の数文字及び終わりの数文字とすれば良い。その他文章の場合、記憶部15に記憶した辞書ファイル内の名詞に合致する文章中のキーワード、または、先頭の数文字を省略データとしても良い。音声データの場合、一部の音声データを省略データとすればよい。パワーポイントスライドの場合、スライドのサムネイルL3を省略データとすれば良い。   In the object data field, binary data of the object T is stored. Since the category field, the format field, and the size field are as described in the save table 152, detailed description thereof is omitted. In the omitted data field, information obtained by reducing the data capacity of the object data is stored in association with the object data. For example, in the case of the figure, the thumbnail L3. In the case of a sentence, it may be a part of the sentence, for example, the first few letters and the last few letters of the sentence. In the case of other sentences, the keywords in the sentences that match the nouns in the dictionary file stored in the storage unit 15 or the first few characters may be omitted data. In the case of audio data, some audio data may be omitted data. In the case of a PowerPoint slide, the slide thumbnail L3 may be omitted data.

利用日時フィールドには置換処理が発生した際に時計部18から出力される日時がオブジェクトデータに対応付けて記憶されている。なお図6では年の記載を省略している。CPU11は置換処理が発生した場合、置換元のオブジェクトデータ、カテゴリ、形式及びサイズを退避テーブル152から読み出し、オブジェクトテーブル153に記憶する。CPU11はオブジェクトデータを参照し、省略データを生成する。CPU11は生成した省略データをオブジェクトテーブル153に記憶する。CPU11は時計部18から出力された日時をオブジェクトデータに対応付けて記憶する。   In the use date / time field, the date / time output from the clock unit 18 when the replacement process occurs is stored in association with the object data. In FIG. 6, the year is not shown. When the replacement process occurs, the CPU 11 reads the replacement source object data, category, format, and size from the save table 152 and stores them in the object table 153. The CPU 11 refers to the object data and generates abbreviated data. The CPU 11 stores the generated omitted data in the object table 153. The CPU 11 stores the date and time output from the clock unit 18 in association with the object data.

CPU11は置換先のオブジェクトデータをRAM12から読み出し、オブジェクトテーブル153に記憶する。CPU11は当該オブジェクトデータの形式、サイズをオブジェクトテーブル153に記憶する。CPU11は記憶部15を参照しオブジェクトデータに対応するカテゴリを抽出し、時計部18から出力される日時と共にオブジェクトテーブル153に記憶する。またCPU11は置換先のオブジェクトTの省略データを生成し、省略データフィールドに記憶する。   The CPU 11 reads the replacement destination object data from the RAM 12 and stores it in the object table 153. The CPU 11 stores the object data format and size in the object table 153. The CPU 11 refers to the storage unit 15 to extract a category corresponding to the object data and stores it in the object table 153 together with the date and time output from the clock unit 18. Further, the CPU 11 generates abbreviated data of the replacement object T and stores it in the abbreviated data field.

図7はリンクテーブル154のレコードレイアウトを示す説明図である。リンクテーブル154は置換元フィールド及び置換先フィールド等を含む。置換元フィールドには置換処理された際の置換元のオブジェクトデータがバイナリデータとして記憶されている。置換先フィールドには置換処理された際の置換先のオブジェクトデータがバイナリデータとして、置換元のオブジェクトデータに対応付けて記憶されている。図1の例では、置換元フィールドにオブジェクトT2「○×システム構成図」のデータが記憶され、当該データに対応付けて、置換先フィールドにオブジェクトT1の画像データが記憶される。   FIG. 7 is an explanatory diagram showing a record layout of the link table 154. The link table 154 includes a replacement source field and a replacement destination field. In the replacement source field, the replacement source object data at the time of the replacement processing is stored as binary data. In the replacement destination field, the replacement destination object data at the time of replacement processing is stored as binary data in association with the replacement source object data. In the example of FIG. 1, the data of the object T2 “Ox system configuration diagram” is stored in the replacement source field, and the image data of the object T1 is stored in the replacement destination field in association with the data.

なお、本実施形態で述べた各ファイル及びテーブルのレコードレイアウト及びデータ内容は一例でありこれに限るものではない。データ間の関係が維持されていれば、他のデータレイアウトを採用しても良い。例えば、リンクテーブル154を設けることなく、置換処理を行った際のオブジェクトデータ間の関係をオブジェクトテーブル153に記憶しても良い。また本実施形態では記憶部15に各ファイル及びテーブルを格納する例を挙げたがこれに限るものではない。RAM12または複数の記憶部に分散して格納しても良い。その他、通信網Nを介して接続される図示しないサーバコンピュータにオブジェクトテーブル153及びリンクテーブル154等を記憶しても良い。この場合、CPU11は必要に応じてサーバコンピュータへアクセスし、必要な情報の読み出し及び書き込みを行えばよい。   Note that the record layout and data contents of each file and table described in this embodiment are merely examples, and the present invention is not limited thereto. Other data layouts may be adopted as long as the relationship between data is maintained. For example, the relationship between the object data when the replacement process is performed may be stored in the object table 153 without providing the link table 154. In the present embodiment, an example of storing each file and table in the storage unit 15 has been described, but the present invention is not limited to this. The data may be distributed and stored in the RAM 12 or a plurality of storage units. In addition, the object table 153 and the link table 154 may be stored in a server computer (not shown) connected via the communication network N. In this case, the CPU 11 may access the server computer as necessary to read and write necessary information.

以上のハードウェアにおいてソフトウェア処理を、フローチャートを用いて説明する。図8及び図9は置換処理の手順を示すフローチャートである。CPU11は入力部13を通じて、オブジェクトTに対するコピー処理を受け付けたか否かを判断する(ステップS81)。CPU11はコピー処理を受け付けていないと判断した場合(ステップS81でNO)、コピー処理を受け付けるまで待機する。CPU11はコピー処理を受け付けたと判断した場合(ステップS81でYES)、ステップS82へ移行する。CPU11はRAM12に置換先のオブジェクトデータを記憶する(ステップS82)。   Software processing in the above hardware will be described using a flowchart. 8 and 9 are flowcharts showing the procedure of the replacement process. The CPU 11 determines whether a copy process for the object T has been accepted through the input unit 13 (step S81). If the CPU 11 determines that the copy process is not accepted (NO in step S81), the CPU 11 waits until the copy process is accepted. If the CPU 11 determines that the copy process has been accepted (YES in step S81), the process proceeds to step S82. The CPU 11 stores the replacement object data in the RAM 12 (step S82).

CPU11は置換元のオブジェクトの選択を受け付ける(ステップS83)。具体的には、ユーザは、置換対象のオブジェクトを、入力部13を通じて選択、または、オブジェクトTの先頭から終わりまでドラッグすることによりオブジェクトを選択する。CPU11は置換処理を受け付けたか否かを判断する(ステップS84)。具体的には、CPU11はステップS83で選択されたオブジェクトTに対し、RAM12に記憶したクリップボード内のオブジェクトTの貼り付け処理があったか否かを判断する。なお、本実施形態ではクリップボードに記憶するオブジェクトTは一つである例を挙げて説明するがこれに限るものではない。CPU11はクリップボードを複数の領域に分割し、複数のオブジェクトTの省略データを表示部14に表示しても良い。CPU11は複数のオブジェクトTから選択された一のオブジェクトTを貼り付ける。   The CPU 11 accepts selection of a replacement source object (step S83). Specifically, the user selects an object to be replaced by selecting the object to be replaced through the input unit 13 or dragging the object T from the beginning to the end. The CPU 11 determines whether a replacement process has been accepted (step S84). Specifically, the CPU 11 determines whether or not the object T in the clipboard stored in the RAM 12 has been pasted on the object T selected in step S83. In the present embodiment, an example in which there is one object T stored in the clipboard will be described. However, the present invention is not limited to this. The CPU 11 may divide the clipboard into a plurality of areas and display abbreviated data of the plurality of objects T on the display unit 14. The CPU 11 pastes one object T selected from the plurality of objects T.

CPU11は置換処理を受け付けていない場合(ステップS84でNO)、置換処理を受け付けるまで待機する。CPU11は置換処理を受け付けた場合(ステップS84でYES)、置換元のオブジェクトデータを退避テーブル152に記憶する(ステップS85)。CPU11は置換元のオブジェクトデータの形式及びサイズを退避テーブル152に記憶する(ステップS86)。CPU11は置換元のオブジェクトTのカテゴリを記憶部15から抽出し、抽出したカテゴリを退避テーブル152に記憶する(ステップS87)。   If the CPU 11 has not received the replacement process (NO in step S84), the CPU 11 waits until the replacement process is received. When the CPU 11 accepts the replacement process (YES in step S84), the CPU 11 stores the replacement source object data in the save table 152 (step S85). The CPU 11 stores the format and size of the replacement source object data in the save table 152 (step S86). The CPU 11 extracts the category of the replacement source object T from the storage unit 15, and stores the extracted category in the save table 152 (step S87).

CPU11は置換先のオブジェクトデータをRAM12から読み出し、オブジェクトテーブル153に記憶する(ステップS88)。CPU11は置換先のオブジェクトデータの形式及びサイズをオブジェクトテーブル153に記憶する(ステップS89)。CPU11は置換先のオブジェクトTのカテゴリを記憶部15から抽出し、抽出したカテゴリをオブジェクトテーブル153に記憶する(ステップS91)。CPU11は置換先のオブジェクトTの省略データを生成する(ステップS92)。例えばCPU11はオブジェクトTが画像である場合、当該画像のサムネイルL3を生成する。また文章の場合、CPU11は、文章から記憶部15に予め記憶した箇所(例えば、先頭100文字、文章の終わり100文字)について文章を抽出し省略データを生成する。またオブジェクトTがプレゼンテーション用スライドである場合、CPU11はスライドのサムネイルL3を生成する。なお、CPU11はプレゼンテーションアプリケーションAが既にサムネイルL3を生成している場合、生成済みのサムネイルL3を取得しても良い。CPU11は生成した置換先のオブジェクトTの省略データをオブジェクトテーブル153に記憶する(ステップS93)。   The CPU 11 reads out the replacement destination object data from the RAM 12 and stores it in the object table 153 (step S88). The CPU 11 stores the format and size of the replacement destination object data in the object table 153 (step S89). The CPU 11 extracts the category of the replacement object T from the storage unit 15, and stores the extracted category in the object table 153 (step S91). The CPU 11 generates abbreviated data for the replacement target object T (step S92). For example, when the object T is an image, the CPU 11 generates a thumbnail L3 of the image. Further, in the case of a sentence, the CPU 11 extracts a sentence from a sentence for a part (for example, the first 100 characters at the beginning and the last 100 characters at the end of the sentence) stored in the storage unit 15 to generate omitted data. If the object T is a presentation slide, the CPU 11 generates a slide thumbnail L3. Note that when the presentation application A has already generated the thumbnail L3, the CPU 11 may acquire the generated thumbnail L3. The CPU 11 stores the generated omitted data of the replacement destination object T in the object table 153 (step S93).

CPU11は置換元のオブジェクトデータ、カテゴリ、形式、サイズを退避テーブル152から読み出し、オブジェクトテーブル153に記憶する(ステップS94)。CPU11は置換元のオブジェクトTの省略データを生成する(ステップS95)。なお、本実施形態においては省略データを生成する形態としたが、省略データの生成に代えてカテゴリまたは形式に対応するアイコンを表示しても良い。例えば、オブジェクトTがパワーポイントスライドの場合、パワーポイントを起動する際に用いるアイコンを記憶しても良い。またオブジェクトTが音声データの場合、音声データであることを視認できるアイコン(例えば音符マークのアイコン)を記憶、動画データである場合動画データであることを視認できるアイコン(例えば、映画のフィルムマークのアイコン)を記憶しても良い。   The CPU 11 reads the replacement source object data, category, format, and size from the save table 152 and stores them in the object table 153 (step S94). The CPU 11 generates abbreviated data of the replacement source object T (step S95). In the present embodiment, the omitted data is generated. However, instead of generating the omitted data, icons corresponding to categories or formats may be displayed. For example, when the object T is a power point slide, an icon used when starting the power point may be stored. If the object T is audio data, an icon that can be visually recognized as audio data (for example, a musical note mark icon) is stored, and if it is video data, an icon that can be visually recognized as video data (for example, a movie film mark) Icon) may be stored.

CPU11は置換元のオブジェクトTの省略データをオブジェクトテーブル153に記憶する(ステップS96)。CPU11はステップS84における置換処理時に時計部18から出力される日時を利用日時として、置換元のオブジェクトデータ及び置換先のオブジェクトデータに対応付けて、オブジェクトテーブル153に記憶する(ステップS97)。CPU11はステップS88において記憶する置換先のオブジェクトデータと、ステップS94で記憶する置換元のオブジェクトデータとを関連付けてリンクテーブル154に記憶する(ステップS98)。なお、本実施形態では置換元のオブジェクトデータ及び当該データに関連するデータを退避テーブル152に一旦記憶する例を示したがこれに限るものではない。退避テーブル152に記憶することなく、直接オブジェクトテーブル153に記憶しても良い。   The CPU 11 stores the omitted data of the replacement source object T in the object table 153 (step S96). The CPU 11 stores the date and time output from the clock unit 18 during the replacement process in step S84 as the use date and time in the object table 153 in association with the replacement source object data and the replacement destination object data (step S97). The CPU 11 stores the replacement destination object data stored in step S88 and the replacement source object data stored in step S94 in association with each other in the link table 154 (step S98). In the present embodiment, an example in which replacement source object data and data related to the data are temporarily stored in the save table 152 has been described, but the present invention is not limited to this. Instead of storing in the evacuation table 152, it may be stored directly in the object table 153.

図10及び図11は置換処理の手順を示すフローチャートである。CPU11は入力部13を介して、文字入力を受け付けたか否かを判断する(ステップS101)。CPU11は文字入力を受け付けていないと判断した場合(ステップS101でNO)、文字入力を受け付けるまで待機する。CPU11は文字入力を受け付けたと判断した場合(ステップS101でYES)、文例ファイル151を参照し、候補となる文例を抽出する(ステップS102)。CPU11は文例候補L1を図2に示すように表示部14に表示する(ステップS103)。CPU11は文例候補L1に対応する置換元のオブジェクトデータがリンクテーブル154に存在するか否かを判断する(ステップS104)。具体的には、CPU11は置換元である各文例候補L1のバイナリデータを用いて、リンクテーブル154を検索し、対応する置換元のバイナリデータが存在するか否かを判断する。   10 and 11 are flowcharts showing the procedure of the replacement process. The CPU 11 determines whether or not a character input has been accepted via the input unit 13 (step S101). If the CPU 11 determines that no character input is accepted (NO in step S101), the CPU 11 waits until a character input is accepted. If the CPU 11 determines that a character input has been accepted (YES in step S101), the CPU 11 refers to the sentence example file 151 and extracts candidate sentence examples (step S102). The CPU 11 displays the sentence example candidate L1 on the display unit 14 as shown in FIG. 2 (step S103). The CPU 11 determines whether or not the replacement source object data corresponding to the sentence example candidate L1 exists in the link table 154 (step S104). Specifically, the CPU 11 searches the link table 154 using the binary data of each sentence example candidate L1 that is the replacement source, and determines whether or not the corresponding binary data of the replacement source exists.

CPU11は置換元のオブジェクトデータが存在しないと判断した場合(ステップS104でNO)、ステップS105へ移行する。CPU11は入力部13を通じて文例候補L1から一の文例候補L1の選択を受け付ける(ステップS105)。CPU11は選択された文例を入力し、表示部14に表示する(ステップS106)。CPU11は置換元の文例候補L1に対応する置換元のオブジェクトデータが存在すると判断した場合(ステップS104でYES)、ステップS107へ移行する。CPU11は存在すると判断した文例候補L1の近傍にアイコンを表示する(ステップS107)。なお、本実施形態では「★」印のアイコンを示す例を挙げたがこれに限るものではない。例えば、存在すると判断した文例候補L1を反転処理する、着色処理する、フォントサイズを変更する等、置換先のオブジェクトデータが存在しない他の文例候補L1とは識別できる形態で表示部14に表示すればよい。   If the CPU 11 determines that there is no replacement source object data (NO in step S104), the process proceeds to step S105. The CPU 11 accepts selection of one sentence example candidate L1 from the sentence example candidates L1 through the input unit 13 (step S105). The CPU 11 inputs the selected sentence example and displays it on the display unit 14 (step S106). If the CPU 11 determines that the replacement source object data corresponding to the replacement source sentence example L1 exists (YES in step S104), the process proceeds to step S107. The CPU 11 displays an icon in the vicinity of the sentence example candidate L1 determined to exist (step S107). In the present embodiment, an example showing an icon marked with “★” is given, but the present invention is not limited to this. For example, the sentence example candidate L1 determined to exist is displayed on the display unit 14 in a form that can be distinguished from other sentence example candidates L1 that do not have the replacement target object data, such as reverse processing, coloring processing, and changing the font size. That's fine.

CPU11は置換先のオブジェクトデータを参照し、対応する置換先のオブジェクトTのカテゴリ、形式、サイズ及び利用日時をオブジェクトテーブル153から抽出する(ステップS108)。CPU11は置換先のオブジェクトTのカテゴリ、形式、サイズ及び利用日時をリンク欄L2上に表示する(ステップS109)。図2Aに示すように、文例候補L1近傍に、リンク欄L2が表示される。さらに、CPU11は置換先のオブジェクトデータを参照し、対応する置換先のオブジェクトTのサムネイルL3をオブジェクトテーブル153の省略データフィールドから抽出する(ステップS111)。CPU11は置換先のオブジェクトTのサムネイルL3を、表示部14に表示する(ステップS112)。なお、本実施形態では、文例候補L1に対応する置換先のオブジェクトTが存在すれば、リンク欄L2及びサムネイルL3を表示する例を挙げて説明するがこれに限るものではない。入力部13を通じてポインタが置換先のオブジェクトTが存在する文例候補L1上に重畳した場合に、リンク欄L2及びサムネイルL3を表示部14に表示するようにしても良い。   The CPU 11 refers to the replacement destination object data, and extracts the category, format, size, and use date / time of the corresponding replacement destination object T from the object table 153 (step S108). The CPU 11 displays the category, format, size, and use date / time of the replacement target object T on the link field L2 (step S109). As shown in FIG. 2A, a link column L2 is displayed in the vicinity of the sentence example candidate L1. Further, the CPU 11 refers to the replacement destination object data, and extracts the thumbnail L3 of the corresponding replacement destination object T from the omitted data field of the object table 153 (step S111). The CPU 11 displays the thumbnail L3 of the replacement target object T on the display unit 14 (step S112). In this embodiment, an example in which the link field L2 and the thumbnail L3 are displayed if there is a replacement target object T corresponding to the sentence example candidate L1 will be described, but the present invention is not limited to this. When the pointer is superimposed on the sentence example candidate L1 where the replacement target object T exists through the input unit 13, the link field L2 and the thumbnail L3 may be displayed on the display unit 14.

図2Aに示すように、文例候補L1近傍に、サムネイルL3が表示される。なお、本実施形態では置換先のオブジェクトTのカテゴリ、形式、サイズ、利用日時及びサムネイルL3の全てを表示したが、いずれか一つまたはこれらの組み合わせであっても良い。また本実施形態ではサムネイルL3を表示する例を挙げたが、省略データとして文章データの一部を表示しても良い。また動画データの場合、CPU11は動画再生アプリケーションAを起動し、サムネイルL3と同様のサイズにて動画の一部分を再生しても良い。CPU11は音声データの場合、音声再生アプリケーションAを起動し、図示しないスピーカから音声データの一部を出力しても良い。   As shown in FIG. 2A, a thumbnail L3 is displayed near the sentence example candidate L1. In the present embodiment, the category, format, size, use date and time, and thumbnail L3 of the replacement target object T are all displayed, but any one or a combination thereof may be used. Moreover, although the example which displays the thumbnail L3 was given in this embodiment, you may display a part of text data as abbreviated data. In the case of moving image data, the CPU 11 may activate the moving image reproduction application A and reproduce a portion of the moving image with the same size as the thumbnail L3. In the case of audio data, the CPU 11 may activate the audio reproduction application A and output a part of the audio data from a speaker (not shown).

CPU11はリンク欄L2またはサムネイルL3のいずれかの選択を受け付けたか否かを判断する(ステップS113)。CPU11はリンク欄L2またはサムネイルL3の選択を受け付けていないと判断した場合(ステップS113でNO)、ステップS114へ移行する。CPU11は文例候補L1の選択を受け付けたか否かを判断する(ステップS114)。CPU11は文例候補L1の選択を受け付けていないと判断した場合(ステップS114でNO)、処理をステップS113へ戻す。CPU11は文例候補L1の選択を受け付けたと判断した場合(ステップS114でYES)、文例候補L1を表示部14から消去する(ステップS115)。CPU11は代わりに選択された文例をアプリケーションAに入力し、入力された文例を表示部14に表示する(ステップS116)。   The CPU 11 determines whether selection of either the link field L2 or the thumbnail L3 has been received (step S113). If the CPU 11 determines that the selection of the link field L2 or the thumbnail L3 has not been accepted (NO in step S113), the process proceeds to step S114. CPU11 judges whether selection of sentence example candidate L1 was received (Step S114). If the CPU 11 determines that selection of the sentence example candidate L1 has not been received (NO in step S114), the process returns to step S113. If the CPU 11 determines that the selection of the sentence example candidate L1 has been received (YES in step S114), the CPU 11 deletes the sentence example candidate L1 from the display unit 14 (step S115). Instead, the CPU 11 inputs the selected sentence example to the application A, and displays the input sentence example on the display unit 14 (step S116).

CPU11はリンク欄L2またはサムネイルL3の選択を受け付けたと判断した場合(ステップS113でYES)、処理をステップS117へ移行させる。CPU11は選択された文例候補L1に対応する置換先のオブジェクトデータを、オブジェクトテーブル153またはリンクテーブル154から抽出する(ステップS117)。CPU11は文例候補L1を表示部14から消去する。CPU11は入力文字を置換先のオブジェクトデータに置換する(ステップS118)。CPU11は置換先のオブジェクトデータを表示部14に表示する(ステップS119)。CPU11は日時を時計部18から取得する(ステップS1110)。CPU11はオブジェクトテーブル153を参照し、置換先のオブジェクトデータの利用日時を更新する(ステップS1111)。なお、本実施形態においてはリンク欄L2またはサムネイルL3を選択した場合に、ステップS117へ移行する例を挙げたがこれに限るものではない。置換先のオブジェクトTが存在する文例候補L1が選択された場合も、置換元の文字データを入力するのではなく、ステップS117へ移行し、置換先のオブジェクトTへ置換する処理を実行しても良い。   If the CPU 11 determines that the selection of the link field L2 or the thumbnail L3 has been received (YES in step S113), the process proceeds to step S117. The CPU 11 extracts the replacement destination object data corresponding to the selected sentence example candidate L1 from the object table 153 or the link table 154 (step S117). The CPU 11 deletes the sentence example candidate L1 from the display unit 14. The CPU 11 replaces the input character with the replacement destination object data (step S118). The CPU 11 displays the replacement object data on the display unit 14 (step S119). The CPU 11 acquires the date and time from the clock unit 18 (step S1110). The CPU 11 refers to the object table 153 and updates the use date and time of the replacement destination object data (step S1111). In the present embodiment, an example has been described in which the process proceeds to step S117 when the link field L2 or the thumbnail L3 is selected. However, the present invention is not limited to this. Even when the sentence example candidate L1 in which the replacement target object T exists is selected, instead of inputting the replacement source character data, the process may proceed to step S117 to execute the replacement processing to the replacement target object T. good.

図12及び図13は置換処理の手順を示すフローチャートである。文例候補L1を表示する以外に、オブジェクトTを選択する形態であっても良い。CPU11は表示部14に表示されたオブジェクトTの選択を、入力部13を介して受け付けたか否かを判断する(ステップS121)。具体的には、CPU11は入力部13によるドラッグ操作によりテキストが選択されたか否かを判断する。その他、CPU11は入力部13による右クリック後の選択処理を受け付けたか否かを判断する。   12 and 13 are flowcharts showing the procedure of the replacement process. In addition to displaying the sentence example candidate L1, the object T may be selected. The CPU 11 determines whether or not the selection of the object T displayed on the display unit 14 has been received via the input unit 13 (step S121). Specifically, the CPU 11 determines whether a text is selected by a drag operation by the input unit 13. In addition, the CPU 11 determines whether a selection process after a right click by the input unit 13 has been received.

図14は置換処理のイメージを示す説明図である。図14Aは、すでに入力済みの「○×システム構成図」がドラッグ処理により選択されていることを示す。CPU11はオブジェクトTの選択を受け付けていないと判断した場合(ステップS121でNO)、受け付けるまで待機する。CPU11はオブジェクトTの選択を受け付けたと判断した場合(ステップS121でYES)、処理をステップS122へ移行させる。CPU11は選択した置換元のオブジェクトデータに対応するオブジェクトデータが、リンクテーブル154に存在するか否か判断する(ステップS122)。   FIG. 14 is an explanatory diagram showing an image of replacement processing. FIG. 14A shows that “Ox system configuration diagram” already input is selected by the drag process. If the CPU 11 determines that the selection of the object T has not been accepted (NO in step S121), the CPU 11 waits until it is accepted. If the CPU 11 determines that selection of the object T has been received (YES in step S121), the process proceeds to step S122. The CPU 11 determines whether or not object data corresponding to the selected replacement source object data exists in the link table 154 (step S122).

CPU11は置換元のオブジェクトデータに対応するオブジェクトデータが存在しないと判断した場合(ステップS122でNO)、処理を終了する。CPU11は置換元のオブジェクトデータに対応するオブジェクトデータが存在すると判断した場合(ステップS122でYES)、置換先のオブジェクトTのカテゴリ、形式、サイズ及び利用日時を抽出する(ステップS123)。CPU11は置換先のオブジェクトTのサムネイルL3または省略データを抽出する(ステップS124)。具体的には、CPU11は置換元のオブジェクトデータに対応する置換先のオブジェクトデータをリンクテーブル154から抽出する。CPU11は抽出したオブジェクトデータに対応する、カテゴリ、形式、サイズ、利用日時及び省略データを抽出する。以下ではサムネイルL3以外の省略データを、文字を一部省略した一部文字データL4とする。CPU11は置換元のオブジェクトTに対応する置換先のオブジェクトTが複数存在するか否かを判断する(ステップS125)。本実施形態では複数存在するものとして説明する。   If the CPU 11 determines that there is no object data corresponding to the replacement source object data (NO in step S122), the process ends. If the CPU 11 determines that there is object data corresponding to the replacement source object data (YES in step S122), the CPU 11 extracts the category, format, size, and use date / time of the replacement target object T (step S123). The CPU 11 extracts the thumbnail L3 or omitted data of the replacement object T (step S124). Specifically, the CPU 11 extracts the replacement destination object data corresponding to the replacement source object data from the link table 154. The CPU 11 extracts the category, format, size, use date / time, and omitted data corresponding to the extracted object data. In the following, the omitted data other than the thumbnail L3 is referred to as partial character data L4 in which some characters are omitted. The CPU 11 determines whether or not there are a plurality of replacement destination objects T corresponding to the replacement source object T (step S125). In the present embodiment, a description will be given assuming that there are a plurality.

CPU11は複数存在すると判断した場合(ステップS125でYES)、全ての置換先のオブジェクトTに対する抽出処理が終了したか否かを判断する(ステップS126)。CPU11は全ての置換先のオブジェクトTに対する抽出処理が終了していないと判断した場合(ステップS126でNO)、処理をステップS123へ移行させる。CPU11は抽出処理を終えていない置換先のオブジェクトTについて同様の処理を実行する。これにより、過去に「○×システム構成図」について置換したオブジェクトTに対する抽出処理が繰り返し行われる。CPU11は置換先のオブジェクトTは複数存在しないと判断した場合(ステップS125でNO)、処理をステップS127に移行させる。CPU11は全ての置換先のオブジェクトTに対する処理を終了したと判断した場合(ステップS126でYES)、処理をステップS127へ移行させる。   If it is determined that there are a plurality of CPUs 11 (YES in step S125), the CPU 11 determines whether extraction processing for all replacement destination objects T has been completed (step S126). If the CPU 11 determines that the extraction process for all the replacement target objects T has not been completed (NO in step S126), the process proceeds to step S123. The CPU 11 executes the same process for the replacement destination object T that has not finished the extraction process. As a result, the extraction process for the object T that has been replaced in the past with respect to “Ox system configuration diagram” is repeatedly performed. If the CPU 11 determines that there are not a plurality of replacement destination objects T (NO in step S125), the process proceeds to step S127. If the CPU 11 determines that the processing for all the replacement destination objects T has been completed (YES in step S126), the process proceeds to step S127.

CPU11はリンク欄L2に置換先のオブジェクトTのカテゴリ、形式、サイズ、利用日時を、利用日時順にソートした上で、表示部14に表示する(ステップS127)。CPU11は対応する各オブジェクトTのリンク欄L2近傍に、サムネイルL3または一部文字データL4を表示する(ステップS128)。図14の例では、利用日時が新しい図のリンク欄L2が、利用日時の古い文のリンク欄L2よりも上側に表示されている。図のリンク欄L2近傍には、当該リンク欄L2に対応付けてサムネイルL3が表示されている。文のリンク欄L2近傍には当該リンク欄L2に対応付けて一部文字データL4が表示されている。図14Aに示すように、一部文字データL4は全81文字のうちの一部「今回作成した○×システム・・予定です。」が表示される。   The CPU 11 sorts the category, format, size, and usage date / time of the replacement target object T in the link column L2 in order of usage date and displays them on the display unit 14 (step S127). The CPU 11 displays the thumbnail L3 or the partial character data L4 in the vicinity of the link column L2 of each corresponding object T (step S128). In the example of FIG. 14, the link column L2 of the diagram with the new usage date and time is displayed above the link column L2 of the sentence with the old usage date and time. In the vicinity of the link column L2 in the figure, a thumbnail L3 is displayed in association with the link column L2. In the vicinity of the link column L2 of the sentence, partial character data L4 is displayed in association with the link column L2. As shown in FIG. 14A, the partial character data L4 displays a part of all 81 characters “A system created this time.

CPU11はリンク欄L2、サムネイルL3または一部文字データL4の選択を、入力部13から受け付けたか否かを判断する(ステップS129)。CPU11は受け付けていないと判断した場合(ステップS129でNO)、受け付けるまで待機する。CPU11はリンク欄L2、サムネイルL3または一部文字データL4の選択を受け付けた場合(ステップS129でYES)、対応する置換先のオブジェクトデータを、オブジェクトテーブル153から抽出する(ステップS130)。具体的には、CPU11は図に係るリンク欄L2またはサムネイルL3が選択された場合、当該図に係るオブジェクトデータをオブジェクトテーブル153から抽出する。またCPU11は文に係るリンク欄L2または一部文字データL4が選択された場合、当該文に係るオブジェクトデータをオブジェクトテーブル153から抽出する。   The CPU 11 determines whether selection of the link field L2, thumbnail L3, or partial character data L4 has been received from the input unit 13 (step S129). If the CPU 11 determines that it has not been accepted (NO in step S129), it waits until it is accepted. When the CPU 11 accepts selection of the link field L2, thumbnail L3, or partial character data L4 (YES in step S129), the CPU 11 extracts the corresponding replacement destination object data from the object table 153 (step S130). Specifically, when the link field L2 or the thumbnail L3 shown in the figure is selected, the CPU 11 extracts the object data shown in the figure from the object table 153. When the link column L2 or partial character data L4 related to the sentence is selected, the CPU 11 extracts object data related to the sentence from the object table 153.

CPU11はステップS121で選択された選択文字を、抽出した置換先のオブジェクトデータに置換する(ステップS131)。CPU11は置換先のオブジェクトデータを表示部14に表示する(ステップS132)。図14Bの例は、図のリンク欄L2またはサムネイルL3が選択され、選択文字「○×システム構成図」からオブジェクトT2に置換されたことを示している。CPU11は日時を時計部18から取得する(ステップS133)。CPU11はオブジェクトテーブル153を参照し、置換先のオブジェクトデータの利用日時を更新する(ステップS134)。これにより、ユーザの使用実績に基づいた置換処理が可能となる。   The CPU 11 replaces the selected character selected in step S121 with the extracted replacement object data (step S131). The CPU 11 displays the replacement destination object data on the display unit 14 (step S132). The example of FIG. 14B shows that the link column L2 or the thumbnail L3 in the figure has been selected and replaced with the object T2 from the selected character “◯ × system configuration diagram”. The CPU 11 acquires the date and time from the clock unit 18 (step S133). The CPU 11 refers to the object table 153 and updates the use date and time of the replacement destination object data (step S134). Thereby, the replacement process based on the usage record of the user can be performed.

実施の形態2
実施の形態2はハッシュ値を用いて置換元及び置換先のオブジェクトTを関連付ける形態に関する。図15は実施の形態2に係るオブジェクトテーブル153のレコードレイアウトを示す説明図である。新にハッシュ値フィールドが設けられている。CPU11は置換処理の際、記憶部15に記憶したハッシュ関数に基づき、置換元のオブジェクトTのハッシュ値及び置換先のオブジェクトTのハッシュ値を算出する。CPU11はオブジェクトデータに対応付けて算出したハッシュ値をハッシュ値フィールドに記憶する。
Embodiment 2
The second embodiment relates to a form in which a replacement source and a replacement destination object T are associated using a hash value. FIG. 15 is an explanatory diagram showing a record layout of the object table 153 according to the second embodiment. A new hash value field is provided. During the replacement process, the CPU 11 calculates a hash value of the replacement source object T and a replacement destination object T based on the hash function stored in the storage unit 15. The CPU 11 stores the hash value calculated in association with the object data in the hash value field.

図16は実施の形態2に係るリンクテーブル154のレコードレイアウトを示す説明図である。実施の形態1ではオブジェクトデータを記憶していたが実施の形態2ではオブジェクトTのハッシュ値を記憶する。CPU11は置換処理の際、置換元のオブジェクトTのハッシュ値を置換元ハッシュ値フィールドに記憶する。さらにCPU11は置換先のオブジェクトTのハッシュ値に関連付けて、置換先のオブジェクトTのハッシュ値を、置換先ハッシュ値フィールドに記憶する。図16の例では、置換元のテキストデータである「○×システム構成図」のハッシュ値「1212」と、置換先の画像のハッシュ値「16AF」とが関連付けて記憶されている。   FIG. 16 is an explanatory diagram showing a record layout of the link table 154 according to the second embodiment. Although the object data is stored in the first embodiment, the hash value of the object T is stored in the second embodiment. During the replacement process, the CPU 11 stores the hash value of the replacement source object T in the replacement source hash value field. Further, the CPU 11 stores the hash value of the replacement destination object T in the replacement destination hash value field in association with the hash value of the replacement destination object T. In the example of FIG. 16, the hash value “1212” of “◯ × system configuration diagram” that is the text data of the replacement source and the hash value “16AF” of the replacement destination image are stored in association with each other.

図17乃至図19は置換処理の手順を示すフローチャートである。CPU11は入力部13を通じて、オブジェクトTに対するコピー処理を受け付けたか否かを判断する(ステップS171)。CPU11はコピー処理を受け付けていないと判断した場合(ステップS171でNO)、コピー処理を受け付けるまで待機する。CPU11はコピー処理を受け付けたと判断した場合(ステップS171でYES)、ステップS172へ移行する。CPU11はRAM12に置換先のオブジェクトデータを記憶する(ステップS172)。   17 to 19 are flowcharts showing the procedure of the replacement process. The CPU 11 determines whether a copy process for the object T has been accepted through the input unit 13 (step S171). If the CPU 11 determines that the copy process is not accepted (NO in step S171), the CPU 11 waits until the copy process is accepted. If the CPU 11 determines that the copy process has been accepted (YES in step S171), the process proceeds to step S172. The CPU 11 stores the replacement object data in the RAM 12 (step S172).

CPU11は置換元のオブジェクトTの選択を受け付ける(ステップS173)。CPU11は置換処理を受け付けたか否かを判断する(ステップS174)。CPU11は置換処理を受け付けていない場合(ステップS174でNO)、置換処理を受け付けるまで待機する。CPU11は置換処理を受け付けた場合(ステップS174でYES)、置換元のオブジェクトデータを退避テーブル152に記憶する(ステップS175)。CPU11は置換元のオブジェクトデータの形式及びサイズを退避テーブル152に記憶する(ステップS176)。CPU11は置換元のオブジェクトTのカテゴリを記憶部15から抽出し、抽出したカテゴリを退避テーブル152に記憶する(ステップS177)。   The CPU 11 accepts selection of the replacement source object T (step S173). The CPU 11 determines whether a replacement process has been accepted (step S174). If the CPU 11 has not received a replacement process (NO in step S174), the CPU 11 waits until a replacement process is received. When the CPU 11 receives the replacement process (YES in step S174), the CPU 11 stores the replacement source object data in the save table 152 (step S175). The CPU 11 stores the format and size of the replacement source object data in the save table 152 (step S176). The CPU 11 extracts the category of the replacement source object T from the storage unit 15, and stores the extracted category in the save table 152 (step S177).

CPU11は置換先のオブジェクトデータをRAM12から読み出す(ステップS178)。CPU11は記憶部15に予め記憶または制御プログラム15Pに予め記述されたハッシュ関数を読み出す。CPU11は読み出したハッシュ関数に基づき、置換先のオブジェクトデータのハッシュ値を算出する(ステップS179)。CPU11は置換先のオブジェクトデータのハッシュ値が既に、オブジェクトテーブル153に記憶されているか否かを判断する(ステップS181)。   The CPU 11 reads the replacement object data from the RAM 12 (step S178). The CPU 11 reads a hash function stored in advance in the storage unit 15 or described in advance in the control program 15P. The CPU 11 calculates a hash value of the replacement object data based on the read hash function (step S179). The CPU 11 determines whether or not the hash value of the replacement destination object data is already stored in the object table 153 (step S181).

CPU11は記憶されていないと判断した場合(ステップS181でNO)、置換先のオブジェクトデータ、ハッシュ値をオブジェクトテーブル153に記憶する(ステップS182)。CPU11は、ハッシュ値に対応付けて置換先のオブジェクトTの形式及びサイズをオブジェクトテーブル153に記憶する(ステップS183)。CPU11は置換先のオブジェクトTのカテゴリを記憶部15から抽出し、抽出したカテゴリを、ハッシュ値に対応付けてオブジェクトテーブル153に記憶する(ステップS184)。CPU11は置換先のオブジェクトTの省略データを生成する(ステップS185)。CPU11は生成した置換先のオブジェクトTの省略データを、ハッシュ値に対応付けてオブジェクトテーブル153に記憶する(ステップS186)。   If the CPU 11 determines that it is not stored (NO in step S181), it stores the replacement destination object data and hash value in the object table 153 (step S182). The CPU 11 stores the format and size of the replacement object T in the object table 153 in association with the hash value (step S183). The CPU 11 extracts the category of the replacement target object T from the storage unit 15, and stores the extracted category in the object table 153 in association with the hash value (step S184). The CPU 11 generates abbreviated data for the replacement object T (step S185). The CPU 11 stores the generated omitted data of the replacement destination object T in the object table 153 in association with the hash value (step S186).

その後処理をステップS187へ移行させる。CPU11は置換先のオブジェクトデータのハッシュ値が既に記憶されていると判断した場合(ステップS181でYES)、処理をステップS187へ移行させる。CPU11は置換先のオブジェクトTのハッシュ値に対応付けて時計部18から出力される日時を記憶する(ステップS187)。これにより、置換先のオブジェクトTに関する各種データがハッシュ値に対応付けて記憶されることとなる。CPU11は置換元のオブジェクトデータを退避テーブル152から読み出す(ステップS188)。   Thereafter, the process proceeds to step S187. If the CPU 11 determines that the hash value of the replacement object data has already been stored (YES in step S181), the process proceeds to step S187. The CPU 11 stores the date and time output from the clock unit 18 in association with the hash value of the replacement target object T (step S187). As a result, various data related to the replacement target object T are stored in association with the hash value. The CPU 11 reads the replacement source object data from the save table 152 (step S188).

CPU11は読み出したハッシュ関数に基づき、置換元のオブジェクトデータのハッシュ値を算出する(ステップS189)。CPU11は置換元のオブジェクトデータのハッシュ値が既にオブジェクトテーブル153に記憶されているか否か判断する(ステップS191)。CPU11は記憶されていないと判断した場合(ステップS191でNO)、置換元のオブジェクトデータのカテゴリ、形式、サイズを退避テーブル152から読み出す(ステップS192)。   The CPU 11 calculates a hash value of the replacement source object data based on the read hash function (step S189). The CPU 11 determines whether or not the hash value of the replacement source object data is already stored in the object table 153 (step S191). If the CPU 11 determines that it is not stored (NO in step S191), it reads out the category, format, and size of the replacement source object data from the save table 152 (step S192).

CPU11は置換元のオブジェクトTの省略データを生成する(ステップS193)。CPU11は置換元のオブジェクトデータ、ハッシュ値、カテゴリ、形式、サイズ及び省略データをオブジェクトテーブル153に対応付けて記憶する(ステップS194)。なお、本実施形態では、ハッシュ値に対応付けてカテゴリ、形式、サイズ及び省略データの全てを記憶する例を挙げたがこれに限るものではない。ハッシュ値及びオブジェクトデータに対応付けて、カテゴリ、形式、サイズまたは省略データのいずれか一つ、または、これらのいずれかの組み合わせであっても良い。その後処理をステップS195へ移行させる。   The CPU 11 generates abbreviated data of the replacement source object T (step S193). The CPU 11 stores the replacement source object data, hash value, category, format, size, and omitted data in association with the object table 153 (step S194). In the present embodiment, an example in which all of the category, format, size, and omitted data are stored in association with the hash value has been described. However, the present invention is not limited to this. In association with the hash value and the object data, any one of the category, the format, the size, the omitted data, or any combination thereof may be used. Thereafter, the process proceeds to step S195.

CPU11は置換元のオブジェクトデータのハッシュ値が既に記憶されていると判断した場合(ステップS191でYES)、処理をステップS195へ移行させる。CPU11は置換先のオブジェクトTのハッシュ値に対応付けて日時を記憶する(ステップS195)。なお、CPU11はステップS174における置換処理時に時計部18から出力される日時を利用日時として、オブジェクトテーブル153に記憶すればよい。なお、既にハッシュ値が記憶されており過去に置換した際の日時が記憶されている場合は、今回置換した際の日時に更新する。なお、本実施形態では置換処理時の日時としたが、多少の時間帯は前後しても良い。   If the CPU 11 determines that the hash value of the replacement source object data has already been stored (YES in step S191), the process proceeds to step S195. The CPU 11 stores the date and time in association with the hash value of the replacement target object T (step S195). Note that the CPU 11 may store the date and time output from the clock unit 18 during the replacement process in step S174 in the object table 153 as the usage date and time. If the hash value has already been stored and the date and time when it was replaced in the past is stored, it is updated to the date and time when it was replaced this time. In the present embodiment, the date and time at the time of replacement processing are used, but some time zones may be mixed.

CPU11はステップS179で算出した置換先のオブジェクトデータのハッシュ値と、ステップS189で算出した置換元のオブジェクトデータのハッシュ値との組み合わせがリンクテーブル154に記憶されているか否かを判断する(ステップS196)。CPU11は組み合わせが登録されていると判断した場合(ステップS196でYES)、処理を終了する。一方、CPU11は組み合わせが登録されていないと判断した場合(ステップS196でNO)、ステップS197へ移行する。   The CPU 11 determines whether or not the combination of the hash value of the replacement destination object data calculated in step S179 and the hash value of the replacement source object data calculated in step S189 is stored in the link table 154 (step S196). ). If the CPU 11 determines that the combination is registered (YES in step S196), the process ends. On the other hand, when the CPU 11 determines that no combination is registered (NO in step S196), the process proceeds to step S197.

CPU11はリンクテーブル154に置換元のオブジェクトTのハッシュ値と、置換先のオブジェクトTのハッシュ値との組み合わせをリンクテーブル154に記憶する(ステップS197)。これにより、置換処理が発生する度に、置換先及び置換元のハッシュ値の組み合わせが図16の如く蓄積されることになる。   The CPU 11 stores the combination of the hash value of the replacement source object T and the hash value of the replacement destination object T in the link table 154 (step S197). Thus, each time a replacement process occurs, a combination of a replacement destination and a replacement source hash value is accumulated as shown in FIG.

図20乃至図22は置換処理の手順を示すフローチャートである。CPU11は入力部13を介して、文字入力を受け付けたか否かを判断する(ステップS201)。CPU11は文字入力を受け付けていないと判断した場合(ステップS201でNO)、文字入力を受け付けるまで待機する。CPU11は文字入力を受け付けたと判断した場合(ステップS201でYES)、文例ファイル151を参照し、候補となる文例を抽出する(ステップS202)。CPU11は文例候補L1を図7に示すように表示部14に表示する(ステップS203)。CPU11は文例候補L1のハッシュ値を算出する(ステップS204)。   20 to 22 are flowcharts showing the procedure of the replacement process. CPU11 judges whether the character input was received via the input part 13 (step S201). If the CPU 11 determines that no character input is accepted (NO in step S201), the CPU 11 waits until a character input is accepted. If the CPU 11 determines that a character input has been received (YES in step S201), the CPU 11 refers to the sentence example file 151 and extracts candidate sentence examples (step S202). The CPU 11 displays the sentence example candidate L1 on the display unit 14 as shown in FIG. 7 (step S203). The CPU 11 calculates a hash value of the sentence example candidate L1 (step S204).

CPU11は全ての文例候補L1のハッシュ値を算出したか否かを判断する(ステップS205)。CPU11は全ての文例候補L1のハッシュ値を算出していないと判断した場合(ステップS205でNO)、処理をステップS204へ戻す。これにより複数の全ての文例候補L1のハッシュ値が算出される。CPU11は全ての文例候補L1のハッシュ値を算出したと判断した場合(ステップS205でYES)、処理をステップS206へ移行させる。   CPU11 judges whether the hash value of all the sentence example candidates L1 was calculated (step S205). If the CPU 11 determines that the hash values of all the sentence example candidates L1 have not been calculated (NO in step S205), the process returns to step S204. As a result, hash values of all the plurality of sentence example candidates L1 are calculated. If the CPU 11 determines that the hash values of all the sentence example candidates L1 have been calculated (YES in step S205), the process proceeds to step S206.

CPU11は各文例候補L1のハッシュ値に対応する置換元のハッシュ値がリンクテーブル154に存在するか否かを判断する(ステップS206)。具体的には、CPU11は置換元である各文例候補L1のハッシュ値を用いて、リンクテーブル154の置換元ハッシュ値フィールドに、当該ハッシュ値が存在するか否かを判断する。   The CPU 11 determines whether or not a replacement source hash value corresponding to the hash value of each sentence example candidate L1 exists in the link table 154 (step S206). Specifically, the CPU 11 determines whether or not the hash value exists in the replacement source hash value field of the link table 154 using the hash value of each sentence example candidate L1 that is the replacement source.

CPU11は置換元のハッシュ値が存在しないと判断した場合(ステップS206でNO)、ステップS207へ移行する。CPU11は入力部13を通じて文例候補L1から一の文例候補L1の選択を受け付ける(ステップS207)。CPU11は選択された文例を入力し、表示部14に表示する(ステップS208)。CPU11は置換元の文例候補L1のハッシュ値に対応する置換元のハッシュ値が存在すると判断した場合(ステップS206でYES)、ステップS209へ移行する。CPU11は存在すると判断した文例候補L1の近傍にアイコンを表示する(ステップS209)。   If the CPU 11 determines that there is no replacement source hash value (NO in step S206), the process proceeds to step S207. The CPU 11 accepts selection of one sentence example candidate L1 from the sentence example candidates L1 through the input unit 13 (step S207). The CPU 11 inputs the selected sentence example and displays it on the display unit 14 (step S208). If the CPU 11 determines that there is a replacement source hash value corresponding to the hash value of the replacement source sentence candidate L1 (YES in step S206), the process proceeds to step S209. The CPU 11 displays an icon in the vicinity of the sentence example candidate L1 determined to exist (step S209).

CPU11はリンクテーブル154を参照し、ステップS206で対応するハッシュ値が記憶されていると判断された文例候補L1のハッシュ値に対応する置換先のハッシュ値を読み出す(ステップS211)。CPU11は置換先のハッシュ値に基づき、オブジェクトテーブル153から置換先のオブジェクトデータを読み出す(ステップS212)。CPU11は置換先のオブジェクトデータを参照し、対応する置換先のオブジェクトTのカテゴリ、形式、サイズ及び利用日時をオブジェクトテーブル153から抽出する(ステップS213)。   The CPU 11 refers to the link table 154 and reads the replacement destination hash value corresponding to the hash value of the sentence example candidate L1 for which it is determined in step S206 that the corresponding hash value is stored (step S211). The CPU 11 reads the replacement destination object data from the object table 153 based on the replacement destination hash value (step S212). The CPU 11 refers to the replacement destination object data, and extracts the category, format, size, and use date / time of the corresponding replacement destination object T from the object table 153 (step S213).

CPU11は置換先のオブジェクトTのカテゴリ、形式、サイズ及び利用日時をリンク欄L2上に表示する(ステップS214)。なお、CPU11は表示部14に表示したリンク欄L2と、リンク欄L2に表示される置換先オブジェクトTのハッシュ値とを対応付けて記憶している。CPU11は置換先のオブジェクトデータを参照し、対応する置換先のオブジェクトTの省略データをオブジェクトテーブル153から抽出する(ステップS215)。CPU11は置換先のオブジェクトTの省略データを、表示部14に表示する(ステップS216)。CPU11は表示部14に表示したサムネイルL3と、サムネイルL3で表示される置換先オブジェクトTのハッシュ値とを対応付けて記憶している。なお、一つの文例候補L1に対し、複数の置換先のオブジェクトTが存在する場合、実施の形態1で述べたように、日時が新しいものが上側となるようにリンク欄L2及び省略データを順次表示部14に表示すればよい。   The CPU 11 displays the category, format, size, and use date / time of the replacement target object T on the link field L2 (step S214). The CPU 11 stores the link field L2 displayed on the display unit 14 and the hash value of the replacement destination object T displayed in the link field L2 in association with each other. The CPU 11 refers to the replacement destination object data, and extracts the omitted data of the corresponding replacement destination object T from the object table 153 (step S215). The CPU 11 displays the omitted data of the replacement object T on the display unit 14 (step S216). The CPU 11 stores the thumbnail L3 displayed on the display unit 14 and the hash value of the replacement destination object T displayed on the thumbnail L3 in association with each other. When there are a plurality of replacement target objects T for one sentence example candidate L1, as described in the first embodiment, the link column L2 and the omitted data are sequentially arranged so that the new date and time is on the upper side. What is necessary is just to display on the display part 14. FIG.

CPU11はリンク欄L2またはサムネイルL3(省略データ)のいずれかの選択を受け付けたか否かを判断する(ステップS217)。CPU11はリンク欄L2またはサムネイルL3の選択を受け付けていないと判断した場合(ステップS217でNO)、ステップS218へ移行させる。CPU11は文例候補L1の選択を受け付けたか否かを判断する(ステップS218)。CPU11は文例候補L1の選択を受け付けていないと判断した場合(ステップS218でNO)、処理をステップS217へ戻す。CPU11は文例候補L1の選択を受け付けたと判断した場合(ステップS218でYES)、文例候補L1を表示部14から消去する(ステップS219)。CPU11は代わりに選択された文例をアプリケーションAに入力し、入力された文例を表示部14に表示する(ステップS221)。   The CPU 11 determines whether selection of either the link field L2 or the thumbnail L3 (omitted data) has been accepted (step S217). When the CPU 11 determines that the selection of the link field L2 or the thumbnail L3 is not accepted (NO in step S217), the CPU 11 proceeds to step S218. The CPU 11 determines whether or not the selection of the sentence example candidate L1 has been accepted (step S218). If the CPU 11 determines that selection of the sentence example candidate L1 has not been received (NO in step S218), the process returns to step S217. When the CPU 11 determines that the selection of the sentence example candidate L1 has been received (YES in step S218), the CPU 11 deletes the sentence example candidate L1 from the display unit 14 (step S219). Instead, the CPU 11 inputs the selected sentence example to the application A, and displays the input sentence example on the display unit 14 (step S221).

CPU11はリンク欄L2またはサムネイルL3の選択を受け付けたと判断した場合(ステップS217でYES)、処理をステップS222へ移行させる。CPU11はリンク欄L2またはサムネイルL3に対応付けて記憶されたハッシュ値を読み出す。CPU11は選択されたリンクL2またはサムネイルL3に対応する置換先のオブジェクトデータを、読み出したハッシュ値を用いて、オブジェクトテーブル153から抽出する(ステップS222)。CPU11は文例候補L1を表示部14から消去する。CPU11は入力文字を置換先のオブジェクトデータに置換する(ステップS223)。CPU11は置換先のオブジェクトデータを表示部14に表示する(ステップS224)。CPU11は日時を時計部18から取得する(ステップS225)。CPU11はオブジェクトテーブル153を参照し、置換先のオブジェクトデータの利用日時を更新する(ステップS226)。   If the CPU 11 determines that the selection of the link field L2 or the thumbnail L3 has been received (YES in step S217), the process proceeds to step S222. The CPU 11 reads the hash value stored in association with the link field L2 or the thumbnail L3. The CPU 11 extracts the replacement destination object data corresponding to the selected link L2 or thumbnail L3 from the object table 153 using the read hash value (step S222). The CPU 11 deletes the sentence example candidate L1 from the display unit 14. The CPU 11 replaces the input character with the replacement destination object data (step S223). The CPU 11 displays the replacement destination object data on the display unit 14 (step S224). The CPU 11 acquires the date and time from the clock unit 18 (step S225). The CPU 11 refers to the object table 153 and updates the use date and time of the replacement destination object data (step S226).

図23及び図24は置換処理の手順を示すフローチャートである。CPU11は表示部14に表示されたオブジェクトTの選択を、入力部13を介して受け付けたか否かを判断する(ステップS231)。CPU11はオブジェクトTの選択を受け付けていないと判断した場合(ステップS231でNO)、受け付けるまで待機する。CPU11はオブジェクトTの選択を受け付けたと判断した場合(ステップS231でYES)、処理をステップS232へ移行させる。CPU11は置換元のオブジェクトデータのハッシュ値を、記憶部15に記憶したハッシュ関数に基づき算出する(ステップS232)。CPU11は置換元のオブジェクトTのハッシュ値が、リンクテーブル154に存在するか否か判断する(ステップS233)。   23 and 24 are flowcharts showing the procedure of the replacement process. The CPU 11 determines whether or not the selection of the object T displayed on the display unit 14 has been received via the input unit 13 (step S231). If the CPU 11 determines that the selection of the object T has not been accepted (NO in step S231), the CPU 11 waits until it is accepted. If the CPU 11 determines that selection of the object T has been received (YES in step S231), the process proceeds to step S232. The CPU 11 calculates a hash value of the replacement source object data based on the hash function stored in the storage unit 15 (step S232). The CPU 11 determines whether or not the hash value of the replacement source object T exists in the link table 154 (step S233).

CPU11は置換元のオブジェクトTのハッシュ値が存在しないと判断した場合(ステップS233でNO)、処理を終了する。CPU11は置換元のオブジェクトTのハッシュ値が存在すると判断した場合(ステップS233でYES)、リンクテーブル154から当該ハッシュ値に対応する置換先のハッシュ値を読み出す(ステップS234)。CPU11は置換先のハッシュ値に対応する置換先のオブジェクトデータを、オブジェクトテーブル153から読み出す(ステップS235)。   If the CPU 11 determines that the hash value of the replacement source object T does not exist (NO in step S233), the process ends. If the CPU 11 determines that the hash value of the replacement source object T exists (YES in step S233), the CPU 11 reads the replacement destination hash value corresponding to the hash value from the link table 154 (step S234). The CPU 11 reads out replacement destination object data corresponding to the replacement destination hash value from the object table 153 (step S235).

CPU11は読み出した置換先のオブジェクトデータに対応するカテゴリ、形式、サイズ及び利用日時を、オブジェクトテーブル153から抽出する(ステップS236)。CPU11は置換先のオブジェクトTの省略データをオブジェクトテーブル153から抽出する(ステップS237)。CPU11は置換元のオブジェクトTに対応する置換先のオブジェクトTが複数存在するか否かを判断する(ステップS238)。   The CPU 11 extracts the category, format, size, and use date and time corresponding to the read replacement destination object data from the object table 153 (step S236). The CPU 11 extracts omitted data of the replacement target object T from the object table 153 (step S237). The CPU 11 determines whether or not there are a plurality of replacement destination objects T corresponding to the replacement source object T (step S238).

CPU11は複数存在すると判断した場合(ステップS238でYES)、全ての置換先のオブジェクトTに対する抽出処理が終了したか否かを判断する(ステップS239)。CPU11は全ての置換先のオブジェクトTに対する抽出処理が終了していないと判断した場合(ステップS239でNO)、処理をステップS236へ移行させる。CPU11は抽出処理を終えていない置換先のオブジェクトTについて同様の処理を実行する。CPU11は置換先のオブジェクトTは複数存在しないと判断した場合(ステップS238でNO)、処理をステップS241に移行させる。CPU11は全ての置換先のオブジェクトTに対する処理を終了したと判断した場合(ステップS239でYES)、処理をステップS241へ移行させる。   If the CPU 11 determines that there are a plurality of objects (YES in step S238), the CPU 11 determines whether extraction processing for all the replacement destination objects T has been completed (step S239). If the CPU 11 determines that the extraction process for all the replacement target objects T has not been completed (NO in step S239), the process proceeds to step S236. The CPU 11 executes the same process for the replacement destination object T that has not finished the extraction process. If the CPU 11 determines that there are not a plurality of replacement destination objects T (NO in step S238), the process proceeds to step S241. When the CPU 11 determines that the processing for all the replacement destination objects T has been completed (YES in step S239), the CPU 11 proceeds to step S241.

CPU11はリンク欄L2に置換先のオブジェクトTのカテゴリ、形式、サイズ、利用日時を、利用日時順にソートした上で、表示部14に表示する(ステップS241)。CPU11はリンク欄L2表示した置換先のオブジェクトTのカテゴリ等に対応付けて置換先オブジェクトTのハッシュ値をRAM12に記憶している。CPU11は対応する各オブジェクトTのリンク欄L2近傍に、省略データを表示する(ステップS242)。CPU11は表示した置換先オブジェクトTの省略データに対応付けて置換先オブジェクトTのハッシュ値をRAM12に記憶している。CPU11はリンク欄L2または省略データの選択を、入力部13から受け付けたか否かを判断する(ステップS243)。CPU11は受け付けていないと判断した場合(ステップS243でNO)、受け付けるまで待機する。CPU11はリンク欄L2または省略データの選択を受け付けた場合(ステップS243でYES)、対応する置換先のオブジェクトデータを、オブジェクトテーブル153から抽出する(ステップS244)。具体的にはCPU11は選択されたリンク欄L2または省略データに対応付けてRAM12に記憶されたハッシュ値を用いて、オブジェクトテーブル153からハッシュ値に対応するオブジェクトデータを読み出す。   The CPU 11 sorts the category, format, size, and usage date and time of the replacement target object T in the link field L2 in order of usage date and displays them on the display unit 14 (step S241). The CPU 11 stores the hash value of the replacement destination object T in the RAM 12 in association with the category of the replacement destination object T displayed in the link field L2. The CPU 11 displays the omitted data in the vicinity of the link column L2 of each corresponding object T (step S242). The CPU 11 stores the hash value of the replacement destination object T in the RAM 12 in association with the omitted data of the displayed replacement destination object T. The CPU 11 determines whether or not the selection of the link field L2 or omitted data has been received from the input unit 13 (step S243). If the CPU 11 determines that it has not been accepted (NO in step S243), it waits until it is accepted. When the CPU 11 accepts selection of the link field L2 or omitted data (YES in step S243), the CPU 11 extracts corresponding replacement destination object data from the object table 153 (step S244). Specifically, the CPU 11 reads out the object data corresponding to the hash value from the object table 153 using the hash value stored in the RAM 12 in association with the selected link field L2 or omitted data.

CPU11はステップS231で選択された選択文字を、抽出した置換先のオブジェクトデータに置換する(ステップS245)。CPU11は置換先のオブジェクトデータを表示部14に表示する(ステップS246)。CPU11は日時を時計部18から取得する(ステップS247)。CPU11はオブジェクトテーブル153を参照し、置換先のオブジェクトデータの利用日時を更新する(ステップS248)。このようにハッシュ値を用いて置換元及び置換先のオブジェクトTを関連付けることができ、様々な形式のオブジェクトTを効率よく抽出することが可能となる。   The CPU 11 replaces the selected character selected in step S231 with the extracted replacement destination object data (step S245). The CPU 11 displays the replacement object data on the display unit 14 (step S246). The CPU 11 acquires the date and time from the clock unit 18 (step S247). The CPU 11 refers to the object table 153 and updates the use date and time of the replacement object data (step S248). In this way, the replacement source and replacement target objects T can be associated using the hash value, and various types of objects T can be efficiently extracted.

本実施の形態2は以上の如きであり、その他は実施の形態1と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The second embodiment is as described above, and the other parts are the same as those of the first embodiment. Therefore, the corresponding parts are denoted by the same reference numerals, and detailed description thereof is omitted.

実施の形態3
実施の形態3はリンク数を用いる形態に関する。図25は実施の形態3に係るパーソナルコンピュータ1のハードウェア群を示すブロック図である。RAM12には新にリンクワークテーブル155が設けられている。なお、リンクワークテーブル155の詳細については後述する。図26は実施の形態3に係るリンクテーブル154のレコードレイアウトを示す説明図である。実施の形態3の如く、置換元のハッシュ値と置換先のハッシュ値とをリンクテーブル154に記憶する場合、逆のリンク関係を併せて記憶しても良い。すなわち、CPU11は置換元のオブジェクトTが、置換先のオブジェクトTに置換された場合、置換元のオブジェクトTのハッシュ値をリンクテーブル154の置換元ハッシュ値フィールドに記憶する。これにより図26のレコード第1行目に示すように置換元であることを示す置換元情報である置換元ハッシュ値フィールドに置換元のオブジェクトTのハッシュ値「1212」が記憶される。
Embodiment 3
Embodiment 3 relates to a form using the number of links. FIG. 25 is a block diagram illustrating a hardware group of the personal computer 1 according to the third embodiment. A new link work table 155 is provided in the RAM 12. Details of the link work table 155 will be described later. FIG. 26 is an explanatory diagram showing a record layout of the link table 154 according to the third embodiment. When the replacement source hash value and the replacement destination hash value are stored in the link table 154 as in the third embodiment, the reverse link relationship may be stored together. That is, when the replacement source object T is replaced with the replacement destination object T, the CPU 11 stores the hash value of the replacement source object T in the replacement source hash value field of the link table 154. As a result, as shown in the first line of the record in FIG. 26, the hash value “1212” of the replacement source object T is stored in the replacement source hash value field, which is replacement source information indicating the replacement source.

次に、CPU11は置換元ハッシュ値フィールドに記憶された置換元のオブジェクトTのハッシュ値「1212」に対応付けて、置換先のオブジェクトTのハッシュ値をリンクテーブル154の置換先ハッシュ値フィールドに記憶する。これにより図26のレコード第1行目に示すように置換先であることを示す置換先情報である置換先ハッシュ値フィールドに置換先のオブジェクトTのハッシュ値「16AF」が記憶される。   Next, the CPU 11 stores the hash value of the replacement destination object T in the replacement destination hash value field of the link table 154 in association with the hash value “1212” of the replacement source object T stored in the replacement source hash value field. To do. As a result, as shown in the first line of the record in FIG. 26, the hash value “16AF” of the replacement target object T is stored in the replacement destination hash value field, which is replacement destination information indicating the replacement destination.

さらに、CPU11は置換先のオブジェクトTのハッシュ値「16AF」を、置換元ハッシュ値フィールドに記憶する。これにより図26のレコード第2行目に示すように置換元情報である置換元ハッシュ値フィールドに置換先のオブジェクトTのハッシュ値「16AF」が記憶される。最後に、CPU11は置換元ハッシュ値フィールドに記憶された置換先のオブジェクトTのハッシュ値に対応付けて、置換元ハッシュ値フィールドに記憶された置換元のオブジェクトTのハッシュ値「1212」を、置換先ハッシュ値フィールドに記憶する。   Further, the CPU 11 stores the hash value “16AF” of the replacement target object T in the replacement source hash value field. As a result, as shown in the second row of the record in FIG. 26, the hash value “16AF” of the replacement target object T is stored in the replacement source hash value field that is the replacement source information. Finally, the CPU 11 replaces the hash value “1212” of the replacement source object T stored in the replacement source hash value field in association with the hash value of the replacement destination object T stored in the replacement source hash value field. Store in the destination hash value field.

これにより図26のレコード第2行目に示すように置換先情報である置換先ハッシュ値フィールドに置換元のオブジェクトTのハッシュ値「1212」が記憶される。例えば図2の例では、文字から画像へ置換されたことを示すハッシュ値の関連付けに加え、画像から文字へ置換されたことを示すハッシュ値の関連付けも追加して記憶される。なお、本実施形態で述べる関連付けに関する記憶方法は、実施の形態2で用いても良い。実施の形態1の場合、ハッシュ値に代えてオブジェクトデータそのものを用いて記憶すればよい。   As a result, as shown in the second row of the record in FIG. 26, the hash value “1212” of the replacement source object T is stored in the replacement destination hash value field that is the replacement destination information. For example, in the example of FIG. 2, in addition to the association of the hash value indicating that the character is replaced with the image, the association of the hash value indicating that the image is replaced with the character is additionally stored. Note that the storage method related to association described in the present embodiment may be used in the second embodiment. In the first embodiment, the object data itself may be stored instead of the hash value.

図27及び図28はリンク記憶処理の手順を示すフローチャートである。ステップS195、S226及びS248の後、以下の処理を行う。CPU11は置換元のオブジェクトTのハッシュ値と、置換先オブジェクトTのハッシュ値とを読み出す(ステップS271)。CPU11は置換元ハッシュ値フィールドの置換元オブジェクトTのハッシュ値と、置換先ハッシュ値フィールドの置換先オブジェクトTのハッシュ値との組み合わせがリンクテーブル154に記憶されているか否かを判断する(ステップS272)。   27 and 28 are flowcharts showing the procedure of the link storage process. After steps S195, S226, and S248, the following processing is performed. The CPU 11 reads the hash value of the replacement source object T and the hash value of the replacement destination object T (step S271). The CPU 11 determines whether or not the combination of the hash value of the replacement source object T in the replacement source hash value field and the hash value of the replacement destination object T in the replacement destination hash value field is stored in the link table 154 (step S272). ).

CPU11は組み合わせがリンクテーブル154に記憶されていないと判断した場合(ステップS272でNO)、ステップS273へ移行する。CPU11はリンクテーブル154の置換元ハッシュ値フィールドに置換元オブジェクトTのハッシュ値を記憶する(ステップS273)。CPU11は置換元オブジェクトTのハッシュ値に対応付けて、置換先ハッシュ値フィールドに置換先オブジェクトTのハッシュ値を記憶する(ステップS274)。CPU11は組み合わせが記憶されていると判断した場合(ステップS272でYES)、ステップS273及び274の処理をスキップする。   When the CPU 11 determines that the combination is not stored in the link table 154 (NO in step S272), the CPU 11 proceeds to step S273. The CPU 11 stores the hash value of the replacement source object T in the replacement source hash value field of the link table 154 (step S273). The CPU 11 stores the hash value of the replacement destination object T in the replacement destination hash value field in association with the hash value of the replacement source object T (step S274). When the CPU 11 determines that the combination is stored (YES in step S272), the process of steps S273 and 274 is skipped.

CPU11は置換元ハッシュ値フィールドの置換先オブジェクトTのハッシュ値と、置換先ハッシュ値フィールドの置換元オブジェクトTのハッシュ値との組み合わせがリンクテーブル154に記憶されているか否かを判断する(ステップS275)。   The CPU 11 determines whether or not the combination of the hash value of the replacement destination object T in the replacement source hash value field and the hash value of the replacement source object T in the replacement destination hash value field is stored in the link table 154 (step S275). ).

CPU11はステップS275における組み合わせがリンクテーブル154に記憶されていないと判断した場合(ステップS275でNO)、ステップS276へ移行する。CPU11はリンクテーブル154の置換元ハッシュ値フィールドに置換先オブジェクトTのハッシュ値を記憶する(ステップS276)。CPU11は置換先オブジェクトTのハッシュ値に対応付けて、置換先ハッシュ値フィールドに置換元オブジェクトTのハッシュ値を記憶する(ステップS277)。CPU11はステップS275における組み合わせが記憶されていると判断した場合(ステップS275でYES)、ステップS276及びS277の処理をスキップする。これにより置換元オブジェクトTと置換先オブジェクトTとの相互リンク関係が記憶される。以下ではステップS273及びS274によるリンクを順リンクといい、ステップS276及びS277によるリンクを逆リンクという。   When the CPU 11 determines that the combination in step S275 is not stored in the link table 154 (NO in step S275), the CPU 11 proceeds to step S276. The CPU 11 stores the hash value of the replacement destination object T in the replacement source hash value field of the link table 154 (step S276). The CPU 11 stores the hash value of the replacement source object T in the replacement destination hash value field in association with the hash value of the replacement destination object T (step S277). If the CPU 11 determines that the combination in step S275 is stored (YES in step S275), it skips the processes in steps S276 and S277. Thereby, the mutual link relationship between the replacement source object T and the replacement destination object T is stored. Below, the link by step S273 and S274 is called a forward link, and the link by step S276 and S277 is called a reverse link.

実施の形態1及び2ではリンクテーブル154の置換元ハッシュ値テーブルに記憶されたハッシュ値に対応する置換先ハッシュ値テーブルに記憶したハッシュ値を抽出する例を挙げた。この場合、一のオブジェクトTのハッシュ値から他のオブジェクトTへのハッシュ値までに至るまでのリンク数は1である。リンク数は1に限るものではなく複数であっても良い。すなわち、第1オブジェクトT(一のオブジェクトT)のハッシュ値にリンクする第2オブジェクトT(他のオブジェクトT)のハッシュ値、さらに当該ハッシュ値にリンクする第3オブジェクトT(さらに他のオブジェクトT)のハッシュ値を抽出しても良い。   In the first and second embodiments, the example in which the hash value stored in the replacement destination hash value table corresponding to the hash value stored in the replacement source hash value table of the link table 154 is extracted has been described. In this case, the number of links from the hash value of one object T to the hash value of another object T is 1. The number of links is not limited to 1 and may be plural. That is, the hash value of the second object T (other object T) linked to the hash value of the first object T (one object T), and further the third object T (further other object T) linked to the hash value. May be extracted.

この場合、リンク数は、一のオブジェクトTと他のオブジェクトT間と、他のオブジェクトTとさらに異なる他のオブジェクトT間との2つとなる。例えば図26の例では、リンク数が1の場合、置換元ハッシュ値「1212」に対応する置換先ハッシュ値「16AF」が抽出される。またリンク数が2の場合、リンク数1の「16AF」に加えて、置換先ハッシュ値「1212」が抽出される。記憶部15に予め閾値となる閾リンク数を記憶しておく。CPU11は記憶部15に記憶した閾リンク数を読み出し、閾リンク数以下のリンク数を有するハッシュ値を抽出する。以下では閾リンク数を4であるものとして詳細な処理を説明する。なお、閾リンク数はユーザが入力部13から適宜の値を入力し、設定することができる。CPU11は入力された閾リンク数を記憶部15に記憶する。   In this case, the number of links is two between one object T and another object T, and between another object T further different from the other object T. For example, in the example of FIG. 26, when the number of links is 1, the replacement destination hash value “16AF” corresponding to the replacement source hash value “1212” is extracted. When the number of links is 2, in addition to “16AF” with the number of links 1, the replacement destination hash value “1212” is extracted. The threshold number of links serving as a threshold value is stored in the storage unit 15 in advance. CPU11 reads the threshold link number memorize | stored in the memory | storage part 15, and extracts the hash value which has the link number below a threshold link number. Hereinafter, detailed processing will be described assuming that the threshold link number is four. The threshold link number can be set by the user inputting an appropriate value from the input unit 13. The CPU 11 stores the input threshold link number in the storage unit 15.

図29乃至図33は閾リンク数に基づくリンク抽出処理の手順を示す説明図である。図29Aにおいて白三角で示す矢印は順リンクを示し、置換元のオブジェクトTのハッシュ値Aから置換先のオブジェクトTのハッシュ値Bに置換された例を示す。なお、以下では図29乃至図33におけるA、B、C、D、E、H、I、J、H及びZはオブジェクトTのハッシュ値であるものとして説明する。図29Aにおける置換先及び置換元の関係に基づき、図29Aに示すリンクテーブル154が構築される。   FIG. 29 to FIG. 33 are explanatory diagrams showing the procedure of link extraction processing based on the threshold link number. In FIG. 29A, an arrow indicated by a white triangle indicates a forward link, and shows an example in which the hash value A of the replacement source object T is replaced with the hash value B of the replacement destination object T. In the following description, A, B, C, D, E, H, I, J, H, and Z in FIGS. 29 to 33 are assumed to be hash values of the object T. Based on the relationship between the replacement destination and the replacement source in FIG. 29A, the link table 154 shown in FIG. 29A is constructed.

CPU11は図27及び図28で述べた処理を行い、図29Bに示す逆リンクをリンクテーブル154に記憶する。図29Bの黒三角で示す矢印は逆リンクを示す。ここで、置換元のオブジェクトTのハッシュ値がA、閾リンク数4であるとして、閾リンク数4以下の置換先オブジェクトTのハッシュ値抽出手順を説明する。まず、CPU11はリンク数の初期値1から1を減じ、リンク数0を算出する。CPU11はスタートのハッシュ値Aからリンク数0のハッシュ値を抽出する。この場合、スタート地点のハッシュ値Aのみが抽出される。CPU11はハッシュ値Aに対応する各種データをオブジェクトテーブル153から読み出す。CPU11はリンクワークテーブル155にオブジェクトテーブル153から読み出したハッシュ値、各種データ及びリンク数を記憶する。   The CPU 11 performs the processing described in FIGS. 27 and 28 and stores the reverse link shown in FIG. 29B in the link table 154. An arrow indicated by a black triangle in FIG. 29B indicates a reverse link. Here, assuming that the hash value of the replacement source object T is A and the threshold link number is 4, the hash value extraction procedure of the replacement destination object T having the threshold link number of 4 or less will be described. First, the CPU 11 subtracts 1 from the initial value 1 of the number of links, and calculates the number of links 0. The CPU 11 extracts the hash value with the link number 0 from the start hash value A. In this case, only the hash value A of the start point is extracted. The CPU 11 reads out various data corresponding to the hash value A from the object table 153. The CPU 11 stores the hash value, various data, and the number of links read from the object table 153 in the link work table 155.

図34はリンクワークテーブル155のレコードレイアウトを示す説明図である。CPU11はハッシュ値に対応する各種データとして、オブジェクトテーブル153から、オブジェクトデータ、カテゴリ、形式、サイズ、省略データ及び利用日時等を読み出す。以下、オブジェクトテーブル153に記憶したハッシュ値に対応するオブジェクトデータ、カテゴリ、形式、サイズ、省略データ及び利用日時を各種データという。CPU11は読み出した各種データをハッシュ値に対応付けて記憶する。さらにCPU11はリンク数フィールドにハッシュ値を抽出した際のリンク数をリンク数フィールドに記憶する。上述した例ではリンク数0が記憶される。なお、図30乃至図33に記載したリンクワークテーブル155は各種データの記載を省略している。   FIG. 34 is an explanatory diagram showing a record layout of the link work table 155. The CPU 11 reads object data, category, format, size, abbreviated data, use date and time, etc. from the object table 153 as various data corresponding to the hash value. Hereinafter, object data, category, format, size, omitted data, and use date and time corresponding to the hash value stored in the object table 153 are referred to as various data. The CPU 11 stores the read various data in association with the hash value. Further, the CPU 11 stores the link number when the hash value is extracted in the link number field in the link number field. In the example described above, the number of links 0 is stored. In addition, description of various data is abbreviate | omitted in the link work table 155 described in FIG. 30 thru | or FIG.

続いてCPU11はリンク数をインクリメントし、リンク数1とする。CPU11は、リンクテーブル154を参照し、置換元のハッシュ値から、置換先のハッシュ値までのリンク数が1のハッシュ値を抽出する。図30Bの例では、Aから1駒で進むことのできるハッシュ値Z、B、C、及びDとなる。CPU11はリンクワークテーブル155に抽出したハッシュ値及びリンク数1を対応付けて記憶する。   Subsequently, the CPU 11 increments the number of links to set the number of links to 1. The CPU 11 refers to the link table 154 and extracts a hash value having a link number of 1 from the replacement source hash value to the replacement destination hash value. In the example of FIG. 30B, the hash values Z, B, C, and D can be advanced from A by one frame. The CPU 11 stores the extracted hash value and the number of links 1 in the link work table 155 in association with each other.

CPU11はリンク数をインクリメントし、リンク数2とする。CPU11は、リンクテーブル154を参照し、置換元のハッシュ値から、置換先のハッシュ値までのリンク数が2のハッシュ値を抽出する。図31Aの例では、リンク数1の置換元のハッシュ値B、C、D、Zから1駒で、進むことのできるハッシュ値A、E、H、及びIとなる。CPU11はリンクワークテーブル155に抽出したハッシュ値及びリンク数2を対応付けて記憶する。リンク数が複数となった場合、同一のハッシュ値が抽出されることとなる。例えば、A→C→Aの場合、さらにハッシュ値Aが抽出される。CPU11は重複を除去すべく、リンクワークテーブル155に同一のハッシュ値が記憶されている場合、リンク数の小さい方のハッシュ値をレコードから削除する。また同一リンク数に同一のハッシュ値が複数記憶されている場合、一つのハッシュ値を残し、他のハッシュ値を削除する。   The CPU 11 increments the number of links to set the number of links to 2. The CPU 11 refers to the link table 154 and extracts a hash value having a link number of 2 from the replacement source hash value to the replacement destination hash value. In the example of FIG. 31A, the hash values A, E, H, and I that can be advanced by one frame from the hash values B, C, D, and Z of the replacement source with the number of links of 1 are obtained. The CPU 11 stores the extracted hash value and the number of links 2 in the link work table 155 in association with each other. When there are a plurality of links, the same hash value is extracted. For example, in the case of A → C → A, a hash value A is further extracted. If the same hash value is stored in the link work table 155 in order to eliminate duplication, the CPU 11 deletes the hash value having the smaller number of links from the record. When a plurality of the same hash values are stored for the same number of links, one hash value is left and the other hash values are deleted.

図31Bの例では、ハッシュ値Aは既にリンク数0に存在するので、リンク数2のハッシュ値Aは削除される。ハッシュ値Hはリンク数2に複数存在することから、一のハッシュ値Hのレコードを削除する。CPU11はリンク数をインクリメントし、リンク数3とする。CPU11は、リンクテーブル154を参照し、置換元のハッシュ値から、置換先のハッシュ値までのリンク数が3のハッシュ値を抽出する。図32Aの例では、リンク数2のハッシュ値E、H、Iから1駒で進むことのできるハッシュ値C、E、H、D及びJとなる。CPU11はリンクワークテーブル155に抽出したハッシュ値及びリンク数3を対応付けて記憶する。   In the example of FIG. 31B, since the hash value A already exists at the link number 0, the hash value A with the link number 2 is deleted. Since there are a plurality of hash values H in the number of links 2, the record of one hash value H is deleted. The CPU 11 increments the number of links to set the number of links to 3. The CPU 11 refers to the link table 154 and extracts a hash value having 3 links from the replacement source hash value to the replacement destination hash value. In the example of FIG. 32A, hash values C, E, H, D, and J that can be advanced by one frame from hash values E, H, and I having two links are obtained. The CPU 11 stores the extracted hash value and the number of links 3 in the link work table 155 in association with each other.

CPU11は削除処理を行う。図32Bの例では、ハッシュ値Cは既にリンク数1に存在するので、リンク数3のハッシュ値Cは削除される。ハッシュ値Eは既にリンク数2に存在するので、リンク数3のハッシュ値Eはリンクワークテーブル155から削除される。ハッシュ値Hは既にリンク数2に存在するので、リンク数3のハッシュ値Hは削除される。ハッシュ値Dは既にリンク数1に存在するので、リンク数3のハッシュ値Dは削除される。   The CPU 11 performs a deletion process. In the example of FIG. 32B, since the hash value C already exists for the link number 1, the hash value C for the link number 3 is deleted. Since the hash value E already exists for the link number 2, the hash value E for the link number 3 is deleted from the link work table 155. Since the hash value H already exists in the link number 2, the hash value H with the link number 3 is deleted. Since the hash value D already exists for the link number 1, the hash value D for the link number 3 is deleted.

CPU11はリンク数をインクリメントし、リンク数4とする。CPU11は、リンクテーブル154を参照し、置換元のハッシュ値から、置換先のハッシュ値までのリンク数が4のハッシュ値を抽出する。図33Aの例では、リンク数3のハッシュ値Jから1駒で進むことのできるハッシュ値Eとなる。CPU11はリンクワークテーブル155に抽出したハッシュ値及びリンク数4を対応付けて記憶する。CPU11はリンク数2のハッシュ値Eが、リンクワークテーブル155に記憶されているので、リンク数の大きいリンク数4のハッシュ値は削除される。以上述べた処理により、閾リンク数以下のリンク数を持つハッシュ値を抽出することができる。なお、本実施形態ではリンクワークテーブル155をRAM12に記憶する例を挙げたがこれに限るものではない。記憶部15に記憶しても良い。   The CPU 11 increments the number of links to set the number of links to 4. The CPU 11 refers to the link table 154 and extracts a hash value having the number of links of 4 from the replacement source hash value to the replacement destination hash value. In the example of FIG. 33A, a hash value E that can be advanced by one frame from a hash value J of 3 links. The CPU 11 stores the extracted hash value and the number of links 4 in the link work table 155 in association with each other. Since the CPU 11 stores the hash value E of the link number 2 in the link work table 155, the hash value of the link number 4 having a large link number is deleted. Through the processing described above, a hash value having a link number equal to or less than the threshold link number can be extracted. In the present embodiment, an example in which the link work table 155 is stored in the RAM 12 is described, but the present invention is not limited to this. You may memorize | store in the memory | storage part 15. FIG.

図35乃至図37は閾リンク数に応じたハッシュ値の抽出処理手順を示すフローチャートである。CPU11はステップS206でYESの後、または、ステップS233でYESの後、以下の処理を行う。CPU11は記憶部15に記憶した閾リンク数を読み出す(ステップS351)。CPU11は置換元オブジェクトTのハッシュ値を読み出す(ステップS352)。CPU11は変数であるリンク数に初期値である0を代入する(ステップS353)。   FIG. 35 to FIG. 37 are flowcharts showing the hash value extraction processing procedure corresponding to the threshold link number. The CPU 11 performs the following processing after YES in step S206 or after YES in step S233. The CPU 11 reads the threshold link number stored in the storage unit 15 (step S351). The CPU 11 reads the hash value of the replacement source object T (step S352). The CPU 11 substitutes 0, which is an initial value, for the number of links, which is a variable (step S353).

CPU11は置換元オブジェクトTのハッシュ値に対応する各種データを、オブジェクトテーブル153から読み出す(ステップS354)。CPU11はリンクワークテーブル155に置換元オブジェクトTのハッシュ値に対応する各種データ及びリンク数0をハッシュ値に対応付けて記憶する(ステップS355)。CPU11はリンク数をインクリメントする(ステップS356)。CPU11は、リンク数は、ステップS351で読み出した閾リンク数以下であるか否かを判断する(ステップS357)。CPU11は、リンク数は閾リンク数以下でないと判断した場合(ステップS357でNO)、処理をステップS371へ移行させる。   The CPU 11 reads out various data corresponding to the hash value of the replacement source object T from the object table 153 (step S354). The CPU 11 stores various data corresponding to the hash value of the replacement source object T and the link number 0 in the link work table 155 in association with the hash value (step S355). The CPU 11 increments the number of links (step S356). The CPU 11 determines whether or not the number of links is equal to or less than the threshold number of links read in step S351 (step S357). If the CPU 11 determines that the number of links is not less than or equal to the threshold number of links (NO in step S357), the process proceeds to step S371.

CPU11はリンク数が閾リンク数以下であると判断した場合(ステップS357でYES)、処理をステップS358へ移行させる。CPU11はリンク数から1を減じたリンク数のハッシュ値が、リンクワークテーブル155に記憶されているか否かを判断する(ステップS358)。CPU11は記憶されていないと判断した場合(ステップS358でNO)、処理をステップS371へ移行させる。CPU11は記憶されていると判断した場合(ステップS358でYES)、リンク数から1を減じたリンク数のハッシュ値を、リンクワークテーブル155から読み出す(ステップS359)。   If the CPU 11 determines that the number of links is equal to or less than the threshold number of links (YES in step S357), the process proceeds to step S358. The CPU 11 determines whether or not the hash value of the number of links obtained by subtracting 1 from the number of links is stored in the link work table 155 (step S358). If the CPU 11 determines that it is not stored (NO in step S358), the process proceeds to step S371. If the CPU 11 determines that the link is stored (YES in step S358), the hash value of the number of links obtained by subtracting 1 from the number of links is read from the link work table 155 (step S359).

CPU11は読み出したハッシュ値がリンクテーブル154の置換元フィールドに記憶されているか否かを判断する(ステップS361)。CPU11は記憶されていないと判断した場合(ステップS361でNO)、処理をステップS371へ移行させる。CPU11は記憶されていると判断した場合(ステップS361でYES)、処理をステップS362へ移行させる。CPU11は対応する置換先フィールドのハッシュ値をリンクテーブル154から抽出する(ステップS362)。   The CPU 11 determines whether or not the read hash value is stored in the replacement source field of the link table 154 (step S361). If the CPU 11 determines that it is not stored (NO in step S361), the process proceeds to step S371. If the CPU 11 determines that it is stored (YES in step S361), the process proceeds to step S362. The CPU 11 extracts the hash value of the corresponding replacement destination field from the link table 154 (step S362).

CPU11は読み出したハッシュ値に対応する各種データをオブジェクトテーブル153から読み出す(ステップS363)。CPU11は読み出した各種データを、ステップS362で抽出したハッシュ値に対応付けてリンクワークテーブル155に記憶する(ステップS364)。CPU11はステップS362で抽出したハッシュ値に対応付けてリンク数を、リンクワークテーブル155に記憶する(ステップS365)。   The CPU 11 reads various data corresponding to the read hash value from the object table 153 (step S363). The CPU 11 stores the read various data in the link work table 155 in association with the hash value extracted in step S362 (step S364). The CPU 11 stores the number of links in the link work table 155 in association with the hash value extracted in step S362 (step S365).

CPU11はリンクワークテーブル155に同一ハッシュ値が記憶されているか否かを判断する(ステップS366)。CPU11は同一ハッシュ値が記憶されていない場合(ステップS366でNO)、処理をステップS356へ移行させる。CPU11は同一ハッシュ値が記憶されていると判断した場合(ステップS366でYES)、同一ハッシュ値のリンク数が同一であるか否かを判断する(ステップS367)。CPU11はリンク数が同一であると判断した場合(ステップS367でYES)、一つのハッシュ値を残して、同一リンク数の同一ハッシュ値を削除する(ステップS368)。CPU11はその後処理をステップS356へ移行させる。   The CPU 11 determines whether or not the same hash value is stored in the link work table 155 (step S366). If the same hash value is not stored (NO in step S366), the CPU 11 shifts the process to step S356. When the CPU 11 determines that the same hash value is stored (YES in step S366), the CPU 11 determines whether the number of links of the same hash value is the same (step S367). If the CPU 11 determines that the number of links is the same (YES in step S367), it leaves one hash value and deletes the same hash value for the same number of links (step S368). After that, the CPU 11 shifts the process to step S356.

CPU11はリンク数が同一でないと判断した場合(ステップS367でNO)、ステップS369へ移行させる。CPU11はリンク数最小のハッシュ値を残して他の同一ハッシュ値を削除する(ステップS369)。CPU11はその後処理をステップS356へ移行させる。以上の処理を繰り返すことによって、リンク数が閾リンク数に達するまでリンクワークテーブル155に情報が蓄積される。CPU11はリンクワークテーブル155からリンク数0のレコードを削除する(ステップS371)。CPU11は利用日時が新しいもの順に、または、リンク数の値の小さいもの順にリンクワークテーブル155を並び替える(ステップS372)。   If the CPU 11 determines that the number of links is not the same (NO in step S367), the CPU 11 proceeds to step S369. The CPU 11 deletes other identical hash values while leaving the hash value with the minimum number of links (step S369). After that, the CPU 11 shifts the process to step S356. By repeating the above processing, information is accumulated in the link work table 155 until the number of links reaches the threshold number of links. The CPU 11 deletes the record with the link number 0 from the link work table 155 (step S371). The CPU 11 rearranges the link work table 155 in the order of newest use date or the smallest number of links (step S372).

図38はリンクワークテーブル155を用いたリンク欄L2及び省略データの表示処理手順を示すフローチャートである。ステップS372の後以下の処理を行う。CPU11は置換先のハッシュ値が存在した文例候補L1にアイコンを表示する(ステップS381)。CPU11はリンクワークテーブル155から置換先オブジェクトTのカテゴリ、形式、サイズ及び利用日時を抽出する(ステップS382)。CPU11はリンク欄L2に置換先オブジェクトTのカテゴリ、形式、サイズ及び利用日時を利用日時順に表示する(ステップS383)。CPU11は複数のリンク欄L2が存在する場合、リンク欄L2に表示するカテゴリ、形式、サイズ及び利用日時に対応付けて対応するハッシュ値をRAM12に記憶しておく。   FIG. 38 is a flowchart showing a display processing procedure of the link column L2 and abbreviated data using the link work table 155. The following processing is performed after step S372. The CPU 11 displays an icon on the sentence example candidate L1 in which the replacement hash value exists (step S381). The CPU 11 extracts the category, format, size, and use date / time of the replacement object T from the link work table 155 (step S382). The CPU 11 displays the category, format, size, and use date / time of the replacement object T in the link column L2 in order of use date / time (step S383). When there are a plurality of link fields L2, the CPU 11 stores a corresponding hash value in the RAM 12 in association with the category, format, size, and use date / time displayed in the link field L2.

CPU11は置換先オブジェクトTの省略データをリンクワークテーブル155から抽出する(ステップS384)。CPU11は複数の省略データが存在する場合、省略データに対応付けて対応するハッシュ値をRAM12に記憶しておく。CPU11は置換先の省略データをリンク欄L2に対応付けて表示部14に表示する(ステップS385)。以降CPU11は処理をステップS217へ移行させる。CPU11はリンク欄L2が選択された場合、RAM12に対応付けて記憶したハッシュ値に対応するオブジェクトデータをリンクワークテーブル155から読み出して置換する。またCPU11は省略データが選択された場合、RAM12に対応付けて記憶したハッシュ値に対応するオブジェクトデータをリンクワークテーブル155から読み出して置換する。   The CPU 11 extracts the omitted data of the replacement destination object T from the link work table 155 (step S384). When a plurality of omitted data exists, the CPU 11 stores a corresponding hash value in the RAM 12 in association with the omitted data. The CPU 11 displays the replacement destination omitted data on the display unit 14 in association with the link field L2 (step S385). Thereafter, the CPU 11 shifts the process to step S217. When the link column L2 is selected, the CPU 11 reads out the object data corresponding to the hash value stored in association with the RAM 12 from the link work table 155 and replaces it. When the omitted data is selected, the CPU 11 reads out the object data corresponding to the hash value stored in association with the RAM 12 from the link work table 155 and replaces it.

CPU11はステップS226で述べたように、置換先オブジェクトTのハッシュ値を参照し、オブジェクトテーブル153の利用日時を更新する。また図27及び図28で説明したように、ステップS352で読み出した置換元のオブジェクトTのハッシュ値と、選択された置換先のオブジェクトTのハッシュ値との対応付け処理を、順リンク及び逆リンクについて行う。なお、文例候補L1の選択ではなく、オブジェクトTを選択した場合の処理も同様であるので、詳細な説明は省略する。これにより、ユーザ自身の過去の置換履歴を有効活用して、編集効率を向上させることが可能となる。また閾リンク数を適宜設定することで、好みに応じて過去の置換履歴を活用することが可能となる。   As described in step S226, the CPU 11 refers to the hash value of the replacement object T and updates the use date and time of the object table 153. As described with reference to FIGS. 27 and 28, the associating process between the hash value of the replacement source object T read in step S352 and the hash value of the selected replacement destination object T is performed in the forward link and the reverse link. Do about. Note that the processing when the object T is selected instead of the selection of the sentence example candidate L1 is the same, and thus detailed description thereof is omitted. This makes it possible to improve the editing efficiency by effectively utilizing the user's own past replacement history. In addition, by appropriately setting the threshold link number, it is possible to utilize past replacement history according to preference.

本実施の形態3は以上の如きであり、その他は実施の形態1及び2と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The third embodiment is as described above, and the others are the same as in the first and second embodiments. Therefore, the corresponding parts are denoted by the same reference numerals, and detailed description thereof is omitted.

実施の形態4
図39は上述した形態のパーソナルコンピュータ1の動作を示す機能ブロック図である。CPU11が制御プログラム15P等を実行することにより、パーソナルコンピュータ1は以下のように動作する。パーソナルコンピュータ1は検出部101、記憶処理部102、及び抽出部103等を含む。検出部101は表示部14に表示された一のオブジェクトTが記憶部15に記憶された他のオブジェクトTへ置換されたか否かを検出する。記憶処理部102は検出部101により置換されたことを検出した場合に、他のオブジェクトT及び一のオブジェクトTを関連付けて記憶部15に記憶する。抽出部103は一のオブジェクトTが表示部14に表示される場合に、記憶部15を参照し他のオブジェクトTを抽出する。
Embodiment 4
FIG. 39 is a functional block diagram showing the operation of the personal computer 1 of the above-described form. When the CPU 11 executes the control program 15P and the like, the personal computer 1 operates as follows. The personal computer 1 includes a detection unit 101, a storage processing unit 102, an extraction unit 103, and the like. The detection unit 101 detects whether one object T displayed on the display unit 14 has been replaced with another object T stored in the storage unit 15. When the storage processing unit 102 detects that the replacement is performed by the detection unit 101, the storage processing unit 102 associates the other object T with the one object T and stores them in the storage unit 15. When one object T is displayed on the display unit 14, the extraction unit 103 refers to the storage unit 15 and extracts another object T.

図40は実施の形態4に係るパーソナルコンピュータ1のハードウェア群を示すブロック図である。パーソナルコンピュータ1を動作させるためのプログラムは、ディスクドライブ等の読み取り部10AにCD-ROM、DVD(Digital Versatile Disc)ディスクまたはUSBメモリ等の可搬型記録媒体1Aを読み取らせて記憶部15に記憶しても良い。また当該プログラムを記憶したフラッシュメモリ等の半導体メモリ1Bをパーソナルコンピュータ1内に実装しても良い。さらに、当該プログラムは、インターネット等の通信網Nを介して接続される他のサーバコンピュータ(図示せず)からダウンロードすることも可能である。以下に、その内容を説明する。   FIG. 40 is a block diagram illustrating a hardware group of the personal computer 1 according to the fourth embodiment. A program for operating the personal computer 1 is stored in the storage unit 15 by causing the reading unit 10A such as a disk drive to read the portable recording medium 1A such as a CD-ROM, a DVD (Digital Versatile Disc) disk, or a USB memory. May be. Further, a semiconductor memory 1B such as a flash memory storing the program may be mounted in the personal computer 1. Further, the program can be downloaded from another server computer (not shown) connected via a communication network N such as the Internet. The contents will be described below.

図40に示すパーソナルコンピュータ1は、上述した各種ソフトウェア処理を実行するプログラムを、可搬型記録媒体1Aまたは半導体メモリ1Bから読み取り、或いは、通信網Nを介して他のサーバコンピュータ(図示せず)からダウンロードする。当該プログラムは、制御プログラム15Pとしてインストールされ、RAM12にロードして実行される。これにより、上述したパーソナルコンピュータ1として機能する。   The personal computer 1 shown in FIG. 40 reads a program for executing the above-described various software processes from the portable recording medium 1A or the semiconductor memory 1B or from another server computer (not shown) via the communication network N. to download. The program is installed as the control program 15P, loaded into the RAM 12, and executed. Thereby, it functions as the personal computer 1 described above.

本実施の形態4は以上の如きであり、その他は実施の形態1乃至3と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The fourth embodiment is as described above, and the others are the same as in the first to third embodiments. Therefore, the corresponding parts are denoted by the same reference numerals, and detailed description thereof is omitted.

以上の実施の形態1乃至4を含む実施形態に関し、さらに以下の付記を開示する。   The following additional notes are further disclosed with respect to the embodiments including the first to fourth embodiments.

(付記1)
制御部及び表示部を有するコンピュータにより情報処理を行うプログラムにおいて、
コンピュータに、
前記表示部に表示された一のオブジェクトが記憶部に一時的に記憶された他のオブジェクトへ置換されたか否かを前記制御部により検出し、
置換されたことを検出した場合に、前記制御部により前記他のオブジェクト及び一のオブジェクトを関連付けて記憶部に記憶し、
前記一のオブジェクトが前記表示部に表示される場合に、前記制御部により前記記憶部を参照し、前記一のオブジェクトに関連付けられた他のオブジェクトを抽出する
処理を実行させるプログラム。
(Appendix 1)
In a program for performing information processing by a computer having a control unit and a display unit,
On the computer,
The control unit detects whether one object displayed on the display unit is replaced with another object temporarily stored in the storage unit,
When the replacement is detected, the control unit associates the other object and the one object and stores them in the storage unit,
A program that, when the one object is displayed on the display unit, refers to the storage unit by the control unit and extracts another object associated with the one object.

(付記2)
前記一のオブジェクトを前記制御部により抽出した前記他のオブジェクトへ置換し、
置換された前記他のオブジェクトを前記制御部により前記表示部に表示する
付記1に記載のプログラム。
(Appendix 2)
Replacing the one object with the other object extracted by the control unit;
The program according to claim 1, wherein the replaced other object is displayed on the display unit by the control unit.

(付記3)
記憶する処理は、
置換されたことを検出した場合に、前記制御部により前記他のオブジェクトのハッシュ値と、前記一のオブジェクトのハッシュ値とを算出し、
前記制御部により前記他のオブジェクト及び該他のオブジェクトのハッシュ値と、一のオブジェクト及び一のオブジェクトのハッシュ値とを関連付けて記憶する
付記1または2に記載のプログラム。
(Appendix 3)
The process to remember is
When the replacement is detected, the control unit calculates a hash value of the other object and a hash value of the one object,
The program according to claim 1 or 2, wherein the control unit associates and stores the other object and the hash value of the other object, and the one object and the hash value of the one object.

(付記4)
記憶する処理は、
他のオブジェクトのハッシュ値に対応付けて該他のオブジェクトのサムネイルを記憶する
付記3に記載のプログラム。
(Appendix 4)
The process to remember is
The program according to attachment 3, wherein thumbnails of other objects are stored in association with hash values of the other objects.

(付記5)
記憶する処理は、
一のオブジェクトのハッシュ値に対応付けて該一のオブジェクトのサムネイルを記憶する
付記4に記載のプログラム。
(Appendix 5)
The process to remember is
The program according to claim 4, wherein the thumbnail of the one object is stored in association with the hash value of the one object.

(付記6)
記憶する処理は、
置換されたことを検出した場合に、他のオブジェクトのハッシュ値に対応付けて日時を記憶し、
置換されたことを検出した場合に、一のオブジェクトのハッシュ値に対応付けて日時を記憶する
付記3乃至5のいずれか一つに記載のプログラム。
(Appendix 6)
The process to remember is
When it is detected that it has been replaced, it stores the date and time in association with the hash value of the other object,
The program according to any one of appendices 3 to 5, wherein when the replacement is detected, the date and time is stored in association with the hash value of one object.

(付記7)
記憶する処理は、
他のオブジェクトのハッシュ値に対応付けて該他のオブジェクトの属性を記憶し、
一のオブジェクトのハッシュ値に対応付けて該一のオブジェクトの属性を記憶する
付記3乃至6のいずれか一つに記載のプログラム。
(Appendix 7)
The process to remember is
Store the attribute of the other object in association with the hash value of the other object,
The program according to any one of appendices 3 to 6, which stores an attribute of the one object in association with a hash value of the one object.

(付記8)
オブジェクトはテキストデータを含み、
記憶する処理は、
他のオブジェクトのハッシュ値に対応付けて該他のオブジェクトのテキストデータの一部を記憶する
付記3乃至7のいずれか一つに記載のプログラム。
(Appendix 8)
The object contains text data,
The process to remember is
The program according to any one of appendices 3 to 7, wherein a part of text data of the other object is stored in association with a hash value of the other object.

(付記9)
オブジェクトはテキストデータを含み、
記憶する処理は、
一のオブジェクトのハッシュ値に対応付けて該一のオブジェクトのテキストデータの一部を記憶する
付記3乃至8のいずれか一つに記載のプログラム。
(Appendix 9)
The object contains text data,
The process to remember is
The program according to any one of appendices 3 to 8, wherein a part of text data of the one object is stored in association with a hash value of the one object.

(付記10)
抽出する処理は、
前記一のオブジェクトが前記表示部に表示される場合、該一のオブジェクトのハッシュ値を算出し、
記憶部を参照し、前記一のオブジェクトのハッシュ値に対応する他のオブジェクトのハッシュ値を抽出する
付記3乃至9のいずれか一つに記載のプログラム。
(Appendix 10)
The process to extract is
When the one object is displayed on the display unit, a hash value of the one object is calculated,
The program according to any one of appendices 3 to 9, wherein a storage unit is referenced to extract a hash value of another object corresponding to the hash value of the one object.

(付記11)
記憶部を参照し、前記一のオブジェクトのハッシュ値に対応する他のオブジェクトのハッシュ値に係るサムネイルを前記表示部に表示する
付記10に記載のプログラム。
(Appendix 11)
The program according to claim 10, wherein a thumbnail related to a hash value of another object corresponding to the hash value of the one object is displayed on the display unit with reference to the storage unit.

(付記12)
記憶部を参照し、前記一のオブジェクトのハッシュ値に対応する他のオブジェクトのハッシュ値に係る属性を前記表示部に表示する
付記10に記載のプログラム。
(Appendix 12)
The program according to claim 10, wherein a storage unit is referred to and an attribute relating to a hash value of another object corresponding to the hash value of the one object is displayed on the display unit.

(付記13)
記憶部を参照し、前記一のオブジェクトのハッシュ値に対応する他のオブジェクトのハッシュ値に係るテキストデータの一部を表示部に表示する
付記10に記載のプログラム。
(Appendix 13)
The program according to claim 10, wherein a part of text data related to a hash value of another object corresponding to the hash value of the one object is displayed on the display unit with reference to the storage unit.

(付記14)
前記一のオブジェクトのハッシュ値に関連する他のオブジェクトのハッシュ値が記憶部に複数記憶されている場合、前記他のオブジェクトのハッシュ値に対応付けて記憶部に記憶した日時に基づいて順に表示部に表示する
付記10乃至13のいずれか一つに記載のプログラム。
(Appendix 14)
When a plurality of hash values of other objects related to the hash value of the one object are stored in the storage unit, the display unit sequentially in accordance with the date and time stored in the storage unit in association with the hash value of the other object The program according to any one of appendices 10 to 13, which is displayed on the screen.

(付記15)
抽出された他のオブジェクトのハッシュ値に係るサムネイルまたは属性が表示部に表示されている場合に、サムネイルまたは属性の選択を受け付け、
受け付けたサムネイルまたは属性に係るハッシュ値に対応する他のオブジェクトを抽出する
付記10乃至14のいずれか一つに記載のプログラム。
(Appendix 15)
When a thumbnail or attribute related to the hash value of another extracted object is displayed on the display unit, the selection of the thumbnail or attribute is accepted,
The program according to any one of appendices 10 to 14, which extracts another object corresponding to the received thumbnail or hash value related to the attribute.

(付記16)
前記他のオブジェクトが抽出され前記一のオブジェクトが前記他のオブジェクトへ置換された場合に、記憶部に記憶した前記他のオブジェクトのハッシュ値に対応する日時を更新する
付記14または15に記載のプログラム。
(Appendix 16)
The program according to claim 14 or 15, wherein when the other object is extracted and the one object is replaced with the other object, the date and time corresponding to the hash value of the other object stored in the storage unit is updated. .

(付記17)
記憶する処理は、
置換されたことを検出した場合に、前記他のオブジェクトのハッシュ値及び置換先であることを示す置換先情報と、前記一のオブジェクトのハッシュ値及び置換元であることを示す置換元情報とを対応付けて記憶し、
前記他のオブジェクトのハッシュ値及び置換元情報と、前記一のオブジェクトのハッシュ値及び置換先情報とを対応付けて記憶する
付記3乃至16のいずれか一つに記載のプログラム。
(Appendix 17)
The process to remember is
When it is detected that the object has been replaced, a hash value of the other object and replacement destination information indicating that the replacement object is a replacement destination information and a hash value of the one object and replacement source information indicating a replacement source are included. Memorize it,
The program according to any one of appendices 3 to 16, which stores the hash value and replacement source information of the other object, and the hash value and replacement destination information of the one object in association with each other.

(付記18)
記憶部に記憶した閾値を読み出し、
前記記憶部に記憶した複数のオブジェクトのハッシュ値間の対応関係に基づき、一のオブジェクトのハッシュ値から他のオブジェクトのハッシュ値へ至るまでのリンク数が閾値以下の他のオブジェクトのハッシュ値を抽出する
付記17に記載のプログラム。
(Appendix 18)
Read the threshold stored in the storage unit,
Based on the correspondence between hash values of a plurality of objects stored in the storage unit, the hash value of another object whose number of links from the hash value of one object to the hash value of another object is equal to or less than a threshold is extracted. The program according to appendix 17.

(付記19)
記憶部を参照し、抽出した他のオブジェクトのハッシュ値に対応するサムネイル、属性またはテキストデータを表示部に表示する
付記18に記載のプログラム。
(Appendix 19)
The program according to appendix 18, wherein the storage unit is referred to, and the thumbnail, attribute, or text data corresponding to the extracted hash value of the other object is displayed on the display unit.

(付記20)
情報処理を行う情報処理装置において、
表示部に表示された一のオブジェクトが記憶部に一時的に記憶された他のオブジェクトへ置換されたか否かを検出する検出部と、
該検出部により置換されたことを検出した場合に、前記他のオブジェクト及び一のオブジェクトを関連付けて記憶部に記憶する記憶処理部と、
前記一のオブジェクトが前記表示部に表示される場合に、前記記憶部を参照し、前記一のオブジェクトに関連付けられた他のオブジェクトを抽出する抽出部と
を備える情報処理装置。
(Appendix 20)
In an information processing apparatus that performs information processing,
A detection unit for detecting whether one object displayed on the display unit is replaced with another object temporarily stored in the storage unit;
A storage processing unit that associates and stores the other object and the one object in the storage unit when it is detected that the detection unit has replaced the object;
An information processing apparatus comprising: an extraction unit configured to refer to the storage unit and extract another object associated with the one object when the one object is displayed on the display unit.

1 パーソナルコンピュータ
1A 可搬型記録媒体
1B 半導体メモリ
10A 読み取り部
11 CPU
12 RAM
13 入力部
14 表示部
15 記憶部
15P 制御プログラム
16 通信部
18 時計部
101 検出部
102 記憶処理部
103 抽出部
151 文例ファイル
152 退避テーブル
153 オブジェクトテーブル
154 リンクテーブル
155 リンクワークテーブル
A、A1、A2 アプリケーション
L1 文例候補
L2 リンク欄
L3 サムネイル
L4 一部文字データ
T、T1、T2 オブジェクト
N 通信網
DESCRIPTION OF SYMBOLS 1 Personal computer 1A Portable recording medium 1B Semiconductor memory 10A Reading part 11 CPU
12 RAM
DESCRIPTION OF SYMBOLS 13 Input part 14 Display part 15 Storage part 15P Control program 16 Communication part 18 Clock part 101 Detection part 102 Storage processing part 103 Extraction part 151 Example sentence file 152 Saving table 153 Object table 154 Link table 155 Link work table A, A1, A2 Application L1 Example sentence candidate L2 Link field L3 Thumbnail L4 Partial character data T, T1, T2 Object N Communication network

Claims (5)

制御部及び表示部を有するコンピュータにより情報処理を行うプログラムにおいて、
コンピュータに、
前記表示部に表示された一のオブジェクトが記憶部に一時的に記憶された他のオブジェクトへ置換されたか否かを前記制御部により検出し、
置換されたことを検出した場合に、前記制御部により前記他のオブジェクト及び一のオブジェクトを関連付けて記憶部に記憶し、
前記一のオブジェクトが前記表示部に表示される場合に、前記制御部により前記記憶部を参照し、前記一のオブジェクトに関連付けられた他のオブジェクトを抽出する
処理を実行させるプログラム。
In a program for performing information processing by a computer having a control unit and a display unit,
On the computer,
The control unit detects whether one object displayed on the display unit is replaced with another object temporarily stored in the storage unit,
When the replacement is detected, the control unit associates the other object and the one object and stores them in the storage unit,
A program that, when the one object is displayed on the display unit, refers to the storage unit by the control unit and extracts another object associated with the one object.
前記一のオブジェクトを前記制御部により抽出した前記他のオブジェクトへ置換し、
置換された前記他のオブジェクトを前記制御部により前記表示部に表示する
請求項1に記載のプログラム。
Replacing the one object with the other object extracted by the control unit;
The program according to claim 1, wherein the replaced other object is displayed on the display unit by the control unit.
記憶する処理は、
置換されたことを検出した場合に、前記制御部により前記他のオブジェクトのハッシュ値と、前記一のオブジェクトのハッシュ値とを算出し、
前記制御部により前記他のオブジェクト及び該他のオブジェクトのハッシュ値と、一のオブジェクト及び一のオブジェクトのハッシュ値とを関連付けて記憶する
請求項1または2に記載のプログラム。
The process to remember is
When the replacement is detected, the control unit calculates a hash value of the other object and a hash value of the one object,
The program according to claim 1 or 2, wherein the control unit stores the other object and the hash value of the other object in association with one object and the hash value of the one object.
記憶する処理は、
他のオブジェクトのハッシュ値に対応付けて該他のオブジェクトのサムネイルを記憶する
請求項3に記載のプログラム。
The process to remember is
The program according to claim 3, wherein a thumbnail of the other object is stored in association with a hash value of the other object.
情報処理を行う情報処理装置において、
表示部に表示された一のオブジェクトが記憶部に一時的に記憶された他のオブジェクトへ置換されたか否かを検出する検出部と、
該検出部により置換されたことを検出した場合に、前記他のオブジェクト及び一のオブジェクトを関連付けて記憶部に記憶する記憶処理部と、
前記一のオブジェクトが前記表示部に表示される場合に、前記記憶部を参照し、前記一のオブジェクトに関連付けられた他のオブジェクトを抽出する抽出部と
を備える情報処理装置。
In an information processing apparatus that performs information processing,
A detection unit for detecting whether one object displayed on the display unit is replaced with another object temporarily stored in the storage unit;
A storage processing unit that associates and stores the other object and the one object in the storage unit when it is detected that the detection unit has replaced the object;
An information processing apparatus comprising: an extraction unit configured to refer to the storage unit and extract another object associated with the one object when the one object is displayed on the display unit.
JP2011059843A 2011-03-17 2011-03-17 Program and information processing apparatus Expired - Fee Related JP5672094B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011059843A JP5672094B2 (en) 2011-03-17 2011-03-17 Program and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011059843A JP5672094B2 (en) 2011-03-17 2011-03-17 Program and information processing apparatus

Publications (2)

Publication Number Publication Date
JP2012194920A true JP2012194920A (en) 2012-10-11
JP5672094B2 JP5672094B2 (en) 2015-02-18

Family

ID=47086715

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011059843A Expired - Fee Related JP5672094B2 (en) 2011-03-17 2011-03-17 Program and information processing apparatus

Country Status (1)

Country Link
JP (1) JP5672094B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6004A (en) * 1849-01-09 chinnqck
US8012A (en) * 1851-04-01 Improved machine for forming a lock on sheet metal
JPH10105453A (en) * 1996-08-08 1998-04-24 Fuji Xerox Co Ltd Data repeater, server and information terminal equipment
JP2000163602A (en) * 1998-11-26 2000-06-16 Hitachi Ltd Input history storage device
JP2006059191A (en) * 2004-08-20 2006-03-02 Canon Inc Data processing system, data processing method and program
JP2008129905A (en) * 2006-11-22 2008-06-05 Fujifilm Corp Scrapbook server, its control method and its control program
JP2009015743A (en) * 2007-07-09 2009-01-22 Fujifilm Corp Document creation support system, document creation support method, and document creation support program
JP2011034504A (en) * 2009-08-05 2011-02-17 Canon Inc Document processing device, document processing method, program, and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6004A (en) * 1849-01-09 chinnqck
US8012A (en) * 1851-04-01 Improved machine for forming a lock on sheet metal
JPH10105453A (en) * 1996-08-08 1998-04-24 Fuji Xerox Co Ltd Data repeater, server and information terminal equipment
US6047313A (en) * 1996-08-08 2000-04-04 Fuji Xerox Co., Ltd. Data routing apparatus, server and data terminal equipment
JP2000163602A (en) * 1998-11-26 2000-06-16 Hitachi Ltd Input history storage device
JP2006059191A (en) * 2004-08-20 2006-03-02 Canon Inc Data processing system, data processing method and program
JP2008129905A (en) * 2006-11-22 2008-06-05 Fujifilm Corp Scrapbook server, its control method and its control program
JP2009015743A (en) * 2007-07-09 2009-01-22 Fujifilm Corp Document creation support system, document creation support method, and document creation support program
JP2011034504A (en) * 2009-08-05 2011-02-17 Canon Inc Document processing device, document processing method, program, and storage medium

Also Published As

Publication number Publication date
JP5672094B2 (en) 2015-02-18

Similar Documents

Publication Publication Date Title
KR101614178B1 (en) Annotating webpage content
CN111417949B (en) Content-based transformation of digital documents
US20170161279A1 (en) Content Authoring
JP7395475B2 (en) System and method for generating and editing text content in a website construction system
US20130111324A1 (en) Theming Engine
JP2008257444A (en) Similar file management device, method therefor and program therefor
US7284006B2 (en) Method and apparatus for browsing document content
US20200183884A1 (en) Content-aware search suggestions
US8584011B2 (en) Document representation transitioning
JP2008282305A (en) Method for associating comment data
Mika Microsearch: An Interface for Semantic Search.
JP2020173779A (en) Identifying sequence of headings in document
JP6262708B2 (en) Document detection method for detecting original electronic files from hard copy and objectification with deep searchability
JP4566196B2 (en) Document processing method and apparatus
US10579707B2 (en) Method for inferring blocks of text in electronic documents
TW201337610A (en) Methods for parsing content of document, handheld electronic apparatus and computer program product thereof
US20140289247A1 (en) Annotation search apparatus and method
JP4627530B2 (en) Document processing method and apparatus
JP2013020395A (en) Information processing apparatus, information processing method and program
JP5672094B2 (en) Program and information processing apparatus
JP2006163998A (en) Auxiliary device for recalling search keyword and auxiliary program for recalling search keyword
US9946698B2 (en) Inserting text and graphics using hand markup
US20220138407A1 (en) Document Writing Assistant with Contextual Search Using Knowledge Graphs
Sabri et al. WEIDJ: An improvised algorithm for image extraction from web pages
JP2005129086A (en) Document editing device, and recording medium with document editing processing program recorded thereon

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131129

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140909

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141208

R150 Certificate of patent or registration of utility model

Ref document number: 5672094

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees