Data transmission method and device, electronic equipment, storage medium and product

Feature mining and compression of streaming data are carried out through the data compression model based on the MLP algorithm, which solves the problem of low data transmission efficiency in the existing technology and achieves more efficient data compression and transmission effects.

CN118540384AActive Publication Date: 2024-08-23INSPUR TIANYUAN COMM INFORMATION SYST CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410582480.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-11
Publication Date
2024-08-23
Estimated Expiration
2044-05-11

AI Technical Summary

Technical Problem

Existing data compression methods have low transmission efficiency for streaming data, resulting in high transmission costs, and the compression limit is limited by the algorithm, making it difficult to further improve it.

Method used

Using a data compression model based on the MLP algorithm, the data compression model obtained by training sample transmission data and sample compression data compresses the data to be transmitted, and realizes data feature mining and compression through the distribution and fine-tuning optimization of the global model library.

Benefits of technology

It improves the data compression ratio and transmission efficiency, avoids the compression limit restrictions of mathematical statistical methods, and achieves more efficient data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540384A
    Figure CN118540384A
Patent Text Reader

Abstract

The invention provides a data transmission method and device, electronic equipment, a storage medium and a product, and relates to the technical field of artificial intelligence. Inputting the to-be-transmitted data into the data compression model to obtain compressed data corresponding to the to-be-transmitted data output by the data compression model; sending the compressed data to a data receiving end; wherein the data compression model is obtained by training based on the sample transmission data and the sample compression data corresponding to the sample transmission data. Through the mode, the to-be-transmitted data is input into the data compression model, the compressed data corresponding to the to-be-transmitted data output by the data compression model is obtained, the artificial intelligence model is introduced in the data compression process, and data feature mining and data compression are achieved through the model. The defect that the compression limit is limited by an algorithm when a mathematical statistical method is adopted for data compression can be avoided, the data compression ratio is increased, and then the data compression and transmission efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a data transmission method, device, electronic device, storage medium and product. Background Art

[0002] The transmission and management of massive data such as scientific computing data (such as meteorological data, earthquake data, etc.) and corpora required for large model training (such as text, images, etc.) consume a lot of network resources and have high transmission costs. Data compression is one of the main means to solve the current problem of massive data transmission.

[0003] Existing data compression methods mainly use mathematical statistical methods, such as the EZW algorithm, the ZIP algorithm, and data filtering methods. The compression limit of this method depends on the algorithm itself, so there is an upper limit to its theoretical compression ratio.

[0004] Streaming data is a new data type, which is an ordered sequence of data items with the properties of large volume, continuous, fast and non-reproducible, such as operator management data, financial credit data, network application data, banking system data, etc.

[0005] Since streaming data has a large amount of data, even if the streaming data is compressed and transmitted using existing data compression methods, the efficiency of data compression and transmission is still not high. Summary of the invention

[0006] The present invention provides a data transmission method, device, electronic equipment, storage medium and product, which are used to solve the defects of low data compression and transmission efficiency in the prior art.

[0007] The present invention provides a data transmission method, comprising: obtaining data to be transmitted; inputting the data to be transmitted into a data compression model to obtain compressed data corresponding to the data to be transmitted output by the data compression model; and sending the compressed data to a data receiving end; wherein the data compression model is trained based on sample transmission data and sample compression data corresponding to the sample transmission data.

[0008] According to a data transmission method provided by the present invention, before obtaining the data to be transmitted, it also includes: obtaining sample transmission data and sample compression data corresponding to the sample transmission data; based on the sample transmission data and the sample compression data corresponding to the sample transmission data, training an initial model constructed based on the MLP algorithm to obtain a data compression model; wherein the data compression model is trained using a preset function, and the preset function is a mean square error loss function.

[0009] According to a data transmission method provided by the present invention, an initial model built based on an MLP algorithm is trained based on sample transmission data and sample compression data corresponding to the sample transmission data. After the data compression model is obtained, the method also includes: uploading the data compression model to a global model library; deploying the global model library on a central cloud server; performing wide-area distribution on the data compression model in the global model library, and distributing the data compression model in the global model library to a sub-model library; and deploying the sub-model library on an edge cloud server.

[0010] According to a data transmission method provided by the present invention, after uploading the data compression model to the global model library, it also includes: obtaining a test data set; the test data set includes multiple sample transmission data and sample compression data corresponding to the sample transmission data; based on the test data set, verifying the data compression model to determine whether the data compression model can run correctly and obtaining a determination result.

