JP2007088595A - Document editing apparatus and document editing method thereof, and recording medium - Google Patents

Document editing apparatus and document editing method thereof, and recording medium Download PDF

Info

Publication number
JP2007088595A
JP2007088595A JP2005272214A JP2005272214A JP2007088595A JP 2007088595 A JP2007088595 A JP 2007088595A JP 2005272214 A JP2005272214 A JP 2005272214A JP 2005272214 A JP2005272214 A JP 2005272214A JP 2007088595 A JP2007088595 A JP 2007088595A
Authority
JP
Japan
Prior art keywords
electronic document
program
common key
compressed
program code
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.)
Withdrawn
Application number
JP2005272214A
Other languages
Japanese (ja)
Inventor
Naohiro Yamaguchi
直宏 山口
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005272214A priority Critical patent/JP2007088595A/en
Publication of JP2007088595A publication Critical patent/JP2007088595A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)
  • Document Processing Apparatus (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve problems that an opened electronic document file cannot have been protected excepting that an OS (Operating System) sets an access right in conventional electronic binders when no security can be placed on a file format included in the electronic binders and that an electronic document substantially to be deleted remains and thereafter the remaining electronic document has a possibility of being illegitimately referenced when an electronic binder application is abnormally terminated. <P>SOLUTION: A shared key is created from information whose reacquisition is difficult when the electronic binder is opened on the basis of a prescribed encryption algorithm, and when an electronic document is opened from the electronic binder, the electronic document is encrypted by using the shared key and stored as an encrypted electronic document file, and when the electronic document is archived to the electronic binder, the encrypted electronic document is decrypted by using the key used at the encryption and then archived, and the key information is discarded when the program is terminated. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、複数種類の電子文書から構成される電子圧縮アーカイブを構成する情報処理装置及びその方法、コンピュータ可読メモリに関するものである。   The present invention relates to an information processing apparatus and method, and a computer-readable memory constituting an electronic compressed archive composed of a plurality of types of electronic documents.

企業ではドキュメント管理システムを導入し、文書の再利用を推進しようとしている。初期の製品は、紙の文書をスキャナで画像として取り込み、登録保存するようなものであったが、最近はパソコンで作られた電子文書が多くなり、それも登録保存できるようになってきた。   Companies are introducing document management systems to promote document reuse. Early products used to capture paper documents as images with a scanner and register and save them. Recently, however, many electronic documents have been made on personal computers, and they can now be registered and stored.

最近では登録されている複数の電子文書から任意のページを抜き出して所定の暗号化圧縮アーカイブアルゴリズムを用いて圧縮アーカイブし、一つの電子文書として扱うこともできるようになっている。それをここでは電子バインダと呼ぶ。   Recently, an arbitrary page can be extracted from a plurality of registered electronic documents, compressed and archived using a predetermined encryption compression archive algorithm, and handled as one electronic document. This is called an electronic binder here.

電子バインダを処理するアプリケーションを電子バインダアプリケーションと呼ぶ。   An application that processes an electronic binder is referred to as an electronic binder application.

電子バインダアプリケーションは、電子バインダを処理する際にPC上の任意のテンポラリディレクトリに圧縮アーカイブされた電子バインダを展開して、内部の電子文書ファイルを処理する。   When processing the electronic binder, the electronic binder application expands the electronic binder compressed and archived in an arbitrary temporary directory on the PC, and processes the internal electronic document file.

また電子バインダアプリケーションは電子文書を印刷体裁データと中間印刷データに変換して電子バインダ内部に保持することができる。ユーザは印刷体裁データと中間印刷データを印刷することで、印刷時の環境の違いに拠らず、ほぼ同じ印刷結果を得ることが可能である。   In addition, the electronic binder application can convert the electronic document into print appearance data and intermediate print data and store the converted data in the electronic binder. By printing the print appearance data and the intermediate print data, the user can obtain almost the same print result regardless of the difference in printing environment.

作成された電子バインダは開いて内部の電子文書を編集したり、その構成を変更することが可能である。ユーザは電子バインダに含まれる電子文書を取り出し、それぞれの電子文書に関連付けられたアプリケーションを用いて編集処理を行うことができる。また電子文書に付けられた属性情報の変更を行うことが可能である。また印刷体裁データと中間印刷データを変更することが可能である。   The created electronic binder can be opened to edit the internal electronic document or change its configuration. The user can take out an electronic document included in the electronic binder and perform an editing process using an application associated with each electronic document. In addition, it is possible to change attribute information attached to an electronic document. It is also possible to change the print appearance data and intermediate print data.

電子バインダをアーカイブする際には所定の暗号化アルゴリズムに従い、外部からの秘匿性を保っている。電子バインダには様々な種類の電子文書ファイルを持たせることが可能であるが、セキュリティ設定が可能なファイルフォーマットである場合は、ユーザまたは電子バインダアプリケーションもしくは電子バインダが各電子文書にセキュリティ設定を適用し、展開された非圧縮電子文書を保護することができる。   When archiving an electronic binder, confidentiality from the outside is maintained according to a predetermined encryption algorithm. Electronic binders can have various types of electronic document files. However, if the file format allows security settings, the user, electronic binder application, or electronic binder applies security settings to each electronic document. The uncompressed electronic document that has been expanded can be protected.

従来例としては、例えば特許文献1と特許文献2をあげることが出来る。
特開2000−29829号公報 特開平11−73398号公報
For example, Patent Document 1 and Patent Document 2 can be cited as conventional examples.
JP 2000-29829 A Japanese Patent Laid-Open No. 11-73398

しかしながらファイルフォーマットにセキュリティの設定ができない場合、従来の電子バインダではOSからアクセス権限を設定した場合を除き展開された電子文書ファイルを保護する事ができなかった。また電子バインダアプリケーションが不正終了してしまった場合、本来終了時に削除するべき電子文書が残ってしまい、その後不正に参照されてしまう恐れがあった。   However, if security cannot be set for the file format, the conventional electronic binder cannot protect the deployed electronic document file except when the access authority is set from the OS. Further, when the electronic binder application is terminated abnormally, there is a possibility that an electronic document that should be deleted when the electronic binder application is terminated remains and is referred to illegally thereafter.

本発明は、上記の問題を解決するために成されたもので、電子バインダを展開する際に再取得が難しい情報から所定の暗号化アルゴリズムに基づいた共通鍵を作成し、電子バインダから電子文書を展開する際に共通鍵を用いて暗号化を行い暗号化電子文書ファイルとして保持して、電子バインダへのアーカイブ時には暗号化された電子文書は暗号化時に用いた鍵を用いて復号化を行った上でアーカイブを行い、プログラム終了時は鍵情報を破棄する情報処理装置及びその方法、コンピュータ可読メモリを提供することを目的としている。   The present invention has been made to solve the above problems, and creates a common key based on a predetermined encryption algorithm from information that is difficult to re-acquire when deploying an electronic binder, and creates an electronic document from the electronic binder. Encrypted using a common key when unpacking and stored as an encrypted electronic document file. When archiving to an electronic binder, the encrypted electronic document is decrypted using the key used for encryption An object of the present invention is to provide an information processing apparatus and method for archiving and discarding key information when a program ends, and a computer-readable memory.

上記の目的を達成するための本発明による情報処理装置は以下の構成を備える。即ち、各種アプリケーション上で作成される複数の電子文書ファイルから構成される圧縮電子文書アーカイブファイルを構成する情報処理装置であって、
前記電子文書ファイルを所定の圧縮形式で圧縮して圧縮電子文書ファイルを作成する手段と、
前記圧縮電子文書ファイル作成手段により作成された圧縮電子文書を結合して電子バインダを作成する手段と、
前記電子バインダ作成手段により作成された電子文書アーカイブファイルを分離して各圧縮電子文書に分離する手段と、
前記分離手段により作成された圧縮電子文書を所定の圧縮形式に基づき展開して非圧縮電子文書を作成する展開手段と、
所定の暗号化形式に則った共通鍵を作成する共通鍵作成手段と、
前記圧縮電子文書もしくは非圧縮電子文書を前記共通鍵作成手段により作成された共通鍵を用いて暗号化する暗号化手段と、
前記暗号化手段により作成された暗号化圧縮電子文書もしくは暗号化電子文書を復号化する復号化手段と
を備える。
In order to achieve the above object, an information processing apparatus according to the present invention comprises the following arrangement. That is, an information processing apparatus that configures a compressed electronic document archive file composed of a plurality of electronic document files created on various applications,
Means for compressing the electronic document file in a predetermined compression format to create a compressed electronic document file;
Means for combining the compressed electronic document created by the compressed electronic document file creating means to create an electronic binder;
Means for separating the electronic document archive file created by the electronic binder creating means and separating it into compressed electronic documents;
Decompressing means for decompressing the compressed electronic document created by the separating means based on a predetermined compression format to create an uncompressed electronic document;
A common key creating means for creating a common key in accordance with a predetermined encryption format;
Encryption means for encrypting the compressed electronic document or the uncompressed electronic document using a common key created by the common key creation means;
And an encryption compressed electronic document created by the encryption means or a decryption means for decrypting the encrypted electronic document.

上記の目的を達成するための本発明による情報処理装置は以下の構成を備える。即ち、各種アプリケーション上で作成される複数の電子文書ファイルから構成される圧縮電子文書アーカイブファイルを構成する情報処理方法であって、
前記電子文書ファイルを所定の圧縮形式で圧縮して圧縮電子文書ファイルを作成する工程と、
前記圧縮電子文書ファイル作成工程により作成された圧縮電子文書を結合して電子バインダを作成する工程と、
前記電子バインダ作成工程により作成された電子文書アーカイブファイルを分離して各圧縮電子文書に分離する工程と、
前記分離工程により作成された圧縮電子文書を所定の圧縮形式に基づき展開して非圧縮電子文書を作成する展開工程と、
所定の暗号化形式に則った共通鍵を作成する共通鍵作成工程と、
前記圧縮電子文書もしくは非圧縮電子文書を前記共通鍵作成工程により作成された共通鍵を用いて暗号化する暗号化工程と、
前記暗号化工程により作成された暗号化圧縮電子文書もしくは暗号化電子文書を復号化する復号化工程と
を備える。
In order to achieve the above object, an information processing apparatus according to the present invention comprises the following arrangement. That is, an information processing method for configuring a compressed electronic document archive file composed of a plurality of electronic document files created on various applications,
Compressing the electronic document file in a predetermined compression format to create a compressed electronic document file;
Combining the compressed electronic document created by the compressed electronic document file creating step to create an electronic binder;
Separating the electronic document archive file created by the electronic binder creating step and separating it into each compressed electronic document;
A decompression step of decompressing the compressed electronic document created by the separation step based on a predetermined compression format to create an uncompressed electronic document;
A common key creation step for creating a common key in accordance with a predetermined encryption format;
An encryption step of encrypting the compressed electronic document or the uncompressed electronic document using the common key created by the common key creation step;
A decryption step of decrypting the encrypted compressed electronic document or the encrypted electronic document created by the encryption step.

上記の目的を達成するための本発明による情報処理装置は以下の構成を備える。即ち、各種アプリケーション上で作成される複数の電子文書ファイルから構成される圧縮電子文書アーカイブファイルを構成する情報処理のプログラムコードが格納されたコンピュータ可読メモリであって、
前記電子文書ファイルを所定の圧縮形式で圧縮して圧縮電子文書ファイルを作成するプログラムコードと、
前記圧縮電子文書ファイル作成プログラムコードにより作成された圧縮電子文書を結合して電子バインダを作成するプログラムコードと、
前記電子バインダ作成プログラムコードにより作成された電子文書アーカイブファイルを分離して各圧縮電子文書に分離するプログラムコードと、
前記分離するプログラムコードにより作成された圧縮電子文書を所定の圧縮形式に基づき展開して非圧縮電子文書を作成する展開プログラムコードと、
所定の暗号化形式に則った共通鍵を作成する共通鍵作成プログラムコードと、
前記圧縮電子文書もしくは非圧縮電子文書を前記共通鍵作成プログラムコードにより作成された共通鍵を用いて暗号化する暗号化プログラムコードと、
前記暗号化プログラムコードにより作成された暗号化圧縮電子文書もしくは暗号化電子文書を復号化する復号化プログラムコードと
を備える。
In order to achieve the above object, an information processing apparatus according to the present invention comprises the following arrangement. That is, a computer readable memory storing a program code for information processing constituting a compressed electronic document archive file composed of a plurality of electronic document files created on various applications,
Program code for compressing the electronic document file in a predetermined compression format to create a compressed electronic document file;
A program code for creating an electronic binder by combining compressed electronic documents created by the compressed electronic document file creation program code;
A program code for separating an electronic document archive file created by the electronic binder creating program code and separating it into compressed electronic documents;
Decompression program code for decompressing a compressed electronic document created by the program code to be separated based on a predetermined compression format to create an uncompressed electronic document; and
A common key creation program code for creating a common key in accordance with a predetermined encryption format;
An encryption program code for encrypting the compressed electronic document or the uncompressed electronic document using a common key created by the common key creation program code;
And an encrypted compressed electronic document created by the encrypted program code or a decrypted program code for decrypting the encrypted electronic document.

以上説明したように、本発明によれば、電子文書を圧縮アーカイブした電子バインダを展開する際に、再取得が難しい情報を基に作成した共通鍵を用いて電子文書を所定のアルゴリズムにより暗号化した上でコンピュータ内にファイルとして抽出し、電子バインダを再構築する際には暗号化電子文書を前述の共通鍵で復号化して圧縮アーカイブすることで電子バインダのセキュリティを高める情報処理装置及びその方法、コンピュータ可読メモリを提供できる。   As described above, according to the present invention, when an electronic binder obtained by compressing and archiving an electronic document is expanded, the electronic document is encrypted with a predetermined algorithm using a common key created based on information that is difficult to obtain again. Information processing apparatus and method for improving security of the electronic binder by extracting the file as a file in the computer and reconstructing the electronic binder by decrypting the encrypted electronic document with the above-mentioned common key and compressing the archive A computer readable memory can be provided.

この共通鍵はメモリ上に格納されているため、プログラムが展開フォルダに編集中の電子バインダを残したまま何らかの原因により不正終了した場合、メモリは解放されているため暗号化された電子文書は閲覧できず、また鍵の元となる一時的な情報も再取得が困難であるためセキュリティを高めることが可能である。   Since this common key is stored in the memory, if the program terminates illegally for some reason with the electronic binder being edited in the expanded folder, the memory is released and the encrypted electronic document can be viewed. In addition, it is difficult to re-acquire temporary information as a key source, and security can be improved.

以下、図面を参照して本発明の好適な実施形態を詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

図1は本実施形態の電子バインダと、その内部に綴じられた電子文書の概念図である。   FIG. 1 is a conceptual diagram of an electronic binder according to the present embodiment and an electronic document bound therein.

電子文書群101をアーカイブして、電子バインダ103が作成される。電子文書群101は様々なアプリケーションファイルである。一般にファイル圧縮を行う際に用いられる圧縮方式には様々なものがあるが、本実施例で用いられる圧縮は、所定の可逆圧縮アルゴリズムを用いて行われるものとする。   An electronic binder 103 is created by archiving the electronic document group 101. The electronic document group 101 is various application files. In general, there are various compression methods used when file compression is performed, and the compression used in this embodiment is performed using a predetermined lossless compression algorithm.

図1で、ファイルヘッダ107は電子バインダ自体の情報や作成日時などの情報を持つ。   In FIG. 1, the file header 107 has information on the electronic binder itself and information such as the creation date and time.

圧縮情報テーブル110は電子バインダ103に含まれる圧縮電子文書104や非圧縮電子文書108のアドレスを持ち、このアドレスを参照して圧縮電子文書104や非圧縮電子文書108にアクセスする。   The compression information table 110 has addresses of the compressed electronic document 104 and the uncompressed electronic document 108 included in the electronic binder 103, and accesses the compressed electronic document 104 and the uncompressed electronic document 108 with reference to these addresses.

電子バインダ103に綴じられた圧縮電子文書104を、アプリケーションで処理できる状態にするために、電子バインダ103から圧縮電子文書105を抽出する。圧縮電子文書105に圧縮時に用いられた圧縮形式に対応した伸長アルゴリズムを用いて伸長処理を行い、電子文書106を作成する。   The compressed electronic document 105 is extracted from the electronic binder 103 so that the compressed electronic document 104 bound to the electronic binder 103 can be processed by an application. The compressed electronic document 105 is decompressed using a decompression algorithm corresponding to the compression format used at the time of compression, and an electronic document 106 is created.

また非圧縮電子文書108の場合、ファイルオフセットとファイルサイズを取得することで、電子文書109を抽出できる。   In the case of the uncompressed electronic document 108, the electronic document 109 can be extracted by acquiring the file offset and the file size.

図2は電子バインダとして圧縮アーカイブされた電子文書群を展開する際に、プログラム内部で自らのプロセスIDとスレッドIDから共通鍵を作成し、この鍵を用いてファイルを暗号化してから展開する処理を示したフローチャートである。   Figure 2 shows the process of creating a common key from its own process ID and thread ID inside the program when encrypting a compressed and archived electronic document group as an electronic binder. It is the flowchart which showed.

ステップ201でプログラム内部のメモリに既に共通鍵を保持しているかを判定する。下記に示す手順を通過して共通鍵を使用して破棄していない場合、それを継続して使用することが可能である。共通鍵がプログラム中にある場合、ステップ205に進む。無い場合ステップ202に進む。   In step 201, it is determined whether the common key is already held in the memory inside the program. If the common key is not discarded using the procedure shown below, it can be used continuously. If the common key is in the program, go to step 205. If not, go to step 202.

ステップ202でプログラムのプロセスIDとスレッドIDを取得して、ステップ203に進む。   In step 202, the process ID and thread ID of the program are acquired, and the process proceeds to step 203.

ステップ203で、ステップ202で取得した前記プロセスID及びスレッドIDを用いて、所定のアルゴリズムに基づき共通鍵を作成して、ステップ204に進む。作成される共通鍵はステップ211での暗号化形式で使用される所定の鍵情報形式に従う。   In step 203, a common key is created based on a predetermined algorithm using the process ID and thread ID acquired in step 202, and the process proceeds to step 204. The generated common key follows a predetermined key information format used in the encryption format in step 211.

ステップ205で既存の鍵を使用するか判定する。継続して使用する場合ステップ206に進み、既存の鍵が何らかの理由により使用できない場合ステップ202に進み共通鍵を新規に作成する。   In step 205, it is determined whether to use an existing key. If the key is to be used continuously, the process proceeds to step 206. If the existing key cannot be used for some reason, the process proceeds to step 202 to create a new common key.

ステップ206で鍵管理DB207から鍵を取得して、ステップ204に進む。   In step 206, the key is acquired from the key management DB 207, and the process proceeds to step 204.

ステップ204で電子バインダ中の各圧縮電子文書ファイルを処理するループ処理を開始して、ステップ208に進む。   In step 204, a loop process for processing each compressed electronic document file in the electronic binder is started, and the process proceeds to step 208.

ステップ208で所定のアルゴリズムに基づき電子バインダから各圧縮電子文書ファイルを抽出して、ステップ209に進む。   In step 208, each compressed electronic document file is extracted from the electronic binder based on a predetermined algorithm, and the process proceeds to step 209.

ステップ209で所定のアルゴリズムに基づき圧縮電子分子ファイルの伸張を開始する。ステップ210で現在処理中の圧縮電子文書ファイルが暗号化すべきファイルかどうかを判定する。暗号化される電子文書は、ユーザが指定する任意の電子文書もしくは特定の拡張子を持つ電子文書などである。暗号化されるべきと判断された場合、ステップ211に進み、暗号化しなくとも良いと判断された場合、ステップ212に進む。   In step 209, decompression of the compressed electron molecule file is started based on a predetermined algorithm. In step 210, it is determined whether the compressed electronic document file currently being processed is a file to be encrypted. The electronic document to be encrypted is an arbitrary electronic document designated by the user or an electronic document having a specific extension. If it is determined that it should be encrypted, the process proceeds to step 211. If it is determined that encryption is not necessary, the process proceeds to step 212.

ステップ211で伸張処理を行い、ステップ203で作成した共通鍵、もしくはステップ206で取得した共通鍵と合致する所定の暗号化形式で暗号化を行い、ファイルとして出力して、ステップ212に進む。   In step 211, decompression processing is performed, encryption is performed in a predetermined encryption format that matches the common key created in step 203 or the common key acquired in step 206, the file is output, and the process proceeds to step 212.

ステップ212で電子バインダに含まれる各圧縮電子文書ファイルの伸張処理ループの終了条件を判定する。電子バインダに含まれる全ての電子文書が展開されていれば終了する。未だ展開されていない電子文書が存在すれば、ステップ204に戻り伸張処理を続行する。   In step 212, the end condition of the decompression processing loop of each compressed electronic document file included in the electronic binder is determined. If all electronic documents included in the electronic binder have been developed, the process ends. If there is an electronic document that has not been expanded yet, the process returns to step 204 to continue the decompression process.

図3は電子文書群を電子バインダとして圧縮アーカイブする際に、共通鍵で暗号化されている電子文書データは復号化して、何らかの理由により暗号化の際の共通鍵を持たないため復号化できない場合は暗号化されたファイルを削除した上で、アーカイブして電子バインダと結合する処理を示したフローチャートである。   Figure 3 shows the case where the electronic document data encrypted with the common key is decrypted and archived using the electronic document group as the electronic binder, and for some reason it cannot be decrypted because it does not have the common key for encryption. FIG. 5 is a flowchart showing a process of archiving and combining with an electronic binder after deleting an encrypted file.

ステップ301で展開された各電子文書を圧縮する圧縮処理ループを開始して、ステップ302に進む。   A compression processing loop for compressing each electronic document expanded in step 301 is started, and the process proceeds to step 302.

ステップ302で現在起動しているプログラムの管理するメモリ上に共通鍵が存在するか判定して存在していれば303に進み、存在していなければ307に進む。   In step 302, it is determined whether a common key exists in the memory managed by the currently activated program. If it exists, the process proceeds to 303, and if not, the process proceeds to 307.

ステップ303で現在処理を行っている電子文書ファイルが、プログラムが管理する共通鍵の形式に適合した形式で暗号化されているかどうかを判定する。暗号化されていると判定された場合がステップ304に進み、暗号化されていないと判定された場合ステップ305に進む。   In step 303, it is determined whether or not the electronic document file currently being processed is encrypted in a format suitable for the format of the common key managed by the program. If it is determined that the data is encrypted, the process proceeds to step 304. If it is determined that the data is not encrypted, the process proceeds to step 305.

ステップ304でプログラムで管理する共通鍵を用いて、暗号化電子文書ファイルの復号化を行い、ステップ305に進む。   In step 304, the encrypted electronic document file is decrypted using the common key managed by the program, and the process proceeds to step 305.

ステップ305で所定の判定条件に基づき、圧縮すべき電子文書かどうか判定する。圧縮すべきと判定された場合ステップ306に進み、圧縮しなくとも良いと判定された場合ステップ307に進む。   In step 305, it is determined whether the electronic document is to be compressed based on a predetermined determination condition. If it is determined that compression should be performed, the process proceeds to step 306. If it is determined that compression is not necessary, the process proceeds to step 307.

ステップ306で所定のアルゴリズムに基づき、電子文書ファイルを圧縮して、ステップ309に進む。   In step 306, the electronic document file is compressed based on a predetermined algorithm, and the process proceeds to step 309.

ステップ307で現在処理している電子文書が暗号化されているか判定する。暗号化されている場合ステップ308に進み、暗号化されていない場合ステップ305に進む。   In step 307, it is determined whether the electronic document currently being processed is encrypted. If it is encrypted, the process proceeds to step 308. If it is not encrypted, the process proceeds to step 305.

ステップ308で暗号化ファイルを削除する。このとき削除したファイルをユーザに通知する。   In step 308, the encrypted file is deleted. At this time, the deleted file is notified to the user.

ステップ309で展開された電子文書を圧縮する処理のループを終了する条件の判定を行う。展開された全ての電子文書が判定されていれば、この処理ループを終了してステップ310に進み、まだ処理されていない電子文書があればステップ301に進み圧縮処理を続行する。   A condition for ending the loop of the process of compressing the electronic document developed in step 309 is determined. If all the expanded electronic documents have been determined, the processing loop is terminated and the process proceeds to step 310. If there is an electronic document that has not been processed, the process proceeds to step 301 and the compression process is continued.

ステップ310でこれまで処理された圧縮電子文書と非圧縮電子文書を結合し、ヘッダ情報とフッタ情報を付与して電子バインダを再構成してステップ311に進む。   The compressed electronic document and the uncompressed electronic document processed so far in step 310 are combined, header information and footer information are added, the electronic binder is reconfigured, and the process proceeds to step 311.

ステップ311で展開されていた各電子文書を削除後、終了する。   After deleting each electronic document developed in step 311, the process ends.

図4は電子バインダとして圧縮アーカイブされた電子文書群を展開する際に、プログラム内部で現在時刻とユーザが入力したパスワードフレーズから共通鍵を作成し、この鍵を用いてファイルを暗号化してから展開する処理を示したフローチャートである。   Fig. 4 shows how to create a common key from the current time and the password phrase entered by the user inside the program when decompressing a group of electronic documents that have been compressed and archived as an electronic binder. It is the flowchart which showed the process to perform.

ステップ401でプログラム内部のメモリに既に共通鍵を保持しているかを判定する。下記に示す手順を通過して共通鍵を使用して破棄していない場合、それを継続して使用することが可能である。共通鍵がプログラム中にある場合、ステップ405に進み、無い場合ステップ402に進む。   In step 401, it is determined whether the common key is already held in the memory inside the program. If the common key is not discarded using the procedure shown below, it can be used continuously. If the common key is in the program, the process proceeds to step 405, and if not, the process proceeds to step 402.

ステップ402で現在時刻を取得する。取得する場合はできるだけ重複することを防ぐため、年月日時分秒ミリ秒の全てを求めて、ステップ403に進む。   In step 402, the current time is acquired. In the case of acquisition, in order to prevent duplication as much as possible, all the year / month / day / hour / minute / second / millisecond are obtained, and the process proceeds to Step 403.

ステップ404でユーザはパスワードフレーズ入力する。   In step 404, the user enters a password phrase.

ステップ403で、ステップ402で取得した前記時刻情報およびステップ404で取得したパスワードフレーズ情報を用いて、所定のアルゴリズムに基づき共通鍵を作成して、ステップ409に進む。作成される共通鍵はステップ412での暗号化形式で使用される所定の鍵情報形式に従う。   In step 403, a common key is created based on a predetermined algorithm using the time information acquired in step 402 and the password phrase information acquired in step 404, and the process proceeds to step 409. The generated common key follows a predetermined key information format used in the encryption format in step 412.

ステップ406で既存の鍵を使用するか判定する。継続して使用する場合ステップ407に進み、既存の鍵が何らかの理由により使用できない場合ステップ402に進み共通鍵を新規に作成する。   In step 406, it is determined whether to use an existing key. If it is used continuously, the process proceeds to step 407, and if the existing key cannot be used for some reason, the process proceeds to step 402 to create a new common key.

ステップ407で鍵管理DB408から鍵を取得して、ステップ409に進む。   In step 407, a key is acquired from the key management DB 408, and the process proceeds to step 409.

ステップ409で電子バインダ中の各圧縮電子文書ファイルを処理するループ処理を開始して、ステップ410に進む。   In step 409, a loop process for processing each compressed electronic document file in the electronic binder is started, and the process proceeds to step 410.

ステップ410で所定のアルゴリズムに基づき電子バインダから各圧縮電子文書ファイルを抽出して、ステップ411に進む。   In step 410, each compressed electronic document file is extracted from the electronic binder based on a predetermined algorithm, and the process proceeds to step 411.

ステップ411で所定のアルゴリズムに基づき圧縮電子分子ファイルの伸張を開始する。ステップ412で現在処理中の圧縮電子文書ファイルが暗号化すべきファイルかどうかを判定する。暗号化される電子文書は、ユーザが指定する任意の電子文書もしくは特定の拡張子を持つ電子文書などである。暗号化されるべきと判断された場合ステップ413に進み、暗号化しなくとも良いと判断された場合ステップ414に進む。   In step 411, decompression of the compressed electron molecule file is started based on a predetermined algorithm. In step 412, it is determined whether the compressed electronic document file currently being processed is a file to be encrypted. The electronic document to be encrypted is an arbitrary electronic document designated by the user or an electronic document having a specific extension. If it is determined that the data should be encrypted, the process proceeds to step 413. If it is determined that the data need not be encrypted, the process proceeds to step 414.

ステップ413で伸張処理を行い、ステップ403で作成した共通鍵、もしくはステップ407で取得した共通鍵と合致する所定の暗号化形式で暗号化を行い、ファイルとして出力して、ステップ414に進む。   In step 413, decompression processing is performed, encryption is performed in a predetermined encryption format that matches the common key created in step 403 or the common key acquired in step 407, output as a file, and the process proceeds to step 414.

ステップ414で電子バインダに含まれる各圧縮電子文書ファイルの伸張処理ループの終了条件を判定する。電子バインダに含まれる全ての電子文書が展開されていれば終了する。未だ展開されていない電子文書が存在すれば、ステップ409に戻り伸張処理を続行する。   In step 414, the termination condition of the decompression processing loop of each compressed electronic document file included in the electronic binder is determined. If all electronic documents included in the electronic binder have been developed, the process ends. If there is an electronic document that has not been expanded yet, the process returns to step 409 to continue the decompression process.

図5は電子文書群を電子バインダとして圧縮アーカイブする際に、共通鍵で暗号化されている電子文書データは復号化して、何らかの理由により暗号化の際の共通鍵をも持たないため復号化できない場合は暗号化されたファイルを削除した上で展開元の電子バインダから再取得を行い、アーカイブして電子バインダと結合する処理を示したフローチャートである。   Figure 5 shows that when compressing and archiving a group of electronic documents as an electronic binder, the electronic document data encrypted with the common key is decrypted, and for some reason, it cannot be decrypted because it does not have the common key for encryption. In this case, after the encrypted file is deleted, it is re-acquired from the expansion source electronic binder, archived, and combined with the electronic binder.

ステップ501で展開された各電子文書を圧縮する圧縮処理ループを開始して、ステップ502に進む。   A compression processing loop for compressing each electronic document expanded in step 501 is started, and the process proceeds to step 502.

ステップ502で現在起動しているプログラムの管理するメモリ上に共通鍵が存在するか判定する。存在していれば503に進み、存在していなければ506に進む。   In step 502, it is determined whether a common key exists in the memory managed by the currently activated program. If it exists, go to 503, otherwise go to 506.

ステップ503で現在処理を行っている電子文書ファイルが、プログラムが管理する共通鍵の形式に適合した形式で暗号化されているかどうかを判定する。暗号化されていると判定された場合がステップ504に進み、暗号化されていないと判定された場合ステップ510に進む。   In step 503, it is determined whether or not the electronic document file currently being processed is encrypted in a format suitable for the format of the common key managed by the program. If it is determined that the data is encrypted, the process proceeds to step 504. If it is determined that the data is not encrypted, the process proceeds to step 510.

ステップ504でプログラムで管理する共通鍵を用いて、暗号化電子文書ファイルの復号化を行い、ステップ510に進む。   In step 504, the encrypted electronic document file is decrypted using the common key managed by the program, and the flow advances to step 510.

ステップ510で所定の判定条件に基づき、圧縮すべき電子文書かどうか判定する。   In step 510, it is determined whether the electronic document is to be compressed based on a predetermined determination condition.

圧縮すべきと判定された場合、ステップ511に進み、圧縮しなくとも良いと判定された場合ステップ512に進む。ステップ511で所定のアルゴリズムに基づき、電子文書ファイルを圧縮してステップ512に進む。   If it is determined that compression should be performed, the process proceeds to step 511. If it is determined that compression is not necessary, the process proceeds to step 512. In step 511, the electronic document file is compressed based on a predetermined algorithm, and the process proceeds to step 512.

ステップ506で現在処理している電子文書が暗号化されているか判定する。暗号化されている場合、ステップ507に進み、暗号化されていない場合ステップ510に進む。   In step 506, it is determined whether the electronic document currently being processed is encrypted. If it is encrypted, the process proceeds to step 507. If it is not encrypted, the process proceeds to step 510.

ステップ507で現在処理している電子文書を削除する。このとき削除したファイルをユーザに通知する。   In step 507, the electronic document currently being processed is deleted. At this time, the deleted file is notified to the user.

ステップ512で展開された電子文書を圧縮する処理のループを終了する条件の判定を行う。展開された全ての電子文書が判定されていれば、この処理ループを終了してステップ513に進み、まだ処理されていない電子文書があればステップ501に進み圧縮処理を続行する。   The condition for ending the loop of the process of compressing the electronic document expanded in step 512 is determined. If all the expanded electronic documents have been determined, the processing loop is terminated and the process proceeds to step 513. If there is an electronic document that has not been processed yet, the process proceeds to step 501 and the compression process is continued.

ステップ513でこれまで処理された圧縮電子文書と非圧縮電子文書を結合し、ヘッダ情報とフッタ情報を付与して電子バインダを再構成して、ステップ514に進む。   In step 513, the compressed electronic document and the uncompressed electronic document processed so far are combined, header information and footer information are added, the electronic binder is reconfigured, and the process proceeds to step 514.

ステップ514で展開されていた各電子文書を削除後、終了する。   After deleting each electronic document developed in step 514, the process ends.

図6は電子バインダとして圧縮アーカイブされた電子文書群を展開する際に、プログラム内部でプログラムが動作中のPCのMACアドレスとユーザアカウントを取得してこれらの情報から共通鍵を作成し、この鍵を用いてファイルを暗号化してから展開する処理を示したフローチャートである。   Fig. 6 shows how to obtain a MAC key and a user account of the PC running the program inside the program and create a common key from these information when expanding the compressed and archived electronic document group as an electronic binder. 5 is a flowchart showing a process of encrypting a file using and then expanding the file.

ステップ601でプログラム内部のメモリに既に共通鍵を保持しているかを判定する。下記に示す手順を通過して共通鍵を使用して破棄していない場合、それを継続して使用することが可能である。共通鍵がプログラム中にある場合ステップ605に進み、無い場合ステップ602に進む。   In step 601, it is determined whether the common key is already held in the memory inside the program. If the common key is not discarded using the procedure shown below, it can be used continuously. If the common key is in the program, the process proceeds to step 605, and if not, the process proceeds to step 602.

ステップ602でプログラムが動作中のPCのMACアドレスとユーザアカウントを取得して、ステップ603に進む。   In step 602, the MAC address and user account of the PC on which the program is running are acquired, and the process proceeds to step 603.

ステップ603で、ステップ602で取得した前記動作中のPCのMACアドレスとユーザアカウントを用いて、所定のアルゴリズムに基づき共通鍵を作成して、ステップ604に進む。   In step 603, a common key is created based on a predetermined algorithm using the MAC address and user account of the operating PC acquired in step 602, and the process proceeds to step 604.

作成される共通鍵はステップ611での暗号化形式で使用される所定の鍵情報形式に従う。   The generated common key follows a predetermined key information format used in the encryption format in step 611.

ステップ605で既存の鍵を使用するか判定する。継続して使用する場合ステップ606に進み、既存の鍵が何らかの理由により使用できない場合ステップ602に進み共通鍵を新規に作成する。   In step 605, it is determined whether to use an existing key. If the key is to be used continuously, the process proceeds to step 606. If the existing key cannot be used for some reason, the process proceeds to step 602 to create a new common key.

ステップ606で鍵管理DB607から鍵を取得して、ステップ604に進む。   In step 606, a key is acquired from the key management DB 607, and the process proceeds to step 604.

ステップ604で電子バインダ中の各圧縮電子文書ファイルを処理するループ処理を開始して、ステップ608に進む。   In step 604, a loop process for processing each compressed electronic document file in the electronic binder is started, and the process proceeds to step 608.

ステップ608で所定のアルゴリズムに基づき電子バインダから各圧縮電子文書ファイルを抽出して、ステップ609に進む。   In step 608, each compressed electronic document file is extracted from the electronic binder based on a predetermined algorithm, and the process proceeds to step 609.

ステップ609で所定のアルゴリズムに基づき圧縮電子分子ファイルの伸張を開始する。ステップ610で現在処理中の圧縮電子文書ファイルが暗号化すべきファイルかどうかを判定する。暗号化される電子文書は、ユーザが指定する任意の電子文書もしくは特定の拡張子を持つ電子文書などである。暗号化されるべきと判断された場合ステップ611に進み、暗号化しなくとも良いと判断された場合ステップ612に進む。   In step 609, decompression of the compressed electron molecule file is started based on a predetermined algorithm. In step 610, it is determined whether the compressed electronic document file currently being processed is a file to be encrypted. The electronic document to be encrypted is an arbitrary electronic document designated by the user or an electronic document having a specific extension. If it is determined that encryption is to be performed, the process proceeds to step 611. If it is determined that encryption is not necessary, the process proceeds to step 612.

ステップ611で伸張処理を行い、ステップ603で作成した共通鍵、もしくはステップ606で取得した共通鍵と合致する所定の暗号化形式で暗号化を行い、ファイルとして出力して、ステップ612に進む。   In step 611, decompression processing is performed, encryption is performed in a predetermined encryption format that matches the common key created in step 603 or the common key acquired in step 606, the file is output, and the process proceeds to step 612.

ステップ612で電子バインダに含まれる各圧縮電子文書ファイルの伸張処理ループの終了条件を判定する。電子バインダに含まれる全ての電子文書が展開されていれば終了し、未だ展開されていない電子文書が存在すればステップ604に戻り伸張処理を続行する。   In step 612, the end condition of the decompression processing loop of each compressed electronic document file included in the electronic binder is determined. If all electronic documents included in the electronic binder have been expanded, the process ends. If there is an electronic document that has not been expanded yet, the process returns to step 604 to continue the decompression process.

図7は電子文書群を電子バインダとして圧縮アーカイブする際に、共通鍵で暗号化されている電子文書データは復号化して、何らかの理由により暗号化の際の共通鍵を持たないため復号化できない場合は暗号化されたファイルを削除した上で、アーカイブして電子バインダと結合し、既存の編集前展開元電子バインダを別名保存してバックアップファイルとして保持する処理を示したフローチャートである。   Fig. 7 shows the case where the electronic document data encrypted with the common key is decrypted and archived using the electronic document group as the electronic binder, and for some reason it cannot be decrypted because it does not have the common key for encryption. FIG. 4 is a flowchart showing a process of deleting an encrypted file, archiving it, combining it with an electronic binder, saving an existing unedited electronic binder before editing, and holding it as a backup file.

ステップ701で展開された各電子文書を圧縮する圧縮処理ループを開始して、ステップ702に進む。   A compression processing loop for compressing each electronic document developed in step 701 is started, and the process proceeds to step 702.

ステップ702で現在起動しているプログラムの管理するメモリ上に共通鍵が存在するか判定する。存在していればステップ703に進み、存在していなければステップ705に進む。   In step 702, it is determined whether a common key exists in the memory managed by the currently running program. If it exists, the process proceeds to step 703, and if not, the process proceeds to step 705.

ステップ703で現在処理を行っている電子文書ファイルが、プログラムが管理する共通鍵の形式に適合した形式で暗号化されているかどうかを判定する。暗号化されていると判定された場合がステップ704に進み、暗号化されていないと判定された場合ステップ708に進む。   In step 703, it is determined whether or not the electronic document file currently being processed is encrypted in a format that conforms to the format of the common key managed by the program. If it is determined that the data is encrypted, the process proceeds to step 704. If it is determined that the data is not encrypted, the process proceeds to step 708.

ステップ704でプログラムで管理する共通鍵を用いて、暗号化電子文書ファイルの復号化を行い、ステップ708に進む。   In step 704, the encrypted electronic document file is decrypted using the common key managed by the program, and the flow advances to step 708.

ステップ708で所定の判定条件に基づき、圧縮すべき電子文書かどうか判定する。   In step 708, it is determined whether the electronic document is to be compressed based on a predetermined determination condition.

圧縮すべきと判定された場合ステップ709に進み、圧縮しなくとも良いと判定された場合ステップ710に進む。   If it is determined that compression is to be performed, the process proceeds to step 709. If it is determined that compression is not necessary, the process proceeds to step 710.

ステップ709で所定のアルゴリズムに基づき、電子文書ファイルを圧縮して、ステップ710に進む。   In step 709, the electronic document file is compressed based on a predetermined algorithm, and the process proceeds to step 710.

ステップ705で現在処理している電子文書が暗号化されているか判定する。暗号化されている場合、ステップ706に進み、暗号化されていない場合ステップ708に進む。   In step 705, it is determined whether the electronic document currently being processed is encrypted. If it is encrypted, the process proceeds to step 706. If it is not encrypted, the process proceeds to step 708.

ステップ706で暗号化ファイルを削除する。このとき削除したファイルをユーザに通知する。   In step 706, the encrypted file is deleted. At this time, the deleted file is notified to the user.

ステップ707で削除されたことを示す削除フラグをONにする。   In step 707, the deletion flag indicating deletion is turned ON.

ステップ710で展開された電子文書を圧縮する処理のループを終了する条件の判定を行う。展開された全ての電子文書が判定されていれば、この処理ループを終了してステップ711に進み、まだ処理されていない電子文書があればステップ701に進み圧縮処理を続行する。   In step 710, a condition for ending the processing loop for compressing the electronic document developed is determined. If all the expanded electronic documents have been determined, the processing loop is terminated and the process proceeds to step 711. If there is an electronic document that has not been processed, the process proceeds to step 701 and the compression process is continued.

ステップ711で削除フラグの判定を行い、共通鍵を持たないために削除された暗号化ファイルがあるかどうか判定する。削除フラグがONの場合ステップ712に進み、削除フラグがOFFの場合ステップ713に進む。   In step 711, a deletion flag is determined to determine whether there is an encrypted file that has been deleted because it does not have a common key. If the deletion flag is ON, the process proceeds to step 712. If the deletion flag is OFF, the process proceeds to step 713.

ステップ712で展開元の既存電子バインダを別名で保存してステップ713に進む。   In step 712, the expansion source existing electronic binder is saved with a different name, and the flow advances to step 713.

ステップ713でこれまで処理された圧縮電子文書と非圧縮電子文書を結合し、ヘッダ情報とフッタ情報を付与して電子バインダを再構成して、ステップ714に進む。   In step 713, the compressed electronic document and the uncompressed electronic document processed so far are combined, header information and footer information are added, the electronic binder is reconfigured, and the process proceeds to step 714.

ステップ714で展開されていた各電子文書を削除後、終了する。   After deleting each electronic document developed in step 714, the process ends.

図8は本発明の文書管理システムに適用可能な情報処理装置の構成を示すブロック図である。   FIG. 8 is a block diagram showing a configuration of an information processing apparatus applicable to the document management system of the present invention.

図8において、CPU802はメインバス807を介して情報処理装置801全体の制御を実行するとともに、情報処理装置801の外部に接続される入力装置811(例えば、イメージスキャナ、記憶装置、ネットワーク回線を介して接続される他の情報処理装置、電話回線を介して接続されるファクシミリ等)を入力I/F(インタフェース)805を介して制御する。また、情報処理装置801の外部に接続される出力装置812(例えば、プリンタ、モニタ、ネットワーク回線を介して接続される他の情報処理装置、電話回線を介して接続されるファクシミリ等)を出力I/F806を介して制御する。また、CPU802は、KBDI/F(キーボードインタフェース)808を介して入力部(例えば、キーボード813やポインティングデバイス814やペン815)から入力された指示に従って、画像の入力、画像処理、色変換処理、画像の出力制御等の一連の処理を実行する。更に、入力装置811より入力された画像データや、キーボード813やポインティングデバイス814やペン815を用いて作成された画像データを表示する表示部810をビデオI/F(インタフェース809を介して制御する。   In FIG. 8, the CPU 802 executes control of the entire information processing apparatus 801 via the main bus 807, and inputs devices 811 (for example, an image scanner, a storage device, and a network line) connected to the outside of the information processing apparatus 801. Other information processing apparatuses connected via the telephone line, facsimiles connected via a telephone line, etc.) are controlled via an input I / F (interface) 805. Further, an output device 812 connected to the outside of the information processing device 801 (for example, a printer, a monitor, another information processing device connected via a network line, a facsimile connected via a telephone line, etc.) is output I. Control via / F806. In addition, the CPU 802 inputs an image, performs image processing, color conversion processing, and image according to an instruction input from an input unit (for example, a keyboard 813, a pointing device 814, or a pen 815) via a KBDI / F (keyboard interface) 808. A series of processing such as output control is executed. Further, the display unit 810 that displays image data input from the input device 811 and image data created using the keyboard 813, pointing device 814, and pen 815 is controlled via the video I / F (interface 809).

ROM803は、CPU802の各種制御を実行する各種制御プログラムを記憶している。RAM804は、CPU802によりOSや本発明を実現するための制御プログラムを含むその他の制御プログラムがロードされ実行される。また、制御プログラムを実行するために用いられる各種作業領域、一時待避領域として機能する。また、入力装置811より入力された画像データや、キーボード813やポインティングデバイス814やペン815を用いて作成された画像データを、一旦、保持するVRAM(不図示)が構成されている。   The ROM 803 stores various control programs that execute various controls of the CPU 802. The RAM 804 is loaded and executed by the CPU 802 with the OS and other control programs including a control program for realizing the present invention. It also functions as various work areas and temporary save areas used for executing the control program. Further, a VRAM (not shown) that temporarily holds image data input from the input device 811 and image data created using the keyboard 813, the pointing device 814, and the pen 815 is configured.

尚、本発明は、複数の機器(例えばホストコンピュータ、インタフェース機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。   Note that the present invention can be applied to a system (for example, a copier, a facsimile machine, etc.) consisting of a single device even if it is applied to a system composed of a plurality of devices (for example, a host computer, interface device, reader, printer, etc.) You may apply.

また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成されることは言うまでもない。   Another object of the present invention is to supply a storage medium storing software program codes for implementing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in the.

この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。   As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

更に、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明した図2、図3,図4,図5,図6,図7に示すフローチャートに対応するプログラムコードが格納されることになる。   When the present invention is applied to the above storage medium, the storage medium stores program codes corresponding to the flowcharts shown in FIGS. 2, 3, 4, 5, 6, and 7 described above. It will be.

本実施形態の文書管理システムおよび電子バインダ、電子文書の関係を示す概念図である。It is a conceptual diagram which shows the relationship between the document management system of this embodiment, an electronic binder, and an electronic document. 本発明の一実施例である電子バインダアプリケーションプログラムのプロセスIDとスレッドIDからの共通鍵作成処理と電子バインダの展開処理を示したフローチャートである。It is the flowchart which showed the common key creation process from the process ID and thread ID of the electronic binder application program which is one Example of this invention, and the expansion | deployment process of an electronic binder. 本発明の一実施例である電子バインダアプリケーションプログラムの暗号化電子文書の復号化処理と電子バインダ作成処理を示したフローチャートである。It is the flowchart which showed the decoding process of the encryption electronic document of the electronic binder application program which is one Example of this invention, and an electronic binder creation process. 本発明の一実施例である電子バインダアプリケーションプログラムの現在時刻とユーザ入力パスフレーズからの共通鍵作成処理と電子バインダの展開処理を示したフローチャートである。It is the flowchart which showed the common key production | generation process from the present time of the electronic binder application program which is one Example of this invention, and a user input passphrase, and the expansion | deployment process of an electronic binder. 本発明の一実施例である電子バインダアプリケーションプログラムの暗号化電子文書の復号化処理と電子バインダ作成処理を示したフローチャートである。It is the flowchart which showed the decoding process of the encryption electronic document of the electronic binder application program which is one Example of this invention, and an electronic binder creation process. 本発明の一実施例である電子バインダアプリケーションプログラムの動作PCのMACアドレスとユーザアカウント情報からの共通鍵作成処理と電子バインダの展開処理を示したフローチャートである。7 is a flowchart showing a common key creation process and an electronic binder deployment process based on the MAC address and user account information of an operation PC of an electronic binder application program according to an embodiment of the present invention. 本発明の一実施例である電子バインダアプリケーションプログラムの暗号化電子文書の復号化処理と電子バインダ作成処理を示したフローチャートである。It is the flowchart which showed the decoding process of the encryption electronic document of the electronic binder application program which is one Example of this invention, and an electronic binder creation process. 本実施形態の文書管理システムに適用可能な情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus applicable to the document management system of this embodiment.

Claims (24)

各種アプリケーション上で作成される複数の電子文書ファイルから構成される圧縮電子文書アーカイブファイルを構成する情報処理装置であって、
前記電子文書ファイルを所定のアルゴリズムに従い圧縮して圧縮電子文書ファイルを作成する手段と、
前記電子文書ファイルと前記圧縮電子文書をアーカイブして電子文書アーカイブファイルを作成する手段と、
前記圧縮電子文書アーカイブファイルに対して内部に格納されている電子文書ファイル情報の読み出し要求が出された際に、前記圧縮電子文書アーカイブファイルに格納された前記圧縮電子文書ファイル情報を取得する手段と、
前記情報取得手段によって取得された前記圧縮電子文書ファイル情報を表示する手段と
前記情報表示手段によって表示された前記電子文書情報を参照して、前期電子文書アーカイブファイル中の任意の圧縮電子文書を選択する手段と、
前記選択手段によって前記圧縮アーカイブアルゴリズムに対応する抽出アルゴリズムに従って前記圧縮電子文書ファイルを抽出して、前記圧縮アーカイブアルゴリズムに対応する伸長アルゴリズムに従って非圧縮電子文書ファイルに伸長する手段と、
所定のアルゴリズムに従いユーザが与えた情報から共通鍵を作成する手段と、
前記共通鍵作成手段を用いて作成された共通鍵をプログラムの管理するメモリもしくはディスク上の記憶領域上に配置する手段と、
前記伸張手段によって伸張された非圧縮電子文書ファイルを前記共通鍵作成手段により作成された共通鍵を用いて暗号化を行う手段と、
前記暗号化手段によって暗号化された暗号化電子文書を復号化する手段と
を備えたことを特徴とする情報処理装置。
An information processing apparatus that configures a compressed electronic document archive file composed of a plurality of electronic document files created on various applications,
Means for compressing the electronic document file according to a predetermined algorithm to create a compressed electronic document file;
Means for archiving the electronic document file and the compressed electronic document to create an electronic document archive file;
Means for acquiring the compressed electronic document file information stored in the compressed electronic document archive file when a request for reading the electronic document file information stored therein is issued to the compressed electronic document archive file; ,
A means for displaying the compressed electronic document file information acquired by the information acquisition means; and selecting any compressed electronic document in the previous electronic document archive file with reference to the electronic document information displayed by the information display means Means to
Means for extracting the compressed electronic document file by the selection means according to an extraction algorithm corresponding to the compressed archive algorithm and decompressing the compressed electronic document file according to an decompression algorithm corresponding to the compressed archive algorithm;
Means for creating a common key from information provided by a user according to a predetermined algorithm;
Means for arranging the common key created by using the common key creating means on a memory managed by the program or a storage area on the disk;
Means for encrypting the uncompressed electronic document file decompressed by the decompressing means using the common key created by the common key creating means;
An information processing apparatus comprising: means for decrypting the encrypted electronic document encrypted by the encryption means.
前記共通鍵作成手段は、プログラム動作時に該プログラムのプロセスIDを取得して、これを基に自動的に鍵を作成する手段を持つことを特徴とする請求項1に記載の情報処理装置。   2. The information processing apparatus according to claim 1, wherein the common key creating means has means for acquiring a process ID of the program during program operation and automatically creating a key based on the process ID. 前記共通鍵作成手段は、プログラム動作時に該プログラムのスレッドIDを取得して、これを基に自動的に鍵を作成する手段を持つことを特徴とする請求項1に記載の情報処理装置。   2. The information processing apparatus according to claim 1, wherein the common key creating means has means for acquiring a thread ID of the program during program operation and automatically creating a key based on the thread ID. 前記共通鍵作成手段は、プログラム動作時に該プログラムの現在時刻を取得して、これを基に自動的に鍵を作成する手段を持つことを特徴とする請求項1に記載の情報処理装置。   2. The information processing apparatus according to claim 1, wherein the common key creating means has means for obtaining a current time of the program during program operation and automatically creating a key based on the current time. 前記共通鍵作成手段は、プログラム動作時に該プログラムのユーザから取得した不定長のパスワードフレーズを基に自動的に鍵を作成する手段を持つことを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the common key creating unit includes a unit that automatically creates a key based on an indefinite-length password phrase acquired from a user of the program during a program operation. 前記共通鍵作成手段は、プログラム動作時に該プログラムの動作するMACアドレスを取得して、これを基に自動的に鍵を作成する手段を持つことを特徴とする請求項1に記載の情報処理装置。   2. The information processing apparatus according to claim 1, wherein the common key creating means has means for acquiring a MAC address at which the program operates during program operation and automatically creating a key based on the MAC address. . 前記共通鍵作成手段は、プログラム動作時に該プログラムの動作するユーザアカウント情報を取得して、これを基に自動的に鍵を作成する手段を持つことを特徴とする請求項1に記載の情報処理装置。   2. The information processing according to claim 1, wherein the common key creating means has means for acquiring user account information for operating the program and automatically creating a key based on the user account information when the program operates. apparatus. 前記共通鍵管理手段は該プログラム終了時に該プログラムが管理する共通鍵を自動的に廃棄する手段を持つことを特徴とする請求項1に記載の情報処理装置。   2. The information processing apparatus according to claim 1, wherein the common key management means includes means for automatically discarding a common key managed by the program when the program ends. 各種アプリケーション上で作成される複数の電子文書ファイルから構成される圧縮電子文書アーカイブファイルを構成する情報処理方法であって、
前記電子文書ファイルを所定のアルゴリズムに従い圧縮して圧縮電子文書ファイルを作成する工程と、
前記電子文書ファイルと前記圧縮電子文書をアーカイブして電子文書アーカイブファイルを作成する工程と、
前記圧縮電子文書アーカイブファイルに対して内部に格納されている電子文書ファイル情報の読み出し要求が出された際に、前記圧縮電子文書アーカイブファイルに格納された前記圧縮電子文書ファイル情報を取得する工程と、
前記情報取得工程によって取得された前記圧縮電子文書ファイル情報を表示する工程と
前記情報表示工程によって表示された前記電子文書情報を参照して、前期電子文書アーカイブファイル中の任意の圧縮電子文書を選択する工程と、
前記選択工程によって前記圧縮アーカイブアルゴリズムに対応する抽出アルゴリズムに従って前記圧縮電子文書ファイルを抽出して、前記圧縮アーカイブアルゴリズムに対応する伸長アルゴリズムに従って非圧縮電子文書ファイルに伸長する工程と、
所定のアルゴリズムに従いユーザが与えた情報から共通鍵を作成する工程と、
前記共通鍵作成工程を用いて作成された共通鍵をプログラムの管理するメモリもしくはディスク上の記憶領域上に配置する工程と、
前記伸張工程によって伸張された非圧縮電子文書ファイルを前記共通鍵作成工程により作成された共通鍵を用いて暗号化を行う工程と、
前記暗号化工程によって暗号化された暗号化電子文書を復号化する工程と
を備えたことを特徴とする情報処理方法。
An information processing method for configuring a compressed electronic document archive file composed of a plurality of electronic document files created on various applications,
Compressing the electronic document file according to a predetermined algorithm to create a compressed electronic document file;
Archiving the electronic document file and the compressed electronic document to create an electronic document archive file;
Obtaining the compressed electronic document file information stored in the compressed electronic document archive file when a read request for the electronic document file information stored therein is issued to the compressed electronic document archive file; ,
The step of displaying the compressed electronic document file information acquired by the information acquisition step and the electronic document information displayed by the information display step are selected, and an arbitrary compressed electronic document in the previous electronic document archive file is selected. And a process of
Extracting the compressed electronic document file according to the extraction algorithm corresponding to the compressed archive algorithm by the selecting step, and decompressing the compressed electronic document file according to the decompression algorithm corresponding to the compressed archive algorithm;
Creating a common key from information provided by the user according to a predetermined algorithm;
Placing the common key created using the common key creating step on a memory managed by the program or a storage area on the disk;
Encrypting the uncompressed electronic document file decompressed by the decompression step using the common key created by the common key creation step;
An information processing method comprising: a step of decrypting the encrypted electronic document encrypted by the encryption step.
前記共通鍵作成工程は、プログラム動作時に該プログラムのプロセスIDを取得して、これを基に自動的に鍵を作成する工程を持つことを特徴とする請求項9に記載の情報処理方法。   10. The information processing method according to claim 9, wherein the common key creating step includes a step of obtaining a process ID of the program during program operation and automatically creating a key based on the process ID. 前記共通鍵作成工程は、プログラム動作時に該プログラムのスレッドIDを取得して、これを基に自動的に鍵を作成する工程を持つことを特徴とする請求項9に記載の情報処理方法。   10. The information processing method according to claim 9, wherein the common key creating step includes a step of acquiring a thread ID of the program during program operation and automatically creating a key based on the acquired thread ID. 前記共通鍵作成工程は、プログラム動作時に該プログラムの現在時刻を取得して、これを基に自動的に鍵を作成する工程を持つことを特徴とする請求項9に記載の情報処理方法。   10. The information processing method according to claim 9, wherein the common key creating step includes a step of acquiring a current time of the program during program operation and automatically creating a key based on the current time. 前記共通鍵作成工程は、プログラム動作時に該プログラムのユーザから取得した不定長のパスワードフレーズを基に自動的に鍵を作成する工程を持つことを特徴とする請求項9に記載の情報処理方法。   10. The information processing method according to claim 9, wherein the common key creating step includes a step of automatically creating a key based on an indefinite length password phrase acquired from a user of the program during the program operation. 前記共通鍵作成工程は、プログラム動作時に該プログラムの動作するMACアドレスを取得して、これを基に自動的に鍵を作成する工程を持つことを特徴とする請求項9に記載の情報処理方法。   10. The information processing method according to claim 9, wherein the common key creation step includes a step of acquiring a MAC address at which the program operates during program operation and automatically generating a key based on the MAC address. . 前記共通鍵作成工程は、プログラム動作時に該プログラムの動作するユーザアカウント情報を取得して、これを基に自動的に鍵を作成する工程を持つことを特徴とする請求項9に記載の情報処理方法。   10. The information processing according to claim 9, wherein the common key creating step includes a step of acquiring user account information on which the program operates during program operation and automatically generating a key based on the user account information. Method. 前記共通鍵管理工程は該プログラム終了時に該プログラムが管理する共通鍵を自動的に廃棄する工程を持つことを特徴とする請求項9に記載の情報処理方法。   10. The information processing method according to claim 9, wherein the common key management step includes a step of automatically discarding the common key managed by the program when the program ends. 各種アプリケーション上で作成される複数の電子文書ファイルから構成される圧縮電子文書アーカイブファイルを構成する情報処理のプログラムコードが格納されたコンピュータ可読メモリであって、
前記電子文書ファイルを所定のアルゴリズムに従い圧縮して圧縮電子文書ファイルを作成する工程のプログラムコードと、
前記電子文書ファイルと前記圧縮電子文書をアーカイブして電子文書アーカイブファイルを作成する工程のプログラムコードと、
前記圧縮電子文書アーカイブファイルに対して内部に格納されている電子文書ファイル情報の読み出し要求が出された際に、前記圧縮電子文書アーカイブファイルに格納された前記圧縮電子文書ファイル情報を取得する工程のプログラムコードと、
前記情報取得工程のプログラムコードによって取得された前記圧縮電子文書ファイル情報を表示する工程のプログラムコードと
前記情報表示工程のプログラムコードによって表示された前記電子文書情報を参照して、前期電子文書アーカイブファイル中の任意の圧縮電子文書を選択する工程のプログラムコードと、
前記選択工程のプログラムコードによって前記圧縮アーカイブアルゴリズムに対応する抽出アルゴリズムに従って前記圧縮電子文書ファイルを抽出して、前記圧縮アーカイブアルゴリズムに対応する伸長アルゴリズムに従って非圧縮電子文書ファイルに伸長する工程のプログラムコードと、
所定のアルゴリズムに従いユーザが与えた情報から共通鍵を作成する工程のプログラムコードと、
前記共通鍵作成工程のプログラムコードを用いて作成された共通鍵をプログラムの管理するメモリもしくはディスク上の記憶領域上に配置する工程のプログラムコードと、
前記伸張工程のプログラムコードによって伸張された非圧縮電子文書ファイルを前記共通鍵作成工程のプログラムコードにより作成された共通鍵を用いて暗号化を行う工程のプログラムコードと、
前記暗号化工程のプログラムコードによって暗号化された暗号化電子文書を復号化する工程のプログラムコードと
を備えたことを特徴とする情報処理のプログラムコードが格納されたコンピュータ可読メモリ。
A computer readable memory storing a program code for information processing constituting a compressed electronic document archive file composed of a plurality of electronic document files created on various applications,
Program code of the step of compressing the electronic document file according to a predetermined algorithm to create a compressed electronic document file;
Program code for archiving the electronic document file and the compressed electronic document to create an electronic document archive file;
A step of obtaining the compressed electronic document file information stored in the compressed electronic document archive file when a request for reading the electronic document file information stored therein is issued to the compressed electronic document archive file; Program code,
A previous term electronic document archive file with reference to the program code of the step of displaying the compressed electronic document file information acquired by the program code of the information acquisition step and the electronic document information displayed by the program code of the information display step Program code of the process of selecting any compressed electronic document in;
Program code of the step of extracting the compressed electronic document file according to the extraction algorithm corresponding to the compressed archive algorithm by the program code of the selection step and decompressing the compressed electronic document file according to the decompression algorithm corresponding to the compressed archive algorithm; ,
A program code of a step of creating a common key from information given by a user according to a predetermined algorithm;
A program code of a step of arranging a common key created using the program code of the common key creation step on a memory managed by the program or a storage area on a disk;
A program code of a step of encrypting an uncompressed electronic document file decompressed by the program code of the decompression step using a common key created by the program code of the common key creation step;
A computer readable memory storing a program code for information processing, comprising: a program code for decrypting an encrypted electronic document encrypted by the program code for the encryption step.
前記共通鍵作成工程のプログラムコードは、プログラム動作時に該プログラムのプロセスIDを取得して、これを基に自動的に鍵を作成する工程のプログラムコードを持つことを特徴とする請求項17に記載の情報処理のプログラムコードが格納されたコンピュータ可読メモリ。   The program code of the common key creation step has a program code of a step of obtaining a process ID of the program at the time of program operation and automatically creating a key based on the process ID. A computer-readable memory in which program codes for information processing are stored. 前記共通鍵作成工程のプログラムコードは、プログラム動作時に該プログラムのスレッドIDを取得して、これを基に自動的に鍵を作成する工程のプログラムコードを持つことを特徴とする請求項17に記載の情報処理のプログラムコードが格納されたコンピュータ可読メモリ。   18. The program code of the common key creation step has a program code of a step of acquiring a thread ID of the program at the time of program operation and automatically creating a key based on the acquired thread ID. A computer-readable memory in which program codes for information processing are stored. 前記共通鍵作成工程のプログラムコードは、プログラム動作時に該プログラムの現在時刻を取得して、これを基に自動的に鍵を作成する工程のプログラムコードを持つことを特徴とする請求項17に記載の情報処理のプログラムコードが格納されたコンピュータ可読メモリ。   The program code of the common key creation step has a program code of a step of obtaining a current time of the program at the time of program operation and automatically creating a key based on the current time. A computer-readable memory in which program codes for information processing are stored. 前記共通鍵作成工程のプログラムコードは、プログラム動作時に該プログラムのユーザから取得した不定長のパスワードフレーズを基に自動的に鍵を作成する工程のプログラムコードを持つことを特徴とする請求項17に記載の情報処理のプログラムコードが格納されたコンピュータ可読メモリ。   18. The program code of the step of automatically creating a key based on an indefinite length password phrase acquired from a user of the program at the time of program operation, the program code of the common key creating step according to claim 17 A computer-readable memory in which the program code for the information processing described is stored. 前記共通鍵作成工程のプログラムコードは、プログラム動作時に該プログラムの動作するMACアドレスを取得して、これを基に自動的に鍵を作成する工程のプログラムコードを持つことを特徴とする請求項17に記載の情報処理のプログラムコードが格納されたコンピュータ可読メモリ。   18. The program code of the common key creating step has a program code of a step of acquiring a MAC address at which the program operates during program operation and automatically creating a key based on the MAC address. A computer-readable memory in which the program code for information processing described in 1 is stored. 前記共通鍵作成工程のプログラムコードは、プログラム動作時に該プログラムの動作するユーザアカウント情報を取得して、これを基に自動的に鍵を作成する工程のプログラムコードを持つことを特徴とする請求項17に記載の情報処理のプログラムコードが格納されたコンピュータ可読メモリ。   The program code of the common key creation step has a program code of a step of acquiring user account information on which the program operates during program operation and automatically creating a key based on the acquired user account information. A computer-readable memory in which the program code for information processing according to 17 is stored. 前記共通鍵管理工程のプログラムコードは該プログラム終了時に該プログラムが管理する共通鍵を自動的に廃棄する工程のプログラムコードを持つことを特徴とする請求項17に記載の情報処理のプログラムコードが格納されたコンピュータ可読メモリ。   The program code of the information processing according to claim 17, wherein the program code of the common key management step has a program code of a step of automatically discarding the common key managed by the program when the program ends. Computer readable memory.
JP2005272214A 2005-09-20 2005-09-20 Document editing apparatus and document editing method thereof, and recording medium Withdrawn JP2007088595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005272214A JP2007088595A (en) 2005-09-20 2005-09-20 Document editing apparatus and document editing method thereof, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005272214A JP2007088595A (en) 2005-09-20 2005-09-20 Document editing apparatus and document editing method thereof, and recording medium

Publications (1)

Publication Number Publication Date
JP2007088595A true JP2007088595A (en) 2007-04-05

Family

ID=37975168

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005272214A Withdrawn JP2007088595A (en) 2005-09-20 2005-09-20 Document editing apparatus and document editing method thereof, and recording medium

Country Status (1)

Country Link
JP (1) JP2007088595A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015022460A (en) * 2013-07-18 2015-02-02 日本電信電話株式会社 Information storage system, information storage device, method therefor, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015022460A (en) * 2013-07-18 2015-02-02 日本電信電話株式会社 Information storage system, information storage device, method therefor, and program

Similar Documents

Publication Publication Date Title
JP4702947B2 (en) Code information printing apparatus, printing method, restoration apparatus, restoration method, and computer program
JP2006330939A (en) Image processing apparatus and method
JP2008171390A (en) Printer and print method
JPH11177788A (en) Printing control method and printer
JP2005092731A (en) Online print management system and method, offline job restoring device, offline job generating device, and printer driver
JP2006099442A (en) Information processor, history file creation method, and program
JP6324794B2 (en) Cloud storage system
US20100271653A1 (en) Image forming apparatus and method for erasing data thereof
JP6693276B2 (en) Image processing apparatus and image processing program
JP4606808B2 (en) Data erasing apparatus, image forming apparatus, data erasing method, and data erasing program
US7602979B2 (en) Information processing method and apparatus
JP2007088595A (en) Document editing apparatus and document editing method thereof, and recording medium
JP2010124213A (en) Image forming apparatus and method of controlling the same
JP2007313795A (en) Image forming apparatus capable of storing and restoring setting information
JP2005184202A (en) Image processor and image processing method
JP2004258861A (en) Method of processing information
JP2011101117A (en) Data encryption device, data recovery device, and image forming apparatus
JP5409090B2 (en) Information processing apparatus, information processing method, program, and storage medium
CN108881472B (en) The processing method of electronic book documentary, electronic equipment, storage medium
JP2004258865A (en) Method of processing information
JP4924089B2 (en) Print processing system and print processing program
JP2005039637A (en) Image forming device
JP2006227707A (en) Image processor and image processing method for controlling display/non-display of thumb nail of image
JP2004086764A (en) Image processing apparatus and method of controlling the apparatus
JP2005242793A (en) Printing system, document management apparatus, and document management method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081202