CN115395961A - Data lossless compression and encrypted transmission method based on joint middleware - Google Patents

Data lossless compression and encrypted transmission method based on joint middleware Download PDF

Info

Publication number
CN115395961A
CN115395961A CN202211000663.4A CN202211000663A CN115395961A CN 115395961 A CN115395961 A CN 115395961A CN 202211000663 A CN202211000663 A CN 202211000663A CN 115395961 A CN115395961 A CN 115395961A
Authority
CN
China
Prior art keywords
middleware
dictionary
data
compression
prefix
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211000663.4A
Other languages
Chinese (zh)
Inventor
陈进才
刘逸凡
卢萍
谢宝娣
王华扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huazhong University of Science and Technology
Beijing Simulation Center
Original Assignee
Huazhong University of Science and Technology
Beijing Simulation Center
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huazhong University of Science and Technology, Beijing Simulation Center filed Critical Huazhong University of Science and Technology
Priority to CN202211000663.4A priority Critical patent/CN115395961A/en
Publication of CN115395961A publication Critical patent/CN115395961A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/3084Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction using adaptive string matching, e.g. the Lempel-Ziv method
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • H04L63/062Network architectures or network communication protocols for network security for supporting key management in a packet data network for key distribution, e.g. centrally by trusted party

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention discloses a data lossless compression and encrypted transmission method based on a combined middleware, which belongs to the technical field of computer application and comprises the following steps: run-length coding is carried out on the data to be processed based on the joint middleware to obtain first compressed data; processing the first compressed data by using a compression algorithm based on an original-middleware double dictionary to obtain second compressed data, wherein the compression algorithm adopts an original dictionary and a middleware double dictionary, and only adds a value of which the occurrence frequency reaches a set frequency into the dictionaries; sequentially carrying out Huffman coding and DES processing on the second compressed data to obtain encrypted data and a key, and carrying out RSA processing on the key to obtain an encrypted key; and transmitting the encrypted data and the encrypted key to the target end by using the encryption compression transmission plug-in of the test and training enabling system structure. The lossless data compression and encryption based on the combined middleware are realized, and the algorithm is high in running speed and high in safety.

Description

Data lossless compression and encrypted transmission method based on joint middleware
Technical Field
The invention belongs to the technical field of computer application, and particularly relates to a data lossless compression and encryption transmission method based on a combined middleware.
Background
The traditional data encryption technology tends to be mature, but the transmission data volume of the combined simulation middleware under the test and training enabling system structure mode is extremely large and far larger than the maximum bearing threshold of the existing dictionary index type compression algorithm, the dictionary is filled up due to the exponential burst growth of dictionary indexes in the traditional word typical compression algorithm, new data cannot be added into the dictionary, and the compression algorithm is invalid.
In the encryption process, the complexity of the encryption algorithm increases as the amount of data increases. The failure of the compression algorithm may result in a decrease in performance of the subsequent encryption algorithm, such that the performance of the asymmetric encryption algorithm during subsequent middleware transmission is reduced below the minimum encryption performance level. Therefore, how to solve the problem that the compression algorithm fails when the existing compression algorithm is applied to middleware transmission with extremely large data transmission quantity has important significance.
Disclosure of Invention
Aiming at the defects and improvement requirements of the prior art, the invention provides a data lossless compression and encryption transmission method based on a joint middleware, and aims to solve the problems that a data encryption algorithm and a data compression algorithm cannot be applied and cannot be coordinated in the joint simulation middleware.
To achieve the above object, according to an aspect of the present invention, there is provided a method for lossless compression and encrypted transmission of data based on joint middleware, including: s1, run-length coding is carried out on data to be processed based on a joint middleware to obtain first compressed data; s2, processing the first compressed data by using a compression algorithm based on an original-middleware double dictionary to obtain second compressed data, wherein the compression algorithm based on the original-middleware double dictionary adopts two dictionaries, namely the original dictionary and the middleware double dictionary, and only a value with the occurrence frequency reaching a set frequency is added into the dictionaries; s3, sequentially carrying out Huffman coding and DES processing on the second compressed data to obtain encrypted data and a secret key, and carrying out RSA processing on the secret key to obtain an encrypted secret key; and S4, transmitting the encrypted data and the encrypted key to a target end by using an encryption compression transmission plug-in of a test and training enabling system structure.
Still further, the S2 includes: s21, creating an initial original dictionary, a middleware dictionary, a first prefix and a second prefix, and filling the first compressed data into the original dictionary; s22, updating the first prefix into a character string obtained by combining the current first prefix and the ith character of the first compressed data, wherein the initial value of i is 1; s23, if the updated first prefix does not exist in the middleware dictionary and the index of the updated first prefix is wrongly added to the middleware dictionary, the last character of the updated first prefix and the index thereof form a group of key value pairs to be added to the middleware dictionary, other characters except the last character of the updated first prefix and the index thereof form a group of key value pairs to be added to the middleware dictionary, and otherwise, the updated first prefix and the index thereof form a group of key value pairs to be added to the middleware dictionary; s24, combining a second prefix and an ith character of the first compressed data to obtain a second character string, if the second character string exists in the original dictionary, updating the second prefix into the second character string, updating the index of the second prefix into i, adding 1 to the occurrence frequency of the second character string in the original dictionary, and when the occurrence frequency reaches the set frequency, adding a group of key value pairs consisting of the second prefix and the index before updating to the original dictionary, otherwise, updating the second prefix into the ith character of the first compressed data, adding a group of key value pairs consisting of the second character string and the index into the original dictionary, and setting the occurrence frequency to be 1; s25, adding one to i, and repeatedly executing S22-S24 until i reaches the maximum value; and S26, combining the newly obtained original dictionary and the middleware dictionary to obtain a new dictionary, and compressing the first compressed data based on the new dictionary to obtain second compressed data.
Further, the S21 includes: and creating an empty original dictionary and an empty middleware dictionary, creating two empty character strings as a first prefix and a second prefix respectively, and filling the first compressed data into the original dictionary by adopting a string table compression algorithm.
Further, in S23, when the difference between the index of the ith character of the first compressed data and the length of the updated first prefix is not greater than i, the index of the updated first prefix is erroneously added to the middleware dictionary.
Still further, S4 is preceded by: initializing an encryption compression transmission plug-in, and sequentially allocating a memory, setting transmission plug-in parameters and setting a transmission plug-in interface for monitoring for the encryption compression transmission plug-in; acquiring a list of available interfaces of a transmission plug-in example, and transmitting each function pointer of the encryption compression transmission plug-in example to a parent class of the example; and when the started network interface is larger than 0, acquiring the last four bits of the interface address to set the ID number of the encryption compression transmission plug-in, and returning the encryption compression transmission plug-in.
According to another aspect of the present invention, there is provided a joint middleware based data lossless compression and encryption transmission system, comprising: the first compression module is used for carrying out run length coding on the data to be processed based on the joint middleware to obtain first compressed data; the second compression module is used for processing the first compressed data by using a compression algorithm based on an original-middleware double dictionary to obtain second compressed data, wherein the compression algorithm based on the original-middleware double dictionary adopts two dictionaries, namely the original dictionary and the middleware double dictionary, and only a value with the occurrence frequency reaching a set frequency is added into the dictionaries; the compression encryption module is used for sequentially carrying out Huffman coding and DES processing on the second compressed data to obtain encrypted data and a secret key, and carrying out RSA processing on the secret key to obtain an encrypted secret key; and the transmission module is used for transmitting the encrypted data and the encrypted key to a target end by utilizing an encryption compression transmission plug-in of a test and training enabling system structure.
According to another aspect of the present invention, there is provided an electronic apparatus including: a processor; a memory storing a computer executable program which, when executed by the processor, causes the processor to perform the joint middleware based lossless compression of data and encrypted transmission method as described above.
According to another aspect of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the joint middleware based lossless compression and encrypted transmission method for data as described above.
Generally, by the above technical solution conceived by the present invention, the following beneficial effects can be obtained: the compression algorithm based on the original-middleware double dictionaries is designed, the compression algorithm can be added to the dictionaries only when the occurrence frequency of a certain value reaches a set frequency, and the data structure of a structural body is adopted as the dictionary, so that the compression ratio of the algorithm is improved; the designed compression algorithm based on the original-middleware double dictionary is combined with other lossless compression algorithms, so that the data of the oversized object model can be subjected to lossless compression, the compression ratio is improved, and the problem of compression algorithm failure caused by application to middleware transmission with extremely large data transmission quantity is solved; a compression transmission plug-in based on a combined middleware is designed, so that the data volume of network transmission of an application program is reduced, and the utilization rate of bandwidth is improved.
Drawings
FIG. 1 is a flowchart of a method for lossless compression and encrypted transmission of data based on a combined middleware according to an embodiment of the present invention;
FIG. 2 is a flowchart of a compression algorithm based on a source-middleware dual dictionary according to an embodiment of the present invention;
FIG. 3 is a block diagram of a joint middleware based lossless data compression and encryption transmission system according to an embodiment of the present invention;
fig. 4 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
In the present application, the terms "first," "second," and the like (if any) in the description and the drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Fig. 1 is a flowchart of a joint middleware-based data lossless compression and encrypted transmission method according to an embodiment of the present invention. Referring to fig. 1 and fig. 2, a data lossless compression and encryption transmission method based on the joint middleware in the embodiment is described in detail, and the method includes operations S1 to S4.
Operation S1 is carried out, run-length coding is carried out on the data to be processed based on the joint middleware, and first compressed data are obtained.
Run-length coding is a statistical coding that mainly detects repeated sequences of bits or characters and replaces them with their number of occurrences.
And operation S2, processing the first compressed data by using a compression algorithm based on an original-middleware double dictionary to obtain second compressed data, wherein the compression algorithm based on the original-middleware double dictionary adopts two dictionaries, namely the original dictionary and the middleware double dictionary, and only the value of which the occurrence frequency reaches the set frequency is added into the dictionaries.
According to an embodiment of the invention, operation S2 comprises sub-operation S21-sub-operation S26, as shown in FIG. 2.
In sub-operation S21, an original dictionary, a middleware dictionary, a first prefix, and a second prefix are created, and the original dictionary is filled with the first compressed data.
According to an embodiment of the present invention, sub-operation S21 specifically includes: and creating an empty original dictionary and an empty middleware dictionary, creating two empty character strings respectively as a first prefix and a second prefix, and filling the first compressed data into the original dictionary by adopting a string table compression algorithm.
In sub-operation S22, the first prefix is updated to a character string obtained by combining the current first prefix and the ith character of the first compressed data, where the initial value of i is 1.
In sub-operation S23, if the updated first prefix does not exist in the middleware dictionary and the index of the updated first prefix is erroneously added to the middleware dictionary, the last character of the updated first prefix and the index thereof form a group of key-value pairs to be added to the middleware dictionary, and other characters except the last character of the updated first prefix and the indexes thereof form a group of key-value pairs to be added to the middleware dictionary, otherwise, the updated first prefix and the index thereof form a group of key-value pairs to be added to the middleware dictionary.
According to the embodiment of the invention, whether the updated index of the first prefix is mistakenly added to the middleware dictionary is judged based on the following criteria: and when the difference value between the index of the ith character of the first compressed data and the length of the updated first prefix is not more than i, the updated index of the first prefix is mistakenly added to the middleware dictionary, otherwise, the updated index of the first prefix is not mistakenly added to the middleware dictionary.
In sub-operation S24, a second prefix and an ith character of the first compressed data are combined to obtain a second character string, if the second character string exists in the original dictionary, the second prefix is updated to the second character string, an index of the second prefix is updated to i, the occurrence frequency of the second character string in the original dictionary is added by 1, and when the occurrence frequency reaches a set frequency, the second prefix and the index before updating form a group of key-value pairs to be added to the original dictionary, otherwise, the second prefix is updated to the ith character of the first compressed data, the second character string and the index form a group of key-value pairs to be added to the original dictionary, and the occurrence frequency is set to 1.
In sub-operation S25, an addition process is performed on i, and sub-operation S22-sub-operation S24 are repeatedly performed until i reaches its maximum value, completing the mapping of the last character of the first compressed data to the dictionary.
In sub-operation S26, the newly obtained original dictionary and the middleware dictionary are combined to obtain a new dictionary, and the first compressed data is compressed based on the new dictionary to obtain second compressed data.
And operation S3, sequentially performing Huffman coding and DES processing on the second compressed data to obtain encrypted data and a key, and performing RSA processing on the key to obtain the encrypted key.
Specifically, huffman coding is carried out on the second compressed data to obtain third compressed data; performing Data Encryption Standard (DES) processing on the third compressed Data to obtain encrypted Data D t And a secret key K d (ii) a Pair key K d Performing RSA encryption processing to obtain encrypted secret key K r
According to the embodiment of the present invention, before performing operation S4, it is further required to initialize and configure an encryption compression transmission plug-in, including: initializing an encryption compression transmission plug-in, and sequentially distributing a memory, setting transmission plug-in parameters and setting a transmission plug-in interface for monitoring for the encryption compression transmission plug-in; acquiring a list of available interfaces of a transmission plug-in example, and transmitting each function pointer of the encryption compression transmission plug-in example to a parent class of the example; and when the started network interface is larger than 0, acquiring the last four bits of the interface address to set the ID number of the encryption compression transmission plug-in, and returning the encryption compression transmission plug-in.
The specific execution process of initializing and configuring the encryption compression transmission plug-in comprises the following steps: initializing an encryption compression transmission plug-in, and allocating a memory for a transmission plug-in instance me; if the instance me is NULL, returning NULL, indicating that the creation of the encryption compression transmission plug-in is failed, ending the process, and if the instance me is not NULL, setting the parameters of the encryption transmission plug-in; if the transmission plug-in parameter does not have validity, returning NULL to indicate that the creation of the encryption compression transmission plug-in is failed, ending the process, and if the transmission plug-in parameter has validity, setting a transmission plug-in interface for monitoring; if the transmission plug-in interface monitoring does not have validity, returning to NULL to indicate that the creation of the encrypted compressed transmission plug-in is failed, ending the process, and if the transmission plug-in interface monitoring has validity, judging whether to acquire an available interface list of a transmission plug-in instance and successfully initialize the available interface list; if the available interface list of the transmission plug-in example is not acquired or the initialization fails, returning NULL to indicate that the creation of the encryption compression transmission plug-in fails, ending the process, and if the available interface list of the transmission plug-in example is acquired and the initialization succeeds, transmitting each function pointer of the encryption compression transmission plug-in example to the parent class of the example; and judging whether the started network interface is larger than 0, if not, not performing any processing, and if so, acquiring the four bits after the interface address, setting the ID number of the encrypted and compressed transmission plug-in and returning the transmission plug-in example me.
Operation S4, the encrypted data D is transmitted by using the encryption compression transmission plug-in of the test and training enabling system structure t And an encrypted key K r And transmitting to the target end.
Fig. 3 is a block diagram of a joint middleware based lossless data compression and encryption transmission system according to an embodiment of the present invention. Referring to fig. 3, the system 300 for lossless compression and encryption of data based on joint middleware includes a first compression module 310, a second compression module 320, a compression and encryption module 330, and a transmission module 340.
The first compression module 310, for example, performs operation S1 to run-length encode the to-be-processed data based on the joint middleware to obtain first compressed data.
The second compression module 320, for example, performs operation S2 to process the first compressed data by using a compression algorithm based on an original-middleware dual dictionary, which uses two dictionaries, namely, an original dictionary and a middleware dual dictionary, and adds only a value whose occurrence frequency reaches a set frequency to the dictionaries.
The compression and encryption module 330, for example, performs operation S3, and is configured to sequentially perform huffman coding and DES processing on the second compressed data to obtain encrypted data and a key, and perform RSA processing on the key to obtain an encrypted key.
The transmission module 340 performs, for example, operation S4, to transmit the encrypted data and the encrypted key to the target end by using the encryption compression transmission plug-in of the trial and training enabled architecture.
The system 300 for lossless compression and encryption transmission of data based on joint middleware is used to perform the method for lossless compression and encryption transmission of data based on joint middleware in the embodiments shown in fig. 1-2. For details, please refer to the joint middleware-based lossless data compression and encryption transmission method in the embodiments shown in fig. 1-2, which will not be described herein again.
Embodiments of the present disclosure also show an electronic device, as shown in fig. 4, the electronic device 400 includes a processor 410, a readable storage medium 420. The electronic device 400 may perform the joint middleware based lossless compression and encrypted transmission method of data described above in fig. 1-2.
In particular, processor 410 may include, for example, a general purpose microprocessor, an instruction set processor and/or related chip set and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), and/or the like. The processor 410 may also include onboard memory for caching purposes. The processor 410 may be a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure described with reference to fig. 1-2.
Readable storage medium 420 may be, for example, any medium that can contain, store, communicate, propagate, or transport the instructions. For example, a readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the readable storage medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
The readable storage medium 420 may include a computer program 421, which computer program 421 may include code/computer-executable instructions that, when executed by the processor 410, cause the processor 410 to perform a method flow such as that described above in connection with fig. 1-2, and any variations thereof.
The computer program 421 may be configured with, for example, computer program code comprising computer program modules. For example, in an example embodiment, code in computer program 421 may include one or more program modules, including for example 421A, module 421B, \8230. It should be noted that the division and number of modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, which when executed by the processor 410, enable the processor 410 to perform the method flows described above in connection with fig. 1-2, for example, and any variations thereof.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the joint middleware-based data lossless compression and encrypted transmission method shown in fig. 1-2.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. A data lossless compression and encryption transmission method based on a combined middleware is characterized by comprising the following steps:
s1, run-length coding is carried out on data to be processed based on a joint middleware to obtain first compressed data;
s2, processing the first compressed data by using a compression algorithm based on an original-middleware double dictionary to obtain second compressed data, wherein the compression algorithm based on the original-middleware double dictionary adopts two dictionaries, namely the original dictionary and the middleware double dictionary, and only a value with the occurrence frequency reaching a set frequency is added into the dictionaries;
s3, sequentially carrying out Huffman coding and DES processing on the second compressed data to obtain encrypted data and a secret key, and carrying out RSA processing on the secret key to obtain an encrypted secret key;
and S4, transmitting the encrypted data and the encrypted key to a target end by using an encryption compression transmission plug-in of a test and training enabling system structure.
2. The method for lossless compression and encryption transmission of data based on joint middleware of claim 1, wherein the S2 comprises:
s21, creating an initial original dictionary, a middleware dictionary, a first prefix and a second prefix, and filling the first compressed data into the original dictionary;
s22, updating the first prefix into a character string obtained by combining the current first prefix and the ith character of the first compressed data, wherein the initial value of i is 1;
s23, if the updated first prefix does not exist in the middleware dictionary and the index of the updated first prefix is wrongly added to the middleware dictionary, the last character of the updated first prefix and the index thereof form a group of key value pairs to be added to the middleware dictionary, other characters except the last character of the updated first prefix and the index thereof form a group of key value pairs to be added to the middleware dictionary, and otherwise, the updated first prefix and the index thereof form a group of key value pairs to be added to the middleware dictionary;
s24, combining a second prefix and an ith character of the first compressed data to obtain a second character string, if the second character string exists in the original dictionary, updating the second prefix into the second character string, updating the index of the second prefix into i, adding 1 to the occurrence frequency of the second character string in the original dictionary, and when the occurrence frequency reaches the set frequency, adding a group of key value pairs consisting of the second prefix and the index before updating to the original dictionary, otherwise, updating the second prefix into the ith character of the first compressed data, adding a group of key value pairs consisting of the second character string and the index into the original dictionary, and setting the occurrence frequency to be 1;
s25, adding one to i, and repeatedly executing S22-S24 until i reaches the maximum value;
and S26, combining the newly obtained original dictionary and the middleware dictionary to obtain a new dictionary, and compressing the first compressed data based on the new dictionary to obtain second compressed data.
3. The method for lossless compression and encryption transmission of data based on joint middleware of claim 2, wherein the S21 comprises: creating an empty original dictionary and an empty middleware dictionary, creating two empty character strings respectively as a first prefix and a second prefix, and filling the first compressed data into the original dictionary by adopting a string table compression algorithm.
4. The method for lossless compression and encrypted transmission of data based on joint middleware as claimed in claim 2 or 3, wherein in the step S23, when the difference between the index of the ith character of the first compressed data and the length of the updated first prefix is not greater than i, the index of the updated first prefix is erroneously added to the middleware dictionary.
5. The method for lossless compression and encryption transmission of data based on joint middleware of claim 1, wherein the S4 is preceded by:
initializing an encryption compression transmission plug-in, and sequentially allocating a memory, setting transmission plug-in parameters and setting a transmission plug-in interface for monitoring for the encryption compression transmission plug-in;
acquiring a list of available interfaces of a transmission plug-in example, and transmitting each function pointer of the encryption compression transmission plug-in example to a parent class of the example;
and when the started network interface is larger than 0, acquiring the last four bits of the interface address to set the ID number of the encryption compression transmission plug-in, and returning the encryption compression transmission plug-in.
6. A data lossless compression and encryption transmission system based on joint middleware is characterized by comprising:
the first compression module is used for carrying out run length coding on the data to be processed based on the joint middleware to obtain first compressed data;
the second compression module is used for processing the first compressed data by using a compression algorithm based on an original-middleware double dictionary to obtain second compressed data, wherein the compression algorithm based on the original-middleware double dictionary adopts two dictionaries, namely the original dictionary and the middleware double dictionary, and only a value with the occurrence frequency reaching a set frequency is added into the dictionaries;
the compression encryption module is used for sequentially carrying out Huffman coding and DES processing on the second compressed data to obtain encrypted data and a secret key, and carrying out RSA processing on the secret key to obtain an encrypted secret key;
and the transmission module is used for transmitting the encrypted data and the encrypted key to a target end by utilizing an encryption compression transmission plug-in of a test and training enabling system structure.
7. An electronic device, comprising:
a processor;
memory storing a computer executable program which, when executed by the processor, causes the processor to perform the joint middleware based lossless compression of data and encrypted transmission method of any one of claims 1-5.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method for lossless compression and encrypted transmission of data based on a federated middleware as defined in any one of claims 1 to 5.
CN202211000663.4A 2022-08-19 2022-08-19 Data lossless compression and encrypted transmission method based on joint middleware Pending CN115395961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211000663.4A CN115395961A (en) 2022-08-19 2022-08-19 Data lossless compression and encrypted transmission method based on joint middleware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211000663.4A CN115395961A (en) 2022-08-19 2022-08-19 Data lossless compression and encrypted transmission method based on joint middleware

Publications (1)

Publication Number Publication Date
CN115395961A true CN115395961A (en) 2022-11-25

Family

ID=84120455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211000663.4A Pending CN115395961A (en) 2022-08-19 2022-08-19 Data lossless compression and encrypted transmission method based on joint middleware

Country Status (1)

Country Link
CN (1) CN115395961A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115988569A (en) * 2023-03-21 2023-04-18 浙江省疾病预防控制中心 Bluetooth device data rapid transmission method
CN117375627A (en) * 2023-12-08 2024-01-09 深圳市纷享互联科技有限责任公司 Lossless compression method and system for plain text format data suitable for character strings

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115988569A (en) * 2023-03-21 2023-04-18 浙江省疾病预防控制中心 Bluetooth device data rapid transmission method
CN117375627A (en) * 2023-12-08 2024-01-09 深圳市纷享互联科技有限责任公司 Lossless compression method and system for plain text format data suitable for character strings
CN117375627B (en) * 2023-12-08 2024-04-05 深圳市纷享互联科技有限责任公司 Lossless compression method and system for plain text format data suitable for character strings

Similar Documents

Publication Publication Date Title
CN115395961A (en) Data lossless compression and encrypted transmission method based on joint middleware
US11463102B2 (en) Data compression method, data decompression method, and related apparatus, electronic device, and system
KR101306645B1 (en) Error correction decoding by trial and error
US10715618B2 (en) Compressibility estimation for lossless data compression
US8111704B2 (en) Multiple compression techniques for packetized information
CN107370560B (en) Method, device and equipment for coding and rate matching of polarization code
US11431351B2 (en) Selection of data compression technique based on input characteristics
CN103236847B (en) Based on the data lossless compression method of multilayer hash data structure and Run-Length Coding
US10187081B1 (en) Dictionary preload for data compression
US10680645B2 (en) System and method for data storage, transfer, synchronization, and security using codeword probability estimation
US9225355B2 (en) Boosting decompression in the presence of reoccurring Huffman trees
US10817460B2 (en) RDMA data sending and receiving methods, electronic device, and readable storage medium
WO2019128707A1 (en) Rate matching and polar code encoding method and device
CN106506007A (en) A kind of lossless data compression and decompressing device and its method
CN105099843A (en) Run time compression method for a vehicle communication bus
US11366790B2 (en) System and method for random-access manipulation of compacted data files
CN115391298A (en) Content-based dynamic hybrid data compression
US11562241B2 (en) Data output method, data acquisition method, device, and electronic apparatus
CN105279171B (en) The method and apparatus of predicate evaluation is carried out on the varying length string of compression
CN106484852B (en) Data compression method, equipment and calculating equipment
US10911063B2 (en) Adaptive speculative decoding
US9197243B2 (en) Compression ratio for a compression engine
CN115314121B (en) Quantum communication method and device and electronic equipment
CN103036642A (en) Data transmission method and sending end and receiving end
US11139829B1 (en) Data compression techniques using partitions and extraneous bit elimination

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination