Optimization method and system for hospital PACS (Picture Archiving and Communication System)
Through time series analysis and dynamic clustering technology, the image data processing of the hospital PACS system is optimized, solving the problem of insufficient retrieval efficiency and update flexibility, realizing efficient and real-time image data retrieval and query, and improving medical response capabilities.
Patent Information
- Application Number
- CN202410903491.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing hospital PACS systems have problems with insufficient retrieval efficiency and update flexibility when processing medical imaging data, resulting in untimely data processing and affecting medical decision-making and patient safety.
Time series analysis and dynamic clustering technology are used to analyze trends and periodic changes in patient historical imaging data, and establish optimized clustering centers and retrieval indexes to achieve real-time data update and query optimization.
It improves the accuracy of data organization and timeliness of retrieval, reduces data access time, enhances medical response capabilities in emergencies, and ensures rapid and accurate medical decision-making.
Smart Images

Figure CN118658593A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information retrieval, and in particular to an optimization method and system for a hospital PACS system. Background Art
[0002] Information retrieval technology focuses on how to quickly and efficiently retrieve relevant information from large amounts of data. This technical field covers a variety of methods and strategies, including index creation, search algorithms, data mining, and natural language processing. In the medical field, information retrieval is particularly critical because it helps medical professionals find necessary medical records, case studies, and imaging materials from large data sets. These technologies not only improve the efficiency of data processing, but also ensure the accuracy and timeliness of medical decisions.
[0003] Among them, the optimization method of hospital PACS system involves how to improve the system used to store, transmit, retrieve and display medical imaging data within the hospital. PACS system is an important part of medical imaging information technology. It allows doctors and medical staff to quickly access X-rays, MRI and other types of medical images, greatly improving the efficiency and accuracy of diagnosis. Optimizing PACS system can reduce data loading time, improve image quality and access speed, thereby providing better support in emergency medical situations and ensuring that patients receive timely and effective treatment.
[0004] Existing technologies often have problems with insufficient retrieval efficiency and update flexibility when processing medical imaging data. Although traditional systems are capable of processing large amounts of data, they often use static indexes, lack the ability to respond quickly to data changes, and have difficulty supporting real-time data updates and query optimization. The lack of trend analysis and methods to consider periodic changes limits the system's insight into the progression of the disease, which is particularly unfavorable in medical situations that require rapid diagnosis and treatment. These limitations result in medical decisions being based on incomplete or outdated data, affecting treatment outcomes and patient safety. In addition, static data processing methods often lead to improper resource allocation and delayed diagnosis and treatment responses in high-demand and fast-paced medical environments, which in turn affects the efficiency and quality of overall medical services. Summary of the invention
[0005] The purpose of the present invention is to solve the shortcomings of the prior art and to propose an optimization method and system for a hospital PACS system.
[0006] In order to achieve the above object, the present invention adopts the following technical solution: a method for optimizing a hospital PACS system, comprising the following steps:
[0007] S1: Based on the patient's historical imaging data and clinical parameters, sort the data in chronological order, identify the time label and key imaging features of each imaging data, establish a historical imaging time series, apply time series analysis methods, identify trends and periodic changes in the data, and obtain trend and periodic change analysis results;
[0008] S2: Based on the trend and periodic change analysis results, match the time window and clustering parameters, perform time series clustering, perform clustering processing on the image data, obtain preliminary clustering results, adjust the clustering parameters according to the clustering quality and cluster center stability of the preliminary clustering results, re-execute the clustering operation, and establish an optimized cluster center;
[0009] S3: Based on the optimized cluster center, a dynamic clustering operation is performed on the unclustered new image data, the clustering result is updated in real time, the timeliness of the data clustering is maintained, a dynamic clustering update result is established, and the clustering information in the dynamic clustering update result is used to create an optimized retrieval index;
[0010] S4: Based on the optimized retrieval index, perform image query, search according to the target disease stage and image features, implement index-supported query optimization, obtain real-time query results, evaluate query performance and data coverage based on the real-time query results, adjust index structure and parameters, and establish index optimization results.
[0011] As a further solution of the present invention, the steps of acquiring the historical image time series are specifically as follows:
[0012] S111: Extract historical imaging data and clinical parameters from the patient database and sort them in chronological order to obtain a sorted data set using the formula:
[0013]
[0014] The multidimensional features of each data point are weighted and exponentially added to obtain linearly weighted data;
[0015] Among them, L i represents the linear weighted value of the ith data point, a k represents the weight of the kth feature, x ik represents the kth feature of the ith data point, b k Represents the nonlinear adjustment coefficient of the kth feature;
[0016] S112: Convert the linear weighted data into a standardized form between 0 and 1, applying a logical conversion formula:
[0017]
[0018] Get a standardized data set;
[0019] Among them, F i represents the standardized value of the ith data point after logistic transformation, and σ represents the scaling parameter in the standardization process;
[0020] S113: According to the standardized data set, the formula is used:
[0021]
[0022] While performing weighted summation, nonlinear scaling is introduced to obtain a time series of historical images;
[0023] Among them, T represents the historical image time series, w i represents the weight of the i-th data point, γ i represents the nonlinear adjustment factor for each data point, and γ represents the overall nonlinear adjustment index.
[0024] As a further solution of the present invention, the steps of obtaining the trend and periodic change analysis results are specifically as follows:
[0025] S121: Analyze the historical image time series using a time series analysis method, using the formula:
[0026]
[0027] The data is smoothed and the square root of the periodic term is introduced to capture the periodic changes, obtaining the smoothed and period-adjusted results;
[0028] Among them, R t represents the result of smoothing and period adjustment, α represents the smoothing coefficient, R t-1 is the smoothing result at time t-1, and δ represents the amplitude of the period adjustment;
[0029] S122: Analyze the results of the smoothing and period adjustment, using the period analysis formula:
[0030]
[0031] Identify and describe periodic fluctuations and obtain analytical results of periodic changes;
[0032] Among them, P t represents the analysis result of periodic changes, β represents the influence coefficient of periodic changes, R t-1 is the smoothing result of the previous time point, ∈ represents the anti-zero adjustment amount;
[0033] S123: Combining the analysis result of the periodic change with the trend analysis, using the formula:
[0034]
[0035] Obtain trend and periodic change analysis results;
[0036] Among them, C t represents the analysis results of trend and cyclical changes, θ and φ represent the weights of trend and cyclical analysis results respectively, and λ represents the emphasis coefficient of trend and cycle differences.
[0037] As a further solution of the present invention, the step of obtaining the optimized cluster center is specifically:
[0038] S211: Extract features from the trend and periodic change analysis results, select matching time windows and clustering parameters, and use the formula:
[0039]
[0040] Calculate the aggregation degree of multiple time windows to obtain the time window aggregation data;
[0041] Among them, T i represents the aggregation degree of the i-th time window, a j represents the weight coefficient at the jth time point, X j represents the data of the jth point in the time series, b j is the nonlinear adjustment coefficient of the jth data point, and w represents the radius of the time window;
[0042] S212: Apply a clustering algorithm to perform clustering processing on the time window clustered data, using the formula:
[0043]
[0044] Calculate the cohesion of each cluster and obtain the preliminary clustering results;
[0045] Among them, C k represents the cohesion of the kth cluster, n represents the number of time windows in the cluster, μ k is the center of the kth cluster, σ k is the tuning parameter for cluster width;
[0046] S213: Evaluate the clustering quality and the stability of the clustering center according to the preliminary clustering result, adjust the clustering parameters and re-execute the clustering operation, using the formula:
[0047]
[0048] Optimize the positioning of cluster centers to obtain optimized cluster centers;
[0049] Among them, S krepresents the stability score of the kth cluster, T i is the degree of clustering in the i-th time window, μ k is the cluster center, and |xy| represents the distance between x and y.
[0050] As a further solution of the present invention, the step of obtaining the dynamic clustering update result is specifically:
[0051] S311: Starting from the optimized cluster center, a dynamic clustering operation is performed on the unclustered new image data, using the formula:
[0052]
[0053] Calculate the fit between new data points and multiple cluster centers to generate intermediate results of dynamic clustering;
[0054] Among them, D t represents the clustering fit score of the new data point at time t, ω k represents the weight of cluster center k, X t is the new image data point, μ k is the cluster center k, σ k is the standard deviation of cluster k, ∈ is a small amount to avoid the denominator being zero, and ρ k is the distance attenuation coefficient;
[0055] S312: Based on the intermediate result of the dynamic clustering, the clustering result is updated in real time, using the formula:
[0056] R t = argmax k (D t,k -λ k ·Δ k )
[0057] Reassign cluster labels according to the highest fit score and adjustment factor to obtain dynamic cluster update results;
[0058] Among them, R t represents the clustering update result at time t, D t,k represents the fitting score of cluster k and the new data point at time t, λ k represents the adjustment factor, Δ k Represents the deviation between the previous clustering result and the current clustering label.
[0059] As a further solution of the present invention, the step of obtaining the optimized search index is specifically as follows:
[0060] S321: Create a search index using the clustering information in the dynamic clustering update result, using the formula:
[0061]
[0062] Calculate the basic structure of the retrieval index to obtain a preliminary retrieval index;
[0063] Among them, I t represents the retrieval index at time t, α j represents the index weight of the jth data point, R t,j is the cluster label of the jth data point at time t, θ j is the adjustment factor;
[0064] S322: Optimize the preliminary search index using the formula:
[0065]
[0066] Generate optimized retrieval index;
[0067] in, represents the optimized retrieval index, β j represents the optimization weight, I t,j is the jth part of the preliminary search index, p is the power parameter, γ j It is an offset used to ensure the stability of operation.
[0068] As a further solution of the present invention, the steps of obtaining the index optimization result are specifically as follows:
[0069] S411: Based on the optimized search index, perform image query, refer to the target disease stage and image features, and use the formula:
[0070]
[0071] Implement query optimization supported by indexes to obtain real-time query results;
[0072] Among them, Q t represents the query result of time, ξ i represents the feature weight, F t is the feature set of the current query, G i is the corresponding feature set in the index, τ i is the decay parameter of the feature, η i is the nonlinear adjustment factor;
[0073] S412: Evaluate query performance and data coverage according to the real-time query result, using the formula:
[0074]
[0075] Evaluate and derive performance indicators;
[0076] Among them, P t represents the query performance indicator, ω k represents the importance weight of multiple query results, Q t,k is the kth result in the query result set, Ω is the size of the total query set;
[0077] S413: According to the performance index, adjust the index structure and parameters, using the formula:
[0078]
[0079] Create index optimization results;
[0080] Among them, E opt represents the index optimization result, γ j represents the adjustment weight, H is the adjustment function, δ j is the adjustment factor.
[0081] An optimization system for a hospital PACS system, the optimization system for a hospital PACS system is used to execute the optimization method for the hospital PACS system, and the system comprises:
[0082] The data sorting module sorts the data in chronological order based on the patient's historical imaging data and clinical parameters, identifies the time and key features of each data, establishes a historical imaging sequence, uses time series analysis methods to extract data trends and periodic changes, and obtains trend analysis results;
[0083] The trend analysis module selects a matching time window and clustering parameters based on the trend analysis results, performs time series clustering, clusters image data, obtains a preliminary clustering data set, evaluates clustering quality and stability, optimizes clustering parameters, and establishes an optimized clustering model;
[0084] The clustering optimization module performs dynamic clustering on the newly collected unclustered image data based on the optimized clustering model, establishes dynamic clustering results, verifies the timeliness of clustering data, and uses the dynamic clustering results to create a preliminary retrieval index;
[0085] The dynamic update module performs dynamic clustering on the unclassified new image data based on the preliminary retrieval index, updates the clustering information in real time, optimizes the retrieval index, and establishes an optimized retrieval index;
[0086] The query optimization module executes image query based on the optimized retrieval index, implements query optimization for the target disease stage and image features, obtains real-time query feedback, evaluates query performance and data coverage, adjusts index structure and parameters, and obtains optimized query results.
[0087] Compared with the prior art, the advantages and positive effects of the present invention are:
[0088] In the present invention, by integrating time series analysis and dynamic clustering technology, significant optimization of medical image data processing in the PACS system is achieved. Using historical image time series analysis, the system can effectively capture and analyze the time-dependent characteristics of the patient's condition, providing in-depth insights based on data trends for clustering and index creation. Through the dynamic adjustment of clustering parameters, not only the accuracy of data organization is improved, but also the rapid adaptation to new image data is enhanced through the continuously updated dynamic clustering mechanism, ensuring the efficiency and timeliness of retrieval. Index-supported query optimization reduces data access time, makes medical decision-making faster, and enhances medical response capabilities in emergency situations. BRIEF DESCRIPTION OF THE DRAWINGS
[0089] Figure 1 It is a schematic diagram of the workflow of the present invention;
[0090] Figure 2 A flowchart of the steps for obtaining a time series of historical images of the present invention;
[0091] Figure 3 A flow chart of steps for obtaining trend and periodic change analysis results of the present invention;
[0092] Figure 4 This is a flow chart of the steps for obtaining the cluster center after optimization of the present invention;
[0093] Figure 5 A flowchart of the steps for obtaining dynamic clustering update results of the present invention;
[0094] Figure 6 A flowchart of the steps for obtaining the optimized search index of the present invention;
[0095] Figure 7 A flow chart of the steps for obtaining the index optimization results of the present invention. DETAILED DESCRIPTION
[0096] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0097] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.
[0098] Embodiment 1
[0099] See also Figure 1 The present invention provides a technical solution: a method for optimizing a hospital PACS system, comprising the following steps:
[0100] S1: Based on the patient's historical imaging data and clinical parameters, sort the data in chronological order, identify the time label and key imaging features of each imaging data, establish a historical imaging time series, apply time series analysis methods, identify trends and periodic changes in the data, and obtain trend and periodic change analysis results;
[0101] S2: Based on the trend and periodic change analysis results, match the time window and clustering parameters, perform time series clustering, cluster the image data, obtain preliminary clustering results, adjust the clustering parameters according to the clustering quality and cluster center stability of the preliminary clustering results, re-execute the clustering operation, and establish the optimized cluster center;
[0102] S3: Based on the optimized cluster centers, dynamic clustering operations are performed on the unclustered new image data, clustering results are updated in real time, the timeliness of data clustering is maintained, dynamic clustering update results are established, and clustering information in the dynamic clustering update results is used to create an optimized retrieval index;
[0103] S4: Based on the optimized retrieval index, perform image query, search according to the target disease stage and image features, implement index-supported query optimization, obtain real-time query results, evaluate query performance and data coverage based on the real-time query results, adjust the index structure and parameters, and establish index optimization results.
[0104] The trend and periodic change analysis results include the trend of patient condition changes, periodicity of imaging features, and identification of key time nodes. The optimized clustering centers include clustering quality score, center stability assessment, and distance measurement between groups. The dynamic clustering update results include update frequency index, data matching degree, and clustering timeliness evaluation. The index optimization results include query performance improvement rate, index structure adjustment record, and data coverage.
[0105] See also Figure 2 , the specific steps for obtaining the historical image time series are:
[0106] S111: Extract historical imaging data and clinical parameters from the patient database and sort them in chronological order to obtain a sorted data set using the formula:
[0107]
[0108] The multidimensional features of each data point are weighted and exponentially added to obtain linearly weighted data;
[0109] Among them, L i represents the linear weighted value of the ith data point, a k represents the weight of the kth feature, x ik represents the kth feature of the ith data point, b k Represents the nonlinear adjustment coefficient of the kth feature;
[0110] S112: Convert the linearly weighted data to a normalized form between 0 and 1, applying the logistic transformation formula:
[0111]
[0112] Get a standardized data set;
[0113] Among them, F i represents the standardized value of the ith data point after logistic transformation, and σ represents the scaling parameter in the standardization process;
[0114] S113: Based on the standardized data set, the formula is used:
[0115]
[0116] While performing weighted summation, nonlinear scaling is introduced to obtain a time series of historical images;
[0117] Among them, T represents the historical image time series, w i represents the weight of the i-th data point, γ i represents the nonlinear adjustment factor for each data point, and γ represents the overall nonlinear adjustment index.
[0118] Step 1: Calculate the linear weighted data L i
[0119] formula:
[0120]
[0121] Parameter explanation:
[0122] L i : The linear weighted value of the i-th data point
[0123] a k : The weight of the kth feature
[0124] x ik : The kth feature of the ith data point
[0125] b k : Nonlinear adjustment coefficient of the kth feature
[0126] Calculation process:
[0127] Assume that there is a data point i with three features (m=3), where:
[0128] Feature 1 (heart rate): x i1 =80bpm, weight a1=0.5, adjustment coefficient b1=2
[0129] Feature 2 (blood pressure): x i2 =120 mmHg, weight a2 = 0.3, adjustment coefficient b2 = 1.5
[0130] Feature 3 (age): x i3 =50years, weight a3=0.2, adjustment factor b3=1
[0131] Derivation:
[0132] L i =0.5·80 2 +0.3 120 1.5 +0.2 50 1
[0133] L i =0.5·6400+0.3·1314.8+0.2·50
[0134] L i =3200+394.44+10
[0135] L i =3604.44
[0136] This result L i =3604.44 represents the weighted eigenvalue of the i-th data point, which can be used for further analysis and processing.
[0137] Step 2: Logical transformation to obtain standardized data F i
[0138] formula:
[0139]
[0140] Parameter explanation:
[0141] F i : Normalized value
[0142] L i : Linearly weighted data obtained from step 1
[0143] σ: scaling parameter in the normalization process, assuming σ = 1000
[0144] Derivation:
[0145]
[0146] F i =0.9729
[0147] This result F i = 0.9729 means that the value of the i-th data point after standardization is more suitable for comparison and further data analysis.
[0148] Step 3: Weighted sum to obtain the historical image time series T
[0149] formula:
[0150]
[0151] Parameter explanation:
[0152] T: Historical image time series
[0153] w i : The weight of the i-th data point, assuming w i =1
[0154] F i : The standardized data obtained in step 2
[0155] γ i : Nonlinear adjustment factor for each data point, assuming γ i =1
[0156] γ: overall nonlinear adjustment index, assuming γ = 1
[0157] Derivation:
[0158]
[0159] T=0.9729
[0160] This result T = 0.9729 represents the comprehensive value of the historical image time series and can be used for model training or other analysis purposes.
[0161] See also Figure 3 , the specific steps for obtaining trend and periodic change analysis results are:
[0162] S121: Use the time series analysis method to analyze the historical image time series, using the formula:
[0163]
[0164] The data is smoothed and the square root of the periodic term is introduced to capture the periodic changes, obtaining the smoothed and period-adjusted results;
[0165] Among them, R t represents the result of smoothing and period adjustment, α represents the smoothing coefficient, R t-1 is the smoothing result at time t-1, and δ represents the amplitude of the period adjustment;
[0166] S122: Analyze the results of smoothing and period adjustment, using the period analysis formula:
[0167]
[0168] Identify and describe periodic fluctuations and obtain analytical results of periodic changes;
[0169] Among them, P t represents the analysis result of periodic changes, β represents the influence coefficient of periodic changes, R t-1 is the smoothing result of the previous time point, ∈ represents the anti-zero adjustment amount;
[0170] S123: Combine the analysis results of periodic changes with trend analysis, using the formula:
[0171]
[0172] Obtain trend and periodic change analysis results;
[0173] Among them, C t represents the analysis results of trend and cyclical changes, θ and φ represent the weights of trend and cyclical analysis results respectively, and λ represents the emphasis coefficient of trend and cycle differences.
[0174] formula:
[0175]
[0176] Parameter explanation:
[0177] R t : Smoothing result at time t
[0178] α: smoothing coefficient, usually between 0.1 and 0.3
[0179] Tt : The value of the historical image time series obtained in step 3 at time t
[0180] R t-1 : Smoothing result at time t-1
[0181] δ: The amplitude of the period adjustment, assumed to be a constant, set to a value less than 1 to avoid excessive adjustments
[0182] Calculation example:
[0183] Assume α = 0.2, T t =150, R t-1 =140,δ=0.5.
[0184] Calculation process:
[0185] Calculate the smoothing part: α·T t =0.2×150=30
[0186] Calculate the periodic adjustment:
[0187] Compute the non-smooth part:
[0188] Final result R t :30+112.001=142.001
[0189] Result interpretation:
[0190] The result R t =142.001 represents the value of the image data at time t after smoothing, which integrates the influence of the data at the previous moment and the current data, and takes into account periodic fine-tuning.
[0191] formula:
[0192]
[0193] Parameter explanation:
[0194] P t : Period analysis results for time t
[0195] β: The influence coefficient of periodic changes, generally set between 0.4 and 0.6
[0196] R t , R t-1 : As defined above
[0197] ∈: Anti-zero adjustment, usually set to a very small positive number, such as 0.01
[0198] P t-1: Period analysis result at time t-1, can be initialized to 0
[0199] Calculation example:
[0200] Assume β = 0.5, R t =142.001, R t-1 =140,∈=0.01,P t-1 =2.
[0201] Calculation process:
[0202] Calculate the fractional part:
[0203] Calculate the logarithmic part: log(∈+P t-1 )=log(0.01+2)=log(2.01)≈0.699
[0204] Final result t :0.5×0.000204+0.5×0.699=0.000102+0.3495≈0.3496
[0205] Result interpretation:
[0206] The result obtained is P t =0.3496 represents the analysis result of the periodic change of time t, which reflects the periodic change amplitude of the data at the current and previous moments and the influence of the results of the previous cycle.
[0207] formula:
[0208]
[0209] Parameter explanation:
[0210] C t : Final trend and periodic change analysis results
[0211] θ, φ: represent the weights of trend and periodicity analysis results respectively, and are set to values close to 1, such as 0.5 and 0.5, to balance the impact of the two.
[0212] λ: The emphasis coefficient of the difference between trend and cycle, which can be set to a smaller value, such as 0.1, to highlight the difference between the two.
[0213] R t , P t : They are the results obtained from the above calculations.
[0214] Calculation example:
[0215] Assume θ = 0.5, φ = 0.5, λ = 0.1, R t =142.001, Pt =0.3496.
[0216] Calculation process:
[0217] Calculate the linear combination of trend and periodicity results: θ·R t +φ·P t =0.5×142.001+0.5×0.3496=71.0005+0.1748≈71.1753
[0218] Compute the difference to emphasize the part:
[0219] Add differences to highlight:
[0220] Final result C t :71.1753+0.09951≈71.2748
[0221] Result interpretation:
[0222] The result obtained is C t =71.2748 represents the final analysis result after considering trend and cyclical changes, in which the contribution of trend and cyclical changes is reflected evenly, while a small coefficient emphasizes the difference between the two. This result can be used for further data analysis and decision support, showing the comprehensive dynamics of the data after considering multiple factors.
[0223] See also Figure 4 , the steps to obtain the optimized cluster center are as follows:
[0224] S211: Extract features from trend and periodic change analysis results, select matching time windows and clustering parameters, and use the formula:
[0225]
[0226] Calculate the aggregation degree of multiple time windows to obtain the time window aggregation data;
[0227] Among them, T i represents the aggregation degree of the i-th time window, a j represents the weight coefficient at the jth time point, X j represents the data of the jth point in the time series, b j is the nonlinear adjustment coefficient of the jth data point, and w represents the radius of the time window;
[0228] S212: Apply a clustering algorithm to perform clustering processing on the time window clustered data, using the formula:
[0229]
[0230] Calculate the cohesion of each cluster and obtain the preliminary clustering results;
[0231] Among them, C k represents the cohesion of the kth cluster, n represents the number of time windows in the cluster, μ k is the center of the kth cluster, σ k is the tuning parameter for cluster width;
[0232] S213: Evaluate the clustering quality and the stability of the cluster centers based on the preliminary clustering results, adjust the clustering parameters and re-execute the clustering operation using the formula:
[0233]
[0234] Optimize the positioning of cluster centers to obtain optimized cluster centers;
[0235] Among them, S k represents the stability score of the kth cluster, T i is the degree of clustering in the i-th time window, μ k is the cluster center, and |xy| represents the distance between x and y.
[0236] The formula in step 1:
[0237]
[0238] Parameter explanation:
[0239] T i : The degree of aggregation of the i-th time window.
[0240] a j : The weight coefficient of the jth time point, reflecting the importance of this point in the clustering process.
[0241] X j : The data value of the jth point in the time series.
[0242] b j : The nonlinear adjustment coefficient of the jth data point, used to adjust the influence intensity of the data point.
[0243] w: The radius of the time window, which defines the size of the range considered for clustering.
[0244] Derivation process and examples:
[0245] Suppose there is a time series X = [1,2,3,4,5] and i = 3, w = 1, a2 = 0.5, a3 = 1, a4 = 0.5, b2 = 2, b3 = 1, b4 = 2. According to the formula, calculate T3:
[0246]
[0247] T3=0.5·2 2 +1.3 1 +0.5 4 2
[0248] T3=0.5·4+3+0.5·16
[0249] T3=2+3+8=13
[0250] This value T3=13 represents the time window aggregation after considering the weight and nonlinear adjustment under the time window i=3 and the window width w=1.
[0251] The formula in step 2:
[0252]
[0253] Parameter explanation:
[0254] C k : The cohesion of the k-th cluster.
[0255] n: The number of time windows in this cluster.
[0256] T i : The degree of aggregation of the i-th time window.
[0257] μ k : The center of the k-th cluster.
[0258] σ k : Tuning parameter for cluster width.
[0259] Derivation process and examples:
[0260] Assume n = 3, T = [13, 15, 17], μ k =15,σ k = 2. Calculate C k :
[0261]
[0262] This value C k = 0.4235 represents the cohesion of the k-th cluster, taking into account the cluster center, cluster width, and the contribution of each point.
[0263] The formula in step 3:
[0264]
[0265] Parameter explanation:
[0266] S k: Stability score of the k-th cluster.
[0267] C k : The k-th cluster.
[0268] T i : The degree of clustering in the i-th time window.
[0269] μ k : Cluster center.
[0270] |xy|: distance between x and y.
[0271] Derivation process and examples:
[0272] Continue to use T = [13,15,17] and μ k =15:
[0273]
[0274] This value S k = 1.414 represents the stability score of the kth cluster, taking into account the distance difference and the maximum distance between the cluster center and each point.
[0275] See also Figure 5 , the specific steps for obtaining dynamic clustering update results are:
[0276] S311: Starting from the optimized cluster center, a dynamic clustering operation is performed on the unclustered new image data using the formula:
[0277]
[0278] Calculate the fit between new data points and multiple cluster centers to generate intermediate results of dynamic clustering;
[0279] Among them, D t represents the clustering fit score of the new data point at time t, ω k represents the weight of cluster center k, X t is the new image data point, μ k is the cluster center k, σ k is the standard deviation of cluster k, ∈ is a small amount to avoid the denominator being zero, and ρ k is the distance attenuation coefficient;
[0280] S312: Based on the intermediate results of dynamic clustering, the clustering results are updated in real time using the formula:
[0281] R t = arg max k (D t,k -λ k ·Δ k )
[0282] Reassign cluster labels according to the highest fit score and adjustment factor to obtain dynamic cluster update results;
[0283] Among them, R t represents the clustering update result at time t, D t,k represents the fitting score of cluster k and the new data point at time t, λ k represents the adjustment factor, Δ k Represents the deviation between the previous clustering result and the current clustering label.
[0284] Detailed explanation and example of the formula for step 1
[0285] formula:
[0286]
[0287] Parameter Description:
[0288] X t : New image data point
[0289] μ k : The kth cluster center
[0290] σ k : The standard deviation of the kth cluster
[0291] ω k : The weight of the kth cluster center
[0292] ∈: avoid small quantities with zero denominator
[0293] ρ k : Distance attenuation coefficient
[0294] ||X t -μ k ||:X t With μ k The Euclidean distance between
[0295] Assumed parameter values:
[0296] K = 3 (3 cluster centers)
[0297] X t =[2,3](new image data point)
[0298] μ1=[1,2], μ2=[4,5], μ3=[7,8]
[0299] σ1=1.0, σ2=1.5, σ3=0.5
[0300] ω1=0.5, ω2=0.3, ω3=0.2
[0301] ∈=0.1
[0302] ρ1=0.2, ρ2=0.3, ρ3=0.1
[0303] Calculation process:
[0304] Calculate the distance to each cluster center ||X t -μ k ||:
[0305]
[0306] Calculate D t :
[0307] For μ1:
[0308]
[0309] For μ2:
[0310]
[0311] For μ3:
[0312]
[0313] D t =D t,1 +D t,2 +D t,3 ≈0.075+0.007+0.0000012≈0.082
[0314] Result interpretation:
[0315] D t Represents the weighted sum of the similarities between the new data point and the existing cluster center at time t. t = 0.082 indicates that the overall similarity between the new data points and these cluster centers is low.
[0316] Detailed explanation and example of step 2 formula
[0317] formula:
[0318]
[0319] Parameter Description:
[0320] D t,k : The fitting score of cluster k and the new data point at time t
[0321] λ k : The adjustment factor of cluster k, used to fine-tune the clustering process
[0322] Δ k: The deviation between the previous clustering result and the current clustering label, representing the change size of the clustering
[0323] Assumed parameter values:
[0324] λ1=0.1, λ2=0.2, λ3=0.15
[0325] Δ1=0.05, Δ2=0.1, Δ3=0.2
[0326] These deviation values are assumed to be obtained from the previous iteration calculation
[0327] Calculation process:
[0328] Use the D calculated in step 1 t value:
[0329] D t,1 ≈0.075
[0330] D t,2 ≈0.007
[0331] D t,3 ≈0.0000012
[0332] Compute the updated score for each cluster:
[0333] For μ1:
[0334] R t,1 =D t,1 -λ1·Δ1=0.075-0.1×0.05=0.075-0.005=0.07
[0335] For μ2:
[0336] R t,2 =D t,2 -λ2·Δ2=0.007-0.2×0.1=0.007-0.02=-0.013
[0337] For μ3:
[0338] R t,3 =D t,3 -λ3·Δ3=0.0000012-0.15×0.2=0.0000012-0.03=-0.0299
[0339] Select the largest R t,k Values, determine the clustering of new data points:
[0340]
[0341] Result interpretation:
[0342] The new data point is closest to the cluster center μ1 and is therefore assigned to this cluster. This result indicates that the dynamic clustering operation classifies the new data point into the cluster center μ1 with the highest fit score after adjustment.
[0343] See also Figure 6 , the specific steps for obtaining the optimized search index are:
[0344] S321: Using the clustering information in the dynamic clustering update result, create a search index using the formula:
[0345]
[0346] Calculate the basic structure of the retrieval index to obtain a preliminary retrieval index;
[0347] Among them, I t represents the retrieval index at time t, α j represents the index weight of the jth data point, R t,j is the cluster label of the jth data point at time t, θ j is the adjustment factor;
[0348] S322: Optimize the preliminary search index using the formula:
[0349]
[0350] Generate optimized retrieval index;
[0351] in, represents the optimized retrieval index, β j represents the optimization weight, I t,j is the jth part of the preliminary search index, p is the power parameter, γ j It is an offset used to ensure the stability of operation.
[0352] Detailed explanation of the formula for step 1
[0353] formula:
[0354]
[0355] Parameter explanation:
[0356] I t : The search index at time t
[0357] α j : The index weight of the jth data point
[0358] R t,j : The cluster label of the jth data point at time t
[0359] θ j: Adjust the coefficient to increase the sensitivity and accuracy of the index
[0360] Calculation process and examples:
[0361] Suppose there are 3 data points and the cluster label R t,j They are 1, 2, and 3 respectively. Index weight α j Set them to 0.5, 1.0, and 1.5 respectively. Adjustment coefficient θ j They are 0.1, 0.2, and 0.3 respectively.
[0362] Calculate the contribution of each data point:
[0363] For j=1:
[0364] For j=2:
[0365] For j=3:
[0366] Calculate the total index I t :
[0367] I t =0.5 0.891 + 1.0 1.345 + 1.5 1.613 = 0.4455 + 1.345 + 2.4195 = 4.21
[0368] This final index value I t = 4.21 represents the weighted aggregation of clustering information at time t, reflecting the contribution of different clustering labels to the index.
[0369] Detailed explanation of the formula for step 2
[0370] formula:
[0371]
[0372] Parameter explanation:
[0373] Optimized search index
[0374] β j : The optimized weight of the jth data point
[0375] I t,j : The score of the jth data point in the initial retrieval index
[0376] p: power parameter, used to adjust the sensitivity of the index
[0377] γ j : Offset to ensure operational stability
[0378] Calculation process and examples:
[0379] Continuing with the data point assumptions from step 1, let’s assume that I t,j The contribution values calculated in the previous step are 0.891, 1.345, and 1.613. Set the optimization weight β j They are 1.0, 0.8, and 0.6 respectively. Assume p = 2, and the offset γ j They are 0.05, 0.05, and 0.05 respectively.
[0380] Calculate the optimization contribution for each data point:
[0381] For j = 1:
[0382] 1.0·(0.891 2 +0.05)=1.0·(0.793881+0.05)=0.843881
[0383] For j = 2:
[0384] 0.8·(1.345 2 +0.05)=0.8·(1.809025+0.05)=1.48722
[0385] For j=3:
[0386] 0.6·(1.613 2 +0.05)=0.6·(2.601769+0.05)=1.5910614
[0387] Calculate the total optimization index
[0388]
[0389] This final optimized index value It represents the weighted optimized aggregation of clustering information at time, reflecting the contribution of different clustering labels to the index after optimization.
[0390] See also Figure 7 , the specific steps for obtaining index optimization results are:
[0391] S411: Based on the optimized search index, perform image query, refer to the target disease stage and image features, and use the formula:
[0392]
[0393] Implement query optimization supported by indexes to obtain real-time query results;
[0394] Among them, Q t represents the query result of time, ξ irepresents the feature weight, F t is the feature set of the current query, G i is the corresponding feature set in the index, τ i is the decay parameter of the feature, η i is the nonlinear adjustment factor;
[0395] S412: Evaluate query performance and data coverage based on real-time query results using the formula:
[0396]
[0397] Evaluate and derive performance indicators;
[0398] Among them, P t represents the query performance indicator, ω k represents the importance weight of multiple query results, Q t,k is the kth result in the query result set, Ω is the size of the total query set;
[0399] S413: Adjust the index structure and parameters according to the performance indicators, using the formula:
[0400]
[0401] Create index optimization results;
[0402] Among them, E opt represents the index optimization result, γ j represents the adjustment weight, H is the adjustment function, δ j is the adjustment factor.
[0403] Detailed explanation and derivation process of formula 1
[0404] formula
[0405]
[0406] This formula is used to perform feature-based image queries.
[0407] Parameter Description
[0408] Q t : Query results at time t.
[0409] ξ i : The weight of the ith feature.
[0410] F t : The feature set of the current query.
[0411] G i : The i-th stored feature set in the index.
[0412] τ i: decay parameter of the feature.
[0413] η i : Non-linear adjustment factor used to adjust the influence of each feature.
[0414] Calculation example
[0415] Assumptions:
[0416] There are two features (m=2)
[0417] ξ1=0.5,ξ2=0.5 - feature weights are equal
[0418] ||F t -G1||=1,||F t -G2||=2-characteristic difference
[0419] τ1=1,τ2=1.5-attenuation parameter
[0420] η1=0.2,η2=0.3-nonlinear adjustment
[0421] Calculation process:
[0422] For feature 1:
[0423]
[0424] For feature 2:
[0425]
[0426] Total search results:
[0427] Q t =Q t,1 +Q t,2 =0.184+0.080=0.264
[0428] This result represents the numerical value of query efficiency based on given feature weights and feature differences. The larger the value, the higher the query matching degree.
[0429] Detailed explanation and derivation process of formula 2
[0430] formula
[0431]
[0432] This formula is used to evaluate query performance.
[0433] Parameter Description
[0434] P t : Query performance indicators.
[0435] ω k: The importance weight of query result k.
[0436] Q t,k : Query the kth result in the result set.
[0437] Ω: The size of the total query set.
[0438] Calculation example
[0439] Assumptions:
[0440] l = 2 - two query results
[0441] ω1=0.6,ω2=0.4-importance weight
[0442] Q t,1 =0.264, Q t,2 =0.150-the query result obtained in the previous step
[0443] Ω = 2 - the set size of total query possibilities is 2
[0444] Calculation process:
[0445]
[0446] This performance indicator reflects the comprehensive performance of the query results. The higher the value, the better the performance.
[0447] Detailed explanation and derivation process of formula 3
[0448] formula
[0449]
[0450] This formula is used to adjust the index structure and parameters based on the evaluation results, and finally establish the index optimization results.
[0451] Parameter Description
[0452] E opt : The optimized index.
[0453] γ j : Adjusted weight for the j-th index.
[0454] I t,j : The j-th part of the original index.
[0455] H: adjustment function, assumed to be a linear adjustment function H(x,δ)=x·δ.
[0456] δ j : Adjustment factor for the jth component, used to modify index performance.
[0457] Calculation example
[0458] Assumptions:
[0459] n=3 - three-part index
[0460] γ1=0.3,γ2=0.5,γ3=0.2-adjust weights
[0461] E opt,1 =0.5, E opt,2 =0.8, E opt,3 =0.3-original index value
[0462] δ1=1.1,δ2=0.9,δ3=1.2-adjustment factor
[0463] Calculation process:
[0464] Part 1 of adjusting the index:
[0465] E opt,1 =γ1·H(E opt,1 ,δ1)=0.3·(0.5·1.1)=0.165
[0466] Adjusting the index part 2:
[0467] E opt,2 =γ2·H(E opt,2 ,δ2)=0.5·(0.8·0.9)=0.36
[0468] Adjusting the index part 3:
[0469] E opt,3 =γ3·H(E opt,3 ,δ3)=0.2·(0.3·1.2)=0.072
[0470] Total optimized index:
[0471] E opt =E opt,1 +E opt,2 +E opt,3 =0.165+0.36+0.072=0.597
[0472] This index optimization result reflects the improvement in index performance by adjusting weights and factors. The larger the value, the more significant the optimization effect.
[0473] An optimization system for a hospital PACS system, the optimization system for a hospital PACS system is used to execute the optimization method for the hospital PACS system, and the system comprises:
[0474] The data sorting module sorts the data in chronological order based on the patient's historical imaging data and clinical parameters, identifies the time and key features of each data, establishes a historical imaging sequence, uses time series analysis methods to extract data trends and periodic changes, and obtains trend analysis results;
[0475] Based on the trend analysis results, the trend analysis module selects matching time windows and clustering parameters, performs time series clustering, clusters image data, obtains preliminary clustering data sets, evaluates clustering quality and stability, optimizes clustering parameters, and establishes an optimized clustering model;
[0476] The clustering optimization module performs dynamic clustering on the newly collected unclustered image data based on the optimized clustering model, establishes dynamic clustering results, verifies the timeliness of clustering data, and uses the dynamic clustering results to create a preliminary retrieval index;
[0477] The dynamic update module performs dynamic clustering on the unclassified new image data based on the preliminary retrieval index, updates the clustering information in real time, optimizes the retrieval index, and establishes an optimized retrieval index;
[0478] The query optimization module executes image queries based on optimized retrieval indexes, implements query optimization for target disease stages and image features, obtains real-time query feedback, evaluates query performance and data coverage, adjusts index structures and parameters, and obtains optimized query results.
[0479] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.
Claims
1. An optimization method for hospital PACS system, It is characterized in that The following steps are involved: Based on the patient's historical imaging data and clinical parameters, the data is sorted in chronological order, the time label and key imaging features of each imaging data are identified, the historical imaging time series is established, and the time series analysis method is applied to identify the trends and periodic changes in the data to obtain the trend and periodic change analysis results; Based on the trend and periodic change analysis results, the time window and clustering parameters are matched, time series clustering is performed, image data is clustered, and preliminary clustering results are obtained. According to the clustering quality and cluster center stability of the preliminary clustering results, clustering parameters are adjusted, clustering operations are performed again, and optimized cluster centers are established; Based on the optimized cluster center, a dynamic clustering operation is performed on the unclustered new image data, the clustering result is updated in real time, the timeliness of the data clustering is maintained, a dynamic clustering update result is established, and a retrieval index is created using the clustering information in the dynamic clustering update result; Based on the retrieval index, image query is executed, search is performed according to the target disease stage and image characteristics, query optimization supported by the index is implemented, and real-time query results are obtained. Based on the real-time query results, query performance and data coverage are evaluated, index structure and parameters are adjusted, and index optimization results are established.
2. The optimization method of the hospital PACS system according to claim 1, It is characterized in that The steps for obtaining the historical image time series are specifically as follows: Historical imaging data and clinical parameters are extracted from the patient database and sorted in chronological order to obtain a sorted data set using the formula: The multidimensional features of each data point are weighted and exponentially added to obtain linearly weighted data; Among them, L i represents the linear weighted value of the ith data point, a k represents the weight of the kth feature, x ik represents the kth feature of the ith data point, b k Represents the nonlinear adjustment coefficient of the kth feature; To transform the linearly weighted data into a normalized form between 0 and 1, apply the logistic transformation formula: Get a standardized data set; Among them, F i represents the standardized value of the ith data point after logistic transformation, and σ represents the scaling parameter in the standardization process; Based on the standardized data set, the formula is adopted: While performing weighted summation, nonlinear scaling is introduced to obtain a time series of historical images; Among them, T represents the historical image time series, w i represents the weight of the i-th data point, γ i represents the nonlinear adjustment factor for each data point, and γ represents the overall nonlinear adjustment index.
3. The optimization method of the hospital PACS system according to claim 2, It is characterized in that The steps for obtaining the trend and periodic change analysis results are specifically as follows: The time series analysis method is used to analyze the historical image time series, using the formula: The data is smoothed and the square root of the periodic term is introduced to capture the periodic changes, obtaining the smoothed and period-adjusted results; Among them, R t represents the result of smoothing and period adjustment, α represents the smoothing coefficient, R t-1 is the smoothing result at time t-1, and δ represents the amplitude of the period adjustment; To analyze the results of the smoothing and period adjustment, use the period analysis formula: Identify and describe periodic fluctuations and obtain analytical results of periodic changes; Among them, P t represents the analysis result of periodic changes, β represents the influence coefficient of periodic changes, R t-1 is the smoothing result of the previous time point, ∈ represents the anti-zero adjustment amount; The analysis results of the periodic changes are combined with the trend analysis, using the formula: Obtain trend and periodic change analysis results; Among them, C t represents the analysis results of trend and cyclical changes, θ and φ represent the weights of trend and cyclical analysis results respectively, and λ represents the emphasis coefficient of trend and cyclical differences.
4. The optimization method of the hospital PACS system according to claim 3, It is characterized in that The steps for obtaining the optimized cluster center are specifically as follows: Extract features from the trend and periodic change analysis results, select matching time windows and clustering parameters, and use the formula: Calculate the aggregation degree of multiple time windows to obtain the time window aggregation data; Among them, T i represents the aggregation degree of the i-th time window, a j represents the weight coefficient at the jth time point, X j represents the data of the jth point in the time series, b j is the nonlinear adjustment coefficient of the jth data point, and w represents the radius of the time window; A clustering algorithm is applied to perform clustering processing on the time window clustered data, using the formula: Calculate the cohesion of each cluster and obtain the preliminary clustering results; Among them, C k represents the cohesion of the kth cluster, n represents the number of time windows in the cluster, μ k is the center of the kth cluster, σ k is the tuning parameter for cluster width; According to the preliminary clustering results, the clustering quality and the stability of the cluster centers are evaluated, the clustering parameters are adjusted and the clustering operation is performed again, using the formula: Optimize the positioning of cluster centers to obtain optimized cluster centers; Among them, S k represents the stability score of the kth cluster, T i is the degree of clustering in the i-th time window, μ k is the cluster center, and |xy| represents the distance between x and y.
5. The optimization method of the hospital PACS system according to claim 4, It is characterized in that The steps for obtaining the dynamic clustering update result are specifically as follows: Starting from the optimized cluster centers, a dynamic clustering operation is performed on the unclustered new image data using the formula: Calculate the fit between new data points and multiple cluster centers to generate intermediate results of dynamic clustering; Among them, D t represents the clustering fit score of the new data point at time t, ω k represents the weight of cluster center k, X t is the new image data point, μ k is the cluster center k, σ k is the standard deviation of cluster k, ∈ is a small amount to avoid the denominator being zero, and ρ k is the distance attenuation coefficient; Based on the intermediate results of the dynamic clustering, the clustering results are updated in real time, using the formula: R t =argmax k (D t,k -l k ·D k ) Reassign cluster labels according to the highest fit score and adjustment factor to obtain dynamic cluster update results; Among them, R t represents the clustering update result at time t, D t,k represents the fitting score of cluster k and the new data point at time t, λ k represents the adjustment factor, Δ k Represents the deviation between the previous clustering result and the current clustering label.
6. The optimization method of the hospital PACS system according to claim 5, It is characterized in that The steps for obtaining the optimized search index are specifically as follows: The clustering information in the dynamic clustering update result is used to create a search index using the formula: Calculate the basic structure of the retrieval index to obtain a preliminary retrieval index; Among them, I t represents the retrieval index at time t, α j represents the index weight of the jth data point, R t,j is the cluster label of the jth data point at time t, θ j is the adjustment factor; The preliminary search index is optimized using the formula: Generate optimized retrieval index; in, represents the optimized retrieval index, β j represents the optimization weight, I t,j is the jth part of the preliminary search index, p is the power parameter, γ j It is an offset used to ensure the stability of operation.
7. The optimization method of the hospital PACS system according to claim 6, It is characterized in that The steps for obtaining the index optimization result are specifically as follows: Based on the optimized retrieval index, an image query is performed, referring to the target disease stage and image features, using the formula: Implement query optimization supported by indexes to obtain real-time query results; Among them, Q t represents the query result of time, ξ i represents the feature weight, F t is the feature set of the current query, G i is the corresponding feature set in the index, τ i is the decay parameter of the feature, η i is the nonlinear adjustment factor; The query performance and data coverage are evaluated based on the real-time query results using the formula: Evaluate and derive performance indicators; Among them, P t represents the query performance indicator, ω k represents the importance weight of multiple query results, Q t,k is the kth result in the query result set, Ω is the size of the total query set; According to the performance indicators, adjust the index structure and parameters, using the formula: Create index optimization results; Among them, E opt represents the index optimization result, γ j represents the adjustment weight, H is the adjustment function, δ j is the adjustment factor.
8. An optimization system for hospital PACS system, It is characterized in that According to any one of claims 1 to 7, the hospital PACS system optimization method comprises: The data sorting module sorts the data in chronological order based on the patient's historical imaging data and clinical parameters, identifies the time and key features of each data, establishes a historical imaging sequence, uses time series analysis methods to extract data trends and periodic changes, and obtains trend analysis results; The trend analysis module selects a matching time window and clustering parameters based on the trend analysis results, performs time series clustering, clusters image data, obtains a preliminary clustering data set, evaluates clustering quality and stability, optimizes clustering parameters, and establishes an optimized clustering model; The clustering optimization module performs dynamic clustering on the newly collected unclustered image data based on the optimized clustering model, establishes dynamic clustering results, verifies the timeliness of clustering data, and uses the dynamic clustering results to create a preliminary retrieval index; The dynamic update module performs dynamic clustering on the unclassified new image data based on the preliminary retrieval index, updates the clustering information in real time, optimizes the retrieval index, and establishes an optimized retrieval index; The query optimization module executes image query based on the optimized retrieval index, implements query optimization for the target disease stage and image features, obtains real-time query feedback, evaluates query performance and data coverage, adjusts index structure and parameters, and obtains optimized query results.
Citation Information
Cited By
Image data processing-based nephropathy person state data storage method
CN120763348A
A Data Storage Method for Kidney Disease Patient Status Based on Image Data Processing
CN120763348B
Data optimization method and device based on multi-source heterogeneous time sequence assistance
CN120807839A
Tumor patient full life cycle index construction method based on event time sequence
CN121747815A
