JP6965480B1 - Data management equipment, data management methods and programs - Google Patents
Data management equipment, data management methods and programs Download PDFInfo
- Publication number
- JP6965480B1 JP6965480B1 JP2020107994A JP2020107994A JP6965480B1 JP 6965480 B1 JP6965480 B1 JP 6965480B1 JP 2020107994 A JP2020107994 A JP 2020107994A JP 2020107994 A JP2020107994 A JP 2020107994A JP 6965480 B1 JP6965480 B1 JP 6965480B1
- Authority
- JP
- Japan
- Prior art keywords
- text file
- information
- text
- edit
- editing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
【課題】関連するテキストファイルのテキストデータに不整合が発生しないように、関連するテキストファイルを編集することが可能であるデータ管理装置、データ管理方法及びプログラムを提供する。【解決手段】データ管理システム1において、データ管理装置2は、第1のテキストファイルと第2のテキストファイルとが作成され、第2のテキストファイルに第1メタ情報が対応付けられ、第1のテキストファイルを編集する。データ管理装置2は、第2の編集の内容を表す情報を生成するインタフェース22と、第1のテキストファイルの識別情報と第1の編集に関する情報とを含む第1メタ情報を取得し、第1のテキストファイルの識別情報に基づいて第1のテキストファイルを取得し、第1の編集に関する情報に基づいて第1の編集の内容に関する情報を取得し、第1の編集の内容と第2の編集の内容とに基づいて第1のテキストファイルを編集する管理部24と、を備える。【選択図】図1PROBLEM TO BE SOLVED: To provide a data management device, a data management method and a program capable of editing a related text file so that the text data of the related text file does not become inconsistent. SOLUTION: In a data management system 1, a data management device 2 creates a first text file and a second text file, the second text file is associated with the first meta information, and the first text file is associated with the first text file. Edit the text file. The data management device 2 acquires the first meta information including the interface 22 for generating the information representing the content of the second edit, the identification information of the first text file, and the information related to the first edit, and the first. The first text file is acquired based on the identification information of the text file, the information on the content of the first edit is acquired based on the information on the first edit, and the content of the first edit and the second edit are obtained. The management unit 24, which edits the first text file based on the contents of the above, is provided. [Selection diagram] Fig. 1
Description
本発明は、データ管理装置、データ管理方法及びプログラムに関する。 The present invention relates to a data management device, a data management method and a program.
音声認識技術及び自然言語処理技術の発展に伴い、様々な価値をテキストデータが提供する機会が増加している。また、テキストデータを含むテキストファイルの保管方法の多様化や、複数人が協同してテキストデータを編集するという機会の増加に応じて、関連するテキストファイルが様々な場所に保管されるようになった。また、関連するテキストファイルが編集される頻度も増加している。 With the development of speech recognition technology and natural language processing technology, there are increasing opportunities for text data to provide various values. In addition, with the diversification of storage methods for text files containing text data and the increasing opportunities for multiple people to collaborate and edit text data, related text files are now stored in various locations. rice field. Also, the frequency with which related text files are edited is increasing.
特許文献1には、関連する文書を日付に基づいて効率的に検索できる仕組みを提供することを目的とした文書管理システムが開示されている。特許文献1に開示された文書管理システムは、バージョン管理された文書に対する編集を管理することによって、ある文書に対してどのような編集が行われたのかを検索することができる。
しかしながら、関連するテキストファイルが編集されることによって、関連するテキストファイルの間のテキストデータに不整合が発生する場合がある。例えば、第1テキストファイルと、第1テキストファイルに基づいて作成された第2テキストファイルとのうちの一方のみを、例えば人名について編集した場合、第1テキストファイルに記載の人名と第2テキストファイルに記載の人名とで、同一人物の人名であるにもかかわらず、人手による編集漏れによって不整合が発生してしまう場合がある。 However, editing the associated text file can lead to inconsistencies in the text data between the associated text files. For example, when only one of the first text file and the second text file created based on the first text file is edited, for example, for a person's name, the person's name and the second text file described in the first text file are edited. Inconsistencies may occur due to omission of manual editing even though the names are the same as those described in.
また例えば、所定の「製品X」の「機能A」と、所定の「製品Y」の「機能A」とは、同じ文字列のテキストデータ「機能A」であっても、「機能A」同士で異なる意味を持っている場合がある。このよう場合において、異なる意味を持つ同じ文字列のテキストデータが同じ意味を持つ同じ文字列のテキストデータして扱われ、誤った編集が行われてしまうことで不整合が発生してしまう場合がある。 Further, for example, even if the "function A" of the predetermined "product X" and the "function A" of the predetermined "product Y" are the text data "function A" of the same character string, the "function A" are mutual. May have different meanings. In such a case, text data of the same character string having different meanings may be treated as text data of the same character string having the same meaning, and inconsistency may occur due to erroneous editing. be.
これらのような不整合を防ぐためには、関連するテキストファイルを漏れなく人が編集しなければならないが、関連するテキストファイルの個数及びデータ量が多いほど、漏れなく人が編集することは難しい。このように従来では、関連するテキストファイルのテキストデータに不整合が発生しないように、関連するテキストファイルを編集することができない場合がある。 In order to prevent such inconsistencies, the related text files must be edited by a person without omission, but the larger the number of related text files and the amount of data, the more difficult it is for a person to edit without omission. As described above, in the past, it may not be possible to edit the related text file so that the text data of the related text file does not become inconsistent.
上記事情に鑑み、本発明は、関連するテキストファイルのテキストデータに不整合が発生しないように、関連するテキストファイルを編集することが可能であるデータ管理装置、データ管理方法及びプログラムを提供することを目的としている。 In view of the above circumstances, the present invention provides a data management device, a data management method and a program capable of editing a related text file so that the text data of the related text file does not become inconsistent. It is an object.
本発明の一態様は、第1のテキストファイルに対して第1の編集が実行された結果として第2のテキストファイルが作成されており、前記第2のテキストファイルに第1メタ情報が対応付けられており、前記第1のテキストファイルを編集するデータ管理装置であって、前記第2のテキストファイルに対して実行された第2の編集の内容を表す情報を生成するインタフェースと、前記第1のテキストファイルの識別情報と前記第1の編集に関する情報とを含む前記第1メタ情報を取得し、前記第1のテキストファイルの識別情報に基づいて前記第1のテキストファイルを取得し、前記第1の編集に関する情報に基づいて前記第1の編集の内容に関する情報を取得し、前記第1の編集の内容と第2の編集の内容とに基づいて前記第1のテキストファイルを編集する管理部とを備えるデータ管理装置である。
In one aspect of the present invention, a second text file is created as a result of performing the first editing on the first text file, and the first meta information is associated with the second text file. A data management device for editing the first text file, an interface for generating information representing the contents of the second edit performed on the second text file, and the first. The first meta information including the identification information of the text file and the information related to the first editing is acquired, the first text file is acquired based on the identification information of the first text file, and the first text file is acquired. A management unit that acquires information on the content of the first edit based on the information on the
本発明の一態様は、第1のテキストファイルに対して第1の編集が実行された結果として第2のテキストファイルが作成されており、前記第2のテキストファイルに第1メタ情報が対応付けられており、前記第1のテキストファイルを編集するデータ管理装置が実行するデータ管理方法であって、前記第2のテキストファイルに対して実行された第2の編集の内容を表す情報を生成するステップと、前記第1のテキストファイルの識別情報と前記第1の編集に関する情報とを含む前記第1メタ情報を取得し、前記第1のテキストファイルの識別情報に基づいて前記第1のテキストファイルを取得し、前記第1の編集に関する情報に基づいて前記第1の編集の内容に関する情報を取得し、前記第1の編集の内容と第2の編集の内容とに基づいて前記第1のテキストファイルを編集するステップとを含むデータ管理方法である。 In one aspect of the present invention, a second text file is created as a result of performing the first editing on the first text file, and the first meta information is associated with the second text file. It is a data management method executed by the data management device that edits the first text file, and generates information representing the contents of the second edit executed on the second text file. The first meta information including the step, the identification information of the first text file, and the information regarding the first editing is acquired, and the first text file is obtained based on the identification information of the first text file. Is acquired, information on the content of the first edit is acquired based on the information on the first edit, and the first text is based on the content of the first edit and the content of the second edit. A data management method that includes steps to edit the file.
本発明の一態様は、上記のデータ管理装置としてコンピュータを機能させるためのプログラムである。 One aspect of the present invention is a program for operating a computer as the above-mentioned data management device.
本発明により、関連するテキストファイルのテキストデータに不整合が発生しないように、関連するテキストファイルを編集することが可能である。 According to the present invention, it is possible to edit a related text file so that the text data of the related text file is not inconsistent.
本発明の実施形態について、図面を参照して詳細に説明する。
図1は、データ管理システム1の構成例を示す図である。データ管理システム1は、関連するテキストファイルのテキストデータに対する編集を管理するシステムである。この「編集」には、テキストデータの作成、削除、抽出及び加工(例えば、追記、フォント変更)等の制御が含まれる。データ管理システム1は、関連するテキストファイルのテキストデータに不整合が発生しないように、関連するテキストファイルを編集することが可能である。
Embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram showing a configuration example of a
データ管理システム1は、データ管理装置2と、通信回線3と、M(Mは1以上の整数)台のユーザ端末4(情報処理端末)とを備える。データ管理装置2は、通信部20と、第1記憶部21と、インタフェース22と、第2記憶部23と、管理部24とを備える。
The
データ管理装置2の各機能部のうちの少なくとも一部は、サーバ等のコンピュータにおける、CPU(Central Processing Unit)等のプロセッサが、記憶部に記憶されたプログラムを実行することにより実現される。記憶部は、例えばフラッシュメモリ、HDD(Hard Disk Drive)などの不揮発性の記録媒体(非一時的な記録媒体)が好ましい。記憶部は、RAM(Random Access Memory)などの揮発性の記録媒体を備えてもよい。データ管理装置2の各機能部のうちの少なくとも一部は、例えば、LSI(Large Scale Integrated circuit)やASIC(Application Specific Integrated Circuit)等のハードウェア(電子回路)を用いて実現されてもよい。
At least a part of each functional unit of the
以下、編集に関するメタ情報を「編集メタ情報」という。以下、編集の内容を表す情報を「編集内容情報」という。編集の実行前のテキストデータを「編集前テキスト」という。以下では、編集の内容は、テキストファイルに対して実行される制御関数の定義として定められる。以下、編集の実行後のテキストデータを「編集後テキスト」という。 Hereinafter, the meta information related to editing is referred to as "editing meta information". Hereinafter, the information representing the content of editing is referred to as "edited content information". The text data before the execution of editing is called "text before editing". In the following, the content of the edit is defined as the definition of the control function executed on the text file. Hereinafter, the text data after the execution of editing is referred to as "text after editing".
以下では、ユーザ端末4−1からユーザ端末4−Mまでの各ユーザ端末に共通する事項については、符号の記載の一部を省略して、「ユーザ端末4」と表記する。ユーザ端末4は、通信部20を経由して、通信部20と通信する。ユーザ端末4は、ユーザによる操作に応じて、テキストファイルを通信部20に送信する。送信されたテキストファイルは、第1記憶部21に記憶される。
In the following, items common to each user terminal from the user terminal 4-1 to the user terminal 4-M will be referred to as "
ユーザ端末4は、ユーザによる操作に応じて通信部20及びインタフェース22を経由して、第1記憶部21にテキストファイルを記録する。ユーザ端末4は、ユーザによる操作に応じて通信部20及びインタフェース22を経由して、第1記憶部21に記憶されているテキストファイルを編集する。
The
通信部20は、通信回線3を経由して、各ユーザ端末4と通信する。通信部20は、ユーザ端末4から受信されたテキストファイルを、インタフェース22に出力する。通信部20は、ユーザ端末4から受信された編集内容情報を、インタフェース22に出力する。
The
第1記憶部21(テキスト・ストレージ)は、テキストファイルとテキストファイル管理情報とを記憶する。 The first storage unit 21 (text storage) stores a text file and text file management information.
インタフェース22は、ユーザ端末4から受信されたテキストファイルを、通信部20から取得する。インタフェース22は、受信されたテキストファイルを、第1記憶部21に記録する。すなわち、通信部20によってユーザ端末4から受信されたテキストファイルは、インタフェース22によって第1記憶部21に記録される。インタフェース22は、第1記憶部21に記憶されているテキストファイルごとに、テキストファイル管理情報を生成する。インタフェース22は、受信されたテキストファイルに、テキストファイル管理情報を付与する。
The
図2は、実施形態における、テキストファイルとテキストファイル管理情報との例を示す図である。図2には、テキストファイル100(音声認識結果のオリジナルのテキストファイル)と、テキストファイル101と、テキストファイル102とが、第1記憶部21に記憶されているテキストファイルとして表されている。
FIG. 2 is a diagram showing an example of a text file and text file management information in the embodiment. In FIG. 2, the text file 100 (the original text file of the voice recognition result), the
テキストファイル100は、例えば会議の音声認識結果として、ユーザ端末4によって作成されたテキストファイルである。音声認識結果として作成されたテキストファイル100には、「えーと、」及び「あー、」等の不要語が含まれている。テキストファイル101は、不要語及び不要文章(不要なテキストデータ)を削除する編集がテキストファイル100に対して実行された結果として、インタフェース22によって編集(作成)されたテキストファイルである。このため、テキストファイル101では、不要語が削除されている。テキストファイル102は、特定語を抽出する編集がテキストファイル101に対して実行された結果として、インタフェース22によって編集(作成)されたテキストファイルである。このため、テキストファイル101には、テキストファイル101から抽出された「開発方針を決定するため」及び「山田、白井」等の特定語が、所定のテンプレートに応じて含まれている。
The
また図2には、テキストファイル管理情報200と、テキストファイル管理情報201と、テキストファイル管理情報202とが、第1記憶部21に記憶されている各テキストファイル管理情報として表されている。テキストファイル管理情報200は、テキストファイル100の管理情報である。テキストファイル管理情報201は、テキストファイル101の管理情報である。テキストファイル管理情報202は、テキストファイル102の管理情報である。
Further, in FIG. 2, the text
テキストファイル100のテキストファイル管理情報200には、テキストファイル100に割り当てられているテキストIDが「1」であることと、テキストファイル100の元となっているテキストファイル(前テキスト)に割り当てられているテキストID(前テキストID)が「0」であることと、テキストファイル100の保存場所が「storage/r1」であることとが登録されている。以下では、例えば前テキストID「0」が割り当てられたテキストファイルは、オリジナルのテキストファイルである。
The text
テキストファイル101のテキストファイル管理情報201には、テキストファイル101に割り当てられているテキストIDが「2」であることと、テキストファイル101の元となっているテキストファイル100に割り当てられているテキストID(前テキストID)が「1」であることと、テキストファイル101の保存場所が「storage/r2」であることとが登録されている。
The text
テキストファイル102のテキストファイル管理情報202には、テキストファイル102に割り当てられているテキストIDが「3」であることと、テキストファイル102の元となっているテキストファイル101に割り当てられているテキストID(前テキストID)が「2」であることと、テキストファイル102の保存場所が「storage/r3」であることとが登録されている。
The text
インタフェース22は、編集内容情報を作成する。編集内容情報は、第1記憶部21に記載されているテキストファイルのテキストID(テキスト識別情報)「textID」と、テキストファイル内での編集前テキストの行番号と、テキストファイル内での編集の開始位置と、テキストファイル内での編集の終了位置と、編集前テキストと、編集後テキストとを含む。インタフェース22は、編集内容情報を管理部24に出力する。
The
図1に示された第2記憶部23(編集情報データベース)は、編集メタ情報と関数定義情報とを記憶する。 The second storage unit 23 (editing information database) shown in FIG. 1 stores the editing meta information and the function definition information.
図3は、実施形態における、編集メタ情報と関数定義情報とを示す図である。図3には、編集メタ情報300と、編集メタ情報301と、編集メタ情報302と、関数定義情報401と、関数定義情報402とが表されている。編集メタ情報300は、テキストファイル100に対する編集に関するメタ情報である。編集メタ情報301は、テキストファイル101に対する編集に関するメタ情報である。編集メタ情報302は、テキストファイル102に対する編集に関するメタ情報である。
FIG. 3 is a diagram showing editing meta information and function definition information in the embodiment. FIG. 3 shows the edit
編集メタ情報は、テキストファイルのテキストID(textID)と、編集される前のテキストファイルのテキストIDである前テキストID(prev_textID)と、テキストファイルの保存場所を表す空間情報(place)と、テキストファイルの著者情報と、テキストファイルの編集(作成)の時刻を表す時刻情報と、関数定義情報とを、編集に関する属性情報として含む。 The editing meta information includes the text ID (textID) of the text file, the previous text ID (prev_textID) which is the text ID of the text file before being edited, the spatial information (place) indicating the storage location of the text file, and the text. Includes file author information, time information indicating the time of editing (creating) a text file, and function definition information as attribute information related to editing.
関数定義情報401は、テキストファイル101に対して実行された編集の内容を表す情報である。以下では、関数定義情報401は、テキストファイル101に対して実行された編集の内容を表す情報である。関数定義情報402は、テキストファイル102に対して実行された不要なテキストデータの削除の内容を表す情報である。関数定義情報「rn」の「before」と、関数定義情報「rn」の「after」とは、互いに対応付けられている。関数定義情報「rn」の「before」と、関数定義情報「rn−1」の「after」とは、互いに対応付けられている。
The
図1に示された管理部24は、編集内容情報をインタフェース22から取得する。編集内容情報は、テキストIDと、行番号と、編集の開始位置と、編集の終了位置と、編集前テキストと、編集後テキストとを含んでいる。さらに編集内容情報は、反映条件を含んでもよい。
The
管理部24は、第1のテキストファイル(例えば、テキストファイル101)の識別情報(例えば、prev_textID)と第1の編集「r3」(例えば、特定語抽出)に関する情報(例えば、関数定義情報402)とを含む第1メタ情報として、編集メタ情報302を取得する。管理部24は、第1のテキストファイルの識別情報に基づいて、第1のテキストファイルを取得する。管理部24は、第1の編集に関する情報に基づいて、第1の編集「r3」の内容に関する情報(例えば、関数定義情報402の「before」)を取得する。管理部24は、第1の編集の内容と第2の編集の内容(例えば、「山田」→「安田部長」)とに基づいて、第1のテキストファイルを編集する。
The
管理部24は、第1のテキストファイルの元のテキストファイル(例えば、テキストファイル100)に対して実行された編集「r2」(例えば、不要語削除)に関する情報(例えば、著者情報)を含む第2メタ情報として、編集メタ情報301を取得する。管理部24は、第1のテキストファイルの元のテキストファイルに対して実行された編集に関する情報が反映条件に合致している場合、第2の編集の内容を第1のテキストファイルに反映させてもよい。第1のテキストファイルの元のテキストファイルに対して実行された編集に関する情報は、テキストデータの作成、削除、抽出及び加工のうちの少なくとも一つを表す制御情報(関数定義情報)と、第1のテキストファイルの著者情報と、第1のテキストファイルに関する時刻情報と、第1のテキストファイルの保存場所情報とのうちの少なくとも一つである。
The
次に、データ管理装置2の動作を説明する。
図4は、実施形態における、データ管理装置2の動作例を示すフローチャートである。図4では一例として、テキストID「3」のテキストファイルの第2行目(行番号「2」)における、6文字目から7文字目までの範囲で、テキストデータ「山田」がテキストデータ「安田部長」と編集されている。このため、編集内容情報は、テキストID「N=3」と、行番号「2」と、開始位置「6文字目」と、終了位置「7文字目」と、編集前テキスト「山田」と、編集後テキスト「安田部長」とを含んでいる。
Next, the operation of the
FIG. 4 is a flowchart showing an operation example of the
管理部24は、編集内容情報をインタフェース22から取得する。管理部24は、変数「n」に値「N=3」を代入する(ステップS101)。
The
管理部24は、編集内容情報のテキストID「n」のテキストファイルに付与された編集メタ情報「Mn」を、第2記憶部23から取得する。例えば、管理部24は、編集内容情報のテキストID「3」のテキストファイルに付与された編集メタ情報「M3」を、第2記憶部23から取得する(ステップS102)。
The management unit 24 acquires the editing meta information “M n ” assigned to the text file of the text ID “n” of the editing content information from the
管理部24は、編集メタ情報「Mn」の関数「func」が無効「null」であるか否かを判定する(ステップS103)。
The
編集メタ情報「Mn」の関数「func」が無効「null」である場合(ステップS103:nullである)、編集メタ情報「Mn」が付与されたテキストファイルは、オリジナルのテキストファイルである。図4では、オリジナルのテキストファイルに対してはテキストデータの変更を反映することが不要である。このため、管理部24は、図4に示された処理を終了する。
When the function "func" of the editing meta information "M n " is invalid "null" (step S103: null), the text file to which the editing meta information "M n " is added is the original text file. .. In FIG. 4, it is not necessary to reflect the change in the text data for the original text file. Therefore, the
編集メタ情報「Mn」の関数「func」が無効「null」でない場合(ステップS103:nullでない)、管理部24は、編集メタ情報「Mn」の関数定義情報「rn」を、第2記憶部23から取得する。例えば、管理部24は、編集メタ情報「M2」の関数定義情報「r2」を、第2記憶部23から取得する(ステップS104)。
If the function of editing meta information "M n" "func" is not disabled "null" (step S103: non-null), the
管理部24は、前テキストID「n−1」のテキストファイルを、第2記憶部23から取得する。例えば、管理部24は、前テキストID「2」のテキストファイル101を、第2記憶部23から取得する(ステップS105)。
The
管理部24は、前テキストID「n−1」のテキストファイルにおいて、関数定義情報「rn」の編集前内容「before」に一致する箇所の編集前テキスト「山田」を、編集後テキスト「安田部長」に変更する。例えば、管理部24は、テキストファイル101において、関数定義情報402「r3」の編集前内容「before」に一致する箇所の編集前テキスト「山田」を、編集後テキスト「安田部長」に変更する(ステップS106)。
管理部24は、関数定義情報「rn」において、編集前内容「before」の編集前テキスト「山田」を、編集後テキスト「安田部長」に変更する。例えば、管理部24は、関数定義情報401「r3」において、編集前内容「before」に記載されている編集前テキスト「山田」を、編集後テキスト「安田部長」に変更する(ステップS107)。
管理部24は、次回実行されるステップS102において編集メタ情報「Mn−1」が取得されるように、添字「n」から1を減算する(ステップS108)。管理部24は、ステップS102に処理を戻す。
The
図5は、実施形態における、変更が反映されたテキストファイルと、テキストファイル管理情報との例を示す図である。図5には、テキストファイル100(オリジナルのテキストファイル)と、変更が反映されたテキストファイル101と、編集によってテキストデータが変更されたテキストファイル102とが、第1記憶部21に記憶されている各テキストファイルとして表されている。また図5には、テキストファイル管理情報200と、テキストファイル管理情報201と、テキストファイル管理情報202とが、第1記憶部21に記憶されている各テキストファイル管理情報として表されている。
FIG. 5 is a diagram showing an example of a text file to which the change is reflected and text file management information in the embodiment. In FIG. 5, a text file 100 (original text file), a
図5では、テキストファイル102において、第2行目の編集前テキスト「山田」が編集後テキスト「安田部長」と変更されている。インタフェース22は、この編集の内容を表す編集内容情報を、管理部24に出力する。テキストファイル101において、関数定義情報「r3」の「before」に一致する第2行目の編集前テキスト「山田、参加しました。」が、編集後テキスト「安田部長、参加しました。」と変更されている。
In FIG. 5, in the
図6は、実施形態における、反映条件に応じたデータ管理装置の動作例を示すフローチャートである。図6では一例として、テキストID「3」のテキストファイルの第2行目における、6文字目から7文字目までの範囲で、テキストデータ「山田」がテキストデータ「安田部長」と編集されている。このため、編集内容情報は、テキストID「N=3」と、行番号「2」と、開始位置「6文字目」と、終了位置「7文字目」と、編集前テキスト「山田」と、編集後テキスト「安田部長」とを含んでいる。さらに、編集内容情報は、反映条件を含んでいる。 FIG. 6 is a flowchart showing an operation example of the data management device according to the reflection condition in the embodiment. In FIG. 6, as an example, the text data "Yamada" is edited as the text data "Mr. Yasuda" in the range from the 6th character to the 7th character in the second line of the text file with the text ID "3". .. Therefore, the edited content information includes the text ID "N = 3", the line number "2", the start position "6th character", the end position "7th character", and the unedited text "Yamada". Includes the edited text "Director Yasuda". Furthermore, the edited content information includes reflection conditions.
反映条件は、関連するテキストファイルに編集が反映されるために合致すべき条件である。例えば、反映条件は、テキストデータの著者の条件、テキストデータの編集(作成)の時刻の条件、又は、テキストファイルに対して実行された編集の内容(関数定義)の条件である。例えば、反映条件は、テキストに割り当てられたフォントに関する条件でもよい。編集の内容は、特定の編集の内容に限定されない。例えば、編集の内容は、音声認識結果という定義でもよいし、不要なテキストデータ(不要語、不要文章)の削除という定義でもよいし、特定のテキストデータ(特定語、特定文章)の抽出という定義でもよい。 The reflection condition is a condition that must be met in order for the edit to be reflected in the related text file. For example, the reflection condition is a condition of the author of the text data, a condition of the time of editing (creating) the text data, or a condition of the content (function definition) of the editing executed on the text file. For example, the reflection condition may be a condition related to the font assigned to the text. The content of the edit is not limited to the content of a specific edit. For example, the content of editing may be defined as a voice recognition result, deletion of unnecessary text data (unnecessary words, unnecessary sentences), or extraction of specific text data (specific words, specific sentences). But it may be.
反映条件が著者に関する条件である場合、関連するテキストファイルについて、例えば、同一の著者によって編集されたテキストデータのみが、管理部24によって編集される。反映条件が時刻に関する条件である場合、関連するテキストファイルについて、例えば、その時刻を含む所定時間内に編集されたテキストデータのみが、管理部24によって編集される。反映条件が編集の内容に関する条件である場合、関連するテキストファイルについて、例えば、同一の関数定義に基づく編集(例えば、不要なテキストデータの削除)がなされたテキストデータのみが、管理部24によって編集される。
When the reflection condition is a condition relating to the author, for the related text file, for example, only the text data edited by the same author is edited by the
管理部24は、編集内容情報をインタフェース22から取得する。管理部24は、変数「n」に値「N=3」を代入する(ステップS201)。
The
管理部24は、編集内容情報のテキストID「n」のテキストファイルに付与された編集メタ情報「Mn」を、第2記憶部23から取得する(ステップS202)。 The management unit 24 acquires the edit meta information “M n ” given to the text file of the text ID “n” of the edit content information from the second storage unit 23 (step S202).
管理部24は、編集メタ情報「Mn」の関数「func」が無効「null」であるか否かを判定する(ステップS203)。
The
編集メタ情報「Mn」の関数「func」が無効「null」である場合(ステップS203:nullである)、編集メタ情報「Mn」が付与されたテキストファイルは、オリジナルのテキストファイルである。図6では、オリジナルのテキストファイルに対してはテキストデータの変更を反映することが不要である。このため、管理部24は、図6に示された処理を終了する。
If the function of editing meta-information "Mn""func" is invalid "null" (step S203: a null), text file editing meta-information "M n" is assigned is the original text file. In FIG. 6, it is not necessary to reflect the change in the text data for the original text file. Therefore, the
編集メタ情報「Mn」の関数「func」が無効「null」でない場合(ステップS203:nullでない)、管理部24は、編集メタ情報「Mn」の関数定義情報「rn」を、第2記憶部23から取得する(ステップS204)。管理部24は、編集メタ情報「Mn−1」を、第2記憶部23から取得する(ステップS205)。
If the function of editing meta information "M n" "func" is not disabled "null" (step S203: non-null), the
管理部24は、編集メタ情報「Mn−1」の例えば著者情報等の情報が反映条件に合致しているか否かを判定する(ステップS206)。編集メタ情報「Mn−1」の著者情報等の情報が反映条件に合致していない場合(ステップS206:NO)、管理部24は、ステップS210に処理を進める。
The
編集メタ情報「Mn−1」の著者情報等の情報が反映条件に合致している場合(ステップS206:YES)、管理部24は、前テキストID「n−1」のテキストファイルにおいて、関数定義情報「rn」の編集前内容「before」に一致している箇所の編集前テキスト「山田」を、編集後テキスト「安田部長」に変更する(ステップS208)。管理部24は、関数定義情報「rn」において、編集前内容「before」に記載されている編集前テキスト「山田」を、編集後テキスト「安田部長」に変更する(ステップS208)。管理部24は、次回実行されるステップS202において編集メタ情報「Mn−1」が取得されるように、添字「n」から1を減算する(ステップS209)。管理部24は、ステップS202に処理を戻す。
When the information such as the author information of the editing meta information "M n-1 " matches the reflection condition (step S206: YES), the
図7は、実施形態における、反映条件に応じて変更が反映されたテキストファイルと、テキストファイル管理情報との例を示す図である。図7には、テキストファイル100(オリジナルのテキストファイル)と、変更が反映されていないテキストファイル101と、編集によってテキストデータが変更されたテキストファイル102とが、第1記憶部21に記憶されている各テキストファイルとして表されている。また図5には、テキストファイル管理情報200と、テキストファイル管理情報201と、テキストファイル管理情報202とが、第1記憶部21に記憶されている各テキストファイル管理情報として表されている。
FIG. 7 is a diagram showing an example of a text file in which changes are reflected according to the reflection conditions and text file management information in the embodiment. In FIG. 7, the text file 100 (original text file), the
図7では、テキストファイル102において、第2行目の編集前テキスト「山田」が編集後テキスト「安田部長」と変更されている。インタフェース22は、この編集の内容を表す編集内容情報を、管理部24に出力する。図3に示された編集メタ情報301「M2」の著者情報が「satou」であり「katou」でないため、編集メタ情報「M2」の著者情報が反映条件に合致していない。このため、テキストファイル101において、第2行目の編集前テキスト「山田、参加しました。」が編集後テキスト「安田部長、参加しました。」と変更されていない。
In FIG. 7, in the
以上のように、第1のテキストファイル(例えば、テキストファイル101)に対して第1の編集(例えば、特定語抽出)が実行された結果として、第2のテキストファイル(例えば、テキストファイル102)が作成されている。また、第2のテキストファイルに第1メタ情報(例えば、編集メタ情報302)が対応付けられている。インタフェース22は、第2のテキストファイルに対して実行された第2の編集の内容(例えば、「山田」→「安田部長」)を表す情報(編集内容情報)を生成する。管理部24は、第1のテキストファイルの識別情報(例えば、prev_textID)と第1の編集「r3」に関する情報(例えば、関数定義情報402)とを含む第1メタ情報を取得する。管理部24は、第1のテキストファイルの識別情報に基づいて、第1のテキストファイルを取得する。管理部24は、第1の編集に関する情報に基づいて、第1の編集「r3」の内容に関する情報(例えば、関数定義情報402の「before」)を取得する。管理部24は、第1の編集の内容と第2の編集の内容(例えば、「山田」→「安田部長」)とに基づいて、第1のテキストファイルを編集する。
As described above, as a result of the first editing (for example, specific word extraction) being executed for the first text file (for example, text file 101), the second text file (for example, text file 102) Has been created. Further, the first meta information (for example, editing meta information 302) is associated with the second text file. The
このように、管理部24は、第1の編集の内容と第2の編集の内容とに基づいて、第1のテキストファイルを編集する。これによって、関連するテキストファイルのテキストデータに不整合が発生しないように、関連するテキストファイルを編集することが可能である。
In this way, the
インタフェース22は、第2の編集の内容を第1のテキストファイルに反映させるか否かを定めるための条件である反映条件を生成してもよい。管理部24は、第1のテキストファイルの元のテキストファイル(例えば、テキストファイル100)に対して実行された編集「r2」(例えば、不要語削除)に関する情報(例えば、著者情報)を含む第2メタ情報として、編集メタ情報301を取得する。管理部24は、第1のテキストファイルの元のテキストファイルに対して実行された編集に関する情報が反映条件に合致している場合、第2の編集の内容を第1のテキストファイルに反映させてもよい。第1のテキストファイルの元のテキストファイルに対して実行された編集に関する情報は、テキストデータの作成、削除、抽出及び加工のうちの少なくとも一つを表す制御情報(関数定義情報)と、第1のテキストファイルの著者情報と、第1のテキストファイルに関する時刻情報と、第1のテキストファイルの保存場所情報とのうちの少なくとも一つである。
The
時刻情報と空間情報と実行された制御(関数)に関する情報と著者情報等を含む編集メタ情報がテキストファイルに付与されることによって、複数のテキストファイルの紐付けや、同一のテキスト(表記が同じである文字列等)の意味が考慮された編集が容易になる。時間的及び空間的に分散して保存されているテキストファイルを構造的に管理することが可能となる。 By adding editing meta information including time information, spatial information, information about executed control (function), author information, etc. to the text file, multiple text files can be linked and the same text (same notation). It becomes easy to edit in consideration of the meaning of (such as a character string). It is possible to structurally manage text files that are stored in a timely and spatially distributed manner.
編集メタ情報は、ユーザ端末4を操作した人の位置(空間情報)を含んでもよい。このような編集メタ情報を用いて、管理部24は、関連するテキストファイルにおいて編集を反映させる範囲を、ユーザ端末4を操作した人の位置に基づいて制御することが可能である。
The editing meta information may include the position (spatial information) of the person who operated the
編集メタ情報は、テキストファイルが保存されているフォルダの位置情報(空間情報)を含んでもよい。このような編集メタ情報を用いて、管理部24は、関連するテキストファイルにおいて編集を反映させる範囲を、テキストファイルが保存されているフォルダの位置に基づいて制御することが可能である。
The editing meta information may include location information (spatial information) of the folder in which the text file is saved. Using such editing meta information, the
ユーザ端末4による一度の編集作業によって、関連するテキストファイルを管理部24が一度に編集することが可能である。編集漏れ等の誤編集を回避することが可能である。テキストファイルの編集の効率を向上させることが可能である。テキストファイルの管理の構造化によって、編集処理の制御プログラムの効率的な実装が可能である。
The
関連するテキストファイルのテキストデータを検索することが可能なだけでなく、関連するテキストファイルに変更を漏れなく反映することが可能である。また、編集の内容に関しても、ユーザによって定義した関数(制御)を用いてデータ管理装置2がテキストファイルを編集することが可能である。
Not only is it possible to search the text data of the related text file, but it is also possible to reflect the changes in the related text file without omission. Further, regarding the content of editing, the
(変形例)
テキストファイルは、複数のテキストファイルに基づいて作成されてもよい。これらの複数のテキストファイルに対して、互いに異なる編集(関数の実行)が成されてもよい。
(Modification example)
The text file may be created based on a plurality of text files. Different edits (execution of functions) may be made to these plurality of text files.
図8は、実施形態の変形例において、複数のテキストファイルに基づいて作成されたテキストファイルの例を示す図である。図8には、テキストファイル500と、テキストファイル501と、テキストファイル502と、テキストファイル503と、テキストファイル504とが、第1記憶部21に記憶されている各テキストファイルとして表されている。
FIG. 8 is a diagram showing an example of a text file created based on a plurality of text files in a modified example of the embodiment. In FIG. 8, a
テキストファイル500は、製品「X」の開発案を表すテキストデータを含む。テキストファイル501は、製品「Y」の開発案を表すテキストデータを含む。テキストファイル502は、製品「X」の仕様と製品「Y」の仕様書を表すテキストデータを含む。テキストファイル503は、製品「X」の設計書を表すテキストデータを含む。テキストファイル504は、製品「Y」の設計書を表すテキストデータを含む。
The
テキストファイル500とテキストファイル501という複数のテキストファイルに対して、仕様書テンプレートに書式を合わせるという編集が成される(関数が実行される)ことによって、テキストファイル502が作成される。テキストファイル502の製品「X」の記載に対して、設計書テンプレートに書式を合わせるという編集が成されることによって、テキストファイル503が作成される。テキストファイル502の製品「Y」の記載に対して、設計書テンプレートに書式を合わせるという編集が成されることによって、テキストファイル504が作成される。
A
テキストファイル500に記載の「製品X」の「機能A」とテキストファイル500に記載の「機能A」とは、異なる機能を意味している。すなわち、テキストファイル500に記載の「機能A」とテキストファイル500に記載の「機能A」とは、異なる意味を持つテキストデータである。そこで、「製品X」の「機能A」と「製品Y」の「機能A」との混同が生じないように、「製品Y」についてのみ、「機能A」という記載が「機能D」という記載に変更される必要がある。
The "function A" of the "product X" described in the
このような場合、編集内容情報は、テキストファイル504を示すテキストIDと、行番号「5」と、開始位置「7文字目」と、終了位置「9文字目」と、編集前テキスト「機能A」と、編集後テキスト「機能D」と、反映条件「製品Yの機能A」とを含む。
In such a case, the edited content information includes the text ID indicating the
図9は、実施形態における、反映条件に応じて変更が反映されたテキストファイルと、テキストファイル管理情報との変形例を示す図である。図9には、テキストファイル500(オリジナルのテキストファイル)と、テキストファイル501(オリジナルのテキストファイル)と、変更が反映されたテキストファイル502と、テキストファイル503と、編集によってテキストデータが変更されたテキストファイル504とが、第1記憶部21に記憶されている各テキストファイルとして表されている。
FIG. 9 is a diagram showing a modified example of the text file in which the changes are reflected according to the reflection conditions and the text file management information in the embodiment. In FIG. 9, the text file 500 (original text file), the text file 501 (original text file), the
図9に示されたテキストファイル504では、第5行目において「機能A」という記載が「機能D」と編集されている。このため、テキストファイル502では「製品Y」についてのみ、第6行目の編集前テキスト「機能A」が編集後テキスト「機能D」と変更されている。また、テキストファイル501では、第3行目において「機能A」という記載が「機能D」と編集されている。テキストファイル501は、オリジナルのテキストファイルであるが、図6に示されたステップS203において「nullである」場合でもステップ204に処理を進めるようにすることで編集されてもよい。
In the
以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 Although the embodiments of the present invention have been described in detail with reference to the drawings, the specific configuration is not limited to this embodiment, and includes designs and the like within a range that does not deviate from the gist of the present invention.
1…データ管理システム、2…データ管理装置、3…通信回線、4…ユーザ端末、20…通信部、21…第1記憶部、22…インタフェース、23…第2記憶部、24…管理部、100−102…テキストファイル、200−202…テキストファイル管理情報、300−302…メタ情報、401…関数定義情報、402…関数定義情報、500−504…テキストファイル 1 ... data management system, 2 ... data management device, 3 ... communication line, 4 ... user terminal, 20 ... communication unit, 21 ... first storage unit, 22 ... interface, 23 ... second storage unit, 24 ... management unit, 100-102 ... text file, 200-202 ... text file management information, 300-302 ... meta information, 401 ... function definition information, 402 ... function definition information, 500-504 ... text file
Claims (5)
前記第2のテキストファイルに対して実行された第2の編集の内容を表す情報を生成するインタフェースと、
前記第1のテキストファイルの識別情報と前記第1の編集に関する情報とを含む前記第1メタ情報を取得し、前記第1のテキストファイルの識別情報に基づいて前記第1のテキストファイルを取得し、前記第1の編集に関する情報に基づいて前記第1の編集の内容に関する情報を取得し、前記第1の編集の内容と第2の編集の内容とに基づいて前記第1のテキストファイルを編集する管理部と
を備えるデータ管理装置。 A second text file is created as a result of the first editing being executed on the first text file, and the first meta information is associated with the second text file. It is a data management device that edits text files of
An interface that generates information that represents the content of the second edit performed on the second text file.
The first meta information including the identification information of the first text file and the information related to the first editing is acquired, and the first text file is acquired based on the identification information of the first text file. , The information about the content of the first edit is acquired based on the information about the first edit, and the first text file is edited based on the content of the first edit and the content of the second edit. A data management device that has a management unit.
前記管理部は、前記第1のテキストファイルの元のテキストファイルに対して実行された編集に関する情報を含む第2メタ情報を取得し、前記第1のテキストファイルの元のテキストファイルに対して実行された編集に関する情報が前記反映条件に合致している場合、前記第2の編集の内容を前記第1のテキストファイルに反映させる、
請求項1に記載のデータ管理装置。 The interface generates a reflection condition, which is a condition for determining whether or not to reflect the content of the second edit in the first text file.
The management unit acquires second meta information including information about edits performed on the original text file of the first text file, and executes the first text file on the original text file. When the information regarding the edited edit matches the reflection condition, the content of the second edit is reflected in the first text file.
The data management device according to claim 1.
請求項2に記載のデータ管理装置。 The information regarding the edits performed on the original text file of the first text file includes control information representing at least one of creation, deletion, extraction and processing of text data, and the first text file. At least one of the author information, the time information regarding the first text file, and the storage location information of the first text file.
The data management device according to claim 2.
前記第2のテキストファイルに対して実行された第2の編集の内容を表す情報を生成するステップと、
前記第1のテキストファイルの識別情報と前記第1の編集に関する情報とを含む前記第1メタ情報を取得し、前記第1のテキストファイルの識別情報に基づいて前記第1のテキストファイルを取得し、前記第1の編集に関する情報に基づいて前記第1の編集の内容に関する情報を取得し、前記第1の編集の内容と第2の編集の内容とに基づいて前記第1のテキストファイルを編集するステップと
を含むデータ管理方法。 A second text file is created as a result of the first editing being executed on the first text file, and the first meta information is associated with the second text file. It is a data management method executed by the data management device that edits the text file of
A step of generating information representing the content of the second edit performed on the second text file, and
The first meta information including the identification information of the first text file and the information related to the first editing is acquired, and the first text file is acquired based on the identification information of the first text file. , The information about the content of the first edit is acquired based on the information about the first edit, and the first text file is edited based on the content of the first edit and the content of the second edit. Data management methods, including steps to do.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020107994A JP6965480B1 (en) | 2020-06-23 | 2020-06-23 | Data management equipment, data management methods and programs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020107994A JP6965480B1 (en) | 2020-06-23 | 2020-06-23 | Data management equipment, data management methods and programs |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6965480B1 true JP6965480B1 (en) | 2021-11-10 |
JP2022003480A JP2022003480A (en) | 2022-01-11 |
Family
ID=78466246
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020107994A Active JP6965480B1 (en) | 2020-06-23 | 2020-06-23 | Data management equipment, data management methods and programs |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6965480B1 (en) |
-
2020
- 2020-06-23 JP JP2020107994A patent/JP6965480B1/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2022003480A (en) | 2022-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5122747B2 (en) | Data store for software application documents | |
JP4141556B2 (en) | Structured document management method, apparatus for implementing the method, and medium storing the processing program | |
US7140536B2 (en) | Method and system for highlighting modified content in a shared document | |
JP3692054B2 (en) | Document structure conversion method, document structure conversion apparatus, and program | |
JP5009310B2 (en) | Redirect server base files to a local copy | |
EP1406181B1 (en) | Document revision support | |
US7673235B2 (en) | Method and apparatus for utilizing an object model to manage document parts for use in an electronic document | |
US7711754B2 (en) | System and method for managing data using static lists | |
US6585777B1 (en) | Method for managing embedded files for a document saved in HTML format | |
US8380671B2 (en) | System and method for creating a new annotation for a data source | |
KR20060070416A (en) | File formats, methods, and computer program products for representing workbooks | |
MXPA05012551A (en) | Method and system for linking data ranges of a computer-generated document with associated extensible markup language elements. | |
BRPI0615679A2 (en) | Real-time synchronization of xml data between applications | |
US20080288861A1 (en) | Generating a word-processing document from database content | |
US20060101036A1 (en) | Storage medium storing directory editing support program, directory editing support method, and directory editing support apparatus | |
JP5399114B2 (en) | File server operation support apparatus, method, program, and recording medium | |
JP3673189B2 (en) | Write control method, structured document management apparatus, structured document editing apparatus, and program | |
JP6965480B1 (en) | Data management equipment, data management methods and programs | |
JP4149940B2 (en) | Document processing apparatus, document processing method, and document processing program | |
US7613709B2 (en) | System and method for editing operations of a text object model | |
JP7483085B1 (en) | Information processing system, information processing device, information processing method, and program | |
JP2001297104A (en) | Data storage device and method and storage medium | |
JP3798580B2 (en) | DATA MANAGEMENT SYSTEM AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR EXECUTING THE DATA MANAGEMENT SYSTEM | |
JP2900873B2 (en) | File management device | |
CN116467260A (en) | File recording method, system, terminal and medium convenient for file searching |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200623 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7426 Effective date: 20200911 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20200911 |
|
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: 20210824 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210922 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6965480 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |