Method for realizing massive big data image security fusion
By performing image calculation and digest function encryption processing on massive chat big data images, the problem of fused images and connection values is solved, and the effect of safe transmission and blurring protection after viewing is achieved.
Patent Information
- Application Number
- CN202411622509.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-06
- Publication Date
- 2025-02-25
AI Technical Summary
The existing technology is difficult to effectively ensure the security of massive chat big data pictures, especially in the exchange of important picture information, where there is a risk of private information leakage.
By performing image calculations on the image data to be sent to the mobile phone, image information is obtained, the total number of pixel points is calculated, and image data is encrypted using summary functions (such as MD4, MD5, SHA-1, etc.) to generate fused images and connection values to ensure the security of image data during transmission.
It realizes the secure transmission of massive chat big data pictures to prevent private information leakage, and further protects the image content through blurring after viewing.
Smart Images

Figure CN119515655A_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese invention patent application with the application date of April 6, 2021, application number 202410361173X, and invention name "A method for achieving massive chat big data image security". Technical Field
[0002] The present invention relates to the technical field of massive chat big data, and in particular to a method for realizing secure fusion of massive big data images. Background Art
[0003] As mobile terminals become more and more intelligent, they are used more and more widely. Especially with the popularization of instant messaging tools, many users can communicate through instant messaging tools, which inevitably involve the exchange of important picture information. Summary of the invention
[0004] The present invention aims to at least solve the technical problems existing in the prior art, and in particular innovatively proposes a method for realizing the secure fusion of massive big data images.
[0005] In order to achieve the above-mentioned object of the present invention, the present invention provides a method for realizing the secure fusion of massive data images, comprising the following steps:
[0006] S1, all the image data to be sent to the mobile phone are numbered sequentially, namely A1, A2, A3, ..., A a , where A1 represents the first image to be sent to the mobile phone, A2 represents the second image to be sent to the mobile phone, and A3 represents the third image to be sent to the mobile phone. a represents the ath image to be sent to the mobile phone, where a is the total number of all image data to be sent to the mobile phone; image operation is performed on each image to obtain the image operation value of each image;
[0007] S2, obtaining image information of each image, the image information including the width value and the height value of the image and the resolution of the image; calculating the total number of pixels of each image;
[0008] S3, the image operation value obtained in step S1 is processed Operations are performed to obtain the connection value;
[0009] S4, fusing the connection value obtained in step S3 with the image value to obtain a fused image; a set of all fused images and corresponding image operation values is a set of images to be sent; the set of images to be sent is sent to the mobile phone, and the mobile phone obtains the set of images to be viewed;
[0010] S5, if the controller receives the image data to be viewed and receives a continuous viewing trigger signal, it performs image restoration processing on the image data to be viewed to obtain the viewing image; after obtaining the viewing image, if the continuous viewing trigger signal is interrupted or after Ts, where T is a positive number and s is the time unit in seconds, the viewing image becomes a blurred image.
[0011] In a preferred embodiment of the present invention, in step S1, an image operation is performed on each image to obtain an image operation value of each image by:
[0012]
[0013] Wherein, Summary Function[] represents a summary function using one of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0014] A b represents the bth image to be sent to the mobile phone; b=1, 2, 3, ..., a;
[0015] Image Calculation Indicates the bth image A to be sent to the mobile phone b The image operation value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512.
[0016] In a preferred embodiment of the present invention, in step S2, the total number of pixels in each image is calculated as follows:
[0017]
[0018] in, Indicates the bth image A to be sent to the mobile phone b The width value of the , in centimeters;
[0019] Indicates the bth image A to be sent to the mobile phone b The height value in centimeters;
[0020] Indicates the bth image A to be sent to the mobile phone b The resolution, in pixels per inch;
[0021] Indicates the bth image A to be sent to the mobile phone b Conversion factors from inches to centimeters;
[0022] Indicates the bth image A to be sent to the mobile phone b The total number of pixels.
[0023] In a preferred embodiment of the present invention, in step S3, the number of operations is The calculation method is:
[0024]
[0025] Among them, int() represents the rounding algorithm;
[0026] Indicates the bth image A to be sent to the mobile phone b The total number of pixels;
[0027] δ represents the number of bits that make up the pixel value;
[0028] H represents the total number of binary digits of the summary value;
[0029] ∈ means belongs to;
[0030] Z + represents a set of positive integers;
[0031] Indicates not belonging to;
[0032] Indicates the total number of operations.
[0033] In a preferred embodiment of the present invention, in step S3, the connection value is calculated as follows:
[0034]
[0035] Wherein, Summary Function[] represents a summary function using one of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0036] Image Calculation Indicates the bth image A to be sent to the mobile phone b An image operation value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0037] When i=1, I1 represents the image calculation value A digest value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0038] When i≠1, I i =Summary Function[I i-1 ], I i I i-1 A digest value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0039] That is, when i=2, I2=Summary Function[I1],
[0040] When i=3, I3=Summary Function[I2],
[0041] When i=4, I4=Summary Function[I3],
[0042] ...,
[0043] hour,
[0044] Connect the obtained summary values to obtain the connection value; the method for obtaining the connection value is:
[0045]
[0046] Among them, & represents a connector;
[0047] Indicates the connection value.
[0048] In a preferred embodiment of the present invention, in step S4, the method for obtaining the fused image is:
[0049]
[0050] in, Indicates the connection value The value corresponding to the cth position from left to right in;
[0051] ⊙ indicates same or calculation;
[0052] Indicates the bth image A to be sent to the mobile phone b The arrangement value corresponding to the cth position after all the pixels are arranged into image values;
[0053] It indicates the arrangement value corresponding to the cth position after all pixels in the fused image are arranged into image values.
[0054] In a preferred embodiment of the present invention, the method of arranging all the pixels into image values comprises the following steps:
[0055] S81, the bth image A to be sent to the mobile phone b The pixels in the image are arranged from left to right and from top to bottom, namely the first pixel, the second pixel, the third pixel, ..., the Pixels, Indicates the received b-th image A b The total number of pixels;
[0056] S82, converting the pixel value corresponding to each pixel point into a binary value, and arranging all the converted binary values according to the first pixel point, the second pixel point, the third pixel point, ..., the The pixels are arranged in sequence to obtain the image values of all the pixels.
[0057] In a preferred embodiment of the present invention, the method for obtaining the viewing image in step S5 comprises the following steps:
[0058] S101, the obtained image operation value is processed Operations are performed to obtain the mobile phone connection value.
[0059] S102, restoring the obtained mobile phone connection value and the image value in the fused image to obtain a restored image; if the mobile phone image calculation value is consistent with the image calculation value, the restored image is the viewed image;
[0060] In step 101, the mobile terminal performs calculations The calculation method is:
[0061]
[0062] Among them, int() represents the rounding algorithm;
[0063] Indicates the b′th fused image A received by the mobile phone b′ The total number of pixels of ′;
[0064] δ represents the number of bits that make up the pixel value;
[0065] H′ represents the total number of binary digits of the summary value on the mobile phone;
[0066] ∈ means belongs to;
[0067] Z + represents a set of positive integers;
[0068] Indicates not belonging to;
[0069] Indicates the total number of operations on the mobile phone;
[0070] In step S101, the calculation method of the mobile phone connection value is:
[0071]
[0072] Wherein, Summary Function[] represents a summary function using one of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0073] Image Calculation Indicates the received b-th image A b An image operation value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0074] When i′=1, I1′ represents the image calculation value The mobile phone digest value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0075] When i′≠1, I i′ ′=Summary Function[I i′-1 ′],I i′ ′ indicates that I i′-1 'The mobile phone digest value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0076] That is, when i′=2, I2′=Summary Function[I1′],
[0077] When i′=3, I3′=Summary Function[I2′],
[0078] When i′=4, I4′=Summary Function[I3′],
[0079] ...,
[0080] hour,
[0081] Connect the obtained mobile terminal summary values to obtain the mobile terminal connection value; the method for obtaining the mobile terminal connection value is:
[0082]
[0083] Among them, & represents a connector;
[0084] Indicates the mobile phone connection value;
[0085] In step S102, the method for obtaining the restored image is:
[0086]
[0087] in, Indicates the mobile phone connection value The value corresponding to the c′th position from left to right in ;
[0088] ⊙ indicates same or calculation;
[0089] Indicates the received b′th fused image A b′ ′, after all its pixels are arranged into the mobile phone image value, the mobile phone arrangement value corresponding to the c′th position;
[0090] Indicates the mobile phone arrangement value corresponding to the c′th position after all pixels in the restored image are arranged into the mobile phone image value;
[0091] The method of arranging all its pixels into mobile phone image values includes the following steps:
[0092] S111, the received b′th fused image A b′ The pixels in ′ are arranged from left to right and from top to bottom, namely the first pixel, the second pixel, the third pixel, ..., the Pixels, Indicates the received b′th fused image A b′ The total number of pixels of ′;
[0093] S112, converting the pixel value corresponding to each pixel point into a binary value, and arranging all the converted binary values according to the first pixel point, the second pixel point, the third pixel point, ..., the Arrange the pixels in order to obtain the mobile phone image values of all pixels;
[0094] In step S101, the total number of pixels in each fused image is calculated as follows:
[0095]
[0096] in, Indicates the received b′th fused image A b′ ′ is the width value in centimeters;
[0097] Indicates the received b′th fused image A b′ ′ is the height value in centimeters;
[0098] Indicates the received b′th fused image A b′ ' resolution, in pixels per inch;
[0099] Indicates the received b′th fused image A b′ 'Conversion factor from inches to centimeters;
[0100] Indicates the received b′th fused image A b′ The total number of pixels of ′;
[0101] In step S102, image operation is performed on each fused image to obtain the mobile phone end image operation value of each image as follows:
[0102]
[0103] Wherein, Summary Function[] represents a summary function using one of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0104] A b′ ' represents the b'th fused image received; b' = 1, 2, 3, ..., a'; a' represents the total number of fused images received by the mobile phone;
[0105] Image Calculation Indicates the received b′th fused image A b′ 'The mobile phone image operation value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512.
[0106] In a preferred embodiment of the present invention, the method of converting the viewing image into a blurred image in step S5 comprises the following steps:
[0107] S201, performing image operation on the viewing image to obtain a fuzzy image operation value of the viewing image;
[0108] S202, obtaining image information of the viewed image, the image information including the width value and the height value of the image and the resolution of the image; calculating the total number of pixels of the viewed image;
[0109] S203, the image operation value obtained in step S201 is processed Operations are performed to obtain the fuzzy connection value;
[0110] S204, fuzzy fusion is performed on the fuzzy connection value obtained in step S203 and the viewed image value to obtain a fuzzy image thereof;
[0111] In step S201, an image operation is performed on the viewing image to obtain an image operation value of the viewing image as follows:
[0112]
[0113] Wherein, Summary Function[] represents a summary function using one of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0114] A b ″ means viewing the image;
[0115] Image Calculation Indicates viewing image A b The fuzzy image operation value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512; in step S202, the calculation method of the total number of pixels of the image is as follows:
[0116]
[0117] in, Indicates viewing image A b ″ width value, in centimeters; Indicates viewing image A b ″Height value in centimeters;
[0118] Indicates viewing image A b ″ resolution, in pixels per inch; Indicates viewing image A b "Conversion factor from inches to centimeters;
[0119] Indicates viewing image A bThe total number of pixels of ″;
[0120] In step S203, the number of fuzzy operations is The calculation method is:
[0121]
[0122] Among them, int() represents the rounding algorithm;
[0123] Indicates viewing image A b The total number of pixels of ″;
[0124] δ represents the number of bits that make up the pixel value;
[0125] H″ represents the total number of binary digits of the fuzzy summary value;
[0126] ∈ means belongs to;
[0127] Z + represents a set of positive integers;
[0128] Indicates not belonging to;
[0129] Indicates the total number of fuzzy operations;
[0130] In step S203, the fuzzy connection value is calculated as follows:
[0131]
[0132] Wherein, Summary Function[] represents a summary function using one of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0133] Image Calculation Indicates viewing image A b ″A fuzzy image operation value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0134] When i″=1, I1″ represents the fuzzy image calculation value Image Calculation A fuzzy digest value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0135] When i″≠1, I i″″=Summary Function[I i″-1 ″],I i″ ″ indicates that i″-1 "A fuzzy digest value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0136] That is, when i″=2, I2″=Summary Function[I1″],
[0137] When i″=3, I3″=Summary Function[I2″],
[0138] When i″=4, I4″=Summary Function[I3″],
[0139] ...,
[0140] hour,
[0141] Connect the obtained summary values to obtain the connection value; the method for obtaining the connection value is:
[0142]
[0143] Among them, & represents a connector;
[0144] Indicates the connection value;
[0145] In step S4, the method for obtaining the fuzzy fused image is:
[0146]
[0147] in, Indicates fuzzy join value The value corresponding to the c″th position from left to right in ;
[0148] ⊙ indicates same or calculation;
[0149] Indicates viewing image A b The fuzzy arrangement value corresponding to the c"th position after all the pixels in the fuzzy image are arranged into fuzzy image values;
[0150] It indicates the fuzzy arrangement value corresponding to the c″th position after all pixels in the fused fuzzy image are arranged into fuzzy image values;
[0151] The method of arranging all its pixels into blurred image values includes the following steps:
[0152] S381, view image A b The pixels in the image are arranged from left to right and from top to bottom, namely the first pixel, the second pixel, the third pixel, ..., the Pixels, Indicates viewing image A b The total number of pixels of ″;
[0153] S382, convert the pixel value corresponding to each pixel point into a binary value, and arrange all the converted binary values in the order of the first pixel point, the second pixel point, the third pixel point, ..., the The pixels are arranged sequentially to obtain the blurred image values of all the pixels.
[0154] In summary, due to the adoption of the above technical solution, the present invention can ensure the security of massive chat big data pictures, and can also blur the viewed pictures to prevent privacy information leakage.
[0155] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0156] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0157] Figure 1 It is a schematic block diagram of the process of the present invention.
[0158] Figure 2 It is a schematic diagram of the structure of the present invention.
[0159] Figure 3 It is a schematic diagram of the structure of the present invention.
[0160] Figure 4 It is a circuit connection schematic diagram of the present invention. DETAILED DESCRIPTION
[0161] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0162] The present invention also discloses a method for realizing the secure fusion of massive data images. Figure 1 As shown, the following steps are included:
[0163] S1, all the image data to be sent to the mobile phone are numbered sequentially, namely A1, A2, A3, ..., A a , where A1 represents the first image to be sent to the mobile phone, A2 represents the second image to be sent to the mobile phone, and A3 represents the third image to be sent to the mobile phone. a represents the ath image to be sent to the mobile phone, where a is the total number of all image data to be sent to the mobile phone; image operation is performed on each image to obtain the image operation value of each image;
[0164] S2, obtaining image information of each image, the image information including the width value and the height value of the image and the resolution of the image; calculating the total number of pixels of each image;
[0165] S3, the image operation value obtained in step S1 is processed Operations are performed to obtain the connection value;
[0166] S4, fusing the connection value obtained in step S3 with the image value to obtain a fused image; a set of all fused images and corresponding image operation values is a set of images to be sent; the set of images to be sent is sent to the mobile phone, and the mobile phone obtains the set of images to be viewed;
[0167] S5, if the controller receives the image data to be viewed and receives a continuous viewing trigger signal, it performs image restoration processing on the image data to be viewed to obtain the viewing image; after obtaining the viewing image, if the continuous viewing trigger signal is interrupted or after Ts, where T is a positive number and s is the time unit in seconds, the viewing image becomes a blurred image.
[0168] In a preferred embodiment of the present invention, in step S1, an image operation is performed on each image to obtain an image operation value of each image by:
[0169]
[0170] Wherein, Summary Function[] represents a summary function using one of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0171] A b represents the bth image to be sent to the mobile phone; b=1, 2, 3, ..., a;
[0172] Image Calculation Indicates the bth image A to be sent to the mobile phone bThe image operation value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512.
[0173] In a preferred embodiment of the present invention, in step S2, the total number of pixels in each image is calculated as follows:
[0174]
[0175] in, Indicates the bth image A to be sent to the mobile phone b The width value of the , in centimeters;
[0176] Indicates the bth image A to be sent to the mobile phone b The height value in centimeters;
[0177] Indicates the bth image A to be sent to the mobile phone b The resolution, in pixels per inch;
[0178] Indicates the bth image A to be sent to the mobile phone b Conversion factors from inches to centimeters;
[0179] Indicates the bth image A to be sent to the mobile phone b The total number of pixels.
[0180] In a preferred embodiment of the present invention, in step S3, the number of operations is The calculation method is:
[0181]
[0182] Among them, int() represents the rounding algorithm;
[0183] Indicates the bth image A to be sent to the mobile phone b The total number of pixels;
[0184] δ represents the number of bits that make up the pixel value;
[0185] H represents the total number of binary digits of the summary value;
[0186] ∈ means belongs to;
[0187] Z + represents a set of positive integers;
[0188] Indicates not belonging to;
[0189] Indicates the total number of operations.
[0190] In a preferred embodiment of the present invention, in step S3, the connection value is calculated as follows:
[0191]
[0192] Wherein, Summary Function[] represents a summary function using one of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0193] Image Calculation Indicates the bth image A to be sent to the mobile phone b An image operation value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0194] When i=1, I1 represents the image calculation value A digest value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0195] When i≠1, I i =Summary Function[I i-1 ], I i I i-1 A digest value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0196] That is, when i=2, I2=Summary Function[I1],
[0197] When i=3, I3=Summary Function[I2],
[0198] When i=4, I4=Summary Function[I3],
[0199] ...,
[0200] hour,
[0201] Connect the obtained summary values to obtain the connection value; the method for obtaining the connection value is:
[0202]
[0203] Among them, & represents a connector;
[0204] Indicates the connection value.
[0205] In a preferred embodiment of the present invention, in step S4, the method for obtaining the fused image is:
[0206]
[0207] in, Indicates the connection value The value corresponding to the cth position from left to right in;
[0208] ⊙ indicates same or calculation;
[0209] Indicates the bth image A to be sent to the mobile phone b The arrangement value corresponding to the cth position after all the pixels are arranged into image values;
[0210] It indicates the arrangement value corresponding to the cth position after all pixels in the fused image are arranged into image values.
[0211] In a preferred embodiment of the present invention, the method of arranging all the pixels into image values comprises the following steps:
[0212] S81, the bth image A to be sent to the mobile phone b The pixels in the image are arranged from left to right and from top to bottom, namely the first pixel, the second pixel, the third pixel, ..., the Pixels, Indicates the received b-th image A b The total number of pixels;
[0213] S82, converting the pixel value corresponding to each pixel point into a binary value, and arranging all the converted binary values according to the first pixel point, the second pixel point, the third pixel point, ..., the The pixels are arranged in sequence to obtain the image values of all the pixels.
[0214] In a preferred embodiment of the present invention, the method for obtaining the viewing image in step S5 comprises the following steps:
[0215] S101, the obtained image operation value is processed Operations are performed to obtain the mobile phone connection value.
[0216] S102, restoring the obtained mobile phone connection value and the image value in the fused image to obtain a restored image; if the mobile phone image calculation value is consistent with the image calculation value, the restored image is the viewed image;
[0217] In step 101, the mobile terminal performs calculations The calculation method is:
[0218]
[0219] Among them, int() represents the rounding algorithm;
[0220] Indicates the b′th fused image A received by the mobile phone b′ The total number of pixels of ′;
[0221] δ represents the number of bits that make up the pixel value;
[0222] H′ represents the total number of binary digits of the summary value on the mobile phone;
[0223] ∈ means belongs to;
[0224] Z + represents a set of positive integers;
[0225] Indicates not belonging to;
[0226] Indicates the total number of operations on the mobile phone;
[0227] In step S101, the calculation method of the mobile phone connection value is:
[0228]
[0229] Wherein, Summary Function[] represents a summary function using one of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0230] Image Calculation Indicates the received b-th image A b An image operation value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0231] When i′=1, I1′ represents the image calculation value The mobile phone digest value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0232] When i′≠1, I i′ ′=Summary Function[I i′-1 ′],I i′ ′ indicates that I i′-1 'The mobile phone digest value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0233] That is, when i′=2, I2′=Summary Function[I1′],
[0234] When i′=3, I3′=Summary Function[I2′],
[0235] When i′=4, I4′=Summary Function[I3′],
[0236] ...,
[0237] hour,
[0238] Connect the obtained mobile terminal summary values to obtain the mobile terminal connection value; the method for obtaining the mobile terminal connection value is:
[0239]
[0240] Among them, & represents a connector;
[0241] Indicates the mobile phone connection value;
[0242] In step S102, the method for obtaining the restored image is:
[0243]
[0244] in, Indicates the mobile phone connection value The value corresponding to the c′th position from left to right in ;
[0245] ⊙ indicates same or calculation;
[0246] Indicates the received b′th fused image A b′ ′, after all its pixels are arranged into the mobile phone image value, the mobile phone arrangement value corresponding to the c′th position;
[0247] Indicates the mobile phone arrangement value corresponding to the c′th position after all pixels in the restored image are arranged into the mobile phone image value;
[0248] The method of arranging all its pixels into mobile phone image values includes the following steps:
[0249] S111, the received b′th fused image A b′ The pixels in ′ are arranged from left to right and from top to bottom, namely the first pixel, the second pixel, the third pixel, ..., the Pixels, Indicates the received b′th fused image A b′ The total number of pixels of ′;
[0250] S112, converting the pixel value corresponding to each pixel point into a binary value, and arranging all the converted binary values according to the first pixel point, the second pixel point, the third pixel point, ..., the Arrange the pixels in order to obtain the mobile phone image values of all pixels;
[0251] In step S101, the total number of pixels in each fused image is calculated as follows:
[0252]
[0253] in, Indicates the received b′th fused image A b′ ′ is the width value in centimeters;
[0254] Indicates the received b′th fused image A b′ ′ is the height value in centimeters;
[0255] Indicates the received b′th fused image A b′ ' resolution, in pixels per inch;
[0256] Indicates the received b′th fused image A b′ 'Conversion factor from inches to centimeters;
[0257] Indicates the received b′th fused image A b′ The total number of pixels of ′;
[0258] In step S102, image operation is performed on each fused image to obtain the mobile phone end image operation value of each image as follows:
[0259]
[0260] Wherein, Summary Function[] represents a summary function using one of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0261] A b′ ' represents the b'th fused image received; b' = 1, 2, 3, ..., a'; a' represents the total number of fused images received by the mobile phone;
[0262] Image Calculation Indicates the received b′th fused image A b′ 'The mobile phone image operation value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512.
[0263] In a preferred embodiment of the present invention, the method of converting the viewing image into a blurred image in step S5 comprises the following steps:
[0264] S201, performing image operation on the viewing image to obtain a fuzzy image operation value of the viewing image;
[0265] S202, obtaining image information of the viewed image, the image information including a width value and a height value of the image and a resolution of the image; and calculating the total number of pixels of the viewed image;
[0266] S203, the image operation value obtained in step S201 is processed Operations are performed to obtain the fuzzy connection value;
[0267] S204, fuzzy fusion is performed on the fuzzy connection value obtained in step S203 and the viewed image value to obtain a fuzzy image thereof;
[0268] In step S201, an image operation is performed on the viewing image to obtain an image operation value of the viewing image as follows:
[0269]
[0270] Wherein, Summary Function[] represents a summary function using one of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0271] A b ″ means viewing the image;
[0272] Image Calculation Indicates viewing image A b ″A fuzzy image operation value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0273] In step S202, the total number of pixels of the image is calculated as follows:
[0274]
[0275] in, Indicates viewing image A b ″ width value, in centimeters;
[0276] Indicates viewing image A b ″Height value in centimeters;
[0277] Indicates viewing image A b ″ resolution, in pixels per inch;
[0278] Indicates viewing image A b "Conversion factor from inches to centimeters;
[0279] Indicates viewing image A b The total number of pixels of ″;
[0280] In step S203, the number of fuzzy operations is The calculation method is:
[0281]
[0282] Among them, int() represents the rounding algorithm;
[0283] Indicates viewing image A b The total number of pixels of ″;
[0284] δ represents the number of bits that make up the pixel value;
[0285] H″ represents the total number of binary digits of the fuzzy summary value;
[0286] ∈ means belongs to;
[0287] Z + represents a set of positive integers;
[0288] Indicates not belonging to;
[0289] Indicates the total number of fuzzy operations;
[0290] In step S203, the fuzzy connection value is calculated as follows:
[0291]
[0292] Wherein, Summary Function[] represents a summary function using one of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0293] Image Calculation Indicates viewing image A b ″A fuzzy image operation value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0294] When i″=1, I1″ represents the fuzzy image calculation value Image Calculation A fuzzy digest value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0295] When i″≠1, I i″ ″=Summary Function[I i″-1 ″],I i″ ″ indicates that i″-1 "A fuzzy digest value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512;
[0296] That is, when i″=2, I2″=Summary Function[I1″],
[0297] When i″=3, I3″=Summary Function[I2″],
[0298] When i″=4, I4″=Summary Function[I3″],
[0299] ...,
[0300] hour,
[0301] Connect the obtained summary values to obtain the connection value; the method for obtaining the connection value is:
[0302]
[0303] Among them, & represents a connector;
[0304] Indicates the connection value;
[0305] In step S4, the method for obtaining the fuzzy fused image is:
[0306]
[0307] in, Indicates fuzzy join value The value corresponding to the c″th position from left to right in ;
[0308] ⊙ indicates same or calculation;
[0309] Indicates viewing image A b The fuzzy arrangement value corresponding to the c"th position after all the pixels in the fuzzy image are arranged into fuzzy image values;
[0310] It indicates the fuzzy arrangement value corresponding to the c″th position after all pixels in the fused fuzzy image are arranged into fuzzy image values;
[0311] The method of arranging all its pixels into blurred image values includes the following steps:
[0312] S381, view image A b The pixels in the image are arranged from left to right and from top to bottom, namely the first pixel, the second pixel, the third pixel, ..., the Pixels, Indicates viewing image A b The total number of pixels of ″;
[0313] S382, convert the pixel value corresponding to each pixel point into a binary value, and arrange all the converted binary values in the order of the first pixel point, the second pixel point, the third pixel point, ..., the The pixels are arranged sequentially to obtain the blurred image values of all the pixels.
[0314] The present invention provides a recognition device for realizing a method for secure fusion of massive data images, such as Figures 2-3As shown, it includes a mobile phone body 2, a touch display screen 3 is arranged on the front of the mobile phone body 2, and also includes a PCB printed circuit board fixing mounting seat arranged in the mobile phone body for fixing the PCB printed circuit board, the PCB printed circuit board is fixedly installed on the PCB printed circuit board fixing mounting seat, a controller and a wireless transmission data module are arranged on the PCB printed circuit board, the data transmission end of the wireless transmission data module is connected to the data transmission end of the controller, and the touch display data end of the touch display screen 3 is connected to the touch display end of the controller; in this embodiment, it also includes a front camera 1 arranged on the front of the mobile phone body 2 and a rear camera 4 arranged on the back of the mobile phone body 2, the image data end of the front camera 1 is connected to the front data end of the controller, and the image data end of the rear camera 4 is connected to the rear data end of the controller.
[0315] If the controller receives the image data to be viewed and receives a continuous viewing trigger signal, it performs image restoration processing on the image data to be viewed to obtain the viewing image; after obtaining the viewing image, if the continuous viewing trigger signal is interrupted or after Ts, where T is a positive number and s is the time unit in seconds, the viewing image becomes a blurred image.
[0316] In a preferred embodiment of the present invention, the wireless transmission data module includes one or any combination of a short-range wireless transmission data module, a medium-range wireless transmission data module and a long-range wireless transmission data module;
[0317] The data transmission end of the short-range wireless transmission data module is connected to the short-range data transmission end of the controller, the data transmission end of the medium-range wireless transmission data module is connected to the medium-range data transmission end of the controller, and the data transmission end of the long-range wireless transmission data module is connected to the long-range data transmission end of the controller;
[0318] The short-range wireless transmission data module includes one or any combination of a Bluetooth short-range wireless transmission data module, a WiFi short-range wireless transmission data module, an RFID short-range wireless transmission data module, and a Zigbee short-range wireless transmission data module, wherein the data transmission end of the Bluetooth short-range wireless transmission data module is connected to the Bluetooth short-range data transmission end of the controller, the data transmission end of the WiFi short-range wireless transmission data module is connected to the WiFi short-range data transmission end of the controller, the data transmission end of the RFID short-range wireless transmission data module is connected to the RFID short-range data transmission end of the controller, and the data transmission end of the Zigbee short-range wireless transmission data module is connected to the Zigbee short-range data transmission end of the controller;
[0319] The medium-range wireless transmission data module includes one or any combination of a 3G medium-range wireless transmission data module, a 4G medium-range wireless transmission data module, and a 5G medium-range wireless transmission data module; the data transmission end of the 3G medium-range wireless transmission data module is connected to the 3G medium-range data transmission end of the controller, the data transmission end of the 3G medium-range wireless transmission data module is connected to the 3G medium-range data transmission end of the controller, and the data transmission end of the 5G medium-range wireless transmission data module is connected to the 5G medium-range data transmission end of the controller;
[0320] The remote wireless transmission data module includes a Lora remote wireless transmission data module and / or a 2G remote wireless transmission data module. The data transmission end of the Lora remote wireless transmission data module is connected to the Lora remote data transmission end of the controller, and the data transmission end of the 2G remote wireless transmission data module is connected to the 2G remote data transmission end of the controller.
[0321] In a preferred embodiment of the present invention, it also includes a front camera or / and a rear camera monitoring module, and the front camera or / and the rear camera monitoring module includes a monitoring signal front unit, a monitoring signal enhancement unit and a monitoring signal stabilization unit;
[0322] The signal input end of the monitoring signal front unit is connected to the signal output end of the front camera or the rear camera, the signal output end of the monitoring signal front unit is connected to the signal input end of the monitoring signal enhancement unit, the signal output end of the monitoring signal enhancement unit is connected to the signal input end of the monitoring signal stabilization unit, and the signal output end of the monitoring signal stabilization unit is connected to the front or rear monitoring end of the controller;
[0323] The monitoring signal front unit includes: a gate of an N-channel enhancement type field effect transistor Q1 is respectively connected to a first end of a resistor R1 and a signal output end of a front camera or a rear camera, a drain of the N-channel enhancement type field effect transistor Q1 is connected to a first end of an inductor L1, a second end of the inductor L1 is connected to a +5V power supply, a source of the N-channel enhancement type field effect transistor Q1 is respectively connected to a first end of a resistor R2, a first end of a resistor R3, a first end of a capacitor C1 and a first end of a capacitor C2, a second end of the resistor R1 and a second end of the resistor R2 are respectively connected to a power ground, a second end of the resistor R3 and a second end of the capacitor C1 are respectively connected to a power ground, and a first end of the capacitor C2 is connected to a signal input end of the monitoring signal enhancement unit; the N-channel enhancement type field effect transistor Q1 amplifies and outputs the monitoring signal, the capacitor C1 and the inductor L1 form an LC filter during the amplification process of the N-channel enhancement type field effect transistor Q1, and the monitoring signal is accurately filtered using the LC filter principle, thereby effectively reducing the clutter interference caused by external light and improving the monitoring accuracy.
[0324] The monitoring signal enhancement unit includes: a first end of a resistor R4, a first end of a resistor R5, and a first end of a resistor R6 are respectively connected to the signal output end of the monitoring signal pre-unit, a second end of the resistor R6 is connected to the positive phase input end of the amplifier AR1, an inverting input end of the amplifier AR1 is respectively connected to the output end of the amplifier AR1 and the first end of the adjustable resistor RP1, a second end of the adjustable resistor RP1 is respectively connected to the first end of the capacitor C4 and the power supply ground, the adjustment end of the adjustable resistor RP1 and the second end of the capacitor C4 are respectively connected to the positive phase input end of the amplifier AR2; the second end of the resistor R4 is connected to the collector of the NPN transistor VT1, the second end of the resistor R5 is connected to the collector of the NPN transistor V The base of T1 is connected to the negative electrode of the diode DZ1, the diode DZ1 is connected to the power ground, the emitter of the NPN transistor VT1 is respectively connected to the first end of the capacitor C3 and the inverting input end of the amplifier AR2, the power end of the amplifier AR2 is connected to the +5V power supply, the power ground end of the amplifier AR2 is connected to the power ground, the second end of the capacitor C3 and the output end of the amplifier AR2 are respectively connected to the signal input end of the monitoring signal stabilization unit; since the light source of the front camera and / or the rear camera becomes weaker after long-term use, the monitoring signal output will also become weaker accordingly, and the designed monitoring signal enhancement unit amplifies the output signal of the monitoring signal front unit to achieve an optimization effect.
[0325] The monitoring signal stabilization unit includes: the first end of the resistor R7 is connected to the signal output end of the monitoring signal enhancement unit, the second end of the resistor R7 is respectively connected to the first end of the capacitor C5 and the positive input end of the amplifier AR3, the second end of the capacitor C5 is connected to the power ground, the power end of the amplifier AR3 is connected to the +5V power supply, the power ground end of the amplifier AR3 is connected to the power ground, the inverting input end of the amplifier AR3 is connected to the first end of the resistor R8, the output end of the amplifier AR3 and the second end of the resistor R8 are respectively connected to the first end of the resistor R9, the second end of the resistor R9 is respectively connected to the cathode of the diode DZ2 and the front or rear monitoring end of the controller, and the anode of the diode DZ2 is connected to the power ground. The capacitor C5 and the resistor R7 form an RC low-pass filter to process the signal output by the amplifier AR2 and transmit it to the amplifier AR3. The amplifier AR3 converts and outputs the signal using the amplification principle so that its monitoring signal output value is suitable for the potential value received by the controller, and its diode DZ2 plays a protective effect when the monitoring signal is input to the controller.
[0326] The specific circuit connection of the front camera and / or rear camera monitoring module is as follows: Figure 4As shown, the gate of the N-channel enhancement type field effect transistor Q1 is respectively connected to the first end of the resistor R1 and the signal output end of the front camera or the rear camera, the drain of the N-channel enhancement type field effect transistor Q1 is connected to the first end of the inductor L1, the second end of the inductor L1 is connected to the +5V power supply, the source of the N-channel enhancement type field effect transistor Q1 is respectively connected to the first end of the resistor R2, the first end of the resistor R3, the first end of the capacitor C1 and the first end of the capacitor C2, the second end of the resistor R1 and the second end of the resistor R2 are respectively connected to the power ground, the second end of the resistor R3 and the capacitor The second end of C1 is respectively connected to the power ground, the first end of capacitor C2 is respectively connected to the first end of resistor R4, the first end of resistor R5 and the first end of resistor R6, the second end of resistor R6 is connected to the non-inverting input end of amplifier AR1, the inverting input end of amplifier AR1 is respectively connected to the output end of amplifier AR1 and the first end of adjustable resistor RP1, the second end of adjustable resistor RP1 is respectively connected to the first end of capacitor C4 and the power ground, the adjustable end of adjustable resistor RP1 and the second end of capacitor C4 are respectively connected to the non-inverting input end of amplifier AR2; resistor R The second end of resistor R4 is connected to the collector of NPN transistor VT1, the second end of resistor R5 is connected to the base of NPN transistor VT1 and the cathode of diode DZ1, the cathode of diode DZ1 is connected to the power ground, the emitter of NPN transistor VT1 is connected to the first end of capacitor C3 and the inverting input end of amplifier AR2 respectively, the power supply end of amplifier AR2 is connected to the +5V power supply, the power ground end of amplifier AR2 is connected to the power ground, the second end of capacitor C3 and the output end of amplifier AR2 are connected to the first end of resistor R7 respectively, the second end of resistor R7 is connected to the output end of amplifier AR2 They are respectively connected to the first end of the capacitor C5 and the non-inverting input end of the amplifier AR3, the second end of the capacitor C5 is connected to the power ground, the power end of the amplifier AR3 is connected to the +5V power supply, the power ground end of the amplifier AR3 is connected to the power ground, the inverting input end of the amplifier AR3 is connected to the first end of the resistor R8, the output end of the amplifier AR3 and the second end of the resistor R8 are respectively connected to the first end of the resistor R9, the second end of the resistor R9 is respectively connected to the cathode of the diode DZ2 and the front or rear monitoring end of the controller, and the anode of the diode DZ2 is connected to the power ground.
[0327] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
Claims
1. A method for realizing the secure fusion of massive data images, characterized in that: The following steps are involved: S1, sequentially number all image data to be sent to the mobile phone, perform image operation on each image, and obtain the image operation value of each image; S2, obtaining image information of each image and calculating the total number of pixels of each image; S3, perform G on the image operation value obtained in step S1 Ab Operations are performed to obtain the connection value; S4, fusing the connection value obtained in step S3 with the image value to obtain a fused image.
2. The method for realizing the secure fusion of massive data images according to claim 1 is characterized in that: In step S1, image operation is performed on each image to obtain the image operation value of each image as follows: Image Calculation Value Ab =Summary Function[A b ], Wherein, Summary Function[] represents a summary function using one of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512; A b represents the bth image to be sent to the mobile phone; b=1, 2, 3, ..., a; Image Calculation Value Ab Indicates the bth image A to be sent to the mobile phone b The image operation value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512.
3. The method for realizing the secure fusion of massive data images according to claim 1 is characterized in that: In step S2, the total number of pixels in each image is calculated as follows: Among them, C Ab Indicates the bth image A to be sent to the mobile phone b The width value of the , in centimeters; D Ab Indicates the bth image A to be sent to the mobile phone b The height value in centimeters; E Ab Indicates the bth image A to be sent to the mobile phone b The resolution, in pixels per inch; F Ab Indicates the bth image A to be sent to the mobile phone b Conversion factors from inches to centimeters; B Ab Indicates the bth image A to be sent to the mobile phone b The total number of pixels.
4. The method for realizing the secure fusion of massive data images according to claim 1 is characterized in that: In step S3, the number of operations The calculation method is: Among them, int() represents the rounding algorithm; Indicates the bth image A to be sent to the mobile phone b The total number of pixels; δ represents the number of bits that make up the pixel value; H represents the total number of binary digits of the summary value; ∈ means belongs to; Z + represents a set of positive integers; Indicates not belonging to; Indicates the total number of operations.
5. The method for realizing the secure fusion of massive data images according to claim 1 is characterized in that: In step S3, the connection value is calculated as follows: Wherein, Summary Function[] represents a summary function using one of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512; Image Calculation Value Ab Indicates the bth image A to be sent to the mobile phone b An image operation value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512; When i=1, I1=Summary Function[Image Calculation Value Ab ]; I1 represents the image calculation value A digest value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512; When i≠1, I i =Summary Function[I i-1 ], I i I i-1 A digest value obtained by using one of the digest functions of MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512; That is, when i=2, I2=Summary Function[I1], When i=3, I3=Summary Function[I2], When i=4, I4=Summary Function[I3], ……, hour, Connect the obtained summary values to obtain the connection value; the method for obtaining the connection value is: Among them, & represents a connector; Indicates the connection value.
6. The method for realizing the secure fusion of massive data images according to claim 1 is characterized in that: In step S4, the method for obtaining the fused image is: in, Indicates the connection value The value corresponding to the cth position from left to right in; ⊙ indicates same or calculation; Indicates the bth image A to be sent to the mobile phone b The arrangement value corresponding to the cth position after all the pixels are arranged into image values; It indicates the arrangement value corresponding to the cth position after all pixels in the fused image are arranged into image values.
7. The method for realizing secure fusion of massive data images according to claim 6 is characterized in that: The method of arranging all its pixels into image values includes the following steps: S81, sending the bth image A to the mobile phone b The pixels in the image are arranged from left to right and from top to bottom, namely the first pixel, the second pixel, the third pixel, ..., the B pixel. Ab Pixel, B Ab Indicates the received b-th image A b The total number of pixels; S82, converting the pixel value corresponding to each pixel point into a binary value, and arranging all the converted binary values according to the first pixel point, the second pixel point, the third pixel point, ..., the B pixel point Ab The pixels are arranged in sequence to obtain the image values of all the pixels.
8. An identification device for realizing the secure fusion of massive data images, comprising a mobile phone body, characterized in that: A touch display screen is arranged on the front of the mobile phone body, and also includes a PCB printed circuit board fixing mounting seat arranged in the mobile phone body for fixing the PCB printed circuit board. The PCB printed circuit board is fixedly mounted on the PCB printed circuit board fixing mounting seat. A controller and a wireless transmission data module are arranged on the PCB printed circuit board. The data transmission end of the wireless transmission data module is connected to the data transmission end of the controller, and the touch display data end of the touch display screen is connected to the touch display end of the controller.
9. The recognition device for realizing the secure fusion of massive data images according to claim 8, characterized in that: The wireless transmission data module includes one or any combination of a short-range wireless transmission data module, a medium-range wireless transmission data module and a long-range wireless transmission data module.
10. The recognition device for realizing the secure fusion of massive data images according to claim 8, characterized in that: It also includes a front camera arranged on the front of the mobile phone body and a rear camera arranged on the back of the mobile phone body, the image data end of the front camera is connected to the front data end of the controller, and the image data end of the rear camera is connected to the rear data end of the controller.