Privacy removal method and device for large-scale medical record data

By using private information whitelisting and Chinese word segmentation technology for parallel comparison in the "server-client" structure, the problem of low privacy processing efficiency in large quantities of unstructured medical record data is solved, and efficient and accurate private information processing is achieved. .

CN117216800BActive Publication Date: 2024-09-10GENERAL HOSPITAL OF PLA
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202311433142.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-31
Publication Date
2024-09-10
Estimated Expiration
2043-10-31

AI Technical Summary

Technical Problem

When existing technology processes large batches of unstructured medical record data, the deprivation processing efficiency is low, it is difficult to identify and process private information scattered in a large amount of conventional information, it is easy to miss, and the calculation is time-consuming.

Method used

Adopting a "server-client" structure, by establishing pending jobs and distributing them to each client, using private information whitelists for parallel comparison, and combining Chinese word segmentation technology and fuzzy search strategies to improve the efficiency and accuracy of privacy processing.

Benefits of technology

It improves the efficiency and accuracy of de-privacy processing of large batches of medical record data, reduces calculation time, enhances system processing capabilities, and has strong applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117216800B
    Figure CN117216800B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a method and device for de-privacy processing of large quantities of medical record data, the method comprising: processing a large number of medical record texts to be de-privacy processed, establishing a corresponding pending job for each medical record text, the pending job comprising the medical record text and a privacy information whitelist corresponding to the medical record text; distributing all the pending jobs to each client in sequence, so that each client performs de-privacy processing on the medical record text according to the privacy information whitelist; receiving the de-privacy processing results of the pending jobs from each client. Through the above method, the embodiment of the present invention can manage the overall working status of the system in real time, enhance the system processing capability, improve the overall performance, and is suitable for de-privacy processing of large quantities of medical record texts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of information data processing, and in particular to a method and device for de-privacy processing of large quantities of medical record data. Background Art

[0002] Inpatient medical records are rich in medical-related knowledge such as patient personal information, clinical symptoms, disease diagnosis and treatment, drugs and equipment, and expert experience, and are an important part of electronic medical records. Association analysis and deep mining of large quantities of inpatient medical records can obtain a large amount of individual data and common characteristics related to topics such as patients, diseases, and treatments, which will help to establish intelligent auxiliary screening, auxiliary diagnosis, and decision support systems. However, inpatient medical records contain a lot of private information, including patient name, unique identifier, mailing address, work unit, doctor name, medical institution name, etc. According to the requirements of relevant laws and regulations on protecting personal privacy, privacy protection must be performed before analyzing and mining inpatient medical records.

[0003] From the perspective of data structure, current inpatient medical records include both structured data such as basic patient information, examination applications, test results, and prescriptions, as well as semi-structured / unstructured data such as admission records, medical history, surgical plans, treatment plans, and discharge summaries. The de-privacy processing of structured information can usually be achieved by relying on the SQL technology of relational databases. However, for semi-structured / unstructured data, private information is scattered among a large amount of conventional information, making it difficult to identify, difficult to process, and easy to miss.

[0004] Usually, medical record text is a kind of unstructured data. For the de-privacy of unstructured information, most of the early methods adopted the idea of ​​"moving window + word-by-word comparison". That is, through keyword search (character string containing privacy information), the semi-structured / unstructured target text is compared from the first character to the customized window length, and the matching fields are selected one by one, and then updated, replaced and other de-privacy processing are performed in turn. In this type of method, each keyword processing requires full-text scanning and comparison. If there are multiple keywords, multiple full-text scans are required, which is inefficient and slow.

[0005] Subsequently, the "full text segmentation + word-by-word comparison" technology emerged. That is, natural language processing technology is first used to segment the target text, and the original full text character-by-character comparison is adjusted to full text phrase-by-phrase comparison, thereby effectively reducing the amount of calculation and improving processing efficiency. However, there is still the problem of multiple keywords requiring multiple full text scans.

[0006] Later, technologies such as "keyword grouping + parallel comparison" emerged, which divides multiple keywords into several groups, each group corresponds to a computing node, and each group is responsible for full-text scanning of one or more keywords. In this type of operation, the same target text is usually read to multiple computing nodes for scanning and comparison of different keywords. There are problems such as the target text being repeatedly read and written by multiple computing nodes, and the complex aggregation of replacement results. Therefore, the de-privacy of unstructured data is difficult to operate and time-consuming, and it is in urgent need of improvement and innovation. Summary of the invention

[0007] In view of the above problems, an embodiment of the present invention provides a method and device for de-privacy processing of large quantities of medical record data, which overcomes the above problems or at least partially solves the above problems.

[0008] According to one aspect of an embodiment of the present invention, a method for de-privacy processing of large quantities of medical record data is provided, the method comprising: processing a large number of medical record texts to be de-privacy processed, establishing a corresponding job to be processed for each medical record text, the job to be processed comprising the medical record text and a privacy information whitelist corresponding to the medical record text; distributing all the jobs to be processed to each client in sequence, so that each client performs de-privacy processing on the medical record text according to the privacy information whitelist; and receiving the de-privacy processing results of the jobs to be processed by each client.

[0009] Optionally, the large batch of medical record texts to be de-privacy processed are processed, and a corresponding job to be processed is established for each medical record text, including: for each medical record text, an associated query is performed on the medical record text in combination with the hospital information system to obtain a set of keywords representing the privacy information corresponding to the medical record text; each privacy information in the keyword set is sorted in order according to the number of characters and the first letter of the pinyin to generate a privacy information whitelist; the medical record text and the privacy information whitelist corresponding to the medical record text are combined to obtain a job to be processed corresponding to the medical record text.

[0010] Based on the same inventive concept, a de-privacy processing method for large quantities of medical record data is also provided, the method comprising: receiving a pending job sent by a server, the pending job comprising a medical record text and a privacy information whitelist corresponding to the medical record text; performing full-text word segmentation processing on the medical record text using Chinese word segmentation technology to obtain all word segmentation information of the medical record text; performing de-privacy processing on the medical record text according to all word segmentation information and the privacy information whitelist, and feeding back the de-privacy processing result to the server.

[0011] Optionally, the medical record text is de-privacy processed according to all the word segmentation information and the privacy information whitelist, including: determining whether each word segmentation in all the word segmentation information matches any privacy information in the privacy information whitelist; and replacing and updating the word segmentation information in all the word segmentation information that matches any privacy information in the privacy information whitelist.

[0012] Optionally, determining whether each word segmentation in all word segmentation information matches any privacy information in the privacy information whitelist includes: selecting each word segmentation in the partial word segmentation information in turn; comparing the selected word segmentation with the privacy information in the privacy information whitelist in turn, and determining whether the word segmentation matches the privacy information.

[0013] Optionally, comparing the selected word segmentation with the privacy information in the privacy information whitelist in turn to determine whether the word segmentation matches the privacy information, includes: selecting the privacy information in the privacy information whitelist in turn; determining whether the selected privacy information is a long word; if so, performing a fuzzy search on the privacy information by inclusion or wildcard method according to the word segmentation to determine whether the word segmentation matches the privacy information; if not, performing an exact match between the word segmentation and the privacy information to determine whether the word segmentation matches the privacy information.

[0014] Based on the same inventive concept, a de-privacy processing device for large quantities of medical record data is provided, comprising: a job establishment unit, used to process large quantities of medical record texts to be de-privacy processed, and to establish a corresponding job to be processed for each medical record text, wherein the job to be processed includes the medical record text and a privacy information whitelist corresponding to the medical record text; a job distribution unit, used to distribute all the jobs to be processed to each client in sequence, so that each client can perform de-privacy processing on the medical record text according to the privacy information whitelist; and a result acquisition unit, used to receive the de-privacy processing results of the jobs to be processed by each client.

[0015] Based on the same inventive concept, a de-privacy processing device for large quantities of medical record data is also provided, including: a job receiving unit, used to receive pending jobs sent by a server, the pending jobs including medical record text and a privacy information whitelist corresponding to the medical record text; a word segmentation processing unit, used to perform full-text word segmentation processing on the medical record text using Chinese word segmentation technology, and obtain all word segmentation information of the medical record text; a de-privacy processing unit, used to perform de-privacy processing on the medical record text according to all word segmentation information and the privacy information whitelist, and feed back the de-privacy processing result to the server.

[0016] Based on the same inventive concept, an embodiment of the present invention further proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the aforementioned method when executing the program.

[0017] Based on the same inventive concept, an embodiment of the present invention further proposes a computer storage medium, in which at least one executable instruction is stored, and the executable instruction enables a processor to execute the aforementioned method.

[0018] The embodiment of the present invention processes a large number of medical record texts to be de-privacy processed, establishes a corresponding job to be processed for each medical record text, and the job to be processed includes the medical record text and a privacy information whitelist corresponding to the medical record text; distributes all the jobs to be processed to each client in sequence, so that each client can de-privacy process the medical record text according to the privacy information whitelist; receives the de-privacy processing results of the jobs to be processed by each client, can manage the overall working status of the system in real time, enhance the system processing capability, improve the overall performance, and is suitable for the de-privacy processing of large quantities of medical record texts.

[0019] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0021] Figure 1 A schematic diagram of the structure of a privacy removal processing system for large batches of medical record data provided by an embodiment of the present invention is shown;

[0022] Figure 2 A schematic diagram of a privacy removal process of a privacy removal system for large batches of medical record data according to an embodiment of the present invention is shown;

[0023] Figure 3 A schematic diagram of a process for de-privacy processing of large batches of medical record data provided by an embodiment of the present invention is shown;

[0024] Figure 4A schematic diagram of a process for another method for de-privacy processing of large quantities of medical record data provided by an embodiment of the present invention is shown;

[0025] Figure 5 A schematic diagram of the structure of a privacy removal processing device for large batches of medical record data provided by an embodiment of the present invention is shown;

[0026] Figure 6 A schematic diagram of the structure of another privacy removal processing device for large batches of medical record data provided by an embodiment of the present invention is shown;

[0027] Figure 7 A schematic diagram of an electronic device in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0028] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.

[0029] Figure 1 FIG. 1 is a schematic diagram showing a structure of a privacy protection system for large batches of medical records data provided by an embodiment of the present invention. Figure 1 As shown, the privacy protection system for large-scale medical record data adopts a "server-client" structure, including: a server and multiple clients. Figure 1 In the example, m and n are positive integers, m represents the number of clients, and n represents the number of large batches of medical records. The server is responsible for managing all initial medical record texts and corresponding keywords, monitoring the operation of each client, distributing and scheduling jobs in a timely manner, and summarizing results. The client is responsible for receiving the initial medical record texts and keywords and other job information from the server, and then performs text segmentation, full-text scanning, long-short word comparison, replacement and update, and result summary application. The de-privacy processing process of the de-privacy processing system for large batches of medical record data is as follows: Figure 2 As shown, including:

[0030] Step 100: Start.

[0031] Step 101: Arrange server operations, let i=1.

[0032] The server organizes all medical record texts to be de-privacy processed and generates a pending job for each medical record text. The pending job includes the medical record text and the privacy information whitelist corresponding to the medical record text. That is, the pending job corresponding to any medical record text k =<Keyword setk , medical record text k >. Let i=1, i represents the i-th client.

[0033] Step 102: Contact the i-th client.

[0034] The server establishes a connection with the i-th client. The server connects with each client in turn to distribute the jobs to be processed later.

[0035] Step 103: Distribute the assignments.

[0036] The server distributes a pending job to the i-th client that has established a connection.

[0037] Step 104: Receive a job.

[0038] The client receives pending jobs distributed by the server.

[0039] Step 105: Get text segmentation, and set j=1.

[0040] The client performs word segmentation on the medical record text in the processing job and obtains the corresponding all word segmentation information. Then let j=1, where j represents the jth word segmentation in all word segmentation information.

[0041] Step 106: Compare the jth word segment.

[0042] The client compares the jth word segment with the private information in the private information whitelist, i.e., the keywords.

[0043] Step 107: Determine whether the comparison is successful. If yes, go to step 109; otherwise, go to step 108.

[0044] It is determined whether the jth word segmentation is successfully matched with any private information in the private information whitelist. If the match is successful, it means that the jth word segmentation belongs to private information.

[0045] Step 108: Let j=j+1.

[0046] If the jth word segmentation is not successfully compared with any private information in the privacy information whitelist, it means that the jth word segmentation is not private information, then set j=j+1, and then return to step 106 to continue the comparison of the next word segmentation. In the embodiment of the present invention, the client compares each word segmentation with each private information in the privacy information whitelist in turn to determine whether each word segmentation matches any private information in the privacy information whitelist, that is, whether it is private information.

[0047] Step 109: Content replacement update.

[0048] If the jth word segmentation successfully matches any private information in the private information whitelist, it means that the jth word segmentation is private information, and the jth word segmentation is replaced and updated. Specifically, a new word segmentation may be generated by applying a preset generation rule to replace the jth word segmentation, or a new word segmentation may be randomly generated to replace the jth word segmentation, or the jth word segmentation may be directly deleted.

[0049] Step 110: Determine whether all word segmentation comparisons are completed. If yes, execute step 111; otherwise, return to execute step 108.

[0050] The client determines whether the comparison of all word segments in the current pending job has been completed.

[0051] Step 111: Send a summary request to the server.

[0052] If the comparison of all the word segments in the current pending job has been completed, it means that the client has completed the privacy protection processing of the current pending job. The client sends a summary request to the server to feedback the processed privacy information to the server, notify the server that the pending job has been completed, and is currently idle.

[0053] Step 112: Determine whether a summary request is received. If yes, execute step 114; otherwise, execute step 113.

[0054] The server determines whether it has received the summary request sent by the client.

[0055] Step 113: Let i=i+1.

[0056] If the server does not receive the summary request sent by the client, then i=i+1 is set, and then the process returns to step 102 to establish a connection with the next client and send the next job to be processed.

[0057] Step 114: Obtain summary results.

[0058] If the server receives a summary request sent by the client, it receives the summary result sent by the client, that is, the de-privacy processing result of the current pending job.

[0059] Step 115: Determine whether all operations are completed. If yes, execute step 116; otherwise, return to execute step 113.

[0060] The server determines whether all pending jobs have been completed, that is, whether all pending jobs have been distributed to each client. If yes, step 116 is executed. Otherwise, step 113 is returned, i=i+1 is set, and then step 102 is returned to establish a connection with the next client and send the next pending job.

[0061] Step 116: Wait for each client to complete the operation.

[0062] If all pending jobs have been completed, that is, all pending jobs have been distributed to each client, then wait for each client to complete its own pending job.

[0063] Step 117: End.

[0064] The embodiment of the present invention is based on the "server-client" structure and combines the privacy information whitelist mechanism to propose a parallel comparison strategy of "target text grouping". Through the distribution of pending job tasks and target text grouping, the server will send the pending job tasks to the currently responding client in sequence according to the current number of clients and the progress of each client's work. Therefore, each client will receive multiple medical record texts one after another. For each medical record text, the client will independently undertake all operations such as word segmentation, scanning, comparison and update, without the need to cooperate with the server or other clients. This strategy can give full play to the computing performance of each client, fully utilize the advantages of data parallelism, expand the scalable application potential of the system, and effectively support the efficient completion of the task of deprivacy of large quantities of medical record texts. By adopting the "whitelist + target text grouping" parallel comparison strategy, it is very suitable for the deprivacy processing of large quantities of medical record texts. The functions of each client are relatively independent, and the proportion of parallel work is high; the server can manage the overall working status of the system in real time, facilitate dynamic adjustment of the number of clients, and enhance the system processing capacity.

[0065] The embodiment of the present invention significantly reduces the target space size of text search by segmenting the text of inpatient medical records, optimizes the operational performance of text comparison by using a sorted whitelist mechanism, reduces unnecessary comparisons caused by different word lengths and first letters, and efficiently realizes parallel processing of medical record texts of each client through a "server-client" parallel architecture. These three approaches work together to improve the overall performance.

[0066] Figure 3 FIG. 1 is a flow chart showing a method for deprivacy processing of large quantities of medical records data provided by an embodiment of the present invention. Figure 3 As shown, the privacy removal method for large batches of medical record data is applied to the server, including:

[0067] Step S11: Processing a large number of medical record texts to be de-privacy processed, and establishing a corresponding to-be-processed job for each medical record text, wherein the to-be-processed job includes the medical record text and a privacy information whitelist corresponding to the medical record text.

[0068] Optionally, for each medical record text, an association query is performed on the medical record text in combination with the Hospital Information System (HIS) to obtain a keyword set representing the privacy information corresponding to the medical record text; each privacy information in the keyword set is sorted in order by the number of characters and the first letter of the pinyin to generate a privacy information whitelist; the medical record text and the privacy information whitelist corresponding to the medical record text are combined to obtain a pending job corresponding to the medical record text. That is, the server organizes all medical record texts to be deprived, and establishes a keyword set for each medical record text through an association query of the HIS information. That is, it includes the patient's name, unique identifier, doctor's name, medical institution and other privacy information related to the document, and is sorted in order by the number of characters, the first letter of the pinyin, etc. This is the privacy information whitelist. Therefore, the server needs to establish and maintain 2 queues, one is all client information, and the other is all pending job information. Note: Each pending job information "pending job k " can be expressed as: pending jobs k =<Keyword set k , medical record text k >.

[0069] Step S12: All the pending jobs are distributed to each client in turn, so that each client can perform privacy protection processing on the medical record text according to the privacy information whitelist.

[0070] In the embodiment of the present invention, the server establishes a connection with each client in turn and distributes pending jobs. Specifically, it first establishes a connection with the first client, distributes the first pending job, i.e., "pending job 1", to it, and then determines whether it has received the result summary request sent by each client. If so, it receives the summary result; otherwise, it prepares to establish a connection with the next client.

[0071] Step S13: receiving the de-privacy processing results of the pending jobs from each of the clients.

[0072] After each client completes the de-privacy processing of the pending jobs, the server receives the de-privacy processing results of the pending jobs from the client. If all pending jobs have been sent to the client, the job queue is empty. At this time, the server waits for all clients to complete the current pending jobs and finally ends the current task.

[0073] The embodiment of the present invention can obtain the relevant basic patient information, name of the attending physician and other privacy information from the structured data of the hospital information system based on the known patient name or unique identifier and other information through the fusion calculation and association analysis of HIS information, so as to establish a privacy information whitelist for the patient. It can be seen that the whitelist mechanism is essentially a technology that integrates and bridges structured and unstructured medical record related information. By utilizing a small amount of known structured data to quickly obtain the corresponding entire privacy information content, it is beneficial to optimize the search strategy of the medical record text, reduce the search scope, improve the pertinence of data comparison, avoid tedious comparisons during subsequent medical record text retrieval, thereby greatly reducing the amount of calculation and effectively improving the overall performance of the system.

[0074] The embodiment of the present invention uses a "server-client" parallel architecture to efficiently realize the parallel processing of medical record texts of each client, which helps to improve the overall performance; by adopting the "white list + target text grouping" parallel comparison strategy, it is very suitable for the privacy protection of large quantities of medical record texts. The functions of each client are relatively independent, and the proportion of parallel work is relatively high; the server can manage the overall working status of the system in real time, which is convenient for dynamically adjusting the number of clients and enhancing the system processing capacity.

[0075] The de-privacy processing method for large quantities of medical record data in an embodiment of the present invention processes large quantities of medical record texts to be de-privacy processed, and establishes a corresponding pending job for each medical record text, wherein the pending job includes the medical record text and a privacy information whitelist corresponding to the medical record text; all the pending jobs are distributed to each client in sequence, so that each client performs de-privacy processing on the medical record text according to the privacy information whitelist; and the de-privacy processing results of the pending jobs by each client are received, so that the overall working status of the system can be managed in real time, the system processing capability can be enhanced, the overall performance can be improved, and the de-privacy processing of large quantities of medical record texts can be applied.

[0076] Figure 4 FIG. 2 is a flow chart showing another method for deprivacy processing of large quantities of medical records data provided by an embodiment of the present invention. Figure 4 As shown in FIG. 1 , the privacy removal method for large batches of medical record data is applied to the client, including:

[0077] Step S21: receiving a pending job sent by a server, wherein the pending job includes a medical record text and a privacy information whitelist corresponding to the medical record text.

[0078] Receive a pending job for a certain medical record text sent by the server. The pending job includes the medical record text and a privacy information whitelist corresponding to the medical record text. The privacy information whitelist is obtained by the server after establishing a keyword set through an associated query of HIS information and sorting them in order according to the number of characters, the first letter of the pinyin, etc.

[0079] Step S22: Use Chinese word segmentation technology to perform full-text word segmentation processing on the medical record text to obtain all word segmentation information of the medical record text.

[0080] The client receives a current pending job from the server, and then uses Chinese word segmentation technology to perform full-text word segmentation on the medical record text, thereby obtaining all the word segmentation information of the current medical record text.

[0081] Step S23: De-privacy processing is performed on the medical record text according to all the word segmentation information and the privacy information whitelist, and the de-privacy processing result is fed back to the server.

[0082] In step S23, first determine whether each word in all word segmentation information matches any private information in the private information whitelist, and then perform a replacement and update operation on the word segmentation information in all word segmentation information that matches any private information in the private information whitelist.

[0083] In an embodiment of the present invention, optionally, each segmentation in the partial segmentation information is selected in turn; the selected segmentation is compared with the privacy information in the privacy information whitelist in turn to determine whether the segmentation matches the privacy information. In the privacy information whitelist of inpatient medical records, there is usually a problem of long and short words. Among them, short words refer to privacy information such as patient names and doctor names, and exact matching technology can be used to perform text search and comparison. Long words refer to privacy information such as communication addresses and unit names, which can usually be composed of multiple phrases and have a large number of words. However, in the segmentation processing of medical record texts, these long word information will be decomposed into multiple independent short words. If the exact matching technology is used for text search, private information will be missed. Therefore, for the case of long words, fuzzy search can be performed by inclusion or wildcards.

[0084] In an embodiment of the present invention, optionally, when judging whether a word segmentation matches the privacy information, the privacy information in the privacy information whitelist is selected in turn; it is judged whether the selected privacy information is a long word; if so, a fuzzy search is performed on the privacy information in an inclusion or wildcard manner according to the word segmentation to determine whether the word segmentation matches the privacy information; if not, the word segmentation is precisely matched with the privacy information to determine whether the word segmentation matches the privacy information. For example, for the first word segmentation, first determine whether the privacy information in the whitelist is a long word. If so, a fuzzy match is performed; otherwise, it is a short word and a precise match is performed. That is, a binary search technique is used to quickly filter each privacy information (keyword) in the whitelist in turn. At this time, according to the word length value of the current word segmentation, keyword candidate objects that are not equal to it can be quickly filtered. Only when the word length values ​​are equal, the next step of comparison is entered.

[0085] The embodiment of the present invention can effectively improve the accuracy of medical record text search and effectively reduce the omission and misjudgment of privacy information by distinguishing and comparing long and short words.

[0086] If the client determines that a certain word segmentation information in all word segmentation information matches any privacy information in the privacy information whitelist, the word segmentation information is replaced and updated. Specifically, a new word segmentation can be generated by applying a preset generation rule to replace the word segmentation information so that it can be backtracked when necessary, or a new word segmentation can be randomly generated to replace the word segmentation information, or the word segmentation information can be directly deleted.

[0087] The embodiment of the present invention applies the technology of distinguishing and comparing long and short words, which can effectively solve the problem of low accuracy of long word comparison and realize the integration and unification of long and short word processing. At the same time, by adjusting the word length threshold of long and short words, it is also helpful to achieve a balance between the accuracy and timeliness of long word processing; by segmenting the text of inpatient medical records to greatly reduce the size of the target space of text search, by using a sorted whitelist mechanism to optimize the operational performance of text comparison, unnecessary comparisons caused by different word lengths and different first letters are reduced, which helps to improve the overall performance.

[0088] The above specific embodiments of the present invention are described. In some cases, the actions or steps recorded in the embodiments of the present invention can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0089] Based on the same concept, the embodiment of the present invention also provides a privacy removal processing device for large batches of medical record data. Applied to the server. Figure 5As shown, the privacy removal processing device for large batches of medical record data includes: a job creation unit, a job distribution unit and a result acquisition unit.

[0090] A job creation unit, used to process a large number of medical record texts to be de-privacy processed, and to create a corresponding job to be processed for each medical record text, wherein the job to be processed includes the medical record text and a privacy information whitelist corresponding to the medical record text;

[0091] A job distribution unit, used for distributing all the pending jobs to each client in sequence, so that each client can perform privacy removal processing on the medical record text according to the privacy information whitelist;

[0092] The result acquisition unit is used to receive the de-privacy processing results of the pending job by each of the clients.

[0093] Based on the same concept, the embodiment of the present invention also provides another privacy removal processing device for large batches of medical record data. Applied to the client. Figure 6 As shown, the privacy protection processing device for large batches of medical record data includes: a job receiving unit, a word segmentation processing unit and a privacy protection processing unit.

[0094] A job receiving unit, configured to receive a pending job sent by a server, wherein the pending job includes a medical record text and a privacy information whitelist corresponding to the medical record text;

[0095] A word segmentation processing unit, used to perform full-text word segmentation processing on the medical record text using Chinese word segmentation technology to obtain all word segmentation information of the medical record text;

[0096] The privacy protection processing unit is used to perform privacy protection processing on the medical record text according to all the word segmentation information and the privacy information white list, and feed back the privacy protection processing result to the server.

[0097] For the convenience of description, the above devices are described as various modules according to their functions. Of course, when implementing the embodiments of the present invention, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0098] The above-mentioned devices are applied to the corresponding methods in the aforementioned embodiments and have the beneficial effects of the corresponding method embodiments, which will not be described in detail here.

[0099] Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in any one of the above embodiments is implemented.

[0100] An embodiment of the present invention provides a non-volatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the method described in any of the above embodiments.

[0101] Figure 7 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 701, a memory 702, an input / output interface 703, a communication interface 704, and a bus 705. The processor 701, the memory 702, the input / output interface 703, and the communication interface 704 are connected to each other in communication within the device through the bus 705.

[0102] The processor 701 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solution provided by the method embodiment of the present invention.

[0103] The memory 702 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 702 can store an operating system and other application programs. When the technical solution provided by the method embodiment of the present invention is implemented by software or firmware, the relevant program code is stored in the memory 702 and called and executed by the processor 701.

[0104] The input / output interface 703 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0105] The communication interface 704 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0106] The bus 705 includes a path for transmitting information between various components of the device (eg, the processor 701 , the memory 702 , the input / output interface 703 , and the communication interface 704 ).

[0107] It should be noted that, although the above device only shows the processor 701, the memory 702, the input / output interface 703, the communication interface 704 and the bus 705, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiment of the present invention, and does not necessarily include all the components shown in the figure.

[0108] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present invention as described above, which are not provided in detail for the sake of simplicity.

[0109] This application is intended to cover all such substitutions, modifications and variations that fall within the broad scope of all embodiments. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the scope of protection of this disclosure.

Claims

1. A privacy protection method for large batches of medical record data, characterized in that: The method comprises: Processing a large number of medical record texts to be de-privacy processed, and establishing a corresponding to-be-processed job for each medical record text, wherein the to-be-processed job includes the medical record text and a privacy information whitelist corresponding to the medical record text; All of the pending jobs are distributed to each client in turn, so that each client performs privacy protection processing on the medical record text according to the privacy information whitelist; each client performs privacy protection processing on the medical record text according to the privacy information whitelist, including: determining whether each segmentation in all segmentation information matches any privacy information in the privacy information whitelist; performing a replacement and update operation on the segmentation information in all segmentation information that matches any privacy information in the privacy information whitelist; wherein the determination of whether each segmentation in all segmentation information matches any privacy information in the privacy information whitelist includes: selecting each segmentation in part of the segmentation information in turn; replacing the selected segmentation information The segmented words are sequentially compared with the privacy information in the privacy information whitelist to determine whether the segmented words match the privacy information; wherein, the privacy information in the privacy information whitelist is sequentially selected; it is determined whether the selected privacy information is a long word; if so, a fuzzy search is performed on the privacy information in a containment or wildcard manner according to the segmented words to determine whether the segmented words match the privacy information; if not, the segmented words are precisely matched with the privacy information to determine whether the segmented words match the privacy information; the server is responsible for managing all initial medical record texts and corresponding keywords, monitoring the operation of each client, distributing and scheduling jobs in a timely manner, and summarizing the results; Receive the de-privacy processing results of the pending jobs from each of the clients.

2. The method according to claim 1, characterized in that The large batch of medical record texts to be de-privacy processed are processed, and a corresponding to-be-processed job is established for each medical record text, including: for each medical record text, Performing an associated query on the medical record text in conjunction with the hospital information system to obtain a set of keywords representing privacy information corresponding to the medical record text; Sort the privacy information in the keyword set by the number of characters and the first letter of the pinyin to generate a privacy information whitelist; The medical record text and the privacy information whitelist corresponding to the medical record text are combined to obtain a pending job corresponding to the medical record text.

3. A privacy protection method for large batches of medical record data, characterized in that: The method comprises: Receive pending jobs sent by the server, the pending jobs including medical record text and a whitelist of privacy information corresponding to the medical record text; the server is responsible for managing all initial medical record texts and corresponding keywords, monitoring the operation of each client, distributing and scheduling jobs in a timely manner, and summarizing the results; Using Chinese word segmentation technology to perform full-text word segmentation processing on the medical record text to obtain all word segmentation information of the medical record text; Performing privacy-removal processing on the medical record text according to all word segmentation information and the privacy information whitelist, and feeding back the privacy-removal processing result to the server; The deprivacy processing of the medical record text according to all the word segmentation information and the privacy information whitelist includes: Determine whether each segmentation in all segmentation information matches any privacy information in the privacy information whitelist; wherein, select each segmentation in part of the segmentation information in turn; compare the selected segmentation with the privacy information in the privacy information whitelist in turn, and determine whether the segmentation matches the privacy information; wherein, select the privacy information in the privacy information whitelist in turn; determine whether the selected privacy information is a long word; if so, perform a fuzzy search on the privacy information in a containment or wildcard manner according to the segmentation to determine whether the segmentation matches the privacy information; if not, perform an exact match between the segmentation and the privacy information to determine whether the segmentation matches the privacy information; A replacement and update operation is performed on the word segmentation information in all the word segmentation information that matches any private information in the private information whitelist.

4. A privacy protection device for large batches of medical record data, characterized in that: The device comprises: A job creation unit, used to process a large number of medical record texts to be de-privacy processed, and to create a corresponding job to be processed for each medical record text, wherein the job to be processed includes the medical record text and a privacy information whitelist corresponding to the medical record text; The job distribution unit is used to distribute all the pending jobs to each client in sequence, so that each client performs privacy removal processing on the medical record text according to the privacy information whitelist; each client performs privacy removal processing on the medical record text according to the privacy information whitelist, including: determining whether each segmentation in all segmentation information matches any privacy information in the privacy information whitelist; performing a replacement and update operation on the segmentation information in all segmentation information that matches any privacy information in the privacy information whitelist; wherein the determination of whether each segmentation in all segmentation information matches any privacy information in the privacy information whitelist includes: selecting each segmentation in part of the segmentation information in sequence; The selected word segmentation is compared with the privacy information in the privacy information whitelist in turn to determine whether the word segmentation matches the privacy information; wherein, the privacy information in the privacy information whitelist is selected in turn; it is determined whether the selected privacy information is a long word; if so, a fuzzy search is performed on the privacy information in a containment or wildcard manner according to the word segmentation to determine whether the word segmentation matches the privacy information; if not, the word segmentation is accurately matched with the privacy information to determine whether the word segmentation matches the privacy information; the server is responsible for managing all initial medical record texts and corresponding keywords, monitoring the operation of each client, distributing and scheduling jobs in a timely manner, and summarizing the results; The result acquisition unit is used to receive the de-privacy processing results of the pending job by each of the clients.

5. A privacy protection device for large batches of medical record data, characterized in that: The device comprises: The job receiving unit is used to receive the pending jobs sent by the server, wherein the pending jobs include the medical record text and the privacy information whitelist corresponding to the medical record text; the server is responsible for managing all initial medical record texts and corresponding keywords, monitoring the operation status of each client, distributing and scheduling jobs in a timely manner, and summarizing the results; A word segmentation processing unit, used to perform full-text word segmentation processing on the medical record text using Chinese word segmentation technology to obtain all word segmentation information of the medical record text; A privacy removal processing unit, for performing privacy removal processing on the medical record text according to all the word segmentation information and the privacy information whitelist, and feeding back the privacy removal processing result to the server; comprising: determining whether each word segmentation in all the word segmentation information matches any privacy information in the privacy information whitelist; performing a replacement and update operation on the word segmentation information in all the word segmentation information that matches any privacy information in the privacy information whitelist; wherein the determining whether each word segmentation in all the word segmentation information matches any privacy information in the privacy information whitelist comprises: selecting each word segmentation in part of the word segmentation information in turn; comparing the selected word segmentation with the privacy information in the privacy information whitelist in turn, and determining whether the word segmentation matches the privacy information; wherein the privacy information in the privacy information whitelist is selected in turn; determining whether the selected privacy information is a long word; if yes, performing a fuzzy search on the privacy information by including or wildcarding according to the word segmentation, and determining whether the word segmentation matches the privacy information; if not, performing an accurate match between the word segmentation and the privacy information, and determining whether the word segmentation matches the privacy information.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method according to any one of claims 1 to 3 is implemented.

7. A computer storage medium, characterized in that: The storage medium stores at least one executable instruction, and the executable instruction enables the processor to execute the method as described in any one of claims 1-3.

Citation Information

Patent Citations

  • Scheduling method in patent value machine evaluation and a server

    CN109558998A

  • Medical data processing method and device, storage medium and electronic equipment

    CN110289059A

  • Method, device and system for desensitization and reduction of electronic medical record, and medium

    CN111984987A

  • Data desensitization method and device, medium and electronic equipment

    CN112257108A

  • Patient information desensitization processing method and system combined with artificial intelligence

    CN116305285A