A medical image cache processing method based on big data processing

Classification, labeling and compression processing of medical imaging data are carried out through self-supervised image representation models and improved deep learning algorithm models, combined with cloud caching and cache management models, which solves the problem of low efficiency of traditional medical image caching processing and achieves a more efficient and more efficient Accurate and more secure data management and processing.

CN118116554BActive Publication Date: 2024-08-27CHONGQING MEDICAL UNIV SHAOXING KEQIAO MEDICAL LAB TECH RES CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410232171.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-01
Publication Date
2024-08-27
Estimated Expiration
2044-03-01

AI Technical Summary

Technical Problem

Traditional medical image caching processing methods are inefficient and cannot process and manage large-scale medical imaging data quickly and accurately. They lack management strategies for deep feature extraction and optimization, resulting in inefficient data management.

Method used

The self-supervised image representation model is used for classification labeling processing, the improved deep learning algorithm model is used for compression processing, the cloud cache server is used for distributed caching processing, and the cache management model is used for data management, combined with security encryption algorithms and permission control mechanisms.

Benefits of technology

It improves the accuracy and efficiency of medical imaging data processing, ensures data security and management stability, and enhances the accuracy and automation intelligence of classification and recognition results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118116554B
    Figure CN118116554B
Patent Text Reader

Abstract

The present invention discloses a medical image cache processing method based on big data processing, which relates to the technical field of big data processing. First, image data acquisition and preprocessing are performed, and then the medical image data is classified and marked by image type, case type, location and severity of the disease. Then, the medical image data after classification and marking is compressed through an improved deep learning algorithm model, and then image distributed cache processing is performed, and cache data management is performed through a cache management model. The problem that the current medical image cache processing method has limited capacity, low cache efficiency and difficulty in timely updating of cache data is solved. The present invention can realize fast and accurate cache processing of medical image data, improve the efficiency of doctors in diagnosing and treating patients, and greatly improve the data information processing capability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of big data processing, and more specifically to a medical image cache processing method based on big data processing. Background Art

[0002] With the continuous development and popularization of medical imaging technology, the amount of medical imaging data has exploded. Medical imaging data is one of the important basic data in medical diagnosis and treatment. The amount of medical imaging data generated by medical institutions is increasing day by day. Because medical imaging files are usually very large and require a lot of storage space, direct access and processing of these data is often inefficient. Processing these data requires a lot of time and bandwidth, and medical imaging data files require efficient storage and management. Therefore, how to quickly and accurately access, share and manage these data has become a big problem. Traditional medical imaging data management methods, such as storing imaging data in local storage devices, cannot meet the needs of doctors' diagnosis and treatment.

[0003] However, traditional medical image cache processing methods lack data processing capabilities and can only use simple cache methods to store and access medical image data. They are unable to perform in-depth feature extraction and management of medical image data. Traditional medical image cache processing methods cannot quickly and accurately classify and identify medical image data and extract features. They lack targeted management strategies and have certain limitations in data accuracy. Traditional medical image cache processing methods use a single cache mechanism and cannot quickly and accurately cache medical image data, resulting in low cache efficiency. Traditional medical image cache processing methods lack an optimized cache data management model and cannot efficiently and stably manage cache data, resulting in low data management efficiency.

[0004] Therefore, the present invention discloses a medical image cache processing method based on big data processing, which optimizes the traditional medical image cache processing method by adopting a self-supervised image representation model to classify and label medical images, an improved deep learning algorithm model to compress medical images, a cloud cache server to perform distributed cache processing, and a cache management model to manage data, so as to achieve higher efficiency, higher accuracy and higher security. Summary of the invention

[0005] In view of the shortcomings of the prior art, the present invention discloses a medical image cache processing method based on big data processing, which optimizes the traditional medical image cache processing method by adopting a self-supervised image representation model to classify and mark medical images, an improved deep learning algorithm model to compress medical images, a cloud cache server to perform distributed cache processing, and a cache management model to perform data management, so as to achieve higher efficiency, higher accuracy and higher security; the self-supervised image representation model is adopted to classify and mark medical image data, and the improved deep learning algorithm model is adopted to compress medical image data, so that the data processing capability is strong and the features of medical image data can be extracted quickly and accurately; the self-supervised image representation model and the improved deep learning algorithm model are adopted to process medical image data, so that the precision and accuracy of data processing can be effectively improved, which is beneficial for doctors to diagnose and treat patients; the security of medical image data transmission and storage process is protected by a secure encryption algorithm and an authority control mechanism, so as to avoid security risks such as data leakage and tampering; the distributed cache processing is performed by a cloud cache server, so that medical image data can be cached quickly and accurately, and the cache efficiency is improved; the cache data management is performed by the cache management model, including index establishment, cache update and cleaning, so that the cache data can be managed efficiently and stably, and the data management efficiency is improved. At the same time, iterative optimization of classification and recognition results through image classification optimization model is conducive to improving the accuracy and stability of classification and recognition results; it has a high degree of automation and intelligence.

[0006] The present invention adopts the following technical solutions:

[0007] A medical image cache processing method based on big data processing includes the following steps:

[0008] Step 1: Image data acquisition and preprocessing: reading and acquiring medical image data through medical imaging equipment, and performing format conversion, image enhancement, noise removal and standardization operations on the input medical image data through the image processing server GPU. The medical image data includes X-rays, CT scan images, MRI magnetic resonance imaging and ultrasonic imaging;

[0009] Step 2: image classification labeling and segmentation processing, classifying and labeling the medical image data by image type, case type, location and severity of the disease through a self-supervised image representation model, and performing image classification and segmentation through a multi-attention mechanism, wherein the self-supervised image representation model includes a feature extractor, a decoder, a loss function unit, a contrast learning unit and a classifier, wherein the contrast learning unit iteratively optimizes the classification recognition results through an image classification optimization model, and the multi-attention mechanism captures the attention weights of different areas in the image through local search and global calculation;

[0010] Step 3: Image compression processing, using an improved deep learning algorithm model to perform lossless compression processing on the small blocks of medical image data that have been classified, marked and segmented. The improved deep learning algorithm model includes an adaptive quantization unit, a sparse entropy encoder, an estimator, a wavelet transform unit and a compression decoder. The adaptive quantization unit dynamically adjusts the pixel points of the small block of medical image data according to the characteristics of the small block of medical image data and the pixel value range. The sparse entropy encoder predicts and differentially encodes the pixel points of the small block of medical image data through entropy coding, and uses sparse representation to represent the small block of medical image data. The image data is characterized, the estimator estimates the error between the input data and the quantized data by calculating the mean square error of the signal before and after quantization, the wavelet transform unit optimizes the compression efficiency of the medical image data by high-efficiency wavelet transform, the compression decoder restores the original data by encoding the compressed data into a bit stream and decompressing it, the output end of the adaptive quantization unit is connected to the input end of the sparse entropy encoder, the output end of the sparse entropy encoder is connected to the input end of the estimator, the output end of the estimator is connected to the input end of the wavelet transform unit, and the output end of the wavelet transform unit is connected to the input end of the compression decoder;

[0011] Step 4: Real-time acceleration of data processing, accelerating the upload, processing and retrieval of medical images through a fully connected multi-source acceleration network, which uses a four-layer TCP / UDP transport protocol and an eight-layer HTTP / HTTPS cache protocol to listen to the forwarding method defined by the routing type, and distributes the image traffic to the backend server cluster for processing and retrieval based on the forwarding method;

[0012] Step 5: Distributed image cache processing: Distributed image cache processing is performed through a cloud cache server. The cloud cache server automatically adjusts the cache distribution of the medical image data using an adaptive dynamic balance model, and ensures data consistency among distributed computer nodes through data synchronization and backup mechanisms. The cloud cache server performs secure encryption during the transmission and storage of the medical image data through a secure encryption algorithm and a permission control mechanism.

[0013] Step six, cache data management, cache data management is performed through a cache management model, the cache management model includes an index creation unit, a cache update unit and a cache cleaning unit, and the index creation unit, cache update unit and cache cleaning unit work in parallel.

[0014] As a further technical solution of the present invention, the feature extractor extracts the features of the medical image data through a convolutional neural network, the decoder performs feature mapping and restores it to the original image through a deconvolutional neural network, and updates the parameters of the convolutional neural network through back propagation, the loss function unit uses contrast loss or triplet loss to minimize the distance between the medical image data of the same type and maximize the distance between the medical image data of different types, the contrast learning unit realizes data classification and recognition by encoding the medical image data of the same type into similar feature vectors and encoding the feature vectors of the medical image data of different types into dissimilar feature vectors, and iteratively optimizes the classification and recognition results through an image classification optimization model, the classifier uses an activation function to obtain the category probability distribution of the medical image data, and optimizes the parameters of the convolutional neural network by minimizing the cross entropy loss, the classifier realizes classification and recognition of the medical image data through a multi-classification network structure, the output end of the feature extractor is connected to the input end of the decoder, the output end of the decoder is connected to the input end of the loss function unit, the output end of the loss function unit is connected to the input end of the contrast learning unit, and the output end of the contrast learning unit is connected to the input end of the classifier.

[0015] As a further technical solution of the present invention, the image classification optimization model obtains the eigenvector by calculating the second-order information matrix and eigenvalue decomposition of the medical image data. The calculation formula of the second-order information matrix is:

[0016]

[0017] In formula (1), G represents the second-order information matrix, N is the number of medical imaging data, and x i is the i-th medical image data, u is the classification feature mean of the medical image data, (x i +u) T represents the transposition of the i-th medical image data and the classification feature mean of the medical image data, T represents the transposition operation, and the second-order information matrix is ​​subjected to eigenvalue decomposition to obtain eigenvalues ​​and eigenvectors, and the calculation formula is:

[0018] V∧V T =diag(λ1,λ2,...,λ p ) (2)

[0019] In formula (2), diag represents a diagonal matrix, p is the dimension of the eigenvector, λ1, λ2, ..., λ p is the corresponding eigenvalue in the eigenvector, V represents the eigenvector, V TRepresents the transpose of the eigenvector, takes the eigenvector V as the orthogonal transformation matrix, and maps the medical image data into a new low-dimensional space. The formula is:

[0020]

[0021] In formula (3), y i represents the low-dimensional spatial feature quantity of the i-th medical image data mapping; the image classification optimization model obtains the classification result based on dimensional space reconstruction and feature mapping, and the calculation formula is:

[0022]

[0023] In formula (4), X i represents the dimensional space reconstruction and feature mapping classification result of the i-th medical image data, τ represents the time-frequency characteristics of the i-th medical image data; the classification result is compared and analyzed with the true classification result, and the calculation formula is:

[0024]

[0025] In formula (5), F i represents the true classification result of the i-th medical image data, δ represents the difference between the calculated classification result and the true classification result, and when the difference exceeds the error threshold, iterative optimization continues.

[0026] As a further technical solution of the present invention, the adaptive dynamic balancing model automatically allocates and automatically expands data nodes based on a dynamic load balancing strategy and a dynamic routing mechanism. The operation of the adaptive dynamic balancing model includes the following steps:

[0027] S1, monitoring the load status of the data node, monitoring the operating status of the data node through the task manager and the performance monitor, and inputting the monitoring data into the adaptive dynamic balancing model, the operating status includes memory occupancy, disk occupancy, CPU utilization, node load and network bandwidth;

[0028] S2. Dynamically adjust data nodes. The adaptive dynamic balancing model uses a dynamic load balancing strategy to dynamically adjust data nodes. The dynamic load balancing strategy balances the data cache load between data nodes through a polling algorithm and performs adaptive adjustment of node failures by increasing the task volume of normal nodes.

[0029] S3, dynamically expand data nodes, and realize automatic expansion of data nodes according to actual load conditions and automatic expansion mechanism. The automatic expansion mechanism realizes high concurrency or large-scale data processing by adding data nodes;

[0030] S4. Dynamic routing mechanism. The adaptive dynamic balancing model realizes automatic allocation of data cache based on the dynamic routing mechanism. The dynamic routing mechanism selects the shortest path or the optimal path through an intelligent routing algorithm to perform data transmission in scenarios with complex network topology structures.

[0031] As a further technical solution of the present invention, the security encryption algorithm adopts a symmetric encryption algorithm to ensure the security and confidentiality of data, and encrypts the data transmission channel through the SSL / TLS protocol. The permission control mechanism records the access relationship between users and resources through the access control matrix, and implements permission control by dividing users into doctor, nurse, patient and administrator roles.

[0032] As a further technical solution of the present invention, the index establishment unit establishes a fast retrieval index through a hash table and a multi-way search data structure, and dynamically adjusts the index structure based on the access frequency and access evaluation of the data. The cache update unit manages the update process of the cache data through an incremental update method and a concurrency control strategy, and realizes data update synchronization between distributed cache nodes through a multi-copy consistency protocol. The cache cleaning unit records the number of times the cache data item is called through an access counter, and uses a clock circuit to trigger the clearing operation.

[0033] Positive beneficial effects:

[0034] The present invention discloses a medical image cache processing method based on big data processing, which optimizes the traditional medical image cache processing method by adopting a self-supervised image representation model to classify and label medical images, an improved deep learning algorithm model to compress medical images, a cloud cache server to perform distributed cache processing, and a cache management model to perform data management, so as to achieve higher efficiency, higher accuracy and higher security; the self-supervised image representation model is adopted to classify and label medical image data, and the improved deep learning algorithm model is adopted to compress medical image data, so that the data processing capability is strong and the features of medical image data can be extracted quickly and accurately; the self-supervised image representation model and the improved deep learning algorithm model are adopted to process medical image data, so that the precision and accuracy of data processing can be effectively improved, which is beneficial to the diagnosis and treatment of patients by doctors; the security of medical image data transmission and storage process is protected by a secure encryption algorithm and an authority control mechanism, so as to avoid security risks such as data leakage and tampering; the distributed cache processing is performed by a cloud cache server, so that medical image data can be cached quickly and accurately, so as to improve the cache efficiency; the cache data management is performed by the cache management model, including index establishment, cache update and cleaning, so that the cache data can be managed efficiently and stably, so as to improve the data management efficiency. At the same time, iterative optimization of classification and recognition results through image classification optimization model is conducive to improving the accuracy and stability of classification and recognition results; it has a high degree of automation and intelligence. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of a flow chart of a medical image cache processing method based on big data processing according to the present invention;

[0036] Figure 2 A module architecture diagram of a self-supervised image representation model in a medical image cache processing method based on big data processing according to the present invention;

[0037] Figure 3 This is a model architecture diagram of an improved deep learning algorithm model in a medical image cache processing method based on big data processing in the present invention.

[0038] Figure 4 A model architecture diagram of a cache management model in a medical image cache processing method based on big data processing according to the present invention;

[0039] Figure 5 The present invention is a flowchart of an adaptive dynamic balancing model in a medical image cache processing method based on big data processing. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] Figure 1-4 As shown, a medical image cache processing method based on big data processing includes the following steps:

[0042] Step 1: Image data acquisition and preprocessing: reading and acquiring medical image data through medical imaging equipment, and performing format conversion, image enhancement, noise removal and standardization operations on the input medical image data through the image processing server GPU. The medical image data includes X-rays, CT scan images, MRI magnetic resonance imaging and ultrasonic imaging;

