Hospital digital operation platform-oriented data security transmission method and system

By slicing and salt sheet matching processing of medical image data, combined with multiple salt addition technology, the transmission delay problem caused by the salt addition algorithm is solved, and high security and low latency medical image data transmission is achieved.

CN120091091AActive Publication Date: 2025-06-03FOURTH MILITARY MEDICAL UNIVERSITY
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510549640.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2025-06-03
Estimated Expiration
2045-04-29

AI Technical Summary

Technical Problem

When using the salt-added algorithm to encrypt medical image data, the amount of encrypted data increases, significantly increasing the encryption calculation time, and increasing transmission delay.

Method used

By dividing the lesion areas in the medical image data, obtaining core shards and secondary shards, dynamically selecting salt shards, matching and obfuscating core shards and secondary shards, using salt shards of different rotation angles to mix information on sub-slices, determining the salt-added shards, and improving the security of the data through multiple salt additions.

Benefits of technology

It effectively improves the security of medical image data encryption, while shortens the transmission delay during medical image data transmission, and prevents rainbow table attacks and brute-force cracking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120091091A_ABST
    Figure CN120091091A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data security transmission, and provides a hospital digital operation platform-oriented data security transmission method and system, and the method comprises the steps: dividing a core fragment, a secondary fragment and a salt fragment in medical image data; determining a target core sub-slice, adjusting a pixel value in a salt slice, obtaining an adjusted salt slice of the target core sub-slice, determining a target core sub-slice of one-time salting and a core slice of one-time salting, and obtaining a secondary slice of one-time salting; taking the secondary slices as salt slices, obtaining secondary divided core sub-slices, obtaining salted secondary divided core sub-slices and secondary salted core slices, taking the salted secondary slices as salt slices, and salting the core slices to obtain third salted core slices; and obtaining a key and an encryption result according to the core fragment of the three times of salting, the secondary fragment of the three times of salting and all the salt fragments, and carrying out secure transmission on the encryption result. According to the invention, the transmission delay during medical image data transmission can be shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data secure transmission, and particularly to a data secure transmission method and system for a hospital digital operation platform. Background Art

[0002] Medical images are an essential and important part of modern medical services, playing a key role in clinical diagnosis, treatment plan formulation, disease monitoring, etc. The introduction of digital technology enables medical images to be stored and transmitted in digital form, greatly improving the management efficiency and accessibility of image data. With the popularization of cross-institutional sharing of medical data such as remote consultations, the security issue of medical image transmission has become increasingly prominent. The salt-adding algorithm can be used to encrypt medical image data, and then the encrypted data is transmitted to ensure the security of medical image transmission.

[0003] However, in order to ensure data security, when using the salt-adding algorithm to encrypt medical image data, the data volume of the encrypted medical image data will increase, significantly increasing the encryption calculation time and resulting in an increase in transmission delay. Summary of the Invention

[0004] The present invention provides a data secure transmission method and system for a hospital digital operation platform to solve the problem of increased transmission delay caused by encrypting data with the salt-adding algorithm during the transmission of medical image data. The specific technical solutions adopted are as follows: In a first aspect, an embodiment of the present invention provides a data secure transmission method for a hospital digital operation platform, and the method includes the following steps: Divide the lesion area in the medical image data, obtain the core shards and secondary shards, and obtain the salt shard; Fill and divide the core shards according to the size of the salt shard to obtain core sub-shards. Denote any one of the core sub-shards as the target core sub-shard. According to the difference in the pixel value distribution between the target core sub-shard and the salt shard, adjust the pixel values in the salt shard to obtain the adjusted salt shard of the target core sub-shard. Rotate the adjusted salt shard of the target core sub-shard at different angles. According to the consistency degree of the pixel value distribution included in the rotated adjusted salt shard and the target core sub-shard, determine the target core sub-shard for one-time salt addition, and then determine the core shards for one-time salt addition. Obtain the secondary shards for one-time salt addition according to the size of the salt shard. Use the salt-added core shards and salt-added secondary shards to update the core shards and secondary shards respectively; Take the secondary shards as salt shards, fill and divide the core shards according to the size of the secondary shards to obtain the secondarily divided core sub-shards. Rotate the secondary shards at different angles respectively, and obtain the salt-added secondarily divided core sub-shards according to the entropy values of the superposition results of the secondary shards rotated at different angles and the secondarily divided core sub-shards, and then obtain the core shards with secondary salt addition. According to the consistency degree of the pixel value distributions included in the core shards divided from the medical image data and the core shards with secondary salt addition, use the salt-added secondary shards as salt shards to add salt to the core shards to obtain the core shards with tertiary salt addition; Obtain the key and the encryption result according to the core shards with tertiary salt addition, the salt-added secondary shards and all the salt shards, and perform secure transmission on the encryption result.

[0005] Furthermore, the specific methods for obtaining the core shards and the secondary shards and obtaining the salt shards include: Record the lesion area in the medical image data as the core shards; Record all areas in the medical image data that are not core shards as secondary shards; Divide the medical image data into sub-regions of a preset size, use the information entropy calculation model to obtain the probability values corresponding to all sub-regions in the medical image data, select the sub-region with the largest probability value in the probability map, and record the ratio of the number of pixel points in the core shards included in the sub-region to the total number of pixel points included in the sub-region as the lesion overlap rate of the sub-region; When the lesion overlap rate of the sub-region is less than or equal to the first judgment threshold, record the selected sub-region as the salt shard; When the lesion overlap rate of the sub-region is greater than the first judgment threshold, remove all sub-regions with a lesion overlap rate greater than the first judgment threshold from the probability map and re-select the sub-region with the largest probability value. Compare the selected sub-region with the value of the first judgment threshold. When the lesion overlap rate of the sub-region is less than or equal to the first judgment threshold, record the selected sub-region as the salt shard area. When the lesion overlap rate of the sub-region is greater than the first judgment threshold, re-select the sub-region according to the same steps until the salt shard is determined.

[0006] Furthermore, the specific methods for filling and dividing the core shards according to the size of the salt shards to obtain the core sub-shards include: Calculate whether the number of rows of the core shards is an integer multiple of the number of rows of the salt shards. If so, do not fill the rows of the core shards. If not, fill the rows of the core shards until the number of rows of the core shards is an integer multiple of the number of rows of the salt shards; Calculate whether the number of columns of the core shards is an integer multiple of the number of columns of the salt shards. If so, do not fill the columns of the core shards. If not, fill the columns of the core shards with a random number until the number of columns of the core shards is an integer multiple of the number of columns of the salt shards; Divide the core shard into core sub-shards of the same size as the salt shard.

[0007] Further, the method for adjusting the pixel values in the salt shard according to the difference in the pixel value distributions between the target core sub-shard and the salt shard to obtain the adjusted salt shard of the target core sub-shard includes the following specific methods: Divide the target core sub-shard using the Otsu method, and determine the foreground mean and background mean of the target core sub-shard according to the division result; Divide the salt shard using the Otsu method, and determine the foreground mean and background mean of the salt shard according to the division result; According to the foreground mean and background mean of the target core sub-shard, and the foreground mean and background mean of the salt shard, calculate the adjusted pixel value of each pixel point in the salt shard respectively. Denote the salt shard composed of the adjusted pixel values of all pixel points as the adjusted salt shard of the target core sub-shard.

[0008] Further, the calculation method for the adjusted pixel value of each pixel point in the salt shard is as follows: Denote the difference between the foreground mean and background mean of the target core sub-shard as the first difference of the target core sub-shard, denote the difference between the foreground mean and background mean of the salt shard as the second difference of the salt shard, and denote the ratio of the first difference of the target core sub-shard to the second difference of the salt shard as the first ratio of the target core sub-shard; Denote the product of the pixel value of any pixel point in the target core sub-shard and the first ratio of the target core sub-shard as the first product of any pixel point in the target core sub-shard, and denote the floor value of the sum of the background mean of the target core sub-shard and the first product of any pixel point in the target core sub-shard as the adjusted pixel value of any pixel point in the target core sub-shard after adjustment.

[0009] Further, the method for determining the target core sub-shard for one-time salting according to the consistency degree of the pixel value distributions included in the rotated adjusted salt shard and the target core sub-shard includes the following specific methods: Obtain the gray-level distribution histograms of the rotated adjusted salt shard and the target core sub-shard respectively. According to the number of occurrences of all gray levels in the gray-level distribution histogram, obtain the gray-level value distribution sequences of the rotated adjusted salt shard and the target core sub-shard respectively. Denote the DTW distance between the gray-level value distribution sequences of the rotated adjusted salt shard and the target core sub-shard as the confusion effect between the rotated adjusted salt shard and the target core sub-shard; Take the rotated adjusted salt shard corresponding to the maximum value in the confusion effect of the target core sub-shard as the salt shard for confusion processing with the target core sub-shard. Superimpose the salt shard for confusion processing with the target core sub-shard and the target core sub-shard to obtain the target core sub-shard after salting.

[0010] Furthermore, the specific method for determining the core shards with a single salt addition includes: Arrange all the core sub-shards with salt addition in the order of the positions of the corresponding core sub-shards in the core shards to obtain the core shards with salt addition.

[0011] Furthermore, the specific method for obtaining the core sub-shards with secondary salt addition by taking the value of the information entropy of the superposition result of the secondary shards rotated at different angles and the core sub-shards of the secondary division, and then obtaining the core shards with secondary salt addition includes: Calculate the information entropy of the superposition result of the rotated secondary shards and the core sub-shards of the secondary division at each rotation angle respectively. Take the rotation angle of the secondary shards corresponding to the maximum value of the information entropy of all the superposition results of the core sub-shards of the secondary division as the rotation angle for confusing the core shards with the secondary shards. Record the superposition result of the secondary shards corresponding to the maximum value of the information entropy of all the superposition results of the core sub-shards of the secondary division and the core sub-shards of the secondary division as the core sub-shards with secondary salt addition. Arrange all the core sub-shards with secondary salt addition in the order of the positions of the core sub-shards of the secondary division in the core shards to obtain the core shards with secondary salt addition.

