JP2003005645A - Method, system and apparatus encrypting, apparatus for decrypting and computer program - Google Patents

Method, system and apparatus encrypting, apparatus for decrypting and computer program

Info

Publication number
JP2003005645A
JP2003005645A JP2001184758A JP2001184758A JP2003005645A JP 2003005645 A JP2003005645 A JP 2003005645A JP 2001184758 A JP2001184758 A JP 2001184758A JP 2001184758 A JP2001184758 A JP 2001184758A JP 2003005645 A JP2003005645 A JP 2003005645A
Authority
JP
Japan
Prior art keywords
encryption
file
public key
encrypted file
encrypted
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.)
Pending
Application number
JP2001184758A
Other languages
Japanese (ja)
Inventor
Toshitada Kameda
俊忠 亀田
Tsutomu Iwai
勉 岩井
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP2001184758A priority Critical patent/JP2003005645A/en
Publication of JP2003005645A publication Critical patent/JP2003005645A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To protect individual privacy associated with personal data of patients, etc., treated in facilities associated with medical care and allow processing analysis and statistics of the data of the patients, etc. SOLUTION: An encrypting method includes a selecting process for selecting a field corresponding to an item capable of identifying an individual in a personal data file including personal records comprising a plurality of the fields having the personal data encoded, digitized and converted into text in unified format item by item, a partially encrypting process for encrypting the selected field by using the first public key, not encrypting unselected fields and producing a partially encrypted file, a wholly encrypting process for encrypting the partially encrypted file and producing a wholly encrypted file and a wholly decrypting process for decrypting the produced wholly encrypted file and reproducing the partially encrypted file.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明が属する技術分野】本発明は、例えば医療関連施
設で扱われる患者データ等の個人データに係る個人のプ
ライバシーを保護するために用いられる暗号方法、暗号
システム、暗号化装置、復号化装置及びコンピュータプ
ログラムの技術分野に属する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encryption method, an encryption system, an encryption device, a decryption device, and an encryption method used to protect the privacy of individuals related to individual data such as patient data handled in medical facilities. Belongs to the technical field of computer programs.

【0002】[0002]

【従来の技術】この種の暗合方法には、一般に共通鍵暗
号方式、秘密鍵暗号方式、公開鍵暗号方式による暗号方
法がある。
2. Description of the Related Art Generally, encryption methods of this type include common key cryptography, secret key cryptography, and public key cryptography.

【0003】共通鍵暗号方式とは、1個の共通鍵で暗号
化した場合には、暗号化されたデータを、同じ共通鍵を使
って復号化する方式である。
The common key cryptosystem is a system in which, when encrypted with one common key, the encrypted data is decrypted using the same common key.

【0004】秘密鍵暗号方法とは、どのような方法で暗
号化するかというアルゴリズムを不特定多数人で利用可
能なように公開する一方で、暗号化する鍵及び復号化す
る鍵を秘密にしておき、これらの秘密の鍵を用いて暗号
化及び復号化する方式である。この場合、暗号化の鍵と
復号化の鍵とを同じにするのが普通であり、一般に上述
の共通鍵暗号方式と同義で扱われることが多い。尚、こ
のような秘密鍵或いは共通鍵は、暗号化本来の目的のた
めには、発信者と受信者が夫々第3者に知られないよう
に保管することが前提となる。
[0004] The secret key encryption method is to disclose an algorithm of how to perform encryption so that it can be used by an unspecified number of people, while keeping the encryption key and the decryption key secret. This is a method of encryption and decryption using these secret keys. In this case, the encryption key and the decryption key are usually the same, and in general, they are often treated as synonymous with the above-mentioned common key cryptosystem. For the original purpose of encryption, it is premised that such a secret key or common key be stored so that the sender and the receiver are not known to third parties.

【0005】他方、公開鍵暗号方式とは、暗号化する鍵
である公開鍵でデータを暗号化した場合には、暗号化さ
れたデータを、これとは異なる復号化の鍵であると共に
秘密である(即ち、発信者には知られない)秘密鍵で復
号化する方式である。
On the other hand, the public key cryptosystem means that when data is encrypted with a public key which is a key for encryption, the encrypted data is a decryption key different from this and is secret. It is a method of decrypting with a secret key (that is, unknown to the sender).

【0006】これらの各種暗号方法を、例えば特開平2
000−331101号公報、特開平11−10231
7号公報、特開平11−053668号公報等に開示さ
れているように医療関連施設で用いれば、暗号化された
患者データ等の個人データを通信手段を介して転送或い
は移送する途中で、データが漏洩しても或いは盗まれて
も、共通鍵や秘密鍵がない限り、データを複合化できない
ので、個人データに係るプライバシーを保護できるとさ
れている。
These various encryption methods are disclosed in, for example, Japanese Patent Laid-Open No.
000-331101, JP-A-11-10231
When used in a medical facility as disclosed in Japanese Patent Laid-Open No. 7 and Japanese Patent Application Laid-Open No. H11-053668, data is transferred during transfer or transfer of personal data such as encrypted patient data via a communication means. Even if the data is leaked or stolen, the data cannot be decrypted unless there is a common key or a secret key, and it is said that privacy related to personal data can be protected.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上述し
た各種暗号方法によれば、暗号前にデータを取り扱う、
例えば病院等の医療関連施設では、守秘義務がある医
師、看護婦、検査技師、薬剤師等しか患者データ等を見
ることはできないものの、患者データ等の復号化後にデ
ータを扱う、例えば研究施設、公的機関、他の病院、大
学等の他の医療関連施設では、一般に守秘義務のない研
究員、調査員、事務員等であっても患者データ等を見る
ことが可能になる。そして、例えば患者データ上で患者
の氏名に係る項目を伏せておいたとしても、故意又は偶
然により患者データに係る患者個人が、例えば性別、生
年月日、入院年月日、退院年月日、病歴、通院暦等の項目
など、患者データのいずれかの項目から特定されてしま
う可能性が高いという大きな問題点がある。即ち、暗号
化した患者データ等に対しては、復号化後に、医療関係
の各種統計処理や解析処理が行われる性質上、各種関係
者の目に触れる状態となるため、患者データ等の個人デ
ータに係るプライバシーの保護を図ることが実際上は極
めて困難となる。この際特に、例えば患者が特定される
のを完全に避けた形では、患者データを医療向上のため
の解析に利用することは困難であり、逆に、例えば医療
向上のために各種患者データを利用可能とすれば、氏名
を伏せておく程度では、性別、生年月日、入院年月日、退院
年月日、病歴、通院暦等を通じて患者が特定されてしま
うという解決困難な問題点がある。
However, according to the various encryption methods described above, data is handled before encryption.
For example, in a medical-related facility such as a hospital, only doctors, nurses, laboratory technicians, pharmacists, etc. who have a duty of confidentiality can see patient data, but handle data after decryption of patient data. At medical institutions, other hospitals, other medical facilities such as universities, patient data, etc. can be viewed even by researchers, investigators, clerks, etc. who do not generally have confidentiality obligations. Then, for example, even if the item related to the name of the patient is hidden on the patient data, the patient individual related to the patient data intentionally or accidentally, for example, sex, date of birth, date of hospitalization, date of discharge, There is a big problem that there is a high possibility that it will be identified from any item of patient data, such as items such as medical history and hospital history. In other words, encrypted patient data, etc. is in a state of being visible to various parties due to the nature of various statistical processing and analysis processing related to medical care after decryption, so personal data such as patient data is It will be extremely difficult in practice to protect the privacy related to. In this case, in particular, it is difficult to use the patient data for analysis for improving medical care, in the case of completely avoiding the identification of the patient. If it is available, there is a problem that it is difficult to solve the problem that if the name is hidden, the patient will be identified based on gender, date of birth, date of hospitalization, date of discharge, medical history, hospital history, etc. .

【0008】本発明は上述の問題点に鑑みなされたもの
であり、患者等の個人のプライバシーを守りながら、患者
データ等の個人データの解析処理や統計処理を可能なら
しめる暗号方法、暗号システム、暗号化装置、復号化装
置、並びにコンピュータをそのような暗号システム、暗
号化装置及び復号化装置として機能ならしめるコンピュ
ータプログラムを提供することを課題とする。
The present invention has been made in view of the above problems, and an encryption method, an encryption system, which enables analysis processing and statistical processing of personal data such as patient data while protecting the privacy of individuals such as patients. An object is to provide an encryption device, a decryption device, and a computer program that causes a computer to function as such an encryption system, an encryption device, and a decryption device.

【0009】[0009]

【課題を解決するための手段】本発明の暗号方法は上記
課題を解決するために、所定単位の、例えば患者データ
等の個人データを統一フォーマットで、例えば医療関連
項目等の項目毎に夫々コード化、デジタル化又はテキス
ト化した複数フィールドからなる、例えば患者レコード
等の個人レコードを少なくとも一つ含んでなる、例えば
患者データファイル等の個人データファイルの中で、所
定基準に従って、例えば患者個人等の個人を特定可能と
される項目に対応するフィールドを選択する選択工程
と、該選択されたフィールドを第1公開鍵で暗号化する
と共に前記選択工程により選択されないフィールドを暗
号化しないで部分暗号化ファイルを作成する部分暗号化
工程と、該作成された部分暗号化ファイルを暗号化して
全体暗号化ファイルを作成する全体暗号化工程と、該作
成された全体暗号化ファイルを復号化して前記部分暗号
化ファイルを再生する全体復号化工程とを備える。
In order to solve the above-mentioned problems, the encryption method of the present invention codes a predetermined unit of personal data such as patient data in a unified format and codes each item such as medical-related items. In a personal data file, such as a patient data file, that includes at least one personal record, such as a patient record, that consists of multiple fields that are digitized, digitized, or textified, according to a predetermined standard, such as a patient individual, A selection step of selecting a field corresponding to an item that can identify an individual, and a partially encrypted file in which the selected field is encrypted with a first public key and the fields not selected in the selection step are not encrypted Partial encryption process for creating a whole encrypted file by encrypting the created partial encrypted file Comprising the entire encryption process of creating, the overall decoding process for reproducing the partial encryption file by decoding the entire encrypted file that is the created.

【0010】本発明の暗号方法によれば、先ず選択工程
により、複数フィールドからなる患者レコード等の個人
レコードを含んでなる患者データファイル等の個人デー
タファイルの中で、所定基準に従って、患者個人等の個
人を特定可能とされる項目に対応するフィールドを選択
する。ここに「個人レコード」とは、例えば患者レコー
ドを例にとれば、1入院単位、1レセプト単位、1カル
テ単位等の患者データを取り扱う上でまとめられた記録
の単位であるが、より一般には何らかの個人データを取
り扱う上でまとめられた記録の単位である。この選択工
程では、例えば患者IDに対応するフィールド、患者の
生年月日に対応するフィールド、退院年月日に対応する
フィールド、入院年月日に対応するフィールドなど、患
者を特定可能とされる項目等に対応するフィールドを選
択するが、より一般には個人を特定可能とされる項目に
対応するフィールドを選択する。このような患者個人等
の個人を特定可能か否かについての所定基準は、経験的、
実験的、理論的に予め設定しておけばよく、実際の使用
環境に応じて個別具体的に変更を加えてもよい。そし
て、部分暗号化工程により、このように選択されたフィ
ールドを第1公開鍵で暗号化すると共に選択されないフ
ィールドを暗号化しないことにより、部分暗号化ファイ
ルを作成する。続いて、全体暗号化工程により、この作成
された部分暗号化ファイルを、例えば共通鍵方式、秘密
鍵方式、公開鍵方式等の公知の暗号化方式で暗号化し
て、全体暗号化ファイルを作成する。その後、この全体
暗号化ファイルが、インターネット等の通信手段を通じ
て、例えば病院等の一の医療関連施設から医療研究所な
どの他の医療関連施設に転送されたり、フレキシブルデ
ィスク、CD−RAM等の記憶媒体に格納された状態で
移送される。この際、当該全体暗号化ファイルが漏洩し
たり盗難されたりしても、全体が暗号化されているので、
意味が理解されることは無い。その後、転送或いは移送
先である、例えば他の医療関連施設等で、全体復号化工
程により、この全体暗号化ファイルを復号化して部分暗
号化ファイルを再生する。しかるに本発明によれば、こ
のように他の医療関連施設等で再生された部分暗号化フ
ァイルにおいては、個人を特定可能とされるフィールド
が、未だ第1公開鍵で暗号化された状態にあるので、例
えば研究施設、公的機関、他の病院、大学等の当該他の
医療関連施設で一般に守秘義務のない研究員、調査員、
事務員等がこのような部分暗号化ファイルの一部とし
て、患者データ等の個人データを見ても、これに係る個
人が特定されてしまう可能性が顕著に低減される。即
ち、個人データの転送や移送後における、例えば医療関
係等の各種統計処理や解析処理の際に、例えば病名、術
式、治療結果、治療薬等の個人データが各種関係者の目に
触れる状態となっても、個人が特定されないので、各個
人におけるプライバシーの保護を図ることができる。こ
の際特に、個人を特定可能とされる項目についての基準
を調節すれば、個人が特定されることを避けつつ、例え
ば患者データを各種解析や統計処理に利用することが可
能となる。例えば、患者データ上で氏名、性別、生年月
日、入退院年月日、病歴、通院暦等に対応するフィールド
については、意味が理解されないように、前記所定基準
を予め設定しておけば、部分暗号化ファイルを見ても患
者が特定されてしまう可能性は殆ど或いは実践的な意味
で全くなくなる。逆に、暗号化されていないフィールド
を見れば、例えば、この患者は、今までに何回入院したの
か?以前に入院したのか?以前にどのような治療をした
のか?などの情報を、個人を特定することなく分析で
き、例えば症例分析、病院評価、術式評価、投薬評価等の
各種の統計処理や解析処理を行える。
According to the encryption method of the present invention, first of all, in the selecting step, in a personal data file such as a patient data file including a personal record such as a patient record composed of a plurality of fields, a patient individual or the like is in accordance with a predetermined standard. Select the field corresponding to the item that can be used to identify the individual. Here, for example, in the case of a patient record, the “individual record” is a unit of records collected when handling patient data such as one hospital unit, one receipt unit, one chart unit, but more generally, It is a unit of records collected when handling some personal data. In this selection step, for example, a field corresponding to the patient ID, a field corresponding to the date of birth of the patient, a field corresponding to the date of discharge, a field corresponding to the date of admission, and the like, which can identify the patient , Etc., but more generally, a field corresponding to an item that can identify an individual is selected. The predetermined criteria regarding whether or not an individual such as a patient can be specified is empirical,
It may be set experimentally or theoretically in advance, and may be changed specifically according to the actual use environment. Then, in the partial encryption step, the fields thus selected are encrypted with the first public key and the fields not selected are not encrypted, thereby creating a partially encrypted file. Then, in the whole encryption process, the created partial encrypted file is encrypted by a known encryption method such as a common key method, a secret key method, a public key method, etc., to create an entire encryption file. . After that, the entire encrypted file is transferred from one medical-related facility such as a hospital to another medical-related facility such as a medical laboratory through a communication means such as the Internet, or is stored in a flexible disk, a CD-RAM, or the like. It is transported as it is stored in the medium. At this time, even if the whole encrypted file is leaked or stolen, the whole is encrypted, so
The meaning is never understood. After that, in a transfer or transfer destination, for example, another medical facility, etc., the whole encryption file is decrypted and the partially encrypted file is reproduced by the whole decryption process. However, according to the present invention, in the partially encrypted file reproduced in another medical-related facility as described above, the field that can identify an individual is still in the state of being encrypted with the first public key. Therefore, for example, researchers and investigators who do not generally have confidentiality obligations at other medical-related facilities such as research facilities, public institutions, other hospitals, and universities.
Even if an office worker or the like views personal data such as patient data as a part of such a partially encrypted file, the possibility that the individual concerned is specified is significantly reduced. In other words, after the transfer or transfer of personal data, for example, when various statistical processing or analysis processing related to medical care is performed, personal data such as disease name, operative method, treatment result, and therapeutic drug are visible to various parties. However, since the individual is not specified, the privacy of each individual can be protected. In this case, in particular, by adjusting the criteria for the items that can identify the individual, it is possible to use the patient data for various analyzes and statistical processing while avoiding the identification of the individual. For example, for fields corresponding to name, sex, date of birth, date of hospitalization, medical history, hospital history, etc. on patient data, if the above-mentioned predetermined criteria are set in advance so that the meaning is not understood, partial There is little or no practical meaning to identify a patient by looking at the encrypted file. Conversely, if you look at the unencrypted fields, for example, how many times has this patient been hospitalized so far? Have you been hospitalized before? What kind of treatment did you do before? Such information can be analyzed without identifying an individual, and various statistical processing and analysis processing such as case analysis, hospital evaluation, operative method evaluation, and drug evaluation can be performed.

【0011】以上のように、本発明の暗号方法によれば、
個人のプライバシーを守りながら、個人データの解析処
理や統計処理を行うことが可能となる。
As described above, according to the encryption method of the present invention,
It becomes possible to perform analysis processing and statistical processing of personal data while protecting individual privacy.

【0012】本発明の暗号方法の一態様では、前記再生
された部分暗号化ファイルのうち前記選択されたフィー
ルドを前記第1公開鍵に対応する第1秘密鍵で復号化し
て前記患者データファイルを再生する部分復号化工程を
更に備える。
In one aspect of the encryption method of the present invention, the selected field of the reproduced partially encrypted file is decrypted with a first secret key corresponding to the first public key to obtain the patient data file. It further comprises a partial decoding step of reproducing.

【0013】この態様によれば、部分復号化工程によ
り、再生された部分暗号化ファイルのうち、未だ暗号化
されているフィールドを、第1公開鍵に対応する第1秘
密鍵で復号化して、例えば患者データファイル等の個人
データファイルを再生する。従って、当該個人データに
ついて守秘義務のある、例えば主治医等の特定人のみに
第1秘密鍵を知らせておけば、この者のみが復号化後の
個人データの全てを見ることができる。
According to this aspect, in the partial decryption step, the field which is still encrypted in the reproduced partial encrypted file is decrypted by the first secret key corresponding to the first public key, For example, a personal data file such as a patient data file is reproduced. Therefore, if only the specific person, such as the attending physician, who has a duty of confidentiality regarding the personal data is informed of the first secret key, only this person can see all the decrypted personal data.

【0014】或いは本発明の暗号方法の他の態様では、
前記選択工程は、前記所定基準として段階的な複数の基
準に従って前記フィールドを段階的に選択し、前記部分
暗号化工程は、前記段階的に選択されたフィールドを、
段階毎に異なる第1公開鍵で暗号化する。
Alternatively, in another aspect of the encryption method of the present invention,
The selection step selects the field stepwise according to a plurality of stepwise standards as the predetermined standard, and the partial encryption step selects the field selected stepwise,
The encryption is performed with the first public key that is different for each stage.

【0015】この態様によれば、個人を特定可能とされ
る所定基準を段階分けする。例えば、個人を特定するの
が非常に容易な、氏名、住所、患者IDなどについては第
1基準とし、生年月日、入院月日、退院月日等については
第2基準とし、入院期間、病歴、慢性病歴等については
第3基準とし、これらに従って、フィールドを段階毎に
異なる第1公開鍵で暗号化する。従って、個人の特定の
し易さに応じて別々の暗号化の鍵で暗号化でき、最終的
には、別々の復号化の鍵で復号化できる。
According to this aspect, the predetermined standard by which an individual can be specified is divided into stages. For example, names, addresses, patient IDs, etc., which make it very easy to identify an individual, are the first criteria, and birth dates, hospitalization dates, discharge dates, etc. are the second criteria, and the length of hospitalization and medical history , Chronic medical history, etc. are set to the third standard, and the field is encrypted with the first public key that is different for each stage according to these standards. Therefore, it is possible to perform encryption with different encryption keys according to the ease of individual identification, and finally it is possible to perform decryption with different decryption keys.

【0016】この態様では、前記全体復号化工程により
再生された部分暗号化ファイルのうち前記段階的に選択
されたフィールドを前記段階毎に異なる第1公開鍵に対
応する第1秘密鍵で復号化する部分復号化工程を更に備
えてもよい。
In this aspect, the stepwise selected field of the partially encrypted file reproduced by the whole decryption step is decrypted by the first secret key corresponding to the first public key which is different for each step. It may further include a partial decoding step.

【0017】このように構成すれば、復号化後の部分暗
号化ファイルを、例えば所長、副所長、事務委員長、研究
者、事務員等の立場が異なる人間に対して異なる秘密鍵
を知らせることにより、その立場に応じて見ることがで
きる、患者データ等の個人データの種類を変えられる。
このため、個人のプライバシーを保護しつつ立場に応じ
て必要な個人データを提供でき、大変便利である。
According to this structure, the partially encrypted file after decryption is notified of different secret keys to persons with different positions such as the director, deputy director, secretary general, researcher, and clerk. Can change the type of personal data, such as patient data, that can be viewed according to its position.
Therefore, it is very convenient because it is possible to provide necessary personal data according to the position while protecting the privacy of the individual.

【0018】本発明の暗号方法の他の態様では、前記全
体暗号化工程は、共通鍵で前記部分暗号化ファイルを暗
号化する工程と、該共通鍵を第2公開鍵で暗号化する工
程とを含み、前記全体復号化工程は、前記第2公開鍵に対
応する第2秘密鍵で前記共通鍵を復号化する工程と、該
復号化された共通鍵で前記全体暗号化ファイルを復号す
る工程とを含む。
In another aspect of the encryption method of the present invention, the whole encryption step includes a step of encrypting the partial encryption file with a common key, and a step of encrypting the common key with a second public key. And a step of decrypting the common key with a second secret key corresponding to the second public key, and a step of decrypting the entire encrypted file with the decrypted common key. Including and

【0019】この態様によれば、全体暗号化工程によ
り、全体暗号化ファイルは、暗号化された公開鍵たる第
2公開鍵で暗号化されていることとなり、当該全体暗号
化ファイルの転送時や移送時における漏洩、盗難に対す
るセキュリティーを向上できる。
According to this aspect, the whole encrypted file is encrypted by the second public key, which is the encrypted public key, in the whole encryption process, and when the whole encrypted file is transferred, Security against leakage and theft during transportation can be improved.

【0020】或いは本発明の暗号方法の他の態様では、
前記全体暗号化工程は、第2公開鍵で前記部分暗号化フ
ァイルを暗号化し、前記全体復号化工程は、前記第2公
開鍵に対応する第2秘密鍵で前記全体暗号化ファイルを
復号化する。
Alternatively, in another aspect of the encryption method of the present invention,
The whole encryption step encrypts the partially encrypted file with a second public key, and the whole decryption step decrypts the whole encrypted file with a second secret key corresponding to the second public key. .

【0021】この態様によれば、全体暗号化ファイルは、
第2秘密鍵がなければ復号化できないので、当該全体暗
号化ファイルの転送時や移送時における漏洩、盗難に対
するセキュリティーを向上できる。
According to this aspect, the entire encrypted file is
Since it cannot be decrypted without the second secret key, it is possible to improve security against leakage or theft during transfer or transfer of the entire encrypted file.

【0022】本発明の暗号方法の他の態様では、前記部
分暗号化ファイルに対し、前記個人レコード毎に個人I
Dコードとは異なるレコード識別子を付与する工程を更
に含み、前記部分暗号化工程は、前記レコード識別子に
基づいて前記個人レコードの統計処理又は解析処理が可
能なように前記選択されたフィールドを暗号化する。
In another aspect of the encryption method of the present invention, an individual I is recorded for each individual record in the partially encrypted file.
The method further includes the step of assigning a record identifier different from the D code, wherein the partial encryption step encrypts the selected field so that statistical processing or analysis processing of the personal record can be performed based on the record identifier. To do.

【0023】この態様によれば、個人のプライバシーを
保護したまま、部分暗号化ファイルを、例えば患者ID
ではなく、入院単位等の患者レコード毎に付与されたレ
コード識別子に基づいて、統計処理又は解析処理が可能
となり、医療情報データベース等のデータベースを構築
することも可能となる。例えば、同じコードは同じコー
ドに変換し、同じデジタル値は同じデジタル値に変換
し、或いは同じテキストは同じテキストに変換する可逆
方式の暗号化方式により、各フィールドを選択的に暗号
化することで、暗号化された状態(即ち個人を特定でき
ない状態)のままで、例えば病院評価、症例分析、術式評
価、投薬評価等の統計処理や解析処理を行える。しか
も、守秘義務のある関係機関や関係者によって、フィー
ルドを部分的に暗号化した際に用いた第1公開鍵に対応
する第1秘密鍵を用いて部分復号化処理を行えば、この
ように統計処理や解析処理の結果上における個人データ
を全て見ることも可能となる。
According to this aspect, the partially encrypted file is stored, for example, in the patient ID, while protecting the privacy of the individual.
Instead, it is possible to perform statistical processing or analysis processing based on a record identifier given to each patient record such as a unit of hospitalization, and it is also possible to construct a database such as a medical information database. For example, the same code is converted into the same code, the same digital value is converted into the same digital value, or the same text is converted into the same text. The statistical processing and analysis processing such as hospital evaluation, case analysis, operative method evaluation, and drug evaluation can be performed in the encrypted state (that is, the state in which an individual cannot be specified). Moreover, if a related organization or a person with a confidentiality obligation performs a partial decryption process using the first secret key corresponding to the first public key used when partially encrypting the field, It is also possible to see all the personal data on the results of statistical processing and analysis processing.

【0024】本発明の暗号システムは上記課題を解決す
るために、所定単位の、例えば患者データ等の個人デー
タを統一フォーマットで、例えば医療関連項目等の項目
毎に夫々コード化、デジタル化又はテキスト化した複数
フィールドからなる、例えば患者レコード等の個人レコ
ードを少なくとも一つ含んでなる、例えば患者データフ
ァイル等の個人データファイルの中で、所定基準に従っ
て、例えば患者個人等の個人を特定可能とされる項目に
対応するフィールドを選択する選択手段と、該選択され
たフィールドを第1公開鍵で暗号化すると共に前記選択
手段により選択されないフィールドを暗号化しないで部
分暗号化ファイルを作成する部分暗号化手段と、該作成
された部分暗号化ファイルを暗号化して全体暗号化ファ
イルを作成する全体暗号化手段と、該作成された全体暗
号化ファイルを復号化して前記部分暗号化ファイルを再
生する全体復号化手段とを備える。
In order to solve the above-mentioned problems, the encryption system of the present invention codes, digitizes or texts a predetermined unit of personal data such as patient data in a unified format for each item such as medical-related items. In a personal data file, such as a patient data file, that includes at least one personal record, such as a patient record, that is composed of multiple fields, it is possible to specify an individual, such as a patient individual, according to a predetermined standard. Selecting means for selecting a field corresponding to an item, and partial encryption for encrypting the selected field with the first public key and creating a partially encrypted file without encrypting the fields not selected by the selecting means And a means for encrypting the created partial encrypted file to create an entire encrypted file. Comprising encrypting means, and the whole decoding unit by decoding the entire encrypted file that is the created to reproduce the partial encrypted file.

【0025】本発明の暗号システムによれば、先ず選択
手段により、複数フィールドからなる個人レコードを含
んでなる個人データファイルの中で、所定基準に従っ
て、個人を特定可能とされる項目に対応するフィールド
を選択する。そして、部分暗号化手段により、このよう
に選択されたフィールドを第1公開鍵で暗号化すると共
に選択されないフィールドを暗号化しないことにより、
部分暗号化ファイルを作成する。続いて、全体暗号化手
段により、この作成された部分暗号化ファイルを暗号化
して、全体暗号化ファイルを作成する。その後、この全
体暗号化ファイルが、インターネット等の通信手段を通
じて転送されたり、記憶媒体に格納された状態で移送さ
れる。この際、当該全体暗号化ファイルが漏洩したり盗
難されたりしても、全体が暗号化されているので、意味が
理解されることは無い。その後、転送或いは移送先であ
る、例えば他の医療関連施設等で、全体復号化手段によ
り、この全体暗号化ファイルを復号化して部分暗号化フ
ァイルを再生する。
According to the encryption system of the present invention, first, the field corresponding to the item in which the individual can be specified according to a predetermined standard in the personal data file including the personal record including the plurality of fields by the selecting means. Select. Then, the partial encryption means encrypts the fields selected in this way with the first public key and does not encrypt the fields not selected.
Create a partially encrypted file. Then, the entire encryption means encrypts the created partial encryption file to create an entire encryption file. After that, the whole encrypted file is transferred through a communication means such as the Internet or transferred while being stored in a storage medium. At this time, even if the whole encrypted file is leaked or stolen, the whole is encrypted and the meaning is not understood. After that, at the transfer or transfer destination, for example, at another medical-related facility or the like, the whole decryption means decrypts the whole encrypted file to reproduce the partially encrypted file.

【0026】従って本発明の暗号システムによれば、上
述した本発明の暗号方法の場合と同様に、個人のプライ
バシーを守りながら、個人データの解析処理や統計処理
を行うことが可能となり、最終的には個人データを医療
等の各種産業で有効利用できる。
Therefore, according to the encryption system of the present invention, as in the case of the above-described encryption method of the present invention, it becomes possible to perform analysis processing and statistical processing of personal data while protecting the privacy of the individual, and finally Personal data can be effectively used in various industries such as medical care.

【0027】本発明の暗号システムの一態様では、前記
再生された部分暗号化ファイルのうち前記選択されたフ
ィールドを前記第1公開鍵に対応する第1秘密鍵で復号
化して前記患者データファイルを再生する部分復号化手
段を更に備える。
In one aspect of the encryption system of the present invention, the selected field of the reproduced partially encrypted file is decrypted with a first secret key corresponding to the first public key to obtain the patient data file. It further comprises a partial decoding means for reproducing.

【0028】この態様によれば、部分復号化手段によ
り、再生された部分暗号化ファイルのうち、未だ暗号化
されているフィールドを、第1公開鍵に対応する第1秘
密鍵で復号化して、個人データファイルを再生する。従
って、当該個人データについて守秘義務のある特定人の
みに第1秘密鍵を知らせておけば、この者のみが復号化
後の個人データの全てを見ることができる。
According to this aspect, the partial decryption means decrypts the still encrypted field in the reproduced partial encrypted file with the first secret key corresponding to the first public key, Play a personal data file. Therefore, if only the specific person who has a confidentiality obligation about the personal data is informed of the first secret key, only this person can see all the decrypted personal data.

【0029】或いは本発明の暗号システムの他の態様で
は、前記選択手段は、前記所定基準として段階的な複数の
基準に従って前記フィールドを段階的に選択し、前記部
分暗号化手段は、前記段階的に選択されたフィールド
を、段階毎に異なる第1公開鍵で暗号化する。
Alternatively, in another aspect of the encryption system of the present invention, the selecting means selects the field stepwise according to a plurality of stepwise standards as the predetermined standard, and the partial encryption means performs the stepwise selection. The field selected in step 1 is encrypted with the first public key that differs for each stage.

【0030】この態様によれば、個人を特定可能とされ
る所定基準を段階分けし、これらに従って、フィールド
を段階毎に異なる第1公開鍵で暗号化する。従って、個
人の特定のし易さに応じて別々の暗号化の鍵で暗号化で
き、最終的には、別々の復号化の鍵で復号化できる。
According to this aspect, the predetermined standard by which the individual can be specified is divided into stages, and the field is encrypted with the first public key which is different for each stage according to these. Therefore, it is possible to perform encryption with different encryption keys according to the ease of individual identification, and finally it is possible to perform decryption with different decryption keys.

【0031】この態様では、前記全体復号化手段により
再生された部分暗号化ファイルのうち前記段階的に選択
されたフィールドを前記段階毎に異なる第1公開鍵に対
応する第1秘密鍵で復号化する部分復号化手段を更に備
えてもよい。
In this aspect, the stepwise selected field of the partially encrypted file reproduced by the whole decryption means is decrypted by the first secret key corresponding to the first public key which is different for each stage. It may further include a partial decoding means for performing.

【0032】このように構成すれば、復号化後の部分暗
号化ファイルを、立場が異なる人間に対して異なる秘密
鍵を知らせることにより、その立場に応じて見ることが
できる個人データの種類を変えられる。このため、個人
のプライバシーを保護しつつ立場に応じて必要な個人デ
ータを提供でき、大変便利である。
According to this structure, the partially encrypted file after decryption is notified to persons of different positions with different secret keys, so that the types of personal data that can be viewed according to the positions are changed. To be Therefore, it is very convenient because it is possible to provide necessary personal data according to the position while protecting the privacy of the individual.

【0033】本発明の暗号システムの他の態様では、前
記全体暗号化手段は、共通鍵で前記部分暗号化ファイル
を暗号化する手段と、該共通鍵を第2公開鍵で暗号化す
る手段とを含み、前記全体復号化手段は、前記第2公開鍵
に対応する第2秘密鍵で前記共通鍵を復号化する手段
と、該復号化された共通鍵で前記全体暗号化ファイルを
復号する手段とを含む。
In another aspect of the encryption system of the present invention, the whole encryption means includes means for encrypting the partially encrypted file with a common key, and means for encrypting the common key with a second public key. The whole decryption means includes means for decrypting the common key with a second secret key corresponding to the second public key, and means for decrypting the whole encrypted file with the decrypted common key. Including and

【0034】この態様によれば、全体暗号化手段によ
り、全体暗号化ファイルは、暗号化された公開鍵たる第
2公開鍵で暗号化されていることとなり、当該全体暗号
化ファイルの転送時や移送時における漏洩、盗難に対す
るセキュリティーを向上できる。
According to this aspect, the whole encryption file is encrypted by the whole encryption file with the second public key, which is the encrypted public key, when the whole encryption file is transferred. Security against leakage and theft during transportation can be improved.

【0035】或いは本発明の暗号システムの他の態様で
は、前記全体暗号化手段は、第2公開鍵で前記部分暗号化
ファイルを暗号化し、前記全体復号化手段は、前記第2
公開鍵に対応する第2秘密鍵で前記全体暗号化ファイル
を復号化する。
Alternatively, in another aspect of the encryption system of the present invention, the full encryption means encrypts the partially encrypted file with a second public key, and the full decryption means uses the second public key.
The whole encrypted file is decrypted with the second secret key corresponding to the public key.

【0036】この態様によれば、全体暗号化ファイルは、
第2秘密鍵がなければ復号化できないので、当該全体暗
号化ファイルの転送時や移送時における漏洩、盗難に対
するセキュリティーを向上できる。
According to this aspect, the entire encrypted file is
Since it cannot be decrypted without the second secret key, it is possible to improve security against leakage or theft during transfer or transfer of the entire encrypted file.

【0037】本発明の暗号システムの他の態様では、前
記部分暗号化ファイルに対し、前記個人レコード毎に個
人IDコードとは異なるレコード識別子を付与する手段
を更に含み、前記部分暗号化手段は、前記レコード識別
子に基づいて前記個人レコードの統計処理又は解析処理
が可能なように前記選択されたフィールドを暗号化す
る。
In another aspect of the encryption system of the present invention, the partial encryption means further includes means for giving a record identifier different from the individual ID code to each of the individual records, to the partial encryption file. The selected field is encrypted so that the personal record can be statistically processed or analyzed based on the record identifier.

【0038】この態様によれば、個人のプライバシーを
保護したまま、部分暗号化ファイルを、個人レコード毎
に付与されたレコード識別子に基づいて、統計処理又は
解析処理が可能となり、各種データベースを構築するこ
とも可能となる。例えば、同じ値は同じ値に変える方式
の暗号化方式であれば、暗号化された状態(個人を特定
できない状態)のままで、各種統計処理や解析処理を行
える。しかも、守秘義務のある関係機関や関係者によっ
て、フィールドを部分的に暗号化した際に用いた第1公
開鍵に対応する第1秘密鍵を用いて部分復号化処理を行
えば、このように統計処理や解析処理の結果上における
個人データを全て見ることも可能となる。
According to this aspect, it is possible to perform statistical processing or analysis processing on the partially encrypted file based on the record identifier given to each individual record while protecting the privacy of the individual, and construct various databases. It is also possible. For example, in the case of an encryption method in which the same value is changed to the same value, various statistical processing and analysis processing can be performed in the encrypted state (state in which an individual cannot be specified). Moreover, if a related organization or a person with a confidentiality obligation performs a partial decryption process using the first secret key corresponding to the first public key used when partially encrypting the field, It is also possible to see all the personal data on the results of statistical processing and analysis processing.

【0039】本発明の暗号化装置は上記課題を解決する
ために、所定単位の個人データを統一フォーマットで項
目毎に夫々コード化、デジタル化又はテキスト化した複
数フィールドからなる個人レコードを少なくとも一つ含
んでなる個人データファイルの中で、所定基準に従って
個人を特定可能とされる項目に対応するフィールドを選
択する選択手段と、該選択されたフィールドを第1公開
鍵で暗号化すると共に前記選択手段により選択されない
フィールドを暗号化しないで部分暗号化ファイルを作成
する部分暗号化手段と、該作成された部分暗号化ファイ
ルを暗号化して全体暗号化ファイルを作成する全体暗号
化手段とを備える。
In order to solve the above-mentioned problems, the encryption device of the present invention has at least one personal record consisting of a plurality of fields in which a predetermined unit of personal data is coded, digitized or textified for each item in a uniform format. Selecting means for selecting a field corresponding to an item capable of identifying an individual according to a predetermined standard in the included personal data file; and the selecting means for encrypting the selected field with a first public key. A partial encryption unit that creates a partially encrypted file without encrypting the fields that are not selected by, and an entire encryption unit that creates an entire encrypted file by encrypting the created partially encrypted file.

【0040】本発明の暗号化装置によれば、先ず選択手
段により、複数フィールドからなる個人レコードを含ん
でなる個人データファイルの中で、所定基準に従って、
個人を特定可能とされる項目に対応するフィールドを選
択する。そして、部分暗号化手段により、このように選
択されたフィールドを第1公開鍵で暗号化すると共に選
択されないフィールドを暗号化しないことにより、部分
暗号化ファイルを作成する。続いて、全体暗号化手段に
より、この作成された部分暗号化ファイルを暗号化し
て、全体暗号化ファイルを作成する。その後、この全体
暗号化ファイルが、インターネット等の通信手段を通じ
て転送されたり、記憶媒体に格納された状態で移送され
る際に、当該全体暗号化ファイルが漏洩したり盗難され
たりしても、全体が暗号化されているので、意味が理解さ
れることは無い。
According to the encryption apparatus of the present invention, first, the selecting means selects, according to a predetermined standard, in the personal data file including the personal record including a plurality of fields.
Select the field that corresponds to the item that can identify the individual. Then, the partial encryption means encrypts the fields thus selected with the first public key and does not encrypt the unselected fields to create a partially encrypted file. Then, the entire encryption means encrypts the created partial encryption file to create an entire encryption file. After that, even if the whole encrypted file is leaked or stolen when it is transferred through a communication means such as the Internet or transferred while being stored in a storage medium, Is encrypted, so its meaning cannot be understood.

【0041】本発明の復号化装置は上記課題を解決する
ために、上述した本発明の暗号化装置により作成された
全体暗号化ファイルを復号化して前記部分暗号化ファイ
ルを再生する全体復号化手段を備える。
In order to solve the above-mentioned problems, the decrypting device of the present invention decrypts the whole encrypted file created by the above-mentioned encrypting device of the present invention and reproduces the partial encrypted file. Equipped with.

【0042】本発明の復号化装置によれば、暗号化装置
により作成された全体暗号化ファイルの転送或いは移送
先である、例えば他の医療関連施設等で、全体復号化手
段により、この全体暗号化ファイルを復号化して部分暗
号化ファイルを再生する。従って本発明の復号化装置に
よれば、個人のプライバシーを守りながら、個人データの
解析処理や統計処理を行うことが可能となる。
According to the decryption apparatus of the present invention, the entire encryption file is transferred or transferred to the entire encryption file created by the encryption apparatus, such as another medical facility, by the total decryption means. Decrypt the encrypted file and play the partially encrypted file. Therefore, according to the decryption device of the present invention, it is possible to analyze personal data and perform statistical processing while protecting the privacy of the individual.

【0043】本発明の復号化装置の一態様では、前記再
生された部分暗号化ファイルのうち前記選択されたフィ
ールドを前記第1公開鍵に対応する第1秘密鍵で復号化
して前記個人データファイルを再生する部分復号化手段
を更に備える。
In one aspect of the decryption device of the present invention, the selected field of the reproduced partial encryption file is decrypted with a first secret key corresponding to the first public key, and the personal data file is decrypted. It further comprises a partial decoding means for reproducing.

【0044】この態様によれば、部分復号化手段によ
り、再生された部分暗号化ファイルのうち、未だ暗号化
されているフィールドを、第1公開鍵に対応する第1秘
密鍵で復号化して、個人データファイルを再生する。従
って、当該個人データについて守秘義務のある特定人の
みに第1秘密鍵を知らせておけば、この者のみが復号化
後の個人データの全てを見ることができる。
According to this aspect, the partial decryption means decrypts the still encrypted field in the reproduced partial encrypted file with the first secret key corresponding to the first public key, Play a personal data file. Therefore, if only the specific person who has a confidentiality obligation about the personal data is informed of the first secret key, only this person can see all the decrypted personal data.

【0045】本発明の第1コンピュータプログラムは上
記課題を解決するために、上述した本発明の暗号システ
ム(但し、その各種態様も含む)として、コンピュータ
を機能させる。
In order to solve the above problems, the first computer program of the present invention causes a computer to function as the above-described encryption system of the present invention (however, including its various aspects).

【0046】本発明の第1コンピュータプログラムによ
れば、当該コンピュータプログラムを格納するCD−R
OM、DVD−ROM等の記録媒体から、当該コンピュ
ータプログラムをコンピュータに読み込んで実行させれ
ば、或いは、当該コンピュータプログラムを通信手段を介
してダウンロードさせた後に実行させれば、上述した本
発明の暗号システムを比較的簡単に構築できる。
According to the first computer program of the present invention, a CD-R storing the computer program.
If the computer program is read from a recording medium such as an OM or a DVD-ROM and executed by the computer, or if the computer program is downloaded through the communication means and then executed, the encryption of the present invention is performed. The system can be constructed relatively easily.

【0047】本発明の第2コンピュータプログラムは上
記課題を解決するために、上述した本発明の暗号化装置
として、コンピュータを機能させる。
In order to solve the above problems, the second computer program of the present invention causes a computer to function as the above-described encryption device of the present invention.

【0048】本発明の第2コンピュータプログラムによ
れば、当該コンピュータプログラムを格納するCD−R
OM、DVD−ROM等の記録媒体から、当該コンピュ
ータプログラムをコンピュータに読み込んで実行させれ
ば、或いは、当該コンピュータプログラムを通信手段を介
してダウンロードさせた後に実行させれば、上述した本
発明の暗号化装置を比較的簡単に構築できる。
According to the second computer program of the present invention, a CD-R storing the computer program.
If the computer program is read from a recording medium such as an OM or a DVD-ROM and executed by the computer, or if the computer program is downloaded through the communication means and then executed, the encryption of the present invention is performed. It is comparatively easy to construct the optimization device.

【0049】本発明の第3コンピュータプログラムは上
記課題を解決するために、上述した本発明の復号化装置
として、コンピュータを機能させる。
In order to solve the above problems, the third computer program of the present invention causes a computer to function as the above-mentioned decoding device of the present invention.

【0050】本発明の第3コンピュータプログラムによ
れば、当該コンピュータプログラムを格納するCD−R
OM、DVD−ROM等の記録媒体から、当該コンピュ
ータプログラムをコンピュータに読み込んで実行させれ
ば、或いは、当該コンピュータプログラムを通信手段を介
してダウンロードさせた後に実行させれば、上述した本
発明の復号化装置を比較的簡単に構築できる。
According to the third computer program of the present invention, a CD-R storing the computer program.
If the computer program is read from a recording medium such as an OM or a DVD-ROM and executed by the computer, or if the computer program is downloaded through the communication means and then executed, the decoding of the present invention described above. It is comparatively easy to construct the optimization device.

【0051】本発明のこのような作用及び他の利得は次
に説明する実施の形態から明らかにされよう。
The operation and other advantages of the present invention will be apparent from the embodiments described below.

【0052】[0052]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0053】(第1実施形態)先ず、本発明の第1実施
形態に係る暗号システムの構成について図1を参照して
説明する。図1は、第1実施形態に係る暗号システムの
ブロック図である。
(First Embodiment) First, the configuration of a cryptographic system according to the first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram of a cryptographic system according to the first embodiment.

【0054】図1において、暗号システムは、暗号化装
置100a、記憶装置110、通信手段131及び23
1、第1復号化装置200a、処理装置240、記憶装
置250並びに第2復号化装置300を備えて構成され
ている。
In FIG. 1, the encryption system includes an encryption device 100a, a storage device 110, and communication means 131 and 23.
1, a first decoding device 200a, a processing device 240, a storage device 250, and a second decoding device 300.

【0055】記憶装置110内には、所定単位の患者デ
ータを統一フォーマットで、医療関連項目毎に夫々コー
ド化、デジタル化又はテキスト化した複数フィールドか
らなる患者レコードを複数含んでなる患者データファイ
ル111が構築されている。ここに「患者レコード」と
は、1入院単位、1レセプト単位、1カルテ単位等の患
者データを取り扱う上でまとめられた記録の単位であ
る。
In the storage device 110, a patient data file 111 including a plurality of patient records consisting of a plurality of fields in which a predetermined unit of patient data is coded, digitized or textified for each medical-related item in a unified format. Is being built. Here, the “patient record” is a unit of records collected when handling patient data such as one hospitalization unit, one receipt unit, and one chart unit.

【0056】暗号化装置100aは、フィールド選択手
段101、部分暗号化手段102、全体暗号化手段10
3を備える。これらの手段は、例えば暗号化装置100
aを構成するコンピュータのCPU(Central Processi
ng Unit)内に論理的に構築される。暗号化装置100
aは更に、キーボード、マウス、スイッチ、カードリー
ダ等の入力手段104を備える。入力手段104を介し
て、第1公開鍵及び共通鍵が入力される。
The encryption device 100a includes a field selection means 101, a partial encryption means 102, and a whole encryption means 10.
3 is provided. These means are, for example, the encryption device 100.
CPU (Central Processi)
ng Unit). Encryption device 100
The a further includes input means 104 such as a keyboard, a mouse, a switch and a card reader. The first public key and the common key are input via the input means 104.

【0057】フィールド選択手段101は、記憶装置1
10内に構築されている患者データファイル111の中
で、所定基準に従って、患者個人を特定可能とされる項
目に対応するフィールドを選択するように構成されてい
る。ここでは、例えば患者氏名に対応するフィールド、
患者IDに対応するフィールド、患者の生年月日に対応
するフィールド、退院年月日に対応するフィールド、入
院年月日に対応するフィールドなど、患者を特定可能と
される項目に対応するフィールドを選択する。このよう
な患者個人等の個人を特定可能か否かについての所定基
準は、経験的、実験的、理論的に予め設定されている。
The field selecting means 101 is the storage device 1.
In the patient data file 111 constructed in 10, the fields corresponding to the items that can identify the individual patient are selected according to a predetermined standard. Here, for example, the field corresponding to the patient name,
Select the field corresponding to the item that can identify the patient, such as the field corresponding to the patient ID, the field corresponding to the date of birth of the patient, the field corresponding to the date of discharge, the field corresponding to the date of admission, etc. To do. The predetermined standard for determining whether or not an individual such as a patient can be specified is empirically, experimentally, and theoretically set in advance.

【0058】部分暗号化手段102は、フィールド選択
手段101により選択されたフィールドを、入力手段1
04を介して入力された第1公開鍵を用いて、公開鍵方
式により暗号化すると共に、フィールド選択手段101
により選択されないフィールドを暗号化しないことによ
り、部分暗号化ファイル112を記憶装置110内に作
成するように構成されている。
The partial encryption means 102 inputs the field selected by the field selection means 101 to the input means 1
The first public key input via 04 is used for encryption by the public key system, and the field selection means 101
The partially encrypted file 112 is configured to be created in the storage device 110 by not encrypting the fields not selected by.

【0059】全体暗号化手段103は、記憶装置110
内に作成された部分暗号化ファイル112を、入力手段
104を介して入力された共通鍵を用いて、共通鍵方式
により暗号化して、全体暗号化ファイル113を記憶装
置110内に作成するように構成されている。
The whole encryption means 103 is a storage device 110.
The partially encrypted file 112 created in the file is encrypted by the common key method using the common key input via the input means 104, and the entire encrypted file 113 is created in the storage device 110. It is configured.

【0060】通信手段131は、記憶装置110内に作
成された全体暗号化ファイル113を、所定プロトコル
によりインターネット150経由で通信手段231に送
信するように構成されている。
The communication means 131 is configured to transmit the whole encrypted file 113 created in the storage device 110 to the communication means 231 via the Internet 150 by a predetermined protocol.

【0061】他方、通信手段231は、このような暗号
化後に送信された全体暗号化ファイル113を、所定プ
ロトコルによりインターネット経由で受信するように構
成されている。
On the other hand, the communication means 231 is configured to receive the whole encrypted file 113 transmitted after such encryption via the Internet by a predetermined protocol.

【0062】尚、このような通信回線として、インター
ネット150に限らず、有線、無線、専用回線、一般回線等
の種類を問わずに各種回線に対して、本実施形態は適用
可能である。
The present embodiment is applicable not only to the Internet 150 as such a communication line but also to various lines such as wired, wireless, dedicated line, and general line.

【0063】他方、第1復号化装置200aは、全体復
号化手段203を備える。この手段は、例えば第1復号
化装置200aを構成するコンピュータのCPU内に論
理的に構築される。第1復号化装置200aは更に、キ
ーボード、マウス、スイッチ、カードリーダ等の入力手
段204を備える。入力手段204を介して、暗号化装
置100a側で入力手段104に入力された共通鍵と同
じ共通鍵が入力される。
On the other hand, the first decoding device 200a comprises a total decoding means 203. This means is logically constructed in, for example, the CPU of the computer which constitutes the first decoding device 200a. The first decryption device 200a further includes an input means 204 such as a keyboard, a mouse, a switch and a card reader. The same common key as the common key input to the input unit 104 on the encryption device 100a side is input via the input unit 204.

【0064】全体復号化手段203は、通信手段231
が受信した全体暗号化ファイルを、入力手段204を介
して入力された共通鍵を用いて復号化し、部分暗号化フ
ァイルを再生するように構成されている。そして、処理
手段240は、このように再生された部分暗号化ファイ
ルに対して、各患者レコードに識別子を付与する処理や、
所定規則に従って分類する処理或いは変換する処理など
各種のデータ処理を行って、医療情報データベース25
1を記憶装置250内に創生する。
The whole decoding means 203 is the communication means 231.
Is decrypted with the common key input via the input means 204 to reproduce the partially encrypted file. Then, the processing means 240 performs a process of assigning an identifier to each patient record for the partially encrypted file thus reproduced,
The medical information database 25 is subjected to various data processing such as classification processing or conversion processing according to a predetermined rule.
1 is created in the storage device 250.

【0065】このように創生される医療情報データベー
ス251は、これを格納する記憶装置250に接続され
た複数のパソコン、ワークステーション等の端末装置3
10において、症例分析、病院評価、術式評価、投薬評価
等の各種の統計処理や解析処理に供される。そして特
に、このように記憶装置250に接続された複数の端末
装置のうちの少なくとも一つである端末装置310S
は、第2復号化装置300を備えて構成されている。
The medical information database 251 thus created is a terminal device 3 such as a plurality of personal computers or workstations connected to a storage device 250 for storing the medical information database 251.
At 10, various kinds of statistical processing and analysis processing such as case analysis, hospital evaluation, operative method evaluation, and drug evaluation are provided. And, in particular, the terminal device 310S which is at least one of the plurality of terminal devices connected to the storage device 250 in this way.
Includes a second decoding device 300.

【0066】第2復号化装置300は、部分復号化手段
302を備える。この手段は、例えば第2復号化装置3
00を構成するコンピュータのCPU内に論理的に構築
される。第2復号化装置300は更に、キーボード、マ
ウス、スイッチ、カードリーダ等の入力手段304を備
える。入力手段304を介して、暗号化装置100a側
で入力手段104に入力された第1公開鍵に対応する第
1秘密鍵が入力される。
The second decoding device 300 comprises a partial decoding means 302. This means is, for example, the second decoding device 3
00 is logically constructed in the CPU of the computer. The second decryption device 300 further includes an input means 304 such as a keyboard, a mouse, a switch, and a card reader. The first secret key corresponding to the first public key input to the input unit 104 on the encryption device 100a side is input via the input unit 304.

【0067】部分復号化手段302は、医療情報データ
ベース251に格納された部分暗号化ファイルを復号化
して、暗号処理の施されていない患者データファイルを
再生可能に構成されている。
The partial decryption means 302 is configured to decrypt the partially encrypted file stored in the medical information database 251, and reproduce the patient data file that has not been encrypted.

【0068】次に図2から図6を参照して、以上の如く
構成された第1実施形態に係る暗号システムにおける暗
号方法について説明する。
Next, with reference to FIGS. 2 to 6, an encryption method in the encryption system according to the first embodiment configured as described above will be described.

【0069】先ず図2及び図3を参照して、暗号化方法
について説明する。ここに図2は、当該暗号化方法のフ
ローチャートであり、図3は、患者データファイル11
1に含まれる各レコードが暗号化される様子を示す概念
図である。
First, the encryption method will be described with reference to FIGS. 2 is a flowchart of the encryption method, and FIG. 3 shows the patient data file 11
3 is a conceptual diagram showing how each record included in 1 is encrypted. FIG.

【0070】図2において、先ず複数フィールドからな
る患者レコードを含んでなる患者データファイル111
の中で、予め設定された患者個人を特定可能とされる項
目に対応するフィールドを選択する(ステップS1
1)。ここでは例えば、図3の上段に示すように、患者
データファイル111を構成するデータテーブル111
aにおいて、患者IDに対応するフィールド、退院日に
対応するフィールド、入院日に対応するフィールド等を
選択する。
Referring to FIG. 2, first, a patient data file 111 including a patient record consisting of a plurality of fields.
In the step S1, a field corresponding to an item capable of specifying a preset patient individual is selected (step S1).
1). Here, for example, as shown in the upper part of FIG. 3, a data table 111 that constitutes the patient data file 111.
In a, a field corresponding to the patient ID, a field corresponding to the discharge date, a field corresponding to the hospitalization date, etc. are selected.

【0071】再び図2において、このステップS11と
相前後して、部分暗号化に用いる第1公開鍵を入力手段
104を介して取得する(ステップS12)。続いて、
ステップS11で選択された、患者レコード中のフィー
ルドを、ステップS12で取得した第1公開鍵で暗号化
する。そして、ステップS12で選択されない、患者レ
コード中のフィールドを暗号化しないことにより、部分
暗号化ファイル112を作成する(ステップS13)。
ここでは例えば、図3の上半分に示すように、患者デー
タファイル111を構成するデータテーブル111aに
おいて、患者IDに対応するフィールド、退院日に対応
するフィールド、入院日に対応するフィールド等が、第
1公開鍵により暗号化された、部分暗号化ファイル11
2を構成するデータテーブル112aを作成する。
Referring again to FIG. 2, before and after step S11, the first public key used for partial encryption is acquired via the input means 104 (step S12). continue,
The fields in the patient record selected in step S11 are encrypted with the first public key acquired in step S12. Then, the partially encrypted file 112 is created by not encrypting the fields in the patient record that are not selected in step S12 (step S13).
Here, for example, as shown in the upper half of FIG. 3, in the data table 111a forming the patient data file 111, the field corresponding to the patient ID, the field corresponding to the discharge date, the field corresponding to the hospitalization date, etc. Partially encrypted file 11 encrypted with 1 public key
The data table 112a that composes No. 2 is created.

【0072】再び図2において、これらステップS11
からS13と相前後して、全体暗号化に用いる共通鍵を
入力手段104を介して取得する(ステップS14)。
続いて、ステップS13で作成された部分暗号化ファイ
ル112を、ステップS14で取得した共通鍵を用いた
共通鍵方式で暗号化して、全体暗号化ファイル113を
作成する(ステップS15)。ここでは例えば、図3の
下半分に示すように、部分暗号化ファイル112を構成
するデータテーブル112aにおいて、全フィールドが
共通鍵により暗号化された、全体暗号化ファイル113
を構成するデータテーブル113aを作成する。
Referring again to FIG. 2, these steps S11
From before to after S13, the common key used for the overall encryption is acquired via the input means 104 (step S14).
Then, the partial encryption file 112 created in step S13 is encrypted by the common key method using the common key acquired in step S14, and the whole encryption file 113 is created (step S15). Here, for example, as shown in the lower half of FIG. 3, in the data table 112a forming the partially encrypted file 112, the entire encrypted file 113 in which all the fields are encrypted by the common key
The data table 113a which comprises

【0073】再び図2において、このように作成された
全体暗号化ファイル113を、インターネット150を
通じて、通信手段131から通信手段231に送信して
(ステップS16)、一連の処理を終える。ここでは、
例えば病院などの一の医療関連施設に設置された暗号化
装置100aから、医療研究所などの他の医療関連施設
に設置された第1復号化装置200aに転送される。こ
の際、全体暗号化ファイル113が、送信の途中で漏洩
したり盗難されたりしても、全体が暗号化されているの
で、意味が理解されることはない。
Referring again to FIG. 2, the entire encrypted file 113 thus created is transmitted from the communication means 131 to the communication means 231 via the Internet 150 (step S16), and a series of processing is completed. here,
For example, the encryption device 100a installed in one medical-related facility such as a hospital is transferred to the first decryption device 200a installed in another medical-related facility such as a medical laboratory. At this time, even if the entire encrypted file 113 is leaked or stolen in the middle of transmission, the whole is encrypted and the meaning is not understood.

【0074】次に図4から図6を参照して、本実施形態
の暗号方法における復号化方法について説明する。ここ
に図4は、当該復号化方法のフローチャートであり、図
5は、患者データファイルに含まれる各レコードが復号
化される様子を示す概念図であり、図6は、暗号化され
たデータコードが復号化される一具体例を示す概念図で
ある。
Next, the decryption method in the encryption method of the present embodiment will be described with reference to FIGS. FIG. 4 is a flowchart of the decryption method, FIG. 5 is a conceptual diagram showing how each record included in the patient data file is decrypted, and FIG. 6 is an encrypted data code. FIG. 3 is a conceptual diagram showing a specific example in which is decoded.

【0075】図4において先ず、通信手段231によ
り、インターネット150を介して、通信手段131か
ら送信された全体暗号化ファイルを受信する(ステップ
S21)。このステップS21と相前後して、第1復号
化装置200aにおける全体復号化に用いる共通鍵、即
ち暗号化装置100aにおける全体暗号化手段103で
用いた共通鍵と同じ鍵を、入力手段204を介して取得
する(ステップS22)。
In FIG. 4, first, the communication unit 231 receives the entire encrypted file transmitted from the communication unit 131 via the Internet 150 (step S21). Before and after this step S21, the common key used for the overall decryption in the first decryption apparatus 200a, that is, the same key as the common key used in the overall encryption means 103 in the encryption apparatus 100a is input via the input means 204. To obtain (step S22).

【0076】続いて、ステップS21で受信した全体暗
号化ファイルを、ステップS22で取得した共通鍵を用
いた共通鍵方式で復号化して、部分暗号化ファイルを作
成する(ステップS23)。ここでは例えば、図5の上
半分に示すように、全フィールドが暗号化された全体暗
号化ファイル113を構成するデータテーブル113a
を、共通鍵方式で全体復号化することにより、部分暗号
化ファイル112を構成するデータテーブル112aを
作成する。即ち、このように復号化しても、図2のステッ
プS13で部分暗号化された、患者IDに対応するフィ
ールド、退院日に対応するフィールド、入院日に対応す
るフィールド等は、意味が理解されることはない。
Then, the whole encrypted file received in step S21 is decrypted by the common key method using the common key acquired in step S22 to create a partially encrypted file (step S23). Here, for example, as shown in the upper half of FIG. 5, a data table 113a forming the entire encrypted file 113 in which all fields are encrypted.
Is totally decrypted by the common key method to create a data table 112a forming the partially encrypted file 112. That is, even with such decryption, the meaning of the field corresponding to the patient ID, the field corresponding to the discharge date, the field corresponding to the hospitalization date, etc. partially encrypted in step S13 of FIG. 2 is understood. There is no such thing.

【0077】次に、このように患者個人を特定可能とさ
れた項目を除いて復号化された患者データに基づいて、
データベースを創生する(ステップS24)。ここで
は、例えば、図5の中段に示すように、ステップS23で
部分的に復号化された部分暗号化ファイル112を構成
するデータテーブル112aに対し、個人IDコードと
は異なる識別子として、データNo.を新たに付与す
る。そして、患者ID、入院日、退院日、生年月日等に
ついては、暗号化されたままテーブル251aの一部と
して医療情報データベース251に組み込まれる。本実
施形態では特に、暗号化装置100a側の部分暗号化手
段102による部分暗号化は、識別子たるデータNo.
に基づいて患者レコードの統計処理又は解析処理が可能
なように、同じコードは同じコードに変換し、同じデジ
タル値は同じデジタル値に変換し、或いは同じテキスト
は同じテキストに変換する可逆方式の暗号化方式により
行われている。他方、患者個人を特定可能でないとされ
た最終採番日、最終更新日については、暗号化されてい
ない形で、テーブル251aの一部として医療情報デー
タベース251に組み込まれる。
Next, based on the patient data decrypted excluding the items in which the patient individual can be specified in this way,
Create a database (step S24). Here, for example, as shown in the middle part of FIG. 5, with respect to the data table 112a forming the partially encrypted file 112 partially decrypted in step S23, the data No. is set as an identifier different from the personal ID code. Is newly added. Then, the patient ID, the date of admission, the date of discharge, the date of birth, etc. are incorporated into the medical information database 251 as a part of the table 251a while being encrypted. In this embodiment, in particular, the partial encryption by the partial encryption unit 102 on the encryption device 100a side is performed by the data No. as an identifier.
The same code is converted to the same code, the same digital value is converted to the same digital value, or the same text is converted to the same text so that statistical processing or analysis processing of patient records can be performed based on It is carried out by the system. On the other hand, the final numbering date and the final update date, which are determined not to be able to identify the individual patient, are incorporated in the medical information database 251 as a part of the table 251a in a non-encrypted form.

【0078】再び図4において、各端末装置310で
は、その入力手段を介して、暗号化装置100a側の入
力手段104を介して入力された第1公開鍵に対応する
第1秘密鍵が入力されたか否かが判定される(ステップ
S25)。例えば、端末装置310Sで入力手段304
を介して第1秘密鍵が入力されると(ステップS25:
はい)、このステップS25で取得された第1秘密鍵を
用いた公開鍵方式により、医療情報データベース251
に暗号化されたまま含まれる患者データの特定フィール
ドは、復号化される(ステップS26)。ここでは例え
ば、図5の下半分に示すように、医療情報データベース
251を構成するデータテーブル251aにおいて、患
者IDに対応するフィールド、退院日に対応するフィー
ルド、入院日に対応するフィールド等が、第1秘密鍵に
より復号化された、患者データファイル111を構成す
るデータテーブル111aを作成する。より具体的に
は、図6の上段に示すように、暗号化されており意味不明
な患者ID(A2欄)、退院日(A3欄)、入院日(A
4欄)等を、図6の下段に示すように、意味が分かる退
院日、入院日等に復号化する。
Referring again to FIG. 4, in each terminal device 310, the first secret key corresponding to the first public key input via the input means 104 on the encryption device 100a side is input via the input means thereof. It is determined whether or not (step S25). For example, the input unit 304 in the terminal device 310S
When the first secret key is input via (step S25:
Yes), by the public key method using the first secret key acquired in step S25, the medical information database 251
The specific field of the patient data contained in encrypted form is decrypted (step S26). Here, for example, as shown in the lower half of FIG. 5, in the data table 251a constituting the medical information database 251, the field corresponding to the patient ID, the field corresponding to the discharge date, the field corresponding to the hospitalization date, etc. The data table 111a which comprises the patient data file 111 and which is decrypted with one private key is created. More specifically, as shown in the upper part of FIG. 6, the encrypted and meaningless patient ID (column A2), discharge date (column A3), hospitalization date (A
As shown in the lower part of FIG. 6, the 4th column) and the like are decrypted to the date of discharge, the date of hospitalization, etc., which makes sense.

【0079】再び図4において、ステップS26におけ
る復号化の後、又はステップS25で第1秘密鍵が入力
されなければ(ステップS25:いいえ)、例えば病院
評価、症例分析、術式評価、投薬評価等の統計処理や解析
処理を行って(ステップS27)、一連の処理を終了す
る。
Referring again to FIG. 4, after the decryption in step S26 or if the first secret key is not input in step S25 (step S25: No), for example, hospital evaluation, case analysis, operative evaluation, medication evaluation, etc. The statistical processing and analysis processing of (1) are performed (step S27), and the series of processing ends.

【0080】以上説明した暗号化方法及び復号化方法を
用いれば、転送先である、例えば研究施設、公的機関、
他の病院、大学等の他の医療関連施設で、全体暗号化フ
ァイルを復号化して部分暗号化ファイルを再生しても、
患者個人を特定可能とされるフィールドが、未だ第1公
開鍵で暗号化された状態にある。従って、当該他の医療
関連施設で一般に守秘義務のない研究員、調査員、事務
員等がこのような部分暗号化ファイルの一部として、患
者データを見ても、これに係る患者個人が特定されてし
まうことは殆どない。この際特に、患者個人を特定可能
とされる項目についての基準を調節することにより、患
者個人が特定されることを避けつつ、患者データを各種
解析や統計処理に利用できる。例えば、患者が、今まで
に何回入院したのか?以前に入院したのか?以前にどの
ような治療をしたのか?などの情報は、暗号化されてい
ないフィールドを見れば、患者個人を特定することなく
分かる。
If the encryption method and the decryption method described above are used, a transfer destination such as a research facility, a public institution,
Even if the entire encrypted file is decrypted and the partially encrypted file is played at another medical facility such as another hospital or university,
The field that can identify the individual patient is still encrypted with the first public key. Therefore, even if a researcher, investigator, or clerk who does not have a duty of confidentiality at other medical-related facilities sees the patient data as part of such a partially encrypted file, the individual patient concerned can be identified. It rarely happens. In this case, in particular, the patient data can be used for various analyzes and statistical processing while avoiding the identification of the individual patient by adjusting the criteria for the items that can identify the individual patient. For example, how many times have a patient been hospitalized so far? Have you been hospitalized before? What kind of treatment did you do before? Information such as can be found without identifying the individual patient by looking at the unencrypted fields.

【0081】特に、患者個人を特定しないままで、暗号化
されたデータを統計処理や解析処理し、それらの処理結
果については(患者個人を特定し難い性質を持つので)
暗号化しないようにするのが好ましい。このように、あ
る患者データについて患者個人を特定可能な状態では暗
号化しつつ統計処理等に用いることにより、プライバシ
ーの保護を図りつつ患者データの医療向上への有効利用
を図れる。
In particular, the encrypted data is subjected to statistical processing and analysis processing without specifying the individual patient, and the processing results are as follows (because it is difficult to specify the individual patient).
It is preferably not encrypted. As described above, by encrypting a certain patient data in a state in which the individual patient can be identified and using it for statistical processing and the like, it is possible to protect the privacy and effectively use the patient data for medical improvement.

【0082】更に本実施形態によれば、第2復号化装置
300があれば、部分暗号化ファイルを、第1秘密鍵を
用いて復号化して患者データファイルを完全に再生する
こともできる。このため、患者データについて守秘義務
のある、例えば主治医等の特定人のみに第1秘密鍵を知
らせておけば、この者のみが復号化後の個人データの全
てを見ることができる。
Further, according to the present embodiment, if the second decryption device 300 is provided, the partially encrypted file can be decrypted using the first secret key to completely reproduce the patient data file. For this reason, if only the specific person, such as the attending physician, who has a duty of confidentiality regarding the patient data, is informed of the first secret key, only this person can see all the personal data after decryption.

【0083】尚、以上説明した実施形態では、各患者レコ
ードにおけるフィールドを、単純に部分暗号化するか又
はしないかに分けたが、段階的な複数の基準に従ってフ
ィールドを段階的に選択して部分暗号化することも可能
である。例えば、患者個人を特定するのが非常に容易
な、患者氏名、患者住所、患者IDなどについては第1基
準とし、生年月日、入院月日、退院月日等については第2
基準とし、入院期間、病歴、慢性病歴等については第3
基準として、フィールドを段階毎に異なる第1公開鍵で
暗号化する。そして、第2復号化装置300において、
段階的に選択されたフィールドを段階毎に異なる第1公
開鍵に対応する第1秘密鍵で復号化するように構成すれ
ば、復号化後の部分暗号化ファイルを、例えば所長、副
所長、事務委員長、研究者、事務員等の立場が異なる人間
に対して異なる第1秘密鍵を知らせることにより、その
立場に応じて見るようにできる。
In the above-described embodiment, the fields in each patient record are divided into those that are simply partially encrypted and those that are not. It is also possible to encrypt. For example, patient names, patient addresses, patient IDs, etc., which make it very easy to identify individual patients, are the first criteria, and birth dates, hospitalization dates, discharge dates, etc. are the second criteria.
As a standard, the length of hospital stay, medical history, chronic medical history, etc.
As a reference, the field is encrypted with a first public key that differs for each stage. Then, in the second decoding device 300,
If the field selected step by step is decrypted with the first secret key corresponding to the first public key that is different for each step, the partially encrypted file after decryption can be stored in, for example, the director, the deputy director, the office work. By making different first secret keys known to persons with different positions, such as the chairperson, researchers, and clerks, it is possible to see them according to their positions.

【0084】(第2実施形態)次に、本発明の第2実施
形態に係る暗号システムについて図7から図9を参照し
て説明する。
(Second Embodiment) Next, a cryptographic system according to a second embodiment of the present invention will be described with reference to FIGS. 7 to 9.

【0085】先ず、本発明の第2実施形態に係る暗号シ
ステムの構成について図7を参照して説明する。図7
は、第2実施形態に係る暗号システムのブロック図であ
る。尚、図7において、図1に示した第1実施形態と同
様の構成要素には同様の参照符号を付し、それらの説明
は省略する。
First, the configuration of the cryptographic system according to the second embodiment of the present invention will be described with reference to FIG. Figure 7
FIG. 6 is a block diagram of a cryptographic system according to a second embodiment. In FIG. 7, the same components as those of the first embodiment shown in FIG. 1 are designated by the same reference numerals, and the description thereof will be omitted.

【0086】図7において、暗号システムは、暗号化装
置100b、記憶装置110、通信手段131及び23
1、第1復号化装置200b、処理装置240、記憶装
置250並びに第2復号化装置300を備えて構成され
ている。暗号化装置100bは、フィールド選択手段1
01、部分暗号化手段102、全体暗号化手段103及
び入力手段104に加えて、共通鍵を第2公開鍵を用い
て暗号化する共通鍵暗号化手段106を備える。そし
て、入力手段104を介して入力された共通鍵は、第2
公開鍵を用いて共通鍵暗号化手段106により暗号化さ
れて通信手段131により、全体暗号化ファイル113
と共に送信される。他方、第1復号化装置200bは、全
体復号化手段203及び入力手段204に加えて、通信
手段231により全体暗号化ファイルと共に受信した共
通鍵を、第2秘密鍵を用いて復号化する共通鍵復号化手
段206を備える。その他の構成については、上述した
第1実施形態の場合と同様である。
In FIG. 7, the encryption system includes an encryption device 100b, a storage device 110, communication means 131 and 23.
1, a first decoding device 200b, a processing device 240, a storage device 250, and a second decoding device 300. The encryption device 100b includes the field selection unit 1
In addition to 01, the partial encryption means 102, the whole encryption means 103 and the input means 104, a common key encryption means 106 for encrypting the common key using the second public key is provided. The common key input via the input means 104 is the second key.
The public key is used to encrypt the common key encryption means 106, and the communication means 131 encrypts the entire encrypted file 113.
Sent with. On the other hand, the first decryption device 200b uses the second decryption key to decrypt the common key received together with the whole encryption file by the communication unit 231 in addition to the whole decryption unit 203 and the input unit 204. The decoding means 206 is provided. Other configurations are similar to those of the above-described first embodiment.

【0087】次に図8及び図9を参照して、以上の如く
構成された第2実施形態に係る暗号システムにおける暗
号方法について説明する。
Next, with reference to FIGS. 8 and 9, an encryption method in the encryption system according to the second embodiment configured as described above will be described.

【0088】先ず図8を参照して、暗号化方法について
説明する。ここに図8は、当該暗号化方法のフローチャ
ートである。尚、図8において、図2に示した第1実施
形態と同様のステップについては同様のステップ番号を
付し、それらの説明は省略する。
First, the encryption method will be described with reference to FIG. Here, FIG. 8 is a flowchart of the encryption method. In FIG. 8, the same steps as those in the first embodiment shown in FIG. 2 are designated by the same step numbers, and the description thereof will be omitted.

【0089】図8において、第1実施形態の場合と同様
にステップS11からS15までの処理が行われる。次
に、入力手段104或いは他の入力手段を介して第2公
開鍵を取得する(ステップS31)。続いて、共通鍵暗
号化手段106によって、ステップS31で所得した第
2公開鍵を用いて、ステップS14で取得した共通鍵を
暗号化する(ステップS32)。その後、ステップS1
5で作成された全体暗号化ファイル113とステップS
32で暗号化した共通鍵とを、インターネット150を
通じて、通信手段131から通信手段231に送信して
(ステップS33)、一連の処理を終える。
In FIG. 8, the processing from steps S11 to S15 is performed as in the case of the first embodiment. Next, the second public key is acquired via the input means 104 or another input means (step S31). Then, the common key encryption unit 106 encrypts the common key acquired in step S14 using the second public key obtained in step S31 (step S32). Then, step S1
Whole encrypted file 113 created in step 5 and step S
The common key encrypted in 32 is transmitted from the communication means 131 to the communication means 231 via the Internet 150 (step S33), and a series of processing is completed.

【0090】次に図9を参照して、本実施形態の暗号方
法における復号化方法について説明する。ここに図9
は、当該復号化方法のフローチャートである。尚、図9
において、図4に示した第1実施形態と同様のステップ
については同様のステップ番号を付し、それらの説明は
省略する。
Next, the decryption method in the encryption method of this embodiment will be described with reference to FIG. Figure 9 here
Is a flowchart of the decoding method. Incidentally, FIG.
In FIG. 4, the same steps as those in the first embodiment shown in FIG. 4 are designated by the same step numbers, and the description thereof will be omitted.

【0091】図9において先ず、通信手段231によ
り、インターネット150を介して、通信手段131か
ら送信された全体暗号化ファイルと暗号化された共通鍵
とを受信する(ステップS41)。続いて、入力手段2
04を介して、暗号化装置100bにおける共通鍵暗号
化手段で用いた第2公開鍵に対応する第2秘密鍵を取得
し(ステップS42)、この取得した第2秘密鍵を用い
て共通鍵復号化手段206により、共通鍵の復号化を行
う(ステップS43)。
In FIG. 9, first, the communication unit 231 receives the entire encrypted file and the encrypted common key transmitted from the communication unit 131 via the Internet 150 (step S41). Then, the input means 2
The second secret key corresponding to the second public key used by the common key encryption means in the encryption device 100b is acquired via 04 (step S42), and the common key decryption is performed using the acquired second secret key. The encryption unit 206 decrypts the common key (step S43).

【0092】その後は、この復号化された共通鍵を用い
て、上述した第1実施形態と同様にステップS22から
S27の処理が行われる。
After that, the processes of steps S22 to S27 are performed using the decrypted common key, as in the first embodiment described above.

【0093】以上詳細に説明したように第2実施形態に
よれば、全体暗号化ファイル113の作成時に用いた共
通鍵は、第2公開鍵で暗号化されていることとなり、当
該全体暗号化ファイル113の転送時や移送時における
漏洩、盗難に対するセキュリティーを向上できる。
As described in detail above, according to the second embodiment, the common key used when creating the whole encrypted file 113 is encrypted with the second public key, and the whole encrypted file Security against leakage or theft during transfer of 113 can be improved.

【0094】(第3実施形態)次に、本発明の第3実施
形態に係る暗号システムについて図10を参照して説明
する。図10は、第3実施形態に係る暗号システムのブ
ロック図である。尚、図10において、図1に示した第
1実施形態と同様の構成要素には同様の参照符号を付
し、それらの説明は省略する。
(Third Embodiment) Next, an encryption system according to a third embodiment of the present invention will be described with reference to FIG. FIG. 10 is a block diagram of a cryptographic system according to the third embodiment. In FIG. 10, the same components as those of the first embodiment shown in FIG. 1 are designated by the same reference numerals, and the description thereof will be omitted.

【0095】図10において、暗号システムは、暗号化
装置100a’側では、共通鍵ではなく第2公開鍵が入
力手段104に入力され、全体暗号化手段103’によ
り共通鍵方式ではなく公開鍵方式で暗号化を行い、これ
に対応して、第1復号化装置200a’側では、共通鍵で
はなく第2秘密鍵が入力手段204に入力され、全体復
号化手段203’により共通鍵方式ではなく公開鍵方式
で復号化を行うように構成されている。更に、通信手段
131ではなく、フレキシブルディスクドライブ、CD
−RAMドライブ、DVD−RAMドライブ等の書込手
段132を備え、通信手段231ではなく、フレキシブ
ルディスクドライブ、CDドライブ、DVDドライブ等
の読取手段232を備える。その他の構成については、
上述した第1実施形態の場合と同様である。
In FIG. 10, in the encryption system, the second public key, not the common key, is input to the input means 104 on the side of the encryption device 100a ', and the whole encryption means 103' does not use the common key method but the public key method. In response to this, the second decryption device 200a ′ side inputs the second secret key instead of the common key to the input means 204, and the whole decryption means 203 ′ does not use the common key method. It is configured to perform decryption by the public key method. Further, instead of the communication means 131, a flexible disk drive, a CD
A writing unit 132 such as a RAM drive or a DVD-RAM drive is provided, and a reading unit 232 such as a flexible disk drive, a CD drive or a DVD drive is provided instead of the communication unit 231. For other configurations,
This is similar to the case of the first embodiment described above.

【0096】従って、第3実施形態によれば、公開鍵方式
によって暗号化した全体暗号化ファイル113’は、第
2秘密鍵がなければ復号化できないので、当該全体暗号
化ファイル113’を格納する記録媒体160の移送時
における漏洩、盗難に対するセキュリティーを向上でき
る。
Therefore, according to the third embodiment, since the whole encrypted file 113 'encrypted by the public key method cannot be decrypted without the second secret key, the whole encrypted file 113' is stored. Security against leakage and theft during transportation of the recording medium 160 can be improved.

【0097】(第4実施形態)次に、本発明の第4実施
形態に係る暗号システムについて説明する。
(Fourth Embodiment) Next, a cryptographic system according to a fourth embodiment of the present invention will be described.

【0098】第4実施形態では、上述した第1から第3
実施形態の構成において、第1秘密鍵或いは第2秘密鍵
を構成するデータが少なくとも二つに分割されており、
その他の構成については、上述した第1から第3実施形
態と同様である。
In the fourth embodiment, the above-mentioned first to third
In the configuration of the embodiment, the data forming the first secret key or the second secret key is divided into at least two,
Other configurations are similar to those of the above-described first to third embodiments.

【0099】従って、秘密鍵(第1或いは第2秘密鍵)
を秘密鍵片として二者で保持することが可能となる。同
時に、一者が保持する秘密鍵片だけでは、秘密鍵としての
本来の機能を発揮できないので、物理的に離れた二者に
より別個に保持される秘密鍵片の片方が、盗難にあって
も、暗号化ファイルを復号化できない。この結果、セキュ
リティレベルが格段に上昇する。そして特に、このよう
に秘密鍵(第1或いは第2秘密鍵)を二つに分割する場
合、秘密鍵片の片方を保持する者が、この秘密鍵片をコ
ピー等して複数作成して保持しておくようにすれば、全
てのコピー及びオリジナルを一時に紛失或いは破壊して
しまう可能性は格段に低くなる。即ち、全体としてみれ
ば、秘密鍵を紛失する可能性が非常に低くなる。他方で、
複数或いは多数コピーすることで秘密鍵片が漏洩する可
能性自体が高まっても、秘密鍵としての機能を果たさな
い秘密鍵片である限りにおいて、漏洩或いは盗難による
実用上の問題は殆ど生じない。
Therefore, the secret key (first or second secret key)
Can be held by two parties as a private key piece. At the same time, the private key piece held by one person cannot exert its original function as a secret key, so even if one of the secret key pieces held separately by two physically separated parties is stolen. , I cannot decrypt encrypted files. As a result, the security level is significantly increased. In particular, when the secret key (first or second secret key) is divided into two in this way, a person who holds one of the secret key pieces makes a plurality of copies of this secret key piece and holds it. If you do so, the chances of losing or destroying all copies and originals at a time will be much lower. That is, as a whole, the possibility of losing the private key is extremely low. On the other hand,
Even if the possibility of leaking the private key piece increases by copying a plurality of or a large number of copies, practical problems due to leakage or theft hardly occur as long as the private key piece does not function as a secret key.

【0100】以上のように第4実施形態により、盗難、漏
洩、紛失或いは破壊に対して、非常に強い暗号システムが
構築可能とされる。
As described above, according to the fourth embodiment, it is possible to construct a very strong encryption system against theft, leakage, loss or destruction.

【0101】(第5実施形態)次に、本発明の第5実施
形態に係る暗号システムについて説明する。
(Fifth Embodiment) Next, a cryptographic system according to a fifth embodiment of the present invention will be described.

【0102】第5実施形態では、上述した第4実施形態
の構成において、段階的な複数の基準に従ってフィール
ドを段階的に選択して部分暗号化しておく。例えば、患
者個人を特定するのが非常に容易な、患者氏名、患者住
所、患者IDなどについては第1基準とし、生年月日、入
院月日、退院月日等については第2基準とし、入院期間、
病歴、慢性病歴等については第3基準として、フィール
ドを段階毎に異なる公開鍵で暗号化する。そして、秘密
鍵片が、いずれかの段階的な公開鍵に対応する秘密鍵に
一致するように、秘密鍵及び秘密鍵片を構成する。その
他の構成については、上述した第4実施形態と同様であ
る。
In the fifth embodiment, in the configuration of the above-described fourth embodiment, fields are selected stepwise in accordance with a plurality of stepwise standards and partially encrypted. For example, patient names, patient addresses, patient IDs, etc., which make it very easy to identify an individual patient, are the first criteria, and birth dates, hospitalization dates, discharge dates, etc. are the second criteria. period,
Regarding medical history, chronic medical history, etc., the third standard is to encrypt the field with a public key that differs for each stage. Then, the private key and the private key piece are configured such that the private key piece matches the private key corresponding to any of the stepwise public keys. Other configurations are the same as those in the above-described fourth embodiment.

【0103】従って、秘密鍵片を集めることで、秘密鍵が
得られて、患者データファイルを完全に復号化可能なよ
うに暗号システムを構築でき、同時に、秘密鍵片を管理レ
ベル分けされた段階的な秘密鍵として用いることで、管
理レベルに応じたフィールドのみを復号化可能となる。
Therefore, by collecting the private key pieces, the private key can be obtained and the encryption system can be constructed so that the patient data file can be completely decrypted. At the same time, the private key pieces are divided into management levels. By using this as a private key, only the field corresponding to the management level can be decrypted.