[0043] Step 2: image classification labeling and segmentation processing, classifying and labeling the medical image data by image type, case type, location and severity of the disease through a self-supervised image representation model, and performing image classification and segmentation through a multi-attention mechanism, wherein the self-supervised image representation model includes a feature extractor, a decoder, a loss function unit, a contrast learning unit and a classifier, wherein the contrast learning unit iteratively optimizes the classification recognition results through an image classification optimization model, and the multi-attention mechanism captures the attention weights of different areas in the image through local search and global calculation;

[0044] Step 3: Image compression processing, using an improved deep learning algorithm model to perform lossless compression processing on the small blocks of medical image data that have been classified, marked and segmented. The improved deep learning algorithm model includes an adaptive quantization unit, a sparse entropy encoder, an estimator, a wavelet transform unit and a compression decoder. The adaptive quantization unit dynamically adjusts the pixel points of the small block of medical image data according to the characteristics of the small block of medical image data and the pixel value range. The sparse entropy encoder predicts and differentially encodes the pixel points of the small block of medical image data through entropy coding, and uses sparse representation to represent the small block of medical image data. The image data is characterized, the estimator estimates the error between the input data and the quantized data by calculating the mean square error of the signal before and after quantization, the wavelet transform unit optimizes the compression efficiency of the medical image data by high-efficiency wavelet transform, the compression decoder restores the original data by encoding the compressed data into a bit stream and decompressing it, the output end of the adaptive quantization unit is connected to the input end of the sparse entropy encoder, the output end of the sparse entropy encoder is connected to the input end of the estimator, the output end of the estimator is connected to the input end of the wavelet transform unit, and the output end of the wavelet transform unit is connected to the input end of the compression decoder;

[0045] Step 4: Real-time acceleration of data processing, accelerating the upload, processing and retrieval of medical images through a fully connected multi-source acceleration network, which uses a four-layer TCP / UDP transport protocol and an eight-layer HTTP / HTTPS cache protocol to listen to the forwarding method defined by the routing type, and distributes the image traffic to the backend server cluster for processing and retrieval based on the forwarding method;

[0046] Step 5: Distributed image cache processing: Distributed image cache processing is performed through a cloud cache server. The cloud cache server automatically adjusts the cache distribution of the medical image data using an adaptive dynamic balance model, and ensures data consistency among distributed computer nodes through data synchronization and backup mechanisms. The cloud cache server performs secure encryption during the transmission and storage of the medical image data through a secure encryption algorithm and a permission control mechanism.

[0047] Step six, cache data management, cache data management is performed through a cache management model, the cache management model includes an index creation unit, a cache update unit and a cache cleaning unit, and the index creation unit, cache update unit and cache cleaning unit work in parallel.

[0048] In the above embodiment, the feature extractor extracts the features of the medical image data through a convolutional neural network, the decoder performs feature mapping and restores it to the original image through a deconvolutional neural network, and updates the parameters of the convolutional neural network through back propagation, the loss function unit uses contrast loss or triplet loss to minimize the distance between the medical image data of the same type and maximize the distance between the medical image data of different types, the contrast learning unit realizes data classification and recognition by encoding the medical image data of the same type as similar feature vectors and encoding the feature vectors of the medical image data of different types as dissimilar feature vectors, and iteratively optimizes the classification and recognition results through an image classification optimization model, the classifier uses an activation function to obtain the category probability distribution of the medical image data, and optimizes the parameters of the convolutional neural network by minimizing the cross entropy loss, the classifier realizes classification and recognition of the medical image data through a multi-classification network structure, the output end of the feature extractor is connected to the input end of the decoder, the output end of the decoder is connected to the input end of the loss function unit, the output end of the loss function unit is connected to the input end of the contrast learning unit, and the output end of the contrast learning unit is connected to the input end of the classifier.

[0049] In a specific embodiment, the feature extractor performs feature extraction through a convolutional neural network, generally using a combination of components such as a convolutional layer, a pooling layer, and an activation function. The convolutional layer can learn information such as features and textures at different locations in the image, the pooling layer can reduce the dimension of the feature map and enhance the perception of local features, and the activation function can add nonlinearity to the output to improve the fitting ability of the model. Through the convolutional neural network, medical image data can be converted into a high-dimensional vector with abstract features, which is convenient for subsequent processing. The decoder restores the feature map through a deconvolutional neural network to reconstruct the original image. The deconvolutional neural network is similar to the convolutional neural network, but its number of layers and structure are opposite to those of the convolutional neural network, so the feature vector can be restored to the original medical image data. Through the deconvolutional neural network, functions such as image denoising, compression and feature extraction can be achieved. The loss function unit adopts contrast loss or triple loss, the purpose of which is to make the distance between medical image data of the same category as small as possible and the distance between medical image data of different categories as large as possible, thereby achieving data classification and recognition. Contrastive loss is to compare data of the same category with data of different categories, and train the model by minimizing the distance between data of the same category and maximizing the distance between data of different categories. Triplet loss is to compare data of the same category with two other randomly selected data, and train the model by minimizing the distance from data of the same category to other data of the same category and maximizing the distance from data of the same category to data of different categories. The contrastive learning unit achieves data classification and recognition by encoding medical imaging data of the same category into similar feature vectors and encoding data of different categories into dissimilar feature vectors. Similar feature vectors can be clustered together, and dissimilar feature vectors can be scattered together, thereby achieving data clustering and classification. The contrastive learning unit can be achieved by adding some special layers or modules to the convolutional neural network. The medical imaging data is iteratively optimized through the image classification optimization model, through training data, verification data and test data.

[0050] In the above embodiment, the image classification optimization model obtains the eigenvector by calculating the second-order information matrix and eigenvalue decomposition of the medical image data. The calculation formula of the second-order information matrix is:

[0051]

[0052] In formula (1), G represents the second-order information matrix, N is the number of medical imaging data, and x i is the i-th medical image data, u is the classification feature mean of the medical image data, (x i +u) Trepresents the transposition of the i-th medical image data and the classification feature mean of the medical image data, T represents the transposition operation, and the eigenvalue decomposition of the second-order information matrix is ​​performed to obtain the eigenvalue and eigenvector, and the calculation formula is:

[0053] V∧V T =diag(λ1,λ2,...,λ p )(2)

[0054] In formula (2), aiag represents a diagonal matrix, p is the dimension of the eigenvector, λ1, λ2, ..., λ p is the corresponding eigenvalue in the eigenvector, V represents the eigenvector, V T represents the transpose of the eigenvector, takes the eigenvector V as the orthogonal transformation matrix, and maps the medical image data into a new low-dimensional space. The formula is:

[0055]

[0056] In formula (3), y i represents the low-dimensional spatial feature quantity of the i-th medical image data mapping; the image classification optimization model obtains the classification result based on dimensional space reconstruction and feature mapping, and the calculation formula is:

[0057]

[0058] In formula (4), X i represents the dimensional space reconstruction and feature mapping classification result of the i-th medical image data, τ represents the time-frequency characteristics of the i-th medical image data; the classification result is compared and analyzed with the true classification result, and the calculation formula is:

[0059]

[0060] In formula (5), F i represents the true classification result of the i-th medical image data, δ represents the difference between the calculated classification result and the true classification result, and when the difference exceeds the error threshold, iterative optimization continues.

[0061] In a specific embodiment, the image classification optimization model is a technical solution that maps medical image data into a new low-dimensional space and classifies by calculating time-frequency features. Second-order information matrix calculation: calculate the second-order information matrix according to the characteristics of the medical image data. Eigenvalue decomposition: perform eigenvalue decomposition on the obtained second-order information matrix to obtain eigenvectors and corresponding eigenvalues. Mapping to a new low-dimensional space: use the obtained eigenvector as an orthogonal transformation matrix, and map the medical image data to a new low-dimensional space. Obtaining time-frequency features: Obtaining time-frequency features based on dimensional space reconstruction and feature mapping. Classification result calculation: Calculate the classification result using the obtained time-frequency features. Model optimization: By comparing the degree of difference between the actual classification results and the simulation classification results, adaptive optimization is performed according to the error threshold to improve the classification effect. In short, the image classification optimization model is a technical solution that maps medical image data into a new low-dimensional space and calculates time-frequency features for classification. This model can not only improve the classification accuracy and stability, but also can be adaptively optimized, thereby further improving the classification effect of the model. The hardware working environment of the image classification optimization model includes the following:

[0062] 1. High-performance computers: used to handle a large number of complex computing tasks, including data preprocessing, feature extraction, feature mapping, etc.

[0063] 2. Graphics processor: used to accelerate graphics operations and complex parallel calculations, and improve the computing efficiency of the model.

[0064] 3. Data storage device: used to store large-scale medical imaging data and the large amount of data required for model training.

[0065] 4. Monitors and display devices: used to display medical images and model calculation results.

[0066] 5. Network equipment: used for data transmission and model networking.

[0067] 6. Other auxiliary equipment: such as keyboard, mouse, printer, etc.

[0068] A certain amount of medical imaging data, including CT images and MRI images, was collected and randomly divided into two groups, one for training the model and the other for testing the model. The training data was input into the image classification optimization model (Group A) and the traditional neural network classification method (Group B), the feature vector was calculated and feature mapping was performed, the classification results were obtained, and the actual classification results were compared and analyzed. According to the experimental results, the classification accuracy and stability of various methods were compared, and the effectiveness and superiority of the image classification optimization model were evaluated. Five groups of experiments were repeated and recorded in Table 1.

[0069] Table 1 Results Statistics

[0070]

[0071]

[0072] According to the analysis of experimental results, the image classification optimization model has higher classification accuracy and higher classification stability than the traditional neural network classification method. The average classification accuracy of the five groups of experiments was 90%, and the average classification stability was at a high level, which proved the effectiveness and superiority of the image classification optimization model, and it can have broad application prospects in the fields of classification, diagnosis, and treatment of medical image data.

[0073] In the above embodiment, Figure 5 As shown, the adaptive dynamic balancing model automatically allocates and automatically expands data nodes based on dynamic load balancing strategy and dynamic routing mechanism. The work of the adaptive dynamic balancing model includes the following steps:

[0074] S1, monitoring the load status of the data node, monitoring the operating status of the data node through the task manager and the performance monitor, and inputting the monitoring data into the adaptive dynamic balancing model, the operating status includes memory occupancy, disk occupancy, CPU utilization, node load and network bandwidth;

[0075] S2. Dynamically adjust data nodes. The adaptive dynamic balancing model uses a dynamic load balancing strategy to dynamically adjust data nodes. The dynamic load balancing strategy balances the data cache load between data nodes through a polling algorithm and performs adaptive adjustment of node failures by increasing the task volume of normal nodes.

[0076] S3, dynamically expand data nodes, and realize automatic expansion of data nodes according to actual load conditions and automatic expansion mechanism. The automatic expansion mechanism realizes high concurrency or large-scale data processing by adding data nodes;

[0077] S4. Dynamic routing mechanism. The adaptive dynamic balancing model realizes automatic allocation of data cache based on the dynamic routing mechanism. The dynamic routing mechanism selects the shortest path or the optimal path through an intelligent routing algorithm to perform data transmission in scenarios with complex network topology structures.

[0078] In a specific embodiment, an adaptive dynamic balancing model: In the architecture of a cloud cache server, an adaptive dynamic balancing model is required to realize cache distribution and dynamic adjustment of medical imaging data. Among them, a load balancing algorithm and a hash algorithm can be used to realize distributed storage and access of data, thereby improving the performance and scalability of the system.

[0079] In the above embodiment, the security encryption algorithm adopts a symmetric encryption algorithm to ensure the security and confidentiality of the data, and encrypts the data transmission channel through the SSL / TLS protocol. The permission control mechanism records the access relationship between users and resources through the access control matrix, and implements permission control by dividing users into doctor, nurse, patient and administrator roles.

[0080] In a specific embodiment, the security encryption algorithm uses a symmetric encryption algorithm to ensure the security and confidentiality of data. The specific steps are as follows: A symmetric encryption algorithm is a technology that converts plaintext into ciphertext, and the same secret key is used for encryption and decryption. Therefore, during data transmission, the sender and the receiver need to share the same secret key. Commonly used symmetric encryption algorithms include AES, DES, 3DES, etc. These algorithms have the characteristics of fast calculation speed, high encryption and decryption efficiency, and can effectively protect the confidentiality of data. In practical applications, in order to further enhance data security, the SSL / TLS protocol can be used to encrypt the data transmission channel. This protocol can establish a secure channel on the network and ensure the identity authentication and information integrity between the communicating parties through public key encryption technology. The permission control mechanism records the access relationship between users and resources through an access control matrix, and implements permission control by dividing users into doctor, nurse, patient and administrator roles. The specific steps are as follows: The access control matrix is ​​a data structure that records the access relationship between users and resources. The matrix contains two dimensions: user ID and resource ID, and marks whether the user has the right to access the resource. According to the user's role (such as doctor, nurse, patient and administrator), it is assigned corresponding permissions. For example, doctors can view and modify patient medical records, while nurses can only view medical records. When a user accesses a resource, the system determines whether the user has the right to access the resource based on the access control matrix. If the user has the right to access the resource, the user is allowed to perform the operation; otherwise, the access request is denied. In order to further enhance system security, other auxiliary measures can be adopted, such as identity authentication, session management, log auditing, etc.

[0081] In the above embodiment, the index establishment unit establishes a fast retrieval index through a hash table and a multi-way search data structure, and dynamically adjusts the index structure based on the access frequency and access evaluation of the data. The cache update unit manages the update process of the cache data through an incremental update method and a concurrency control strategy, and realizes data update synchronization between distributed cache nodes through a multi-copy consistency protocol. The cache cleaning unit records the number of times the cache data item is called through an access counter, and uses a clock circuit to trigger the clearing operation.

[0082] In a specific embodiment, the index establishment unit establishes a fast retrieval index through a hash table and a multi-way search data structure, and the specific steps are as follows: select a suitable hash function according to data characteristics and requirements, and map the data into the hash table. In order to improve the retrieval efficiency, a multi-way search tree (such as a B+ tree, a B* tree, etc.) can be used to optimize the hash table. This can reduce the occurrence of hash conflicts and enable fast searches between different nodes. The index structure is dynamically adjusted based on the access frequency and access evaluation of the data. For example, when a data item is frequently accessed, it can be moved to a higher-level search tree to improve retrieval efficiency; when a data item has not been accessed for a long time, it can be moved to a lower-level search tree to reduce memory usage. The cache update unit manages the update process of cache data through an incremental update method and a concurrency control strategy, and realizes data update synchronization between distributed cache nodes through a multi-copy consistency protocol. The specific steps are as follows: using an incremental update method, only the part that needs to be modified is updated instead of the entire cache block. This can reduce network transmission overhead and CPU resource consumption. In order to avoid data inconsistency caused by multiple clients modifying the data of the same cache block at the same time, a concurrent control strategy (such as a read-write lock, a mutex lock, etc.) is used to protect the cache block. Data update synchronization between distributed cache nodes is achieved through a multi-copy consistency protocol (such as the Paxos algorithm, the Raft algorithm, etc.). In this way, even if a node is down, the data can be restored through other nodes. The cache cleaning unit records the number of times the cache data item is called through an access counter, and uses a clock circuit to trigger the clearing operation. The specific steps are as follows: an access counter is set for each cache block, and the counter is increased by 1 each time it is accessed. When the memory space is insufficient, which cache blocks are "hot" and which are "cold" are determined based on factors such as the access counter and the most recent use time, and the "cold" cache blocks are removed from the memory to free up space. The clock circuit is used to trigger the clearing operation. Specifically, all cache blocks are sorted according to the most recent use time, and a pointer points to the oldest cache block. When a "cold" cache block needs to be removed, the cache blocks are scanned from the pointer position, and the first unused cache block is found and removed. At the same time, the pointer points to the next cache block for the next cleanup operation.

