A pathological diagnosis system and method based on edge computing and service device
Through the combination of edge-side computing technology and secure links, the problem of low efficiency of preservation and diagnosis of traditional pathological slide examination has been solved, efficient identification and privacy protection of pathological slides have been achieved, and the diagnostic accuracy and efficiency of many hospitals have been improved.
Patent Information
- Application Number
- CN202010344137.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-27
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-04-27
AI Technical Summary
Traditional pathological biopsy examinations have problems such as difficulty in preservation, difficulty in simultaneous observation by multiple people, and low diagnostic efficiency, and it is difficult to protect patient privacy.
A pathological diagnosis system based on edge-side computing is adopted, including a digital slice scanner, edge-side computing terminal, doctor diagnosis workstation and edge-side integrated computing server. The pre-processing and preliminary diagnosis of pathological slice digital images are carried out through edge computing, combined with the doctor's diagnosis results. Conduct comprehensive analysis and protect patient privacy through secure links, leveraging data from multiple hospitals for model training and optimization.
It improves the recognition efficiency and diagnostic accuracy of pathological slices, achieves accurate identification and segmentation of lesions, protects patient privacy, and continuously optimizes the model through a joint learning mechanism, improving the robustness and recognition efficiency of the system.
Smart Images

Figure CN111370098B
Abstract
Description
Technical Field
[0001] The present invention belongs to the interdisciplinary field of medical image recognition, edge computing and automation system engineering, and specifically relates to a pathology diagnosis system and method based on edge computing and service devices. Background Art
[0002] Pathological section examination has a very wide range of applications in medicine. It plays a very important role in both the histological examination of diseases and the judgment of the nature of tumors. However, traditional pathological sections are not easy to preserve. Repeated use will cause wear and tear. In addition, users need to use microscopes when observing pathological sections, and multiple people cannot observe at the same time. These shortcomings are inevitable. With the development of society, pathological sections can avoid the above shortcomings after being digitized, and it can also facilitate researchers' future processing and research. Summary of the invention
[0003] In order to solve the deficiencies in the prior art, the present invention proposes a pathology diagnosis system and method based on an edge computing device. Among them, a pathology diagnosis system based on an edge computing device includes: a digital slice scanner, an edge computing terminal, a doctor's diagnosis workstation, and an edge integrated computing server;
[0004] The digital slice scanner is connected to the edge-side computing terminal, and the edge-side computing terminal is respectively connected to the doctor's diagnosis workstation and the edge-side integrated server;
[0005] The digital slice scanner scans the pathological slice into a pathological slice digital image, and transmits the pathological slice digital image to the edge-side computing terminal;
[0006] The edge-side computing terminal receives the digital image of the pathological slice transmitted by the digital slice scanner, performs edge computing processing on the digital image of the pathological slice, gives a preliminary diagnosis result, including the recognition result and segmentation result of the lesion site, and transmits the digital image of the pathological slice processed by edge computing and the preliminary diagnosis result to the doctor's diagnosis workstation; at the same time, receives the doctor's diagnosis result fed back by the doctor's diagnosis workstation and confirms the marked part, and combines the preliminary diagnosis result and the doctor's diagnosis result into a test result, and encrypts the test result and transmits it to the edge-side integrated computing server;
[0007] At the doctor's diagnosis workstation, the doctor makes a medical diagnosis based on the digital image of the pathological slice after edge computing, and transmits the doctor's diagnosis result to the edge computing terminal.
[0008] The edge-side integrated computing server: receives the encrypted test results transmitted from the edge-side computing terminal, performs a new round of training based on the previously trained model, and transmits the model parameters after the new round of training to the edge-side computing terminal.
[0009] The edge-side integrated computing server is placed at a remote end;
[0010] The edge computing terminal is placed inside the hospital.
[0011] The edge-side integrated computing server is used by multiple hospitals. The encrypted test results of each hospital are transmitted to the same edge-side integrated computing server. The edge-side integrated computing server uses the encrypted test results of all hospitals to re-perform a new round of training, and transmits the model parameters after the new round of training to the edge-side computing terminals of each hospital.
[0012] The edge-side integrated computing server filters out patient information when conducting a new round of training, and transmits it to the edge-side computing device in each hospital system through a secure link, thereby achieving the purpose of protecting patient privacy.
[0013] The secure link includes:
[0014] (1) Filter out the patient’s basic information, such as patient name, age, gender, etc.
[0015] (2) Encrypt the information in the secure link so that the secure link can only be opened with the key;
[0016] First, the original file is hashed; second, a random number is generated to encrypt the original file; finally, the random number is encrypted using the public key to ensure that only the edge-side integrated computing server can open the secure link.
[0017] A pathology diagnosis method based on an edge computing device is implemented using the pathology diagnosis system based on an edge computing device, and the specific steps are as follows:
[0018] Step S1: Scanning the pathological slice into a pathological slice digital image using a digital slice scanner, and transmitting the pathological slice digital image to the edge side computing terminal;
[0019] Step S2: using the edge computing terminal to receive the digital image of the pathological slice transmitted by the digital slice scanner, performing edge computing processing on the digital image of the pathological slice, and providing a preliminary diagnosis result, including a lesion site identification result and a segmentation result, and transmitting the digital image of the pathological slice after edge computing processing and the preliminary diagnosis result to the doctor's diagnosis workstation;
[0020] Step S3: Through the doctor's diagnosis workstation, the doctor makes a medical diagnosis based on the digital image of the pathological section after edge computing, and transmits the doctor's diagnosis result to the edge computing terminal.
[0021] Step S4: Use the edge computing terminal to integrate the doctor's diagnosis results fed back by the doctor's diagnosis workstation and the preliminary diagnosis results generated in step S2 to generate a test result, and encrypt the test result and pass it to the edge integrated computing server.
[0022] Step S5: Use the edge-side integrated computing server to perform a new round of model training based on the encrypted test results transmitted from the edge-side computing terminal, and transmit the model parameters after the new round of training to the edge-side computing terminal.
[0023] In step S2, edge computing is performed and a preliminary diagnosis result is given as follows:
[0024] Step S2.1: Standardize and preprocess the digital images of pathological sections;
[0025] Step S2.1.1: normalizing the digital images of pathological sections;
[0026] Step S2.1.2: sharpening the normalized digital image of the pathological section;
[0027] Step S2.1.3: Crop the sharpened digital image to a specified size.
[0028] Step S2.2: The pre-processed digital image of the pathological section is processed by edge computing and a preliminary diagnosis result is given;
[0029] S2.2.1: Set initial model parameters;
[0030] S2.2.2: Put the preprocessed digital images of pathological sections into the U-net network for testing, and output the preliminary diagnosis results, i.e., multiple images with lesion site identification and segmentation; the U-net network is the initial network model and model parameters that have been trained using the U-net algorithm and transmitted by the edge-side integrated computing server;
[0031] S2.2.3 receives the new model parameters transmitted by the edge-side integrated computing server, goes to step S2.2.2, replaces the original model parameters with the new model parameters, waits for the next preprocessed pathological slice digital image to be processed, and outputs the result of the next preliminary diagnosis.
[0032] After the steps S1 to S5, the step S6 is also included, which is specifically as follows:
[0033] Step S6: Multiple hospitals use the same edge-side integrated computing server, which receives digital images of digital pathology slices diagnosed by doctors from each hospital system, divides these images into training sets, validation sets, and test sets, and inputs the training sets and test sets into the created network model. Based on the previously trained weights, the model is retrained, new model parameters are output, and the new model parameters are passed to the edge-side computing terminals of each hospital.
[0034] Beneficial effects achieved by this application:
[0035] The present invention proposes a pathology diagnosis system and method based on an edge computing device. By combining edge computing technology with a digital scanner, digital images can be more conveniently saved, transmitted, calculated, and the like. Lesions can be identified and initially diagnosed while scanning and storing. The system can be connected to a doctor's diagnosis platform and a remote consultation system, greatly improving the efficiency of pathology section recognition.
[0036] The present invention uses edge computing technology to quickly pre-process digital pathology sections to assist doctors in making accurate judgments. It also uses a joint learning mechanism to protect patient privacy while collecting training results from multiple hospital workstations and returning corresponding correction parameters. As the number of pathology section data from different hospitals continues to increase, the system will obtain a model with high robustness, fast recognition efficiency, and high recognition accuracy, and optimize the diagnosis of assisted doctors. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 This is a system structure diagram of a pathology diagnosis system based on edge computing and service devices for a hospital according to an embodiment of the present invention;
[0038] Figure 2 This is a structural diagram of a multi-hospital joint training system according to an embodiment of the present invention;
[0039] Figure 3 This is an overall architecture diagram of joint training of multiple hospitals in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The present application is further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present application.
[0041] The present invention proposes a pathology diagnosis system and method based on edge computing and service devices. A pathology diagnosis system based on edge computing and service devices, when applied in a hospital, Figure 1 As shown, it includes: a digital slice scanner, an edge computing terminal, a doctor's diagnosis workstation and an edge integrated computing server;
[0042] The digital slice scanner is connected to the edge-side computing terminal, and the edge-side computing terminal is respectively connected to the doctor's diagnosis workstation and the edge-side integrated server;
[0043] The digital slice scanner scans the pathological slice into a pathological slice digital image, and transmits the pathological slice digital image to the edge-side computing terminal;
[0044] The edge-side computing terminal receives the digital image of the pathological slice transmitted by the digital slice scanner, performs edge computing processing on the digital image of the pathological slice, gives a preliminary diagnosis result, including a lesion site identification result and a segmentation result, and transmits the digital image of the pathological slice processed by edge computing and the preliminary diagnosis result to the doctor's diagnosis workstation; at the same time, receives the doctor's diagnosis result fed back by the doctor's diagnosis workstation and confirms the marked part thereof, combines the preliminary diagnosis result and the doctor's diagnosis result into a test result, and transmits the encrypted test result to the edge-side integrated computing server;
[0045] The doctor's diagnosis workstation, where the doctor makes a medical diagnosis based on the digital image of the pathological slice after edge computing, and transmits the doctor's diagnosis result to the edge computing terminal;
[0046] The edge-side integrated computing server: receives the encrypted test results transmitted from the edge-side computing terminal, performs a new round of training based on the previously trained model, and transmits the model parameters after the new round of training to the edge-side computing terminal.
[0047] The edge-side computing terminal and the edge-side integrated computing server are collectively referred to as an edge-side computing and service device.
[0048] The edge-side integrated computing server is placed at a remote end;
[0049] The edge computing terminal is placed inside the hospital.
[0050] The edge-side integrated computing server, if multiple hospitals apply the system, such as Figure 2 , Figure 3 As shown, multiple hospitals use the same edge integrated computing server, and the encrypted test results of each hospital are transmitted to the same edge integrated computing server. The edge integrated computing server uses the encrypted test results of all hospitals to re-perform a new round of training, and transmits the model parameters after the new round of training to the edge computing terminals of each hospital.
[0051] The edge-side integrated computing server, when conducting a new round of training, transmits the data to the edge-side computing device in each hospital system through a secure link.
[0052] The secure link includes:
[0053] (1) Filter out the patient’s basic information;
[0054] (2) Encrypt the information in the secure link so that the secure link can only be opened with the key.
[0055] First, the original file is hashed; second, a random number is generated to encrypt the original file; finally, the random number is encrypted using the public key to ensure that only the edge-side integrated computing server can open the secure link.
[0056] A pathological diagnosis method based on edge computing and service devices is implemented by a pathological diagnosis system based on edge computing and service devices, and the specific steps are as follows:
[0057] Step S1: Scanning the pathological slice into a pathological slice digital image using a digital slice scanner, and transmitting the pathological slice digital image to the edge side computing terminal;
[0058] Step S2: using the edge computing terminal to receive the digital image of the pathological slice transmitted by the digital slice scanner, performing edge computing processing on the digital image of the pathological slice, and providing a preliminary diagnosis result, including a lesion site identification result and a segmentation result, and transmitting the digital image of the pathological slice after edge computing processing and the preliminary diagnosis result to the doctor's diagnosis workstation;
[0059] Step S3: Through the doctor's diagnosis workstation, the doctor makes a medical diagnosis based on the digital image of the pathological slice after edge computing, and transmits the doctor's diagnosis result to the edge computing terminal;
[0060] Step S4: Using the edge computing terminal, the doctor's diagnosis result fed back by the doctor's diagnosis workstation and the preliminary diagnosis result generated in step S2 are integrated to generate a test result, and the test result is encrypted and transmitted to the edge integrated computing server;
[0061] Step S5: Use the edge-side integrated computing server to perform a new round of model training based on the encrypted test results transmitted from the edge-side computing terminal, and transmit the model parameters after the new round of training to the edge-side computing terminal.
[0062] In the step S2, specifically:
[0063] Step S2.1: Standardize and preprocess the digital images of pathological sections;
[0064] Step S2.2: The preprocessed digital image of the pathological section is processed by edge computing and a preliminary diagnosis result is given.
[0065] The standardized preprocessing process is as follows:
[0066] Step S2.1.1: normalizing the digital images of pathological sections;
[0067] In order to eliminate the interference of uneven light on the image, we normalize the image, that is, divide each pixel of each channel of the image by 255, so that each pixel f(x,y) is limited to between 0 and 1.
[0068] Step S2.1.2: sharpening the normalized digital image of the pathological section;
[0069] In order to make the edge features of the image more obvious and the model recognition more accurate, the present invention uses the Laplace operator to sharpen the image, that is, the Laplace convolution kernel is used to convolve each 3*3 pixel of the image.
[0070]
[0071] Step S2.1.3: Crop the sharpened digital image to a specified size.
[0072] Since the pathological slice image is too large, the embodiment of the present application crops the sharpened image into a 1024*1024 size image using a sliding window.
[0073] In step 2.2, specifically:
[0074] S2.2.1: Set initial model parameters;
[0075] S2.2.2: Put the preprocessed digital images of pathological sections into the U-net network for testing, and output the preliminary diagnosis results, i.e., multiple images with lesion site identification and segmentation; the U-net network is the initial network model and model parameters that have been trained using the U-net algorithm and transmitted by the edge-side integrated computing server;
[0076] The U-net algorithm and the specific process of establishing a U-net network are both prior art and will not be described in detail in this application.
[0077] S2.2.3 receives the new model parameters transmitted by the edge-side integrated computing server, goes to step S2.2.2, replaces the original model parameters with the new model parameters, waits for the next preprocessed pathological slice digital image to be processed, and outputs the result of the next preliminary diagnosis.
[0078] After the steps S1 to S5, the step S6 is also included, which is specifically as follows:
[0079] Step S6: Multiple hospitals use the same edge-side integrated computing server, which receives digital images of digital pathology slices diagnosed by doctors transmitted from each hospital system, divides these images into training set, validation set and test set, and inputs the training set and test set into the created network model. Based on the previously trained weights, the model is retrained, and the evaluation indicators of the corresponding segmentation or classification model are selected from the four detection indicators of F1-Score, ROC curve, PR curve and mAP for evaluation according to the test results. When the evaluation score exceeds the set threshold (generally determined by medical experts), the training is stopped, and the new model parameters are output and passed to the edge computing terminals of each hospital.
[0080] The four detection indicators of F1-Score, ROC curve, PR curve and mAP all have existing technologies and will not be described in detail in this application.
[0081] (1) The cropped images sent from various hospitals are divided into 60% training set, 20% validation set, and 20% test set. (2) The training set and test set are input into the network, and the model is retrained based on the previously trained weights. The training is stopped when the test set shows good results.
[0082] The applicant of the present invention has made a detailed explanation and description of the implementation examples of the present invention in conjunction with the drawings in the specification. However, those skilled in the art should understand that the above implementation examples are only preferred implementation schemes of the present invention, and the detailed description is only to help readers better understand the spirit of the present invention, but not to limit the scope of protection of the present invention. On the contrary, any improvements or modifications based on the inventive spirit of the present invention should fall within the scope of protection of the present invention.
Claims
1. A pathological diagnosis system based on edge computing and service devices, It is characterized in that Includes: digital slice scanner, edge computing terminal, doctor diagnosis workstation and edge integrated computing server; The digital slice scanner is connected to the edge-side computing terminal, and the edge-side computing terminal is respectively connected to the doctor's diagnosis workstation and the edge-side integrated server; The digital slice scanner scans the pathological slice into a pathological slice digital image, and transmits the pathological slice digital image to the edge-side computing terminal; The edge-side computing terminal receives the digital image of the pathological slice transmitted by the digital slice scanner, performs edge computing processing on the digital image of the pathological slice, gives a preliminary diagnosis result, and transmits the digital image of the pathological slice processed by edge computing and the preliminary diagnosis result to the doctor's diagnosis workstation; at the same time, it receives the doctor's diagnosis result fed back by the doctor's diagnosis workstation, combines the preliminary diagnosis result and the doctor's diagnosis result into a test result, and transmits the encrypted test result to the edge-side integrated computing server; The doctor's diagnosis workstation, where the doctor makes a medical diagnosis based on the digital image of the pathological slice after edge computing, and transmits the doctor's diagnosis result to the edge computing terminal; The edge-side integrated computing server: receives the encrypted test result transmitted by the edge-side computing terminal, performs a new round of training based on the previously trained model, and transmits the model parameters after the new round of training to the edge-side computing terminal; The edge-side integrated computing server is used by multiple hospitals. The encrypted test results of each hospital are transmitted to the same edge-side integrated computing server. The edge-side integrated computing server uses the encrypted test results of all hospitals to re-perform a new round of training, and transmits the model parameters after the new round of training to the edge-side computing terminals of each hospital.
2. The pathological diagnosis system based on edge computing and service devices according to claim 1, characterized in that: The edge-side integrated computing server is placed at a remote end; The edge computing terminal is placed inside the hospital.
3. The pathological diagnosis system based on edge computing and service devices according to claim 2, characterized in that: When the edge-side integrated computing server conducts a new round of training, it transmits the data to the edge-side computing device in each hospital system through a secure link.
4. The pathological diagnosis system based on edge computing and service devices according to claim 3 is characterized in that: The secure link includes: (1) Filter out the patient’s basic information; (2) Encrypt the information in the secure link so that the secure link can only be opened with the key.
5. A pathological diagnosis method based on edge computing and service devices, which is implemented by the pathological diagnosis system based on edge computing and service devices according to any one of claims 1 to 4, and the specific steps are as follows: Step S1: Scanning the pathological slice into a pathological slice digital image using a digital slice scanner, and transmitting the pathological slice digital image to the edge side computing terminal; Step S2: using the edge computing terminal to receive the digital image of the pathological slice transmitted by the digital slice scanner, performing edge computing processing on the digital image of the pathological slice, and giving a preliminary diagnosis, and transmitting the digital image of the pathological slice processed by edge computing and the preliminary diagnosis result to the doctor's diagnosis workstation; Step S3: Through the doctor's diagnosis workstation, the doctor makes a medical diagnosis based on the digital image of the pathological slice after edge computing, and transmits the doctor's diagnosis result to the edge computing terminal; Step S4: Using the edge computing terminal, the doctor's diagnosis result fed back by the doctor's diagnosis workstation and the preliminary diagnosis result generated in step S2 are integrated to generate a test result, and the test result is encrypted and transmitted to the edge integrated computing server; Step S5: using the edge-side integrated computing server to perform a new round of model training according to the encrypted test results transmitted by the edge-side computing terminal, and transmitting the model parameters after the new round of training to the edge-side computing terminal; After the steps S1 to S5, the step S6 is also included, which is specifically as follows: Step S6: Multiple hospitals use the same edge-side integrated computing server, which receives digital images of digital pathology slices diagnosed by doctors from each hospital system, divides these images into training sets, validation sets, and test sets, and inputs the training sets and test sets into the created network model. Based on the previously trained weights, the model is retrained, new model parameters are output, and the new model parameters are passed to the edge-side computing terminals of each hospital.
6. The pathological diagnosis method based on edge computing and service devices according to claim 5, characterized in that: In the step S2, specifically: Step S2.1: Standardize and preprocess the digital images of pathological sections; Step S2.2: The preprocessed digital image of the pathological section is processed by edge computing and a preliminary diagnosis result is given.
7. The pathological diagnosis method based on edge computing and service devices according to claim 6 is characterized in that: The standardized preprocessing process is as follows: Step S2.1.1: normalizing the digital images of pathological sections; Step S2.1.2: sharpening the normalized digital image of the pathological section; Step S2.1.3: Crop the sharpened digital image to a specified size.
8. The pathological diagnosis method based on edge computing and service devices according to claim 7, characterized in that: In the step S2.2, specifically: S2.2.1: Set initial model parameters; S2.2.2: Put the preprocessed digital images of pathological sections into the U-net network for testing, and output the preliminary diagnosis results, i.e., multiple images with lesion site identification and segmentation; the U-net network is the initial network model and model parameters that have been trained using the U-net algorithm and transmitted by the edge-side integrated computing server; S2.2.3 receives the new model parameters transmitted by the edge-side integrated computing server, goes to step S2.2.2, replaces the original model parameters with the new model parameters, waits for the next preprocessed pathological slice digital image to be processed, and outputs the result of the next preliminary diagnosis.