[0012] Furthermore, the specific method for using the secondary shards with salt addition as salt shards to add salt to the core shards according to the consistency degree of the pixel value distributions included in the core shards and the core shards with secondary salt addition divided from the medical image data to obtain the core shards with tertiary salt addition includes: Obtain the gray distribution histograms of the core shards and the core shards with secondary salt addition divided from the medical image data respectively. According to the gray distribution histograms, determine the matching relationship between the gray value distribution sequences of the core shards and the core shards with secondary salt addition divided from the medical image data and the number of occurrences of the gray values in the gray value distribution sequences respectively. Denote the difference between the number of occurrences of the corresponding gray values in the core shards and the core shards with secondary salt addition divided from the medical image data as the frequency difference of the corresponding number of occurrences of the gray values. Take the pixel value corresponding to the maximum value of all the frequency differences as the central frequency difference, and establish a local window of the central frequency difference with a preset window length centered on the central frequency difference. For the core shards with secondary salt addition, calculate the between-class variance of all the pixel values included in the local window of the central frequency difference and all the pixel values included outside the local window of the central frequency difference, and increase the window length by the same preset step size until there are no pixel values outside the local window to stop calculating the between-class variance corresponding to the value of each window length. Select the local window of the central frequency difference corresponding to the maximum between-class variance, record the minimum value of the pixel value interval corresponding to the local window as the second salted background mean of the core slice with secondary salting, and record the maximum value of the pixel value interval corresponding to the local window as the second salted foreground mean of the core slice with secondary salting; Use the maximum between-class variance method to divide the secondary slice to determine the foreground mean and background mean of the secondary slice; Take the second salted background mean of the core slice with secondary salting as the background mean of the core slice with secondary salting, take the second salted foreground mean of the core slice with secondary salting as the foreground mean of the core slice with secondary salting, combine the foreground mean of the secondary slice and the background mean of the secondary slice, and use the salted secondary slice as a salt slice to salt the core slice to obtain the core slice with tertiary salting.

[0013] In a second aspect, an embodiment of the present invention further provides a data security transmission system for a hospital digital operation platform, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the steps of the method described in any one of the above are implemented.

[0014] The beneficial effects of the present invention are: This application first determines the core shards and secondary shards based on the lesion areas in the medical image data, and dynamically selects salt shards. The core shards are the lesion areas in the medical image data, the secondary shards are the other areas in the medical image data except the lesion areas, and the salt shards are the low-information-density areas in the medical image data. The salt shards are used to perform matching and confusion processing on the core shards and secondary shards respectively. The salt shards can be attached to the core shards and secondary shards, and then attached to the medical image data, mixing the effective information of the medical image data with the chaotic information of the salt shards to cover the original information of the medical image data. During the process of adding salt to the information on the core shards and secondary shards, salt shards with different rotation angles are used to mix the information of the sub-shards of the core shards and secondary shards respectively, and the core shards and secondary shards for the first salt addition are determined according to the mixing effect, improving the security of medical image data encryption. Further, since the information contained in the core shards is more important for the medical image data, the secondary shards are selected as the salt shards to perform the second salt addition processing on the core shards, further improving the security when the medical image data is transmitted. Then, according to the gray-scale distribution difference between the core shards divided from the medical image data and the core shards after the second salt addition, the third salt addition to the core shards is determined. The three salt additions can improve the security of medical image data encryption. At the same time, even if two users use the same password, due to different salt values, the generated hash values will be different, effectively preventing rainbow table attacks and brute-force cracking. Finally, the encrypted result is securely transmitted in different ways, which can solve the problem of increased transmission delay caused by encrypting data using the salt addition algorithm during the transmission of medical image data, shortening the transmission delay during the transmission of medical image data. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0016] Figure 1 It is a flowchart of a data security transmission method for a hospital digital operation platform provided by an embodiment of the present invention; Figure 2 It is a flowchart for obtaining adjusted pixel values provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0017] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0018] Please refer to Figure 1 , which shows a flowchart of a data security transmission method for a hospital digital operation platform provided by an embodiment of the present invention. The method includes the following steps: Step S001, divide the lesion area in the medical image data, obtain the core shards and secondary shards, and obtain the salt shards.

[0019] Retrieve the medical image data to be transmitted from the PACS system.

[0020] Among them, the PACS system, namely Picture Archiving and Communication Systems, is an integrated system for digital storage, management, transmission, and display of medical images; the output standard of the medical image data is a DICOM format file, and sensitive patient information fields such as the patient's name and date of birth in the DICOM tags need to be removed, and the medical image data is anonymized encoded using a hash algorithm.

[0021] Use the medical image data with the lesion area divided as the training set, train a neural network model using an improved U-Net architecture, obtain the trained data model, use the trained data model to segment the lesion area in the medical image data, record the divided lesion area as the core shard, and record all areas that are not the core shard as the secondary shard.

[0022] Taking the 32*32 image area as the preset area size of the salt slice area, dividing the medical image data into 32*32 sub-areas, using the information entropy calculation model to obtain the probability values corresponding to all sub-areas in the medical image data, selecting the sub-area with the largest probability value in the probability map, and recording the ratio of the number of pixel points in the core slice contained in the sub-area to the total number of pixel points contained in the sub-area as the lesion overlap rate of the sub-area. When the lesion overlap rate of the sub-area is less than or equal to the first judgment threshold, the selected sub-area is recorded as a salt slice; when the lesion overlap rate of the sub-area is greater than the first judgment threshold, remove all sub-areas with a lesion overlap rate greater than the first judgment threshold from the probability map and re-select the sub-area with the largest probability value, compare the selected sub-area with the value of the first judgment threshold, when the lesion overlap rate of the sub-area is less than or equal to the first judgment threshold, record the selected sub-area as the salt slice area, and when the lesion overlap rate of the sub-area is greater than the first judgment threshold, re-select the sub-area according to the same steps until the salt slice is determined.

[0023] It can be understood that the core slice and the secondary slice together constitute the medical image data. The core slice is the lesion area in the medical image data, and the secondary slice is the other area in the medical image data except the lesion area. The salt slice is the low information density area in the medical image data, such as the area corresponding to the uniform background and non-critical structures.

[0024] Among them, in this embodiment, the 32*32 image area is selected as the preset area size of the salt slice area. The larger the salt slice area, the lower the security of encryption using the salt addition algorithm. The value of the first judgment threshold in this embodiment is 5%. In the actual application process, as other implementation manners, the implementer can determine the preset area size of the salt slice area and the value of the first judgment threshold according to the actual situation by himself, and this application does not make special restrictions.

[0025] So far, the salt slice is obtained, and the core slice and the secondary slice in the medical image data are obtained.

[0026] Step S002, fill and divide the core slice according to the size of the salt slice to obtain core sub-slices. Denote any one of the core sub-slices as the target core sub-slice. According to the difference in the pixel value distribution between the target core sub-slice and the salt slice, adjust the pixel values in the salt slice to obtain the adjusted salt slice of the target core sub-slice. Rotate the adjusted salt slice of the target core sub-slice at different angles respectively. According to the consistency degree of the pixel value distribution contained in the rotated adjusted salt slice and the target core sub-slice, determine the target core sub-slice for one-time salt addition, and then determine the core slice for one-time salt addition. Obtain the secondary slice for one-time salt addition according to the size of the salt slice, and use the salt-added core slice and the salt-added secondary slice to update the core slice and the secondary slice respectively.

[0027] When using the salt - adding algorithm to encrypt medical image data, salt tablets are needed to match and obfuscate the core shards and secondary shards. Among them, the obfuscation process is the salt - adding process, that is, the encryption process. Then, a dynamic salt value is generated according to the salt tablets, and the matching and obfuscation information is placed in the data shards. Combining the pre - shared master secret key and the dynamic salt value, a shard encryption secret key is generated, and the medical image data is encrypted with the shard encryption secret key. Finally, the encrypted results are independently transmitted through different transmission channels. Among them, the salt tablets are transmitted through low - risk lines or intranet lines, and other shards are transmitted through conventional transmission channels to reduce the transmission pressure on the intranet lines.

[0028] First, it is necessary to fill the core shard according to the size of the salt tablet. Calculate whether the number of rows of the core shard is an integer multiple of the number of rows of the salt tablet. If so, do not fill the rows of the core shard. If not, fill the rows of the core shard with random numbers until the number of rows of the core shard is an integer multiple of the number of rows of the salt tablet. Calculate whether the number of columns of the core shard is an integer multiple of the number of columns of the salt tablet. If so, do not fill the columns of the core shard. If not, fill the columns of the core shard with random numbers until the number of columns of the core shard is an integer multiple of the number of columns of the salt tablet. Secondly, the core shard is segmented according to the size of the salt tablet, and the core shard is divided into core sub - shards of the same size as the salt tablet.

[0029] For example, if the size of the salt tablet is 32 * 32 and the size of the core shard is 410 * 512, then the number of rows of the salt tablet is 32 and the number of rows of the core shard is 410. Since 410 is not an integer multiple of 32, the rows of the core shard are filled until 410 is increased to 416, which is an integer multiple of 32, that is, 6 rows of random numbers are filled in the core shard. The number of columns of the salt tablet is 32 and the number of columns of the core shard is 512. Since 512 is an integer multiple of 32, the columns of the core shard are not filled.

[0030] The salt tablets are used to match and obfuscate the core shards and secondary shards respectively. The purpose is to attach the salt tablets to the core shards and secondary shards, and then attach the salt tablets to the medical image data, mixing the valid information of the medical image data and the chaotic information of the salt tablets to cover the original information of the medical image data.

[0031] Denote any one of the core sub - slices as the target core sub - slice. Use the Otsu method to divide all the pixel values included in the target core sub - slice to obtain the first division threshold. Denote the mean value of all pixel points in the target core sub - slice that are greater than or equal to the first division threshold as the foreground mean value of the target core sub - slice, and denote the mean value of all pixel points in the target core sub - slice that are less than the first division threshold as the background mean value of the target core sub - slice. Use the Otsu method to divide all the pixel values included in the salt slice to obtain the second division threshold. Denote the mean value of all pixel points in the salt slice that are greater than or equal to the second division threshold as the foreground mean value of the salt slice, and denote the mean value of all pixel points in the salt slice that are less than the second division threshold as the background mean value of the salt slice.

[0032] In order to obfuscate the information included in the target core sub - slice, it is necessary to adjust the pixel value range of the pixel points included in the salt slice to be similar to the pixel value distribution of the target core sub - slice.

[0033] According to the foreground mean value and background mean value of the target core sub - slice, as well as the foreground mean value and background mean value of the salt slice, calculate the adjusted pixel value of each pixel point in the salt slice respectively. Denote the salt slice composed of the adjusted pixel values of all pixel points as the adjusted salt slice of the target core sub - slice. Among them, the calculation formula for the adjusted pixel value of each pixel point in the adjusted salt slice is: In the formula: represents the adjusted pixel value after adjustment of the th pixel point in the target core sub - slice; represents the floor function symbol, which is used to round down the value inside the symbol; represents the th pixel point in the target core sub - slice; represents the foreground mean value of the salt slice; represents the background mean value of the salt slice; represents the foreground mean value of the target core sub - slice; represents the background mean value of the target core sub - slice.

[0034] Among them, the th pixel point in the target core sub - slice is any pixel point in the target core sub - slice, ranges over all natural numbers greater than or equal to 1 and less than or equal to the number of pixel points included in the target core sub - slice.

[0035] Among them, it should be noted that the difference between the foreground mean value and the background mean value of the target core sub-slice is denoted as the first difference of the target core sub-slice, the difference between the foreground mean value and the background mean value of the salt slice is denoted as the second difference of the salt slice, and the ratio of the first difference of the target core sub-slice to the second difference of the salt slice is denoted as the first ratio of the target core sub-slice. The first ratio of the target core sub-slice is . Multiply the pixel value of the th pixel point in the target core sub-slice by the first ratio of the target core sub-slice, and denote it as the first product of the th pixel point in the target core sub-slice. Denote the floor value of the sum of the background mean value of the target core sub-slice and the first product of the th pixel point in the target core sub-slice as the adjusted pixel value of the th pixel point in the target core sub-slice.

[0036] The flowchart for obtaining the adjusted pixel value is as Figure 2 shown.

[0037] It can be understood that the adjusted salt slice of the target core sub-slice is a salt slice whose pixel value distribution is adjusted to be similar to that of the target core sub-slice. The adjusted salt slice of any core sub-slice can be obtained by the same method. That is to say, for any core sub-slice, there is a corresponding adjusted salt.

[0038] When using the adjusted salt slice to perform confusion processing on the target core sub-slice, the result of direct confusion processing may not be the best. Therefore, rotate the adjusted salt slice of the target core sub-slice clockwise by 0°, 90°, 180°, and 270° respectively, and calculate the confusion effect between the rotated adjusted salt slice and the target core sub-slice according to the degree of consistency of the pixel value distributions included in the rotated adjusted salt slice and the target core sub-slice.

[0039] Specifically, obtain the gray-scale distribution histograms of the rotated adjusted salt slice and the target core sub-slice respectively. Arrange the number of occurrences of all gray-scale values in the gray-scale distribution histogram of the rotated adjusted salt slice in ascending order of gray-scale value to obtain the gray-scale value distribution sequence of the rotated adjusted salt slice. Arrange the number of occurrences of all gray-scale values in the gray-scale distribution histogram of the target core sub-slice in ascending order of gray-scale value to obtain the gray-scale value distribution sequence of the target core sub-slice. Denote the DTW distance between the gray-scale value distribution sequences of the rotated adjusted salt slice and the target core sub-slice as the confusion effect between the rotated adjusted salt slice and the target core sub-slice.

[0040] Among them, obtaining the gray-scale distribution histogram is a well-known technology and will not be elaborated here.

[0041] When the confusion effect between the rotated adjusted salt tablet and the target core sub-slice is greater, the difference in the image gray value distribution between the rotated adjusted salt tablet and the target core sub-slice is greater. The better the effect of using the rotated adjusted salt tablet to mix information and cover the original information of the medical image data for the target core sub-slice, and the better the effect of selecting the rotated adjusted salt tablet for confusion processing.

[0042] Take the rotated adjusted salt tablet corresponding to the maximum value in the confusion effect corresponding to the target core sub-slice as the salt tablet for confusion processing with the target core sub-slice, and superimpose the salt tablet for confusion processing with the target core sub-slice and the target core sub-slice to obtain the salt-added target core sub-slice.

[0043] Among them, the superposition of the salt tablet and the target core sub-slice is to sum the pixel values of the corresponding position pixel points. In the same way, the salt-added core sub-slice corresponding to any core sub-slice can be obtained. That is to say, for any core sub-slice, there is a corresponding salt-added core sub-slice.

[0044] Arrange all the salt-added core sub-slices according to the positions of the corresponding core sub-slices of the salt-added core sub-slices in the core slices to obtain the salt-added core slice.

[0045] Save the first ratio of the target core sub-slice, the background mean value of the target core sub-slice, and the rotation angle of the rotated adjusted salt tablet corresponding to the maximum value in the confusion effect corresponding to the target core sub-slice in the key for decryption.

[0046] According to the method of filling and dividing the core slice to obtain the core sub-slice and obtaining the salt-added core sub-slice, perform filling and dividing processing on the secondary slice to obtain the secondary sub-slice and obtain the salt-added secondary sub-slice. Arrange the secondary sub-slices corresponding to all the salt-added secondary sub-slices according to their positions in the secondary slices to obtain the salt-added secondary slice.

[0047] Replace the core slice with the salt-added core slice to obtain the updated core slice; replace the secondary slice with the salt-added secondary slice to obtain the updated secondary slice.

[0048] It can be understood that the process of obtaining the updated core slice and the updated secondary slice is the process of performing the first salt addition on the core slice and the secondary slice.

[0049] So far, the updated core slice and the updated secondary slice are obtained.

[0050] Step S003: Take the secondary shards as salt shards, fill and divide the core shards according to the size of the secondary shards to obtain secondarily divided core sub-shards. Rotate the secondary shards at different angles respectively, and obtain the salt-added secondarily divided core sub-shards according to the value of the information entropy of the superposition result of the secondarily divided core sub-shards and the secondary shards rotated at different angles, and then obtain the core shards with secondary salt addition. According to the consistency degree of the pixel value distributions included in the core shards divided from the medical image data and the core shards with secondary salt addition, use the salt-added secondary shards as salt shards to add salt to the core shards to obtain the core shards with tertiary salt addition.

[0051] Among the core shards and the secondary shards, the information contained in the core shards is more important for the medical image data. Select the secondary shards as salt shards to perform confusion processing on the core shards to improve the security during data transmission of the medical image data.

[0052] The method of filling and dividing the core shards according to the size of the salt shards to obtain core sub-shards is to fill and divide the core shards according to the size of the secondary shards to obtain secondarily divided core sub-shards. It can be understood that the secondarily divided core sub-shards are the same size as the secondary shards. Perform histogram equalization on the secondarily divided core sub-shards and the secondary shards respectively to reduce the information difference between the secondarily divided core sub-shards and the secondary shards.

[0053] Rotate the secondary shards clockwise by 0°, 90°, 180°, and 270° respectively, and determine the rotation angle of the rotated secondary shards and the salt-added secondarily divided core sub-shards according to the information entropy of the superposition result of the rotated secondary shards and the secondarily divided core sub-shards.

[0054] Specifically, calculate the information entropy of the superposition result of the rotated secondary shards and the secondarily divided core sub-shards at each rotation angle respectively, determine the maximum value of the information entropy of the superposition results of all the secondarily divided core sub-shards, take the rotation angle of the secondary shards corresponding to the maximum value of the information entropy of the superposition results of all the secondarily divided core sub-shards as the rotation angle for performing confusion processing on the core shards using the secondary shards, and record the superposition result of the secondary shards corresponding to the maximum value of the information entropy of the superposition results of all the secondarily divided core sub-shards and the secondarily divided core sub-shards as the salt-added secondarily divided core sub-shards. Arrange all the salt-added secondarily divided core sub-shards according to the positions of the secondarily divided core sub-shards in the core shards to obtain the core shards with secondary salt addition.

[0055] Among them, performing histogram equalization and calculating information entropy are both well-known technologies and will not be elaborated here.

[0056] Obtain the grayscale distribution histograms of the core shards and the core shards with secondary salt addition respectively from the medical image data. Arrange the number of occurrences of all grayscale values in the grayscale distribution histogram of the core shards obtained from the medical image data in ascending order of grayscale values to obtain the grayscale value distribution sequence of the core shards obtained from the medical image data. Arrange the number of occurrences of all grayscale values in the grayscale distribution histogram of the core shards with secondary salt addition in ascending order of grayscale values to obtain the grayscale value distribution sequence of the core shards with secondary salt addition. Match the number of occurrences of grayscale values in the grayscale value distribution sequences of the core shards and the core shards with secondary salt addition obtained from the medical image data through the DTW algorithm. Denote the difference between the number of occurrences of the corresponding grayscale values in the core shards and the core shards with secondary salt addition obtained from the medical image data as the frequency difference of the number of occurrences of the corresponding grayscale values. Take the pixel value corresponding to the maximum of all frequency differences as the central frequency difference, and establish a local window of the central frequency difference with a window length of 2 centered on the central frequency difference. It should be noted that the corresponding values within the local window of the central frequency difference are all pixel values. For example, when the central frequency difference is 50, the local window of the central frequency difference is .

[0057] For the core shards with secondary salt addition, calculate the between-class variance of all pixel values included within the local window of the central frequency difference and all pixel values excluded from the local window of the central frequency difference, and denote the calculated between-class variance as the between-class variance corresponding to the value of the window length. Further, take the number 2 as the step size for increasing the window length, and calculate the between-class variance corresponding to each value of the window length respectively until there are no pixel values outside the local window to stop the calculation. For example, if the local window of the central frequency difference is , and take the number 2 as the step size for increasing the window length, then after increasing the step size once, the local window of the central frequency difference is .

[0058] Among them, the calculation of the between-class variance is a well-known technique and will not be elaborated here.

[0059] Select the local window of the central frequency difference corresponding to the maximum between-class variance, denote the minimum value of the pixel value interval corresponding to the local window as the secondary salt addition background mean of the core shards with secondary salt addition, and denote the maximum value of the pixel value interval corresponding to the local window as the secondary salt addition foreground mean of the core shards with secondary salt addition.

[0060] Use the maximum between-class variance method to divide the secondary shards to obtain the third division threshold. Denote the mean value of all pixel points greater than or equal to the third division threshold in the secondary shards as the foreground mean of the secondary shards, and denote the mean value of all pixel points less than the third division threshold in the secondary shards as the background mean of the secondary shards.

[0061] According to the method of salting the core sub - slices based on the salt tablets to obtain the salted secondary sub - slices, the background mean value of the second - salted core slice for the second - salted core slice is used as the background mean value of the second - salted core slice, and the foreground mean value of the second - salted core slice for the second - salted core slice is used as the foreground mean value of the second - salted core slice. Combining the foreground mean value and the background mean value of the secondary slice, the salted secondary slice is used as a salt tablet to salt the core slice to obtain the core slice with three - time salting.

[0062] It can be understood that the core slice with three - time salting is the final result obtained by encrypting the core slice.

[0063] So far, the core slice with three - time salting is obtained.

[0064] Step S004: Obtain the key and the encrypted result according to the core slice with three - time salting, the salted secondary slice, and all the salt tablets, and perform secure transmission on the encrypted result.

[0065] To ensure the security of the key when using the salting algorithm to encrypt medical image data, this application dynamically selects salt tablets according to the medical image data, generates a salt value through the salt tablets, and generates a dynamic key in combination with the main key. In this way, even if two users use the same password, due to different salt values, the generated hash values will be different, effectively preventing rainbow table attacks and brute - force cracking.

[0066] Convert the salt tablets into grayscale images, obtain the data stream of the salt tablets according to the row - first principle, and convert the data stream of the salt tablets into a dynamic salt value through a hash algorithm. Use the key distribution system of the core slice with three - time salting to obtain the pre - allocated shared main key, generate a slice encryption key through the KDF key derivation function, encrypt all the salt tablets respectively using the slice encryption key, transmit the encrypted results of the core slice with three - time salting, the salted secondary slice, and all the salt tablets through a public line, and transmit the medical image data through a third - party audit pipeline.

[0067] Among them, when encrypting all the salt tablets respectively using the slice encryption key, Huffman coding is selected for encryption. Converting the salt tablets into grayscale images, obtaining the data stream of the salt tablets according to the row - first principle, converting the data stream of the salt tablets into a dynamic salt value through a hash algorithm, obtaining the pre - allocated shared main key, generating a slice encryption key through the KDF key derivation function, encrypting all the salt tablets respectively using the slice encryption key, and transmitting data through a public line and a third - party audit pipeline are all well - known technologies and will not be elaborated here.

[0068] After the receiver receives the encrypted results of the triple-salted core shards, salted secondary shards, and all salt shards, it first decrypts the salt shards. Using the decrypted salt shards and the shared master secret key, it calculates the encryption keys for the core shards, secondary shards, and all salt shards. It then decrypts the core shards, secondary shards, and all salt shards using the encryption keys. During the decryption process, based on the data used for decryption such as the first ratio of the target core sub-shard combined in the key, the background mean of the target core sub-shard, and the rotation angle of the rotated adjusted salt shard corresponding to the maximum value in the confusion effect corresponding to the target core sub-shard, the medical image data is obtained.

[0069] Thus, the secure data transmission for the hospital digital operation platform is realized.

[0070] Based on the same inventive concept as the above method, an embodiment of the present invention further provides a secure data transmission system for a hospital digital operation platform, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, it implements the steps of any one of the above secure data transmission methods for the hospital digital operation platform.

[0071] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present invention shall be included within the protection scope of the present invention.

Claims

1. A data security transmission method for a hospital digital operation platform, characterized in that: The method comprises the following steps: Divide the lesion area in the medical imaging data, obtain the core slices and secondary slices, and obtain the salt slices; Fill and split the core slice according to the size of the salt slice to obtain the core sub-slice, record any core sub-slice as the target core sub-slice, adjust the pixel value in the salt slice according to the difference in pixel value distribution between the target core sub-slice and the salt slice, obtain the adjusted salt slice of the target core sub-slice, rotate the adjusted salt slice of the target core sub-slice at different angles, determine the target core sub-slice for salting once according to the degree of consistency in the distribution of pixel values ​​contained in the rotated adjusted salt slice and the target core sub-slice, and then determine the core slice for salting once, obtain the secondary slice for salting once according to the size of the salt slice, and use the core slice for salting and the secondary slice for salting to update the core slice and the secondary slice respectively; The secondary slices are used as salt slices, and the core slices are filled and divided according to the size of the secondary slices to obtain secondary-divided core sub-slices. The secondary slices are rotated at different angles respectively, and the salted secondary-divided core sub-slices are obtained according to the information entropy values ​​of the superposition results of the secondary slices rotated at different angles and the secondary-divided core sub-slices, and then the secondary-salted core slices are obtained. According to the degree of consistency in the distribution of pixel values ​​contained in the core slices divided by the medical imaging data and the secondary-salted core slices, the salted secondary slices are used as salt slices to salt the core slices to obtain thrice-salted core slices; The key and encryption result are obtained based on the three-salted core shards, the salted secondary shards, and all the salt shards, and the encryption result is securely transmitted.

2. The data security transmission method for hospital digital operation platform according to claim 1 is characterized in that: The specific method of obtaining the core shards and the secondary shards and obtaining the salt shards is as follows: The lesion area in the medical imaging data is recorded as a core fragment; All areas in the medical imaging data that are not core slices are recorded as secondary slices; The medical imaging data is divided into sub-regions of preset sizes, and the probability values ​​corresponding to all sub-regions in the medical imaging data are obtained using the information entropy calculation model. The sub-region with the largest probability value in the probability map is selected, and the ratio of the number of pixels in the sub-region in the core slice to the number of all pixels in the sub-region is recorded as the lesion overlap rate of the sub-region; When the lesion overlap rate of the sub-region is less than or equal to the first judgment threshold, the selected sub-region is recorded as a salt slice; When the lesion overlap rate of the sub-region is greater than the first judgment threshold, reselect the sub-region with the largest probability value from all sub-regions except the sub-regions with lesion overlap rate greater than the first judgment threshold in the probability map, and compare the selected sub-region with the value of the first judgment threshold; when the lesion overlap rate of the sub-region is less than or equal to the first judgment threshold, record the selected sub-region as the salt film region; when the lesion overlap rate of the sub-region is greater than the first judgment threshold, reselect the sub-region according to the same steps until the salt film is determined.

3. The data security transmission method for hospital digital operation platform according to claim 1 is characterized in that: The method of filling and splitting the core shards according to the size of the salt shards to obtain the core sub-shards includes: Calculate whether the number of rows in the core shard is an integer multiple of the number of rows in the salt shard. If so, do not fill the rows in the core shard. If not, fill the rows in the core shard until the number of rows in the core shard is an integer multiple of the number of rows in the salt shard. Calculate whether the number of columns of the core shard is an integer multiple of the number of columns of the salt shard. If so, do not fill the columns of the core shard. If not, fill the columns of the core shard with random numbers until the number of columns of the core shard is an integer multiple of the number of columns of the salt shard. Divide the core shard into core sub-shards of the same size as the salt shards.

4. The data security transmission method for hospital digital operation platform according to claim 1 is characterized in that: The method of adjusting the pixel value in the salt slice according to the difference in pixel value distribution between the target core sub-slice and the salt slice to obtain the adjusted salt slice of the target core sub-slice includes: The target core sub-slice is divided using the maximum inter-class variance method, and the foreground mean and background mean of the target core sub-slice are determined according to the division results; The salt flakes are divided using the maximum inter-class variance method, and the foreground mean and background mean of the salt flakes are determined according to the division results; According to the foreground mean and background mean of the target core sub-slice, as well as the foreground mean and background mean of the salt slice, the adjusted pixel value of each pixel in the salt slice is calculated respectively, and the salt slice composed of the adjusted pixel values ​​of all pixels is recorded as the adjusted salt slice of the target core sub-slice.

5. The data security transmission method for hospital digital operation platform according to claim 4 is characterized in that: The calculation method of the adjusted pixel value of each pixel in the salt tablet is: The difference between the foreground mean and the background mean of the target core sub-slice is recorded as the first difference of the target core sub-slice, the difference between the foreground mean and the background mean of the salt slice is recorded as the second difference of the salt slice, and the ratio of the first difference of the target core sub-slice to the second difference of the salt slice is recorded as the first ratio of the target core sub-slice; The product of the pixel value of any pixel point in the target core sub-slice and the first ratio of the target core sub-slice is recorded as the first product of any pixel point in the target core sub-slice, and the rounded-down value of the sum of the background mean of the target core sub-slice and the first product of any pixel point in the target core sub-slice is recorded as the adjusted pixel value of any pixel point in the target core sub-slice.

6. The data security transmission method for hospital digital operation platform according to claim 1 is characterized in that: The method of determining the target core sub-slice for adding salt once according to the distribution consistency of the pixel values ​​contained in the rotated adjusted salt slice and the target core sub-slice includes the following specific methods: Obtain the grayscale distribution histograms of the rotated adjusted salt slice and the target core sub-slice respectively, obtain the grayscale value distribution sequence of the rotated adjusted salt slice and the grayscale value distribution sequence of the target core sub-slice respectively according to the number of occurrences of all grayscale values ​​in the grayscale distribution histogram, and record the DTW distance of the grayscale value distribution sequence of the rotated adjusted salt slice and the target core sub-slice as the confusion effect of the rotated adjusted salt slice and the target core sub-slice; The rotated adjusted salt slice corresponding to the maximum value of the obfuscation effect corresponding to the target core sub-shard is used as the salt slice for obfuscation with the target core sub-shard, and the salt slice for obfuscation with the target core sub-shard is superimposed with the target core sub-shard to obtain the salted target core sub-shard.

7. The data security transmission method for hospital digital operation platform according to claim 1 is characterized in that: The specific method of determining the core fragments for adding salt once includes: Arrange all the salted core sub-shards according to the positions of the core sub-shards corresponding to the salted core sub-shards in the core shards to obtain the salted core shards.

8. The data security transmission method for hospital digital operation platform according to claim 1 is characterized in that: The method of obtaining the information entropy of the superposition result of the secondary slices rotated at different angles and the secondary core slices to obtain the salted secondary core slices and then obtain the secondary salted core slices includes: Calculate the information entropy of the superposition result of the rotated secondary slice and the secondary divided core sub-slice at each rotation angle respectively, and use the rotation angle of the secondary slice corresponding to the maximum value of the information entropy of the superposition result of all the secondary divided core sub-slices as the rotation angle for obfuscating the core slice using the secondary slice; The secondary shard corresponding to the maximum value of the information entropy of the superposition results of all secondary partition core sub-shards is superimposed with the secondary partition core sub-shard, and is recorded as the salted secondary partition core sub-shard; Arrange all the secondary-partitioned core sub-shards with salt added according to the positions of the secondary-partitioned core sub-shards in the core shards to obtain the secondary-salted core shards.

9. The data security transmission method for hospital digital operation platform according to claim 1 is characterized in that: The method of determining the distribution consistency of pixel values ​​contained in the core slices divided according to the medical imaging data and the core slices with secondary salting, using the secondary slices with salting as salt slices to salt the core slices, and obtaining the core slices with thrice salting includes: Respectively obtain the grayscale distribution histograms of the core slices divided from the medical image data and the core slices with secondary salting, and determine the matching relationship between the grayscale value distribution sequence of the core slices divided from the medical image data and the grayscale value distribution sequence of the core slices with secondary salting and the number of occurrences of the grayscale values ​​in the grayscale value distribution sequence according to the grayscale distribution histograms, record the difference between the number of occurrences of the corresponding grayscale values ​​in the core slices divided from the medical image data and the core slices with secondary salting as the frequency difference of the number of occurrences of the corresponding grayscale values, take the pixel value corresponding to the maximum value of all frequency differences as the center frequency difference, and establish a local window of the center frequency difference with a preset window length with the center frequency difference as the center; For the core slices with secondary salting, the inter-class variance of all pixel values ​​contained in the local window of the center frequency difference and all pixel values ​​contained outside the local window of the center frequency difference is calculated, and the window length is increased with the same preset step size until there is no pixel value outside the local window, and the inter-class variance corresponding to each window length value is stopped. Select the local window of the center frequency difference corresponding to the maximum value of the inter-class variance, record the minimum value of the pixel value interval corresponding to the local window as the secondary salting background mean of the secondary salting core slice, and record the maximum value of the pixel value interval corresponding to the local window as the secondary salting foreground mean of the secondary salting core slice; The secondary fragments are divided using the maximum inter-class variance method to determine the foreground mean and background mean of the secondary fragments; The secondary salting background mean of the secondary salted core slice is used as the background mean of the secondary salted core slice, and the secondary salting foreground mean of the secondary salted core slice is used as the foreground mean of the secondary salted core slice. Combined with the foreground mean of the secondary slice and the background mean of the secondary slice, the salted secondary slice is used as the salt slice to salt the core slice, and the thrice salted core slice is obtained.

10. A data security transmission system for a hospital digital operation platform, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Data encryption and decryption method and system on basis of double salt values

    CN106301763A

  • Information protection method and device, electronic equipment and computer readable storage medium

    CN114244522A

  • Medical image secure transmission method based on multi-modal biological characteristics

    CN119583726A

  • Image forming apparatus, computer readable medium and medium

    US20090122983A1