[0011] According to a data transmission method provided by the present invention, after the data to be transmitted is input into a data compression model and compressed data corresponding to the data to be transmitted output by the data compression model is obtained, the method further includes: based on the data to be transmitted and the compressed data corresponding to the data to be transmitted, fine-tuning the data compression model to obtain an updated data compression model.

[0012] According to a data transmission method provided by the present invention, the number of sub-model libraries is at least one; before the data to be transmitted is input into the data compression model and the compressed data corresponding to the data to be transmitted output by the data compression model is obtained, it also includes: determining the sub-model library to be accessed; downloading the data compression model from the sub-model library to be accessed.

[0013] The present invention also provides a data transmission device, including: an acquisition module, used to acquire data to be transmitted; a compression module, used to input the data to be transmitted into a data compression model, and obtain compressed data corresponding to the data to be transmitted output by the data compression model; a sending module, used to send the compressed data to a data receiving end; wherein the data compression model is trained based on sample transmission data and sample compression data corresponding to the sample transmission data.

[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned data transmission methods is implemented.

[0015] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any of the data transmission methods described above is implemented.

[0016] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned data transmission methods.

[0017] The present invention provides a data transmission method, device, electronic device, storage medium and product, which obtains data to be transmitted; inputs the data to be transmitted into a data compression model to obtain compressed data corresponding to the data to be transmitted output by the data compression model; and sends the compressed data to a data receiving end; wherein the data compression model is trained based on sample transmission data and sample compression data corresponding to the sample transmission data. In the above manner, the data to be transmitted is input into the data compression model to obtain compressed data corresponding to the data to be transmitted output by the data compression model. By introducing an artificial intelligence model in the data compression process, the model is used to implement data feature mining and data compression, which can avoid the compression limit being limited by the defects of the algorithm itself when using mathematical statistical methods for data compression, improve the data compression ratio, and thus improve the efficiency of data compression and data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 It is one of the flowcharts of the data transmission method provided by the present invention;

[0020] Figure 2 This is the second flow chart of the data transmission method provided by the present invention;

[0021] Figure 3 It is a schematic diagram of the training process of the data compression model provided by the present invention;

[0022] Figure 4 This is the third flow chart of the data transmission method provided by the present invention;

[0023] Figure 5 It is a structural schematic diagram of the data transmission device provided by the present invention;

[0024] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] See also Figure 1 , Figure 1 It is one of the flowcharts of the data transmission method provided by the present invention. In this embodiment, the data transmission method includes steps S110 to S130, and each step is specifically as follows:

[0027] S110: Acquire data to be transmitted.

[0028] Specifically, the data to be transmitted is streaming data to be transmitted.

[0029] S120: Input the data to be transmitted into the data compression model to obtain compressed data corresponding to the data to be transmitted output by the data compression model.

[0030] S130: Send the compressed data to the data receiving end.

[0031] The data compression model is trained based on the sample transmission data and the sample compression data corresponding to the sample transmission data.

[0032] See also Figure 2 , Figure 2 This is the second flow chart of the data transmission method provided by the present invention.

[0033] like Figure 2 As shown, in this embodiment, the data compression model is first obtained by training with historical data, wherein the historical data includes sample transmission data and sample compression data corresponding to the sample transmission data.

[0034] Furthermore, after obtaining the trained data compression model, the data to be transmitted (i.e. Figure 2 The real-time data in the data compression model is input into the data compression model to obtain compressed data corresponding to the data to be transmitted output by the data compression model.

[0035] Furthermore, after the compressed data corresponding to the data to be transmitted is obtained, the compressed data may be sent to the data receiving end.

[0036] It should be noted that the process of compressing real-time data through a data compression model can be understood as a process of data encoding; after the data receiving end receives the compressed data, the compressed data can be inferred and restored to obtain real-time data, and the process of inferring and restoring the compressed data can be understood as a process of data decoding.

[0037] This embodiment provides a data transmission method, which includes obtaining data to be transmitted; inputting the data to be transmitted into a data compression model to obtain compressed data corresponding to the data to be transmitted output by the data compression model; and sending the compressed data to a data receiving end; wherein the data compression model is trained based on sample transmission data and sample compression data corresponding to the sample transmission data. In the above manner, the data to be transmitted is input into the data compression model to obtain compressed data corresponding to the data to be transmitted output by the data compression model. By introducing an artificial intelligence model in the data compression process, the model is used to implement data feature mining and data compression, which can avoid the compression limit being limited by the defects of the algorithm itself when using mathematical statistical methods for data compression, thereby improving the data compression ratio and thus improving the efficiency of data compression and data transmission.

[0038] In some embodiments, before obtaining the data to be transmitted, it also includes: obtaining sample transmission data and sample compression data corresponding to the sample transmission data; based on the sample transmission data and the sample compression data corresponding to the sample transmission data, training an initial model constructed based on the MLP algorithm to obtain a data compression model; wherein the data compression model is trained using a preset function, and the preset function is a mean square error loss function.

[0039] See also Figure 3 , Figure 3 It is a schematic diagram of the training process of the data compression model provided by the present invention.

[0040] The historical data includes sample transmission data and sample compression data corresponding to the sample transmission data. After obtaining the historical data, the initial model built based on the MLP (Multi-Layer Perceptron) algorithm can be trained based on the historical data to obtain a data compression model.

[0041] Specifically, Figure 3 As shown, the initial model built based on the MLP algorithm is trained based on massive historical data, and the input data is sample transmission data and sample compression data corresponding to the sample transmission data.

[0042] Optionally, the sample transmission data includes data subscript information, and different sample transmission data and sample compressed data corresponding to the sample transmission data are distinguished by the data subscript information. The data subscript information can be understood as a data ID.

[0043] For example, in the case of three-dimensional data, the sample transmission data needs to include a three-dimensional subscript in the form of (x, y, z) as a data ID; the sample compression data corresponding to the sample transmission data can be identified by the same three-dimensional subscript.

[0044] It should be noted that the principle of using models for data compression is to mine data features through deep neural networks and perform data compression based on the mined data features. Therefore, the better the model's ability to mine data features, the better the data compression effect of the trained model. Based on this, in order to improve the model's data feature mining capabilities, a third-party knowledge base can be introduced during the model training process.

[0045] Specifically, the third-party knowledge base contains distribution knowledge of different data (including but not limited to statistical data, streaming data, etc.), and the data distribution knowledge can be used as a feature for model training.

[0046] It can be understood that, according to the type of the third-party knowledge base introduced, the input dimension of the sample transmission data is data ID + knowledge base dimension. For example, in the case of three-dimensional data, if two types of knowledge bases are introduced, the input dimension of the model is 3+2=5.

[0047] Specifically, the data compression model is trained using a preset function until the model converges, wherein the preset function is a mean square error (MSE) loss function.

[0048] In some embodiments, based on the sample transmission data and the sample compression data corresponding to the sample transmission data, an initial model constructed based on the MLP algorithm is trained to obtain the data compression model, and it also includes: uploading the data compression model to the global model library; deploying the global model library on the central cloud server; widely distributing the data compression model in the global model library, distributing the data compression model in the global model library to the sub-model library; and deploying the sub-model library on the edge cloud server.

[0049] Understandably, different data sending ends (i.e., data sending points) can independently train and use data compression models for data compression at the data sending end, but this will limit the scope of use of the data compression model and also require a large amount of local resources. Based on this, the data compression model can be uploaded to the cloud server, which reduces the local resource usage while allowing other data sending ends to download the required model from the cloud server for use according to actual needs, thereby achieving model sharing and expanding the scope of use of the data compression model.

[0050] Specifically, after obtaining the trained data compression model, the data compression model can be serialized and saved, and packaged in a containerized form to obtain the model file, and the model file is uploaded to the global model library. The global model library is deployed on the central cloud server, and the data compression model is saved and versioned through the global model library.

[0051] Furthermore, the data compression model in the global model library is widely distributed, and the data compression model in the global model library is distributed to the sub-model library, and the sub-model library is deployed on the edge cloud server.

[0052] Specifically, the sub-model library is deployed in an edge cloud server with limited storage resources but close to the data sender and low network latency. The data sender can save and update the model through the nearby sub-model library.

[0053] Optionally, the sub-model library can periodically report the information of the currently stored data compression model, such as version information, to the global model library, so that the global model library can send the models uploaded by different data sending ends to each sub-model library according to the information uploaded by each sub-model library and the preset update strategy.

[0054] Optionally, the global model library can update the cache of models in different sub-model libraries according to the historical records of the sub-model libraries accessed by different data sending terminals. For example, the models in the sub-model libraries are updated according to the latest access or most frequently accessed strategy.

[0055] Optionally, the global model library can record the storage location information of each model and the location information of the data sender through the broadcast module, and broadcast it to all data senders to achieve model sharing; wherein the storage location information of the model includes the location information of the sub-model library where the model is located.

[0056] Optionally, the broadcast module supports functions such as registration, management, and offline of data senders, and can be used to manage all data senders in the entire system.

[0057] See also Figure 4 , Figure 4 This is the third flow chart of the data transmission method provided by the present invention.

[0058] like Figure 4 As shown, after the data sending end 1 uses local historical data to train the data compression model, the trained data compression model can be uploaded to the global model library deployed on the central cloud server to realize model sharing.

[0059] Furthermore, the global model library can distribute the data compression model over a wide area and distribute the model to different sub-model libraries.

[0060] Furthermore, the global model library can also synchronize the storage location information of the model (the location information of the sub-model library where the model is located) to different data sending ends by broadcasting.

[0061] For example Figure 4 In the process, the global model library distributes the data compression model uploaded by the data sending terminal 1 to different sub-model libraries, and synchronizes the storage location information of the data compression model uploaded by the data sending terminal 1 (the location information of the sub-model library where the model is located) to the data sending terminal 2 by broadcasting, so that the data sending terminal 2 can download the data compression model uploaded by the data sending terminal 1 from the sub-model library 2 according to the proximity principle based on the storage location information of the data compression model, thereby realizing model sharing.

[0062] In some embodiments, after uploading the data compression model to the global model library, it also includes: obtaining a test data set; the test data set includes multiple sample transmission data and sample compression data corresponding to the sample transmission data; based on the test data set, verifying the data compression model to determine whether the data compression model can run correctly and obtaining a judgment result.

[0063] In order to ensure that the data compression model uploaded by the data sender can run normally, after uploading the data compression model to the global model library, the data compression model can be verified through a test data set to determine whether the data compression model can run correctly and obtain a judgment result.

[0064] Specifically, after obtaining the trained data compression model, the data compression model can be serialized and saved, and packaged in a containerized form to obtain the model file, and the model file is uploaded to the global model library. The global model library is deployed on the central cloud server, and the data compression model is saved and versioned through the global model library.

[0065] The global model library can call the model file in a containerized manner and call the test data set; based on the test data set, the data compression model is verified to determine whether the data compression model can run correctly and obtain the judgment result.

[0066] If the data compression model can run correctly, the data compression model is distributed over a wide area and distributed to different sub-model libraries.

[0067] If the data compression model cannot run correctly, the data compression model uploaded by the data sender can be retrieved again.

[0068] Optionally, the global model library may use a preset function to verify the accuracy of the data compression model uploaded by the data sending end, wherein the preset function is a mean square error loss function.

[0069] In some embodiments, after the data to be transmitted is input into the data compression model and the compressed data corresponding to the data to be transmitted output by the data compression model is obtained, it also includes: based on the data to be transmitted and the compressed data corresponding to the data to be transmitted, fine-tuning the data compression model to obtain an updated data compression model.

[0070] Please continue reading Figure 2 ,like Figure 2 As shown, after the data to be transmitted is input into the data compression model and the compressed data corresponding to the data to be transmitted output by the data compression model is obtained, the data to be transmitted and the compressed data corresponding to the data to be transmitted can also be used as real-time data to fine-tune the data compression model to obtain an updated data compression model. The model performance can be optimized and the model accuracy can be improved through fine-tuning.

[0071] In some embodiments, the number of sub-model libraries is at least one.

[0072] Before inputting the data to be transmitted into the data compression model and obtaining the compressed data corresponding to the data to be transmitted output by the data compression model, the method also includes: determining the sub-model library to be accessed; and downloading the data compression model from the sub-model library to be accessed.

[0073] Specifically, there are usually multiple sub-model libraries. After the global model library distributes the data compression model to each sub-model library, if the data sender needs to download the data compression model from the cloud, it is necessary to determine the sub-model library to be accessed and download the data compression model from the sub-model library to be accessed.

[0074] Generally, the sub-model library closest to the data sending end is used as the sub-model library to be accessed.

[0075] A data transmission method provided in this embodiment, based on the use of deep learning algorithms for data compression and transmission, integrates the distribution patterns of massive historical data and the characteristics of real-time data, trains a model based on massive historical data, stores the model as system knowledge, and fine-tunes the model based on real-time data, which can optimize model performance and improve model accuracy; by building a center-edge multi-level model library architecture, global distribution of models is achieved, which is conducive to model sharing and efficient and high-precision compression of streaming data.

[0076] The present invention also provides a data transmission device, see Figure 5 , Figure 5 is a schematic diagram of the structure of the data transmission device provided by the present invention. In this embodiment, the data transmission device includes an acquisition module 510, a compression module 520 and a sending module 530.

[0077] The acquisition module 510 is used to acquire data to be transmitted.

[0078] The compression module 520 is used to input the data to be transmitted into the data compression model, and obtain compressed data corresponding to the data to be transmitted output by the data compression model.

[0079] The sending module 530 is used to send the compressed data to the data receiving end.

[0080] The data compression model is trained based on the sample transmission data and the sample compression data corresponding to the sample transmission data.

[0081] In some embodiments, the compression module 520 is used to obtain sample transmission data and sample compression data corresponding to the sample transmission data; based on the sample transmission data and the sample compression data corresponding to the sample transmission data, the initial model constructed based on the MLP algorithm is trained to obtain a data compression model; wherein the data compression model is trained using a preset function, and the preset function is a mean square error loss function.

[0082] In some embodiments, the compression module 520 is used to upload the data compression model to the global model library; the global model library is deployed on the central cloud server; the data compression model in the global model library is widely distributed, and the data compression model in the global model library is distributed to the sub-model library; the sub-model library is deployed on the edge cloud server.

[0083] In some embodiments, the compression module 520 is used to obtain a test data set; the test data set includes multiple sample transmission data and sample compression data corresponding to the sample transmission data; based on the test data set, the data compression model is verified to determine whether the data compression model can run correctly and obtain a judgment result.

[0084] In some embodiments, the compression module 520 is used to fine-tune the data compression model based on the data to be transmitted and the compressed data corresponding to the data to be transmitted to obtain an updated data compression model.

[0085] In some embodiments, the number of sub-model libraries is at least one.

[0086] The acquisition module 510 is used to determine the sub-model library to be accessed; and download the data compression model from the sub-model library to be accessed.

[0087] The present invention also provides an electronic device, Figure 6 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 6As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the data transmission method.

[0088] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0089] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the data transmission method provided by the above methods is implemented.

[0090] The present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the data transmission methods provided by the above methods.

[0091] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0092] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0093] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A data transmission method, It is characterized in that include: Get the data to be transmitted; Inputting the data to be transmitted into a data compression model to obtain compressed data corresponding to the data to be transmitted output by the data compression model; Sending the compressed data to a data receiving end; The data compression model is obtained by training based on sample transmission data and sample compression data corresponding to the sample transmission data.

2. The data transmission method according to claim 1, It is characterized in that Before obtaining the data to be transmitted, the method further includes: Acquire the sample transmission data and sample compression data corresponding to the sample transmission data; Based on the sample transmission data and the sample compression data corresponding to the sample transmission data, an initial model constructed based on the MLP algorithm is trained to obtain the data compression model; Wherein, the data compression model is trained using a preset function, and the preset function is a mean square error loss function.

3. The data transmission method according to claim 2, It is characterized in that The method further includes training an initial model constructed based on an MLP algorithm based on the sample transmission data and the sample compression data corresponding to the sample transmission data to obtain the data compression model: Uploading the data compression model to a global model library; the global model library is deployed on a central cloud server; The data compression model in the global model library is widely distributed, and the data compression model in the global model library is distributed to a sub-model library; the sub-model library is deployed on an edge cloud server.

4. The data transmission method according to claim 3, It is characterized in that After uploading the data compression model to the global model library, the method further includes: Acquire a test data set; the test data set includes a plurality of sample transmission data and sample compression data corresponding to the sample transmission data; Based on the test data set, the data compression model is verified to determine whether the data compression model can run correctly and obtain a determination result.