[0083] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that these specific embodiments are only illustrative, and those skilled in the art may omit, replace, and change the details of the above methods and systems in various ways without departing from the principles and essence of the present invention. For example, merging the above method steps so as to perform substantially the same functions in substantially the same manner to achieve substantially the same results is within the scope of the present invention. Therefore, the scope of the present invention is limited only by the appended claims.

Claims

1. A medical image cache processing method based on big data processing, characterized in that: The following steps are involved: Step 1: Image data acquisition and preprocessing: reading and acquiring medical image data through medical imaging equipment, and performing format conversion, image enhancement, noise removal and standardization operations on the input medical image data through the image processing server GPU. The medical image data includes X-rays, CT scan images, MRI magnetic resonance imaging and ultrasonic imaging; Step 2: image classification labeling and segmentation processing, classifying and labeling the medical image data by image type, case type, location and severity of the disease through a self-supervised image representation model, and performing image classification and segmentation through a multi-attention mechanism, wherein the self-supervised image representation model includes a feature extractor, a decoder, a loss function unit, a contrast learning unit and a classifier, wherein the contrast learning unit iteratively optimizes the classification recognition results through an image classification optimization model, and the multi-attention mechanism captures the attention weights of different areas in the image through local search and global calculation; Step 3: Image compression processing, using an improved deep learning algorithm model to perform lossless compression processing on the small blocks of medical image data that have been classified, marked and segmented. The improved deep learning algorithm model includes an adaptive quantization unit, a sparse entropy encoder, an estimator, a wavelet transform unit and a compression decoder. The adaptive quantization unit dynamically adjusts the pixel points of the small block of medical image data according to the characteristics of the small block of medical image data and the pixel value range. The sparse entropy encoder predicts and differentially encodes the pixel points of the small block of medical image data through entropy coding, and uses sparse representation to represent the small block of medical image data. The image data is characterized, the estimator estimates the error between the input data and the quantized data by calculating the mean square error of the signal before and after quantization, the wavelet transform unit optimizes the compression efficiency of the medical image data by high-efficiency wavelet transform, the compression decoder restores the original data by encoding the compressed data into a bit stream and decompressing it, the output end of the adaptive quantization unit is connected to the input end of the sparse entropy encoder, the output end of the sparse entropy encoder is connected to the input end of the estimator, the output end of the estimator is connected to the input end of the wavelet transform unit, and the output end of the wavelet transform unit is connected to the input end of the compression decoder; Step 4: Real-time acceleration of data processing, accelerating the upload, processing and retrieval of medical images through a fully connected multi-source acceleration network, which uses a four-layer TCP / UDP transport protocol and an eight-layer HTTP / HTTPS cache protocol to listen to the forwarding method defined by the routing type, and distributes the image traffic to the backend server cluster for processing and retrieval based on the forwarding method; Step 5: Distributed image cache processing: Distributed image cache processing is performed through a cloud cache server. The cloud cache server automatically adjusts the cache distribution of the medical image data using an adaptive dynamic balance model, and ensures data consistency among distributed computer nodes through data synchronization and backup mechanisms. The cloud cache server performs secure encryption during the transmission and storage of the medical image data through a secure encryption algorithm and a permission control mechanism. Step 6: cache data management: cache data management is performed through a cache management model, wherein the cache management model includes an index creation unit, a cache update unit, and a cache cleaning unit, and the index creation unit, the cache update unit, and the cache cleaning unit work in parallel; The feature extractor extracts the features of the medical image data through a convolutional neural network, the decoder performs feature mapping and restores it to the original image through a deconvolutional neural network, and updates the parameters of the convolutional neural network through back propagation, the loss function unit adopts contrast loss or triplet loss to minimize the distance between the medical image data of the same type and maximize the distance between the medical image data of different types, the contrast learning unit realizes data classification and recognition by encoding the medical image data of the same type into similar feature vectors and encoding the feature vectors of the medical image data of different types into dissimilar feature vectors, the classifier adopts an activation function to obtain the category probability distribution of the medical image data, and optimizes the parameters of the convolutional neural network by minimizing the cross entropy loss, the classifier realizes classification and recognition of the medical image data through a multi-classification network structure, the output end of the feature extractor is connected to the input end of the decoder, the output end of the decoder is connected to the input end of the loss function unit, the output end of the loss function unit is connected to the input end of the contrast learning unit, and the output end of the contrast learning unit is connected to the input end of the classifier; The feature extractor performs feature extraction through a convolutional neural network, and adopts a combination of convolutional layers, pooling layers, and activation function components. The convolutional layer learns the features and texture information at different positions in the image. The pooling layer reduces the dimension of the feature map and strengthens the perception of local features. The activation function adds nonlinearity to the output to improve the fitting ability of the model. The medical image data is converted into a high-dimensional vector with abstract features through a convolutional neural network. The decoder restores the feature map through a deconvolutional neural network to reconstruct the original image. The deconvolutional neural network is similar to the convolutional neural network, but its number of layers and structure are opposite to those of the convolutional neural network. The feature vector is restored to the original medical image data. The deconvolutional neural network is used to realize image denoising, compression and feature extraction. The loss function unit adopts contrast loss or triplet loss. The distance between different categories of medical image data is as large as possible. The contrast loss is to make the same type of medical image data The data is compared with the data of different categories, and the model is trained by minimizing the distance between the data of the same category and maximizing the distance between the data of different categories. The triplet loss is to compare the data of the same category with other two randomly selected data, and the model is trained by minimizing the distance from the data of the same category to other data of the same category and maximizing the distance from the data of the same category to data of different categories. The contrastive learning unit realizes data classification and recognition by encoding the medical imaging data of the same category into similar feature vectors and encoding the data of different categories into dissimilar feature vectors. Similar feature vectors are clustered together and dissimilar feature vectors are scattered together, thereby realizing data clustering and classification. The contrastive learning unit adds some special layers or modules to the convolutional neural network to achieve this. The medical imaging data is iteratively optimized through the image classification optimization model through training data, verification data and test data.

2. According to claim 1, a medical image cache processing method based on big data processing is characterized in that: The image classification optimization model obtains the eigenvector by calculating the second-order information matrix and eigenvalue decomposition of the medical image data. The calculation formula of the second-order information matrix is: In formula (1), represents the second-order information matrix, The amount of medical imaging data, is the i-th medical image data, The classification feature mean of the medical imaging data, represents the transposition of the i-th medical image data and the classification feature mean of the medical image data, T represents the transposition operation, and the eigenvalue decomposition of the second-order information matrix is ​​performed to obtain the eigenvalue and eigenvector, and the calculation formula is: In formula (2), represents a diagonal matrix, is the dimension of the feature vector, is the corresponding eigenvalue in the eigenvector, represents the feature vector, represents the transpose of the eigenvector, As an orthogonal transformation matrix, the medical image data is mapped into a new low-dimensional space. The formula is: In formula (3), Indicates The low-dimensional space feature quantity mapped by the medical image data; the image classification optimization model obtains the classification result based on dimensional space reconstruction and feature mapping, and the calculation formula is: In formula (4), Indicates The dimensional space reconstruction and feature mapping classification results of the medical image data are Indicates The time-frequency characteristics of the medical imaging data are compared and analyzed with the real classification results. The calculation formula is: In formula (5), Indicates The actual classification results of the medical imaging data are It indicates the difference between the calculated classification result and the true classification result. When the difference exceeds the error threshold, iterative optimization continues.

3. The method for caching medical images based on big data processing according to claim 1, characterized in that: The adaptive dynamic balancing model automatically allocates and automatically expands data nodes based on dynamic load balancing strategy and dynamic routing mechanism. The work of the adaptive dynamic balancing model includes the following steps: S1, monitoring the load status of the data node, monitoring the operating status of the data node through the task manager and the performance monitor, and inputting the monitoring data into the adaptive dynamic balancing model, the operating status includes memory occupancy, disk occupancy, CPU utilization, node load and network bandwidth; S2. Dynamically adjust data nodes. The adaptive dynamic balancing model uses a dynamic load balancing strategy to dynamically adjust data nodes. The dynamic load balancing strategy balances the data cache load between data nodes through a polling algorithm and performs adaptive adjustment of node failures by increasing the task volume of normal nodes. S3, dynamically expand data nodes, and realize automatic expansion of data nodes according to actual load conditions and automatic expansion mechanism. The automatic expansion mechanism realizes high concurrency or large-scale data processing by adding data nodes; S4. Dynamic routing mechanism. The adaptive dynamic balancing model realizes automatic allocation of data cache based on the dynamic routing mechanism. The dynamic routing mechanism selects the shortest path or the optimal path through an intelligent routing algorithm to perform data transmission in scenarios with complex network topology structures.

4. The medical image cache processing method based on big data processing according to claim 1, characterized in that: The security encryption algorithm adopts a symmetric encryption algorithm to ensure the security and confidentiality of data, and encrypts the data transmission channel through the SSL / TLS protocol. The permission control mechanism records the access relationship between users and resources through the access control matrix, and implements permission control by dividing users into doctor, nurse, patient and administrator roles.

5. The medical image cache processing method based on big data processing according to claim 1, characterized in that: The index establishment unit establishes a fast retrieval index through a hash table and a multi-way search data structure, and dynamically adjusts the index structure based on the access frequency and access evaluation of the data. The cache update unit manages the update process of the cache data through an incremental update method and a concurrency control strategy, and realizes data update synchronization between distributed cache nodes through a multi-copy consistency protocol. The cache cleaning unit records the number of times the cache data item is called through an access counter, and uses a clock circuit to trigger a clearing operation.