JP2016162093A - Document masking system, document masking method, and document masking program - Google Patents

Document masking system, document masking method, and document masking program Download PDF

Info

Publication number
JP2016162093A
JP2016162093A JP2015038996A JP2015038996A JP2016162093A JP 2016162093 A JP2016162093 A JP 2016162093A JP 2015038996 A JP2015038996 A JP 2015038996A JP 2015038996 A JP2015038996 A JP 2015038996A JP 2016162093 A JP2016162093 A JP 2016162093A
Authority
JP
Japan
Prior art keywords
point mark
masking
document
mark
end point
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
JP2015038996A
Other languages
Japanese (ja)
Other versions
JP6604007B2 (en
Inventor
賢一 荒木
Kenichi Araki
賢一 荒木
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.)
NSK Ltd
Original Assignee
NSK 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 NSK Ltd filed Critical NSK Ltd
Priority to JP2015038996A priority Critical patent/JP6604007B2/en
Publication of JP2016162093A publication Critical patent/JP2016162093A/en
Application granted granted Critical
Publication of JP6604007B2 publication Critical patent/JP6604007B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To eliminate a need for re-setting positional information representing a position for masking process even if a style of a document is changed because of revision of an original document, with an image such as diagram being a target of masking as well.SOLUTION: A document masking system includes a memory part 4 which stores an original document that contains a start point mark and an end point mark for specifying a start point and an end point in a masking range and is a target for masking process, a mark reading part 21 which reads the start point mark and the end point mark that are contained in the original document stored in the memory part 4, a pairing process part 22 which performs pairing between the start point mark and the end point mark, relating to the start point mark and the end point mark that are read, a masking process part 23 which performs the masking process of a content contained between the start point mark and the end point mark which are paired by the pairing process part 22 for the original document, and a bar-code addition part 24 which adds a bar-code to the range where the masking process is performed.SELECTED DRAWING: Figure 1

Description

本発明は、文書マスキングシステム、文書マスキング方法および文書マスキングプログラムに関する。   The present invention relates to a document masking system, a document masking method, and a document masking program.

会社や団体などの組織において、文書の内容の一部を開示したくない場合がある。例えば、役職など職務の内容や所属する部署に応じて文書の内容を部分的に見えないようにすることが好ましい場合がある。その場合、開示したくない部分が見えないように、マスキング処理を行うことがある(例えば、特許文献1)。特許文献1では、マスキング用の表示(黒塗り文字など)に置き換えることによってマスキングしている。   An organization such as a company or organization may not want to disclose part of the contents of a document. For example, it may be preferable to partially hide the contents of a document in accordance with the contents of duties such as job titles or departments to which they belong. In that case, a masking process may be performed so that a portion that is not desired to be disclosed is not visible (for example, Patent Document 1). In Patent Document 1, masking is performed by replacing it with a display for masking (black characters or the like).

特開2004−145529号公報JP 2004-145529 A

特許文献1では、マスキング処理する位置を示す位置情報を、元文書とは別の記憶部であるマスキング情報管理手段に記憶している。そのため、元文書の改訂によって文書の体裁が大きく変わると、マスキング処理する位置を示す位置情報を再度設定する必要があり、処理が煩雑になる。   In Patent Document 1, position information indicating a position to be masked is stored in a masking information management unit that is a storage unit different from the original document. Therefore, if the appearance of the document changes greatly due to revision of the original document, it is necessary to set again the position information indicating the position to be masked, and the processing becomes complicated.

また、特許文献1では、マスキングの対象は文字のみであり、図形などの画像をマスキングの対象とすることはできない。   Further, in Patent Document 1, only a character is masked, and an image such as a figure cannot be masked.

本発明は、上記に鑑みてなされたものであって、元文書の改訂によって文書の体裁が変わってもマスキング処理する位置を示す位置情報を再度設定する必要がなく、かつ、図形などの画像についてもマスキングの対象とすることのできる文書マスキングシステム、文書マスキング方法および文書マスキングプログラムを提供することである。   The present invention has been made in view of the above, and it is not necessary to set position information indicating a masking position again even if the appearance of the document changes due to revision of the original document, and for images such as graphics. Another object of the present invention is to provide a document masking system, a document masking method, and a document masking program that can be masked.

上述した課題を解決し、目的を達成するために、本発明のある態様による文書マスキングシステムは、マスキング範囲の始点および終点を特定するための始点マークおよび終点マークを含み、マスキング処理の対象となる元文書を記憶する記憶部と、前記記憶部に記憶された前記元文書について、該元文書に含まれている前記始点マークおよび前記終点マークを読取るマーク読取部と、前記マーク読取部によって読取られた前記始点マークおよび前記終点マークについて、該始点マークと該終点マークとのペアリングを行うペアリング処理部と、前記元文書について、前記ペアリング処理部によってペアリングが行われた前記始点マークと前記終点マークとの間に含まれる内容をマスキング処理するマスキング処理部と、前記マスキング処理部によってマスキング処理された領域に、バーコードを付加するバーコード付加部と、を有する。このような構成によれば、元文書の改訂によって文書の体裁が変わってもマスキング処理する位置を示す位置情報を再度設定する必要がなく、かつ、図形などの画像についてもマスキングの対象とすることができる。また、紙文書に付加されたバーコードをバーコード読取り手段により読取ることで、バーコードに含まれる情報を読取ることができる。   In order to solve the above-described problems and achieve the object, a document masking system according to an aspect of the present invention includes a start point mark and an end point mark for specifying a start point and an end point of a masking range, and is a target of masking processing. A storage unit that stores an original document, a mark reading unit that reads the start point mark and the end point mark included in the original document, and a mark reading unit that reads the original document stored in the storage unit A pairing processing unit that performs pairing of the start point mark and the end point mark with respect to the start point mark and the end point mark; and the start point mark that has been paired by the pairing processing unit with respect to the original document; A masking processing unit for masking content included between the end point marks and the masking processing In a region which is masked processed by, has a bar code adding unit for adding a bar code, a. According to such a configuration, even if the appearance of the document changes due to revision of the original document, it is not necessary to set the position information indicating the position to perform the masking process again, and the image such as a figure is also to be masked. Can do. Further, by reading the barcode added to the paper document by the barcode reading means, the information contained in the barcode can be read.

前記ペアリング処理部は、前記記憶部に記憶された前記元文書の全体を1つの座標系として、前記始点マークと前記終点マークとのペアリングを行うことが好ましい。元文書の全体を1つの座標系として、全ページを連結して処理することにより、ページを跨ったマスキング範囲を処理の対象とすることができる。   The pairing processing unit preferably performs pairing of the start point mark and the end point mark with the entire original document stored in the storage unit as one coordinate system. By processing all the original documents by connecting the entire original document as one coordinate system, the masking range across the pages can be processed.

前記ペアリング処理部は、前記元文書に含まれている始点マークを基準としてペアリング対象となる終点マークの数をカウントし、終点マークの数が1つだけである場合に該始点マークと該終点マークとのペアリングを行い、次に、他の始点マークを基準としてペアリング対象となる終点マークの数をカウントし、終点マークの数が1つだけである場合に該始点マークと該終点マークとのペアリングを行うことが好ましい。このようにペアリングを行うことにより、処理の対象を1つずつ減らしてゆき、元文書に含まれているすべての始点マークおよび終点マークについてペアリング処理を行うことができる。   The pairing processing unit counts the number of end point marks to be paired with reference to the start point mark included in the original document, and when the number of end point marks is only one, Perform pairing with the end point mark, then count the number of end point marks to be paired with respect to other start point marks, and if there is only one end point mark, the start point mark and the end point mark It is preferable to perform pairing with the mark. By performing pairing in this way, it is possible to reduce the number of processing targets one by one and perform pairing processing for all start point marks and end point marks included in the original document.

前記ペアリング処理部は、ペアリング対象となる終点マークの数が1つだけである始点マークが存在しない場合に、エラー処理を行うことが好ましい。エラー処理を行うことによって、エラーの内容が告知された利用者は、エラーを認識し、始点マークおよび終点マークを設定し直すことができる。   The pairing processing unit preferably performs error processing when there is no start point mark having only one end point mark to be paired. By performing error processing, the user who is notified of the error content can recognize the error and reset the start point mark and the end point mark.

前記マスキング処理部が行うマスキング処理は、前記始点マークと前記終点マークとの間に含まれる内容を削除する処理であってもよい。始点マークと終点マークとの間に含まれる内容を削除することにより、マスキング範囲の内容を確実に視認できなくすることができる。   The masking process performed by the masking processing unit may be a process of deleting contents included between the start point mark and the end point mark. By deleting the content included between the start point mark and the end point mark, it is possible to reliably prevent the content of the masking range from being visually recognized.

前記マスキング処理部が行うマスキング処理は、前記始点マークと前記終点マークとの間に含まれる内容の上に、マスキングパターンを載せて表示する処理であってもよい。マスキングパターンを載せて表示することによって実現でき、表示部の表示画面において視認できなくすることができる。   The masking process performed by the masking processing unit may be a process of displaying a masking pattern on the content included between the start point mark and the end point mark. This can be realized by placing and displaying a masking pattern, and can be made invisible on the display screen of the display unit.

前記記憶部に記憶された前記元文書は、該元文書を構成する各ページの、ヘッダの位置を特定するためのヘッダマークまたはフッタの位置を特定するためのフッタマークを含み、前記マスキング処理部は、前記ヘッダマークによって特定されるヘッダの位置および前記フッタマークによって特定されるフッタの位置を、前記マスキング処理の対象外とすることが好ましい。ヘッダおよびフッタの部分をマスキング範囲から除外することにより、利用者は、ヘッダおよびフッタの部分に含まれる情報を確認することができる。   The original document stored in the storage unit includes a header mark for specifying a header position or a footer mark for specifying a footer position of each page constituting the original document, and the masking processing unit Preferably, the header position specified by the header mark and the footer position specified by the footer mark are excluded from the masking process. By excluding the header and footer portions from the masking range, the user can check the information included in the header and footer portions.

前記マスキング処理部は、前記始点マークと前記終点マークとの間に含まれる内容を、他の部分とは異なる態様で表示した、マスキング範囲を確認するための範囲確認用文書を作成することが好ましい。これにより、マスキング範囲が適切であるか否かを容易に確認することができる。   Preferably, the masking processing unit creates a range confirmation document for confirming a masking range in which contents included between the start point mark and the end point mark are displayed in a manner different from other parts. . Thereby, it can be easily confirmed whether or not the masking range is appropriate.

前記元文書を入力する入力部をさらに有し、前記記憶部は、前記入力部による入力で作成された前記元文書を記憶することが好ましい。これにより、外部から入力した元文書について、マスキング処理の対象とすることができる。
前記バーコードは、文書の識別を行うための情報を含むことが好ましい。これにより、紙に印刷された文書のバーコードを読取ることで文書情報を得ることができる。
It is preferable that the apparatus further includes an input unit for inputting the original document, and the storage unit stores the original document created by input by the input unit. Thereby, the original document input from the outside can be a target of the masking process.
The bar code preferably includes information for identifying a document. Thereby, the document information can be obtained by reading the barcode of the document printed on the paper.

本発明のある態様による文書マスキング方法は、マスキング範囲の始点および終点を特定するための始点マークおよび終点マークを含み、マスキング処理の対象となる元文書を記憶部に記憶する工程と、前記記憶部に記憶された前記元文書について、該元文書に含まれている前記始点マークおよび前記終点マークをマーク読取部によって読取る工程と、前記マーク読取部によって読取られた前記始点マークおよび前記終点マークについて、該始点マークと該終点マークとのペアリングをペアリング処理部によって行う工程と、前記元文書について、前記ペアリング処理部によってペアリングが行われた前記始点マークと前記終点マークとの間に含まれる内容をマスキング処理部によってマスキング処理する工程と、前記マスキング処理部によってマスキング処理された領域にバーコードを付加する工程と、を有する。この方法によれば、元文書の改訂によって文書の体裁が変わってもマスキング処理する位置を示す位置情報を再度設定する必要がなく、かつ、図形などの画像についてもマスキングの対象とすることができる。また、紙文書に付加されたバーコードをバーコード読取り手段により読取ることで、バーコードに含まれる情報を読取ることができる。   A document masking method according to an aspect of the present invention includes a step of storing an original document to be masked in a storage unit including a start point and an end point mark for specifying a start point and an end point of a masking range, and the storage unit A step of reading the start point mark and the end point mark included in the original document by a mark reading unit, and the start point mark and the end point mark read by the mark reading unit. The pairing processing unit performs pairing of the start point mark and the end point mark, and the original document is included between the start point mark and the end point mark paired by the pairing processing unit. A process of masking the contents to be masked by the masking processor, and the masking processor A step of adding a bar code masking treated area Te with a. According to this method, even if the appearance of the document changes due to the revision of the original document, there is no need to set again the position information indicating the position to be masked, and an image such as a figure can be a masking target. . Further, by reading the barcode added to the paper document by the barcode reading means, the information contained in the barcode can be read.

本発明のある態様による文書マスキングプログラムは、マスキング範囲の始点および終点を特定するための始点マークおよび終点マークを含み、マスキング処理の対象となる元文書を記憶部に記憶するステップと、前記記憶部に記憶された前記元文書について、該元文書に含まれている前記始点マークおよび前記終点マークをマーク読取部によって読取るステップと、前記マーク読取部によって読取られた前記始点マークおよび前記終点マークについて、該始点マークと該終点マークとのペアリングをペアリング処理部によって行うステップと、前記元文書について、前記ペアリング処理部によってペアリングが行われた前記始点マークと前記終点マークとの間に含まれる内容をマスキング処理部によってマスキング処理するステップと、前記マスキング処理された領域にバーコードを付加するステップと、をコンピュータに実行させるプログラムである。このプログラムを用いれば、元文書の改訂によって文書の体裁が変わってもマスキング処理する位置を示す位置情報を再度設定する必要がなく、かつ、図形などの画像についてもマスキングの対象とすることができる。また、紙文書に付加されたバーコードをバーコード読取り手段により読取ることで、バーコードに含まれる情報を読取ることができる。   A document masking program according to an aspect of the present invention includes a step of storing an original document to be masked in a storage unit including a start point mark and an end point mark for specifying a start point and an end point of a masking range, and the storage unit A step of reading the start point mark and the end point mark included in the original document by a mark reading unit, and the start point mark and the end point mark read by the mark reading unit. The pairing processing unit performs pairing of the start point mark and the end point mark, and the original document is included between the start point mark and the end point mark paired by the pairing processing unit. Masking the content to be masked by the masking processor A step of adding a bar code masking treated area, a program for executing a computer. If this program is used, it is not necessary to set position information indicating the masking position again even if the appearance of the document changes due to revision of the original document, and images such as figures can be masked. . Further, by reading the barcode added to the paper document by the barcode reading means, the information contained in the barcode can be read.

本発明のある態様による文書閲覧システムは、上記マスキングシステムによって作成された公開文書を記憶部する公開文書記憶部と、ユーザの認証を行う認証部と、を有し、ユーザからの閲覧要求が許可された場合に、公開文書記憶部に記憶された公開文書の内容をユーザに開示する。これにより、マスキング処理された文書を持つユーザが携帯情報端末を介してマスキング処理された領域に記載されていた情報の閲覧要求を行い、認証の結果閲覧権限を有する場合に、マスキングされている情報を閲覧することができる。   A document browsing system according to an aspect of the present invention includes a public document storage unit that stores a public document created by the masking system and an authentication unit that authenticates a user, and permits a browsing request from a user. If it is, the contents of the public document stored in the public document storage unit are disclosed to the user. As a result, when a user who has a masked document makes a browsing request for the information described in the masked area via the portable information terminal and has the right to browse as a result of authentication, the masked information Can be viewed.

本発明によれば、元文書の改訂によって文書の体裁が変わってもマスキング処理する位置を示す位置情報を再度設定する必要がなく、かつ、図形などの画像についてもマスキングの対象とすることができる。また、紙文書に付加されたバーコードをバーコード読取り手段により読取ることで、バーコードに含まれる情報を読取ることができる。   According to the present invention, it is not necessary to set again the position information indicating the masking processing position even if the appearance of the document changes due to the revision of the original document, and an image such as a figure can be a masking target. . Further, by reading the barcode added to the paper document by the barcode reading means, the information contained in the barcode can be read.

図1は、実施形態による文書マスキングシステムの構成例を示す図である。FIG. 1 is a diagram illustrating a configuration example of a document masking system according to an embodiment. 図2は、実施形態による文書マスキングシステムによる公開文書作成処理の例を示すフローチャートである。FIG. 2 is a flowchart illustrating an example of a public document creation process by the document masking system according to the embodiment. 図3は、始点マークおよび終点マークのペアリング処理の例を示すフローチャートである。FIG. 3 is a flowchart illustrating an example of the pairing process of the start point mark and the end point mark. 図4は、ペアリング処理の例を示す図である。FIG. 4 is a diagram illustrating an example of the pairing process. 図5は、ペアリング処理の例を示す図である。FIG. 5 is a diagram illustrating an example of the pairing process. 図6は、ペアリング処理の例を示す図である。FIG. 6 is a diagram illustrating an example of the pairing process. 図7は、ペアリング処理の例を示す図である。FIG. 7 is a diagram illustrating an example of the pairing process. 図8は、マスキング範囲の例を示す図である。FIG. 8 is a diagram illustrating an example of a masking range. 図9は、各マークの座標位置を取得する処理の例を示す図である。FIG. 9 is a diagram illustrating an example of processing for acquiring the coordinate position of each mark. 図10は、各マークを削除した後の全公開文書の例を示す図である。FIG. 10 is a diagram illustrating an example of all public documents after each mark is deleted. 図11は、マスキング処理された、部分公開文書の例を示す図である。FIG. 11 is a diagram illustrating an example of a partially public document that has been subjected to masking processing. 図12は、マスキング範囲を確認するための、範囲確認用文書の例を示す図である。FIG. 12 is a diagram showing an example of a range confirmation document for confirming the masking range. 図13(a)は、エラー処理が行われる文書の例を説明する図、図13(b)は、エラー処理が行われる文書の例を説明する図である。FIG. 13A is a diagram illustrating an example of a document on which error processing is performed, and FIG. 13B is a diagram illustrating an example of a document on which error processing is performed. 図14(a)はクライアントPC51から公開文書を閲覧する場合のフロー図、図14(b)は、携帯通信端末57から、部分開示文書B3のバーコードQを読取り、全開示文書B2の閲覧要求を行う場合のフロー図である。FIG. 14A is a flowchart for browsing a public document from the client PC 51, and FIG. 14B reads a barcode Q of the partial disclosure document B3 from the mobile communication terminal 57, and requests to browse the entire disclosure document B2. It is a flowchart in the case of performing.

以下に、本発明に係る文書マスキングシステムの実施形態について図面を参照しつつ詳細に説明する。なお、下記の実施形態は例示であり、発明の範囲がそれらに限定されるものではない。また、下記の実施形態における構成要素には、当業者が容易に想定できるものあるいは実質的に同一のものが含まれる。なお、以下の図面において、同一または相当する部分には同一の参照番号を付し、その説明は繰り返さない。   Hereinafter, an embodiment of a document masking system according to the present invention will be described in detail with reference to the drawings. In addition, the following embodiment is an illustration and the range of invention is not limited to them. In addition, constituent elements in the following embodiments include those that can be easily assumed by those skilled in the art or those that are substantially the same. In the following drawings, the same or corresponding parts are denoted by the same reference numerals, and the description thereof will not be repeated.

(文書マスキングシステムの構成例)
図1は、本実施形態による文書マスキングシステムの構成例を示す図である。図1に示すように、本実施形態による文書マスキングシステム10は、入力部1と、制御部2と、表示部3と、記憶部4とを備えている。文書マスキングシステム10を構成する各部は、例えばコンピュータにより構成され、通常のコンピュータのハードウェアリソース、例えばROM、RAM、CPU、入力装置、出力装置、通信インターフェース、ハードディスク、記録媒体およびその駆動装置によって実現される。
(Configuration example of document masking system)
FIG. 1 is a diagram illustrating a configuration example of a document masking system according to the present embodiment. As shown in FIG. 1, the document masking system 10 according to the present embodiment includes an input unit 1, a control unit 2, a display unit 3, and a storage unit 4. Each part constituting the document masking system 10 is configured by, for example, a computer, and is realized by hardware resources of a normal computer such as a ROM, a RAM, a CPU, an input device, an output device, a communication interface, a hard disk, a recording medium, and a driving device thereof. Is done.

入力部1は、マスキング処理の対象となる元文書を入力する。元文書は、例えば、ワープロソフト(ワードプロセッサソフトウェア)で作成された電子文書ファイルである。入力部1を備えることにより、外部から入力した元文書について、マスキング処理の対象とすることができる。   The input unit 1 inputs an original document to be masked. The original document is, for example, an electronic document file created by word processing software (word processor software). By providing the input unit 1, an original document input from the outside can be a target of masking processing.

制御部2は、CPUなどによって構成され、本システムの各部を制御するとともに、文書マスキングプログラムを実行する。制御部2が文書マスキングプログラムを実行することにより、元文書に基づいて、全公開文書、部分公開文書および範囲確認用文書を作成する処理を行う。制御部2は、マーク読取部21と、ペアリング処理部22と、マスキング処理部23とを備えている。これらの各部は、CPUなどが文書マスキングプログラムを実行することによって実現される。   The control unit 2 includes a CPU and the like, and controls each unit of the present system and executes a document masking program. By executing the document masking program, the control unit 2 performs processing for creating a fully public document, a partial public document, and a range confirmation document based on the original document. The control unit 2 includes a mark reading unit 21, a pairing processing unit 22, and a masking processing unit 23. Each of these units is realized by a CPU or the like executing a document masking program.

マーク読取部21は、入力部1が入力した元文書に含まれているマークを読み取る。
ペアリング処理部22は、マーク読取部21が読み取ったマークについて、マスキング範囲の始点を意味するマーク(以下、適宜、始点マークと呼ぶ)と、マスキング範囲の終点を意味するマーク(以下、適宜、終点マークと呼ぶ)とのペアリングを行う。
The mark reading unit 21 reads a mark included in the original document input by the input unit 1.
For the marks read by the mark reading unit 21, the pairing processing unit 22 includes a mark that represents the start point of the masking range (hereinafter, appropriately referred to as a start point mark) and a mark that represents the end point of the masking range (hereinafter, appropriately) Pairing with an end point mark).

マスキング処理部23は、ペアリング処理部22がペアリングを行った始点マークおよび終点マークに基づいて、マスキング処理を行う。
バーコード付加部24は、マスキングされた領域に文書の識別を行うための情報が含まれるバーコードを付加する。
The masking processing unit 23 performs masking processing based on the start point mark and end point mark that the pairing processing unit 22 has paired.
The bar code adding unit 24 adds a bar code including information for identifying a document to the masked area.

表示部3は、制御部2によってマスキング処理された文書を表示する。文書マスキングシステム10は、編集および改ざんが不可能な形式に変換した文書を表示部3に表示することが望ましい。文書マスキングシステム10は、表示部3に代えて、または表示部3と共に、マスキング処理された文書を印刷する印刷部を備えていてもよい。   The display unit 3 displays the document masked by the control unit 2. The document masking system 10 desirably displays a document converted into a format that cannot be edited and altered on the display unit 3. The document masking system 10 may include a printing unit that prints the masked document instead of or together with the display unit 3.

記憶部4は、制御部2による公開文書作成処理に必要な文書マスキングプログラムやデータを記憶する。記憶部4は、マスキング処理の対象となる元文書を記憶する。記憶部4は、例えば、入力部1により、外部から入力された元文書を記憶する。   The storage unit 4 stores a document masking program and data necessary for the public document creation process by the control unit 2. The storage unit 4 stores an original document to be masked. For example, the storage unit 4 stores the original document input from the outside by the input unit 1.

以上の構成により、本実施形態の文書マスキングシステム10は、元文書を入力し、公開文書を作成する処理を行う。本実施形態の文書マスキングシステム10は、元文書と同じ内容が記載された全公開文書、元文書に含まれている始点マークおよび終点マークに基づいてマスキング処理された部分公開文書、および、マスキング範囲を確認するための範囲確認用文書を作成する。   With the above configuration, the document masking system 10 according to the present embodiment performs processing for inputting an original document and creating a public document. The document masking system 10 according to the present embodiment includes an entire public document in which the same contents as the original document are described, a partial public document that is masked based on the start point mark and the end point mark included in the original document, and a masking range. Create a range confirmation document to confirm

(マスキング範囲)
本実施形態の文書マスキングシステム10は、元文書に挿入されたマークに基づいてマスキング処理を行う範囲を特定する。より具体的には、本実施形態では、元文書の本文中に、マスキング処理を行う範囲を特定するための始点マークおよび終点マークが、予め挿入されている。始点マークおよび終点マークには、予め定めておいたキーワードや記号などを用いる。
(Masking range)
The document masking system 10 according to this embodiment specifies a range in which masking processing is performed based on a mark inserted in the original document. More specifically, in the present embodiment, a start point mark and an end point mark for specifying a range to be masked are inserted in advance in the body of the original document. Predetermined keywords and symbols are used for the start point mark and the end point mark.

(公開文書作成処理の例)
図2は、本実施形態による文書マスキングシステムによる公開文書作成処理の例を示すフローチャートである。公開文書作成処理は、元文書から部分公開文書、全公開文書、および、範囲確認用文書を作成する処理である。
(Example of public document creation processing)
FIG. 2 is a flowchart showing an example of a public document creation process by the document masking system according to the present embodiment. The public document creation process is a process of creating a partial public document, all public documents, and a range confirmation document from the original document.

図2において、元文書B1は、公開文書作成処理の処理対象の元となる文書である。この元文書B1には、部分開示対象者には見せたくない矩形のマスキング範囲の左上座標を示す始点の位置に始点マークを、右下座標を示す終点の位置に終点マークを、それぞれ予め挿入しておく。また、文書内のヘッダ部分およびフッタ部分について、マスキング範囲から除外する場合には、ヘッダ部分の一番下を示すヘッダ下端マークおよびフッタ部分の一番上を示すフッタ上端マークを元文書B1の各ページに挿入しておく。   In FIG. 2, an original document B1 is a document that is a processing target of a public document creation process. In this original document B1, a start point mark is inserted in advance at the position of the start point indicating the upper left coordinate of the rectangular masking range that the partial disclosure target person does not want to show, and an end point mark is inserted at the end point position indicating the lower right coordinate. Keep it. Further, when excluding the header portion and footer portion in the document from the masking range, the header lower end mark indicating the bottom of the header portion and the footer upper end mark indicating the top of the footer portion are set in the original document B1. Insert it into the page.

始点マークまたは終点マークは、例えば、特別な記号、特定のキーワードや記号、またはマスキング位置を設定するための専用機能によるマーク、である。始点マークに用いる文字列は、例えば、「KOKOKARA」である。終点マークに用いる文字列は、例えば、「KOKOMADE」である。ヘッダマークに用いる文字列は、例えば、「KOKOHED」である。フッタマークに用いる文字列は、例えば、「KOKOFUT」である。これらの他、各マークは、予め定めておくことにより、文字の組み合わせまたは特殊記号で表記することができる。   The start point mark or the end point mark is, for example, a special symbol, a specific keyword or symbol, or a mark by a dedicated function for setting a masking position. The character string used for the start point mark is, for example, “KOKOKARA”. The character string used for the end point mark is, for example, “KOKOMADE”. The character string used for the header mark is, for example, “KOKOHED”. The character string used for the footer mark is, for example, “KOKOFUT”. In addition to these, each mark can be represented by a combination of characters or a special symbol by being predetermined.

本文中に登場しない文字列をマークとして用いることが好ましい。マークとして予め決めておいた文字列を、コピーアンドペースト操作によって、文書中に挿入するようにしてもよい。また、文書作成用アプリケーションソフトウェアに、テキストボックスの機能があれば、その機能によって元文書に挿入したマークを始点マーク、終点マーク、ヘッダマークまたはフッタマークとしてもよい。テキストボックスとは、文書中の任意の位置に、文字や記号を配置するための領域である。   It is preferable to use a character string that does not appear in the text as a mark. A character string determined in advance as a mark may be inserted into a document by a copy and paste operation. If the document creation application software has a text box function, a mark inserted into the original document by the function may be used as a start point mark, an end point mark, a header mark, or a footer mark. A text box is an area for placing characters and symbols at an arbitrary position in a document.

図2のステップS201のマーク読取り処理では、記憶部4に記憶された元文書B1に含まれている、マスキング範囲の始点を示す始点マークおよび終点を示す終点マーク、ならびに、ヘッダ下端マークおよびフッタ上端マークの座標を読取る。   In the mark reading process in step S201 in FIG. 2, the start point mark indicating the start point and the end point mark indicating the start point of the masking range, the header lower end mark, and the footer upper end included in the original document B1 stored in the storage unit 4 are included. Read the coordinates of the mark.

ステップS202の始点マークおよび終点マークのペアリング処理では、読み取った始点マークと終点マークとをペアの対象として組み合わせ、マスキング範囲を特定するための処理を行う。   In the pairing process of the start point mark and end point mark in step S202, the read start point mark and end point mark are combined as a pair target, and a process for specifying the masking range is performed.

ステップS203のマーク削除処理では、元文書B1に含まれていた各マークを削除する処理を行う。元文書B1に含まれていた各マークが削除された文書は、全公開文書B2となる。全公開文書B2は、全開示対象者向けに、元文書B1から作成された文書である。全公開文書B2は、元文書B1に含まれているマークを削除した文書であることが望ましい。   In the mark deletion process in step S203, a process of deleting each mark included in the original document B1 is performed. The document from which each mark included in the original document B1 is deleted becomes the all public document B2. The all public document B2 is a document created from the original document B1 for all persons to be disclosed. All the public documents B2 are preferably documents in which the marks included in the original document B1 are deleted.

ステップS204のマスキング処理では、部分公開文書B3、および、範囲確認用文書B4を作成する。部分公開文書B3は、各マークを削除した元文書B1のマスキング範囲についてマスキング処理を行った、部分開示対象者向けの文書である。
ステップS205では、マスキング処理を行った公開文書B3のマスキング範囲に、バーコードを付加する。
In the masking process in step S204, a partial public document B3 and a range confirmation document B4 are created. The partially disclosed document B3 is a document for a partial disclosure target person who has performed masking processing on the masking range of the original document B1 from which each mark has been deleted.
In step S205, a barcode is added to the masking range of the public document B3 subjected to the masking process.

範囲確認用文書B4は、マークを削除した元文書B1の文字などはそのままとし、マスキング範囲に含まれる内容を、他の部分とは異なる態様で表示した文書である。範囲確認用文書B4は、元文書B1に正しくマスキング範囲を指定するマークを挿入できているか否かを確認するため、元文書B1の文字が視認できる形式で、マスキング範囲を表示した文書である。例えば、マスキング範囲に含まれる内容について、背景色を蛍光色などで表示したり、マスキング範囲を破線で囲んで表示したりした文書である。範囲確認用文書B4を参照することにより、正しいマスキング範囲を指定する始点マークおよび終点マークが元文書B1に正しく挿入されているか否かを確認することができる。併せて、マスキング範囲に付加されるバーコードの位置を破線で囲む等して表示しても良い。   The range confirmation document B4 is a document in which the contents of the masking range are displayed in a different manner from the other parts, with the characters and the like of the original document B1 from which the mark has been deleted intact. The range confirmation document B4 is a document in which the masking range is displayed in a format in which the characters of the original document B1 can be visually recognized in order to confirm whether or not the mark specifying the masking range is correctly inserted into the original document B1. For example, the content included in the masking range is a document in which the background color is displayed with a fluorescent color or the like, or the masking range is surrounded by a broken line. By referring to the range confirmation document B4, it is possible to confirm whether or not the start point mark and the end point mark specifying the correct masking range are correctly inserted into the original document B1. In addition, the position of the barcode added to the masking range may be displayed by surrounding it with a broken line.

(始点マークおよび終点マークのペアリング処理)
文書中にN個(Nは自然数)のマスキング範囲がある場合、始点マークおよび終点マークはいずれもN個必要になる。本実施形態では、始点マークおよび終点マークに個別に追番を付与して区別することにより、始点マークと終点マークとのペアリング処理を行う。元文書への始点マークおよび終点マークの挿入を人手で行う場合、各始点マークおよび各終点マークに番号を付加することは手間がかかる。
(Starting point mark and end point mark pairing process)
If there are N masking ranges (N is a natural number) in the document, N start and end marks are required. In the present embodiment, the start point mark and the end point mark are individually distinguished by assigning a serial number to the start point mark and the end point mark. When manually inserting the start point mark and the end point mark into the original document, it is troublesome to add a number to each start point mark and each end point mark.

そこで、本実施形態では、少なくとも、始点マークおよび終点マークを付加すれば、始点マークと終点マークとのペアリング処理を自動的に行い、マスキング範囲を特定できるようにする。ただし、以下の条件を前提とする。すなわち、
(1)始点マークより終点マークは右方向にある。
(2)始点マークより終点マークは下方向にある。
(3)始点マークと終点マークとを結ぶ線を対角線とする矩形をマスキング範囲とする。
(4)複数のマスキング範囲はそれぞれ重ならない。
である。
Therefore, in this embodiment, when at least the start point mark and the end point mark are added, the pairing process between the start point mark and the end point mark is automatically performed so that the masking range can be specified. However, the following conditions are assumed. That is,
(1) The end point mark is in the right direction from the start point mark.
(2) The end point mark is below the start point mark.
(3) A rectangle having a diagonal line connecting the start point mark and the end point mark is set as a masking range.
(4) The plurality of masking ranges do not overlap each other.
It is.

以上の前提条件のもとに、上述したステップS202の始点マークおよび終点マークのペアリング処理について図3を参照して説明する。図3は、始点マークおよび終点マークのペアリング処理の例を示すフローチャートである。   Based on the above preconditions, the pairing process of the start point mark and end point mark in step S202 described above will be described with reference to FIG. FIG. 3 is a flowchart illustrating an example of the pairing process of the start point mark and the end point mark.

図3のステップS301では、各マークに、始点マーク番号を割り振る割り振り処理を行う。例えば、右下を開始位置として右から左、下から上の順に、始点マークに始点マーク番号を付与する。   In step S301 in FIG. 3, an allocation process for allocating a start point mark number to each mark is performed. For example, the start point mark numbers are assigned to the start point mark in order from the right to the left and from the bottom to the top with the lower right as the start position.

ステップS302では、ペアの対象となる始点マークを1つ選択する処理を行う。例えば、終点マークとペアになっていない始点マークのうち、始点マーク番号の小さいものをペアの対象として選択する。   In step S302, processing for selecting one start point mark to be paired is performed. For example, a start point mark that is not paired with an end point mark is selected as a pair target with a smaller start point mark number.

ステップS303では、ペアの対象となる終点マークをカウントする処理を行う。例えば、現在のペアの対象の始点マークの右下にある終点マークのうち、始点マークとペアになっていない終点マークをペア対象の終点マークとし、その個数を計数する。   In step S303, processing for counting the end point marks to be paired is performed. For example, among the end point marks at the lower right of the current start point mark of the pair, the end point mark that is not paired with the start point mark is set as the end point mark to be paired, and the number of the end point marks is counted.

ステップS304では、ステップS303のカウントの結果、ペアの対象となる終点マークの数が「1」であれば、ステップS305に進み、その始点マークと終点マークとをペアとする処理(ペアリング処理)を行う。ペアリング処理では、ペア対象の終点マークにペア対象の始点マークの始点番号と同じ番号を割り当てる。これにより、ペア対象の終点マークとペア対象の始点マークとで特定される矩形範囲をマスキング範囲とする。   In step S304, if the number of end point marks to be paired is “1” as a result of the count in step S303, the process proceeds to step S305, and the start point mark and end point mark are paired (pairing process). I do. In the pairing process, the same number as the start point number of the start point mark to be paired is assigned to the end point mark to be paired. Thereby, the rectangular range specified by the pair target end point mark and the pair target start point mark is set as the masking range.

ステップS306では、終点マークとペアになっていない始点マークが存在するか否かを判断する。ステップS306の判断の結果、終点マークとペアになっていない始点マークがなければ(ステップS306においてNo)、処理は終了となる。一方、ステップS306の判断の結果、終点マークとペアになっていない始点マークがあれば、ステップS302に戻る。   In step S306, it is determined whether there is a start point mark that is not paired with the end point mark. As a result of the determination in step S306, if there is no start point mark that is not paired with the end point mark (No in step S306), the process ends. On the other hand, if it is determined in step S306 that there is a start point mark that is not paired with the end point mark, the process returns to step S302.

ステップS304のカウントの結果、ペアの対象となる終点マークの数が「2以上」であれば、ステップS307に進み、さらにペアの対象となる始点マークが存在するか判断する。ステップS307では、現在のペア対象の始点マークの始点番号よりも大きい番号の始点マークが存在するか否かを判断する。ステップS307の判断の結果、ペアの対象となる始点マークが存在すれば(ステップS307においてYes)、ステップS308に進み、ペアの対象となる始点マークの再選択処理が行われる。ステップS308の再選択処理では、終点マークとペアになっていない始点マークのうち、現在のペア対象の始点マークの始点番号よりも大きい番号の始点マークの中で最も始点マーク番号の小さいものをペア対象始点マークとして選択する。その後、ステップS303に戻る。   If the number of end point marks to be paired is “2 or more” as a result of the count in step S304, the process proceeds to step S307, and it is determined whether there is a start point mark to be paired. In step S307, it is determined whether there is a start point mark with a number larger than the start point number of the current pair target start mark. If there is a start point mark to be paired as a result of the determination in step S307 (Yes in step S307), the process proceeds to step S308, and reselection processing of the start point mark to be paired is performed. In the reselection processing in step S308, among the start point marks that are not paired with the end point mark, the start point mark having a number larger than the start point number of the current start target mark is paired. Select as the target start point mark. Thereafter, the process returns to step S303.

ステップS307において、ペアの対象となる始点マークが存在しない場合(ステップS307においてNo)、ステップS309に進み、エラー処理が行われ、処理は終了となる。また、ステップS304のカウントの結果、ペアの対象となる終点マークの数が「0」であれば、ステップS310に進み、エラー処理が行われる。エラー処理では、始点マークに対応する終点マークが存在しないため、マスキング処理が終了となる。   If there is no start point mark to be paired in step S307 (No in step S307), the process proceeds to step S309, error processing is performed, and the process ends. If the number of end point marks to be paired is “0” as a result of the count in step S304, the process proceeds to step S310 and error processing is performed. In the error process, since there is no end point mark corresponding to the start point mark, the masking process is ended.

エラー処理は、例えば、エラーの原因となった箇所を表示して利用者に提示してもよいし、エラーの解消の方法を利用者に提示してもよい。   In the error processing, for example, the location that caused the error may be displayed and presented to the user, or a method for solving the error may be presented to the user.

本実施形態では、元文書の全てのページを結合し、左上を原点とする1つの座標系として処理を行っている。また、本実施形態において、図面において用いる始点マーク、終点マーク、ヘッダマークおよびフッタマークを、表1に示すように定義する。   In this embodiment, all the pages of the original document are combined, and processing is performed as one coordinate system with the upper left as the origin. In this embodiment, the start point mark, end point mark, header mark, and footer mark used in the drawings are defined as shown in Table 1.

なお、本実施形態において、元文書は、横書きの形式であるが、縦書きの形式であっても良い。その場合、始点マークはマスキング範囲の右上、終点マークはマスキング範囲の左下、をそれぞれ特定することになる。また、元文書は、日本語に限らず、外国語を含む文書または外国語のみによる文書であってもよい。   In the present embodiment, the original document is in the horizontal writing format, but may be in the vertical writing format. In that case, the start point mark specifies the upper right of the masking range, and the end point mark specifies the lower left of the masking range. The original document is not limited to Japanese, and may be a document including a foreign language or a document only in a foreign language.

(ペアリング処理の例)
図4から図7は、始点マークと終点マークとをペアとするペアリング処理の例を示す図である。
(Example of pairing process)
4 to 7 are diagrams illustrating an example of pairing processing in which a start point mark and an end point mark are paired.

図4において、工程P1では、マスキング範囲を規定するマークである、始点マークSPおよび終点マークEPが含まれている元文書B1を処理対象として入力する。   In FIG. 4, in step P1, an original document B1 including a start point mark SP and an end point mark EP, which are marks defining a masking range, is input as a processing target.

工程P2では、元文書B1の各始点マークSPについて、本例では右から左の方向へ、かつ、下から上の方向へ、番号を付与する。本例では、始点マークSP1、SP2、SP3、SP4とする。なお、以降の説明では、始点マークSP1、SP2、SP3、SP4を、総称して始点マークSPNと呼ぶことがある。   In step P2, numbers are assigned to the start point marks SP of the original document B1 in the present example from the right to the left and from the bottom to the top. In this example, the start point marks SP1, SP2, SP3, and SP4 are used. In the following description, the start point marks SP1, SP2, SP3, and SP4 may be collectively referred to as a start point mark SPN.

工程P3では、始点マークSPNから右方向に延びた直線および下方向に延びた直線を想定する。そして、これらの直線を基準として、各始点マークSP1、SP2、SP3、SP4の右方向かつ下方向すなわち右下方向に存在する終点マークを処理の対象とする。   In the process P3, a straight line extending rightward from the start point mark SPN and a straight line extending downward are assumed. Then, with these straight lines as a reference, the end point marks that are present in the right direction and downward direction of the start point marks SP1, SP2, SP3, SP4, that is, the lower right direction, are processed.

図5に進み、工程P4では、各始点マークSP1、SP2、SP3、SP4について、右下方向に存在する終点マークの数をそれぞれカウントする。   Proceeding to FIG. 5, in step P4, the number of end point marks present in the lower right direction is counted for each start point mark SP1, SP2, SP3, SP4.

カウントは、例えば、各終点マークの座標位置に基づいて、上から下方向へ探査し、かつ、左から右方向へ探査しつつ、終点マークを計数する。その結果、本例では、始点マークSP1の右下方向に終点マークが1つ(「E1個」:終点マークEの数が1個)、始点マークSP2の右下方向に終点マークが3つ(「E3個」:終点マークEの数が3個)、始点マークSP3の右下方向に終点マークが2つ(「E2個」:終点マークEの数が2個)、始点マークSP4の右下方向に終点マークが4つ(「E4個」:終点マークEの数が4個)、となる。   For example, the end point mark is counted while searching from the top to the bottom and searching from the left to the right based on the coordinate position of each end point mark. As a result, in this example, there is one end point mark in the lower right direction of the start point mark SP1 (“E1”: the number of end point marks E is one), and three end point marks in the lower right direction of the start point mark SP2 ( “E3”: the number of the end point mark E is three), two end points in the lower right direction of the start point mark SP3 (“E2”: the number of end point marks E is two), the lower right of the start point mark SP4 There are four end point marks in the direction ("E4": the number of end point marks E is four).

工程P5では、始点マークSPNのうち、終点マークの数が「1」であるものとその終点マークとをペアにする。本例では、始点マークSP1と終点マークEP1とをペアとし、図中の矩形K1で示す。   In step P5, the start point mark SPN whose end mark number is “1” is paired with the end point mark. In this example, the start point mark SP1 and the end point mark EP1 are paired and indicated by a rectangle K1 in the drawing.

工程P6では、始点マークSPNのうち、いずれかの終点マークとペアになっていないものについて、その右下方向に存在する終点マークの数をカウントする。本例では、工程P5においてペアになった始点マークSP1および終点マークEP1を除き、始点マークSP2、SP3、SP4について、右下方向に存在する終点マークの数をそれぞれカウントする。その結果、本例では、始点マークSP2の右下方向に終点マークが2つ(「E2個」:終点マークEの数が2個)、始点マークSP3の右下方向に終点マークが1つ(「E1個」:終点マークEの数が1個)、始点マークSP4の右下方向に終点マークが3つ(「E3個」:終点マークEの数が3個)、となる。   In step P6, the number of end marks present in the lower right direction of the start point SPN that is not paired with any of the end marks is counted. In this example, except for the start point mark SP1 and the end point mark EP1 paired in the process P5, the number of end point marks present in the lower right direction is counted for each of the start point marks SP2, SP3, SP4. As a result, in this example, there are two end points in the lower right direction of the start point mark SP2 (“E2”: the number of end point marks E is two), and one end point mark in the lower right direction of the start point mark SP3 ( “E1”: the number of end marks E is one), and the end point marks are three in the lower right direction of the start point mark SP4 (“E3”: the number of end marks E is three).

図6に進み、工程P7では、始点マークSP2、SP3、SP4のうち、終点マークの数が「1」であるものとその終点マークとをペアにする。本例では、始点マークSP3と終点マークEP3とをペアとし、図中の矩形K3で示す。   Proceeding to FIG. 6, in step P7, among the start point marks SP2, SP3, and SP4, the one having the end point number “1” and the end point mark are paired. In this example, the start point mark SP3 and the end point mark EP3 are paired and indicated by a rectangle K3 in the drawing.

工程P8では、始点マークSPNのうち、いずれかの終点マークとペアになっていないものについて、その右下方向に存在する終点マークの数をカウントする。本例では、工程P5においてペアになった始点マークSP1および終点マークEP1、ならびに、工程P7においてペアになった始点マークSP3および終点マークEP3を除き、始点マークSP2、SP4について、右下方向に存在する終点マークの数をそれぞれカウントする。その結果、本例では、始点マークSP2の右下方向に終点マークが1つ(「E1個」:終点マークEの数が1個)、始点マークSP4の右下方向に終点マークが2つ(「E2個」:終点マークEの数が2個)、となる。   In step P8, the number of end marks existing in the lower right direction of the start point marks SPN that are not paired with any end point mark is counted. In this example, the start point marks SP2 and SP4 exist in the lower right direction except for the start point mark SP1 and end point mark EP1 paired in step P5 and the start point mark SP3 and end point mark EP3 paired in step P7. The number of end point marks to be counted is counted. As a result, in this example, there is one end point mark in the lower right direction of the start point mark SP2 ("E1": the number of end point marks E is one), and two end point marks in the lower right direction of the start point mark SP4 ( “E2”: the number of end mark E is two).

工程P9では、始点マークSP2、SP4のうち、終点マークの数が「1」であるものとその終点マークとをペアにする。本例では、始点マークSP2と終点マークEP2とをペアとし、図中の矩形K2で示す。   In the process P9, of the start point marks SP2 and SP4, the one whose end mark number is “1” and the end point mark are paired. In this example, the start point mark SP2 and the end point mark EP2 are paired and indicated by a rectangle K2 in the drawing.

図7に進み、工程P10では、始点マークSPNのうち、いずれかの終点マークとペアになっていないものについて、その右下方向に存在する終点マークの数をカウントする。本例では、工程P5においてペアになった始点マークSP1および終点マークEP1、工程P7においてペアになった始点マークSP3および終点マークEP3、ならびに、工程P9においてペアになった始点マークSP2および終点マークEP2を除き、始点マークSP4について、右下方向に存在する終点マークの数をそれぞれカウントする。その結果、本例では、始点マークSP4の右下方向に終点マークが1つ(「E1個」:終点マークEの数が1個)、となる。   Proceeding to FIG. 7, in step P10, the number of end point marks present in the lower right direction of the start point marks SPN that are not paired with any of the end point marks is counted. In this example, the start point mark SP1 and end point mark EP1 paired in step P5, the start point mark SP3 and end point mark EP3 paired in step P7, and the start point mark SP2 and end point mark EP2 paired in step P9. The number of end marks existing in the lower right direction is counted for the start point mark SP4. As a result, in this example, there is one end point mark ("E1": the number of end point marks E is one) in the lower right direction of the start point mark SP4.

工程P11では、始点マークSP4の終点マークの数が「1」であるため、その終点マークとペアにする。本例では、始点マークSP4と終点マークEP4とをペアとし、図中の矩形K4で示す。   In the process P11, since the number of end marks of the start point mark SP4 is “1”, it is paired with the end point mark. In this example, the start point mark SP4 and the end point mark EP4 are paired and indicated by a rectangle K4 in the drawing.

以上の処理によって、元文書B1に含まれている始点マークSPおよび終点マークEPについて、ペアリングが完了した。   With the above processing, pairing is completed for the start point mark SP and the end point mark EP included in the original document B1.

なお、以上の処理では、ペアリング処理部により、元文書に含まれている始点マークを基準としてペアリング対象となる終点マークの数をカウントし、終点マークの数が1つだけである場合に、その始点マークとその終点マークとのペアリングを行い、次に、他の始点マークを基準としてペアリング対象となる終点マークの数をカウントし、終点マークの数が1つだけである場合にその始点マークとその終点マークとのペアリングを行う。この処理を繰り返し行うことによって、処理の対象を1つずつ減らしてゆき、元文書に含まれているすべての始点マークおよび終点マークについてペアリング処理を行うことができる。   In the above processing, the pairing processing unit counts the number of end marks to be paired with reference to the start mark included in the original document, and the number of end marks is only one. When the pairing of the start point mark and the end point mark is performed, and then the number of end point marks to be paired is counted with respect to another start point mark, and the number of end point marks is only one. Pairing is performed between the start point mark and the end point mark. By repeating this process, the number of objects to be processed can be reduced one by one, and the pairing process can be performed for all the start point marks and end point marks included in the original document.

ところで、元文書B1に含まれている始点マークの数と終点マークの数とが一致していない場合、エラー処理を行うことが望ましい。この場合、ペアリング処理の過程において、例えば、右下方向に存在する終点マークの数が「1」である始点マークがなく、ペアリングできないため、エラー処理を行うことが望ましい。また、例えば、マスキング範囲同士が重なりあう場合も右下方向に存在する終点マークの数が「1」である始点マークがなく、ペアリングできないため、エラー処理を行うことが望ましい。   By the way, it is desirable to perform error processing when the number of start point marks and the number of end point marks included in the original document B1 do not match. In this case, in the course of the pairing process, for example, there is no start point mark whose number of end point marks present in the lower right direction is “1”, and pairing is not possible. Also, for example, even when the masking ranges overlap, there is no start point mark whose number of end point marks present in the lower right direction is “1”, and pairing cannot be performed, so it is desirable to perform error processing.

右下方向に存在する終点マークの数が「1」である始点マークが複数あって、ペアとなる終点マークを1つに決定できない場合、エラー処理を行うことが望ましい。   When there are a plurality of start point marks whose number of end point marks in the lower right direction is “1” and it is not possible to determine one end point mark as a pair, it is desirable to perform error processing.

エラー処理は、例えば、エラーの内容をモニタの画面に表示して利用者に告知する、エラーの内容を音声として出力して利用者に告知する、という方法がある。このようなエラー処理を行うことによって、エラーの内容が告知された利用者は、エラーを認識し、始点マークおよび終点マークを設定し直すことができる。   Error processing includes, for example, a method of displaying the error content on a monitor screen and notifying the user, or outputting the error content as a sound and notifying the user. By performing such error processing, the user who is notified of the content of the error can recognize the error and reset the start point mark and the end point mark.

バーコード付加処理は、上記ペアリング処理により確定したマスキング範囲に、元文書B1を識別するための情報が含まれているバーコードを付加する処理である。バーコードは、元文書B1に少なくと1つ付加される。バーコードに含まれる情報は、文書の管理番号や、文書の作成年月日、閲覧を要求するためのアクセス先URL等を含むのが好ましい。また、情報の漏洩を避けるため、バーコードにはマスキング処理された箇所の内容を含まないことが好ましい。   The barcode adding process is a process for adding a barcode including information for identifying the original document B1 to the masking range determined by the pairing process. At least one barcode is added to the original document B1. The information included in the barcode preferably includes a document management number, a document creation date, an access destination URL for requesting browsing, and the like. In order to avoid leakage of information, it is preferable that the barcode does not include the content of the masked portion.

(マスキング処理を行った文書の例)
次に、図8から図12を参照して、マスキング処理の例について説明する。図8は、マスキング範囲の例を示す図である。図8において、始点マークSP1および終点マークEP1によって規定されるマスキング範囲は、2つのページに跨っている。
(Example of document with masking process)
Next, an example of the masking process will be described with reference to FIGS. FIG. 8 is a diagram illustrating an example of a masking range. In FIG. 8, the masking range defined by the start point mark SP1 and the end point mark EP1 extends over two pages.

図9は、始点マーク、終点マーク、ヘッダマークおよびフッタマークの座標位置を取得する処理の例を示す図である。図9に示すように、元文書B1を構成する全ページを、本例では左端を揃えて連結して、X軸およびY軸による1つの座標系に配置した状態とする。この状態で、マスキング範囲について処理を進める。全ページを連結して処理することにより、ページを跨ったマスキング範囲を処理の対象とすることができる。また、全ページを連結して処理することにより、ヘッダおよびフッタの部分をマスキング範囲から除外することができる。これにより、利用者は、ヘッダおよびフッタの部分に含まれる情報を確認することができる。   FIG. 9 is a diagram illustrating an example of processing for obtaining the coordinate positions of the start point mark, end point mark, header mark, and footer mark. As shown in FIG. 9, in this example, all the pages constituting the original document B1 are connected with their left ends aligned and arranged in one coordinate system with the X and Y axes. In this state, the processing is advanced for the masking range. By concatenating and processing all pages, a masking range across the pages can be processed. Also, by connecting all pages and processing them, the header and footer portions can be excluded from the masking range. Thereby, the user can confirm the information included in the header and footer portions.

図10は、始点マーク、終点マーク、ヘッダマークおよびフッタマークを削除した後の全公開文書B2の例を示す図である。図10に示すように、始点マーク、終点マーク、ヘッダマークおよびフッタマークは、削除されている。文書の利用者にとっては無意味であり、かつ、それらのマークがあると文書が見づらくなるため、それらのマークを削除する。これにより、文書が見づらくなることを防止できる。   FIG. 10 is a diagram illustrating an example of the entire public document B2 after the start point mark, end point mark, header mark, and footer mark are deleted. As shown in FIG. 10, the start point mark, end point mark, header mark, and footer mark have been deleted. Since it is meaningless for the user of the document and it becomes difficult to see the document if these marks are present, these marks are deleted. This can prevent the document from becoming difficult to see.

図11は、マスキング処理された、部分公開文書B3の例を示す図である。図11に示すように、部分公開文書B3は、始点マークおよび終点マークに基づいて指定されたマスキング範囲MSにマスキング処理が施された状態になる。これにより、元文書B1に記載されている内容のうち、マスキング範囲MSに対応する部分は、その内容が視認されない状態になる。本例では、図8に示す元文書B1において表示されていた、「3.根拠」から「3−2.社内実験データ」の棒グラフまでの部分がマスキング範囲MSになり、視認されない状態になっている。また、マスキング範囲MSには、2次元バーコードQが付加されている、   FIG. 11 is a diagram illustrating an example of the partially public document B3 that has been subjected to the masking process. As shown in FIG. 11, the partially public document B3 is in a state in which the masking process is performed on the masking range MS designated based on the start point mark and the end point mark. Thereby, the content corresponding to the masking range MS among the contents described in the original document B1 is not visible. In this example, the portion from “3. Grounds” to “3-2. In-house experiment data” bar graph displayed in the original document B1 shown in FIG. 8 is the masking range MS and is not visible. Yes. Further, a two-dimensional barcode Q is added to the masking range MS,

図12は、マスキング範囲MSを確認するための、範囲確認用文書B4の例を示す図である。範囲確認用文書B4は、部分公開文書B3のマスキング範囲MSに対応する部分が図12の破線部分で示すように、他の部分と異なる態様で表示されている。マスキング範囲MSに対応する部分を、他の部分と異なる態様で表示することにより、マスキング範囲MSが適切であるか否かを容易に確認することができる。   FIG. 12 is a diagram showing an example of a range confirmation document B4 for confirming the masking range MS. The range confirmation document B4 is displayed in a manner different from the other portions, as indicated by the broken line portion in FIG. 12, the portion corresponding to the masking range MS of the partial disclosure document B3. By displaying the portion corresponding to the masking range MS in a manner different from the other portions, it is possible to easily confirm whether or not the masking range MS is appropriate.

図12において、破線部分は、例えば、背景を蛍光色によって塗りつぶした表示とする。範囲確認用文書B4について、蛍光色に限らず、マスキング範囲MSに対応する部分の背景を、他の部分とは異なる態様で表示すればよい。背景を塗りつぶした表示とする場合に限らず、マスキング範囲MSに対応する部分の文字の色を他の部分とは異なる態様で表示してもよい。このように、マスキング範囲MSに対応する部分を他の部分とは異なる態様で表示することにより、マスキング範囲MSを容易に確認することができる。   In FIG. 12, a broken line portion is, for example, a display in which the background is filled with a fluorescent color. For the range confirmation document B4, the background of the portion corresponding to the masking range MS is not limited to the fluorescent color, and may be displayed in a different manner from the other portions. The color of the character corresponding to the masking range MS may be displayed in a manner different from that of the other parts, not limited to the case where the background is filled. Thus, the masking range MS can be easily confirmed by displaying the portion corresponding to the masking range MS in a different manner from the other portions.

(エラー処理)
図13(a)および図13(b)は、エラー処理が行われる文書の例を説明する図である。図13(a)に示す例では、2つの始点マークSP11およびSP12と、2つの終点マークEP11およびEP12とが文書に含まれている。このため、始点マークSP11と終点マークEP11とに基づいてマスキング範囲MS1が、始点マークSP12と終点マークEP12とに基づいてマスキング範囲MS2が、それぞれ設定されている。したがって、図13(a)に示す文書では、マスキング範囲MS1とマスキング範囲MS2とが重なっている。
(Error handling)
FIGS. 13A and 13B are diagrams illustrating an example of a document on which error processing is performed. In the example shown in FIG. 13A, two start point marks SP11 and SP12 and two end point marks EP11 and EP12 are included in the document. Therefore, a masking range MS1 is set based on the start point mark SP11 and the end point mark EP11, and a masking range MS2 is set based on the start point mark SP12 and the end point mark EP12. Therefore, in the document shown in FIG. 13A, the masking range MS1 and the masking range MS2 overlap.

このようにマスキング範囲を設定すると、図3に示すフローチャートによってエラー処理が行われる。すなわち、図3に示すフローチャートのステップS304のカウントの結果、ペアの対象となる終点の数が「2以上」になるので、ステップS307に進む。ペアの対象となる始点があるので(ステップS307においてYes)、ペアの対象となる始点を再選択しても(ステップS308)、やはりペアの対象となる終点の数が「2以上」になるので(ステップS303、S304、S307)、ペアの対象となる始点が存在しないので(ステップS307においてNo)、ステップS309に進み、エラー処理が行われる。   When the masking range is set in this way, error processing is performed according to the flowchart shown in FIG. That is, as a result of the counting in step S304 of the flowchart shown in FIG. 3, the number of end points to be paired becomes “2 or more”, and the process proceeds to step S307. Since there is a starting point to be paired (Yes in step S307), even if the starting point to be paired is selected again (step S308), the number of end points to be paired is still “2 or more”. (Steps S303, S304, S307) Since there is no starting point to be paired (No in Step S307), the process proceeds to Step S309 and error processing is performed.

エラー処理が行われないためには、図13(b)に示すように、マスキング範囲同士が重ならないように、始点マークと終点マークとを設定する必要がある。すなわち、図13(b)に示す例では、始点マークSP11、SP12およびSP13と、終点マークEP11、EP12およびEP13とが文書に含まれている。このため、始点マークSP11と終点マークEP11とに基づいてマスキング範囲MS11が、始点マークSP12と終点マークEP12とに基づいてマスキング範囲MS2が、始点マークSP13と終点マークEP13とに基づいてマスキング範囲MS12が、それぞれ設定されている。したがって、図13(b)に示す文書では、マスキング範囲MS11、MS12、MS2は互いに重ならない。   In order to prevent error processing, it is necessary to set the start point mark and the end point mark so that the masking ranges do not overlap as shown in FIG. That is, in the example shown in FIG. 13B, the start point marks SP11, SP12, and SP13 and the end point marks EP11, EP12, and EP13 are included in the document. Therefore, the masking range MS11 is based on the start point mark SP11 and the end point mark EP11, the masking range MS2 is based on the start point mark SP12 and the end point mark EP12, and the masking range MS12 is based on the start point mark SP13 and the end point mark EP13. , Each is set. Therefore, in the document shown in FIG. 13B, the masking ranges MS11, MS12, and MS2 do not overlap each other.

このようにマスキング範囲を設定すると、図3に示すフローチャートのステップS304において、始点マークSP13に対するペア対象終点数が「1」であり、始点マークSP13と終点マークEP11とをペアとする処理を行う(ステップS305)。その後、始点マークSP12と終点マークEP12とをペアとする処理、始点マークSP11と終点マークEP13とをペアとする処理、が順に行われ、エラー処理は行われない。   When the masking range is set in this way, in step S304 of the flowchart shown in FIG. 3, the number of pair target end points for the start point mark SP13 is “1”, and processing for pairing the start point mark SP13 and the end point mark EP11 is performed ( Step S305). Thereafter, a process of pairing the start point mark SP12 and the end point mark EP12 and a process of pairing the start point mark SP11 and the end point mark EP13 are sequentially performed, and no error process is performed.

マスキング処理の方法として、マスキング範囲のデータを削除する(始点マークと終点マークとの間に含まれる内容を削除する)方法、データを削除せずに、マスキングパターンで覆って、マスキング範囲を表示部の表示画面において視認できない見えなくする方法、のいずれを用いてもよい。前者の場合、例えば、同じ文字数の空白(スペース記号)で置換することによって実現でき、マスキング範囲の内容を確実に視認できなくすることができる。後者の場合、マスキング範囲の上の階層に、マスキングパターンを載せて表示することによって実現でき、表示部の表示画面において視認できなくすることができる。   As a masking processing method, the masking range data is deleted (the contents contained between the start point mark and end point mark are deleted), the data is not deleted, it is covered with a masking pattern, and the masking range is displayed. Any method of making it invisible and invisible on the display screen may be used. In the former case, for example, it can be realized by replacing it with blanks (space symbols) having the same number of characters, and the contents of the masking range can be reliably made invisible. In the latter case, it can be realized by displaying a masking pattern on a layer above the masking range, and can be made invisible on the display screen of the display unit.

全公開文書では、マークを削除しておくことが好ましい。マスキング範囲を明示する必要はないと考えられるからである。   It is preferable to delete the mark in all public documents. This is because it is considered unnecessary to specify the masking range.

部分公開文書では、マーク自体をマスキング範囲に含めて見えないようにしてもよいし、マークを削除した後、削除前のマークの位置に基づく範囲をマスキング範囲として見えないようにしてもよい。   In the partially published document, the mark itself may be included in the masking range so as not to be visible, or after deleting the mark, the range based on the position of the mark before deletion may not be visible as the masking range.

(文書マスキング方法)
上述した文書マスキングシステムにおいて用いている文書マスキング方法は、マスキング範囲の始点および終点を特定するための始点マークおよび終点マークを含み、マスキング処理の対象となる元文書を記憶部に記憶する工程と、上記記憶部に記憶された上記元文書について、該元文書に含まれている上記始点マークおよび上記終点マークをマーク読取部によって読取る工程と、上記マーク読取部によって読取られた上記始点マークおよび上記終点マークについて、該始点マークと該終点マークとのペアリングをペアリング処理部によって行う工程と、上記元文書について、上記ペアリング処理部によってペアリングが行われた上記始点マークと上記終点マークとの間に含まれる内容をマスキング処理部によってマスキング処理する工程と、マスキング処理された領域にバーコードを付加する工程と、を有する。この方法によれば、元文書の改訂によって文書の体裁が変わってもマスキング処理する位置を示す位置情報を再度設定する必要がなく、かつ、図形などの画像についてもマスキングの対象とすることができる。
(Document masking method)
The document masking method used in the document masking system described above includes a start point mark and an end point mark for specifying the start point and end point of the masking range, and storing the original document to be masked in the storage unit; For the original document stored in the storage unit, a step of reading the start point mark and the end point mark included in the original document by a mark reading unit, and the start point mark and the end point read by the mark reading unit A step of pairing the start point mark and the end point mark by a pairing processing unit with respect to a mark; and for the original document, the start point mark and the end point mark paired by the pairing processing unit A process of masking the contents included in between by the masking processing unit; And a step of adding a bar code masking treated region. According to this method, even if the appearance of the document changes due to the revision of the original document, there is no need to set again the position information indicating the position to be masked, and an image such as a figure can be a masking target. .

(文書マスキングプログラム)
上述した文書マスキングシステムにおいて用いている文書マスキングプログラムは、マスキング範囲の始点および終点を特定するための始点マークおよび終点マークを含み、マスキング処理の対象となる元文書を記憶部に記憶するステップと、上記記憶部に記憶された上記元文書について、該元文書に含まれている上記始点マークおよび上記終点マークをマーク読取部によって読取るステップと、上記マーク読取部によって読取られた上記始点マークおよび上記終点マークについて、該始点マークと該終点マークとのペアリングをペアリング処理部によって行うステップと、上記元文書について、上記ペアリング処理部によってペアリングが行われた上記始点マークと上記終点マークとの間に含まれる内容をマスキング処理部によってマスキング処理するステップと、マスキング処理された領域にバーコードを付加するステップと、をコンピュータに実行させるプログラムである。このプログラムを用いれば、元文書の改訂によって文書の体裁が変わってもマスキング処理する位置を示す位置情報を再度設定する必要がなく、かつ、図形などの画像についてもマスキングの対象とすることができる。
(Document masking program)
The document masking program used in the document masking system described above includes a start point mark and an end point mark for specifying a start point and an end point of a masking range, and storing an original document to be masked in a storage unit; For the original document stored in the storage unit, the step of reading the start point mark and the end point mark included in the original document by a mark reading unit, and the start point mark and the end point read by the mark reading unit For the mark, the pairing processing unit performs pairing of the start point mark and the end point mark, and for the original document, the pair of the start point mark and the end point mark paired by the pairing processing unit. The masking process A step of grayed processing, a program for executing the steps of adding a bar code on the masking areas, to the computer. If this program is used, it is not necessary to set position information indicating the masking position again even if the appearance of the document changes due to revision of the original document, and images such as figures can be masked. .

(まとめ)
文書マスキングシステム10は、元文書の本文中に始点マークおよび終点マークを、挿入しておくので、本文に追記や改訂があった場合でも、指定範囲のマスキング処理を継続して行うことができる。すなわち、マスキング範囲を指定するための別のデータを用意するのではなく、本文中に始点マークおよび終点マークを挿入しておくので、本文のマスキング範囲の大きさが変化してもマークの位置が追従するので、マスキング範囲を適切に維持することができる。
(Summary)
Since the document masking system 10 inserts the start point mark and the end point mark in the text of the original document, the masking process of the specified range can be continuously performed even when the text is added or revised. That is, instead of preparing separate data for specifying the masking range, the start point mark and the end point mark are inserted in the text, so that the mark position can be changed even if the size of the text masking range changes. Since it follows, a masking range can be maintained appropriately.

マスキング範囲を、例えば、始点マークおよび終点マークを基準とする矩形で指定することにより、マスキング処理部23は、マスキング範囲を任意の色で塗りつぶし、文字や記号だけでなく、図形や画像などについてもマスキング処理を行うことができる。   By specifying the masking range with, for example, a rectangle based on the start point mark and the end point mark, the masking processing unit 23 fills the masking range with an arbitrary color, not only for characters and symbols but also for figures and images. Masking processing can be performed.

本システムによれば、元文書の本文中に、マスキングする範囲の始点と終点とを意味するマークが含まれているので、元文書の本文について追記または改訂があっても、指定範囲のマスキング処理を継続して行うことができる。   According to this system, since the text of the original document contains marks that indicate the start and end points of the masked range, the masking process for the specified range is possible even if the text of the original document is added or revised. Can be continued.

元文書の本文中にマークが記述されていれば、マスキング範囲に含まれている文章や図形の大きさが変化しても予め設定した始点マークおよび終点マークに基づいてマスキング範囲を設定するので、文書の内容について改変(文字または記号の追加、変更、削除)が頻繁に行われたとしても、改変前後においてマークの位置が追従し、適切なマスキング範囲を維持することができる。   If the mark is described in the text of the original document, the masking range is set based on the preset start point mark and end point mark even if the size of the text or figure included in the masking range changes. Even if the content of the document is frequently changed (addition, change, or deletion of characters or symbols), the mark position follows before and after the change, and an appropriate masking range can be maintained.

マスキング範囲を、始点および終点を基準とする矩形によって指定することにより、マスキング範囲を任意の色で塗りつぶした表示を行うことができる。また、文字または記号に限らず、図形または写真などの画像をマスキングの対象にすることができる。マスキング範囲が複数ページに跨る場合に、ヘッダの下端およびフッタの上端にマークを記載することにより、文書のヘッダおよびフッタをマスキング処理の対象外(マスキング範囲から除外)とすることができる。   By specifying the masking range by a rectangle with the start point and the end point as a reference, it is possible to display the masking range with an arbitrary color. Further, not only characters or symbols but also images such as figures or photographs can be masked. When the masking range extends over a plurality of pages, marks at the lower end of the header and the upper end of the footer can be excluded from the masking processing target (excluded from the masking range).