5. The data transmission method according to claim 1, It is characterized in that After inputting the data to be transmitted into the data compression model and obtaining compressed data corresponding to the data to be transmitted output by the data compression model, the method further includes: Based on the data to be transmitted and the compressed data corresponding to the data to be transmitted, the data compression model is fine-tuned to obtain an updated data compression model.

6. The data transmission method according to claim 3, It is characterized in that The number of the sub-model library is at least one; Before inputting the data to be transmitted into the data compression model and obtaining compressed data corresponding to the data to be transmitted output by the data compression model, the method further includes: Determine the sub-model library that needs to be accessed; The data compression model is downloaded from the sub-model library to be accessed.

7. A data transmission device, It is characterized in that include: An acquisition module, used for acquiring data to be transmitted; A compression module, used for inputting the data to be transmitted into a data compression model, and obtaining compressed data corresponding to the data to be transmitted output by the data compression model; A sending module, used for sending the compressed data to a data receiving end; The data compression model is obtained by training based on sample transmission data and sample compression data corresponding to the sample transmission data.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the data transmission method according to any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the data transmission method according to any one of claims 1 to 6 is implemented.

10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the data transmission method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Object recognition method and device based on edge calculation, equipment and medium

    CN113688796A

  • Method, device and equipment for data compression

    CN114449579A

  • Image compression method and device, electronic equipment and storage medium

    CN114979665A

  • Data compression method and device, equipment and storage medium

    CN116155297A

  • Federal learning model compression method, user side, server and system

    CN116610950A