Video data information dynamic encryption method and system

CN122765142APending Publication Date: 2026-09-15BEIHANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610967013.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-01
Publication Date
2026-09-15

AI Technical Summary

Technical Problem

传统的私钥加密算法和公钥加密算法均采用密钥与算法结合方式无法对医疗数字影像进行多维度加密处理

Benefits of technology

[0049] First, the encryption algorithm of the image data information dynamic encryption method and system of the present invention uses a large number of random operations and rules, making the encryption algorithm highly dynamic and increasing the difficulty of cracking;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122765142A_ABST
    Figure CN122765142A_ABST
Patent Text Reader

Abstract

The application discloses an image data information dynamic encryption method and system. The image data information is processed in segments, and a plurality of image data subsegments are divided. Encryption information attributes of each image data subsegment are randomly determined, and each image data subsegment is divided into an encryption object and a non-encryption object. According to the encryption information attributes, an encryption operation is performed on the encryption object to generate actual encryption information. According to the actual encryption information and the non-encryption object, an encryption control segment is generated. According to the actual encryption condition of the image data information, an encryption control head and encryption control information are generated. According to the encryption control head, the encryption control information and the encryption control segment, an encryption data organization structure is generated. Through a mixed dynamic encryption mode combining segmented partial information encryption and dynamic encryption processing, multi-dimensional encryption processing is implemented on the image data information, and the encryption requirements of high speed, low resource consumption and high security for the image data information can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data encryption, and in particular to a method and system for dynamic encryption of image data information. Background Technology

[0002] Medical digital images are characterized by massive volume and high frequency (i.e., large data volume per unit time), and also contain multimodal information such as text and image information. Traditional private-key encryption algorithms and public-key encryption algorithms, which combine keys and algorithms, cannot provide multi-dimensional encryption for medical digital images. Private-key encryption algorithms use the same key for both the sender and receiver, resulting in lower security but higher speed and lower resource consumption. Public-key encryption algorithms use different keys for the sender and receiver, offering higher security but higher resource consumption and slower encryption speed. Therefore, relying solely on either private-key or public-key encryption algorithms cannot simultaneously meet the requirements of high speed, low resource consumption, and high security for medical data images. Summary of the Invention

[0003] Given the massive data volume and multimodal nature of medical digital images, private key encryption algorithms and public key encryption algorithms cannot perform high-speed, low-resource-consumption, and high-security encryption processing of medical digital images, thus affecting the reliability and efficiency of medical digital image encryption.

[0004] In view of the above problems, the present invention provides a method for dynamic encryption of image data information, including:

[0005] The image data information is segmented to obtain several image data sub-segments;

[0006] Each image data sub-segment is randomly assigned an encrypted information attribute to divide it into encrypted and unencrypted objects; wherein the encrypted information attribute includes the encrypted information location and / or encrypted information length.

[0007] Based on the encrypted information attributes, perform an encryption operation on the encrypted object to generate actual encrypted information; based on the actual encrypted information and the unencrypted object, generate an encryption control segment;

[0008] Based on the actual encryption status of the image data information, an encryption control header and encryption control information are generated; based on the encryption control header, the encryption control information, and the encryption control segment, an encrypted data organization structure is generated.

[0009] Optionally, the image data information is segmented to obtain several image data sub-segments, including:

[0010] Multimodal recognition is performed on image data to obtain multimodal information attributes; wherein, the multimodal information attributes include the distribution location and information content of the text information and image information subordinate to the image data;

[0011] Based on the multimodal information attributes, several information modality change positions within the image data information are identified; wherein, the information modalities on both sides of the information modality change position are the same or different;

[0012] Based on the spatial distribution of the locations of the aforementioned modal changes, the image data information is segmented to obtain several image data sub-segments.

[0013] Optionally, the encryption information attributes of each image data sub-segment are randomly determined, thereby dividing each image data sub-segment into encrypted and unencrypted objects, including:

[0014] Obtain the semantic content features of each image data sub-segment, and perform dynamic random positioning of each image data sub-segment based on the semantic content features, thereby determining the location and / or length of the encrypted information in each image data sub-segment;

[0015] Based on the location and / or length of the encrypted information, the encrypted information interval of each image data sub-segment is determined, thereby dividing each image data sub-segment into encrypted objects and unencrypted objects; wherein, the encrypted objects are located within the encrypted information interval, and the unencrypted objects are located outside the encrypted information interval.

[0016] Optionally, based on the encrypted information attributes, an encryption operation is performed on the encrypted object to generate actual encrypted information; based on the actual encrypted information and the unencrypted object, an encryption control segment is generated, including:

[0017] Based on the location and / or length of the encrypted information, a matching encryption key is randomly determined for each encrypted object, thereby performing an encryption operation on each encrypted object to generate actual encrypted information; wherein, the encryption key includes weighted characters used by the encryption algorithm matching each encrypted object;

[0018] All unencrypted objects under each image data sub-segment are integrated into unencrypted information, and the actual encrypted information and the unencrypted information are combined to form an encrypted control segment.

[0019] Optionally, based on the actual encryption status of the image data information, an encryption control header and encryption control information are generated; based on the encryption control header, the encryption control information, and the encryption control segment, an encrypted data organization structure is generated, including:

[0020] An encryption control header is generated based on the encryption identifier, number of segments, and encryption ratio coefficient of the image data information; wherein, the encryption identifier refers to an identifier symbol indicating whether the information has been encrypted; the number of segments refers to the number of image data sub-segments formed by dividing the image data information; and the encryption ratio coefficient refers to the proportion of partially encrypted content.

[0021] Based on the encryption seed location, encryption length, encryption start location, and encryption algorithm used for each image data sub-segment, encryption control information is generated;

[0022] A complete encrypted control segment is formed by splicing the encrypted control information and encrypted control segment corresponding to each image data sub-segment; an encrypted data organization structure is formed by splicing the encrypted control header and the complete encrypted control segments corresponding to all image data sub-segments.

[0023] As one aspect of the present invention, embodiments of the present invention also provide a dynamic encryption system for image data information, comprising:

[0024] The segmentation module is used to segment image data information to obtain several image data sub-segments.

[0025] The segmentation module is used to randomly determine the encrypted information attributes of each image data sub-segment, thereby dividing each image data sub-segment into encrypted objects and unencrypted objects; wherein, the encrypted information attributes include the encrypted information location and / or the encrypted information length;

[0026] An encryption operation module is used to perform encryption operations on the encryption object according to the encryption information attributes to generate actual encrypted information;

[0027] An integration module is used to generate an encryption control segment based on the actual encrypted information and the unencrypted object;

[0028] The encryption control module is used to generate an encryption control header and encryption control information based on the actual encryption status of the image data information.

[0029] The aggregation module is used to generate an encrypted data organization structure based on the encryption control header, the encryption control information, and the encryption control segment.

[0030] Optionally, the segmentation module is used to segment the image data information to obtain several image data sub-segments, including:

[0031] Multimodal recognition is performed on image data to obtain multimodal information attributes; wherein, the multimodal information attributes include the distribution location and information content of the text information and image information subordinate to the image data;

[0032] Based on the multimodal information attributes, several information modality change positions within the image data information are identified; wherein, the information modalities on both sides of the information modality change position are the same or different;

[0033] Based on the spatial distribution of the locations of the aforementioned modal changes, the image data information is segmented to obtain several image data sub-segments.

[0034] Optionally, the partitioning module is used to randomly determine the encryption information attributes of each image data sub-segment, thereby dividing each image data sub-segment into encrypted and unencrypted objects, including:

[0035] Obtain the semantic content features of each image data sub-segment, and perform dynamic random positioning of each image data sub-segment based on the semantic content features, thereby determining the location and / or length of the encrypted information in each image data sub-segment;

[0036] Based on the location and / or length of the encrypted information, the encrypted information interval of each image data sub-segment is determined, thereby dividing each image data sub-segment into encrypted objects and unencrypted objects; wherein, the encrypted objects are located within the encrypted information interval, and the unencrypted objects are located outside the encrypted information interval.

[0037] Optionally, the encryption operation module is used to perform encryption operations on the encryption object according to the encryption information attributes to generate actual encrypted information, including:

[0038] Based on the location and / or length of the encrypted information, a matching encryption key is randomly determined for each encrypted object, thereby performing an encryption operation on each encrypted object to generate actual encrypted information; wherein, the encryption key includes weighted characters used by the encryption algorithm matching each encrypted object;

[0039] The integration module is used to generate an encryption control segment based on the actual encrypted information and the unencrypted object, including:

[0040] All unencrypted objects under each image data sub-segment are integrated into unencrypted information, and the actual encrypted information and the unencrypted information are combined to form an encrypted control segment.

[0041] Optionally, the encryption control module is used to generate an encryption control header and encryption control information based on the actual encryption status of the image data information, including:

[0042] An encryption control header is generated based on the encryption identifier, number of segments, and encryption ratio coefficient of the image data information; wherein, the encryption identifier refers to an identifier symbol indicating whether the information has been encrypted; the number of segments refers to the number of image data sub-segments formed by dividing the image data information; and the encryption ratio coefficient refers to the proportion of partially encrypted content.

[0043] Based on the encryption seed location, encryption length, encryption start location, and encryption algorithm used for each image data sub-segment, encryption control information is generated;

[0044] The aggregation module is used to generate an encrypted data organization structure based on the encryption control header, the encryption control information, and the encryption control segment, including:

[0045] A complete encrypted control segment is formed by splicing the encrypted control information and encrypted control segment corresponding to each image data sub-segment; an encrypted data organization structure is formed by splicing the encrypted control header and the complete encrypted control segments corresponding to all image data sub-segments.

[0046] The beneficial effects of the above-mentioned technical solutions provided in the embodiments of the present invention include at least the following:

[0047] This invention provides a method and system for dynamic encryption of image data. The method involves segmenting image data into several sub-segments. For each sub-segment, encryption attributes are randomly determined, classifying it into encrypted and unencrypted objects. Based on these attributes, encryption is performed on the encrypted objects to generate actual encrypted information. An encryption control segment is generated based on the actual encrypted information and the unencrypted objects. An encryption control header and encryption control information are generated based on the actual encryption status of the image data. Finally, an encrypted data organization structure is generated based on the encryption control header, encryption control information, and encryption control segment. This hybrid dynamic encryption method, combining segmented partial information encryption with dynamic encryption processing, enables multi-dimensional encryption of image data, effectively addressing the requirements for high speed, low resource consumption, and high security.

[0048] The image data dynamic encryption method and system of the present invention have the following advantages:

[0049] First, the encryption algorithm of the image data information dynamic encryption method and system of the present invention uses a large number of random operations and rules, making the encryption algorithm highly dynamic and increasing the difficulty of cracking;

[0050] Second, the final calculation of the encryption algorithm of the image data information dynamic encryption method and system of the present invention does not use complex calculations, nor does it use the method of repeatedly scanning target information for encryption, which makes the encryption processing speed faster.

[0051] Third, compared with traditional encryption algorithms, the image data information dynamic encryption method and system of the present invention adds a dimension of encryption control. That is, the encryption algorithm of the present invention performs effective security control from three dimensions, which makes it more secure. It also uses a large number of dynamic calculation values. When the encryption rules are unknown, cracking will take a long time or be difficult.

[0052] Fourth, the encryption algorithm of the image data information dynamic encryption method and system of the present invention is highly customizable. Each input parameter can be defined as needed, which can improve the concealment and security of the encryption algorithm. The number of segments, encryption ratio, operation value and other parameters can also be customized and set by the user, and the encryption algorithm has the ability to be derived.

[0053] Other features and advantages of the invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description and the accompanying drawings.

[0054] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0055] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:

[0056] Figure 1 This is a flowchart illustrating the dynamic encryption method for image data information provided in this embodiment of the invention.

[0057] Figure 2 This corresponds to dividing the image data information into several sub-segments.

[0058] Figure 3 It is the distribution of encrypted and unencrypted objects.

[0059] Figure 4 These are the weighted characters used for the encryption key.

[0060] Figure 5 It is a process of randomly selecting encrypted information.

[0061] Figure 6 The corresponding randomly generated encryption length.

[0062] Figure 7 The corresponding structure of the encryption control header.

[0063] Figure 8 The composition structure of the corresponding encrypted control information.

[0064] Figure 9 Corresponding encrypted data organization structure.

[0065] Figure 10 This is a schematic diagram of the structure of the dynamic encryption system for image data information provided in this embodiment of the invention. Detailed Implementation

[0066] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0067] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," "outer," "far," "near," "front," and "rear," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0068] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0069] Please see Figure 1 As shown, an embodiment of this application provides a method for dynamically encrypting image data information. This method includes:

[0070] The image data information is segmented to obtain several image data sub-segments;

[0071] The encryption information attributes of each image data sub-segment are randomly determined to divide each image data sub-segment into encrypted and unencrypted objects; wherein, the encryption information attributes include the location of the encryption information and / or the length of the encryption information;

[0072] Based on the encrypted information attributes, perform encryption operations on the encrypted object to generate actual encrypted information; based on the actual encrypted information and the unencrypted object, generate an encrypted control segment;

[0073] Based on the actual encryption status of the image data, an encryption control header and encryption control information are generated; based on the encryption control header, encryption control information, and encryption control segments, an encrypted data organization structure is generated.

[0074] The beneficial effects of the above embodiments are that the image data information dynamic encryption method uses a hybrid dynamic encryption method that combines segmented partial information encryption and dynamic encryption processing to perform multi-dimensional encryption processing on image data information, which can take into account the encryption requirements of high speed, low resource consumption and high security for image data information.

[0075] In another embodiment, the image data information is segmented to obtain several image data sub-segments, including:

[0076] Multimodal recognition is performed on image data to obtain multimodal information attributes; among which, the multimodal information attributes include the distribution location and information content of the text information and image information under the image data;

[0077] Based on multimodal information attributes, the locations of several information modal changes within the image data are marked; wherein, the information modalities on both sides of the information modal change location are the same or different; for example, based on multimodal information attributes, several segmentation reference locations within the image data can be determined; wherein, the segmentation reference locations include the boundary locations between different information modalities, the preset segmentation locations within the same information modality, and / or the segmentation locations determined according to the data length;

[0078] Based on the spatial distribution of several information modal changes, the image data information is segmented to obtain several image data sub-segments.

[0079] The beneficial effects of the above embodiments are that image data information includes multimodal information such as text information and image information. To avoid encryption of cross-modal information in image data information, multimodal recognition is first performed on the image data information to obtain the distribution positions and information amounts of the text information and image information under the image data information. These distribution positions and information amounts are used as the basis for segmenting the image data information. In actual operation, based on the above distribution positions and information amounts, several information modality change positions within the image data information are marked. The information modalities on both sides of each information modality change position are the same or different; that is, the two sides of each information modality change position can both be text information modalities, both be image information modalities, or be text information modalities and image information modalities respectively. Furthermore, based on the spatial distribution of the above-mentioned information modality change positions in the image data information, the image data information is segmented into several image data sub-segments; it can be understood that each image data sub-segment can use a different random encryption seed. Please refer to... Figure 2 This involves dividing a portion of the text information in the image data into several sub-segments.

[0080] In another embodiment, the encryption information attributes of each image data sub-segment are randomly determined, thereby dividing each image data sub-segment into encrypted and unencrypted objects, including:

[0081] Obtain the semantic content features of each image data sub-segment, and perform dynamic random positioning on each image data sub-segment based on the semantic content features to determine the location and / or length of the encrypted information in each image data sub-segment; wherein, the aforementioned dynamic random positioning refers to determining the starting position and / or range of data that needs to be encrypted in the image data sub-segment based on random numbers or pseudo-random numbers.

[0082] Based on the location and / or length of the encrypted information, the encrypted information interval of each image data sub-segment is determined, thereby dividing each image data sub-segment into encrypted objects and unencrypted objects. Among them, the encrypted objects are located within the encrypted information interval, and the unencrypted objects are located outside the encrypted information interval. The encrypted information interval refers to the data range determined by the encryption start position and the encryption length. Data within this data range is regarded as encrypted objects, and data outside this data range is regarded as unencrypted objects.

[0083] The beneficial effects of the above embodiments are that, in actual operation, the semantic content features of each image data sub-segment are obtained. These semantic content features can be, but are not limited to, text semantic features or image semantic features. Based on these semantic content features, each image data sub-segment is dynamically and randomly located to determine the encrypted information location and / or encrypted information length of each sub-segment. It is understood that the encrypted information location refers to the location of the information to be encrypted, and the encrypted information length refers to the length of the information to be encrypted. Then, based on the encrypted information location and / or encrypted information length, the encrypted information interval of each image data sub-segment is determined, thereby dividing each image data sub-segment into encrypted and unencrypted objects. The above methods are used to prepare for dynamic encryption processing of each image data sub-segment. Dynamic encryption refers to encryption using a non-fixed and irregular method. Its core idea is the flexible use of random numbers in the encryption process. This includes segmented encryption, where the object to be encrypted is divided into multiple segments for separate encryption. Alternatively, only a portion of the information can be encrypted, for example, by using an encryption ratio coefficient to determine the actual length of the encrypted information. This encryption ratio coefficient refers to the proportion of information encrypted using partial encryption. The value of this encryption ratio coefficient ranges from 0% to 100%. A 0% encryption ratio coefficient indicates no encryption, while a 100% encryption ratio coefficient indicates full encryption. Please refer to [link to relevant documentation]. Figure 3 The underscore indicates an encrypted object, and the non-underscore indicates an unencrypted object.

[0084] In another embodiment, based on the encrypted information attributes, an encryption operation is performed on the encrypted object to generate actual encrypted information; based on the actual encrypted information and the unencrypted object, an encryption control segment is generated, including:

[0085] Based on the location and / or length of the encrypted information, a matching encryption key is randomly determined for each encrypted object, thereby performing an encryption operation on each encrypted object to generate actual encrypted information; wherein, the encryption key includes weighted characters used by the encryption algorithm matching each encrypted object; the weighted characters may be encryption seed, key characters or key bytes, which refer to one or more characters or bytes selected from the encryption key and participating in the encryption operation;

[0086] All unencrypted objects under each image data sub-segment are integrated into unencrypted information. The actual encrypted information and unencrypted information are combined to form an encrypted control segment. For example, the actual encrypted information replaces the original encrypted object at the corresponding position in the image data sub-segment, while keeping the original relative position of the unencrypted object in the image data sub-segment unchanged, thus forming the encrypted image data sub-segment.

[0087] The beneficial effect of the above embodiments is that, in actual operation, the encryption key matching each encryption object is randomly determined based on the location and / or length of the encrypted information. The encryption key refers to the weighted characters used by the encryption algorithm that are "randomly" selected during encryption, i.e., dynamically and randomly selecting the encryption seed. Please refer to... Figure 4 This corresponds to the weighted characters used with the encryption key. For encrypted objects, to reduce encryption processing time, partial information encryption can be used, with the aforementioned partial information determined through dynamic random positioning. Please refer to [link to relevant documentation]. Figure 5 This corresponds to the random selection process of the encrypted information. Furthermore, the length of the encrypted information portion selected at a random location is also randomly generated; please refer to [link to relevant documentation]. Figure 6 .

[0088] Understandably, based on the location and / or length of the encrypted information, a matching encryption key is randomly determined for each encrypted object. This allows encryption operations to be performed on each encrypted object to generate actual encrypted information, ensuring that each encrypted object receives a suitable encryption seed. Furthermore, all unencrypted objects under each image data sub-segment are integrated into unencrypted information, and the actual encrypted information is combined with the unencrypted information to form an encryption control segment, resulting in a partial encryption result for each image data sub-segment.

[0089] In another embodiment, an encryption control header and encryption control information are generated based on the actual encryption status of the image data information; an encrypted data organization structure is generated based on the encryption control header, encryption control information, and encryption control segments, including:

[0090] An encryption control header is generated based on the encryption identifier, number of segments, and encryption ratio coefficient of the image data information. The encryption identifier is a symbol indicating whether the information has been encrypted; the number of segments refers to the number of sub-segments formed by dividing the image data information; and the encryption ratio coefficient refers to the proportion of partially encrypted data. The encryption control header is a control field placed at the beginning of the encrypted data organization to record overall encryption information. The encryption control header may include, but is not limited to, the encryption identifier, number of segments, and encryption ratio coefficient. The encryption ratio coefficient is the proportion of the data requiring encryption to the total amount of image data to be encrypted, and its value can range from 0 to 100%.

[0091] Encryption control information is generated based on the encryption seed position, encryption length, encryption start position, and encryption algorithm used for each image data sub-segment. The encryption control information refers to the encryption parameter set corresponding to each image data sub-segment, which is used to record information such as the encryption seed position, encryption start position, encryption length, and encryption algorithm identifier of the image data sub-segment.

[0092] A complete encrypted control segment is formed by splicing the encrypted control information and encrypted control segments corresponding to each image data sub-segment; an encrypted data organization structure is formed by splicing the encrypted control header and the complete encrypted control segments corresponding to all image data sub-segments; wherein, a complete encrypted control segment includes an encrypted control information and the encrypted image data sub-segment (i.e., the encrypted control segment) corresponding to the encrypted control information; the encrypted data organization structure refers to the overall storage structure of the encrypted image data information, which includes an encrypted control header and multiple complete encrypted control segments.

[0093] The beneficial effect of the above embodiments is that, in order to enable the encrypted image data information to be decrypted in reverse, an encryption control header and encryption control information need to be added before the above encryption control segment, which serve as the basis for decryption and restoration. It is understood that the encryption control header is used to identify whether the information has been encrypted and the overall encrypted information record. The above encryption control header consists of an encryption identifier, a number of segments, and an encryption ratio coefficient. The encryption identifier is a symbol that identifies whether the information has been encrypted; it can be represented by the string "FDSE", occupying 4 bytes of space. F stands for "fast", D for "dynamic", S for "safe", and E for "encode". The number of segments refers to the number of image data sub-segments formed by dividing the image data information; it is represented by an integer, occupying a minimum of 1 byte of storage space, and its value range is 1-255 when occupying 1 byte. The encryption ratio coefficient refers to the proportion of partial encryption, represented by an integer or floating-point number, occupying a minimum of 2 bytes of storage space, and its value range is 0-100. Please refer to... Figure 7 The corresponding encryption control header has a structure where the first part is the encryption identifier, and the next two parts can be customized according to actual application. For example, they can be composed in the order of encryption identifier, number of segments, and encryption ratio coefficient.

[0094] The encryption control information describes the control information for the encryption processing of each image data sub-segment. It consists of the encryption seed position, encryption length, encryption start position, and the encryption algorithm used. The encryption control information typically occupies 10 bytes of storage space. The encryption seed refers to the index position of the selected encryption seed in the encryption key, which can be one or more key characters followed by key bytes. The encryption seed position corresponds to the position of the randomly selected encryption seed (e.g., a letter) in the key; it can be represented as an integer, occupying at least 1 byte, and its value ranges from 0 to 255 when occupying 1 byte. The encryption length corresponds to the randomly determined length of the actual encrypted information; when the length is 0, it indicates no encryption; when the length is the segment length, it indicates that all information is encrypted. It can be represented as an integer, occupying at least 4 bytes. The encryption start position corresponds to the starting position of the encrypted information. The encryption algorithm used can be, but is not limited to, AND (bitwise AND operation between the encrypted information and the encryption seed), OR (bitwise OR operation between the encrypted information and the encryption seed), addition (bitwise addition operation between the encrypted information and the encryption seed), and subtraction (bitwise subtraction operation between the encrypted information and the encryption seed). It can be represented by integers, occupying at least one byte, and its value range is 0-255 when occupying one byte. To enhance the security of the encryption algorithm, the encryption control information can be defined according to actual needs, such as being composed of the encryption seed position, encryption length, encryption start position, and the order of the encryption algorithm used. Please refer to [link to relevant documentation]. Figure 8 .

[0095] Please see Figure 9 The corresponding encrypted data organization structure can be understood as follows: after an image data information is encrypted, there is only one encryption control header and multiple complete encryption control segments; a complete encryption control segment includes an encryption control information segment and a target information segment; a target information segment includes actual encrypted information and unencrypted information; the length of each actual encrypted information is randomly determined and is different for different encryption control information.

[0096] Please see Figure 10 As shown, an embodiment of this application provides a dynamic encryption system for image data information. This dynamic encryption system for image data information includes:

[0097] The segmentation module is used to segment image data information to obtain several image data sub-segments.

[0098] The segmentation module is used to randomly determine the encrypted information attributes for each image data sub-segment, thereby dividing each image data sub-segment into encrypted and unencrypted objects; wherein, the encrypted information attributes include the encrypted information location and / or the encrypted information length;

[0099] The encryption operation module is used to perform encryption operations on the encrypted object according to the encryption information attributes to generate actual encrypted information;

[0100] The integration module is used to generate an encryption control segment based on the actual encrypted information and unencrypted objects;

[0101] The encryption control module is used to generate an encryption control header and encryption control information based on the actual encryption status of the image data.

[0102] The aggregation module is used to generate an encrypted data organization structure based on the encryption control header, encryption control information, and encryption control segment.

[0103] The beneficial effects of the above embodiments are that the image data information dynamic encryption system implements multi-dimensional encryption processing of image data information by combining segmented partial information encryption and dynamic encryption processing, which can take into account the encryption requirements of high speed, low resource consumption and high security of image data information.

[0104] In another embodiment, the segmentation module is used to segment the image data information to obtain several image data sub-segments, including:

[0105] Multimodal recognition is performed on image data to obtain multimodal information attributes; among which, the multimodal information attributes include the distribution location and information content of the text information and image information under the image data;

[0106] Based on the multimodal information attributes, the locations of several information modal changes within the image data are identified; where the information modalities on both sides of the information modal change location are the same or different;

[0107] Based on the spatial distribution of several information modal changes, the image data information is segmented to obtain several image data sub-segments.

[0108] In another embodiment, the partitioning module is used to randomly determine the encrypted information attributes of each image data sub-segment, thereby dividing each image data sub-segment into encrypted objects and unencrypted objects, including:

[0109] Obtain the semantic content features of each image data sub-segment, and perform dynamic random positioning of each image data sub-segment based on the semantic content features, thereby determining the location and / or length of the encrypted information in each image data sub-segment;

[0110] Based on the location and / or length of the encrypted information, the encrypted information interval of each image data sub-segment is determined, thereby dividing each image data sub-segment into encrypted objects and unencrypted objects; wherein, the encrypted objects are located within the encrypted information interval, and the unencrypted objects are located outside the encrypted information interval.

[0111] In another embodiment, the encryption operation module is used to perform encryption operations on the encryption object according to the encryption information attributes to generate actual encrypted information, including:

[0112] Based on the location and / or length of the encrypted information, a matching encryption key is randomly determined for each encrypted object, thereby performing an encryption operation on each encrypted object to generate actual encrypted information; wherein, the encryption key includes the weighted characters used by the encryption algorithm matching each encrypted object;

[0113] The integration module is used to generate an encryption control segment based on the actual encrypted information and unencrypted object, including:

[0114] All unencrypted objects under each image data sub-segment are integrated into unencrypted information, and the actual encrypted information and unencrypted information are combined to form an encrypted control segment.

[0115] In another embodiment, the encryption control module is used to generate an encryption control header and encryption control information based on the actual encryption status of the image data information, including:

[0116] An encryption control header is generated based on the encryption identifier, number of segments, and encryption ratio coefficient of the image data information. The encryption identifier is a symbol that indicates whether the information has been encrypted. The number of segments refers to the number of sub-segments formed by dividing the image data information. The encryption ratio coefficient refers to the proportion of partially encrypted data.

[0117] Based on the encryption seed location, encryption length, encryption start location, and encryption algorithm used for each image data sub-segment, encryption control information is generated;

[0118] The aggregation module is used to generate an encrypted data organization structure based on the encryption control header, encryption control information, and encryption control segment, including:

[0119] A complete encrypted control segment is formed by splicing the encrypted control information and encrypted control segment corresponding to each image data sub-segment; an encrypted data organization structure is formed by splicing the encrypted control header and the complete encrypted control segments corresponding to all image data sub-segments.

[0120] The image data information dynamic encryption system of the present invention operates and has the same effect as the above-mentioned image data information dynamic encryption method, and will not be described again here.

[0121] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. This disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims. Thus, if these modifications and variations of the invention fall within the scope of the claims of the invention and their equivalents, the invention is also intended to include these modifications and variations.

Claims

1. A method for dynamically encrypting image data information, characterized in that, include: The image data information is segmented to obtain several image data sub-segments; Each image data sub-segment is randomly assigned an encrypted information attribute to divide it into encrypted and unencrypted objects; wherein the encrypted information attribute includes the encrypted information location and / or encrypted information length. Based on the encrypted information attributes, perform an encryption operation on the encrypted object to generate actual encrypted information; based on the actual encrypted information and the unencrypted object, generate an encryption control segment; Based on the actual encryption status of the image data information, an encryption control header and encryption control information are generated; based on the encryption control header, the encryption control information, and the encryption control segment, an encrypted data organization structure is generated.

2. The image data information dynamic encryption method as described in claim 1, characterized in that: The image data is segmented to obtain several image data sub-segments, including: Multimodal recognition is performed on image data to obtain multimodal information attributes; wherein, the multimodal information attributes include the distribution location and information content of the text information and image information subordinate to the image data; Based on the multimodal information attributes, several information modality change positions within the image data information are identified; wherein, the information modalities on both sides of the information modality change position are the same or different; Based on the spatial distribution of the locations of the aforementioned modal changes, the image data information is segmented to obtain several image data sub-segments.

3. The image data information dynamic encryption method as described in claim 2, characterized in that: The encryption information attributes of each image data sub-segment are randomly determined, thereby dividing each image data sub-segment into encrypted and unencrypted objects, including: Obtain the semantic content features of each image data sub-segment, and perform dynamic random positioning of each image data sub-segment based on the semantic content features, thereby determining the location and / or length of the encrypted information in each image data sub-segment; Based on the location and / or length of the encrypted information, the encrypted information interval of each image data sub-segment is determined, thereby dividing each image data sub-segment into encrypted objects and unencrypted objects; wherein, the encrypted objects are located within the encrypted information interval, and the unencrypted objects are located outside the encrypted information interval.

4. The image data information dynamic encryption method as described in claim 3, characterized in that: Based on the encrypted information attributes, an encryption operation is performed on the encrypted object to generate actual encrypted information; Based on the actual encrypted information and the unencrypted object, an encryption control segment is generated, including: Based on the location and / or length of the encrypted information, a matching encryption key is randomly determined for each encrypted object, thereby performing an encryption operation on each encrypted object to generate actual encrypted information; wherein, the encryption key includes weighted characters used by the encryption algorithm matching each encrypted object; All unencrypted objects under each image data sub-segment are integrated into unencrypted information, and the actual encrypted information and the unencrypted information are combined to form an encrypted control segment.

5. The image data information dynamic encryption method as described in claim 4, characterized in that: Based on the actual encryption status of the image data information, an encryption control header and encryption control information are generated; Based on the encryption control header, the encryption control information, and the encryption control segment, an encrypted data organization structure is generated, including: An encryption control header is generated based on the encryption identifier, number of segments, and encryption ratio coefficient of the image data information; wherein, the encryption identifier refers to an identifier symbol indicating whether the information has been encrypted; the number of segments refers to the number of image data sub-segments formed by dividing the image data information; and the encryption ratio coefficient refers to the proportion of partially encrypted content. Based on the encryption seed location, encryption length, encryption start location, and encryption algorithm used for each image data sub-segment, encryption control information is generated; A complete encrypted control segment is formed by splicing the encrypted control information and encrypted control segment corresponding to each image data sub-segment; an encrypted data organization structure is formed by splicing the encrypted control header and the complete encrypted control segments corresponding to all image data sub-segments.

6. A dynamic encryption system for image data information, characterized in that, include: The segmentation module is used to segment image data information to obtain several image data sub-segments. The segmentation module is used to randomly determine the encrypted information attributes of each image data sub-segment, thereby dividing each image data sub-segment into encrypted objects and unencrypted objects; wherein, the encrypted information attributes include the encrypted information location and / or the encrypted information length; An encryption operation module is used to perform encryption operations on the encryption object according to the encryption information attributes to generate actual encrypted information; An integration module is used to generate an encryption control segment based on the actual encrypted information and the unencrypted object; The encryption control module is used to generate an encryption control header and encryption control information based on the actual encryption status of the image data information. The aggregation module is used to generate an encrypted data organization structure based on the encryption control header, the encryption control information, and the encryption control segment.

7. The image data information dynamic encryption system as described in claim 6, characterized in that: The segmentation module is used to segment the image data information to obtain several image data sub-segments, including: Multimodal recognition is performed on image data to obtain multimodal information attributes; wherein, the multimodal information attributes include the distribution location and information content of the text information and image information subordinate to the image data; Based on the multimodal information attributes, several information modality change positions within the image data information are identified; wherein, the information modalities on both sides of the information modality change position are the same or different; Based on the spatial distribution of the locations of the aforementioned modal changes, the image data information is segmented to obtain several image data sub-segments.

8. The image data information dynamic encryption system as described in claim 7, characterized in that: The segmentation module is used to randomly determine the encrypted information attributes of each image data sub-segment, thereby dividing each image data sub-segment into encrypted and unencrypted objects, including: Obtain the semantic content features of each image data sub-segment, and perform dynamic random positioning of each image data sub-segment based on the semantic content features, thereby determining the location and / or length of the encrypted information in each image data sub-segment; Based on the location and / or length of the encrypted information, the encrypted information interval of each image data sub-segment is determined, thereby dividing each image data sub-segment into encrypted objects and unencrypted objects; wherein, the encrypted objects are located within the encrypted information interval, and the unencrypted objects are located outside the encrypted information interval.

9. The image data information dynamic encryption system as described in claim 8, characterized in that: The encryption operation module is used to perform encryption operations on the encryption object according to the encryption information attributes to generate actual encrypted information, including: Based on the location and / or length of the encrypted information, a matching encryption key is randomly determined for each encrypted object, thereby performing an encryption operation on each encrypted object to generate actual encrypted information; wherein, the encryption key includes weighted characters used by the encryption algorithm matching each encrypted object; The integration module is used to generate an encryption control segment based on the actual encrypted information and the unencrypted object, including: All unencrypted objects under each image data sub-segment are integrated into unencrypted information, and the actual encrypted information and the unencrypted information are combined to form an encrypted control segment.

10. The image data information dynamic encryption system as described in claim 9, characterized in that: The encryption control module is used to generate an encryption control header and encryption control information based on the actual encryption status of the image data information, including: An encryption control header is generated based on the encryption identifier, number of segments, and encryption ratio coefficient of the image data information; wherein, the encryption identifier refers to an identifier symbol indicating whether the information has been encrypted; the number of segments refers to the number of image data sub-segments formed by dividing the image data information; and the encryption ratio coefficient refers to the proportion of partially encrypted content. Based on the encryption seed location, encryption length, encryption start location, and encryption algorithm used for each image data sub-segment, encryption control information is generated; The aggregation module is used to generate an encrypted data organization structure based on the encryption control header, the encryption control information, and the encryption control segment, including: A complete encrypted control segment is formed by splicing the encrypted control information and encrypted control segment corresponding to each image data sub-segment; an encrypted data organization structure is formed by splicing the encrypted control header and the complete encrypted control segments corresponding to all image data sub-segments.