Confidential information management program, confidential information management method, data registration device, and confidential information management system

The secret information management system enhances security by probabilistically converting and encrypting keywords with dummy values to equalize search hit frequencies and use flags, effectively preventing frequency analysis attacks on encrypted data.

JP7549222B2Active Publication Date: 2024-09-11FUJITSU LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
JP2021048542
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-23
Publication Date
2024-09-11
Estimated Expiration
2041-03-23

AI Technical Summary

Technical Problem

Existing secure search techniques on encrypted data are insufficient to prevent frequency analysis attacks, allowing the inference of search queries and results.

Method used

A secret information management system that probabilistically converts keywords into divided keywords, adds dummy values, and encrypts them to create a disturbed record group, equalizing search hits and using flags to identify true or dummy records, thereby enhancing security against frequency analysis.

Benefits of technology

The system significantly improves security against frequency analysis attacks by equalizing search hit frequencies and using flags to distinguish between true and dummy records, maintaining data confidentiality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007549222000035
    Figure 0007549222000035
  • Figure 0007549222000051
    Figure 0007549222000051
  • Figure 0007549222000044
    Figure 0007549222000044
Patent Text Reader

Abstract

To improve safety for frequency analysis attack of encrypted data.SOLUTION: A data registration device 1 associates each of a plurality of first item values that can be set to one item within a secret record in a secret record group 4 which includes one or more secret record of a secret target, with n (n is a natural number) second item values. Next, the data registration device 1 classifies each of the second item values into a plurality of item value sets 5a-5c such that each of a plurality of item value sets 5a-5c includes any number of one through n-1 of two or more second item values associated with the same first item value. Further, the data registration device 1 stochastically converts the first item value which is set to the secret record to any of the associated second item values, and generates a scrambled record group 6 in which a hit number of searching for the second item value belonging to the same item value set is equalized. Then, the data registration device 1 encrypts the scrambled record group 6.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a secret information management program, a secret information management method, a data registration device, and a secret information management system. [Background technology]

[0002] Computer systems can handle large volumes of data, known as big data. For example, by analyzing big data with a computer, it is possible to obtain various insights. The more big data used for analysis, the more diverse knowledge can be obtained from the big data, and the more reliable the knowledge obtained. Therefore, rather than building a unique database (DB) for big data for each organization, such as a company, it is possible to consider using a DB that integrates data from multiple organizations and have multiple organizations use it. Such an integrated DB service can be realized, for example, by using a cloud computing system (hereafter referred to as "cloud").

[0003] When a DB that integrates data from multiple organizations is managed in a cloud, the data providing organization may want to restrict the use of the provided data to only other organizations that the data providing organization permits. In addition, the data providing organization and the data using organization may not want the cloud administrator to know the contents of the provided data or the search contents of the data in the DB. In such cases, the cloud that manages big data, for example, receives encrypted data from each organization and stores the encrypted data in the DB. Then, the cloud uses a matching technology that can determine the identity of the data while it is encrypted, and searches the data in the DB in response to a search request encrypted with a key provided by the data providing organization. This allows the data providing organization to permit the use of the provided data only to the organization that provided the key. In addition, since the provided data and the search request remain encrypted in the cloud, it is possible to prevent the cloud administrator from knowing the contents of the data.

[0004] As a technology related to concealing data in a database, for example, a search system that realizes a secret search that is resistant to frequency analysis has been proposed. In addition, a data aggregation and analysis system that can improve the processing efficiency of analysis while protecting the privacy of information providers through encryption has also been proposed. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] International Publication No. 2012 / 115031 [Patent Document 2] International Publication No. 2016 / 120975 Summary of the Invention [Problem to be solved by the invention]

[0006] Even if a private search technology that allows searches to be performed on encrypted data is used, the security of encrypted data is not sufficient. In other words, a frequency analysis attack is possible against a database that stores encrypted data, and the contents of a search query or search results may be inferred.

[0007] In one aspect, the present invention aims to improve security against frequency analysis attacks on encrypted data. [Means for solving the problem]

[0008] In one proposal, a secret information management program is provided that causes a computer to perform the following processes: The computer associates n (n is a natural number) second item values ​​with each of a plurality of first item values ​​that can be set in one item in a secret record in a secret record group including one or more secret records to be kept secret. Next, the computer classifies each second item value into one of a plurality of item value sets so that each of the plurality of item value sets includes any number of second item values ​​from 1 to n-1 of the two or more second item values ​​associated with the same first item value. Next, the computer probabilistically converts the first item value set in one item in the secret record into one of the associated second item values. Next, the computer generates a disturbed record group based on the secret record group, in which a dummy second item value is added to equalize the number of search hits for second item values ​​belonging to the same item value set. Next, the computer assigns a flag indicating the truth or falsity of the second item value included in the record to the record in the disturbed record group. Then, the computer encrypts the disturbed record group. Effect of the Invention

[0009] According to one embodiment, security against frequency analysis attacks on encrypted data can be improved. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 illustrates an example of a secret information management system according to a first embodiment. [Diagram 2] FIG. 1 illustrates an example of a confidential information management system. [Diagram 3] FIG. 2 illustrates an example of a hardware configuration of a data management server. [Figure 4] FIG. 13 illustrates an example of a frequency analysis attack. [Diagram 5] FIG. 13 is a diagram illustrating an example of generating a transformation set using dummy elements. [Figure 6] FIG. 13 is a diagram illustrating an example of conversion of item values ​​when dummy elements are used. [Figure 7] 13A and 13B are diagrams illustrating an example of generation of dummy values ​​when dummy elements are used. [Figure 8]FIG. 13 is a diagram showing an example of registered data when dummy elements are used. [Figure 9] FIG. 1 is a diagram illustrating the equalization of ciphertext. [Figure 10] FIG. 13 is a diagram illustrating an appropriate number of groups G. [Figure 11] FIG. 13 is a diagram showing an example of a frequency distribution after frequency disturbance. [Figure 12] FIG. 13 is a diagram illustrating an example of a combination frequency when a dummy element is used. [Figure 13] FIG. 13 is a diagram showing an example of narrowing down search targets using structural zeros. [Figure 14] FIG. 13 is a diagram illustrating an example of probabilistic conversion to split keywords. [Figure 15] FIG. 13 is a diagram illustrating an example of conversion from a divided keyword to a dummy value by a conversion set. [Figure 16] FIG. 11 is a first diagram showing another example of generating a transformation set. [Figure 17] FIG. 2 is a second diagram showing another example of generating a transformation set. [Figure 18] FIG. 2 is a block diagram showing the functions of a confidential information management system. [Figure 19] FIG. 13 is a diagram showing an example of a process for disturbing the occurrence frequency using dummy data. [Figure 20] FIG. 13 is a diagram showing an example of a DB of plaintext patient data. [Figure 21] 11 is a diagram showing an example of information stored in a conversion information storage unit in the data registration server. FIG. [Figure 22] FIG. 13 is a diagram illustrating an example of a keyword list. [Diagram 23] FIG. 13 is a diagram illustrating a first example of generating a transformation set. [Figure 24] FIG. 13 is a diagram illustrating a second example of generating a transformation set. [Diagram 25] FIG. 13 is a diagram showing an example of registered data generated using divided keywords. [Figure 26] FIG. 13 is a diagram illustrating an example of a concealment DB. [Figure 27] 13 is a flowchart illustrating an example of a procedure for a data registration process. [Figure 28] 13 is a flowchart illustrating an example of a procedure for a transformation set generation process. [Figure 29] 13 is a flowchart illustrating an example of a procedure for a dummy data generation process. [Diagram 30] FIG. 13 is a diagram showing an example of a search condition input screen. [Diagram 31] 11 is a diagram showing an example of information stored in a conversion information storage unit in a terminal device. FIG. [Diagram 32] FIG. 13 is a diagram illustrating an example of conversion into divided keywords. [Diagram 33] FIG. 13 is a diagram illustrating an example of generation of a disturbance query. [Diagram 34] FIG. 11 illustrates an example of a search process. [Diagram 35] 13 is a flowchart illustrating an example of a procedure for a search process. [Diagram 36] FIG. 13 is a diagram illustrating an example of inverse transformation of a dummy value. [Figure 37] FIG. 13 is a diagram showing an example of a search result display screen. [Figure 38] FIG. 13 is a diagram showing an example of frequency disturbance using divided keywords. [Figure 39] FIG. 13 illustrates an example of a frequency analysis attack. [Diagram 40] FIG. 13 is a diagram illustrating an example of conversion into common keywords. [Diagram 41] FIG. 11 is a first diagram showing another example of generating a shared set. [Diagram 42] FIG. 13 is a diagram illustrating an example of information stored in a conversion information storage unit of a data registration server in the third embodiment. [Diagram 43] FIG. 13 is a diagram illustrating an example of generating a shared set. [Diagram 44] FIG. 13 is a diagram illustrating an example of a concealment DB in which shared keywords are stored. [Diagram 45] 13 is a flowchart illustrating an example of a procedure for a data registration process. [Figure 46] 13 is a flowchart showing details of a processing procedure for converting into a shared keyword. [Figure 47] FIG. 13 is a diagram illustrating an example of conversion from a divided keyword to a shared keyword. [Figure 48] FIG. 2 is a diagram showing an example of a record of registration data. [Figure 49] FIG. 13 is a diagram illustrating an example of information stored in a conversion information storage unit of a terminal device according to the third embodiment. [Figure 50] FIG. 13 illustrates an example of a concealed search query. [Figure 51] FIG. 13 is a diagram illustrating an example of a confidential search using a shared keyword. [Figure 52] 13 is a flowchart illustrating an example of a procedure for a search process. [Diagram 53] FIG. 13 is a diagram illustrating the difficulty of a frequency analysis attack when a shared keyword is used. [Figure 54] FIG. 13 is a diagram illustrating an example of a numerical range search. [Figure 55] FIG. 13 is a diagram showing an example (comparative example) of generating a shared set of ages. [Figure 56] FIG. 13 is a diagram illustrating an example of generating a shared set of ages. [Figure 57] FIG. 13 is a diagram showing an example of generating a shared set when the number of groups is 3. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, the present embodiment will be described with reference to the drawings. Note that each embodiment can be implemented in combination with a plurality of other embodiments as long as no contradiction occurs. First Embodiment First, a first embodiment will be described. In the first embodiment, a keyword is probabilistically converted into a plurality of divided keywords, and the divided keywords are encrypted and registered in a database (DB), thereby realizing frequency disturbance of keywords managed as secret information. A secret information management method including a data registration method in which the frequency has been disturbed in this way and a method for searching the data can be called SCPDK (Share Ciphertext with Probabilistically Divided Keywords).

[0012] Fig. 1 is a diagram showing an example of a secret information management system according to a first embodiment. Fig. 1 shows an example of a secret information management method using the secret information management system. The secret information management system has a data registration device 1, a server 2, and a data utilization device 3. Each of the data registration device 1, the server 2, and the data utilization device 3 can perform the processing of each device in the secret information management method by executing a program in which the processing procedure of each device for realizing the secret information management method is described, for example.

[0013] The data registration device 1 has a memory unit 1a and a processing unit 1b in order to realize the secret information management method. The memory unit 1a is, for example, a memory or a storage device included in the data registration device 1. The processing unit 1b is, for example, a processor or an arithmetic circuit included in the data registration device 1. Although not shown, the server 2 and the data utilization device 3 also have a memory unit and a processing unit. For example, the memory unit of the server 2 stores a concealment database (DB) 2a.

[0014] The storage unit 1a of the data registration device 1 stores a secret record group 4 including one or more secret records to be kept secret. The processing unit 1b of the data registration device 1 generates and classifies the second item values ​​(step S1). Specifically, the processing unit 1b first associates n (n is a natural number) second item values ​​with each of a plurality of first item values ​​that can be set for one item in a secret record in the secret record group 4 including one or more secret records to be kept secret. In the example of Fig. 1, the first item value "pediatrics" is associated with the second item values ​​"pediatrics 0" and "pediatrics 1", the first item value "gynecology" is associated with the second item values ​​"gynecology 0" and "gynecology 1", and the first item value "internal medicine" is associated with the second item values ​​"internal medicine 0" and "internal medicine 1".

[0015] Note that for some first item values, it is permissible for there to be only one corresponding second item value. When there is only one corresponding second item value, the first item value and the second item value may be the same value.

[0016] The processing unit 1b classifies each of the second item values ​​into one of the multiple item value sets 5a to 5c so that each of the multiple item value sets 5a to 5c includes any number of second item values, from 1 to n-1, among two or more second item values ​​associated with the same first item value. For example, the processing unit 1b classifies "pediatrics 0" and "internal medicine 0" into the item value set 5a, "pediatrics 1" and "gynecology 0" into the item value set 5b, and "gynecology 1" and "internal medicine 1" into the item value set 5c. At this time, the processing unit 1b prevents the combination of first item values ​​corresponding to the second item values ​​belonging to the multiple item value sets from being the same.

[0017] Next, the processing unit 1b probabilistically converts a first item value set in one item in the secret record to one of the associated second item values ​​(step S2). For example, a randomly determined selection probability is set for each second item value. The processing unit 1b selects one of the associated second item values ​​for the first item value with a probability according to the respective selection probability, and converts the first item value to the selected second item value.

[0018] The processing unit 1b generates a deranged record set 6 based on the secret record set 4, in which the number of hits in a search for second item values ​​belonging to the same item value set is equalized by adding a dummy second item value (step S3). For example, the processing unit 1b generates a dummy value corresponding to each second item value set in one item of each secret record according to a bijective relationship in which each second item value belonging to an item value set is bijected into a different second item value belonging to the same item value set. Next, the processing unit 1b generates a dummy record set having the same number of dummy records as the secret records, in which a dummy value is set in one item. Then, the processing unit 1b generates a deranged record set 6 including a secret record set and a dummy record set.

[0019] Furthermore, the processing unit 1b assigns a flag to each record in the disturbed record set 6, indicating whether the second item value contained in the record is true or false (step S4). For example, the processing unit 1b assigns a first flag indicating true to the secret record and a second flag indicating false to the dummy record.

[0020] The processing unit 1b encrypts the disturbed records (step S5). For example, the processing unit 1b encrypts the second item value set in one item of each of the secret record and the dummy record, the first flag assigned to the secret record, and the second flag assigned to the dummy record.

[0021] The processing unit 1b then stores the encrypted disturbance record set 6 in, for example, the concealed DB 2a of the server 2. In this way, the disturbed record set 6, whose security against frequency analysis attacks has been improved by adding the dummy records, is stored in the anonymized DB 2a of the server 2. The server 2 provides the data utilization device 3 with a search service for the data stored in the anonymized DB 2a.

[0022] The data utilization device 3 has information on the item value sets 5a to 5c generated by the data registration device 1, and information indicating the correspondence between the first item value and the second item value. For example, the data utilization device 3 acquires this information from the data registration device 1. Furthermore, the data utilization device 3 may generate the second item value based on the first item value and classify the second item value into an item value group using the same algorithm as the processing unit 1b of the data registration device 1.

[0023] The data utilization device 3 accepts input of search conditions from a searcher. The search conditions indicate, for example, a search item value of one item in the concealed DB 2a. The data utilization device 3 transmits a search query according to the search conditions to the server 2. For example, the data utilization device 3 converts the search item value of one item indicated in the search conditions into second item values ​​corresponding to first item values ​​having the same value as the search item value. The data utilization device 3 transmits to the server 2 a search query for searching the second item value obtained by the conversion while keeping it as ciphertext. For example, the data utilization device 3 transmits to the server 2 a search query including the logical sum of the ciphertext of the second item value.

[0024] The server 2 performs a search in ciphertext in response to the received search query. For example, the server 2 compares the second item value in the search query in ciphertext with the ciphertext item value of each record in the anonymized DB2a. The server 2 transmits to the data utilization device 3 a search result including records in which an item value matching the search item value is set.

[0025] The data utilization device 3 acquires the detection records that match the search query in the anonymized DB 2a from the server 2. Then, the data utilization device 3 determines whether the value that matches the second item value in the detection record is true or false based on the flag assigned to the detection record, and displays the true search result.

[0026] For example, the data utilization device 3 decrypts the item values ​​set in one item of each of the secret records and the dummy records included in the search results, the first flags added to the secret records, and the second flags added to the dummy records. Next, the data utilization device 3 removes the dummy records from the search results based on the first and second flags, and acquires the secret records that satisfy the search conditions. Then, the data utilization device 3 displays the true search results on, for example, a display screen.

[0027] In this way, the occurrence frequency of each of the first item values ​​in the secret record set 4 can be perturbed, thereby improving security against frequency analysis attacks on the secret DB 2a. When there are multiple dummy record groups, the processing unit 1b can use a bijective relationship that is different for each dummy record group so that the second item value set in one item of the secret record is converted to a different second item value for each dummy record group. This can further improve security against frequency analysis attacks.

[0028] The processing unit 1b may set a second flag, which is different for each of the one or more generated dummy record groups and has a value different from the first flag, to the dummy records included in each of the dummy record groups. For example, the processing unit 1b assigns a first flag including an identifier of the secret record and a value indicating a group number of the secret record group to the secret record, and sets a second flag including an identifier of the dummy record and a group number of the dummy record group to the dummy record. This makes it possible to identify the dummy record group to which the dummy record belongs based on the value of the second flag. As a result, it becomes possible to reproduce the original record based on the dummy record by inversely converting the second item value in the dummy record to the first item value.

[0029] The data registration device 1 can also realize frequency perturbation without using dummy records. For example, the processing unit 1b generates a perturbed record by converting a second item value set in one item in a concealed record into a third item value that is associated with an item value set to which the second item value belongs and hits any search for a second item value that belongs to the same item value set. Then, the processing unit 1b generates a perturbed record group including the generated perturbed record. This makes it possible to eliminate the need for dummy records and reduce the amount of data to be registered in the concealed DB 2a.

[0030] When converting the second item value to the third item value, the processing unit 1b, for example, assigns a third flag including information indicating the second item value before conversion to the disturbed record. The processing unit 1b assigns a third flag including, for example, an identifier of the concealed record and an element number in the item value set of the element corresponding to the second item value before conversion to the concealed record. Furthermore, the processing unit 1b encrypts the third item value set in one item of the disturbed record and the assigned third flag.

[0031] The data utilization device 3 can use the third flag to convert the third item value back to the original second item value and obtain the first item value corresponding to the second item value. For example, the data utilization device 3 converts the search item value of one item indicated in the search condition into one or more second item values ​​corresponding to the first item value that is the same as the search item value, and then converts the second item value into a third item value corresponding to the second item value. Then, the data utilization device 3 transmits a search query including the encrypted text of the third item value to the server 2.

[0032] After that, the data utilization device 3 obtains the search results based on the search query in the concealed DB 2a from the server 2. Next, the data utilization device 3 decrypts the third item value and the third flag set in each disturbed record included in the search result. Furthermore, the data utilization device 3 determines the second item value from which the third item value is converted based on the third flag. Then, the data utilization device 3 extracts from the search result the disturbed record in which the encrypted text of the second item value corresponding to the first item value that satisfies the search condition is stored.

[0033] When the first item value is a numeric value, a numeric range search is performed to analyze the sequence of numeric values ​​in the plaintext that is the original ciphertext, and this may be used to narrow down the search target. When the first item values ​​are numeric values, the processing unit 1b performs classification taking into consideration the continuity of numeric values ​​when classifying the second item value into one of the multiple item value sets 5a to 5c. For example, when the first item values ​​are numeric values, the processing unit 1b makes the item value set including the second item values ​​corresponding to each of the multiple consecutive numeric values ​​in the first numeric range include the second item values ​​corresponding to each of the consecutive numeric values ​​in the second numeric range that does not overlap with the first numeric range. This makes it possible to prevent an attacker from narrowing down the numeric candidates to values ​​within a narrow numeric range when a numeric search is performed.

[0034] Second Embodiment Next, a second embodiment will be described. In the second embodiment, patient data held by many medical institutions is effectively utilized by using a patient data collection and utilization platform. For example, the patient data collection and utilization platform integrates data from multiple hospitals into big data, which can then be utilized by multiple pharmaceutical companies. This allows pharmaceutical companies and hospitals to easily grasp surveys for new drug development (such as the number of patients with the target disease and their location).

[0035] It is efficient to realize the patient data collection and utilization platform using a cloud managed by an ICT (Information and Communications Technology) company. Using the cloud makes it easier for hospitals and pharmaceutical companies to access big data. However, since patient data is sensitive personal information, even if a legal procedure is followed to allow access, it is appropriate to keep it secret even from the cloud administrator, considering the risk of leakage or unauthorized use. In addition, since the contents of searches by pharmaceutical companies are linked to important trade secrets related to the pharmaceutical company's strategy, it is desirable to keep the search contents secret as well. Therefore, the cloud that realizes the patient data collection and utilization platform manages encrypted patient data in a database using, for example, an encryption method that allows searches while the data is still encrypted, and performs data searches in ciphertext using encrypted search keywords. This makes it possible to keep the patient data and the contents of the search queries secret even from the cloud administrator.

[0036] When data from multiple organizations (e.g. hospitals) are used with the same system, the DB format and the specifications of the attribute names and values ​​to be stored are published as common specifications. Moreover, the cloud administrators who are also responsible for system development are familiar with the concealment algorithms. In that case, if there is a malicious individual among the cloud administrators, it may not be enough to simply store patient data in ciphertext.

[0037] Here, we assume that data is stored in a matrix format to perform efficient searches using narrowed down searches, etc. In this case, for example, in a column labeled with the item "gender," there are only two plaintext candidates, "male" or "female," and the concealed DB contains many ciphertexts based on the same plaintext. A cloud administrator, who could be an attacker, can then compare and reference these ciphertexts.

[0038] Furthermore, large hospitals publish information such as the number of patients by disease as part of their public relations efforts. In the same way, there is a possibility that such frequency information may be published for any information. Therefore, the frequency distribution of all data may become publicly known. For example, the frequency of combinations of values ​​for multiple items (such as the number of men with lung cancer) may also become publicly known. Furthermore, new medical information is added daily, and users require the latest information. Therefore, it is important that the confidential database is able to successively reflect the differences with the latest plaintext database.

[0039] For the above reasons, in the second embodiment, the security requirement is that the contents of the anonymized DB and search results can be kept secret from attackers, including the cloud administrator who manages the anonymized DB, even under the following conditions (i) to (v). (i) The type and value of plaintext are publicly known, and there may be very few types. (ii) The attacker can access all ciphertexts in the anonymized DB, as well as encrypted search queries and all ciphertexts in the anonymized DB that match these queries. (iii) Encryption and matching algorithms other than information intentionally managed as secret information (private key) are publicly known. (iv) The frequency distributions of all data, including combinations, are known. (v) The confidential database is updated sequentially, and an attacker can refer to the difference information.

[0040] When there is a concealed DB that satisfies conditions (i) to (v), a brute force attack is an easily conceivable attack method. If the encryption key is publicly known because the number of types of plaintext is small and publicly known, an attacker can easily decrypt the data and search queries in the concealed DB by encrypting all types of plaintext and creating a dictionary of plaintext and ciphertext. Therefore, to meet the security requirements, the encryption key must be a private key.

[0041] In addition, the attacker, who is also the administrator of the concealed DB, can refer to the results of the matching judgment. Therefore, it is known that all ciphertexts that are judged to match a certain search query correspond to the same plaintext. Therefore, even if a probabilistic encryption method is used, in which the same plaintext is encrypted and a different ciphertext is generated each time, the attacker can convert the same plaintext into a ciphertext like a deterministic encryption method, in which the same ciphertext is generated. And since the attacker knows the frequency distribution of the data, he can easily infer the contents of the concealed data by comparing it with the frequency of the ciphertext. Even if the frequency distribution is not known exactly, for example, by referring to gender data for gynecology, it is easy to identify that the plaintext of the ciphertext with the higher frequency is "female." Therefore, it is important to take measures such as frequency disturbance in addition to encryption.

[0042] Therefore, in the second embodiment, a secret information management system is provided that can keep the contents of the anonymized DB and the search contents secret from an attacker even under conditions (i) to (v). In the secret information management system according to the second embodiment, frequency disturbance is achieved by adding dummy data. In this case, the secret information management system keeps the data increase rate constant to prevent unnecessary increases in storage and search processing. By adding dummy records, the secret information management system suppresses the narrowing down of other types of item values ​​that have the same frequency of occurrence for one type of item value. For example, the secret information management system makes it difficult for an attacker to narrow down candidates for item values ​​specified in a search query based on the number of records that hit the search query.

[0043] FIG. 2 is a diagram showing an example of a confidential information management system. In the second embodiment, a patient data collection and utilization platform 12 is constructed using the cloud. The patient data collection and utilization platform 12 has a data management server 100. The data management server 100 is a computer that manages patient data in ciphertext form. The data management server 100 is connected to data registration servers 200, 300 in hospitals 13, 14 and terminal devices 400, 500 in pharmaceutical companies 15, 16 via a network 20.

[0044] The data registration server 200 of the hospital 13 is a computer that accumulates patient data such as electronic medical records of patients who have been examined at the hospital 13, encrypts the patient data, and provides it to the data management server 100. Similarly, the data registration server 300 of the hospital 14 accumulates patient data such as electronic medical records of patients who have been examined at the hospital 14, encrypts the patient data, and provides it to the data management server 100.

[0045] The terminal device 400 of pharmaceutical company 15 is a computer used by an employee of pharmaceutical company 15 to search for patient data managed by the data management server 100. The terminal device 500 of pharmaceutical company 16 is a computer used by an employee of pharmaceutical company 16 to search for patient data managed by the data management server 100.

[0046] Such a confidential information management system is useful, for example, for improving the efficiency of new drug development using medical information. For example, when pharmaceutical companies 15, 16 conduct clinical trials, they can improve the success rate of the clinical trials by planning the trials taking into account the number of patients with the target disease. Therefore, by centrally managing patient data extracted from electronic medical records of patients distributed across multiple hospitals 13, 14 in the patient data collection and utilization platform 12, it becomes possible to easily obtain information on patients with the target disease.

[0047] The data registration servers 200 and 300 are an example of the data registration device 1 in the first embodiment. The data management server 100 is an example of the server 2 in the first embodiment. The terminal devices 400 and 500 are an example of the data utilization device 3 in the first embodiment.

[0048] 3 is a diagram showing an example of the hardware configuration of a data management server. The data management server 100 is entirely controlled by a processor 101. A memory 102 and a plurality of peripheral devices are connected to the processor 101 via a bus 109. The processor 101 may be a multiprocessor. The processor 101 is, for example, a central processing unit (CPU), a micro processing unit (MPU), or a digital signal processor (DSP). At least a part of the functions realized by the processor 101 executing a program may be realized by an electronic circuit such as an application specific integrated circuit (ASIC) or a programmable logic device (PLD).

[0049] The memory 102 is used as a main storage device of the data management server 100. The memory 102 temporarily stores at least a part of the OS (Operating System) program and application programs to be executed by the processor 101. The memory 102 also stores various data used for processing by the processor 101. As the memory 102, for example, a volatile semiconductor storage device such as a RAM (Random Access Memory) is used.

[0050] The peripheral devices connected to the bus 109 include a storage device 103, a GPU (Graphics Processing Unit) 104, an input interface 105, an optical drive device 106, a device connection interface 107, and a network interface 108.

[0051] The storage device 103 electrically or magnetically writes and reads data to and from a built-in recording medium. The storage device 103 is used as an auxiliary storage device for a computer. The storage device 103 stores an OS program, application programs, and various data. Note that, for example, a hard disk drive (HDD) or a solid state drive (SSD) can be used as the storage device 103.

[0052] The monitor 21 is connected to the GPU 104. The GPU 104 displays an image on the screen of the monitor 21 in accordance with an instruction from the processor 101. The GPU 104 is sometimes called a graphics controller. The monitor 21 may be a display device using an organic EL (Electro Luminescence) display device, a liquid crystal display device, or the like.

[0053] The input interface 105 is connected to the keyboard 22 and the mouse 23. The input interface 105 transmits signals sent from the keyboard 22 and the mouse 23 to the processor 101. Note that the mouse 23 is an example of a pointing device, and other pointing devices can also be used. Examples of other pointing devices include a touch panel, a tablet, a touch pad, and a trackball.

[0054] The optical drive device 106 uses laser light or the like to read data recorded on the optical disc 24. The optical disc 24 is a portable recording medium on which data is recorded so that it can be read by reflection of light. The optical disc 24 includes a DVD (Digital Versatile Disc), a DVD-RAM, a CD-ROM (Compact Disc Read Only Memory), a CD-R (Recordable) / RW (ReWritable), etc.

[0055] The device connection interface 107 is a communication interface for connecting peripheral devices to the data management server 100. For example, a memory device 25 or a memory reader / writer 26 can be connected to the device connection interface 107. The memory device 25 is a recording medium equipped with a function for communicating with the device connection interface 107. The memory reader / writer 26 is a device for writing data to the memory card 27 or reading data from the memory card 27. The memory card 27 is a card-type recording medium.

[0056] The network interface 108 is connected to the network 20. The network interface 108 transmits and receives data via the network 20 to and from other computers or communication devices.

[0057] The data management server 100 can realize the processing functions of the second embodiment with the above hardware configuration. The data registration servers 200, 300 and the terminal devices 400, 500 can also be realized with the same hardware as the data management server 100. Furthermore, the data registration device 1, server 2, and data utilization device 3 shown in FIG.

[0058] The data management server 100 realizes the processing function of the second embodiment by executing a program recorded in, for example, a computer-readable recording medium. The program describing the processing contents to be executed by the data management server 100 can be recorded in various recording media. For example, the program to be executed by the data management server 100 can be stored in the storage device 103. The processor 101 loads at least a part of the program in the storage device 103 into the memory 102 and executes the program. The program to be executed by the data management server 100 can also be recorded in a portable recording medium such as the optical disk 24, the memory device 25, or the memory card 27. The program stored in the portable recording medium becomes executable after being installed in the storage device 103 under the control of, for example, the processor 101. The processor 101 can also read and execute the program directly from the portable recording medium.

[0059] Next, a frequency analysis attack on a DB (anonymization DB) that stores encrypted data will be described. 4 is a diagram showing an example of a frequency analysis attack. It is assumed that a concealed DB32 is generated based on a DB31 that stores plaintext data. For example, item values ​​for each item included in each record of the DB31 are individually encrypted and stored in the concealed DB32. Note that in the second embodiment, the item values ​​set for each item may also be called keywords.

[0060] In the example of Fig. 4, it is assumed that the encryption is performed by a deterministic encryption technique that generates the same encrypted data from the same plain text. It is also assumed that the attacker 33 knows all of the item names ("medical department", "gender", "age range") used in the items of the original DB 31 and the keyword candidates (keyword list) that can be stored in each item.

[0061] The attacker 33 can infer the plaintext corresponding to the ciphertext by comparing the frequency of occurrence of the ciphertext with publicly known frequency information. For example, only two types of values ​​are registered in the second column of the anonymized DB 32. Therefore, the attacker 33 can infer that the plaintext corresponds to the item "gender" in the second column of the anonymized DB 32.

[0062] Furthermore, the attacker 33 can compare the frequency of occurrence of the second column values ​​"tmuesf" and "uylgm" in the concealment DB 32 and confirm that "uylgm" occurs more frequently. Then, the attacker 33 can infer that "uylgm", which occurs more frequently in terms of population distribution, is the encrypted data corresponding to "female".

[0063] The attacker 33 can also infer the contents from a combination of multiple item values. For example, the attacker 33 can confirm that the value in the second column corresponding to the value "sEfgsr" in the first column of the anonymized DB 32 is only "uylgm." The attacker 33 can then infer that the value that is only combined with one gender is "gynecology" in terms of medical specialty, and can be highly certain that the plaintext of "uylgm" is "female."

[0064] The attacker 33 can also confirm that the value in the third column corresponding to the value ":opfyy" in the first column of the anonymized DB 32 is only "jr8olt". The attacker 33 can then infer that the remaining third column is the age group, that the medical department that only has a combination with a specific age group is "pediatrics", and that the corresponding age group is "children".

[0065] Note that the example in Figure 4 assumes that encryption is performed using deterministic encryption, but frequency analysis attacks are also possible against a concealed DB encrypted using probabilistic encryption. Probabilistic encryption is an encryption technique that encrypts the same plaintext into a different ciphertext each time it is encrypted. When probabilistic encryption is performed, the values ​​of multiple ciphertexts generated from the same plaintext are different, so it is not possible to count the frequency of occurrence of the original plaintext simply by looking up the contents of the encrypted DB. Therefore, encryption using probabilistic encryption makes frequency analysis attacks more difficult than deterministic encryption.

[0066] However, even if probabilistic encryption is used, if a concealed search that searches the concealed DB is permitted, the attacker 33 will be able to determine that all ciphertexts that match the search query are ciphertexts of the same plaintext, and will be able to convert these ciphertexts into deterministic encryption. Therefore, even if probabilistic encryption is used, the attacker 33 will be able to convert many ciphertexts in the concealed DB into deterministic encryption as the data is utilized, making frequency analysis attacks possible in the same way as when the data is encrypted using deterministic encryption.

[0067] In this way, a frequency analysis attack is an attack method that uses the frequency of occurrence of characters or strings used in the plaintext and ciphertext to infer and peek at the plaintext. If the item values ​​of the original plaintext are biased, the ciphertext obtained by encrypting that plaintext is vulnerable to a frequency analysis attack.

[0068] In order to improve security against frequency analysis attacks, it is possible to use dummy data to scramble the frequency of occurrence of the original plaintext. In this case, adding item values ​​(dummy values) for each item in the dummy data without considering the type of item value in the original plaintext or the frequency of occurrence of each item value will not scramble the frequency of occurrence appropriately.

[0069] For example, by taking into consideration the frequency of occurrence of item values ​​in the original plaintext data and registering dummy data with appropriate dummy values, reliable frequency perturbation can be achieved. In this case, the data registration servers 200 and 300 generate a group of dummy records that have the same frequency distribution as the true data, but in which each value is converted to a different value. Each dummy record in this dummy record group is linked to a record of the true data, and corresponds one-to-one. The data registration servers 200 and 300 then convert the item values ​​of the records of the true data to different item values ​​and set them as the dummy values ​​of the corresponding dummy records. The set that defines this conversion rule is called a conversion set.

[0070] The meanings of letters and terms used in the second embodiment will be explained below. "k" is a preset security parameter, and is set to an integer equal to or greater than 2. The system administrator sets k to the minimum number of keywords that an attacker 33 is allowed to narrow down among multiple keywords for one item when a frequency analysis attack is performed.

[0071] "True data" is data stored in the plaintext DB. "True data record" is a record that includes a keyword in the true data. The true data record is an example of a secret record in the first embodiment. "Dummy value" is a value added to disturb the frequency distribution of the true data. "Dummy record" is a record that includes a dummy value. "True value" is a keyword that can be set in the plaintext DB. The true value is an example of a first item value in the first embodiment.

[0072] "G" is the number of groups, and is also a value indicating how many times the amount of data will be increased by adding dummy data compared to plaintext data. A "group" is a collection of multiple records. Group "0" is the collection of true data records. G-1 groups "1, 2,...,G-1" are generated, each containing the same number of dummy records as the number of true data records. For one record in group "0", G-1 dummy records are generated, and the G-1 dummy records are added one by one to each of groups "1, 2,...,G-1". A "flag" is a value assigned to the dummy records so that terminal devices 400, 500 can distinguish the dummy records.

[0073] A "transformation set" is a set that includes true values, split keywords (one or more keywords generated from true values), or dummy elements for each column (item). A transformation set expresses rules for determining what value of a dummy record to add for one true value. The number of elements in a transformation set is equal to the number of groups G. A transformation set is also used to perturb split queries and restore anonymized search results.

[0074] "j" is the column number. j is used as an index to identify the item of the value registered in the record. "Xj " is the number of types of item values ​​(keywords) that can be set in the field of the jth column in a record.

[0075] The "dummy element" is X j is a dummy element to fill in the gaps in the elements to be included in the conversion set if G is smaller than G or is not a multiple of G. Dummy elements are values ​​that are not included in the keyword list.

[0076] Next, a method for registering dummy data that takes into consideration the frequency of occurrence of item values ​​in the original plaintext data will be described. As an example of a method for registering dummy data, a method using dummy elements is considered. When using dummy elements, the data registration server 200, 300 generates a conversion set with G elements selected arbitrarily from the keywords or dummy values ​​that each item can take. The data registration server 200, 300 then generates conversion sets until the keywords that each item can take are included as elements of one of the conversion sets.

[0077] Fig. 5 is a diagram showing an example of generating a conversion set using dummy elements. In the example of Fig. 5, it is assumed that the record of the real data includes the items "blood pressure" and "blood type". In the keyword list 34, for each item, keywords that can be set for that item are registered. In the example of Fig. 5, there are three types of item values ​​that can be set for "blood pressure" (normal, low blood pressure, high blood pressure), and eight types of item values ​​that can be set for "blood type" (A+, B+, O+, AB+, A-, B-, O-, AB-).

[0078] The list of conversion sets 35 in Fig. 5 shows conversion sets 35a, 35b, and 35c generated for two items, namely, the item "blood pressure" having three keywords and the item "blood type" having eight keywords, when k = 3 and G = 4. For the item "blood pressure", only one conversion set 35a containing {normal, low blood pressure, high blood pressure, D1} as elements is generated. "D1" is a dummy element. For the item "blood type", two conversion sets are generated: conversion set 35b containing {A+, B+, O+, AB+} as elements, and conversion set 35c containing {A-, B-, O-, AB-} as elements.

[0079] The conversion sets 35a, 35b, and 35c have a circular list structure, with elements arranged in order. Each element in the conversion sets 35a, 35b, and 35c is assigned an element number in ascending order, starting from 0, starting from the top. For example, in the conversion set 35a, if the left end in the figure is taken as the top, "normal" is the first element (element number "0") and "low blood pressure" is the next element (element number "1"). Because of the circular list structure, for example, the next element after the last element "D1" is "normal."

[0080] The data registration servers 200 and 300 generate dummy values ​​to be set in the dummy records by converting the keywords of the records of the real data based on the conversion sets 35a, 35b, and 35c. For example, the data registration servers 200 and 300 generate one dummy value to be set in the dummy records in each dummy record group based on one keyword of the records of the real data.

[0081] 6 is a diagram showing an example of conversion of item values ​​when a dummy element is used. For example, the data registration servers 200 and 300 refer to the keywords registered for each item of the record of real data, and generate a conversion set including the keyword and an element b corresponding to the keyword. a a is an integer element number equal to or greater than 0, and element b a is an element with element number a. The data registration servers 200 and 300 then select the element b of the keyword included in the real data. aBased on this, the dummy value c of the dummy record group with group number g is calculated by the following formula (1). a,g is determined by referring to the transformation set. c a,g =b mod(a+g,G) (1) In the example of Fig. 6, the item value appearing in the record of the real data is "low blood pressure". Since there are three dummy record groups (G = 4), the data registration servers 200, 300 generate dummy values ​​to be set in the dummy records of each of the three dummy record groups (g = 1, 2, 3) based on the conversion set 35a that includes the keyword "low blood pressure". First, the data registration servers 200, 300 obtain the element number "1" (a = 1) in the conversion set 35a of the element corresponding to the keyword "low blood pressure".

[0082] The data registration servers 200 and 300 store the dummy value c 1,1 When generating a dummy record group with group number "1", the data registration server 200, 300 first calculates mod(1+1,4)=2. Then, the data registration server 200, 300 determines the keyword "high blood pressure" corresponding to the element b2 in the conversion set 35a, whose element number is the calculated value "2", as the dummy value to be set in the dummy record group with group number "1".

[0083] The data registration servers 200 and 300 store the dummy value c 1,2 When generating, first, mod(1+2,4)=3 is calculated. Then, the data registration server 200, 300 determines the dummy element "D1" corresponding to the element b3 in the conversion set 35a having the calculated value "3" as the element number, as the dummy value to be set in the dummy record group with group number "2".

[0084] The data registration servers 200 and 300 store the dummy value c 1,3When generating, first, mod(1+3,4)=0 is calculated. Then, the data registration server 200, 300 determines the keyword "normal" corresponding to the element b0 in the conversion set 35a, whose element number is the calculated value "0", as the dummy value to be set in the dummy record group with group number "3".

[0085] The relationship between the source and destination keywords as shown in Figure 6 is an example of a bijective relationship. As long as the bijective relationship is satisfied, the relationship between the source keyword and the destination keyword or dummy element may be defined by rules other than those shown in Figure 6.

[0086] The data registration servers 200 and 300 generate dummy values ​​as shown in Fig. 6 for each item value that appears in the real data. In the following description, a ciphertext corresponding to a certain plaintext will be represented as H (plaintext).

[0087] Fig. 7 is a diagram showing an example of dummy value generation when dummy elements are used. In the example of Fig. 7, in the true data 36, ​​as keywords for the item "blood pressure", "normal" appears twice, and "low blood pressure" and "high blood pressure" appear once each. Also, as item values ​​for the item "blood type", "A+" appears twice, and "O-" and "AB-" appear once each.

[0088] Dummy values ​​to be set for each dummy record group are generated based on each keyword appearing in the real data 36. For example, based on blood pressure "normal", a dummy value "low blood pressure" for the dummy record group of group number 1 (g=1), a dummy value "high blood pressure" for the dummy record group of group number 2 (g=2), and a dummy value "D1" for the dummy record group of group number 3 (g=3) are generated. Also, based on blood type "A+", for example, a dummy value "B+" for the dummy record group of group number 1 (g=1), a dummy value "O+" for the dummy record group of group number 2 (g=2), and a dummy value "AB+" for the dummy record group of group number 3 (g=3) are generated.

[0089] The data registration servers 200 and 300 assign the generated dummy values ​​to the dummy records and encrypt the item values ​​to generate registration data. 8 is a diagram showing an example of registered data when dummy elements are used. The registered data 37 includes a record group 37a of the real data 36 and dummy record groups 37b, 37c, and 37d. A flag is added to each record in the registered data 37. The keywords (including the flag value) included in the registered data 37 are encrypted.

[0090] The flag value is used to distinguish between true data records and dummy records. For example, a flag value of "0" can be set for true data records, and a flag value of "1" can be set for dummy records. In this case, when G≧3, the number of ciphertexts with flag value "1" (H(1)) will be greater than the number of ciphertexts with flag value "0" (H(0)). This allows the attacker 33 to determine whether a record is a true data record based on the frequency of occurrence of the ciphertext of the flag value. Therefore, the data registration servers 200 and 300 also perform frequency perturbation on the ciphertext of the flag value.

[0091] For example, the data registration servers 200 and 300 can use the group number of the group to which each record belongs as the flag of that record, as shown in Fig. 8. Since the number of records belonging to each group is the same, this makes the occurrence frequency of all flag values ​​the same.

[0092] In addition, in order to determine the flag value, the data registration server 200, 300 may prepare different functions that output different values ​​for the same variable for the record group of real data and the dummy record group. In this case, the data registration server 200, 300 sets the value obtained by inputting the value of the ID column as the variable x to the prepared function as the flag value.

[0093] The flag value generation function for the group with group number g (a group of real data records or a group of dummy records) is f g When (x) is used, for example, the following flag value generation function can be used. f g (x)=(G+1)x+g (2) In the example of Figure 8, G = 4. Therefore, the flag value generation function of the real data record group 37a (group number "0") is "f0(x) = 4x + 0". The flag value generation function of the dummy record group 37b (group number "1") is "f1(x) = 4x + 1". The flag value generation function of the dummy record group 37c (group number "2") is "f2(x) = 4x + 2". The flag value generation function of the dummy record group 37d (group number "3") is "f3(x) = 4x + 3".

[0094] When searching, the terminal devices 400 and 500 issue a search query specifying the record group 37a of the real data or any one of the dummy record groups 37b, 37c, and 37d as the search target. In response to the search query, the data management server 100 responds with records that match the search conditions as search results. At this time, the data management server 100 includes an ID string and a flag value in the flag string in the search results. The terminal devices 400 and 500 input the IDs of the records shown in the search results to the flag value generation functions for each group, and encrypt the obtained function values. The terminal devices 400 and 500 then compare the ciphertext of the function value of the flag value generation function with the flag value (ciphertext) of the record. The terminal devices 400 and 500 determine that the group corresponding to the flag value generation function that matches the comparison result is the group to which the record belongs.

[0095] In the enrollment data 37 thus generated, the frequency of occurrence of ciphertexts corresponding to elements belonging to the same conversion set is made uniform. Fig. 9 is a diagram explaining the standardization of ciphertext. For example, all keywords that can be set in the blood pressure field belong to one conversion set 35a (see Fig. 5). In the true data 36, ​​the frequency of occurrence of the keyword "normal" is "2", the frequency of occurrence of the keyword "low blood pressure" is "1", and the frequency of occurrence of the keyword "high blood pressure" is "1".

[0096] In the registered data 37, the occurrence frequencies of the ciphertexts of each keyword and the values of the dummy elements are equalized. For example, the occurrence frequencies of the ciphertext "H(normal)" of the keyword "normal", the ciphertext "H(hypotension)" of the keyword "hypotension", the ciphertext "H(hypertension)" of the keyword "hypertension", and the ciphertext "H(D1)" of the value "D1" of the dummy element are all "4".

[0097] As can be seen from the generation example of the conversion set shown in FIG. 5, each conversion set contains k or more keywords (k = 3 in the example of FIG. 5). Therefore, even if the attacker 33 knows the occurrence frequency of a specific ciphertext, the attacker cannot specify which keyword's ciphertext among the keywords belonging to the same conversion set the ciphertext is. That is, the attacker 33 can narrow down the candidates for the keyword corresponding to the ciphertext to at most k. As a result, the security against frequency analysis attacks is improved.

[0098] Note that in order to narrow down the candidates for the keyword corresponding to the ciphertext to at most k, it is important to appropriately determine the value of the number of groups G. FIG. 10 is a diagram for explaining an appropriate number of groups G. The number of groups G is determined according to k. As described above, k is a security parameter set in advance so that the candidates for the keyword corresponding to the ciphertext can be narrowed down to at most k. Therefore, k is determined according to the degree of security against frequency analysis attacks required for the system.

[0099] At this time, the number of types of keywords X j <that can be set becomes k. There are also such items. Such items cannot include k or more keywords in the conversion set. Therefore, the attacker 33 knows that the keyword corresponding to the ciphertext of the corresponding item is one of the X j keywords (k <). However, the keyword corresponding to the ciphertext of such an item is X jThe fact that the gender is one of these is publicly known information, and it is no problem if the attacker 33 knows it. For example, in the example of Fig. 10, there are only two keywords that can be set for the item "gender", "male" or "female". However, the fact that the gender is either "male" or "female" is information that is no problem if the attacker 33 knows it.

[0100] On the other hand, the number of types of keywords that can be set is X j If the item is ≧k, it is appropriate to have k or more keywords in the conversion set. j If there is an item where G is not a multiple of k, the data registration server 200, 300 adjusts G so that k or more keywords are included in each conversion set.

[0101] For example, in the "blood type" example in Figure 10, for k=3, X j = 4. In this case, if G = 3 as in the conversion set list 38, when a searcher searches for "O" or "AB", an attacker 33 who sees the search results will know that the search target is either "O" or "AB". j In order to ensure that each conversion set contains k or more keywords that can be set to the corresponding item for items ≧k, G is determined such that G is other than 3 for G≧k. For example, if G=4 as in conversion set list 39, each conversion set contains three or more keywords that can be set to the corresponding item.

[0102] Fig. 11 is a diagram showing an example of frequency distribution after frequency perturbation. A frequency distribution table 40 shown in Fig. 11 shows the frequency of appearance of each keyword and the value "F" of a dummy element after frequency perturbation in a DB having an item in which five keywords "A", "B", "C", "D", and "E" can be set. In the example of Fig. 11, G=3. There are two conversion sets: "A, B, C" and "D, E, F".

[0103] The dummy values ​​of the dummy record group with group number "1" are generated by converting the field values ​​of the real data as "A → B", "B → C", "C → A", "D → E", "E → F", and "F → D" based on the conversion set. The dummy values ​​of the dummy record group with group number "2" are generated by converting the field values ​​of the real data as "A → C", "B → A", "C → B", "D → F", "E → D", and "F → E" based on the conversion set.

[0104] The frequency of occurrence of "A" in the true data is "10," the frequency of occurrence of "B" is "7," the frequency of occurrence of "C" is "2," the frequency of occurrence of "D" is "1," the frequency of occurrence of "E" is "5," and the frequency of occurrence of "F" is "0." Then, the frequency of occurrence of each keyword contained in the transformed set "A, B, C" after frequency perturbation is all "19." Furthermore, the frequency of occurrence of each keyword or dummy element value contained in the transformed set "D, E, F" after frequency perturbation is all "6." In other words, for each set of three item values, an effort has been made to equalize the frequency of occurrence of the item values ​​within the set.

[0105] In addition, the dummy values ​​of each dummy record group are generated by converting the keywords of the real data on a one-to-one basis. Therefore, the degree of variation in the frequency of occurrence of the keywords does not change. For example, if the frequency of occurrence values ​​are arranged in descending order of frequency of occurrence, they are "10, 7, 5, 2, 1, 0" in both the real data record group and the two dummy record groups. In this way, the degree of variation in the frequency of occurrence of item values ​​for each dummy record group is equal to that of the real data for all dummy record groups. As a result, it becomes difficult to determine which record group is the real data record group from the degree of variation in the frequency of occurrence of the keywords. In addition, in all dummy record groups, there are dummy records that correspond one-to-one to each record of the real data. Therefore, when deleting a record with real data, by deleting the corresponding dummy record as well, any record of the real data can be deleted while maintaining the confidentiality of the data.

[0106] By using dummy elements in this way, it is possible to improve security against frequency analysis attacks. However, even if dummy elements are used, an attacker 33 who knows the combination frequencies between keywords in multiple items may be able to narrow down the number of keyword candidates included in the search criteria to less than k.

[0107] For example, assume that "Conversion Set 2" in Figure 11 is a conversion set for the item "gender." If the only keywords for gender are "male" and "female," it is permissible to generate a conversion set like the one shown in Figure 11 even when k = 3. In this case, if a frequency analysis attack is carried out using the combination frequencies between keywords of multiple items, there is a possibility that the keywords included in "Conversion Set 1" will also be narrowed down to less than k.

[0108] Fig. 12 is a diagram showing an example of combination frequencies when dummy elements are used, in which a list 41 of transformation sets when k=G=3 and a combination frequency table 42 at that time are shown.

[0109] The conversion set list 41 shows conversion sets between blood pressure and gender. The conversion set for blood pressure includes "normal", "low blood pressure", and "high blood pressure". The conversion set for gender includes "male", "female", and the dummy element value "D1".

[0110] The combination frequency table 42 shows the frequency of occurrence of records corresponding to the combination (logical product) of blood pressure values ​​and gender values. The true frequency is the number of corresponding records in the record group of the true data. The post-perturbation frequency is the number of corresponding records in the record group of the true data and the dummy record group.

[0111] For example, the true data record group will contain "n1" records with blood pressure "normal" and gender "male". The true data record group will contain "n2" records with blood pressure "low" and gender "female". The true data record group will contain "n3" (n3=0) records with blood pressure "high" and gender "D1". The true data record group will contain "n4" records with blood pressure "normal" and gender "female". The true data record group will contain "n5" (n5=0) records with blood pressure "low" and gender "D1". The true data record group will contain "n6" records with blood pressure "high" and gender "male". The true data record group will contain "n7" (n7=0) records with blood pressure "normal" and gender "D1". The true data record set contains "n8" records with blood pressure "low blood pressure" and gender "male". The true data record set contains "n9" records with blood pressure "high blood pressure" and gender "female".

[0112] Here, in the dummy record group with group number "1" (g=1), a record with a dummy value of "normal" for blood pressure and a dummy value of "male" is generated based on a record with a blood pressure of "low blood pressure" and a gender of "female" in the record group of real data. Therefore, the dummy record group with group number "1" (g=1) contains "n2" records with a blood pressure of "normal" and a gender of "male". In the dummy record group with group number "2" (g=2), a record with a dummy value of "normal" for blood pressure and a dummy value of "male" is generated based on a record with a blood pressure of "high blood pressure" and a gender of "D1" in the record group of real data. Therefore, the dummy record group with group number "2" (g=2) contains "n3" (n3=0) records with a blood pressure of "normal" and a gender of "male".

[0113] Then, the appearance frequency (post-perturbation frequency) of a record in the anonymized DB with blood pressure of "normal" and gender of "male" is "n1 + n2". Similarly, the appearance frequency (post-perturbation frequency) of a record in the anonymized DB with blood pressure of "low blood pressure" and gender of "female", and the appearance frequency (post-perturbation frequency) of a record in the anonymized DB with blood pressure of "high blood pressure" and gender of "D1" are also "n1 + n2".

[0114] When a searcher performs a search on an encrypted DB having a frequency after perturbation as shown in FIG. 12, an attacker 33 who knows the combination frequencies of a plurality of item values can narrow down the candidates for keywords included in the search conditions to less than k (3 in the example of FIG. 12). For example, assume that the searcher performs a search for "normal ∧ male" (∧ represents logical AND) or a search for "low blood pressure ∧ female". The frequency after perturbation for any of these search results is "n1 + n2". That is, the number of records that hit the search condition is "n1 + n2". Note that the searcher does not search for dummy elements.

[0115] Here, the attacker 33 who knows the combination frequency (true frequency) between the keyword for blood pressure and the keyword for gender also knows that the frequency after perturbation becomes "n1 + n2" only for "normal ∧ male" or "low blood pressure ∧ female". Then, the attacker 33 can recognize that at least "high blood pressure" is not the search target. This means that it will be known to the attacker 33 that the searcher's area of interest regarding blood pressure is "normal" or "low blood pressure", and "high blood pressure" is outside the area of interest. That is, the search target is narrowed down to less than k (= 3).

[0116] In this way, when the number of types of keywords X j (two types: "male" and "female") is small and X j < k, when an item value and other item values are combined, the other item values are also narrowed down to the X j values in the gender column.

[0117] In the example of FIG. 12, the fact that no search is performed on the dummy element is utilized for narrowing down the search target. And when considering the combination of elements, there are combinations of elements for which no search is performed other than the search including the dummy element. For example, in the items of a DB in which records for each patient are registered, there may be "department" and "age group". Here, adults and the elderly do not visit the pediatrics department. Therefore, in the records where the value of the department is "pediatrics", the value of the age group is not "adult", "elderly", etc.

[0118] In this way, values ​​that cannot be set in other items when the value of one item is a certain item value can be called structural zeros. In contrast, values ​​that are the only values ​​that can be set in other items when the value of one item is a certain item value (for example, the age group "children" for the medical department "pediatrics") can be called non-structural zeros. Structural zeros can also be used to narrow down search targets.

[0119] FIG. 13 is a diagram showing an example of narrowing down search targets using structural zeros. In the example of FIG. 13, DB43 has items of "medical department", "gender", and "age group". A concealed DB44 is generated in which the values ​​of each item of DB43 are encrypted. Here, it is assumed that one conversion set including "internal medicine", "gynecology", and "pediatrics" is generated for medical departments. In addition, it is assumed that a conversion set including "elderly", "adult", and "D2" (dummy elements) and a conversion set including "youth", "child", and "D3" (dummy elements) are generated for age groups.

[0120] In this case, the occurrence frequency of each combination of "internal medicine ∧ adult", "gynecology ∧ D2", and "pediatrics ∧ elderly" is the same after frequency perturbation. In the example of Figure 13, the occurrence frequency of these combinations is "133".

[0121] Now, let us assume that a searcher 45 searches for "internal medicine ∧ adult" in the concealed DB 44. This search returns 133 records. If an attacker 33 monitors the search by the searcher 45, the attacker 33 will combine the occurrence frequencies of values ​​that can be set for each item and check for a combination of values ​​that results in an occurrence frequency of "133." This allows the attacker 33 to narrow down the search candidates to three: "internal medicine ∧ adult," "gynecology ∧ D2," and "pediatrics ∧ elderly."

[0122] Next, the attacker 33 excludes "gynecology ∧ D2" from the search candidates because the dummy element "D2" is never a search target. Furthermore, the attacker 33 also excludes "pediatrics ∧ elderly" from the search candidates because a search for elderly is never performed for pediatrics (there is no reason to perform a search for structural zero). As a result, the attacker 33 can recognize that the search query sent by the searcher 45 is "internal medicine ∧ adult."

[0123] In this way, the presence of dummy elements and structural zeros narrows down the keywords included in the search query. Given this, there is a problem with the initial narrowing down to about k keywords based on the frequency of occurrence of combinations of keywords that can be set in each item. Therefore, when registering data, the data registration servers 200, 300 make it impossible to sufficiently narrow down the keywords included in the search query from information even if the frequency of occurrence of keywords that can be set in each item is known. Specifically, this is as follows.

[0124] The data registration servers 200 and 300 probabilistically convert a keyword that can be registered in the DB 43 into one of a number of keywords. Hereinafter, the converted keyword will be referred to as a divided keyword.

[0125] 14 is a diagram showing an example of probabilistic conversion to split keywords. For example, the data registration server 200 has a DB210 including items such as medical department, gender, and age group. The data registration server 200 generates a split keyword selection table 233 based on keywords that can be registered in each item of the DB210.

[0126] In the division keyword selection table 233, division keywords corresponding to keywords that can be registered in the corresponding item and the selection probability of the division keyword are set for each item in the DB 210. For example, there are division keywords "pediatrics 0" and "pediatrics 1" corresponding to the keyword "pediatrics" that can be registered in the item "medical department."

[0127] The selection probability of a split keyword is determined by generating a random number, and is managed so as to be kept secret from outside the data registration server 200. Therefore, even if there are two split keywords for each keyword that can be registered in the DB 210, the selection probability differs for each split keyword. For example, the selection probability of the split keyword "pediatrics 0" is "0.72", and the selection probability of "pediatrics 1" is "0.28". The selection probability of the split keyword "gynecology 0" is "0.60", and the selection probability of "gynecology 1" is "0.40". The total selection probability of multiple split keywords corresponding to one keyword that can be registered in the DB 210 is "1".

[0128] When the data registration server 200 registers data in the DB 210 in the data management server 100, it converts the item value of each record in the DB 210 into one of the divided keywords that probabilistically correspond with reference to the divided keyword selection table 233. For example, when converting "pediatrics", there is a 72% probability that it will be converted into "pediatrics 0", and the remaining 28% probability that it will be converted into "pediatrics 1". By converting the keywords in the DB 210, divided data 211 is generated.

[0129] In the example of FIG. 14, all keywords are converted into split keywords, but it is also possible to leave some keywords unconverted and to anonymize them as keywords that can be registered in the DB 210.

[0130] The data registration server 200 generates a conversion set that includes as elements the divided keywords shown in the divided keyword selection table 233, and generates dummy data using the conversion set. At that time, the data registration server 200 satisfies the following generation conditions for each conversion set.

[0131] The condition for generating a conversion set is that at least one of the elements of the conversion set is a split keyword, and another split keyword that has the same split keyword as the conversion source keyword is included in another conversion set. In other words, a conversion set includes n-1 or less split keywords out of n split keywords corresponding to one keyword.

[0132] 15 is a diagram showing an example of conversion from split keywords to dummy values ​​using conversion sets. The conversion set list 232 includes three conversion sets 232a to 232c for medical departments, three conversion sets 232d to 232f for gender, and four conversion sets 232g to 232j for age groups. Each of the conversion sets 232a to 232j includes two elements. The elements included in the conversion sets 232a to 232j are, for example, split keywords or dummy elements. If there is a keyword that is not split, the keyword also becomes an element of the conversion sets 232a to 232j.

[0133] In addition, the numbers to the left of ":" in the conversion sets 232a to 232j in Fig. 15 are element numbers, and the character strings to the right of ":" are division keywords set as elements. 15, all keywords that can be registered in the DB 210 are divided, so that the conversion sets 232a to 232j contain divided keywords and dummy elements as elements. For example, the conversion set 232a for medical department contains the divided keywords "pediatrics 0" and "internal medicine 0". Furthermore, the conversion set 232d for gender contains the divided keyword "male 0" and the dummy element "D1".

[0134] Each of the conversion sets 232a to 232j includes at least one split keyword as an element. A conversion set other than the conversion set including the split keyword includes another split keyword that has a common source keyword with the split keyword. For example, the conversion set 232a includes the split keyword "pediatrics 0". The source keyword of "pediatrics 0" is "pediatrics". In addition to "pediatrics 0", "pediatrics 1" exists as a split keyword for "pediatrics". "Pediatrics 1" is included in the conversion set 232b, which is different from the conversion set 232a. Therefore, the conversion set 232a satisfies the generation condition of the conversion set. The conversion set 232d includes only the split keyword "male 0", and the other element is the dummy element "D1". However, another split keyword "male 1" that has a common source keyword with "male 0" is included in another conversion set 232e. Therefore, the generation condition of the conversion set is also satisfied for the conversion set 232d.

[0135] The data registration server 200 generates dummy data according to the conversion sets 232a to 232j. The dummy data is a group of G-1 dummy records. The method of generating dummy values ​​to be set in the dummy records is as described with reference to FIG.

[0136] Registration data 46 for registration in the anonymized DB is generated by mixing the records of the true data and the dummy records in the divided data 211. The registration data 46 is an example of the disturbed record set 6 in the first embodiment.

[0137] In the registered data 46, the frequency of occurrence of G elements contained in the same conversion set is equal. Moreover, even if the frequency of occurrence of these elements is compared with the frequency of the DB 210 data, the plain text cannot be identified. For example, the correlation between the frequency of "elderly 0" and "child 0" contained in the conversion set 232g and the frequency of each of the original data is hidden by a secret selection probability. Therefore, even if the frequency of elements in each conversion set is added up, it does not match the sum of the frequencies of two or more keywords in the true data.

[0138] Furthermore, in order to make it possible to distinguish which group a ciphertext belongs to during a search, the data registration server 200 adds a flag value including a group number to each record in the registered data 46. For example, in order to prevent group number sorting attacks, the data registration server 200 adds the ID of the record from which the flag value was generated to make all flag values ​​unique.

[0139] The first record of registered data 46 is the first record (ID "0") of divided data 211 and belongs to the record group of real data (group number "0"), so the flag value is "0,0". The second record of registered data 46 is a dummy record based on the first record (ID "0") of divided data 211 and belongs to the dummy record group (group number "1"), so the flag value is "0,1".

[0140] 14 and 15 show an example in which all keywords that can be registered in the DB 210 are converted into split keywords, but if all converted sets satisfy the generation conditions, some keywords do not need to be split.

[0141] Fig. 16 is a first diagram showing another example of generating conversion sets. The conversion set list 47 shown in Fig. 16 includes three conversion sets 47a to 47c for medical departments, two conversion sets 47d to 47e for gender, and three conversion sets 47f to 47h for age groups. In the example of Fig. 16, the medical department "internal medicine", the gender keyword "female", and the age group keywords "youth" and "children" are not converted into split keywords. Therefore, these keywords are elements of the conversion set as they are.

[0142] Each of the conversion sets 47a to 47h included in such conversion set list 47 satisfies the conversion set generation conditions. For example, conversion set 47d includes a divided keyword "man 0" and an undivided keyword "woman". Of these, the original keyword of "man 0" is "man". In addition to "man 0", "man 1" is also included as a divided keyword of "man". "Man 1" is included in conversion set 47e, which is different from conversion set 47d. Therefore, conversion set 47d satisfies the conversion set generation conditions.

[0143] However, when conversion to dummy values ​​is performed using the conversion set list 47, the difficulty of inferring plaintext is lowered compared to the case where the conversion set list 232 shown in Fig. 15 is used. For example, an attacker 33 can perform the following attack on a concealed DB where conversion to dummy values ​​is performed using the conversion set list 47.

[0144] Assume that an attacker 33 attempts to identify the search target of a search for gender. The attacker 33 obtains the post-permutation frequency for each of the gender conversion sets 47d and 47e. For example, the attacker 33 can obtain the post-permutation frequency of the conversion set 47d (the sum of the frequency of "male 0" and the frequency of "female") by obtaining the number of records that are hit when a searcher searches for a record with the gender "female". The attacker 33 subtracts the frequency of "female" in the plain text from the post-permutation frequency of the conversion set 47d. This results in the frequency of "male 0". The attacker 33 then adds the post-permutation frequency of another conversion set 47e to the result of the subtraction. The frequency after the addition is the sum of the frequency of "male 0" and the frequency of "male 1".

[0145] If the attacker 33 can confirm that the sum is equal to the frequency of "man", then when a search is performed that results in a post-permutation frequency of the conversion set 47d, the attacker 33 can determine that the corresponding conversion set 47d contains "woman". After that, when a search is performed only to result in a post-permutation frequency of the conversion set 47d by the searcher, the attacker 33 can determine that "woman" has been searched for.

[0146] An attacker 33 can narrow down the search target by repeating such attempts, but the more keywords that can be registered for the same item, the more attempts such attacks will be made, and the lower the risk of the search target being identified.

[0147] In this way, in the conversion sets 47a to 47h shown in the conversion set list 47, when there is an item with a small number of registrable keywords such as gender, security against frequency analysis attacks is reduced. However, if there is a large number of registrable keywords for each item, the number of combinations of keywords (addition and subtraction of the frequency of the relevant keywords in the attack) used in the attack by the attacker 33 will be enormous. As a result, as shown in the conversion set list 47, even if some elements remain as keywords registered in the DB 210 (not converted into divided keywords), security is sufficient.

[0148] Even if all keywords are converted into split keywords, security against frequency analysis attacks may be insufficient unless the conversion set is generated appropriately. Fig. 17 is a second diagram showing another example of generating conversion sets. The conversion set list 48 shown in Fig. 17 includes three conversion sets 48a to 48c for medical departments, three conversion sets 48d to 48f for gender, and four conversion sets 48g to 48j for age groups. In the example of Fig. 17, the elements of the conversion sets 48g to 48j for age groups are different from the conversion sets 232g to 232j shown in Fig. 15.

[0149] In the conversion sets 48g to 48j, the divided keywords of "old man", "old man 0" and "old man 1" are stored in the conversion set 48g and the conversion set 48h, respectively. Also, the divided keywords of "young man", "young man 0" and "young man 1" are stored in the conversion set 48g and the conversion set 48h, respectively. In other words, the conversion set 48g and the conversion set 48h have the same combination of source keywords of the divided keywords to which they belong ("old man", "young man"). Similarly, the conversion set 48i and the conversion set 48j have the same combination of source keywords of the divided keywords to which they belong ("adult", "child").

[0150] When such transformed sets 48g to 48j are generated, the sum of the post-transformation frequency of the divided keywords belonging to the transformed set 48g and the post-transformation frequency of the divided keywords belonging to the transformed set 48h is equal to the sum of the occurrence frequencies of "old man" and "young man" in the DB 210. Then, when a search for "old man" or "young man" is performed, the attacker 33 can infer that the search target keyword is "old man" or "young man" from the number of hit records. In other words, the candidates for the search target keyword are narrowed down to two.

[0151] In order to make such frequency analysis attacks difficult, the data registration request servers 200 and 300 prevent the occurrence of multiple conversion sets in which the combination of original keywords of divided keywords in a conversion set is the same, as shown in FIG.

[0152] Next, the functions of each device in the secret information management system that improves security against frequency analysis attacks by probabilistically converting into divided keywords will be described. 18 is a block diagram showing functions of a secret information management system. The data management server 100 has an anonymization DB 110, a data registration unit 120, a key provision request unit 130, and a search unit 140. The anonymization DB 110 is realized by a memory 102 or a storage device 103 included in the data management server 100. The data registration unit 120, the key provision request unit 130, and the search unit 140 are realized by a processor 101 included in the data management server 100.

[0153] The concealed DB 110 is a DB that manages the encrypted patient data collected from the data registration servers 200 and 300 in the encrypted form. The data registration unit 120 registers the encrypted patient data in the anonymized DB 110 in response to a data registration request from the data registration servers 200 and 300 .

[0154] When the key request unit 130 receives a key acquisition request from the terminal device 400, 500, it transmits a key request to the terminal device 400, 500 to the data registration server 200, 300. The search unit 140 searches for patient data registered in the anonymized DB 110 in response to a data search query including an encrypted search keyword from the terminal device 400, 500. At this time, the search unit 140 compares the patient data with the search keyword in ciphertext and extracts records matching the search keyword from the anonymized DB 110. Then, the search unit 140 transmits the extracted records to the terminal device 400, 500 that is the source of the search query.

[0155] The data registration server 200 has a DB 210, a key storage unit 220, a conversion information storage unit 230, a key generation unit 240, a data registration request unit 250, and a key provision unit 260. The DB 210, the key storage unit 220, and the conversion information storage unit 230 are realized by a memory or a storage device included in the data registration server 200. The key generation unit 240, the data registration request unit 250, and the key provision unit 260 are realized by a processor included in the data registration server 200.

[0156] DB 210 is a DB that stores patient data in plain text. The key storage unit 220 stores an encryption key used to encrypt patient data to be registered in the data management server 100. The encryption key is managed so that it cannot be accessed from the data management server 100.

[0157] The conversion information storage unit 230 stores information used to convert keywords shown in the records of real data into dummy values ​​to be registered in dummy records. For example, information such as a list of conversion sets is stored in the conversion information storage unit 230.

[0158] The key generation unit 240 generates an encryption key. The key generation unit 240 stores the generated encryption key in the key storage unit 220. The data registration request unit 250 transmits a data registration request including the ciphertext of the patient data to be registered in the data management server 100 to the data management server 100. For example, the data registration request unit 250 first acquires the patient data to be registered from the DB 210, and processes the patient data to match the format of the anonymized DB 110. At this time, the data registration request unit 250 includes dummy data in the data registration request to be transmitted. The dummy data includes a plurality of dummy records. Dummy values ​​are registered in the dummy records. The data registration request unit 250 converts the values ​​in the true data into dummy values ​​using information stored in the conversion information storage unit 230, and registers them in the dummy records.

[0159] Furthermore, the data registration request unit 250 uses the encryption key to encrypt the value included in the patient data for each item value to be registered in the concealed DB 110. Then, the data registration request unit 250 transmits a data registration request including the ciphertext patient data encrypted for each item value to the data management server 100.

[0160] In response to a key request from the data management server 100, the key providing unit 260 transmits an encryption key to the terminal device 400, 500 of the pharmaceutical company that is permitted to use the registered patient data. The key providing unit 260 transmits the encryption key to the terminal device 400, 500 without passing through the data management server 100. By transmitting the encryption key without passing through the data management server 100, the encryption key is isolated from the data management server 100. As a result, the administrator of the data management server 100 is prevented from decrypting the data in the anonymized DB 110.

[0161] The functions of the data registration server 200 have been described above, but the data registration server 300 also has the same functions as the data registration server 200. The terminal device 400 has a key storage unit 410, a conversion information storage unit 420, a key acquisition unit 430, and a search request unit 440. The key storage unit 410 and the conversion information storage unit 420 are realized by a memory or a storage device included in the terminal device 400. The key acquisition unit 430 and the search request unit 440 are realized by a processor included in the terminal device 400.

[0162] The key storage unit 410 stores an encryption key used to encrypt a search keyword included in a search query. The encryption key is managed so that it cannot be accessed from the data management server 100. The conversion information storage unit 420 stores information used to convert the keywords indicated in the search conditions specified by the searcher into dummy values. The information stored in the conversion information storage unit 420 is the same as the information stored in the conversion information storage unit 230 of the data registration server 200.

[0163] The key acquisition unit 430 acquires an encryption key provided by the data registration servers 200 and 300. For example, the key acquisition unit 430 transmits a key acquisition request to the data management server 100. Then, the key provision request unit 130 of the data management server 100 transmits the key provision request to the data registration servers 200 and 300. In response to the key provision request, for example, the key provision unit 260 of the data registration server 200 transmits the encryption key to the terminal device 400. Then, the key acquisition unit 430 acquires the encryption key transmitted from the terminal device 400. The key acquisition unit 430 stores the acquired encryption key in the key storage unit 410.

[0164] The search request unit 440 acquires a search keyword input by a user (searcher) of patient data. Next, the search request unit 440 encrypts the acquired search keyword using an encryption key, and transmits a search query including the encrypted search keyword to the data management server 100. Upon receiving the search results from the data management server 100, the search request unit 440 displays the contents of the search results (e.g., the number of records of true data matching the search keyword).

[0165] The search request unit 440 can also transmit a search query that searches for dummy data. In this case, the search request unit 440 converts the search keyword into a dummy value using the information stored in the conversion information storage unit 420, and transmits a search query including the encrypted dummy value. In this case, the search request unit 440 extracts a predetermined dummy record from the records shown in the search results, and converts the dummy value in the dummy record to the value that was set in the real data using the information stored in the conversion information storage unit 420. Then, the search request unit 440 displays the contents of the record having the converted value as the search result.

[0166] The functions of the terminal device 400 have been described above, but the terminal device 500 also has the same functions as the terminal device 400. 18, it is possible to manage patient data in the data management server 100 while keeping the patient data and the contents of the search query confidential even from the administrator of the data management server 100, and also to enable pharmaceutical companies 15, 16 to use the patient data. Note that the function of each element shown in FIG. 18 can be realized, for example, by having a computer execute a program module corresponding to that element.

[0167] Next, an overview of the occurrence frequency disturbance process performed by the system shown in FIG. 18 will be described. FIG. 19 is a diagram showing an example of the process of perturbing the occurrence frequency using dummy data. The data registration server 200 transmits the encryption key 51 generated by the key generation unit 240 to the terminal device 400 of the pharmaceutical company (e.g., the pharmaceutical company 15) that permits the use of the data 54 (step S11). For example, the key acquisition unit 430 of the terminal device 400 transmits a key acquisition request to the data management server 100. In the data management server 100, the key provision request unit 130 requests the data registration server 200 to provide the encryption key 51. When the key provision unit 260 of the data registration server 200 receives the request to provide the encryption key 51, it accepts an input indicating permission to provide the encryption key 51 from the administrator. When an input is made to permit the provision of the encryption key 51, the key provision unit 260 acquires the encryption key 51 from the key storage unit 220, and transmits the same encryption key 52 as the acquired encryption key 51 to the terminal device 400 without passing through the data management server 100. In the terminal device 400, the encryption key 52 received by the key acquisition unit 430 is stored in the key storage unit 410. This allows the data registration server 200 and the terminal device 400 to share the encryption key.

[0168] After that, the data registration server 200 adds the dummy data 55 to the data 210a in the DB 210 (step S12). For example, the data registration request unit 250 adds, as the dummy data 55, dummy records whose number is G-1 times the number of records included in the true data 54 acquired from the DB 210. At this time, the data registration request unit 250 uses the item values ​​set in the true data 54 as the item values ​​(dummy values) of the added dummy records, thereby reducing bias in the frequency of occurrence of each item value. Furthermore, the data registration request unit 250 assigns a flag 56 to each record to identify whether it is a record of the true data 54 or a dummy record, and if it is a dummy record, which dummy record group it belongs to.

[0169] The data registration request unit 250 encrypts the item values ​​(including flags) in each record of the true data 54 and the dummy data 55 with the encryption key 51 to generate the registration data 53 (step S13). Then, the data registration request unit 250 transmits a data registration request including the registration data 53 to the data management server 100 (step S14). In the data management server 100, the data registration unit 120 receives the registration data 53 and stores the received registration data 53 in the anonymization DB 110.

[0170] When a person in charge of the pharmaceutical company 15 uses the data 54, the person in charge inputs a search keyword to the terminal device 400. The search request unit 440 then encrypts the input search keyword with the encryption key 52 to generate a search query 57 including the encrypted search keyword (step S15). When the search request unit 440 searches any dummy record group, it converts the input search keyword into a dummy value in the dummy record group that corresponds to the search keyword. The search request unit 440 then generates a search query 57 including an encrypted value of the dummy value obtained by the change. The search request unit 440 then transmits the search query 57 to the data management server 100 (step S16).

[0171] In the data management server 100, the search unit 140 compares the registered data 53 with the search query 57 while keeping the data concealed (step S17). Then, the search unit 140 transmits records found in the search using the search query 57 to the terminal device 400 as search results 58 (step S18). The search results 58 include records of the true data 54 and dummy records of the dummy data 55.

[0172] In the terminal device 400, the search request unit 440 receives the search result 58. When the search target is true data, the search request unit 440 discards the dummy records from the search result 58, for example, based on a flag (step S19). Then, the search request unit 440 displays the true result 59, which includes only the records of the true data 54 in the search result 58, on a monitor or the like.

[0173] When the search target is a dummy record group, the search request unit 440 extracts dummy records that belong to the search target dummy record group from the search result 58 based on, for example, a flag, and discards the other records. The search request unit 440 converts the dummy value in the dummy record to the keyword that was the original keyword from which the dummy value was converted. The search request unit 440 then displays, as true results 59, records that contain the converted value for the original keyword.

[0174] In this way, it is possible to perturb the frequency of each item value by adding the dummy data 55. The terminal device 400 can use the flag to distinguish between the dummy data 55 and the true data 54, and obtain the true result 59.

[0175] Next, the plain text patient data DB 210 held by the data registration servers 200 and 300 will be described. FIG. 20 is a diagram showing an example of a DB of plaintext patient data. In DB 210, true data 210a is stored in plaintext. In the true data 210a, for example, a record for each patient is registered in association with the record's identifier (ID). In each record, a keyword corresponding to the item is set in a column for each item. In the example of FIG. 20, the items are "medical department," "gender," and "age group." The values ​​in each record registered in DB 210 are, for example, plaintext character codes.

[0176] When the data registration request unit 250 registers a patient record in the data management server 100, it encrypts the value (plain text) set in the record using deterministic encryption technology. The encrypted record is then registered in the anonymized DB 110 of the data management server 100. At this time, the data registration request unit 250 probabilistically converts the keyword into a split keyword based on the split keyword selection table 233 (see FIG. 14). Furthermore, the data registration request unit 250 refers to the conversion information storage unit 230 to generate dummy data for disturbance against frequency analysis attacks.

[0177] FIG. 21 is a diagram showing an example of information stored in the conversion information storage unit in the data registration server. The conversion information storage unit 230 stores a keyword list 231, a conversion set list 232, and a divided keyword selection table 233. The keyword list 231 is data showing a list of keywords that can be set for each item. The conversion set list 232 is data showing the contents of the conversion set. The divided keyword selection table 233 is data showing a list of keywords (divided keywords) after division when a keyword is divided and registered in the concealment DB 110. The conversion set list 232 and the divided keyword selection table 233 are data generated by the data registration request unit 250 based on the keyword list 231. The conversion set list 232 and the divided keyword selection table 233 are managed in secret so that they cannot be accessed from outside the data registration server 200.

[0178] Fig. 22 is a diagram showing an example of a keyword list. In the keyword list 231, a list of keywords that can be set for each item in the DB 210 is registered. In the example of Fig. 22, three keywords can be registered in the "medical department" item, two keywords can be registered in the "gender" item, and four keywords can be registered in the "age group" item.

[0179] Fig. 23 is a diagram showing a first generation example of a conversion set. In the keyword list 231a, four keywords that can be set for an age group are shown. Furthermore, G=2, and each of the conversion sets 232g to 232j includes two split keywords. When split keywords are generated based on the split keyword selection table 233 shown in Fig. 14, there are eight split keywords related to the age group.

[0180] The data registration request unit 250 first creates storage areas for the elements of the four conversion sets 232g to 232j. The data registration request unit 250 also sets the identifiers of the conversion sets 232g to 232j to "2-0" to "2-3", respectively. The number on the left side of the identifier is a value corresponding to the "age group", and the number on the right side is a serial number for the conversion sets 232g to 232j of the "age group".

[0181] The data registration request unit 250 selects all the keywords once from the keyword list 231a, for example, in a predetermined order or in a random order. In the example of Fig. 23, it is assumed that the keywords are selected from the left in the keyword list 231a.

[0182] The data registration request unit 250 stores the divided keywords of the selected keyword in the storage area of ​​the conversion set in ascending order of the conversion set number. At this time, the data registration request unit 250 stores divided keywords corresponding to the same keyword in different conversion sets. In addition, the data registration request unit 250 prevents the occurrence of multiple conversion sets in which the combination of the original keywords of the divided keywords in the conversion set is the same.

[0183] For example, the data registration request unit 250 registers the first divided keyword of the first selected keyword in the top conversion set 232g. Next, the data registration request unit 250 registers the second divided keyword of that keyword in the second conversion set 232h. For example, if "elderly" is selected first, "elderly 0" is registered in the conversion set 232g, and "elderly 1" is registered in the conversion set 232h.

[0184] The data registration request unit 250 registers the first divided keyword of the second selected keyword in the same conversion set 232h as the second divided keyword of the keyword selected immediately before. Next, the data registration request unit 250 registers the second divided keyword of that keyword in the next conversion set 232i. For example, if "adult" is selected second, "adult 0" is registered in the conversion set 232h, and "adult 1" is registered in the conversion set 232i.

[0185] The data registration request unit 250 also registers the divided keywords of the third and subsequent selected keywords in the conversion set in the same manner as the second selected keyword. For example, if "youth" is selected third, "youth 0" is registered in the conversion set 232i, and "youth 1" is registered in the conversion set 232j.

[0186] The data registration request unit 250 registers the divided keywords of the last selected keyword in the conversion set with available storage space. For example, if "child" was selected last, "child 0" is registered in the conversion set 232g, and "child 1" is registered in the conversion set 232j.

[0187] In this manner, the conversion sets 232g to 232j are generated. At least one of the elements in each of the conversion sets 232g to 232j is a split keyword, and other split keywords that share the same split keyword and source keyword are included in other conversion sets. Therefore, the conversion set generation condition is satisfied. In addition, there are no multiple conversion sets in which the combination of the source keywords of the split keywords in the conversion sets 232g to 232j is the same.

[0188] Although an example of generating conversion sets 232g to 232j for age groups is shown in Fig. 23, conversion sets 232a to 232f can be generated for medical departments and gender in a similar manner. As a result, a list of conversion sets 232 as shown in Fig. 15 is generated.

[0189] Figure 23 shows the case where G=2, L=2, X j =4,M j Although this is an example where (the number of transformation sets for the j-th item)=4, even if the values ​​of these parameters are different, a similarly appropriate transformation set can be generated.

[0190] FIG. 24 is a diagram showing a second example of generating a transformation set. In FIG. 24, G=3, L=4, X j =4,M j 13 shows an example of generating transformation sets 49a to 49f when .times. ... For example, the data registration request unit 250 registers the first divided keyword of the initially selected keyword in the element with element number "0" in the top conversion set 49a. Next, the data registration request unit 250 registers the second and subsequent divided keywords of that keyword in the elements with the corresponding numbers while incrementing the conversion set number and element number by 1. Note that if the element number after the increment becomes L, the data registration request unit 250 resets the element number to "0."

[0191] For example, if "old man" is selected first, "old man 0" is registered as the element with element number "0" in transformation set 49a. Then, "old man 1" is registered as the element with element number "1" in transformation set 49b, "old man 2" is registered as the element with element number "2" in transformation set 49c, and "old man 3" is registered as the element with element number "0" in transformation set 49d.

[0192] The data registration request unit 250 registers the first divided keyword of the second or subsequent selected keyword in the next conversion set with the conversion set number for the conversion set that stores the first divided keyword of the previously selected keyword. Next, the data registration request unit 250 registers the second or subsequent divided keywords of the keyword in the element with the corresponding number while incrementing the conversion set number and element number by 1. Note that if the element number after the increment becomes L, the data registration request unit 250 resets the element number to "0".

[0193] For example, when "adult" is selected as the second keyword, "adult 0" is registered as the element with element number "0" in conversion set 49b. Next, "adult 1" is registered as the element with element number "1" in conversion set 49c, "adult 2" is registered as the element with element number "2" in conversion set 49d, and "adult 3" is registered as the element with element number "0" in conversion set 49e.

[0194] Next, when "Young Adult" is selected, "Young Adult 0" is registered as the element with element number "0" in conversion set 49c. Next, "Young Adult 1" is registered as the element with element number "1" in conversion set 49d, "Young Adult 2" is registered as the element with element number "2" in conversion set 49e, and "Young Adult 3" is registered as the element with element number "0" in conversion set 49f.

[0195] The data registration request unit 250 registers the divided keywords of the last selected keyword in a conversion set with available storage space. For example, if "child" was selected last, "child 0" is registered as the element with element number "1" in conversion set 49a. Next, "child 1" is registered as the element with element number "2" in conversion set 49b, "child 2" is registered as the element with element number "1" in conversion set 49e, and "child 3" is registered as the element with element number "2" in conversion set 49f.

[0196] The data registration request unit 250 registers dummy elements in the empty elements after registering all the divided keywords. For example, "D0" is registered in the element with element number "1" in the conversion set 49f, and "D1" is registered in the element with element number "2" in the conversion set 49a.

[0197] In this way, G, L, and X j , M j Even if the value of increases, an appropriate conversion set can be generated (see FIG. 28 for details of the conversion set generation procedure). After generating the conversion set list 232, the data registration request unit 250 generates a divided keyword selection table 233 as shown in FIG. 14. The data registration request unit 250 stores the generated conversion set list 232 and divided keyword selection table 233 in the conversion information storage unit 230. Then, the data registration request unit 250 probabilistically converts the keywords in the DB 210 into divided keywords based on the divided keyword selection table 233, and then generates registration data to be registered in the anonymization DB 110.

[0198] 25 is a diagram showing an example of registered data generated using divided keywords. Each keyword shown in the true data stored in DB 210 is probabilistically converted into a divided keyword with the selection probability shown in divided keyword selection table 233, and divided data 211 is generated. Then, registered data 60 is generated based on divided data 211.

[0199] The registered data 60 includes a true data record group 60a, which is a collection of records of the divided data 211, and a dummy record group 60b obtained by converting each division keyword of the records of the divided data 211. The true data record group 60a has a group number of "0", and the dummy record group 60b has a group number of "1".

[0200] A random ID is assigned to each record. A flag is assigned to each record in the registered data 60. The keywords (including the flag value) included in the registered data 60 are encrypted. The flag value is a combination of the ID in the divided data 211 of the original record and the group number of the group to which it belongs.

[0201] The data registration request unit 250 encrypts each item value of the registration data 60, sorts the records of the registration data 60 by ID, and then registers the data in the anonymity DB 110 of the data management server 100.

[0202] 26 is a diagram showing an example of the anonymization DB. The records registered in the anonymization DB 110 are sorted by ID, and records of real data and dummy records are registered together.

[0203] Next, the data registration process will be described in detail. 27 is a flowchart illustrating an example of a procedure for data registration processing. The processing shown in FIG. 27 will be described below in order of step numbers.

[0204] [Step S101] The data registration request unit 250 accepts inputs for setting the number of groups G and the number of keyword divisions L. Both G and L are integers equal to or greater than 2. The larger the values ​​of G and L, the higher the security, but the more dummy records to be registered. Therefore, the values ​​of G and L are determined by the administrator of the data registration server 200, taking into consideration the degree of security against frequency analysis attacks required for the anonymized DB 110 and the number of dummy records allowed in the anonymized DB 110.

[0205] [Step S102] The data registration request unit 250 determines the number of conversion sets for each item. For example, the number of conversion sets M j is expressed by the following equation (3) using a ceiling function.

[0206]

number

[0207] Number of types of keywords for the jth item X j multiplied by the number of keyword divisions L (L × X j ) is the number of split keywords for that item. The larger of the ceiling function (the smallest integer equal to or greater than the division result) of the number of split keywords divided by the number of groups G or "3" is the number of conversion sets.

[0208] By making the number of conversion sets 3 or more, three conversion sets are generated even for items such as gender, which has only two keywords, when G = 2. This makes it possible to prevent the combination of source keywords for each split keyword from being the same in different conversion sets, even for gender.

[0209] [Step S103] The data registration request unit 250 generates a conversion set for each of all items, the number of which is the number of conversion sets determined in step S102. If the number of split keywords is less than the number of storage areas for the conversion set, the data registration request unit 250 registers dummy elements as elements of the conversion set. Each generated conversion set includes at least one split keyword, and other split keywords that share the split keyword with the source keyword are included in other conversion sets. As a result, conversion sets 232a to 232j are generated as shown in the conversion set list 232 in FIG. 15. The details of the conversion set generation procedure will be described later (see FIG. 28).

[0210] [Step S104] The data registration request unit 250 generates the divided keyword selection table 233. For example, the data registration request unit 250 generates L-1 random numbers between "0" and "1" for each keyword shown in the keyword list 231. Then, the data registration request unit 250 sets the generated random numbers as boundary values, and sets the size of each of the multiple numerical ranges obtained by dividing the numerical range between "0" and "1" by the boundary values ​​as the selection probability of each of the divided keywords.

[0211] For example, when L=2, the data registration request unit 250 generates one random number for one keyword. For example, in the divided keyword selection table 233 shown in FIG. 14, the random number "0.72" is generated for "pediatrics". Therefore, the data registration request unit 250 sets the size of the numerical range from "0" to the random number, "0.72", as the selection probability of the first divided keyword "pediatrics 0". The data registration request unit 250 also sets the size of the numerical range from the random number to "1", "0.28", as the selection probability of the second divided keyword "pediatrics 1".

[0212] Since a random number is generated for each keyword, the selection probabilities of all divided keywords are not uniform. The data registration request unit 250 associates the selection probabilities with the divided keywords and sets them in the divided keyword selection table 233. This generates the divided keyword selection table 233 as shown in FIG.

[0213] [Step S105] The data entry request unit 250 reads the plaintext data from the DB 210. [Step S106] The data registration request unit 250 probabilistically converts the keywords registered in the records of the read plain data into split keywords with the selection probability shown in the split keyword selection table 233. For example, the data registration request unit 250 selects the keywords included in the plain data one by one. Next, the data registration request unit 250 assigns a numerical range from "0" to "1" corresponding to the selection probability of the split keyword of the selected keyword to the split keyword. For example, in the case of the split keyword selection table 233 shown in FIG. 14, when "pediatrics" is selected, the data registration request unit 250 assigns "pediatrics 0" to the numerical range from "0" to "0.72" and assigns "pediatrics 1" to the numerical range from "0.28" to "1". Then, the data registration request unit 250 generates a random number within the range from "0" to "1" and converts the selected keyword into a split keyword assigned to a numerical range including the generated random number.

[0214] [Step S107] The data entry request unit 250 generates dummy data including dummy record groups, the number of which is G-1. The dummy data generation process will be described in detail later (see FIG. 29).

[0215] [Step S108] The data entry request unit 250 randomly assigns an ID to each of the true data and dummy data records. [Step S109] The data entry request unit 250 assigns a flag to each record. For example, the data entry request unit 250 generates, for each record, a flag value that is a combination of the ID in DB 210 of the record that was converted from that record and the group number of the group to which that record belongs. By using the combination of the ID and group number of the original record as the flag value, a unique flag value is generated for each record.

[0216] [Step S110] The data entry request unit 250 sorts the records by ID. [Step S111] The data registration request unit 250 encrypts the sorted record group and registers it in the anonymization DB 110. For example, the data registration request unit 250 encrypts each item value in the record, and transmits the record group having the encrypted values ​​to the data management server 100 as registration data. In the data management server 100, the data registration unit 120 receives the registration data and stores the received registration data in the anonymization DB 110.

[0217] Next, the process of generating a transformation set will be described in detail. 28 is a flowchart illustrating an example of a procedure for generating a transformed set. The process shown in FIG. 28 will be described below in order of step number.

[0218] <Step S121> The data entry request unit 250 selects one of the items for which the generation process of a conversion set has not been performed as the item to be processed. [Step S122] The data entry request unit 250 selects one keyword from the keyword list 231 that is of the item to be processed and that has not been set in the conversion set.

[0219] [Step S123] The data registration request unit 250 sets the divided keyword number l indicating the divided keyword to be set to the initial value "0" (l=0). <Step S124> The data entry request unit 250 sets the element number of the element with the smallest element number among the elements in the conversion set for which a value has not been set, as the element number g of the setting destination.

[0220] <Step S125> The data registration request unit 250 sets the transformation set number of the element with the smallest transformation set number among the elements of element number g for which a value has not been set, to the transformation set number m of the setting destination.

[0221] [Step S126] The data registration request unit 250 m,g Set the l-th split keyword for the element. [Step S127] The data registration request unit 250 judges whether the keyword number l has reached L-1 (l=L-1?). If it has not reached L-1, the data registration request unit 250 proceeds to step S128. If it has reached L-1, the data registration request unit 250 proceeds to step S130.

[0222] [Step S128] The data registration request unit 250 updates the element number g of the setting destination and the conversion set number m of the setting destination. For example, the data registration request unit 250 updates the element number of the setting destination to "g = mod (g + 1, G)". The data registration request unit 250 also updates the conversion set number m of the setting destination to "m = mod (m + 1, M)". Furthermore, the data registration request unit 250 adds 1 to the divided keyword number l (l = l + 1).

[0223] [Step S129] The data registration request unit 250 m,g The data registration request unit 250 determines whether a value has not been set in the element. If the value has not been set, the data registration request unit 250 advances the process to step S126. If the value has been set, the data registration request unit 250 advances the process to step S124.

[0224] [Step S130] The data registration request unit 250 determines whether any unset keywords remain among the keywords of the processing target item. If there are any unset keywords, the data registration request unit 250 proceeds to step S122. If there are no unset keywords, the data registration request unit 250 proceeds to step S131.

[0225] After the data registration request unit 250 has completed setting the split keywords corresponding to all the keywords of the selected item as elements of the conversion set, if there are any areas in the conversion set corresponding to that item where no values ​​have been set, the data registration request unit 250 sets a dummy element in the relevant area.

[0226] [Step S131] The data registration request unit 250 determines whether there are any unprocessed items. If the process of generating transformed sets for all items is completed, the data registration request unit 250 ends the transformed set generation process. If there are any unprocessed items, the data registration request unit 250 advances the process to step S121.

[0227] By generating a transformation set according to this procedure, it is possible to generate an appropriate transformation set. Next, the dummy data generation process will be described in detail. 29 is a flowchart illustrating an example of a procedure for a dummy data generation process. The process shown in FIG. 29 will be described below in order of step numbers.

[0228] [Step S141] The data registration request unit 250 acquires the number of groups G calculated in step S102. [Step S142] The data entry request unit 250 makes G-1 copies of the true data and generates G-1 dummy records.

[0229] [Step S143] The data registration request unit 250 executes the processes of steps S144 to S146 for each of all items of the true data. [Step S144] The data entry request unit 250 executes the process of step S145 for each of the dummy records.

[0230] [Step S145] The data registration request unit 250 converts the field value of the dummy record. For example, the data registration request unit 250 selects a conversion set that includes the field value of the dummy record to be processed (field value to be converted) from among the conversion sets corresponding to the field to be processed. Next, the data registration request unit 250 acquires the group number of the dummy record group to which the dummy record to be processed belongs. The data registration request unit 250 acquires elements from the selected conversion set that are cyclically to the right of the element corresponding to the field value to be converted by the number of group numbers. Then, the data registration request unit 250 converts the field value to be converted in the dummy record to be converted to the value of the acquired element (dummy value).

[0231] [Step S146] If the process of step S145 has been completed for all the dummy records, the data entry request section 250 advances the process to step S147. [Step S147] When the processes of steps S144 to S146 have been completed for all items, the data registration request unit 250 ends the dummy data generation process.

[0232] In this way, dummy data is generated by replacing the item value of the true data with another element in the conversion set. Then, the data registration request unit 250 encrypts the registration data including the generated dummy data and the flag value and registers it in the anonymity DB 110.

[0233] A searcher who wishes to search for data in the anonymized DB 110 inputs a search keyword into the terminal device 400 via a search condition input screen of the terminal device 400, for example. 30 is a diagram showing an example of a search condition input screen. In the search condition input screen 61, for example, the names of the items in the DB 210 are set as search variables. In addition, a designated value input area 62 is provided in which a designated value of the search variable is input as a search keyword in association with the search variable. When a searcher inputs a designated value of an item shown as a search variable in the designated value input area 62, the terminal device 400 performs a search using the input designated value as a search keyword.

[0234] In order to perform a concealed search, the terminal device 400 performs processes such as converting a search keyword into divided keywords using information stored in the conversion information storage unit 420. 31 is a diagram showing an example of information stored in a conversion information storage unit in a terminal device. A keyword list 421, a conversion set list 422, and a divided keyword list 423 are stored in the conversion information storage unit 420. Among these, the keyword list 421 and the conversion set list 422 are data having the same contents as the keyword list 231 and the conversion set list 232 held by the data registration server 200, respectively.

[0235] The divided keyword list 423 is data indicating the correspondence between each keyword that can be registered in the DB 210 and the divided keyword. The contents of the divided keyword list 423 are the same as those of the divided keyword selection table 233 held by the data registration server 200, from which information on the selection probability has been deleted. The terminal device 400 converts the search keyword into a divided keyword based on the divided keyword list 423.

[0236] FIG. 32 is a diagram showing an example of conversion to split keywords. The terminal device 400 splits the plain text search query 63 indicating the input search condition. For example, the terminal device 400 accepts an input of "age group=elderly" (the left side indicates the item name, and the right side indicates the keyword (item value)) from the searcher as a search condition. The terminal device 400 acquires split keywords associated with the keyword "elderly" from the split keyword selection table 233. In the example of FIG. 32, "elderly 0" and "elderly 1" are acquired as split keywords. The terminal device 400 splits the search keyword "elderly" into split keywords "elderly 0" and "elderly 1" and generates a split query 64 indicating the logical sum of them.

[0237] The terminal device 400 generates a permutation query from the divided query 64 based on the list of transformation sets 422 . 33 is a diagram showing an example of generation of a perturbation query. The content of the transformation set list 422 possessed by the terminal device 400 is the same as the transformation set list 232, and transformation sets 422a to 422j corresponding to the items of the DB 210 are included.

[0238] The terminal device 400 randomly determines the group of search targets for each of the divided keywords "elderly 0" and "elderly 1" included in the divided query 64. For example, it is assumed that the group of search targets for "elderly 0" is determined to be "1," and the group of search targets for "elderly 1" is determined to be "0."

[0239] The terminal device 400 refers to the conversion set list 422, and converts the divided keywords in the divided query 64 based on the determined group to generate the decoded query 65. For example, "elderly 0" is converted to "child 0", an element of group "1", according to the conversion set 422g. Also, "elderly 1" is not converted because the group to be searched is "0" (a record group of true data).

[0240] Then, the terminal device 400 encrypts the keyword in the disturbed query 65. As a result, a concealed search query 66 including the keyword in the ciphertext is generated. The terminal device 400 transmits a search request including the concealed search query 66 to the data management server 100.

[0241] FIG. 34 is a diagram showing an example of a search process. When the data management server 100 receives the anonymized search query 66, it searches the anonymized DB 110 for records that satisfy the conditions indicated in the anonymized search query 66. For example, records that satisfy the condition of "H (age group = children 0)" are records with ID "9" and ID "10". Records that satisfy the condition of "H (age group = elderly 1)" are records with ID "3" and ID "8". Since the anonymized search query 66 is a logical sum of "H (age group = children 0)" and "H (age group = elderly 1)", records that satisfy either of these conditions are included in the anonymized search result 67. The data management server 100 transmits the anonymized search result 67 to the terminal device 400.

[0242] When the terminal device 400 receives the anonymized search result 67, it decrypts the item values ​​in the anonymized search result 67. By decrypting the data, the terminal device 400 recognizes that the third and fourth records in the anonymized search result 67 satisfy "age group=children 0" and the first and second records satisfy "age group=elderly 1".

[0243] The terminal device 400 determines the group number of the group to which each record belongs based on the flag of each record obtained by decryption. The terminal device 400 then determines whether the group to which each record belongs is a search group or not. For example, the search group for "age group = children 0" is "1", so among the records that satisfy "age group = children 0", only records with group number "1" are records to be searched. Also, the search group for "age group = elderly 1" is "0", so among the records that satisfy "age group = elderly 1", only records with group number "0" are records to be searched.

[0244] The terminal device 400 removes the records that do not belong to the search group from among the records included in the concealed search result 67, and restores the remaining records. Note that the restoration process is not required for the records that belonged to the record group (group number "0") of the true data. The terminal device 400 performs a conversion on the field values ​​of the records that belonged to the dummy record group (group number "1"), in the reverse order to the conversion performed when the perturbed query 65 was generated, based on the conversion set list 422 (see FIG. 33) that has the same content as the conversion set list 232 (see FIG. 15) held by the data registration server 200. As a result, in the dummy records that belong to group number "1", "pediatrics 1" is converted to "gynecology 0", "male 1" is converted to "female 0", and "child 0" is converted to "elderly 0".

[0245] The terminal device 400 converts the divided keywords set as item values ​​in each record into the original keywords and removes the flags to generate a search result 68. In the example of Fig. 34, the divided keywords can be converted into the original keywords by deleting the last digits.

[0246] 35 is a flowchart illustrating an example of a procedure for search processing. The processing shown in FIG. 35 will be described below in order of step numbers. [Step S201] The search request unit 440 acquires a search keyword input by a user as a search condition and an item corresponding to the search keyword as a plain text search query.

[0247] [Step S202] The search request unit 440 generates a transformed set list 422 and a divided keyword list 423. For example, the search request unit 440 performs a process similar to the transformed set generation process for each item in the data registration request unit 250 to generate the transformed set list 422. The transformed set list 442 generated by the search request unit 440 is the same as the transformed set list 232 generated by the data registration request unit 250.

[0248] When the data registration request unit 250 uses random numbers to determine the selection order of the keywords in step S122 (see FIG. 28), the search request unit 440 acquires the random number seed used by the data registration request unit 250 to generate the random numbers from the data registration server 200. Based on the acquired random number seed, the search request unit 440 generates the same random numbers as those used by the data registration request unit 250 for the conversion set, and determines the selection order of the keywords. As a result, it is possible to generate a conversion set list 422 having the same content as the conversion set list 232 held by the data registration server 200. The search request unit 440 may acquire the conversion set list 232 from the data registration server 200 and store it in the conversion information storage unit 420 as the conversion set list 422 of the terminal device 400.

[0249] The divided keyword list 423 generated by the search request unit 440 is obtained by removing the selection probability information from the divided keyword selection table 233 in the data registration server 200. For example, the search request unit 440 generates divided keywords using the same algorithm as the data registration server 200. For example, the search request unit 440 generates divided keywords by adding an ascending number starting from 0 that identifies the divided keyword after the keyword shown in the keyword list 421.

[0250] [Step S203] The search request unit 440 divides the acquired plaintext search query. For example, the search request unit 440 divides the search keyword included in the plaintext search query into split keywords. Then, the search request unit 440 generates split queries for each split keyword obtained by the division. When the split keyword list 423 as shown in FIG. 32 is generated, the search keyword "old man" is divided into "old man 0" and "old man 1". Then, a split query including the search keyword "old man 0" and a split query including the search keyword "old man 1" are generated. The logical sum of the search results of the split queries generated by the division is the search result of the acquired plaintext search query.

[0251] The acquired plain text search query may include multiple search keywords. In the case of a logical sum search of multiple search keywords, the search request unit 440 breaks down each search keyword into split keywords and generates split queries for each split keyword. The logical sum of the search results from the multiple generated split queries is the search result of the acquired plain text search query.

[0252] Furthermore, in the case of a logical AND search of multiple search keywords, the search request unit 440 generates all combinations between split keywords with different items. In the case of a logical AND of search keywords for three or more items, the search request unit 440 generates all combinations of split keywords that can be generated by selecting one split keyword from each item. The search request unit 440 then generates a plaintext search query that is the logical AND of each combination of the generated split keywords. In this case as well, the logical OR of the search results from the multiple generated split queries is the search result of the acquired plaintext search query.

[0253] For example, assume that the acquired plain text search query is "A∧B", the search keyword "A" is split into "A0" and "A1", and the search keyword "B" is split into "B0" and "B1". In this case, the search request unit 440 generates "A0∧B0", "A0∧B1", "A1∧B0", and "A1∧B1" as split queries.

[0254] <Step S204> The search request unit 440 selects one of the generated divided queries that has not yet been selected. [Step S205] The search request unit 440 probabilistically selects one group from all groups including the record groups of real data and the dummy record groups. The search request unit 440 performs a search on the selected record group. Note that all dummy record groups in the anonymized DB 110 have the same frequency distribution as the record groups of real data, although their values ​​are different. Therefore, even if the dummy record groups are the search targets, the correct search results can be obtained by inversely converting the dummy values ​​in the dummy records obtained as search results according to the conversion set.

[0255] In this way, if the divided queries are transformed (perturbed) according to the transformation set, the same results as when the plaintext data group is searched can be obtained regardless of which group is searched. Therefore, the number of search queries does not increase even when the search query is perturbed. In addition, the search request unit 440 randomly determines the group to be searched, which prevents the attacker 33 from identifying the group number of each record in the anonymized DB due to the bias of the group to be searched.

[0256] [Step S206] The search request unit 440 determines whether or not a dummy record group has been selected. If the search request unit 440 has selected a dummy record group, the process proceeds to step S207. If the search request unit 440 has selected a record group of real data, the process proceeds to step S212.

[0257] [Step S207] The search request unit 440 perturbs the generated split query based on the conversion set. For example, when a search target item and a split keyword are specified in the split query, the search request unit 440 first identifies a conversion set that includes an element corresponding to the specified split keyword from one or more conversion sets corresponding to the search target item. Next, the search request unit 440 obtains the group number of the selected dummy record group. The search request unit 440 cyclically obtains elements from the conversion set that are cyclically to the right of the element in the conversion set that corresponds to the search target split keyword by the number of group numbers. Then, the search request unit 440 converts the conversion target split keyword in the split query to the value of the obtained element (dummy value).

[0258] [Step S208] The search request unit 440 encrypts the split queries converted in step S207 to generate an anonymized search query. The search request unit 440 transmits the generated anonymized search query to the data management server 100.

[0259] [Step S209] The search request unit 440 obtains the anonymized search results (anonymized search results) from the data management server 100. The search request unit 440 extracts only the dummy records that belong to the dummy record group selected in step S206 from the anonymized search results. At this time, the search request unit 440 can identify the dummy records that belong to the selected dummy record group based on the flag value of each record.

[0260] [Step S210] The search request unit 440 decrypts the item values ​​(dummy values) in the extracted dummy records included in the anonymized search results, using the encryption key obtained in advance from the data registration server 200.

[0261] [Step S211] The search request unit 440 inversely converts the decrypted dummy values ​​of the dummy records belonging to the dummy record group selected in step S206 based on the conversion set, and restores the search result in which the true values ​​of the plaintext are set.

[0262] FIG. 36 is a diagram showing an example of the inverse conversion of a dummy value. For example, the search request unit 440 identifies a conversion set including an element corresponding to the dummy value from among one or more conversion sets corresponding to the item to which the dummy value belongs. In the example of FIG. 36, it is assumed that the conversion set 69 is identified. Next, the search request unit 440 acquires the group number of the dummy record group selected in step S206. The search request unit 440 acquires elements from the conversion set 69 that are cyclically to the left of the elements in the conversion set 69 that correspond to the dummy value by the number of group numbers. Then, the search request unit 440 converts the decrypted dummy value into the value of the acquired element (the division keyword of the true data). For example, if the dummy value of a dummy record that belongs to the dummy record group with group number "2" is "child 1", the dummy value is inversely converted to "adult 1", the second element to the left of "child 1" in the conversion set 69.

[0263] The inverse transformation relationship shown in FIG. 36 is a bijective relationship that is the inverse mapping of the mapping used by the data registration server 200 to transform the item values ​​when the data was registered. By performing such an inverse transformation on all dummy values ​​in the dummy records belonging to the selected dummy record group, split keywords corresponding to the dummy values ​​are obtained. The search request unit 440 converts the split keywords into the original keywords (true values) based on the split keyword list. This generates true search results. After that, the search request unit 440 proceeds to step S215.

[0264] Returning now to the explanation of Figure 35. [Step S212] The search request unit 440 encrypts the search query in which flag values ​​corresponding to the records of the true data are added to the search conditions to generate an anonymized search query, and transmits the anonymized search query to the data management server 100.

[0265] [Step S213] The search request unit 440 obtains the anonymized search results from the data management server 100 using the anonymized search query. [Step S214] The search request unit 440 decrypts item values ​​in the records of the record group of true data included in the anonymized search results. Note that the search request unit 440 identifies the records of the selected group (records of true data) in the same way as in step S210. The search request unit 440 converts the split keywords in the records of the true data back to the original keywords based on the split keyword list, and obtains search results in which the true values ​​in plain text are set.

[0266] [Step S215] The search request unit 440 outputs the plaintext search results. [Step S216] The search request unit 440 determines whether all the divided queries have been selected. If there are any unselected divided queries, the search request unit 440 proceeds to step S204. If all the divided queries have been selected and the search using the corresponding concealed search queries has ended, the search request unit 440 ends the search process.

[0267] The search results are displayed, for example, on a search result display screen. 37 is a diagram showing an example of a search result display screen. The search result display screen 70 displays, for example, search conditions related to patients and the number of patients who meet the search conditions. The search result display screen 70 also displays the plain text data of the records hit by the search.

[0268] This type of search equalizes the frequency of occurrence of item values ​​for each set of G split keywords. As a result, bias in the frequency of occurrence of each item value is suppressed, improving security against frequency analysis attacks. Moreover, since the frequency of occurrence of split keywords is determined by the secret selection probability, it is difficult to narrow down candidates for a keyword based on the frequency of occurrence of that keyword after frequency perturbation.

[0269] Hereinafter, the difficulty of a frequency analysis attack on the concealment DB 110 will be described with reference to FIG. 38 and FIG. Fig. 38 is a diagram showing an example of frequency perturbation by split keywords. For example, for the age group item in DB 210, the occurrence frequency of "elderly" is "98", the occurrence frequency of "adult" is "35", the occurrence frequency of "young adult" is "91", and the occurrence frequency of "child" is "63". Each keyword is split into two, and the item values ​​of the dummy records in group "1" are converted to dummy values ​​by the conversion sets 232g to 232j shown in Fig. 15, thereby realizing occurrence frequency perturbation.

[0270] The data after frequency shuffling is registered in the anonymized DB 110, and the occurrence frequency of the divided keywords is equalized for each conversion set. In the figure, the numbers in the solid-lined rectangles indicate the occurrence frequency in group "0" (the record group of real data), and the numbers in the dashed-lined rectangles indicate the occurrence frequency in group "1" (the dummy record group).

[0271] In the example of FIG. 38, the occurrence frequency of both "H(Elderly 0)" and "H(Child 0)" is "65". The occurrence frequency of both "H(Elderly 1)" and "H(Adult 0)" is "81". The occurrence frequency of both "H(Adult 1)" and "H(Youth 0)" is "80". The occurrence frequency of both "H(Youth 1)" and "H(Child 1)" is "61".

[0272] 39 is a diagram showing an example of a frequency analysis attack. For example, it is assumed that an attacker 33 can spy on the search status of the anonymized DB 110 and can ascertain that the post-perturbation frequencies are four patterns, “65, 81, 80, 61”, based on the number of records hit by the search.

[0273] When the attacker 33 knows the occurrence frequency of each keyword in DB 210, the attacker 33 cannot obtain the post-perturbation frequency by combining these occurrence frequencies. Therefore, the attacker 33 can calculate the post-perturbation frequency for each combination by exhaustively testing combinations of the division frequency and the elements of the conversion set.

[0274] For example, for "elderly," there are 99 possible ratios of split frequencies for "elderly 0" and "elderly 1," including "0:98," "1:97," "2:96," ... and "98:0." Similarly, there are 36 possible ratios of split frequencies for "adults," 92 possible ratios of split frequencies for "young people," and 64 possible ratios of split frequencies for "children."

[0275] There are also many possible combinations of split keywords that are elements of the same conversion set. For example, the split keywords that belong to the same conversion set as "Older Person 0" can be "Adult 0" or "Youth 0" in addition to "Child 0". Even if the algorithm for generating the conversion set is known, it is possible to keep secret what combinations of conversion sets will be generated if the keywords are randomly rearranged before generating the conversion set.

[0276] The attacker 33 will consider all of these possible combinations and search for search target keywords with post-permutation frequencies of "65, 81, 80, 61". However, there are many patterns of split frequencies and conversion sets that result in post-permutation frequencies of "65, 81, 80, 61". For example, even if the conversion sets 232g to 232j are as shown in Figure 15, there are 35 combinations of split frequencies that result in post-permutation frequencies of the split keywords in each of the conversion sets 232g to 232j being "65, 81, 80, 61", as shown in Figure 39.

[0277] There is also a case where the post-shutter frequency of the split keywords of each of the conversion sets 232g to 232j is "61, 80, 81, 65" (occurrence frequency example 72). This case of occurrence frequency example 72 cannot be distinguished from the case where the post-shutter frequency of the split keywords of each of the conversion sets 232g to 232j is "65, 81, 80, 61" (occurrence frequency example 71). Even when the post-shutter frequency of the split keywords of each of the conversion sets 232g to 232j is "61, 80, 81, 65" (occurrence frequency example 72), there are many combinations of split frequencies that result in such a post-shutter frequency.

[0278] Therefore, even if an attacker 33 tries to narrow down the search target keywords from the number of hit records when a search is executed, any keyword is possible, making it difficult to narrow down. For example, even if the number of hit records in the search is "81", considering that occurrence frequency example 71 or occurrence frequency example 72 is possible, any keyword is possible as the search target keyword. In this way, frequency analysis attacks are difficult.

[0279] Furthermore, even if the terminal device 400 obtains a dummy record as a search result, it is possible to obtain item values ​​of real data that match the input search conditions based on the dummy values ​​of the dummy record. Therefore, even if the attacker 33 obtains the search results sent from the data management server 100, the attacker 33 cannot determine whether the item values ​​included in the search results are item values ​​of real data or dummy values. As a result, the confidentiality of the real data is improved.

[0280] The conversion set list 232 is confidential information, and only the data registration server 200 that registers data in the anonymized DB 110 and the terminal device 400 that is permitted to search the anonymized DB 110 have the conversion set list 232. When records are added or deleted one by one, the added or deleted ciphertext and plaintext can be associated with each other. Therefore, the data registration server 200 does not add or delete records one by one because the conversion set is specified for each row. In other words, the data registration server 200 adds or deletes records to or from the DB 210 and the anonymized DB 110 in bulk, which is equal to or larger than a predetermined number of records.

[0281] Third embodiment Next, a third embodiment will be described. In the third embodiment, frequency disturbance is performed without using dummy records.

[0282] In the second embodiment described above, since dummy data having multiple dummy records is added, the number of records in the anonymization DB 110 is an integer multiple of the number of records in the original data. In the third embodiment, instead of generating dummy records, the data registration server 200 performs frequency perturbation by grouping the split keywords into conversion sets of a predetermined number each, and converting the split keywords belonging to the same conversion set into a common value (shared keyword). In other words, by converting multiple values ​​into a common value, the frequency of occurrence of each value in the anonymization DB becomes a number different from the frequency of occurrence of each value in the real data. At this time, the data registration server 200 sets information indicating the split keyword from which the shared keyword was converted as a flag in each record.

[0283] 40 is a diagram showing an example of conversion to common keywords. In the third embodiment, the data registration server 200 generates a shared set list 234 instead of the converted set list in the second embodiment.

[0284] The shared set list 234 includes one or more shared sets 234a to 234j for each item. The conditions for generating the shared sets 234a to 234j are that at least one element is a split keyword, and another split keyword that has a common source keyword with the split keyword is included in another conversion set. In other words, each of the shared sets 234a to 234j includes n-1 or less split keywords out of n split keywords corresponding to one keyword.

[0285] In the example of Fig. 40, the shared set list 234 includes three shared sets 234a to 234c for medical departments, three shared sets 234d to 234df for gender, and four shared sets 234g to 234j for age groups. The shared sets 234d and 234f include one element, and the other shared sets 234a to 234c, 234e, and 234g to 234j include two elements each. All elements included in the shared sets 234a to 234j are split keywords. If there is a keyword that is not split, that keyword also becomes an element of the shared sets 234a to 234j.

[0286] As in the second embodiment, the data registration server 200 refers to the divided keyword selection table 233 (see FIG. 14) and probabilistically converts a keyword stored in the plain text DB 210 into one of a plurality of divided keywords corresponding to the keyword. Then, the data registration server 200 generates the divided data 211.

[0287] Furthermore, the data registration server 200 converts the division keywords in the divided data 211 into shared keywords based on the shared set list 234. For example, the data registration server 200 converts the division keywords corresponding to the elements in one shared set into the same shared keyword. In the example of Fig. 40, a character string listing the elements included in the shared sets 234a to 234j is the shared keyword.

[0288] In addition, the numbers to the left of ":" in the shared sets 234a to 234j in Fig. 40 are element numbers, and the character strings to the right of ":" are division keywords set as elements. For example, the shared set 234a includes "pediatrics 0" and "internal medicine 0" as elements. Therefore, the division keywords "pediatrics 0" and "internal medicine 0" in the divided data 211 are both converted to the common keyword "pediatrics 0, internal medicine 0." The shared set 234d only has an element "male 0." Therefore, the shared keyword corresponding to the shared set 234d is "male 0," the same as the division keyword.

[0289] A record corresponding to each record in the divided data 211 is generated as the registered data 81. Then, the data registration server 200 assigns a flag to each record in the registered data 81. The registered data 81 is an example of the disturbed record set 6 shown in the first embodiment.

[0290] The flag includes the element number of the element corresponding to the original split keyword and the ID of the original record. For example, the record with ID "0" in the split data 211 includes the medical department "Internal Medicine 0", the gender "Male 1", and the age group "Elderly 1". "Internal Medicine 0" is converted to "Pediatrics 0, Internal Medicine 0". The element number of "Internal Medicine 0" in the shared set 234a is "1". "Male 1" is converted to "Male 1, Female 0". The element number of "Male 1" in the shared set 234d is "0". "Elderly 1" is converted to "Elderly 1, Adult 0". The element number of "Elderly 1" is "0". Then, the converted record is assigned a flag "0(1,0,0)" including the record ID "0", the element number "1" of "Internal Medicine 0", the element number "0" of "Male 1", and the element number "0" of "Elderly 1".

[0291] The data registration server 200 encrypts the registration data 81 for each item value (including flags) and registers the data in the anonymized DB 110. At this time, the data registration server 200 may assign a random ID to each record of the registration data 81 and sort the data by ID.

[0292] 32, and has a sharing set list having the same content as the sharing set list 234 of the data registration server 200. When searching the anonymized DB 110, the terminal device 400 converts the search keywords into the corresponding divided keywords, and then converts the divided keywords into shared keywords. The terminal device 400 then transmits an anonymized search query including the shared keywords to the data management server 100.

[0293] The shared set list 234 is confidential information, and only the data registration server 200 that registers data in the anonymized DB 110 and the terminal device 400 that is permitted to search the anonymized DB 110 have the shared set list 234. When a record is added or deleted one by one, the added or deleted ciphertext and plaintext can be associated with each other. Therefore, the data registration server 200 does not add or delete a record one by one because the shared set is identified on a row-by-row basis. In other words, the data registration server 200 adds or deletes a predetermined number of records to or from the DB 210 and the anonymized DB 110 in a lump.

[0294] The data management server 100 searches the anonymized DB 110 for records including the relevant shared keyword based on the anonymized search query. The appearance frequency of the shared keyword in the anonymized DB 110 is the sum of the appearance frequencies of the split keywords that were the source of the shared keyword. In addition, the split keywords are generated probabilistically. Therefore, even if an attacker 33 obtains the appearance frequency of the shared keyword, it is difficult for him to infer the original search keyword.

[0295] When the terminal device 400 obtains a record that hits the concealed search query from the data management server 100, the terminal device 400 can convert the common keyword into the original split keyword based on the flag of the record. Then, the terminal device 400 converts the split keyword into the original keyword based on the split keyword list 423. This allows the terminal device 400 to obtain a record that includes the search keyword.

[0296] In addition, because the flag value contains the record ID, the ciphertext when the flag value is encrypted is a unique value for each record. This makes it possible to prevent frequency analysis attacks on the flag value.

[0297] FIG. 40 shows an example in which all keywords that can be registered in the DB 210 are converted into split keywords, but if all shared sets can satisfy the generation condition, some keywords do not need to be split.

[0298] Fig. 41 is a first diagram showing another example of generating a shared set. The shared set list 82 shown in Fig. 41 includes three shared sets 82a to 82c for medical departments, two shared sets 82d to 82e for gender, and three shared sets 82f to 82h for age groups. In the example of Fig. 41, the medical department "internal medicine", the gender keyword "female", and the age group keywords "youth" and "children" are not converted into split keywords. Therefore, these keywords are elements of the shared set as they are. The shared sets 82c and 82e each include one element. Unlike the converted set in the second embodiment, the shared set may include one element.

[0299] Each of the shares 82a to 82h shown in the share set list 82 satisfies the share set generation condition. However, when conversion to a shared keyword is performed using the share set list 82, the difficulty of inferring a plaintext is lowered compared to when the share set list 234 shown in Fig. 40 is used. For example, an attacker 33 can perform the following attack on the concealed DB 110 that has been converted to a shared keyword using the share set list 82.

[0300] For example, assume that the attacker 33 attempts to identify the search target of a search for gender. The attacker 33 obtains the post-permutation frequency for each shared keyword in each of the gender shared sets 82d and 82e. For example, the attacker 33 can obtain the post-permutation frequency of the shared keyword corresponding to the shared set 82d (the sum of the frequency of "male 0" and the frequency of "female") by obtaining the number of records hit when a searcher searches for a record with the gender "female". The attacker 33 subtracts the frequency of "female" in the plain text from the post-permutation frequency of the shared keyword corresponding to the shared set 82d. This results in the frequency of "male 0". The attacker 33 further adds the post-permutation frequency of the shared keyword corresponding to another shared set 82e to the subtraction result. The frequency after the addition is the sum of the frequency of "male 0" and the frequency of "male 1".

[0301] If the attacker 33 can confirm that the addition result is equal to the frequency of "male", then the attacker 33 can determine that when a search is performed that results in the post-perturbation frequency of the shared keyword corresponding to the shared set 82d, the corresponding shared set 82d contains "female". After that, when the searcher performs only a search that results in the post-perturbation frequency of the shared keyword corresponding to the shared set 82d, the attacker 33 can determine that "female" was searched for.

[0302] An attacker 33 can narrow down the search target by repeating such attempts, but the more keywords that can be registered for the same item, the more attempts such attacks will be made, and the lower the risk of the search target being identified.

[0303] In this way, in the case of the shared sets 82a to 82h shown in the shared set list 82, when there is an item with a small number of registrable keywords, such as gender, security against frequency analysis attacks decreases. However, if there are a large number of registrable keywords for each item, the number of combinations of keywords (addition and subtraction of the frequency of the relevant keywords in the attack) used in the attack by the attacker 33 will be enormous. As a result, as shown in the shared set list 82, even if some elements remain as keywords registered in the DB 210 (not converted into divided keywords), security is sufficient.

[0304] In the third embodiment, similarly to the conversion sets in the second embodiment, if there are multiple shared sets in which the combination of original keywords of the included divided keywords is the same, the shared sets are vulnerable to frequency analysis attacks. Therefore, the data registration request unit 250 generates multiple shared sets so that the combinations of original keywords of the included divided keywords are different from each other.

[0305] The elements of each device for realizing the third embodiment are the same as the elements of each device in the second embodiment shown in Fig. 18. However, in the third embodiment, part of the processing contents of each element or part of the information stored therein is different from that in the second embodiment.

[0306] In the third embodiment, the information stored in the conversion information storage unit 230 of the data registration server 200 is different from that in the second embodiment. Fig. 42 is a diagram showing an example of information stored in the conversion information storage unit of the data registration server in the third embodiment. The conversion information storage unit 230 stores a keyword list 231, a shared set list 234, and a divided keyword selection table 233. Compared with the conversion information storage unit 230 of the second embodiment shown in Fig. 21, the conversion set list 232 in the second embodiment is the shared set list 234 in the third embodiment.

[0307] The sharing set list 234 is generated by the data registration request unit 250. The data registration request unit 250 can generate the sharing set, for example, in the same procedure as the conversion set generation procedure in the second embodiment.

[0308] Fig. 43 is a diagram showing an example of generation of a shared set. In the keyword list 231a, four keywords that can be set for an age group are shown. Furthermore, G=2, and each of the shared sets 234g to 234j includes two split keywords. When split keywords are generated based on the split keyword selection table 233 shown in Fig. 14, there will be eight split keywords related to the age group.

[0309] The data registration request unit 250 first creates a storage area for the elements of the four shared sets 234g to 234j. The data registration request unit 250 also sets the identifiers of the shared sets 234g to 234j to "2-0" to "2-3", respectively. The number on the left side of the identifier is a value corresponding to the "age group", and the number on the right side is a serial number for the shared sets 234g to 234j of the "age group".

[0310] The data registration request unit 250 selects all keywords once from the keyword list 231a, for example, in a predetermined order or in a random order. In the example of Fig. 43, it is assumed that keywords are selected from the left in the keyword list 231a.

[0311] The data registration request unit 250 stores the divided keywords of the selected keyword in the storage area of ​​the shared set in ascending order of the number of the shared set. At this time, the data registration request unit 250 stores divided keywords corresponding to the same keyword in different shared sets. In addition, the data registration request unit 250 prevents the occurrence of multiple shared sets in which the combination of the original keywords of the divided keywords in the shared set is the same.

[0312] For example, the data registration request unit 250 registers the first divided keyword of the first selected keyword in the top shared set 234g. Next, the data registration request unit 250 registers the second divided keyword of that keyword in the second shared set 234h. For example, if "elderly" is selected first, "elderly 0" is registered in the shared set 234g, and "elderly 1" is registered in the shared set 234h.

[0313] The data registration request unit 250 registers the first divided keyword of the second selected keyword in the same shared set 234h as the second divided keyword of the keyword selected immediately before. Next, the data registration request unit 250 registers the second divided keyword of that keyword in the next shared set 234i. For example, if "adult" is selected second, "adult 0" is registered in the shared set 234h, and "adult 1" is registered in the shared set 234i.

[0314] The data registration request unit 250 also registers the divided keywords of the third and subsequent selected keywords in the shared set in the same manner as the second selected keyword. For example, if "Youth" is selected third, "Youth 0" is registered in the shared set 234i, and "Youth 1" is registered in the shared set 234j.

[0315] The data registration request unit 250 registers the divided keywords of the last selected keyword in a shared set with available storage space. For example, if "child" was selected last, "child 0" is registered in the shared set 234g, and "child 1" is registered in the shared set 234j.

[0316] In this manner, the shared sets 234g to 234j are generated. At least one of the elements belonging to each of the shared sets 234g to 234j is a split keyword, and other split keywords that share the same split keyword and source keyword are included in other shared sets. Therefore, the shared set generation condition is satisfied. Also, there are no multiple shared sets in which the combination of the split keywords and source keywords in the shared sets 234g to 234j are the same.

[0317] Although an example of generating shared sets 234g to 234j for age groups is shown in Fig. 43, shared sets 234a to 234f can be generated for medical departments and genders in a similar manner. As a result, a shared set list 234 as shown in Fig. 40 is generated.

[0318] Let the number of types of keywords in the jth item be X j , the number of shared sets of the jth item is M' j In this case, the following is shown in Figure 43: G=2, L=2, X j =4,M' j = 4. Even if the values ​​of these parameters are different, a similarly appropriate shared set can be generated.

[0319] The data registration server 200 assigns a random ID to each record of the registration data 81 generated by converting the divided keywords into shared keywords using the shared set list 234, sorts the records by ID, and then stores each record in the anonymization DB 110.

[0320] 44 is a diagram showing an example of an anonymization DB in which shared keywords are stored. The records registered in the anonymization DB 110 are sorted by ID and registered in an order different from that of the original records in the true data.

[0321] Next, the procedure of the data registration process will be described. 45 is a flowchart illustrating an example of a procedure for data registration processing. The processing shown in FIG. 45 will be described below in order of step numbers.

[0322] [Step S301] The data registration request unit 250 accepts inputs for setting the number of groups G and the number of keyword divisions L. Both G and L are integers equal to or greater than 2. The larger the values ​​of G and L, the higher the security, but the more dummy records to be registered. Therefore, the values ​​of G and L are determined by the administrator of the data registration server 200, taking into consideration the degree of security against frequency analysis attacks required for the anonymized DB 110 and the number of dummy records allowed in the anonymized DB 110.

[0323] [Step S302] The data registration request unit 250 determines the number of shared sets for each item. For example, the number of shared sets M' for the j-th item j is expressed by the following equation (4) using a ceiling function.

[0324]

number

[0325] Number of types of keywords for the jth item X j multiplied by the number of keyword divisions L (L × X j ) is the number of split keywords for that item. The larger of the ceiling function (the smallest integer equal to or greater than the division result) of the number of split keywords divided by the number of groups G or "3" is the number of shared sets.

[0326] By making the number of shared sets 3 or more, three shared sets are generated even for items such as gender, which has only two keywords, when G = 2. This makes it possible to prevent the combination of source keywords for each split keyword from being the same in different shared sets, even for gender.

[0327] [Step S303] The data registration request unit 250 generates sharing sets for each of all items, the number of sharing sets determined in step S302. If the number of split keywords is less than the number of storage areas for the sharing sets, the data registration request unit 250 leaves some of the storage areas for the elements of the sharing sets blank. Each sharing set generated includes at least one split keyword, and other split keywords that share the same split keyword with the original keyword are included in other sharing sets. As a result, sharing sets 234a to 234j are generated as shown in the sharing set list 234 in FIG. 40.

[0328] [Step S304] The data registration request unit 250 generates the divided keyword selection table 233. Details of this process are similar to the process of step S104 shown in FIG. [Step S305] The data entry request unit 250 reads the plaintext data from the DB 210.

[0329] [Step S306] The data registration request unit 250 probabilistically converts the keywords registered in the records of the read plain text data into split keywords with the selection probabilities shown in the split keyword selection table 233. Details of this process are similar to the process of step S106 shown in FIG.

[0330] [Step S307] The data entry request unit 250 converts the divided keywords of each record into shared keywords. The process of converting into shared keywords will be described in detail later (see FIG. 46).

[0331] [Step S308] The data registration request unit 250 randomly assigns an ID to each record that includes the shared keyword. [Step S309] The data registration request unit 250 assigns a flag value to each record. For example, the data registration request unit 250 generates, for each record, a flag value that is a combination of the ID of the record in the plaintext DB 210 from which the record was converted and the element number in the shared set of the split keywords from which each item was converted into a shared keyword. By including the ID of the record from which the conversion was made, all flag values ​​can be made unique, and a frequency analysis attack on the flag values ​​can be prevented. In addition, since the flag value includes the element number in the shared set of the split keywords from which the conversion was made, it is possible to return the shared keyword to the original split keywords by referring to the flag value.

[0332] [Step S310] The data entry request unit 250 sorts the records by ID. [Step S311] The data registration request unit 250 encrypts the sorted record group and registers it in the anonymized DB 110. For example, the data registration request unit 250 encrypts each item value in the record, and transmits the record group having the encrypted values ​​to the data management server 100 as registration data. In the data management server 100, the data registration unit 120 receives the registration data and stores the received registration data in the anonymized DB 110.

[0333] Next, the process of converting a divided keyword into a shared keyword will be described in detail. 46 is a flow chart showing the details of the processing procedure for converting into a shared keyword. The processing shown in FIG. 46 will be explained below in the order of step numbers.

[0334] [Step S321] The data registration request unit 250 selects one of the divided keywords included in the divided data 211 (see FIG. 40) whose item values ​​have been converted into divided keywords. [Step S322] The data registration request unit 250 identifies a sharing set of the item to which the selected divided keyword belongs from the sharing set list 234, and searches the identified sharing sets for a sharing set that includes the selected divided keyword.

[0335] [Step S323] The data registration request unit 250 replaces the selected split keyword with a shared keyword corresponding to the shared set including the split keyword. For example, the data registration request unit 250 combines all elements of the shared set to which the selected split keyword belongs into a string and outputs the combined string as the shared keyword. Alternatively, the data registration request unit 250 may set a specific shared keyword for each shared set in advance and convert the split keyword into the shared keyword set to which the selected split keyword belongs.

[0336] [Step S324] The data registration request unit 250 determines whether or not there are any unselected divided keywords in the divided data 211. If there are any unselected divided keywords, the data registration request unit 250 proceeds to step S321. If the data registration request unit 250 has completed replacing all divided keywords with shared keywords, it ends the process of converting to a shared keyword.

[0337] 47 is a diagram showing an example of conversion from a divided keyword to a shared keyword. For example, assume that the divided keyword "old man 1" is selected. "Old man 1" is included in the shared set 234h. The elements of the shared set 234h are "old man 1" and "adult 0". Therefore, the character strings "old man 1" and "adult 0" are combined with a comma between them to produce "old man 1, adult 0", which is output as the shared keyword.

[0338] The division keyword of each record in the divided data 211 (see FIG. 40) is replaced with the common keyword, so that each record becomes a record of the registered data 81 (see FIG. 40).

[0339] FIG. 48 is a diagram showing an example of a record of the registration data. The record 83 in which the division keyword is set has an ID of "0", a medical department of "Internal Medicine 0", a gender of "Male 1", and an age group of "Elderly 1". The division keyword "Internal Medicine 0" is an element of the shared set 234a including "Pediatrics 0" and "Internal Medicine 0", and is therefore converted into the shared keyword "Pediatrics 0, Internal Medicine 0". The division keyword "Male 1" is an element of the shared set 234e including "Male 1" and "Female 0", and is therefore converted into the shared keyword "Male 1, Female 0". The division keyword "Elderly 1" is an element of the shared set 234h including "Elderly 1" and "Adult 0", and is therefore converted into the shared keyword "Elderly 1, Adult 0".

[0340] Record 84 that has a shared keyword is randomly assigned the ID "5". The flag value of record 84 also contains the ID "0" of record 83. The flag value of record 84 also contains the element number of the split keyword in record 83 in the shared set to which the split keyword belongs.

[0341] The record 84 thus generated has its item values ​​and flag values ​​encrypted and is registered in the anonymized DB 110. A search of the anonymized DB 110 is performed using a shared keyword.

[0342] In the third embodiment, the information stored in the conversion information storage unit 420 of the terminal device 400 is different from that in the second embodiment. Fig. 49 is a diagram showing an example of information stored in a conversion information storage unit of a terminal device in the third embodiment. The conversion information storage unit 420 stores a keyword list 421, a shared set list 424, and a divided keyword list 423. Compared with the conversion information storage unit 420 of the second embodiment shown in Fig. 31, the conversion set list 422 in the second embodiment becomes a shared set list 424 in the third embodiment.

[0343] The shares list 424 is generated, for example, by the search request unit 440 in the same procedure as that for generating the shares list 234 by the data registration request unit 250. The search request unit 440 may also obtain the shares list 234 from the data registration server 200 and store it in the conversion information storage unit 420 as its own shares list 424.

[0344] When a search request is input, the search request unit 440 uses the divided keyword list 423 and the shared set list 424 to generate a concealed search query. 50 is a diagram showing an example of a concealed search query. When a search condition is input, the search request unit 440 generates a plaintext search query 91 including the search keyword indicated in the search condition. Next, the search request unit 440 refers to the split keyword list 423, splits the search keyword into a plurality of corresponding split keywords, and generates a split query 92 that performs a logical OR search of the plurality of split keywords. For example, if the search keyword is "elderly", a split query 92 that performs a logical OR search of "elderly 0" and "elderly 1" is generated.

[0345] Furthermore, the search request unit 440 refers to the shared set list 424, and converts the divided keyword into a shared keyword corresponding to the shared set to which the divided keyword belongs, thereby generating a disturbed query 93. For example, a disturbed query 93 is generated that performs a logical sum search between the shared keyword "elderly 0, child 0" of the divided keyword "elderly 0" and the shared keyword "elderly 1, adult 0" of the divided keyword "elderly 1".

[0346] Then, the search request unit 440 generates an anonymized search query 94 by encrypting the shared keyword in the disturbed query 93. The search request unit 440 transmits the anonymized search query 94 to the data management server 100. Then, the data management server 100 performs an anonymized search in response to the anonymized search query 94.

[0347] 51 is a diagram showing an example of an anonymized search using a shared keyword. In the data management server 100 that has acquired the anonymized search query 94, the search unit 140 searches the anonymized DB 110 for a record including an encrypted text of the shared keyword indicated in the anonymized search query 94. The search unit 140 then transmits an anonymized search result 95 including the corresponding record to the terminal device 400.

[0348] The search request unit 440 of the terminal device 400 decrypts the item values ​​in the anonymized search result 95 to generate the decoded search result 96. The search request unit 440 determines the split keyword from which the shared keyword in the corresponding record is converted, based on the flag of each record in the decoded search result 96. Then, the search request unit 440 searches the decoded anonymized search result 95 for records having a shared keyword converted based on the split keyword included in the divided query 92.

[0349] The search request unit 440 converts the shared keywords of the records having the split keywords indicated in the split query 92 back into split keywords, and further converts the split keywords into keywords that can be registered in the DB 210. After removing the flags, the search request unit 440 outputs the records having the keywords that can be registered in the DB 210 as the search results 97.

[0350] 52 is a flowchart showing an example of a procedure for search processing. The processing shown in FIG. 52 will be described below in order of step numbers. [Step S401] The search request unit 440 acquires a search keyword input by a user as a search condition and an item corresponding to the search keyword as a plain text search query.

[0351] [Step S402] The search request unit 440 generates a sharing set list 424 and a divided keyword list 423. For example, the search request unit 440 performs a process similar to the sharing set generation process for each item in the data registration request unit 250 to generate the sharing set list 424. The sharing set list generated by the search request unit 440 is the same as the sharing set list generated by the data registration request unit 250.

[0352] [Step S403] The search request unit 440 divides the acquired plain text search query. For example, the search request unit 440 divides a search keyword included in the plain text search query into split keywords. The search request unit 440 then generates a split query indicating the logical sum of the split keywords obtained by the division.

[0353] The acquired plain text search query may include multiple search keywords. In the case of a logical sum search of multiple search keywords, the search request unit 440 breaks down each search keyword into split keywords and generates a split query that indicates the logical sum of all the split keywords. In the case of a logical product search of multiple search keywords, the search request unit 440 generates all combinations between split keywords with different items. In the case of a logical product of search keywords of three or more items, the search request unit 440 generates all combinations of split keywords that can be generated by selecting one split keyword from each item. Then, the search request unit 440 generates a logical formula that indicates the logical product for each combination of the generated split keywords. Furthermore, the search request unit 440 generates a split query that indicates the logical sum between the logical formulas of the logical products generated for each combination of the split keywords.

[0354] For example, assume that the acquired plain text search query is "A∧B", the search keyword "A" is split into "A0" and "A1", and the search keyword "B" is split into "B0" and "B1". In this case, the search request unit 440 generates "(A0∧B0)∨(A0∧B1)∨(A1∧B0)∨(A1∧B1)" as the split query.

[0355] [Step S404] The search request unit 440 converts the generated split query into a perturbed query based on the shared set. For example, when a search target item and a split keyword are specified in the split query, the search request unit 440 first identifies a shared set that includes an element corresponding to the specified split keyword from one or more shared sets corresponding to the search target item. Next, the search request unit 440 converts the split keyword to be converted in the split query into the shared keyword corresponding to the identified shared set.

[0356] [Step S405] The search request unit 440 encrypts the shared keyword converted in step S404 to generate an anonymized search query. The search request unit 440 transmits the generated anonymized search query to the data management server 100.

[0357] [Step S406] The search request unit 440 obtains the search results of the anonymized search (anonymized search results) from the data management server 100. [Step S407] The search request unit 440 decrypts the item value (ciphertext) included in the anonymized search result using the encryption key previously obtained from the data registration server 200, and generates a decrypted search result including the shared keyword in plaintext.

[0358] [Step S408] The search request unit 440 searches the shuffled search results for records including a shared keyword converted based on the split keyword included in the split query. For example, the search request unit 440 splits the shared keyword obtained by decryption into split keywords that are elements of a shared set corresponding to the shared keyword. The search request unit 440 extracts a split keyword corresponding to an element number indicated by the flag value from among the split keywords obtained by splitting. The search request unit 440 judges whether the extracted split keyword matches any of the split keywords indicated in the split query. If there is a match, the search request unit 440 extracts a record including the split keyword as a true search result. Furthermore, if the extracted split keyword does not match any of the split keywords indicated in the split query, the search request unit 440 deletes the record from which the extracted split keyword was extracted.

[0359] [Step S409] The search request unit 440 restores each shared keyword of the records extracted as true search results to the keyword set in the DB 210. For example, the search request unit 440 converts each shared keyword into a split keyword of an element number indicated by a flag value in the shared set corresponding to the shared keyword. The search request unit 440 then converts the split keyword into a keyword in the split keyword list 423 that corresponds to the split keyword.

[0360] [Step S410] The search request unit 440 outputs the plaintext search results. In this way, a search result for the anonymized DB 110 can be obtained using the terminal device 400. At this time, the shared keyword is specified in the anonymized search query transmitted to the data management server 100. Therefore, the frequency of occurrence of the search keyword input as a search condition in the plaintext DB 210 differs from the number of records that hit the anonymized search query (the frequency of occurrence of the shared keyword in the anonymized DB 110), making it difficult for the attacker 33 to launch a frequency analysis attack.

[0361] 53 is a diagram showing the difficulty of a frequency analysis attack when a shared keyword is used. For example, in DB210, the frequency of occurrence of "pediatrics" is "27", the frequency of occurrence of "gynecology" is "84", and the frequency of occurrence of "internal medicine" is "95". "Pediatrics" is probabilistically converted into 19 divided keywords "pediatrics 0" and 8 divided keywords "pediatrics 1". "Gynecology" is probabilistically converted into 50 divided keywords "gynecology 0" and 34 divided keywords "gynecology 1". "Internal medicine" is probabilistically converted into 52 divided keywords "internal medicine 0" and 43 divided keywords "internal medicine 1".

[0362] The number of split keywords is six. Three shared sets, each containing two split keywords, are generated, and shared keywords are generated based on the shared sets, and the encrypted shared keywords are registered in the anonymized DB 110. In the anonymized DB 110, the appearance frequency of the shared keyword "pediatrics 0, internal medicine 0" is "71", the appearance frequency of the shared keyword "pediatrics 1, gynecology 0" is "58", and the appearance frequency of the shared keyword "gynecology 1, internal medicine 1" is "77".

[0363] Assume that the attacker 33 knows that there are three keywords, three shared sets, each keyword is divided into two, and the number of split keywords in each shared set is two. However, the attacker 33 does not know at what ratio each keyword is divided into split keywords. Therefore, even if the attacker 33 knows that the occurrence frequency of each shared keyword is "71", "58", and "77", respectively, he cannot narrow down the split keywords contained in the shared keyword. Therefore, a frequency analysis attack is difficult.

[0364] [Fourth embodiment] Next, a fourth embodiment will be described. The fourth embodiment is an improvement over the third embodiment, and improves the difficulty of a frequency analysis attack on a search for a numerical range.

[0365] The data management server 100 performs a search while the data remains encrypted. In principle, a search while the data remains encrypted is an exact match search. In an exact match search, it is not possible to compare the magnitude relationship of numerical values. Therefore, when searching for records having numerical values ​​within a certain range, the terminal device 400 sets the logical sum of all numerical values ​​that can exist within that range as the search keyword.

[0366] FIG. 54 is a diagram showing an example of a numeric range search. Records related to patients are registered in the DB 210 of the data registration server 200, and each record has item values ​​of medical department, gender, and age. Each item value is probabilistically converted into a split keyword, which is then converted into a shared keyword and registered in the concealment DB 110. The split keyword is a character string in which "_0" and "_1" are added after the numerical value of each age. For example, the split keywords for age "18" are "18_0" and "18_1".

[0367] When a search criterion 601 specifying an age range is input, the terminal device 400 generates a divided query 602 indicating the logical sum of divided keywords for all ages within that range. The terminal device 400 generates a decoded query 603 by converting the divided keywords in the divided query 602 into shared keywords, and generates a concealed search query 604 by encrypting the shared keywords. When the terminal device 400 transmits the concealed search query 604 to the data management server 100, the data management server 100 searches the concealed DB 110.

[0368] FIG. 55 is a diagram showing an example (comparative example) of generating shared sets of age. 101 integers "0 to 100" are set in the keyword list 611 of age. Each keyword has two divided keywords. Therefore, the number of divided keywords is 202. When generating shared sets including two elements each (G=2), 101 shared sets 1-1 to 1-3, . . ., 1-51 to 1-53, . . ., 1-99 to 1-101 are generated. In the example of FIG. 55, shared sets 1-1 to 1-3, . . ., 1-51 to 1-53, . . ., 1-99 to 1-101 are generated in the procedure shown in FIG. 43 in the third embodiment.

[0369] The divided keywords included as elements in each of the shared sets 1-1 to 1-3, . . . , 1-51 to 1-53, . . . , 1-99 to 1-101 are converted into shared keywords corresponding to the shared sets. For example, the divided keyword "0_0" of the keyword "0" is converted into the shared keyword "0_0, 100_0", and the divided keyword "0_1" is converted into the shared keyword "0_1, 1_0". The shared keywords are encrypted and stored in the anonymization DB 110. Then, an anonymization search is performed on the ciphertext shared keywords.

[0370] In a search specifying age, a search specifying a numeric range is possible. A search for a numeric range is replaced with a logical OR search of numeric values ​​within the range, as shown in FIG. 54. Then, the attacker 33 can infer that the search is for a numeric item because there are many logical OR terms in the anonymized search query issued. The attacker 33 can determine the context of the ciphertext of the shared keyword by assuming that the ciphertexts included simultaneously in the anonymized search query are consecutive numbers.

[0371] For example, when a search is performed for the range of values ​​"0 to 1", a record having any one of the ciphertexts of the shared keyword "0_0,100_0", "0_1,1_0", and "1_1,2_0" is hit. The attacker 33 can presume that the split keywords from which the shared keywords contained in these records are converted contain consecutive numbers. Therefore, the attacker 33 arranges the ciphertexts of the shared keywords "0_0,100_0", "0_1,1_0", and "1_1,2_0" so that they are consecutive. Each time a search is performed for various ranges of values, the attacker 33 arranges the ciphertexts so that the ciphertexts of the shared keywords contained in the hit records are consecutive. The attacker 33 can ultimately arrange the ciphertexts of the shared keywords in the same order as the arrangement of the shared keywords in FIG. 55.

[0372] In the example of Fig. 55, except for the divided keyword "100_0", the higher the shared set, the smaller the divided keywords of the keywords that are included. In this case, the attacker 33 can only determine the consecutive relationship between the shared keywords, and even if he arranges the ciphertexts of the shared keywords, he cannot determine which of the first and last numbers in the array is smaller and which is larger.

[0373] However, when a record containing the middle value of the ciphertext of the shared keyword is searched for, the attacker 33 can recognize that a middle value within the entire range of values ​​"0 to 100" has been searched for. In other words, it becomes possible to narrow down the search conditions.

[0374] Therefore, in the fourth embodiment, when a numerical value is set in the keyword list, the data registration request unit 250 of the data registration server 200 generates a sharing set such that a sharing set containing consecutive numerical values ​​in a certain numerical range contains consecutive numerical ranges of other numerical ranges that do not overlap with each other.

[0375] Fig. 56 is a diagram showing an example of generation of shared sets of ages. Fig. 56 shows 102 shared sets 2-1 to 2-6, . . . , 2-97 to 2-102, each including two elements (G=2).

[0376] The data registration request unit 250 selects numerical values, for example, from the keyword list 611 in ascending order of value. The data registration request unit 250 sets the division keywords of the selected numerical values ​​one by one starting from the top shared set 2-1 and moving downwards. The division keywords of the second and subsequent selected numerical values ​​are set to the shared set next to the shared set to which the previously selected numerical value was set.

[0377] When one division keyword is set for each of the shares 2-1 to 2-102, the data registration request unit 250 sets the second element for each share. However, the top share 2-1 and the bottom share 2-102 are not targets for setting the second division keyword. Therefore, the data registration request unit 250 sets the division keywords of the selected numerical values ​​one by one, starting from the second lowest share 2-101 and moving up.

[0378] By generating shared sets in this way, a shared set that contains consecutive values ​​in a certain range of values ​​will also contain consecutive values ​​in another range of values ​​that do not overlap. As a result, even if the attacker 33 can arrange the ciphertexts of the shared keywords corresponding to the shared sets 2-1 to 2-102 based on the continuity of the values, it will be difficult to narrow down the searched range of values ​​when a record containing a certain ciphertext is searched. For example, it is difficult for the attacker 33 to distinguish between searches near "0 to 2", searches near "98 to 100", searches near "48 to 50", searches near "51 to 53", and searches near "48 to 53".

[0379] Increasing the number of groups G (the maximum number of elements in the shared set) will increase the number of hits in the search due to the influence of other shared keywords. For items with a large number of age keywords, the frequency of each keyword is expected to decrease according to the number of keywords. Therefore, if the item value is a number, the number of groups corresponding to the item may be increased.

[0380] Fig. 57 is a diagram showing an example of generating sharing sets when the number of groups is 3. Fig. 57 shows 68 sharing sets 3-1 to 3-6, . . . , 3-63 to 3-68, each including 3 elements (G=3).

[0381] The data registration request unit 250 selects numerical values ​​from the keyword list 611 in ascending order of value, for example. The data registration request unit 250 sets the division keywords of the selected numerical values ​​one by one, starting from the top sharing set 3-1, moving downwards. When one division keyword is set for each of the sharing sets 3-1 to 3-6, . . . , 3-63 to 3-68, the data registration request unit 250 sets a second element for each sharing set. However, the lowest sharing set 3-68 is not set as a target for setting the second division keyword. Therefore, the data registration request unit 250 sets the division keywords of the selected numerical values ​​one by one, starting from the second lowest sharing set 3-67, moving upwards. When two division keywords are set for each of the sharing sets 3-1 to 3-6, . . . , 3-63 to 3-68, the data registration request unit 250 sets a third element for each sharing set. However, the highest sharing set 3-1 is not set as a target for setting the third division keyword. Therefore, the data entry request unit 250 sets the divided keywords of the selected numerical value one by one in order from the second highest shared set 3-2 to the lower ones.

[0382] By increasing the number of groups G in this way, even if a search for a numerical range is performed, the number of numerical ranges contained in the hit records will be large, making it more difficult to narrow down the search targets. Other embodiments Although the second to fourth embodiments show examples of confidential searches on data held by hospitals, the present invention can also be used in other fields.

[0383] In the second to fourth embodiments, the data registration servers 200 and 300 and the data management server 100 are separate. However, the data registration servers 200 and 300 may have the functions of the data management server 100.

[0384] Although the embodiments have been described above, the configurations of the parts shown in the embodiments can be replaced with other parts having similar functions. Any other components or steps may be added. Furthermore, any two or more configurations (features) of the above-mentioned embodiments may be combined. [Explanation of symbols]

[0385] 1 Data registration device 1a Storage section 1b Processing section 2 Server 2a Anonymous DB 3 Data utilization device 4. Secret Records 5a~5c Item value set 6. Disturbance Records

Claims

1. On the computer, Corresponding n (n is a natural number) second item values ​​to each of a plurality of first item values ​​that can be set in one item in a secret record in a secret record group including one or more secret records to be secreted; classifying each of the second item values ​​into one of the plurality of item value sets such that each of the plurality of item value sets includes any number of the second item values, from 1 to n-1, among two or more of the second item values ​​associated with the same first item value; probabilistically converting the first item value set in the one item in the secret record into any one of the associated second item values; generating a disturbed record group based on the secret record group, by adding a dummy second item value, to equalize the number of hits in a search for the second item value belonging to the same item value set; assigning a flag to a record in the disturbed record group, the flag indicating whether the second item value included in the record is true or false; Encrypting the disturbance records; A secret information management program that executes the process.

2. In the conversion of the first item value to the second item value, a selection probability of the second item value is randomly determined, and one of the second item values ​​associated with the first item value is selected with a probability according to the selection probability, and the first item value is converted to the selected second item value.

2. The secret information management program according to claim 1.

3. In classifying the second item values, a combination of the first item values ​​corresponding to the second item values ​​belonging to two or more item value sets is prevented from being the same.

3. The secret information management program according to claim 1.

4. In generating the disturbance record group, generating dummy values ​​corresponding to the second item values ​​set in the one item of each of the concealed records according to a bijective relationship in which each of the second item values ​​belonging to the item value set is bijected into a different second item value belonging to the same item value set; generating a dummy record group having the same number of dummy records as the confidential records, in which the dummy value is set in the one item; generating the disturbed record group including the secret record group and the dummy record group; 4. The secret information management program according to claim 1.

5. In generating the dummy record groups, when there are a plurality of the dummy record groups, the bijective relationship that differs for each of the dummy record groups is used so that the second item value set in the one item of the secret record is converted to the second item value that differs for each of the dummy record groups.

5. The secret information management program according to claim 4.

6. In the flag assignment, a first flag indicating true is assigned to the secret record, and a second flag indicating false is assigned to the dummy record; In the encryption, the second item value set in the one item of each of the secret record and the dummy record, the first flag assigned to the secret record, and the second flag assigned to the dummy record are encrypted.

6. The secret information management program according to claim 4 or 5.

7. In assigning the second flag, the second flag having a value different for each of the one or more generated dummy record groups and different from the first flag is assigned to the dummy records included in each of the dummy record groups.

7. The secret information management program according to claim 6.

8. In the assignment of the first flag, the first flag including an identifier of the secret record and a value indicating a group number of the secret record group is assigned to the secret record; the assignment of the second flag includes assigning to the dummy record the second flag including an identifier of the dummy record and a group number of the dummy record group to which the dummy record belongs; 8. The secret information management program according to claim 7.

9. In generating the disturbance record group, generating a disturbed record by converting the second item value before conversion set in the one item in the secret record into a third item value that is associated with an item value set to which the second item value before conversion belongs and that hits a search for any of the second item values ​​that belong to the same item value set, and generating the disturbed record group including the disturbed record; 4. The secret information management program according to claim 1.

10. In the flag assignment, a third flag including information indicating the second item value before conversion is assigned to the disturbed record; In the encryption, the third item value set in the one item of the disturbed record and the assigned third flag are encrypted.

10. The secret information management program according to claim 9.

11. In the assignment of the third flag, the third flag including an identifier of the secret record and an element number in the item value set of an element corresponding to the second item value before the conversion is assigned to the secret record.

11. The secret information management program according to claim 10.

12. In the classification, when the plurality of first item values ​​are numeric values, the second item value is classified into one of the plurality of item value sets such that an item value set including the second item values ​​corresponding to each of the plurality of consecutive numeric values ​​in a first numeric range includes the second item values ​​corresponding to each of the consecutive numeric values ​​in a second numeric range that does not overlap with the first numeric range.

12. The secret information management program according to claim 1.

13. The computer Corresponding n (n is a natural number) second item values ​​to each of a plurality of first item values ​​that can be set in one item in a secret record in a secret record group including one or more secret records to be secreted; classifying each of the second item values ​​into one of the plurality of item value sets such that each of the plurality of item value sets includes any number of the second item values, from 1 to n-1, among two or more of the second item values ​​associated with the same first item value; probabilistically converting the first item value set in the one item in the secret record into any one of the associated second item values; generating a disturbed record group based on the secret record group, by adding a dummy second item value, to equalize the number of hits in a search for the second item value belonging to the same item value set; assigning a flag to a record in the disturbed record group, the flag indicating whether the second item value included in the record is true or false; Encrypting the disturbance records; Confidential information management method.

14. a storage unit that stores a secret record group including one or more secret records to be secretly recorded; Corresponding n (n is a natural number) second item values ​​to each of a plurality of first item values ​​that can be set in one item in the secret record in the secret record group; classifying each of the second item values ​​into one of the plurality of item value sets such that each of the plurality of item value sets includes any number of the second item values, from 1 to n-1, among two or more of the second item values ​​associated with the same first item value; probabilistically converting the first item value set in the one item in the secret record into any one of the associated second item values; generating a disturbed record group based on the secret record group, by adding a dummy second item value, to equalize the number of hits in a search for the second item value belonging to the same item value set; assigning a flag to a record in the disturbed record group, the flag indicating whether the second item value included in the record is true or false; Encrypting the disturbance records; A processing section; A data registration device having the following:

15. A server having a database; Corresponding n (n is a natural number) second item values ​​to each of a plurality of first item values ​​that can be set in one item in a secret record in a secret record group including one or more secret records to be secreted; classifying each of the second item values ​​into one of the plurality of item value sets such that each of the plurality of item value sets includes any number of the second item values, from 1 to n-1, among two or more of the second item values ​​associated with the same first item value; probabilistically converting the first item value set in the one item in the secret record into any one of the associated second item values; generating a disturbed record group based on the secret record group, by adding a dummy second item value, to equalize the number of hits in a search for the second item value belonging to the same item value set; assigning a flag to a record in the disturbed record group, the flag indicating whether the second item value included in the record is true or false; Encrypting the disturbed records; storing the disturbed records in the database; A data registration device; converting a search item value of the one item indicated in the search conditions into one or more second item values ​​corresponding to the first item value having the same value as the search item value; Transmitting a search query to the server to search for the second item value obtained by the conversion in ciphertext form; Obtaining from the server, detection records that match the search query in the database; determining whether a value that matches the second item value in the detection record is true or false based on the flag assigned to the detection record; A data utilization device; A confidential information management system having:

16. The data registration device includes: In generating the disturbance record group, generating dummy values ​​corresponding to the second item values ​​set in the one item of each of the concealed records according to a bijective relationship in which each of the second item values ​​belonging to the item value set is bijected into a different second item value belonging to the same item value set; generating a dummy record group having the same number of dummy records as the confidential records, in which the dummy value is set in the one item; generating the disturbed record group including the secret record group and the dummy record group; In assigning the flag, assigning a first flag indicating true to the secret record; assigning a second flag indicating false to the dummy record; In the encryption, encrypting the second item value set in the one item of each of the secret record and the dummy record, the first flag assigned to the secret record, and the second flag assigned to the dummy record; storing the secret record group and the dummy record group in the database of the server; The data utilization device includes: Sending a search query to the server, the search query including the encrypted text of each of the second item values ​​obtained by the conversion; obtaining, from the server, search results in the database based on the search query; acquiring the secret record that satisfies the search condition from the search result based on the first flag or the second flag that is set to the secret record and the dummy record included in the search result, respectively; The confidential information management system according to claim 15.

17. The data registration device includes: In generating the disturbed record group, the second item value before conversion set in the one item in the secret record is converted into a third item value that is associated with an item value set to which the second item value before conversion belongs and hits a search for any of the second item values ​​belonging to the same item value set, thereby generating a disturbed record, and generating the disturbed record group including the disturbed record; In the flag assignment, a third flag including information indicating the second item value before conversion is assigned to the disturbed record; In the encryption, the third item value set in the one item of the disturbed record and the assigned third flag are encrypted, The data utilization device includes: converting each of the second item values ​​obtained by the conversion into the third item value corresponding to the second item value, and transmitting a search query including an encrypted text of the third item value to the server; obtaining, from the server, search results in the database based on the search query; decrypting the third item value and the third flag set in each of the disturbed records included in the search result; determining the second item value from which the third item value is converted based on the third flag; extracting, from the search result, the randomized record in which the encrypted text of the second item value corresponding to the first item value that satisfies the search condition is stored; The confidential information management system according to claim 15.

Citation Information

Patent Citations

  • Status information processing system, status information processing method, and program

    JP2007011903A

  • Information processor, method for controlling information processor, and program

    JP2007114855A

  • Data generation device, data generation method, data generation program and database system

    JP2012248940A

  • Conversion processing method, device and program and restoration processing method, device and program

    JP2013008175A

  • Secret set calculation device and method

    JP2014164145A