Multimedia data multiple encryption compression method and system
By performing multiple processing of lossless, lossy and encrypted compression on multimedia data, the problems of insecure data compression and cumbersome user selection in the prior art are solved, and efficient and secure data compression and encryption are achieved.
Patent Information
- Application Number
- CN202411167888.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2044-08-23
AI Technical Summary
The prior art cannot achieve secure technical encryption during data compression, and users need to choose appropriate lossy or lossless compression methods by themselves, resulting in poor user experience.
Multimedia data multiple encryption compression method is adopted, and the data is first compressed losslessly, and a lossy compression scheme is decided based on the compression situation, then the data is lost, and finally encrypted and compressed to achieve simultaneous compression and encryption of data.
It realizes secure encryption and compression of data, while breaking through the single choice of traditional compression methods, improving user convenience and experience.
Smart Images

Figure CN118740947B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer data processing, and in particular to a multimedia data multiple encryption compression method and system. Background Art
[0002] At present, when data is compressed, most of them only support adding a decompression password, and cannot perform more secure technical encryption, which cannot meet the usage needs of some users and reduces the applicability of the system. In addition, data compression is mostly lossless compression and lossy compression. However, the compression requirements of different sub-data in the data that users want to compress and whether the sub-data is suitable for lossy / lossless compression may be different. Users need to choose the appropriate compression method for the sub-data by themselves, which is cumbersome and reduces the user experience.
[0003] Therefore, a solution is urgently needed. Summary of the invention
[0004] One of the purposes of the present invention is to provide a method for multiple encryption compression of multimedia data, which firstly performs lossless compression on the multimedia data, decides on a lossy compression scheme based on the compression situation, performs lossy compression on the first compressed data based on the lossy compression scheme, obtains second compressed data, and finally encrypts and compresses the second compressed data, obtains and outputs the third compressed data, thereby realizing technical encryption while compressing the data, and can also decide on a suitable lossy compression scheme by itself, breaking through the traditional compression which has only two fixed modes of lossless compression and lossy compression, improving user convenience and user experience.
[0005] An embodiment of the present invention provides a multimedia data multiple encryption compression method, comprising:
[0006] Acquiring multimedia data;
[0007] Losslessly compress the multimedia data, and obtain compression status and first compressed data;
[0008] Based on the compression situation, decide on a lossy compression scheme;
[0009] Based on a lossy compression scheme, losslessly compress the first compressed data to obtain second compressed data;
[0010] The second compressed data is encrypted and compressed, and the third compressed data is obtained and output.
[0011] Preferably, the multimedia data includes at least: text data, picture data, video data, audio data, and 3D model data.
[0012] Preferably, the decision of the lossy compression scheme based on the compression situation includes:
[0013] A lossy compression scheme corresponding to the compression situation is determined from a lossy compression scheme library.
[0014] Preferably, the acquiring of multimedia data includes:
[0015] Get the data to be compressed input by the user;
[0016] Describe the features of the data to be compressed and obtain feature vectors;
[0017] When the target matching degree is greater than or equal to the matching degree threshold, a data operation model is generated based on the data to be compressed; wherein the target matching degree is the larger of a first matching degree between the feature vector and a preset first standard feature vector and a second matching degree between the feature vector and a preset second standard feature vector corresponding to the user;
[0018] Assist users to decide on data preprocessing solutions based on data operation models;
[0019] Based on the data preprocessing scheme, preprocess the compressed data;
[0020] The preprocessing results are used as multimedia data.
[0021] Preferably, the method of assisting the user in deciding the data preprocessing scheme based on the data operation model includes:
[0022] When the user operates multiple first sub-data in the data to be compressed based on the data operation model within the first time period, and the first sub-data have the same data association relationship, a data screening strategy generation rule corresponding to the data association relationship is generated according to the generation time interval of each first sub-data;
[0023] Based on the data screening strategy, the target data is screened out from the data to be compressed;
[0024] Based on the data operation model, target data is displayed to users first;
[0025] When the user operates multiple second sub-data in the target data based on the data operation model within a second time period, a solution decision bar corresponding to the data association relationship is displayed to the user; wherein the second time period is after the first time period and adjacent to the first time period;
[0026] Obtain the data preprocessing solution decided by the user based on the solution decision column;
[0027] and / or,
[0028] When the user generates more than a preset number of first model operations based on the data operation model within the third time period, and the first model operations generated at the beginning and the end have a standard operation relationship, an operation sequence is generated based on each of the first model operations and at least one second model operation generated by the user based on the data operation model within the fourth time period; wherein the fourth time period is in the indicated direction corresponding to the standard operation relationship of the third time period and is adjacent to the third time period;
[0029] Try to determine the auxiliary content corresponding to the operation sequence from the auxiliary content library;
[0030] Based on the data operation model, auxiliary content is displayed to the user;
[0031] When the user selects the auxiliary content, a data preprocessing scheme is generated based on the auxiliary content selected by the user.
[0032] Preferably, after obtaining the third compressed data and before outputting the third compressed data, the method further includes:
[0033] Based on the evaluation index library, the security of the third compressed data is evaluated and the evaluation value is calculated:
[0034] ,
[0035] in, is the evaluation value, To use the evaluation index library The sub-evaluation value obtained by using the evaluation index to evaluate the security of the third compressed data is The evaluation index library The weight of the evaluation index, is the total number of evaluation indicators in the evaluation indicator library.
[0036] An embodiment of the present invention provides a multimedia data multiple encryption compression system, comprising:
[0037] An acquisition module, used for acquiring multimedia data;
[0038] A first compression module, used for losslessly compressing multimedia data, and obtaining compression status and first compressed data;
[0039] A decision module, used to decide a lossy compression scheme based on the compression situation;
[0040] A second compression module, configured to perform lossy compression on the first compressed data based on a lossy compression scheme to obtain second compressed data;
[0041] The third compression module is used to encrypt and compress the second compressed data, and obtain and output the third compressed data.
[0042] Preferably, the multimedia data includes at least: text data, picture data, video data, audio data, and 3D model data.
[0043] Preferably, the decision module decides on a lossy compression scheme based on the compression situation, including:
[0044] A lossy compression scheme corresponding to the compression situation is determined from a lossy compression scheme library.
[0045] Preferably, the acquisition module acquires multimedia data, including:
[0046] Get the data to be compressed input by the user;
[0047] Describe the features of the data to be compressed and obtain feature vectors;
[0048] When the target matching degree is greater than or equal to the matching degree threshold, a data operation model is generated based on the data to be compressed; wherein the target matching degree is the larger of a first matching degree between the feature vector and a preset first standard feature vector and a second matching degree between the feature vector and a preset second standard feature vector corresponding to the user;
[0049] Assist users to decide on data preprocessing solutions based on data operation models;
[0050] Based on the data preprocessing scheme, preprocess the compressed data;
[0051] The preprocessing results are used as multimedia data.
[0052] Preferably, the acquisition module assists the user in deciding a data preprocessing solution based on the data operation model, including:
[0053] When the user operates multiple first sub-data in the data to be compressed based on the data operation model within the first time period, and the first sub-data have the same data association relationship, a data screening strategy generation rule corresponding to the data association relationship is generated according to the generation time interval of each first sub-data;
[0054] Based on the data screening strategy, the target data is screened out from the data to be compressed;
[0055] Based on the data operation model, target data is displayed to users first;
[0056] When the user operates multiple second sub-data in the target data based on the data operation model within a second time period, a solution decision bar corresponding to the data association relationship is displayed to the user; wherein the second time period is after the first time period and adjacent to the first time period;
[0057] Obtain the data preprocessing solution decided by the user based on the solution decision column;
[0058] and / or,
[0059] When the user generates more than a preset number of first model operations based on the data operation model within the third time period, and the first model operations generated at the beginning and the end have a standard operation relationship, an operation sequence is generated based on each of the first model operations and at least one second model operation generated by the user based on the data operation model within the fourth time period; wherein the fourth time period is in the indicated direction corresponding to the standard operation relationship of the third time period and is adjacent to the third time period;
[0060] Try to determine the auxiliary content corresponding to the operation sequence from the auxiliary content library;
[0061] Based on the data operation model, auxiliary content is displayed to the user;
[0062] When the user selects the auxiliary content, a data preprocessing scheme is generated based on the auxiliary content selected by the user.
[0063] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0064] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0066] Figure 1 A schematic diagram of a multimedia data multiple encryption compression method according to an embodiment of the present invention;
[0067] Figure 2 Schematic diagram of the data encryption and compression process in an embodiment of the present invention;
[0068] Figure 3 Schematic diagram of a multimedia data multiple encryption compression system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0069] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0070] The embodiment of the present invention provides a multimedia data multiple encryption compression method, such as Figure 1 As shown, including:
[0071] S1. Obtain multimedia data;
[0072] S2. Losslessly compress the multimedia data to obtain compression status and first compressed data;
[0073] S3. Based on the compression situation, decide on a lossy compression scheme;
[0074] S4. Based on a lossy compression scheme, losslessly compress the first compressed data to obtain second compressed data;
[0075] S5. Encrypt and compress the second compressed data, and obtain and output third compressed data.
[0076] First, lossless compression is performed on the multimedia data. The lossless compression implementation methods include Huffman coding, dictionary coding, and predictive coding. The compression situation obtained includes: the change in the data volume of different types of sub-data in the multimedia data before and after lossless compression, etc. The first compressed data is the data formed after the multimedia data is losslessly compressed. Based on the compression situation, a lossy compression scheme is determined. The lossy compression scheme is a scheme for lossy compression of the first compressed data that is suitable for the compression situation. For example, if the compression situation is that the data volume change of type A sub-data in the multimedia data before and after lossless compression is 0, it means that the maximum compression is reduced. The volume of the final compressed data, type A sub-data needs to be lossy compressed, then the lossy compression scheme is to perform lossy compression on type A sub-data; based on the lossy compression scheme, the first compressed data is lossy compressed to obtain the second compressed data, the second compressed data is the data formed by lossy compression of the first compressed data; lossy compression implementation methods include conversion coding, quantization, and model-based compression; finally, the second compressed data is encrypted and compressed to obtain and output the third compressed data; when encrypting and compressing, only the second compressed data is encrypted, and the encryption implementation method includes using a symmetric encryption algorithm, etc. When performing encryption compression, you can also Figure 2 As shown, first add a random decompression password between the central directory structure part of the standard compressed package and the central directory record terminator to obtain the encrypted compressed package v1, then modify the central file header information flag of v1, for example: change the central file header information flag of v1 0x02014b50 to 0x504b0102. The encrypted compressed package v2 can be obtained, and finally salt is added according to a fixed number of bytes. For example: if the modulus is 9, 9 bytes are taken from the binary file of the compressed package v2 in turn each time, assuming [0x50, 0x4b, 0x01, 0x02, 0x40, 0x03, 0x4b, 0x50, 0x01], and then insert a fixed byte 0xff into the 4th and 9th positions (starting from 0), and finally the encrypted compressed package v3 can be obtained.
[0077] The present application firstly performs lossless compression on multimedia data, decides on a lossy compression scheme based on the compression situation, performs lossy compression on the first compressed data based on the lossy compression scheme, obtains second compressed data, and finally encrypts and compresses the second compressed data, obtains and outputs third compressed data, thereby realizing technical encryption while compressing data, and can also decide on a suitable lossy compression scheme by itself, breaking through the traditional compression which has only two fixed modes of lossless compression and lossy compression, improving user convenience and user experience.
[0078] In one embodiment, the multimedia data includes at least: text data, picture data, video data, audio data, and 3D model data.
[0079] For all kinds of original models, they are first uniformly transcoded into the GLB format, and then the mesh data (mesh data is the geometric basis of the 3D model, consisting of a series of vertices, edges and faces) and texture (texture is an image applied to the surface of the 3D model to add color, detail and complexity to make the model look more realistic) in the model are compressed, and finally encrypted and compressed for archiving.
[0080] In one embodiment, the decision of the lossy compression scheme based on the compression situation includes:
[0081] A lossy compression scheme corresponding to the compression situation is determined from a lossy compression scheme library.
[0082] When deciding on a lossy compression scheme, a lossy compression scheme corresponding to the compression situation is determined from a preset lossy compression scheme library; the lossy compression scheme library contains lossy compression schemes corresponding to different compression situations, which can be set one by one in advance by technical personnel according to actual needs.
[0083] In one embodiment, the acquiring of multimedia data includes:
[0084] Get the data to be compressed input by the user;
[0085] Describing the features of the data to be compressed to obtain a feature vector; when describing the features of the data to be compressed, first extract the data features of the data to be compressed, such as: multiple data types of the data to be compressed, the data volume of sub-data of different data types in the data to be compressed, etc., and then construct a feature vector in the form of a vector based on the data features;
[0086] When the target matching degree is greater than or equal to the matching degree threshold, a data operation model is generated based on the data to be compressed; wherein the target matching degree is the larger of the first matching degree between the feature vector and the preset first standard feature vector and the second matching degree between the feature vector and the preset second standard feature vector corresponding to the user; the preset first standard feature vector is constructed in the form of a vector by representing the data features that the general user needs to pre-process the data to be compressed that he / she inputs (for example: if the data type of the data to be compressed has the data type of personal privacy data, it means that the user determines the specific compression method of the sub-data of the data type by himself / herself); the preset second standard feature vector is constructed in the form of a vector by representing the data features that the user needs to pre-process the data to be compressed that he / she inputs (for example: the data type that the user prefers to perform lossy compression is a screenshot of a mobile phone screen); the matching degree threshold may be 8; when the target matching degree is greater than or equal to the matching degree threshold, it means that the data to be compressed needs to be pre-processed by the user before the multimedia data can be determined, and then a data operation model is generated based on the data to be compressed; the data operation model is a model that can be used for visual operations by the user, on which there are mapping areas for different types of data, display setting options for data of different data types, and operation options, etc., which can be set in advance by the technical staff according to actual needs;
[0087] Assist users to decide on data preprocessing solutions based on the data operation model; when users view and operate the data operation model, assist users to decide on data preprocessing solutions based on the data operation model. The data preprocessing solution represents how users want to preprocess the compressed data;
[0088] Based on the data preprocessing scheme, the data to be compressed is preprocessed; Based on the data preprocessing scheme, the data to be compressed is preprocessed; for example, a certain type of sub-data in the compressed data is marked as prohibiting lossy compression, so when the type of sub-data is lossily compressed, the information prohibiting lossy compression will be included in the compression situation;
[0089] The preprocessing results are used as multimedia data.
[0090] Generally, when users compress and encrypt data, the first step is to select the data they want to compress and encrypt. However, there are often a lot of data that users want to compress and encrypt, and they need to determine whether the selected data needs to be preprocessed in order to more appropriately perform subsequent data compression and encryption. However, this requires users to spend a lot of time, and it is also possible that they cannot preprocess all the compressed data while selecting data in batches. The embodiments of the present invention can solve these problems: introduce feature vectors, preset first standard feature vectors and preset second standard feature vectors, quickly determine whether the user needs to preprocess the compressed data, and when it is determined that the user needs to preprocess the compressed data, introduce a data operation model to assist the user in deciding a data preprocessing plan based on the data operation model, and preprocess the compressed data based on the data preprocessing plan, and use the preprocessing results as multimedia data, which is particularly humane and more intelligent.
[0091] In one embodiment, the assisting user in deciding a data preprocessing solution based on the data operation model includes:
[0092] When a user operates multiple first sub-data in the data to be compressed based on the data operation model within a first time period, and the first sub-data have the same data association relationship, a data screening strategy is generated based on the data screening strategy generation rule corresponding to the data association relationship, and according to the generation time interval of each first sub-data; the first time period is the last 100 seconds; operating the first sub-data refers to browsing operations, selecting operations, etc. on the first sub-data; the data association relationship can be that the data types are the same as work records, travel photos, etc.; the starting point of the generation time interval of each first sub-data is the earliest generation time of the first sub-data, and the end point of the interval is the latest generation time of the first sub-data; different data association relationships are preset with data screening strategy generation rules, and the data screening strategy is a strategy for screening out target data that users need to view first, for example: if the data association relationship is that the data type is the same as work records, then the data screening strategy is to screen out work records generated by users within the same generation time interval on working days within the first half of the month, and use them as target data;
[0093] Based on the data screening strategy, the target data is screened out from the data to be compressed;
[0094] Based on the data operation model, the target data is displayed to the user first; when the target data is displayed to the user first based on the data operation model, the interface displayed to the user by the data operation model may be adjusted so that the target data is included in the interface that the user can directly view;
[0095] When the user operates multiple second sub-data in the target data based on the data operation model within the second time period, a solution decision column corresponding to the data association relationship is displayed to the user; wherein the second time period is after the first time period and adjacent to the first time period; the second time period may be 150 seconds after the first time period; when the user operates multiple second sub-data in the target data based on the data operation model within the second time period, it indicates that the system assistance is accepted when viewing and operating the target data; different data association relationships are preset with solution decision columns, and the solution decision columns contain candidate decision solutions that the user may want to use as data preprocessing solutions, for example: if the data association relationship is that the data type is the same as work record, then the second sub-data is work record data, and the candidate decision solutions in the corresponding solution decision column include marking the second sub-data as prohibiting lossy compression, etc.;
[0096] Obtain the data preprocessing plan decided by the user based on the plan decision bar; the user can decide the data preprocessing plan based on the plan decision bar; the above plan determines the data screening strategy according to the situation, filters out the target data that needs to be displayed to the user in priority in this situation from the data to be compressed, and based on the data operation model, displays the target data to the user in priority to assist the user, and then, when it is determined that the user accepts the assistance, displays the plan decision bar to the user, and assists the user for a second time, which greatly improves the convenience, efficiency and accuracy of the user's decision on the data preprocessing plan and improves the applicability of the system.
[0097] and / or,
[0098] When the user generates more than a preset number of first model operations based on the data operation model within the third time period, and the first model operations generated at the beginning and the end have a standard operation relationship, an operation sequence is generated based on each first model operation and at least one second model operation generated by the user based on the data operation model within the fourth time period; wherein the fourth time period is in the indication direction corresponding to the standard operation relationship of the third time period and is adjacent to the third time period; the third time period is the last 200 seconds; the preset number threshold may be 5; when the first model operations generated at the beginning and the end have a standard operation relationship, the first model operation generated by the user may reflect what kind of assistance the user wants to get, for example: if the standard operation relationship is a closed-loop operation relationship, then after the user generates the first model operation, it indicates that the operation closed loop is completed; in addition, the standard operation relationship also indicates which second model operations can be supplemented by the system as a basis for determining what kind of assistance the user wants to get, for example: if the standard operation relationship is a closed-loop operation relationship, then after the user generates the first model operation, the operation closed loop has been completed and no other model operations will be generated, then the model operation generated previously can be used as a basis, that is, the indication direction is before; the length of the fourth time period may be 300 seconds; an operation sequence is generated based on the first model operation and the second model operation;
[0099] Try to determine the auxiliary content corresponding to the operation sequence from the auxiliary content library; the auxiliary content library contains auxiliary content corresponding to different operation sequences, and the auxiliary content is the content that provides assistance for the future according to the operation sequence and reflects what kind of assistance the user wants to get. For example, if the operation sequence is that the user continuously views a large volume of multiple sub-data in the data to be compressed, the user may want to know how to collaboratively process these sub-data, and the corresponding auxiliary content is a suggested solution for collaboratively processing these sub-data;
[0100] Based on the data operation model, auxiliary content is displayed to the user; when the auxiliary content is displayed to the user based on the data operation model, the auxiliary content can be directly set in the data operation model;
[0101] When the user selects the auxiliary content, a data preprocessing solution is generated based on the auxiliary content selected by the user. When the user selects the auxiliary content, it means that the user approves the corresponding auxiliary content, and then a data preprocessing solution is generated based on the auxiliary content selected by the user. The above technical solution determines the first model operation and the second model operation according to the situation, and generates an operation sequence, determines the corresponding auxiliary content, and displays it based on the data operation model. When the user selects the auxiliary content, a data preprocessing solution is generated based on the auxiliary content selected by the user, which greatly improves the convenience, efficiency and accuracy of the user's decision-making on the data preprocessing solution, and improves the applicability of the system.
[0102] In one embodiment, after obtaining the third compressed data, before outputting the third compressed data, the method further includes:
[0103] Based on the evaluation index library, the security of the third compressed data is evaluated and the evaluation value is calculated:
[0104] ,
[0105] in, is the evaluation value, To use the evaluation index library The sub-evaluation value obtained by using the evaluation index to evaluate the security of the third compressed data is The evaluation index library The weight of the evaluation index, is the total number of evaluation indicators in the evaluation indicator library.
[0106] The evaluation value can be used to determine the security level of the third compressed data. A threshold can be set. When the evaluation value is greater than the threshold, the third compressed data is output; the evaluation index is an index for evaluating the security of the third compressed data.
[0107] The embodiment of the present invention provides a multimedia data multiple encryption compression system, such as Figure 3As shown, including:
[0108] Acquisition module 1, used for acquiring multimedia data;
[0109] A first compression module 2, used for losslessly compressing multimedia data, obtaining compression status and first compressed data;
[0110] A decision module 3, used for deciding a lossy compression scheme based on the compression situation;
[0111] A second compression module 4, configured to perform lossy compression on the first compressed data based on a lossy compression scheme to obtain second compressed data;
[0112] The third compression module 5 is used to encrypt and compress the second compressed data, and obtain and output third compressed data.
[0113] The multimedia data at least includes: text data, picture data, video data, audio data, and 3D model data.
[0114] The decision module decides a lossy compression scheme based on the compression situation, including:
[0115] A lossy compression scheme corresponding to the compression situation is determined from a lossy compression scheme library.
[0116] The acquisition module acquires multimedia data, including:
[0117] Get the data to be compressed input by the user;
[0118] Describe the features of the data to be compressed and obtain feature vectors;
[0119] When the target matching degree is greater than or equal to the matching degree threshold, a data operation model is generated based on the data to be compressed; wherein the target matching degree is the larger of a first matching degree between the feature vector and a preset first standard feature vector and a second matching degree between the feature vector and a preset second standard feature vector corresponding to the user;
[0120] Assist users to decide on data preprocessing solutions based on data operation models;
[0121] Based on the data preprocessing scheme, preprocess the compressed data;
[0122] The preprocessing results are used as multimedia data.
[0123] The acquisition module assists the user in deciding a data preprocessing solution based on the data operation model, including:
[0124] When the user operates multiple first sub-data in the data to be compressed based on the data operation model within the first time period, and the first sub-data have the same data association relationship, a data screening strategy generation rule corresponding to the data association relationship is generated according to the generation time interval of each first sub-data;
[0125] Based on the data screening strategy, the target data is screened out from the data to be compressed;
[0126] Based on the data operation model, target data is displayed to users first;
[0127] When the user operates multiple second sub-data in the target data based on the data operation model within a second time period, a solution decision bar corresponding to the data association relationship is displayed to the user; wherein the second time period is after the first time period and adjacent to the first time period;
[0128] Obtain the data preprocessing solution decided by the user based on the solution decision column;
[0129] and / or,
[0130] When the user generates more than a preset number of first model operations based on the data operation model within the third time period, and the first model operations generated at the beginning and the end have a standard operation relationship, an operation sequence is generated based on each of the first model operations and at least one second model operation generated by the user based on the data operation model within the fourth time period; wherein the fourth time period is in the indicated direction corresponding to the standard operation relationship of the third time period and is adjacent to the third time period;
[0131] Try to determine the auxiliary content corresponding to the operation sequence from the auxiliary content library;
[0132] Based on the data operation model, auxiliary content is displayed to the user;
[0133] When the user selects the auxiliary content, a data preprocessing scheme is generated based on the auxiliary content selected by the user.
[0134] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A multimedia data multiple encryption compression method, characterized in that: include: Acquiring multimedia data; Losslessly compress the multimedia data, and obtain compression status and first compressed data; Based on the compression situation, decide on a lossy compression scheme; Based on a lossy compression scheme, losslessly compress the first compressed data to obtain second compressed data; Encrypting and compressing the second compressed data, obtaining and outputting third compressed data; The acquiring of multimedia data comprises: Get the data to be compressed input by the user; Describe the features of the data to be compressed and obtain feature vectors; When the target matching degree is greater than or equal to the matching degree threshold, a data operation model is generated based on the data to be compressed; wherein the target matching degree is the larger of a first matching degree between the feature vector and a preset first standard feature vector and a second matching degree between the feature vector and a preset second standard feature vector corresponding to the user; Assist users to decide on data preprocessing solutions based on data operation models; Based on the data preprocessing scheme, preprocess the compressed data; Using the preprocessing results as multimedia data; The auxiliary user decides the data preprocessing scheme based on the data operation model, including: When the user operates multiple first sub-data in the data to be compressed based on the data operation model within the first time period, and the first sub-data have the same data association relationship, a data screening strategy generation rule corresponding to the data association relationship is generated according to the generation time interval of each first sub-data; Based on the data screening strategy, the target data is screened out from the data to be compressed; Based on the data operation model, target data is displayed to users first; When the user operates multiple second sub-data in the target data based on the data operation model within a second time period, a solution decision bar corresponding to the data association relationship is displayed to the user; wherein the second time period is after the first time period and adjacent to the first time period; Obtain the data preprocessing solution decided by the user based on the solution decision column; and / or, When the user generates more than a preset number of first model operations based on the data operation model within the third time period, and the first model operations generated at the beginning and the end have a standard operation relationship, an operation sequence is generated based on each of the first model operations and at least one second model operation generated by the user based on the data operation model within the fourth time period; wherein the fourth time period is in the indicated direction corresponding to the standard operation relationship of the third time period and is adjacent to the third time period; Try to determine the auxiliary content corresponding to the operation sequence from the auxiliary content library; Based on the data operation model, auxiliary content is displayed to the user; When the user selects the auxiliary content, a data preprocessing scheme is generated based on the auxiliary content selected by the user.
2. The multimedia data multiple encryption compression method according to claim 1, characterized in that: The multimedia data at least includes: text data, picture data, video data, audio data, and 3D model data.
3. The multimedia data multiple encryption compression method according to claim 1, characterized in that: The decision of the lossy compression scheme based on the compression situation includes: A lossy compression scheme corresponding to the compression situation is determined from a lossy compression scheme library.
4. The multimedia data multiple encryption compression method according to claim 1, characterized in that: After obtaining the third compressed data and before outputting the third compressed data, the method further includes: Based on the evaluation index library, the security of the third compressed data is evaluated and the evaluation value is calculated: , in, is the evaluation value, To use the evaluation index library The sub-evaluation value obtained by using the evaluation index to evaluate the security of the third compressed data is The evaluation index library The weight of the evaluation index, is the total number of evaluation indicators in the evaluation indicator library.
5. A multimedia data multiple encryption compression system, characterized in that: include: An acquisition module, used for acquiring multimedia data; A first compression module, used for losslessly compressing multimedia data, and obtaining compression status and first compressed data; A decision module, used to decide a lossy compression scheme based on the compression situation; A second compression module, configured to perform lossy compression on the first compressed data based on a lossy compression scheme to obtain second compressed data; A third compression module, used for encrypting and compressing the second compressed data, and obtaining and outputting third compressed data; The acquisition module acquires multimedia data, including: Get the data to be compressed input by the user; Describe the features of the data to be compressed and obtain feature vectors; When the target matching degree is greater than or equal to the matching degree threshold, a data operation model is generated based on the data to be compressed; wherein the target matching degree is the larger of a first matching degree between the feature vector and a preset first standard feature vector and a second matching degree between the feature vector and a preset second standard feature vector corresponding to the user; Assist users to decide on data preprocessing solutions based on data operation models; Based on the data preprocessing scheme, preprocess the compressed data; Using the preprocessing results as multimedia data; The auxiliary user decides the data preprocessing scheme based on the data operation model, including: When the user operates multiple first sub-data in the data to be compressed based on the data operation model within the first time period, and the first sub-data have the same data association relationship, a data screening strategy generation rule corresponding to the data association relationship is generated according to the generation time interval of each first sub-data; Based on the data screening strategy, the target data is screened out from the data to be compressed; Based on the data operation model, target data is displayed to users first; When the user operates multiple second sub-data in the target data based on the data operation model within a second time period, a solution decision bar corresponding to the data association relationship is displayed to the user; wherein the second time period is after the first time period and adjacent to the first time period; Obtain the data preprocessing solution decided by the user based on the solution decision column; and / or, When the user generates more than a preset number of first model operations based on the data operation model within the third time period, and the first model operations generated at the beginning and the end have a standard operation relationship, an operation sequence is generated based on each of the first model operations and at least one second model operation generated by the user based on the data operation model within the fourth time period; wherein the fourth time period is in the indicated direction corresponding to the standard operation relationship of the third time period and is adjacent to the third time period; Try to determine the auxiliary content corresponding to the operation sequence from the auxiliary content library; Based on the data operation model, auxiliary content is displayed to the user; When the user selects the auxiliary content, a data preprocessing scheme is generated based on the auxiliary content selected by the user.
6. The multimedia data multiple encryption compression system as claimed in claim 5, characterized in that: The multimedia data at least includes: text data, picture data, video data, audio data, and 3D model data.
7. The multimedia data multiple encryption compression system as claimed in claim 5, characterized in that: The decision module decides a lossy compression scheme based on the compression situation, including: A lossy compression scheme corresponding to the compression situation is determined from a lossy compression scheme library.
Citation Information
Patent Citations
Image compression method and device
CN117676034A
Video coding compression method based on bandwidth self-adaption
CN118368433A