【0104】以上のように第5実施形態によれば、秘密
鍵を分割することにより、盗難、漏洩、紛失或いは破壊に
対して、非常に強い暗号システムが得られると共に、秘密
鍵片を管理レベルに対応させることにより、秘密鍵片を
段階的な秘密鍵として用いることが可能な暗号システム
が構築可能とされる。
As described above, according to the fifth embodiment, by dividing the secret key, a very strong encryption system against theft, leakage, loss or destruction can be obtained, and the secret key piece can be managed at a management level. By supporting the above, it is possible to construct a cryptographic system that can use a secret key piece as a stepwise secret key.

【0105】以上説明した第1から第5実施形態では、
暗号化装置100a,100b及び100a’、第1復
号化装置200a、200b及び200a’、並びに第
2復号化装置300は夫々、パーソナルコンピュータ、
ワークステーション、モバイルコンピュータ等のコンピ
ュータから構成されてもよい。この場合、各コンピュー
タを夫々の暗号化装置、第1復号化装置又は第2復号化
装置として機能させるコンピュータプログラムを格納す
るCD−ROM、DVD−ROM等の記録媒体から、当
該コンピュータプログラムをコンピュータに読み込んで
実行させれば、或いは、当該コンピュータプログラムを通
信手段を介してダウンロードさせた後に実行させれば、
上述した実施形態における暗号化装置100a,100
b及び100a’、第1復号化装置200a、200b
及び200a’、並びに第2復号化装置300を夫々比
較的簡単に構築できる。
In the first to fifth embodiments described above,
The encryption devices 100a, 100b and 100a ', the first decryption devices 200a, 200b and 200a', and the second decryption device 300 are respectively personal computers,
It may be composed of a computer such as a workstation or a mobile computer. In this case, the computer program is transferred to a computer from a recording medium such as a CD-ROM or a DVD-ROM that stores a computer program that causes each computer to function as an encryption device, a first decryption device, or a second decryption device. If it is read and executed, or if it is executed after downloading the computer program through the communication means,
The encryption devices 100a and 100 according to the above-described embodiment
b and 100a ', the first decoding devices 200a and 200b
And 200a ′ and the second decoding device 300 can be constructed relatively easily.

【0106】また、上述した実施形態における公開鍵暗
号方式としては、例えばRSA暗号等の公知の暗号方式
を採用可能であり、共通鍵或いは秘密鍵暗号方式として
は、例えばMISTY暗号、DES暗号等の格子の暗号
方式を採用可能である。
As the public key cryptosystem in the above-mentioned embodiment, a known cryptosystem such as RSA cryptosystem can be adopted, and as the common key or secret key cryptosystem, for example, MISTY cryptosystem, DES cryptosystem or the like. Lattice encryption method can be adopted.

【0107】加えて、上述した各実施形態においては、
暗号化の対象たる患者データファイルは、論理構造を有
する固定長の或いは文書型定義を持つデータファイルで
あってもよい。又は、論理構造を有するものの、可変長
の或いは文書型定義を持たないデータファイルであって
もよい。例えば、患者データファイルは、文書型定義を持
たないXML文書からなってもよい。この場合、暗号化
されたデータの先頭部分等に、各フィールドの管理レベ
ルを示す管理情報を持たせると共に、ICカード等に記
憶されており且つ管理レベルを持つ秘密鍵を用いて、管
理レベルに対応するフィールドを管理情報に基づいて復
号化する構成とするのが好ましい。このように構成すれ
ば、患者データファイルに、文書型定義が存在しなくて
も、復号化する際に特に支障は生じないで済む。更に秘
密鍵片を段階的な秘密鍵として用いて、文書型定義を持
たないデータファイルにおける特定フィールドのみを復
号化可能な暗号システムが得られる。
In addition, in each of the above-mentioned embodiments,
The patient data file to be encrypted may be a fixed-length data file having a logical structure or a data file having a document type definition. Alternatively, it may be a data file having a logical structure but having a variable length or no document type definition. For example, the patient data file may consist of an XML document that has no document type definition. In this case, the management information indicating the management level of each field is provided in the head portion of the encrypted data, and the management level is set to the management level by using the secret key stored in the IC card or the like and having the management level. It is preferable that the corresponding field is decrypted based on the management information. According to this structure, even if there is no document type definition in the patient data file, there is no particular problem in decryption. Further, by using the secret key piece as a stepwise secret key, it is possible to obtain an encryption system capable of decrypting only a specific field in a data file having no document type definition.

【0108】本発明は、上述した実施形態に限られるも
のではなく、請求の範囲及び明細書全体から読み取れる
発明の要旨或いは思想に反しない範囲で適宜変更可能で
あり、そのような変更を伴なう暗号方法、暗号システム、
暗号化装置、復号化装置及びコンピュータプログラムも
また本発明の技術的範囲に含まれるものである。
The present invention is not limited to the above-described embodiments, but can be appropriately modified within the scope of the gist or concept of the invention which can be read from the claims and the entire specification, and such modifications are accompanied. Encryption method, encryption system,
An encryption device, a decryption device and a computer program are also included in the technical scope of the present invention.

【0109】[0109]

【発明の効果】以上詳細に説明したように、本発明によ
れば、個人のプライバシーを守りながら、患者データ等の
個人データの解析処理や統計処理を行うことが可能とな
り、最終的には個人データを医療等の各種産業で有効利
用できる。
As described above in detail, according to the present invention, it becomes possible to perform analysis processing and statistical processing of personal data such as patient data while preserving the privacy of the individual. Data can be effectively used in various industries such as medical care.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1実施形態に係る暗号システムのブ
ロック図である。
FIG. 1 is a block diagram of a cryptographic system according to a first embodiment of the present invention.

【図2】第1実施形態における暗号化方法のフローチャ
ートである。
FIG. 2 is a flowchart of an encryption method according to the first embodiment.

【図3】第1実施形態における患者データファイルに含
まれる各レコードが暗号化される様子を示す概念図であ
る。
FIG. 3 is a conceptual diagram showing how each record included in a patient data file according to the first embodiment is encrypted.

【図4】第1実施形態における復号化方法のフローチャ
ートである。
FIG. 4 is a flowchart of a decoding method according to the first embodiment.

【図5】第1実施形態における患者データファイルに含
まれる各レコードが復号化される様子を示す概念図であ
る。
FIG. 5 is a conceptual diagram showing how each record included in a patient data file according to the first embodiment is decrypted.

【図6】第1実施形態における暗号化されたデータコー
ドが復号化される一具体例を示す概念図である。
FIG. 6 is a conceptual diagram showing a specific example in which an encrypted data code is decrypted in the first embodiment.

【図7】本発明の第2実施形態に係る暗号システムのブ
ロック図である。
FIG. 7 is a block diagram of a cryptographic system according to a second embodiment of the present invention.

【図8】第2実施形態における暗号化方法のフローチャ
ートである。
FIG. 8 is a flowchart of an encryption method according to the second embodiment.

【図9】第2実施形態における復号化方法のフローチャ
ートである。
FIG. 9 is a flowchart of a decoding method according to the second embodiment.

【図10】本発明の第3実施形態に係る暗号システムの
ブロック図である。
FIG. 10 is a block diagram of a cryptographic system according to a third embodiment of the present invention.

【符号の説明】[Explanation of symbols]

100a、100b、100a’…暗号化装置 101…フィールド選択手段 102…部分暗号化手段 103…全体暗号化手段 104…入力手段 106…共通鍵暗号化手段 111…患者データファイル 112…部分暗号化ファイル 113、113’…全体暗号化ファイル 200a、200b、200a’…復号化装置 203、203’…全体復号化手段 204…入力手段 206…共通鍵復号化手段 240…処理手段 250…記憶装置 251…医療情報データベース 300…第2復号化装置 302…部分復号化手段 304…入力手段 100a, 100b, 100a '... Encryption device 101 ... Field selection means 102 ... Partial encryption means 103 ... Whole encryption means 104 ... Input means 106 ... Common key encryption means 111 ... Patient data file 112 ... Partially encrypted file 113, 113 '... Whole encrypted file 200a, 200b, 200a '... Decoding device 203, 203 '... Whole decoding means 204 ... Input means 206 ... Common key decryption means 240 ... Processing means 250 ... Storage device 251 ... Medical Information Database 300 ... Second decoding device 302 ... Partial decoding means 304 ... Input means

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】 所定単位の個人データを統一フォーマッ
トで項目毎に夫々コード化、デジタル化又はテキスト化
した複数フィールドからなる個人レコードを少なくとも
一つ含んでなる個人データファイルの中で、所定基準に
従って個人を特定可能とされる項目に対応するフィール
ドを選択する選択工程と、該選択されたフィールドを第
1公開鍵で暗号化すると共に前記選択工程により選択さ
れないフィールドを暗号化しないで部分暗号化ファイル
を作成する部分暗号化工程と、 該作成された部分暗号化ファイルを暗号化して全体暗号
化ファイルを作成する全体暗号化工程と、該作成された
全体暗号化ファイルを復号化して前記部分暗号化ファイ
ルを再生する全体復号化工程とを備えたことを特徴とす
る暗号方法。
1. A personal data file comprising at least one personal record consisting of a plurality of fields in which a predetermined unit of personal data is coded, digitized or textified for each item in a uniform format according to a predetermined standard. A selection step of selecting a field corresponding to an item that can identify an individual, and a partially encrypted file in which the selected field is encrypted with a first public key and the fields not selected in the selection step are not encrypted And a partial encryption step of encrypting the created partial encrypted file to create an entire encrypted file, and a partial encryption step of decrypting the created entire encrypted file An entire decryption step of reproducing a file.
【請求項2】 前記再生された部分暗号化ファイルのう
ち前記選択されたフィールドを前記第1公開鍵に対応す
る第1秘密鍵で復号化して前記個人データファイルを再
生する部分復号化工程を更に備えたことを特徴とする請
求項1に記載の暗号方法。
2. A partial decryption step of decrypting the selected field of the reproduced partial encryption file with a first secret key corresponding to the first public key to reproduce the personal data file. The encryption method according to claim 1, wherein the encryption method is provided.
【請求項3】 前記選択工程は、前記所定基準として段
階的な複数の基準に従って前記フィールドを段階的に選
択し、前記部分暗号化工程は、前記段階的に選択された
フィールドを、段階毎に異なる第1公開鍵で暗号化する
ことを特徴とする請求項1に記載の暗号方法。
3. The selecting step selects the field stepwise according to a plurality of stepwise standards as the predetermined standard, and the partial encryption step selects the stepwise selected field for each step. The encryption method according to claim 1, wherein encryption is performed with a different first public key.
【請求項4】 前記全体復号化工程により再生された部
分暗号化ファイルのうち前記段階的に選択されたフィー
ルドを前記段階毎に異なる第1公開鍵に対応する第1秘
密鍵で復号化する部分復号化工程を更に備えたことを特
徴とする請求項3に記載の暗号方法。
4. A part for decrypting the stepwise selected field of the partially encrypted file reproduced by the full decryption step with a first secret key corresponding to a first public key that differs at each stage. The encryption method according to claim 3, further comprising a decryption step.
【請求項5】 前記全体暗号化工程は、共通鍵で前記部
分暗号化ファイルを暗号化する工程と、該共通鍵を第2
公開鍵で暗号化する工程とを含み、前記全体復号化工程
は、前記第2公開鍵に対応する第2秘密鍵で前記共通鍵
を復号化する工程と、該復号化された共通鍵で前記全体
暗号化ファイルを復号する工程とを含むことを特徴とす
る請求項1から4のいずれか一項に記載の暗号方法。
5. The whole encryption step includes a step of encrypting the partially encrypted file with a common key, and a second step of using the common key.
Encrypting with a public key, the whole decrypting step includes a step of decrypting the common key with a second secret key corresponding to the second public key, and a step of decrypting the common key with the decrypted common key. The method according to any one of claims 1 to 4, further comprising the step of decrypting the entire encrypted file.
【請求項6】 前記全体暗号化工程は、第2公開鍵で前
記部分暗号化ファイルを暗号化し、 前記全体復号化工程は、前記第2公開鍵に対応する第2
秘密鍵で前記全体暗号化ファイルを復号化することを特
徴とする請求項1から4のいずれか一項に記載の暗号方
法。
6. The whole encryption step encrypts the partially encrypted file with a second public key, and the whole decryption step includes a second public key corresponding to the second public key.
The encryption method according to any one of claims 1 to 4, wherein the entire encrypted file is decrypted with a secret key.
【請求項7】 前記部分暗号化ファイルに対し、前記個
人レコード毎に個人IDコードとは異なるレコード識別
子を付与する工程を更に含み、 前記部分暗号化工程は、前記レコード識別子に基づいて
前記個人レコードの統計処理又は解析処理が可能なよう
に、前記選択されたフィールドを暗号化することを特徴
とする請求項1から6のいずれか一項に記載の暗号方
法。
7. The method further comprises the step of assigning to the partially encrypted file a record identifier different from the individual ID code for each of the individual records, wherein the partial encryption step is based on the record identifier. 7. The encryption method according to any one of claims 1 to 6, wherein the selected field is encrypted so that the statistical processing or the analysis processing of can be performed.
【請求項8】 所定単位の個人データを統一フォーマッ
トで項目毎に夫々コード化、デジタル化又はテキスト化
した複数フィールドからなる個人レコードを少なくとも
一つ含んでなる個人データファイルの中で、所定基準に
従って個人を特定可能とされる項目に対応するフィール
ドを選択する選択手段と、該選択されたフィールドを第
1公開鍵で暗号化すると共に前記選択手段により選択さ
れないフィールドを暗号化しないで部分暗号化ファイル
を作成する部分暗号化手段と、 該作成された部分暗号化ファイルを暗号化して全体暗号
化ファイルを作成する全体暗号化手段と、該作成された
全体暗号化ファイルを復号化して前記部分暗号化ファイ
ルを再生する全体復号化手段とを備えたことを特徴とす
る暗号システム。
8. A personal data file comprising at least one personal record consisting of a plurality of fields in which a predetermined unit of personal data is coded, digitized or textified for each item in a uniform format according to a predetermined standard. Selection means for selecting a field corresponding to an item that can identify an individual, and a partially encrypted file in which the selected field is encrypted with a first public key and the fields not selected by the selection means are not encrypted A partial encryption unit for creating a partial encryption file, an entire encryption unit for encrypting the created partial encryption file to create an entire encrypted file, and a partial encryption unit for decrypting the created entire encryption file An encryption system comprising an entire decryption means for reproducing a file.
【請求項9】 前記再生された部分暗号化ファイルのう
ち前記選択されたフィールドを前記第1公開鍵に対応す
る第1秘密鍵で復号化して前記個人データファイルを再
生する部分復号化手段を更に備えたことを特徴とする請
求項8に記載の暗号システム。
9. A partial decryption means for decrypting the selected field of the reproduced partial encryption file with a first secret key corresponding to the first public key to reproduce the personal data file. The encryption system according to claim 8, further comprising:
【請求項10】 前記選択手段は、前記所定基準として
段階的な複数の基準に従って前記フィールドを段階的に
選択し、 前記部分暗号化手段は、前記段階的に選択されたフィー
ルドを、段階毎に異なる第1公開鍵で暗号化することを
特徴とする請求項8に記載の暗号システム。
10. The selecting means selects the field stepwise according to a plurality of stepwise standards as the predetermined standard, and the partial encryption means selects the field selected stepwise for each step. 9. The encryption system according to claim 8, wherein encryption is performed with a different first public key.
【請求項11】 前記全体復号化手段により再生された
部分暗号化ファイルのうち前記段階的に選択されたフィ
ールドを前記段階毎に異なる第1公開鍵に対応する第1
秘密鍵で復号化する部分復号化手段を更に備えたことを
特徴とする請求項10に記載の暗号システム。
11. A first public key corresponding to a first public key, which is different in each step, in the field selected in steps in the partially encrypted file reproduced by the full decryption means.
The encryption system according to claim 10, further comprising a partial decryption unit that decrypts with a secret key.
【請求項12】 前記全体暗号化手段は、共通鍵で前記
部分暗号化ファイルを暗号化する手段と、該共通鍵を第
2公開鍵で暗号化する手段とを含み、前記全体復号化手
段は、前記第2公開鍵に対応する第2秘密鍵で前記共通
鍵を復号化する手段と、該復号化された共通鍵で前記全
体暗号化ファイルを復号する手段とを含むことを特徴と
する請求項8から11のいずれか一項に記載の暗号シス
テム。
12. The full encryption means includes means for encrypting the partially encrypted file with a common key, and means for encrypting the common key with a second public key. , And a means for decrypting the common key with a second secret key corresponding to the second public key, and a means for decrypting the whole encrypted file with the decrypted common key. The cryptographic system according to any one of Items 8 to 11.
【請求項13】 前記全体暗号化手段は、第2公開鍵で
前記部分暗号化ファイルを暗号化し、 前記全体復号化手段は、前記第2公開鍵に対応する第2
秘密鍵で前記全体暗号化ファイルを復号化することを特
徴とする請求項8から11のいずれか一項に記載の暗号
システム。
13. The full encryption means encrypts the partially encrypted file with a second public key, and the full decryption means includes a second public key corresponding to the second public key.
The encryption system according to any one of claims 8 to 11, wherein the entire encrypted file is decrypted with a secret key.
【請求項14】 前記部分暗号化ファイルに対し、前記
個人レコード毎に個人IDコードとは異なるレコード識
別子を付与する手段を更に含み、 前記部分暗号化手段は、前記レコード識別子に基づいて
前記個人レコードの統計処理又は解析処理が可能なよう
に、前記選択されたフィールドを暗号化することを特徴
とする請求項8から13のいずれか一項に記載の暗号シ
ステム。
14. The partial encryption file further includes means for assigning a record identifier different from a personal ID code to each of the individual records, wherein the partial encryption means is based on the record identifier. 14. The cryptographic system according to claim 8, wherein the selected field is encrypted so that the statistical processing or the analysis processing of the above can be performed.
【請求項15】 所定単位の個人データを統一フォーマ
ットで項目毎に夫々コード化、デジタル化又はテキスト
化した複数フィールドからなる個人レコードを少なくと
も一つ含んでなる個人データファイルの中で、所定基準
に従って個人を特定可能とされる項目に対応するフィー
ルドを選択する選択手段と、該選択されたフィールドを
第1公開鍵で暗号化すると共に前記選択手段により選択
されないフィールドを暗号化しないで部分暗号化ファイ
ルを作成する部分暗号化手段と、該作成された部分暗号
化ファイルを暗号化して全体暗号化ファイルを作成する
全体暗号化手段とを備えた暗号化装置。
15. A personal data file comprising at least one personal record consisting of a plurality of fields in which a predetermined unit of personal data is coded, digitized or textified for each item in a uniform format according to a predetermined standard. Selection means for selecting a field corresponding to an item that can identify an individual, and a partially encrypted file in which the selected field is encrypted with the first public key and the fields not selected by the selection means are not encrypted An encryption device comprising: a partial encryption means for creating a whole encrypted file by encrypting the created partial encrypted file.
【請求項16】 請求項15に記載の暗号化装置により
作成された全体暗号化ファイルを復号化して前記部分暗
号化ファイルを再生する全体復号化手段を備えたことを
特徴とする復号化装置。
16. A decryption device comprising an overall decryption means for decrypting the entire encrypted file created by the encrypting device according to claim 15 and reproducing the partial encrypted file.
【請求項17】 前記再生された部分暗号化ファイルの
うち前記選択されたフィールドを前記第1公開鍵に対応
する第1秘密鍵で復号化して前記個人データファイルを
再生する部分復号化手段を更に備えたことを特徴とする
請求項16に記載の復号化装置。
17. A partial decryption means for decrypting the selected field of the reproduced partial encryption file with a first secret key corresponding to the first public key to reproduce the personal data file. The decoding device according to claim 16, further comprising:
【請求項18】 コンピュータを請求項8から14のい
ずれか一項に記載の暗号システムとして機能させること
を特徴とするコンピュータプログラム。
18. A computer program that causes a computer to function as the cryptographic system according to claim 8.
【請求項19】 コンピュータを請求項15に記載の暗
号化装置として機能させることを特徴とするコンピュー
タプログラム。
19. A computer program causing a computer to function as the encryption device according to claim 15.
【請求項20】 コンピュータを請求項16又は17に
記載の復号化装置として機能させることを特徴とするコ
ンピュータプログラム。
20. A computer program causing a computer to function as the decoding device according to claim 16 or 17.
JP2001184758A 2001-06-19 2001-06-19 Method, system and apparatus encrypting, apparatus for decrypting and computer program Pending JP2003005645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001184758A JP2003005645A (en) 2001-06-19 2001-06-19 Method, system and apparatus encrypting, apparatus for decrypting and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001184758A JP2003005645A (en) 2001-06-19 2001-06-19 Method, system and apparatus encrypting, apparatus for decrypting and computer program

Publications (1)

Publication Number Publication Date
JP2003005645A true JP2003005645A (en) 2003-01-08

Family

ID=19024466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001184758A Pending JP2003005645A (en) 2001-06-19 2001-06-19 Method, system and apparatus encrypting, apparatus for decrypting and computer program

Country Status (1)

Country Link
JP (1) JP2003005645A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006185096A (en) * 2004-12-27 2006-07-13 Fujitsu Ltd Data protection program and data protection method
JP2007293830A (en) * 2006-03-30 2007-11-08 Japan Research Institute Ltd Test data generation system, its program, its recording medium and test data generation method
JP2007536833A (en) * 2004-05-05 2007-12-13 アイエムエス ソフトウェア サービシズ リミテッド Multi-source long-term patient-level data encryption
JP2009213064A (en) * 2008-03-06 2009-09-17 E-Trial Co Ltd Individual information management apparatus, personal information management program and individual information management system
US7840487B2 (en) 2006-02-20 2010-11-23 Hitachi, Ltd. Digital content encryption and decryption method and workflow system using digital content
JP2011232604A (en) * 2010-04-28 2011-11-17 Nec Corp Encryption device and encryption method
JP2016054430A (en) * 2014-09-04 2016-04-14 株式会社富士通ソーシアルサイエンスラボラトリ Data concealment/restoration device, method and program, data concealment/restoration system, and document creation device
US9355273B2 (en) 2006-12-18 2016-05-31 Bank Of America, N.A., As Collateral Agent System and method for the protection and de-identification of health care data
US9886558B2 (en) 1999-09-20 2018-02-06 Quintiles Ims Incorporated System and method for analyzing de-identified health care data
JP2019012995A (en) * 2017-05-18 2019-01-24 エフ.ホフマン−ラ ロシュ アーゲーF. Hoffmann−La Roche Aktiengesellschaft Method and system for processing data of analytical instrument for analyzing biological sample
CN111078707A (en) * 2019-12-23 2020-04-28 广州探途天下科技有限公司 Data processing method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0340689A (en) * 1989-07-07 1991-02-21 Hitachi Ltd Secrecy method for picture data
JPH08181689A (en) * 1994-10-28 1996-07-12 Sony Corp Digital signal transmission method, digital signal receiver and recording medium
JPH10126406A (en) * 1996-10-23 1998-05-15 Toyo Commun Equip Co Ltd Data cipher system in network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0340689A (en) * 1989-07-07 1991-02-21 Hitachi Ltd Secrecy method for picture data
JPH08181689A (en) * 1994-10-28 1996-07-12 Sony Corp Digital signal transmission method, digital signal receiver and recording medium
JPH10126406A (en) * 1996-10-23 1998-05-15 Toyo Commun Equip Co Ltd Data cipher system in network

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9886558B2 (en) 1999-09-20 2018-02-06 Quintiles Ims Incorporated System and method for analyzing de-identified health care data
JP2007536833A (en) * 2004-05-05 2007-12-13 アイエムエス ソフトウェア サービシズ リミテッド Multi-source long-term patient-level data encryption
US8275850B2 (en) 2004-05-05 2012-09-25 Ims Software Services Ltd. Multi-source longitudinal patient-level data encryption process
JP4687101B2 (en) * 2004-12-27 2011-05-25 富士通株式会社 Data protection program and data protection method
JP2006185096A (en) * 2004-12-27 2006-07-13 Fujitsu Ltd Data protection program and data protection method
US7840487B2 (en) 2006-02-20 2010-11-23 Hitachi, Ltd. Digital content encryption and decryption method and workflow system using digital content
JP2007293830A (en) * 2006-03-30 2007-11-08 Japan Research Institute Ltd Test data generation system, its program, its recording medium and test data generation method
US9355273B2 (en) 2006-12-18 2016-05-31 Bank Of America, N.A., As Collateral Agent System and method for the protection and de-identification of health care data
JP2009213064A (en) * 2008-03-06 2009-09-17 E-Trial Co Ltd Individual information management apparatus, personal information management program and individual information management system
JP2011232604A (en) * 2010-04-28 2011-11-17 Nec Corp Encryption device and encryption method
JP2016054430A (en) * 2014-09-04 2016-04-14 株式会社富士通ソーシアルサイエンスラボラトリ Data concealment/restoration device, method and program, data concealment/restoration system, and document creation device
JP2019012995A (en) * 2017-05-18 2019-01-24 エフ.ホフマン−ラ ロシュ アーゲーF. Hoffmann−La Roche Aktiengesellschaft Method and system for processing data of analytical instrument for analyzing biological sample
JP7113660B2 (en) 2017-05-18 2022-08-05 エフ.ホフマン-ラ ロシュ アーゲー Methods and systems for processing data for analytical instruments that analyze biological samples
US11743239B2 (en) 2017-05-18 2023-08-29 Roche Diagnostics Operations, Inc. Methods and systems for processing data of an analytical instrument for analyzing biological samples
CN111078707A (en) * 2019-12-23 2020-04-28 广州探途天下科技有限公司 Data processing method and system
CN111078707B (en) * 2019-12-23 2024-02-02 广州探途天下科技有限公司 Data processing method and system

Similar Documents

Publication Publication Date Title
CA2615292C (en) System and method for the protection and de-identification of health care data
JP5127446B2 (en) Data encryption application that integrates multi-source long-term patient level data
TW380242B (en) Method and system for the secure transmission and storage of protectable information
US20070180259A1 (en) Secure Personal Medical Process
CN105190636A (en) Genetic information storage device, genetic information search device, genetic information storage program, genetic information search program, genetic information storage method, genetic information search method, and genetic information search system
US20090037334A1 (en) Electronic medical record system, method for storing medical record data in the medical record system, and a portable electronic device loading the electronic medical record system therein
KR20140029984A (en) Medical information management method of medical database operating system
JP2006260521A (en) Document management system, information processing apparatus, method, and computer program
JP2003005645A (en) Method, system and apparatus encrypting, apparatus for decrypting and computer program
US20080084998A1 (en) Encryption key management device and encryption key management method
JP2009134598A (en) Workflow system, flow control apparatus, approval apparatus, program and workflow method
JP4822842B2 (en) Anonymized identification information generation system and program.
JP2002032473A (en) System and program storage medium for medical information processing
JP4774276B2 (en) Anonymous information system, conversion division device, information providing device, and information storage device
Kong et al. Protecting privacy in a clinical data warehouse
JP2019036249A (en) Medical information management device, method for managing medical information, and program
JPH10293724A (en) Unit device, decoding unit device, ciphering unit device, ciphering system, ciphering method and decoding method
JP2003296453A (en) Medical data communication system
JP2005202520A (en) Medical examination support device
JPH06187510A (en) Information recording and reproducing system
JP4773878B2 (en) Information management system and information management method
JP4081940B2 (en) Database management apparatus and recording medium
JP2005182108A (en) Electronic card reference system and medical examination history information leakage preventing filing system and electronic card reference method
GB2469673A (en) Encrypting data tags, metadata and labels in datasets to protect the identity of individuals when combining datasets or databases
JP2008132101A (en) Medical image managing system, medical image managing apparatus, and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050502

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050517

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050719

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050809

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051006

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20051021

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20051228