すなわち、マスキング範囲が複数のページに跨る場合に、ヘッダの下端の位置、フッタの上端の位置をそれぞれ特定するためのヘッダマーク、フッタマークを元文書に設けておくことにより、ヘッダの部分およびフッタの部分をマスキング処理の対象外とすることもできる。ヘッダやフッタには、ページ番号や文書の名称などの情報が含まれていることがあり、これらの情報はマスキング処理されずに表示される。これにより、利用者は、ヘッダおよびフッタに含まれている情報を視認することができる。   That is, when the masking range extends over a plurality of pages, a header mark and a footer mark for specifying the position of the lower end of the header and the position of the upper end of the footer are provided in the original document. This part can also be excluded from the masking process. The header and footer may contain information such as page numbers and document names, and these information are displayed without being masked. Thereby, the user can visually recognize the information included in the header and the footer.

マスキング処理部23は、マスキング処理の前に、始点マーク、終点マーク、ヘッダマークおよびフッタマークを削除し、部分公開文書や全公開文書に表示しないようにすることが好ましい。また、マスキング範囲の文字などが視認できる態様で、マスキング範囲を蛍光色などで表示した範囲確認用文書を表示できるようにすることが好ましい。また、マスキング範囲を確認しやすいのであれば、マスキング範囲の表示色は蛍光色に限定されない。すなわち、マスキング範囲を蛍光色などの黒以外の色で表示することにより、マスキング範囲の文字が見えるように表示した範囲確認用文書を表示できるようにしてもよい。   It is preferable that the masking processing unit 23 deletes the start point mark, the end point mark, the header mark, and the footer mark before the masking process so that they are not displayed in the partially public document or all the public documents. In addition, it is preferable that a range confirmation document in which the masking range is displayed with a fluorescent color or the like can be displayed in such a manner that characters in the masking range can be visually recognized. Further, if the masking range can be easily confirmed, the display color of the masking range is not limited to the fluorescent color. That is, by displaying the masking range in a color other than black such as a fluorescent color, the range confirmation document displayed so that the characters in the masking range can be viewed may be displayed.

(文書マスキングシステムを用いた文書閲覧システム)
上記の文書マスキングシステムは文書閲覧システムと組み合わせて使用しても良い。
以下に、文書マスキングシステムを用いた文書閲覧システムの例を示す。図13は文書閲覧システム50の構成図である。文書閲覧システム50を構成する機器は、互いにネットワークで接続されている。マスキング作業用PC51は、文書マスキングシステム10を実行し、元文書B1から公開文書(全開示文書B2,部分開示文書B3)及び範囲確認用文書B4を作成する。クライアントPC52は、ユーザがネットワークにログオンした状態で使用し、文書の作成や公開文書の閲覧を行う。ファイルサーバ53は、元文書B1や公開文書(全開示文書B2,部分開示文書B3)及び範囲確認用文書B4、部分公開文書B3に付加されるバーコードQの情報が格納されている。認証サーバ54は、ネットワークに接続しているクライアントPC並びに、形態通信端末57から通信回線56を介してネットワークに接続しているユーザのユーザ情報よりデータベース55に格納されたユーザ認証情報及び文書公開対象情報を照会し、公開文書の閲覧を許可するか否かの判断を行う。ユーザ認証は、ユーザID及びパスワードにより行う。通信回線56は、文書閲覧システム50のネットワークに接続されている公衆通信網(電話回線)である。携帯通信端末57は、通信回線56を介して文書閲覧システム50のネットワークに接続されている。
(Document browsing system using document masking system)
The above document masking system may be used in combination with a document browsing system.
An example of a document browsing system using a document masking system is shown below. FIG. 13 is a configuration diagram of the document browsing system 50. The devices constituting the document browsing system 50 are connected to each other via a network. The masking work PC 51 executes the document masking system 10 and creates a public document (full disclosure document B2, partial disclosure document B3) and range confirmation document B4 from the original document B1. The client PC 52 is used while the user is logged on to the network, and creates a document or browses a public document. The file server 53 stores information on the barcode Q added to the original document B1, the public document (full disclosure document B2, partial disclosure document B3), the range confirmation document B4, and the partial disclosure document B3. The authentication server 54 is a client PC connected to the network and user authentication information stored in the database 55 and a document publication target from user information of the user connected to the network from the form communication terminal 57 via the communication line 56. Inquires about the information and determines whether or not to permit viewing of the public document. User authentication is performed using a user ID and a password. The communication line 56 is a public communication network (telephone line) connected to the network of the document browsing system 50. The portable communication terminal 57 is connected to the network of the document browsing system 50 via the communication line 56.

図14(a),(b)は文書マスキングシステムによって作成された部分公開文書B3の閲覧を行う際のフローを示した図である。図14(a)はクライアントPC51から公開文書を閲覧する場合のフローである。ユーザがネットワークに接続されたクライアントPC51で、ユーザIDやパスワードを入力してログインする。その際ユーザ情報や公開文書の閲覧権限を認証サーバ54に照会する。
そして、ユーザからの文書の閲覧要求があった場合、そのユーザが当該文書の全開示文書B2の閲覧が許可される権限グループであれば、全開示文書B2の閲覧を許可し、全開示用文書B2の内容を表示する。また、そのユーザが当該文書について部分公開文書B3の閲覧が許可される権限グループであれば、部分公開文書B3の閲覧を許可し、部分開示文書B3の内容を表示する。
また、ユーザが当該文書について閲覧権限を有する権限グループでない場合には、例えば、閲覧が許可されていない旨のメッセージを表示するなどして、閲覧を拒否し、公開用文書の表示は行わない。
FIGS. 14A and 14B are diagrams showing a flow when browsing the partially public document B3 created by the document masking system. FIG. 14A is a flow when browsing a public document from the client PC 51. A user logs in by entering a user ID and password on the client PC 51 connected to the network. At this time, the authentication server 54 is inquired about the user information and the authority to browse the public document.
If there is a document browsing request from the user, if the user is an authority group that allows browsing of all disclosure documents B2 of the document, browsing of all disclosure documents B2 is permitted. The contents of B2 are displayed. If the user is an authority group that allows browsing of the partial public document B3 for the document, the partial public document B3 is permitted to be browsed and the content of the partial disclosure document B3 is displayed.
If the user is not an authority group having the authority to view the document, for example, a message indicating that the user is not permitted to view is displayed, and the viewing is rejected, and the public document is not displayed.

図14(b)は、携帯通信端末57から、部分開示文書B3のバーコードQを読取り、全開示文書B2の閲覧要求を行う場合のフローである。ユーザが携帯通信端末57から、ユーザIDやパスワードを入力してネットワークにログインする。その際ユーザ情報や公開文書の閲覧権限を認証サーバ54に照会する。
そして、ユーザが、携帯通信端末57を用いて、紙の部分開示文書B3に付加されているバーコードを読み取り、部分開示文書B3に対応する全開示文書B2の閲覧要求を行う。
そのユーザが当該文書の全開示文書B2の閲覧が許可される権限グループであれば、全開示文書B2の閲覧を許可し、全開示用文書B2の内容を携帯通信端末57に表示する。また、そのユーザが当該文書について全開示文書B2の閲覧が許可される権限グループでない場合には、例えば、閲覧が許可されていない旨のメッセージを携帯通信端末に表示するなどして、閲覧を拒否し、全開示文書の表示は行わない。
FIG. 14B shows a flow when the barcode Q of the partial disclosure document B3 is read from the mobile communication terminal 57 and a browsing request for the full disclosure document B2 is made. A user logs in to the network by entering a user ID and password from the mobile communication terminal 57. At this time, the authentication server 54 is inquired about the user information and the authority to browse the public document.
Then, using the mobile communication terminal 57, the user reads the barcode added to the paper partial disclosure document B3, and requests browsing of all the disclosure documents B2 corresponding to the partial disclosure document B3.
If the user is an authority group in which browsing of all disclosure documents B2 of the document is permitted, browsing of all disclosure documents B2 is permitted, and the contents of all disclosure documents B2 are displayed on portable communication terminal 57. Further, if the user is not an authority group that is permitted to view all disclosed documents B2 for the document, for example, a message indicating that browsing is not permitted is displayed on the mobile communication terminal, and the browsing is denied. However, all disclosed documents are not displayed.

(変形例)
本実施形態による文書マスキングシステムについては、以下のような変形例が考えられる。
(Modification)
The document masking system according to the present embodiment can be modified as follows.

予め決めておいた始点マーク、終点マーク、ヘッダマークおよびフッタマークを、印刷した元文書に手書きで記入しておき、記入したものをイメージスキャナで読取った後、各マークを認識するようにしてもよい。   Pre-determined start point mark, end point mark, header mark and footer mark are entered by hand in the printed original document, and after reading the entry with an image scanner, each mark may be recognized. Good.

本システムは、1つの装置ブロックとしたが、制御部および記憶部と、入力部および表示部と、を別体とし、通信ネットワークを介して両者を接続していてもよい。また、1つの制御部および記憶部に対して、複数の入力部および表示部を備えていてもよい。つまり、サーバに制御部および記憶部を設け、パーソナルコンピュータに入力部および表示部を設けて、通信ネットワークを介して両者を接続してもよい。   Although the present system is a single device block, the control unit and the storage unit, and the input unit and the display unit may be separated and connected to each other via a communication network. A plurality of input units and display units may be provided for one control unit and storage unit. That is, the server may be provided with a control unit and a storage unit, and the personal computer may be provided with an input unit and a display unit, and both may be connected via a communication network.

本発明の実施形態を説明したが、この実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。この実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。この実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。   Although the embodiment of the present invention has been described, this embodiment is presented as an example and is not intended to limit the scope of the invention. This embodiment can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the spirit of the invention. This embodiment and its modifications are included in the scope of the present invention and the gist thereof, and are also included in the invention described in the claims and the equivalent scope thereof.

1 入力部
2 制御部
3 表示部
4 記憶部
10 文書マスキングシステム
21 マーク読取部
22 ペアリング処理部
23 マスキング処理部
24 バーコード付加部
B1 元文書
B2 全公開文書
B3 部分公開文書
B4 範囲確認用文書
EP、EP1〜EP4、EP11、EP12、EP13 終点マーク
K1〜K4 矩形
MS、MS1、MS2、MS11、MS12 マスキング範囲
SP、SP1〜SP4、SP11、SP12、SP13 始点マーク
DESCRIPTION OF SYMBOLS 1 Input part 2 Control part 3 Display part 4 Memory | storage part 10 Document masking system 21 Mark reading part 22 Pairing process part 23 Masking process part 24 Barcode addition part B1 Original document B2 All public document B3 Partial publication document B4 Range confirmation document EP, EP1-EP4, EP11, EP12, EP13 End point mark K1-K4 Rectangular MS, MS1, MS2, MS11, MS12 Masking range SP, SP1-SP4, SP11, SP12, SP13 Start point mark

Claims (13)

マスキング範囲の始点および終点を特定するための始点マークおよび終点マークを含み、マスキング処理の対象となる元文書を記憶する記憶部と、
前記記憶部に記憶された前記元文書について、該元文書に含まれている前記始点マークおよび前記終点マークを読取るマーク読取部と、
前記マーク読取部によって読取られた前記始点マークおよび前記終点マークについて、該始点マークと該終点マークとのペアリングを行うペアリング処理部と、
前記元文書について、前記ペアリング処理部によってペアリングが行われた前記始点マークと前記終点マークとの間に含まれる内容をマスキング処理するマスキング処理部と、
前記マスキング処理部によってマスキング処理された領域に、バーコードを付加するバーコード付加部と、
を有する文書マスキングシステム。
A storage unit including a start point mark and an end point mark for specifying a start point and an end point of a masking range, and storing an original document to be masked;
A mark reading unit that reads the start point mark and the end point mark included in the original document for the original document stored in the storage unit;
A pairing processing unit for pairing the start point mark and the end point mark with respect to the start point mark and the end point mark read by the mark reading unit;
About the original document, a masking processing unit that masks the content included between the start point mark and the end point mark paired by the pairing processing unit;
A barcode adding unit for adding a barcode to the area masked by the masking processing unit;
A document masking system.
前記ペアリング処理部は、前記記憶部に記憶された前記元文書の全体を1つの座標系として、前記始点マークと前記終点マークとのペアリングを行う請求項1に記載の文書マスキングシステム。   2. The document masking system according to claim 1, wherein the pairing processing unit performs pairing between the start point mark and the end point mark using the entire original document stored in the storage unit as one coordinate system. 3. 前記ペアリング処理部は、前記元文書に含まれている始点マークを基準としてペアリング対象となる終点マークの数をカウントし、終点マークの数が1つだけである場合に該始点マークと該終点マークとのペアリングを行い、
次に、他の始点マークを基準としてペアリング対象となる終点マークの数をカウントし、終点マークの数が1つだけである場合に該始点マークと該終点マークとのペアリングを行う
請求項1または請求項2に記載の文書マスキングシステム。
The pairing processing unit counts the number of end point marks to be paired with reference to the start point mark included in the original document, and when the number of end point marks is only one, Pair with the end mark,
Next, the number of end marks to be paired is counted on the basis of another start point mark, and when the number of end marks is only one, the start point mark and the end point mark are paired. The document masking system according to claim 1.
前記ペアリング処理部は、ペアリング対象となる終点マークの数が1つだけである始点マークが存在しない場合に、エラー処理を行う請求項3に記載の文書マスキングシステム。   The document masking system according to claim 3, wherein the pairing processing unit performs error processing when there is no start point mark having only one end point mark to be paired. 前記マスキング処理部が行うマスキング処理は、前記始点マークと前記終点マークとの間に含まれる内容を削除する処理である請求項1から請求項4のいずれか1項に記載の文書マスキングシステム。   5. The document masking system according to claim 1, wherein the masking process performed by the masking processing unit is a process of deleting contents included between the start point mark and the end point mark. 6. 前記マスキング処理部が行うマスキング処理は、前記始点マークと前記終点マークとの間に含まれる内容の上に、マスキングパターンを載せて表示する処理である請求項1から請求項4のいずれか1項に記載の文書マスキングシステム。   5. The masking process performed by the masking processing unit is a process of displaying a masking pattern on a content included between the start point mark and the end point mark. 6. Document masking system as described in. 前記記憶部に記憶された前記元文書は、該元文書を構成する各ページの、ヘッダの位置を特定するためのヘッダマークまたはフッタの位置を特定するためのフッタマークを含み、
前記マスキング処理部は、前記ヘッダマークによって特定されるヘッダの位置および前記フッタマークによって特定されるフッタの位置を、前記マスキング処理の対象外とする請求項1から請求項6のいずれか1項に記載の文書マスキングシステム。
The original document stored in the storage unit includes a header mark for specifying a header position or a footer mark for specifying the footer position of each page constituting the original document,
The said masking process part excludes the position of the header specified by the said header mark, and the position of the footer specified by the said footer mark from the object of the said masking process. The document masking system described.
前記マスキング処理部は、前記始点マークと前記終点マークとの間に含まれる内容を、他の部分とは異なる態様で表示した、マスキング範囲を確認するための範囲確認用文書を作成する請求項1から請求項7のいずれか1項に記載の文書マスキングシステム。   The said masking process part produces the range confirmation document for confirming the masking range which displayed the content contained between the said start point mark and the said end point mark in the aspect different from another part. The document masking system according to claim 7. 前記元文書を入力する入力部をさらに有し、
前記記憶部は、前記入力部による入力で作成された前記元文書を記憶する請求項1から請求項8のいずれか1項に記載の文書マスキングシステム。
An input unit for inputting the original document;
9. The document masking system according to claim 1, wherein the storage unit stores the original document created by input from the input unit. 10.
前記バーコードは、文書の識別を行うための情報を含むことを特徴とする請求項1から請求項9のいずれか1項に記載の文書マスキングシステム。   The document masking system according to claim 1, wherein the bar code includes information for identifying a document. マスキング範囲の始点および終点を特定するための始点マークおよび終点マークを含み、マスキング処理の対象となる元文書を記憶部に記憶する工程と、
前記記憶部に記憶された前記元文書について、該元文書に含まれている前記始点マークおよび前記終点マークをマーク読取部によって読取る工程と、
前記マーク読取部によって読取られた前記始点マークおよび前記終点マークについて、該始点マークと該終点マークとのペアリングをペアリング処理部によって行う工程と、
前記元文書について、前記ペアリング処理部によってペアリングが行われた前記始点マークと前記終点マークとの間に含まれる内容をマスキング処理部によってマスキング処理する工程と、
前記マスキング処理部によってマスキング処理された領域にバーコードを付加する工程と、
を有する文書マスキング方法。
Including a start point mark and an end point mark for specifying a start point and an end point of a masking range, and storing an original document to be masked in a storage unit;
For the original document stored in the storage unit, reading the start point mark and the end point mark included in the original document by a mark reading unit;
For the starting point mark and the end point mark read by the mark reading unit, a pairing processing unit performs pairing of the start point mark and the end point mark;
About the original document, a process of masking the content included between the start point mark and the end point mark paired by the pairing processing unit by the masking processing unit,
Adding a barcode to the area masked by the masking unit;
Document masking method comprising:
マスキング範囲の始点および終点を特定するための始点マークおよび終点マークを含み、マスキング処理の対象となる元文書を記憶部に記憶するステップと、
前記記憶部に記憶された前記元文書について、該元文書に含まれている前記始点マークおよび前記終点マークをマーク読取部によって読取るステップと、
前記マーク読取部によって読取られた前記始点マークおよび前記終点マークについて、該始点マークと該終点マークとのペアリングをペアリング処理部によって行うステップと、
前記元文書について、前記ペアリング処理部によってペアリングが行われた前記始点マークと前記終点マークとの間に含まれる内容をマスキング処理部によってマスキング処理するステップと、
前記マスキング処理された領域にバーコードを付加するステップと、
をコンピュータに実行させるための文書マスキングプログラム。
Storing an original document to be masked in a storage unit, including a start point mark and an end point mark for specifying a start point and an end point of a masking range;
For the original document stored in the storage unit, the mark reading unit reads the start point mark and the end point mark included in the original document;
For the starting point mark and the end point mark read by the mark reading unit, pairing the starting point mark and the end point mark by a pairing processing unit;
Masking the original document by the masking processing unit with respect to the content included between the start point mark and the end point mark paired by the pairing processing unit;
Adding a barcode to the masked region;
A document masking program to make a computer execute.
請求項1から請求項10に記載の文書マスキングシステムによって作成された公開文書を記憶する公開文書記憶部と、ユーザの認証を行う認証部と、を有し、
前記ユーザが前記公開文書に付加されたバーコードを携帯情報端末が備えるバーコード読取り手段によって読取ることで閲覧要求を行い、前記ユーザからの前記閲覧要求が許可された場合に、前記記憶部に記憶された前記全公開文書の内容を前記ユーザに開示することを特徴とする、
文書閲覧システム。
A public document storage unit that stores a public document created by the document masking system according to claim 1, and an authentication unit that authenticates a user,
When the user makes a browsing request by reading the barcode added to the public document by a barcode reading unit provided in a portable information terminal, the browsing is stored in the storage unit when the browsing request from the user is permitted Disclosing the contents of all of the published documents to the user,
Document browsing system.
JP2015038996A 2015-02-27 2015-02-27 Document masking system, document masking method, document masking program, and document browsing system Active JP6604007B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015038996A JP6604007B2 (en) 2015-02-27 2015-02-27 Document masking system, document masking method, document masking program, and document browsing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015038996A JP6604007B2 (en) 2015-02-27 2015-02-27 Document masking system, document masking method, document masking program, and document browsing system

Publications (2)

Publication Number Publication Date
JP2016162093A true JP2016162093A (en) 2016-09-05
JP6604007B2 JP6604007B2 (en) 2019-11-13

Family

ID=56845381

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015038996A Active JP6604007B2 (en) 2015-02-27 2015-02-27 Document masking system, document masking method, document masking program, and document browsing system

Country Status (1)

Country Link
JP (1) JP6604007B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210045823A (en) * 2019-10-17 2021-04-27 한국전자통신연구원 Apparatus and method for securing document information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000194515A (en) * 1998-12-25 2000-07-14 Casio Comput Co Ltd Document processor and storage medium
JP2005191893A (en) * 2003-12-25 2005-07-14 Kyocera Mita Corp Image formation device
JP2007115228A (en) * 2005-09-20 2007-05-10 Iti:Kk Masking program and masking system
JP2011034153A (en) * 2009-07-29 2011-02-17 Tkc Corp Text analyzing device, text displaying device, text analyzing method, text displaying method, text analyzing program, and text displaying program
JP2011159036A (en) * 2010-01-29 2011-08-18 Canon Inc Information processing apparatus, control method of the same, and computer program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000194515A (en) * 1998-12-25 2000-07-14 Casio Comput Co Ltd Document processor and storage medium
JP2005191893A (en) * 2003-12-25 2005-07-14 Kyocera Mita Corp Image formation device
JP2007115228A (en) * 2005-09-20 2007-05-10 Iti:Kk Masking program and masking system
JP2011034153A (en) * 2009-07-29 2011-02-17 Tkc Corp Text analyzing device, text displaying device, text analyzing method, text displaying method, text analyzing program, and text displaying program
JP2011159036A (en) * 2010-01-29 2011-08-18 Canon Inc Information processing apparatus, control method of the same, and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210045823A (en) * 2019-10-17 2021-04-27 한국전자통신연구원 Apparatus and method for securing document information
KR102414910B1 (en) * 2019-10-17 2022-07-04 한국전자통신연구원 Apparatus and method for securing document information

Also Published As

Publication number Publication date
JP6604007B2 (en) 2019-11-13

Similar Documents

Publication Publication Date Title
US20190012303A1 (en) Information processing apparatus, information processing system, and non-transitory computer readable medium
JP2010039943A (en) Layout printing system, layout document browsing method, and program
JP2021157839A (en) Document preparation system, server device, client device, and computer program
KR100798465B1 (en) Learning data formation system for the subject explanation
JP6604006B2 (en) Document management system, document management method, and document management program
US8582885B2 (en) Image providing device, image processing method, image processing program, and recording medium
JP6604007B2 (en) Document masking system, document masking method, document masking program, and document browsing system
JP2007172006A (en) Slip generation system, slip generation method, program, and recording medium
US8493581B2 (en) Electronic document having authentication function
JP2004259195A (en) Document processor, and document processing method and program
JP4992670B2 (en) Image editing apparatus, image editing method, and image editing program
JP2006172319A (en) Information management device, terminal, information management system, information management method and information management program
JP5187251B2 (en) Electronic document processing system and program
JP2016031743A (en) Three-dimensional design device, method, and program
JP2008065550A (en) Information processing apparatus, information processing method and information processing program
JP6384161B2 (en) Document masking system
JP4802961B2 (en) Printing system, printing control apparatus and program
JP6631035B2 (en) Document masking system, document masking method and document masking program
CN102298572B (en) Electronic document generating apparatus and electronic document generation method
JP2016062284A (en) Document masking system, document masking method, and document masking program
JP2015219541A (en) Document masking system, document masking method, and document masking program
JP2020170969A (en) Document output program, document output method, and document output system
JP4561156B2 (en) Document processing device
WO2022071541A1 (en) Document creating device
JP6818923B1 (en) Information processing equipment, data linkage system, method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180223

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20180223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190123

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190404

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190930

R150 Certificate of patent or registration of utility model

Ref document number: 6604007

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150