A radiation security inspection system based on encryption-aware hash recognition algorithm
Through the radiation security inspection system based on the encryption-aware hash identification algorithm, DCT transformation and encryption processing are used to generate characteristic hash sequences, which solves the problem that traditional radiation detection technology cannot protect sensitive information, and realizes the detection of highly confidential military products and biologically sensitive data. Encrypted radiation detection ensures information security.
Patent Information
- Application Number
- CN202210849619.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-19
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-07-19
AI Technical Summary
Due to the strong penetration ability of rays, traditional radiographic detection technology cannot effectively protect the sensitive information of the inspected items, and cannot meet the needs of encrypted radiation detection of highly confidential military products and biologically sensitive data.
A radiation security inspection system based on encryption-aware hash recognition algorithm is used to obtain radiation images through radioactive source components and ray detectors. DCT transformation, compression, encryption, weighting and scrambling are used to generate a unique feature hash sequence, combined with template comparison. Authentication and comparison of radiation images are carried out to ensure the protection of sensitive information.
It achieves accurate authentication of radiation image content on the premise of protecting sensitive data, meets the requirements for encrypted non-destructive testing of highly confidential military products and biologically sensitive data, and ensures the security of sensitive information of the inspected items.
Smart Images

Figure CN115100448B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of radiation security inspection, and in particular to a radiation security inspection system based on an encryption-aware hash recognition algorithm. Background Art
[0002] Since the discovery of X-rays, the application of radiographic testing has been continuously expanded. Today, it has become one of the five major conventional non-destructive testing methods, including X-ray photography, gamma-ray photography, neutron radiography, and radiographic tomography. When a uniform intensity beam of radiation irradiates an object, if there are defects or structural differences in a local area of the object, it will change the object's attenuation of the radiation, resulting in different intensities of the transmitted radiation in different parts. In this way, by using a specific detector to detect the intensity of the transmitted radiation, it is possible to determine the defects and material distribution inside the object, thereby completing the inspection of the object.
[0003] However, due to the powerful penetrating ability of radiation, traditional radiation detection technology has never considered the leakage of sensitive information of the inspected items, and cannot meet the encrypted radiation detection needs of specific items such as highly confidential military products and biological sensitive data. Summary of the Invention
[0004] The present invention provides a radiation security inspection system based on an encryption-aware hash recognition algorithm, which can effectively solve the problem raised in the above background technology that due to the powerful perspective ability of radiation, traditional radiation detection technology has never considered the leakage of sensitive information of the inspected items, and cannot meet the encrypted radiation detection needs of specific items such as highly confidential military products and biological sensitive data.
[0005] To achieve the above-mentioned object, the present invention provides the following technical solutions: a radiation security inspection system based on an encryption-aware hash recognition algorithm, comprising a radiation source component, a radiation detector, and an encryption-aware hash recognition algorithm module;
[0006] The radioactive source assembly and the radiation detector are used to obtain irradiation images of special items, wherein the images contain particle count and energy deposition information;
[0007] The encryption-aware hash recognition algorithm module performs DCT transformation, compression, encryption, binarization and scrambling on the irradiated image to generate a unique feature hash sequence related to the inspected item;
[0008] The encryption-aware hash recognition algorithm module first compresses and encrypts the ray information collected by the detector using the encryption-aware hash recognition algorithm, and then further processes the encrypted data to generate the corresponding feature hash sequence, which is used as the "fingerprint" of the tested item for subsequent authentication of the corresponding image content. Combining with the template comparison method, the fingerprints of the reference item and the tested item are compared to determine whether the two fingerprints come from the same type of tested item;
[0009] The specific steps of the encryption-aware hash recognition algorithm are as follows:
[0010] A1. Interpolate the irradiation measurement data of the reference item and the tested item uniformly to obtain a count matrix of size N×N. The count matrices of the reference item and the tested item are denoted as A1 and A2 respectively;
[0011] A2. Perform two-dimensional DCT transforms on matrices A1 and A2 respectively, intercept the upper left n×n two-dimensional sub-matrix (n < N) of the transformed matrix, and take the absolute value matrices of the sub-matrices as a1 and a2 respectively;
[0012] A3. Introduce a key matrix λ of size N×N, and obtain key matrices v1 and v2 through its Hadamard products with the original count matrices A1 and A2 respectively. Compress the key matrices using the adjacent summation method, and the compressed key matrices are denoted as β1 and β2 respectively;
[0013] A4. Weight the matrices after two-dimensional DCT transform: Through matrix product operations of a1 and a2 with key matrices β1 and β2 respectively, obtain weighted matrices σ1 and σ2 respectively;
[0014] A5. Calculate the average values of the weighted matrices of the reference item and the tested item respectively, exchange the mean values, calculate the corresponding hash value matrices, and obtain the corresponding hash value matrices denoted as ω1 and ω2;
[0015] A6. Scramble and reduce the dimensions of the above two hash matrices in the same way to obtain related feature hash sequences ψ1 and ψ2 of length n (:n,:n) , , ,
[0018] ×1, and finally calculate the Hamming distance H between the two hash sequences.
[0016] According to the above technical solution, in A2, the calculation formulas of a1 and a2 are as follows:
[0017] a i =|[dct(A i )] (:n,:n) | (1)<e000064>
[0018] Where: i = 1, 2, representing the reference item and the tested item respectively, (:n,:n) represents taking the first n rows and the first n columns of the matrix;
[0019] The two-dimensional DCT transform formula is as follows:
[0020]
[0021] in: x,y,μ,v=0,1,…,N-1;
[0022] f(x,y) is the element in the count matrix A1 and A2;
[0023] F(μ,ν) is the element in the matrix after A1 and A2 are transformed by DCT;
[0024] N is the number of rows and columns of the transformation matrix.
[0025] According to the above technical solution, in A3, the key matrices v1 and v2 are as follows:
[0026] v i =A i λ (3)
[0027] The compressed key matrices β1 and β2 are as follows:
[0028]
[0029] In formula (3) and (4), i = 1, 2, representing the reference item and the item to be tested, respectively. Respectively represent v i The sum of adjacent elements in a matrix;
[0030] According to the above technical solution, in A4, the weighted matrices σ1 and σ2 are as follows:
[0031] σ i =β i a i (5)
[0032] Where: i=1,2, representing the reference item and the item to be tested respectively.
[0033] According to the above technical solution, in A5, the operation rules of the hash value matrix are as follows:
[0034] After obtaining σ1 and σ2, find their respective values: and Exchange the mean values for comparison, that is, With σ2, Compare each element in σ1 and set it to 1 if it is greater than the mean, otherwise it is set to 0, and get the corresponding hash value matrix: ω1 and ω2. The formula is as follows:
[0035]
[0036]
[0037] According to the above technical solution, in A6, the calculation formulas of the characteristic hash sequences ψ1 and ψ2 are as follows:
[0038] ψ i =arrange(ω i ) (8)
[0039] In the above formula: i = 1, 2, representing the reference item and the item to be tested, respectively. That is, ω1 and ω2 are scrambled and reduced in the same way to obtain ψ1 and ψ2 respectively;
[0040] The formula for the Hamming distance H is as follows:
[0041]
[0042] Compared with the prior art, the present invention has the following beneficial effects:
[0043] The radioactive source assembly and the radiation detector obtain irradiation images of special items. The encryption-aware hash recognition algorithm module uses the encryption-aware hash recognition algorithm to process the irradiation images, generates a unique feature hash sequence, and introduces a key to encrypt the original image, effectively protecting the sensitive information in the irradiation image. By comparing fingerprints, it is determined whether the two fingerprints come from the same type of inspected items. Under the premise of protecting sensitive data, the content contained in the radiation image can be accurately authenticated, and encrypted radiation inspection can be realized to meet the encryption non-destructive testing needs of highly confidential military products and biological sensitive data. It can be applied to various fields where sensitive data of inspected items needs to be protected. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.
[0045] In the attached figure:
[0046] Figure 1 It is a system structure diagram of the present invention;
[0047] Figure 2 It is a flow chart of the present invention based on the encryption-aware hash recognition algorithm;
[0048] Figure 3 It is a diagram of the detection results of the conventional radiation detection system of the present invention and the radiation detection system based on the perceptual hash recognition algorithm. DETAILED DESCRIPTION
[0049] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0050] Example: Figure 1 As shown, the present invention provides a technical solution, a radiation security inspection system based on an encryption-aware hash recognition algorithm, comprising a radiation source component, a ray detector, and an encryption-aware hash recognition algorithm module;
[0051] Radioactive source assemblies and radiation detectors are used to obtain irradiation images of special items, which contain particle count and energy deposition information;
[0052] The encryption-aware hash recognition algorithm module performs DCT transformation, compression, encryption, binarization, and scrambling on the irradiated image to generate a feature hash sequence related to the inspected item;
[0053] During radiation security inspections, based on the encrypted radiation detection requirements of the inspected items, the radiation measurement information of the inspected items is first obtained through the radiation detection device. This information can be particle count distribution information or data such as the energy deposition of rays. The measurement data is then authenticated using an encryption-aware hash recognition algorithm to complete the encrypted radiation detection task of the inspected items.
[0054] The specific implementation steps are as follows:
[0055] S1. This system uses a template comparison method, so first a reliable reference object is required. For example, in medical radiation testing, a lesion-free biological radiation image is first required as a reliable reference object. This is used to compare the radiation image information of the object to be tested. While protecting the biological privacy of the object to be tested, it is determined whether the image is consistent with the reference object to diagnose whether the object to be tested contains a lesion.
[0056] S2. Apply the encryption-aware hash recognition algorithm to process the radiation data of the trusted reference project and obtain a length of n 2 ×1 feature hash sequence, which serves as the fingerprint of the reference item;
[0057] S3. Process the radiation measurement data of the item to be tested in the same way to obtain a length of n. 2 ×1 feature hash sequence is used as the fingerprint of the project to be tested, and it is compared with the fingerprint of the reference project. The Hamming distance H between the two projects is calculated by formula (2). The smaller H is, the higher the similarity between the two projects is.
[0058] S4. Determine a threshold T based on the Hamming distance between multiple reference items. When the H between the item to be measured and the reference item is less than T, it is considered that the radiation measurement information of the two items is consistent, and there are no lesions, cracks, or other information to be detected in the item to be measured. On the contrary, it indicates that there may be defects such as lesions or cracks in the item to be measured. In summary, this system can meet the encrypted radiation detection requirements of specific items.
[0059] Among them, the specific steps of the encrypted perception hashing recognition algorithm applied by the encrypted perception hashing recognition algorithm module are as follows:
[0060] A1. Perform interpolation processing on the irradiation measurement data of the reference item and the item to be measured uniformly to obtain a counting matrix of size N×N. The counting matrices of the reference item and the item to be measured are denoted as A1 and A2 respectively;
[0061] A2. Perform two-dimensional DCT transforms on matrices A1 and A2 respectively, intercept the upper-left n×n two-dimensional submatrix (n < N) of the transformed matrix, and take the absolute value matrices of this submatrix as a1 and a2 respectively;
[0062] The two-dimensional DCT transform makes most of the information in the image concentrated in the upper left corner. Taking the upper left submatrix for correlation analysis can effectively compress the data and optimize the operation efficiency of the algorithm;
[0063] The calculation formulas of a1 and a2 are as follows:
[0064] a i =|[dct(A i )] (:n,:n) | (1)
[0065] Where: i = 1, 2, representing the reference item and the item to be measured respectively, (:n,:n) means taking the first n rows and the first n columns of the matrix;
[0066] The two-dimensional DCT transform formula is as follows:
[0067]
[0068] Where: x, y, μ, ν = 0, 1, …, N - 1;
[0069] f(x, y) is the element in the counting matrices A1 and A2,
[0070] F(μ, ν) is the element in the matrix after A1 and A2 are transformed by DCT,
[0071] N is the number of rows and columns of the transformation matrix.
[0072] A3. Introduce a key matrix λ of size N×N. By performing Hadamard products with the original count matrices A1 and A2, we obtain key matrices v1 and v2, which contain part of the information of the original count matrices. Use the neighbor sum method to compress the key matrix so that its dimension is consistent with the DCT transform matrix. The compressed key matrices are denoted as β1 and β2, respectively. The formulas are as follows:
[0073] v i =A i λ (3)
[0074]
[0075] In formulas (3) and (4), i = 1, 2, representing the reference item and the item to be tested, respectively; Respectively represent v i The sum of adjacent elements in a matrix;
[0076] A4. Weight the matrix after two-dimensional DCT transformation: Through the matrix product operation of a1 and a2 with the key matrices β1 and β2 respectively, the weighted matrices σ1 and σ2 are obtained respectively, that is:
[0077] σ i =β i a i (5)
[0078] Where: i=1,2, representing the reference item and the item to be tested respectively.
[0079] A5. Calculate the average value of the weighted matrices of the reference item and the item to be tested, swap the means, and calculate the corresponding hash value matrix.
[0080] like Figure 2 As shown, the specific operation rules are: after obtaining σ1 and σ2, calculate their average values respectively: and Exchange the mean values for comparison, that is, With σ2, Compare each element in σ1 and set it to 1 if it is greater than the mean, otherwise it is set to 0, and get the corresponding hash value matrix: ω1 and ω2. The formula is as follows:
[0081]
[0082]
[0083] A6. Scramble and reduce the dimensions of the above two hash matrices in the same way to obtain the lengths of n. 2 ×1 related feature hash sequences ψ1 and ψ2, and finally calculate the Hamming distance H between the two hash sequences to measure the similarity between the reference sample and the sample to be tested, ψi The calculation formula is as follows:
[0084] ψ i =arrange(ω i ) (8)
[0085] In the above formula: i = 1, 2, representing the reference item and the item to be tested, respectively. That is, ω1 and ω2 are scrambled and reduced in the same way to obtain ψ1 and ψ2 respectively. The Hamming distance formula is as follows:
[0086]
[0087] like Figure 3 The figure shows the results of a lead ball with an inner radius of 3 cm and an outer radius of 4 cm after being tested by a conventional radiation detection system and this system:
[0088] Figure (a) is a hollow lead ball with an inner radius of 3 cm and an outer radius of 4 cm. After being photographed by a conventional radiographic detection system, the X-ray transmission photograph is shown in Figure (b), while Figure (c) is the measurement result of the encrypted detection system. By comparison, it can be seen that the conventional radiographic detection system has no ability to protect the relevant data of the item to be tested, while the verification system proposed in the present invention can effectively protect the relevant information of the item to be tested and can meet the encrypted radiation detection needs of specific projects.
[0089] Finally, it should be noted that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art will be able to modify the technical solutions described in the aforementioned embodiments or substitute equivalents for some of the technical features. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.
Claims
1. A radiation security inspection system based on encryption-aware hash recognition algorithm, characterized by: It includes a radiation source component, a ray detector, and an encrypted perceptual hashing recognition algorithm module; The radiation source component and the ray detector are used to obtain the irradiation image of a special item, and the image contains the particle count and energy deposition information; The encrypted perceptual hashing recognition algorithm module performs DCT transformation, compression, encryption, binarization, and scrambling processing on the irradiation image to generate a unique feature hash sequence of the item to be inspected; The encrypted perceptual hashing recognition algorithm module first compresses and encrypts the ray information collected by the detector using the encrypted perceptual hashing recognition algorithm, and then further processes the encrypted data to generate the corresponding feature hash sequence, and uses this hash sequence as the "fingerprint" of the item to be measured for subsequent authentication of the corresponding image content. Combining the template comparison method, compare the fingerprints of the reference item and the item to be measured to determine whether the two fingerprints come from the same type of item to be inspected; The specific steps of the encrypted perceptual hashing recognition algorithm are as follows: A1. Perform interpolation processing on the irradiation measurement data of the reference item and the item to be measured uniformly to obtain a count matrix of size N×N. The count matrices of the reference item and the item to be measured are denoted as A1 and A2 respectively; A2. Perform two-dimensional DCT transformation on matrices A1 and A2 respectively, intercept the upper left n×n two-dimensional submatrix (n < N) of the transformed matrix, and take the absolute value matrix of this submatrix, denoted as a1 and a2 respectively; A3. Introduce a key matrix λ of size N×N, and obtain key matrices v1 and v2 through its Hadamard product with the original count matrices A1 and A2 respectively. Compress the key matrix using the adjacent summation method, and the compressed key matrices are denoted as β1 and β2 respectively; A4. Weight the matrix after two-dimensional DCT transformation: Through the matrix multiplication operations of a1 and a2 with the key matrices β1 and β2 respectively, obtain the weighted matrices σ1 and σ2 respectively; A5. Calculate the average values of the weighted matrices of the reference item and the item to be measured respectively, exchange the means, calculate the corresponding hash value matrices, and obtain the corresponding hash value matrices denoted as ω1 and ω2; A6. Scramble and reduce the dimensions of the above two hash matrices in the same way to obtain matrices of length n. 2 ×1’s related feature hash sequences ψ1 and ψ2, and finally calculate the Hamming distance H between the two hash sequences.
2. According to claim 1, a radiation security inspection system based on encryption-aware hash recognition algorithm is characterized in that: In A2, the calculation formulas of a1 and a2 are as follows: a i =|[dct(A i )] (:n,:n) | (1) Where: i = 1, 2, representing the reference item and the item to be measured respectively, (:n,:n) represents taking the first n rows and the first n columns of the matrix; The two-dimensional DCT transformation formula is as follows: Among them: x,y,μ,ν=0,1,…,N-1; f(x,y) is the element in the count matrices A1 and A2; F(μ,ν) is the element in the matrix after A1 and A2 are DCT-transformed; N is the number of rows and columns of the transformation matrix.
3. According to claim 1, a radiation security inspection system based on encryption-aware hash recognition algorithm is characterized in that: In A3, the key matrices v1 and v2 are as shown in the following formula: v i =A i l (3) The compressed key matrices β1 and β2 are as shown in the following formula: In formula (3) and (4), i = 1, 2, representing the reference item and the item to be tested, respectively. Respectively represent v i The sum of adjacent elements in a matrix.
4. According to claim 1, a radiation security inspection system based on encryption-aware hash recognition algorithm is characterized in that: In A4, the weighted matrices σ1 and σ2 are as follows: s i =b i a i (5) In the formula: i = 1, 2, representing the reference item and the item to be measured respectively.
5. The radiation security inspection system based on the encryption-aware hash recognition algorithm according to claim 1 is characterized in that: In A5, the operation rule of the hash value matrix is as follows: After obtaining σ1 and σ2, we can find their average values: and Exchange the means for comparison, that is, and σ2, Compare each element in σ1, set the value greater than the mean to 1, otherwise set it to 0, and get the corresponding hash value matrix: ω1 and ω2. The formula is as follows:
6. A radiation security inspection system based on encryption-aware hash recognition algorithm according to claim 1, characterized in that: In A6, the calculation formulas of the feature hash sequences ψ1 and ψ2 are as follows: ψ i =arrange(ω i ) (8) In the above formula: i = 1, 2, representing the reference item and the item to be measured respectively, that is, ω1 and ω2 are scrambled and dimension-reduced in the same way to obtain ψ1 and ψ2 respectively; The formula of the Hamming distance H is as follows:
