A GPU output data interactive transmission method, system and storage medium
Through feature extraction and anchoring relationship establishment of GPU output data, the transmission process of GPU output images is simplified, the problem of high transmission pressure in the existing technology is solved, and efficient data compression and transmission are achieved.
Patent Information
- Application Number
- CN202410742702.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-06-11
AI Technical Summary
The existing technology has a small compression range during the GPU output image transmission process, making it difficult to effectively reduce the transmission pressure.
By extracting the characteristics of the GPU output data, sorting and extracting the feature matrix, establishing the anchoring relationship between the benchmark data and non-benchmark data, performing data simplification, generating simplified data for transmission, and restoring the data at the receiving end.
Significantly improves the compression range of image transmission, relieves transmission pressure, simplifies the amount of data, and reduces the complexity of the transmission process.
Smart Images

Figure CN118314413B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of CPU output data processing, and in particular to a method, system and storage medium for interactive transmission of GPU output data. Background Art
[0002] A graphics processing unit (GPU), also known as a display core, visual processor, or display chip, is a microprocessor specifically designed to perform image and graphics-related calculations on personal computers, workstations, game consoles, and some mobile devices (such as tablets and smartphones).
[0003] After the GPU processes the image, it will forward the output image to the memory. When transmission is required, the output image is read from the memory and sent to the demander. This process may involve a transmission optimization process. Most existing transmission optimization processes are just simple compression, which compresses the output image before transmission. The compression range is very small. In fact, if we start from the image itself, we can get a larger compression range. How to simplify the output image through the GPU and reduce the transmission pressure is the technical problem that the technical solution of the present invention wants to solve. Summary of the Invention
[0004] The purpose of the present invention is to provide a method for interactively transmitting GPU output data to solve the problems raised in the above background technology.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] A method for interactively transmitting GPU output data, the method comprising:
[0007] Extracting output data of the GPU, and sorting the output data according to the index of the output data to obtain a data group; the output data is an image;
[0008] Perform feature extraction on each output data in the data group to obtain a feature matrix corresponding to each output data;
[0009] Arranging a feature matrix, selecting part of the output data as reference data based on the feature matrix, treating the unselected output data as non-reference data, and establishing an anchoring relationship between the reference data and the non-reference data;
[0010] Simplifying all non-reference data under the same anchoring relationship based on the reference data to obtain simplified data corresponding to the non-reference data in a one-to-one manner;
[0011] The data sequence statistics benchmark data and simplified data based on the data group are used as transmission data.
[0012] As a further solution of the present invention, the step of extracting the output data of the GPU and sorting the output data according to the index of the output data to obtain the data group includes:
[0013] Extract the GPU output data and query the input data corresponding to the output data;
[0014] Query the order of input data in the input data packet as the index of output data;
[0015] The output data is sorted according to the index to obtain a data group.
[0016] As a further solution of the present invention, the step of extracting features from each output data in the data group to obtain a feature matrix corresponding to each output data includes:
[0017] Read the data in the data group in sequence;
[0018] obtaining a contrast ratio in the data, and determining a conversion function based on the contrast ratio;
[0019] The data is converted by the conversion function to obtain single-valued data;
[0020] The converted single-valued data is downsampled a preset number of times to obtain a feature matrix.
[0021] As a further solution of the present invention, the conversion function is:
[0022] Where, is the converted value, 、 and are the correction coefficients, ; 、 and The value range of is the same, which is an integer multiple of 0.01; 、 and are the values of the output image under three channels respectively;
[0023] The process of determining the conversion function is as follows:
[0024] ;
[0025] Where, To find the maximum value of the contents in brackets, is the function value with the value of the conversion function as the independent variable, called the target value, is the range of the output image, and These are the two points determined when calculating contrast. for point The converted value of for point The converted value of is the contrast; The Gaussian function value of the preset content in brackets.
[0026] As a further solution of the present invention, the steps of arranging the feature matrix, selecting a portion of the output data as the benchmark data based on the feature matrix, using the unselected output data as the non-benchmark data, and establishing an anchoring relationship between the benchmark data and the non-benchmark data include:
[0027] Arrange the feature matrix according to the order of output data;
[0028] Read the first item and calculate its similarity with the next feature matrix. When the similarity reaches the preset similarity threshold, mark the next feature matrix and read the next feature matrix starting from the next feature matrix.
[0029] When the similarity is less than the preset similarity threshold, stop reading;
[0030] Read the data corresponding to the first item as the benchmark data, read the data corresponding to the marked feature matrix as the non-benchmark data, and connect the benchmark data and each non-benchmark data as an anchor relationship;
[0031] The loop executes until all data are connected to another data.
[0032] As a further solution of the present invention, the step of simplifying all non-reference data under the same anchoring relationship based on the reference data to obtain simplified data corresponding one-to-one to the non-reference data includes:
[0033] Calculate the difference between the benchmark data and all non-benchmark data under the same anchoring relationship;
[0034] Calculate the sum of the values at all row and column positions in the difference data;
[0035] Based on the sum, the difference data is processed to obtain simplified data;
[0036] One of the solutions for processing the difference data based on the sum to obtain simplified data is:
[0037] When the sum is less than a preset threshold, the difference data is reset to zero; when the sum reaches the preset threshold, the difference data is retained.
[0038] As a further solution of the present invention, the step of collecting statistical benchmark data and simplified data based on the data sequence of the data group as the data transmission step includes:
[0039] Query the data order of the data group;
[0040] Collecting benchmark data and simplified data according to the data sequence as transmission data;
[0041] In the process of counting the baseline data and simplified data, the anchoring relationship between the simplified data and the baseline data is retained; when a restoration request pointing to a certain simplified data is received, the simplified data and the corresponding baseline data are superimposed to obtain the restored data.
[0042] The technical solution of the present invention also provides a GPU output data interactive transmission system, the system comprising:
[0043] A data extraction and sorting module is used to extract the output data of the GPU and sort the output data according to the index of the output data to obtain a data group; the output data is an image;
[0044] A feature extraction module is used to extract features from each output data in the data group to obtain a feature matrix corresponding to each output data;
[0045] An anchoring relationship building module, used to arrange the feature matrix, select part of the output data as the benchmark data based on the feature matrix, use the unselected output data as the non-benchmark data, and establish an anchoring relationship between the benchmark data and the non-benchmark data;
[0046] A data simplification module, configured to simplify all non-reference data under the same anchoring relationship based on the reference data to obtain simplified data corresponding one-to-one to the non-reference data;
[0047] The data statistics module is used to collect statistical benchmark data and simplified data based on the data sequence of the data group as transmission data.
[0048] As a further solution of the present invention, the data extraction and sorting module includes:
[0049] An input data query unit, used to extract the output data of the GPU and query the input data corresponding to the output data;
[0050] An index generation unit, used to query the order of input data in the input data packet as an index for output data;
[0051] The sorting execution unit is used to sort the output data according to the index to obtain a data group.
[0052] The technical solution of the present invention further provides a storage medium, in which at least one program code is stored. When the program code is loaded and executed by a processor, the above-mentioned GPU output data interactive transmission method is implemented.
[0053] Compared with the prior art, the present invention has the following beneficial effects:
[0054] The present invention extracts features of an output image and divides the output image into multiple sub-image groups according to the features. The images in the sub-image groups are similar. One of the sub-image groups is selected as a benchmark, and the difference between the other images and the benchmark is calculated to simplify the output image. When restoration is required, the benchmark and the simplified data are superimposed to obtain the original data. The image is simplified from the image itself, the compression range is extremely large, and the transmission pressure is alleviated. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, 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 only some embodiments of the present invention.
[0056] Figure 1 The overall flow chart of the GPU output data interactive transmission method.
[0057] Figure 2 Structural diagram of the GPU output data interactive transmission system. DETAILED DESCRIPTION
[0058] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, 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 only used to explain the present invention and are not intended to limit the present invention.
[0059] Figure 1 This is a general flow chart of a method for interactively transmitting GPU output data. In an embodiment of the present invention, a method for interactively transmitting GPU output data includes:
[0060] Step S100: extracting output data of the GPU, and sorting the output data according to the index of the output data to obtain a data group; the output data is an image;
[0061] The data processed by the GPU is an image. The data mentioned in this application almost always refers to images. When processing data, the GPU faces an image set. After processing the images in the image set, the output images are the output data. Because GPU threads are not unique, even if images are read sequentially from the image set, the output images may not be output in that order (because the processing speed varies). Therefore, the output data needs to be sorted so that it corresponds one-to-one with the order of the images in the image set. During this process, the correspondence between the output images and the input images needs to be maintained. This correspondence is represented by an index, which can directly use the image number.
[0062] Step S200: extracting features from each output data in the data group to obtain a feature matrix corresponding to each output data;
[0063] The data group is a collection of output images. By extracting features from each data (image), a feature matrix can be obtained. The size of the feature matrix is a preset value. The maximum is the same as the output image, and the minimum is 1*1. When the size of the feature matrix is the same as the output image, the output image is considered to be the feature matrix. When the size of the feature matrix is 1*1, the output image is simplified to a numerical value.
[0064] Step S300: Arranging a feature matrix, selecting part of the output data as reference data based on the feature matrix, treating the unselected output data as non-reference data, and establishing an anchoring relationship between the reference data and the non-reference data;
[0065] The feature matrices are arranged in the order of the images in the data group. Then, the feature matrices are compared to determine the similarity between the output images. Based on the comparison results, some benchmark data are selected, and the surrounding data similar to the benchmark data are used as non-benchmark data of the benchmark data. A one-to-many relationship (one benchmark data corresponds to multiple non-benchmark data) is established between them, which is called an anchor relationship. The anchor relationship is the correspondence between the benchmark data and the non-benchmark data.
[0066] Step S400: simplifying all non-reference data under the same anchoring relationship based on the reference data to obtain simplified data corresponding to the non-reference data in a one-to-one manner;
[0067] All non-benchmark data under the same anchoring relationship are simplified by the benchmark data. The simplification method is very simple, and direct subtraction is sufficient, so that the non-benchmark data can be obtained by superimposing the benchmark data and the simplified data. Under the condition that the similarity between the benchmark data and the non-benchmark data is high, the amount of simplified data is extremely small, which greatly reduces the amount of data in the data group (the set of output images).
[0068] Step S500: Calculate the benchmark data and simplified data based on the data sequence of the data group as transmission data.
[0069] After the data in the data group are calibrated as reference data and simplified data, the reference data and simplified data are arranged in the order of the data in the data group and can be used as transmission data.
[0070] It should be noted that the above-mentioned reference data, non-reference data and simplified data are all images, and the transmission data is an image set.
[0071] In some embodiments of the present invention, the step of extracting output data of the GPU and sorting the output data according to the index of the output data to obtain a data group includes:
[0072] Extract the GPU output data and query the input data corresponding to the output data;
[0073] Query the order of input data in the input data packet as the index of output data;
[0074] The output data is sorted according to the index to obtain a data group.
[0075] The above content limits the process of arranging the output data. The principle is very simple, which is to query the order (number) of the input data in the input data packet. It serves as an index. During the process of GPU processing the image, the index is always retained. At this time, no matter when the image processing is completed, the image order in the input data packet can be reproduced through the index to obtain a data set consisting of the output images.
[0076] It should be noted that the above-mentioned input data packet is a set of images that the GPU needs to process, which is a collection of input data. For example, when processing a video, each frame of the video constitutes an input data packet.
[0077] In some examples of the present invention, the step of extracting features from each output data in the data group to obtain a feature matrix corresponding to each output data includes:
[0078] Read the data in the data group in sequence;
[0079] obtaining a contrast ratio in the data, and determining a conversion function based on the contrast ratio;
[0080] The data is converted by the conversion function to obtain single-valued data;
[0081] The converted single-valued data is downsampled a preset number of times to obtain a feature matrix.
[0082] The above content limits the feature extraction process. Since the data in the data group is an image, the image itself has three channels of RGB. When extracting image features, the three channels must first be converted into one channel. The existing conversion process directly converts the image into a grayscale image. In the technical solution of the present invention, a conversion solution is provided that combines the contrast of the image itself, so that the conversion process is more consistent with the image itself.
[0083] Specifically, the conversion function is:
[0084] Where, is the converted value, 、 and are the correction coefficients, ; 、 and The value range of is the same, which is an integer multiple of 0.01; 、 and are the values of the output image under three channels respectively;
[0085] The process of determining the conversion function is as follows:
[0086] ;
[0087] Where, To find the maximum value of the contents in brackets, is the function value with the value of the conversion function as the independent variable, called the target value, is the range of the output image, and These are the two points determined when calculating contrast. for point The converted value of for point The converted value of is the contrast; The Gaussian function value of the preset content in brackets.
[0088] The above conversion process is explained as follows:
[0089] The conversion function is an additive function. Its format is the same as the grayscale conversion process. The difference lies in the coefficients. This application limits the selection process of the coefficients. First, some combinations are randomly selected with an accuracy of 0.01 to meet the requirements. This condition is sufficient, and thus, multiple conversion functions can be obtained.
[0090] Then, the contrast of the output image is calculated. The contrast calculation process needs to find the two points with the largest difference in the image. This is the requirement of the existing contrast calculation process. As long as the contrast is calculated, these two points will be located, which are called and ,Will and The color value is input into the conversion function to obtain the converted value. This converted value is then substituted into the determination process to obtain a numerical value, called the target value. The target value and the conversion function have a one-to-one correspondence: one conversion function corresponds to one target value. The conversion function corresponding to the maximum target value is selected as the conversion function for the current image. At this point, the conversion function determination process introduces the influence of contrast, which is highly consistent with the image.
[0091] In practical applications, if you want to simplify the operation, you can make 、 and The value range of is an integer multiple of 0.1.
[0092] After converting the three channels of the image into one channel, the image is repeatedly down-sampled. Each time the image is down-sampled, the image size is reduced by half. The number of times is pre-set by the staff to obtain feature matrices of different sizes.
[0093] In some examples of the present invention, the steps of arranging the feature matrix, selecting a portion of the output data as the reference data based on the feature matrix, using the unselected output data as the non-reference data, and establishing an anchoring relationship between the reference data and the non-reference data include:
[0094] Arrange the feature matrix according to the order of output data;
[0095] Read the first item and calculate its similarity with the next feature matrix. When the similarity reaches the preset similarity threshold, mark the next feature matrix and read the next feature matrix starting from the next feature matrix.
[0096] When the similarity is less than the preset similarity threshold, stop reading;
[0097] Read the data corresponding to the first item as the benchmark data, read the data corresponding to the marked feature matrix as the non-benchmark data, and connect the benchmark data and each non-benchmark data as an anchor relationship;
[0098] The loop executes until all data are connected to another data.
[0099] The above content defines the process of determining the anchoring relationship. The feature matrices are arranged according to the order of the output data (the order of the output images in the data set). The first item is read first, and its similarity with the next feature matrix is calculated. If it is sufficiently similar, the next item is read. If not, the data corresponding to the previous similar feature matrix is intercepted. At this point, the feature matrix that is dissimilar to the first item becomes the new first item. This process is repeated repeatedly to divide the data set into multiple similar sub-data sets. The first item in a sub-data set is the benchmark data, and the remaining data is non-baseline data. Data belonging to the same sub-data set is considered to have the same anchoring relationship.
[0100] In one example of the technical solution of the present invention, the step of simplifying all non-reference data under the same anchoring relationship based on the reference data to obtain simplified data corresponding one-to-one to the non-reference data includes:
[0101] Calculate the difference between the benchmark data and all non-benchmark data under the same anchoring relationship;
[0102] Calculate the sum of the values at all row and column positions in the difference data;
[0103] Based on the sum, the difference data is processed to obtain simplified data;
[0104] One of the solutions for processing the difference data based on the sum to obtain simplified data is:
[0105] When the sum is less than a preset threshold, the difference data is reset to zero; when the sum reaches the preset threshold, the difference data is retained.
[0106] The above content provides a specific simplified data generation solution. For each sub-data group, the difference between other data and the first item is calculated to obtain difference data, which can be used as simplified data.
[0107] On this basis, the present application also provides a further optimization process. Every time a difference data is generated, the values at each row and column position in the difference data are accumulated. If it is small enough, it can be directly reset to zero. If it is not small enough, it will be retained. Since the similarity of each data in the sub-data group is already very high, if the sum of all values in the difference data is small enough, it means that they are very similar. At this time, it is feasible to reset the difference data to zero, and only a small part of the data will be lost in exchange for a smaller amount of data.
[0108] In practical applications, taking a video as an example, there are 24 frames of images per second, and most of these images are similar. Therefore, the amount of zeroed difference data may be large. The introduction of this zeroing process can greatly reduce the amount of data.
[0109] Finally, the step of collecting statistical benchmark data and simplified data based on the data sequence of the data group as the data transmission step includes:
[0110] Query the data order of the data group;
[0111] Collecting benchmark data and simplified data according to the data sequence as transmission data;
[0112] In an example of the technical solution of the present invention, the data sequence of the data group is still read, and the benchmark data and simplified data are counted as the transmission data. Compared with the data group, the amount of the transmitted data is greatly reduced, the transmission pressure is very small, and the transmission process is very easy.
[0113] It should be noted that in the process of counting the baseline data and simplified data, the anchoring relationship between the simplified data and the baseline data (which baseline data the simplified data corresponds to) is retained. The function of the anchoring relationship is to obtain the restored data. When a restoration request pointing to a certain simplified data is received, the simplified data and the corresponding baseline data are superimposed to obtain the restored data.
[0114] Figure 2: This is a structural diagram of a GPU output data interactive transmission system. In an embodiment of the present invention, a GPU output data interactive transmission system 10 includes:
[0115] The data extraction and sorting module 11 is used to extract the output data of the GPU and sort the output data according to the index of the output data to obtain a data group; the output data is an image;
[0116] The feature extraction module 12 is used to extract features from each output data in the data group to obtain a feature matrix corresponding to each output data;
[0117] An anchoring relationship building module 13, configured to arrange a feature matrix, select a portion of output data as reference data based on the feature matrix, and use the unselected output data as non-reference data to establish an anchoring relationship between the reference data and the non-reference data;
[0118] A data simplification module 14 is configured to simplify all non-reference data under the same anchoring relationship based on the reference data to obtain simplified data corresponding to the non-reference data in a one-to-one manner;
[0119] The data statistics module 15 is used to collect statistical reference data and simplified data based on the data sequence of the data group as transmission data.
[0120] Furthermore, the data extraction and sorting module 11 includes:
[0121] An input data query unit, used to extract the output data of the GPU and query the input data corresponding to the output data;
[0122] An index generation unit, used to query the order of input data in the input data packet as an index for output data;
[0123] The sorting execution unit is used to sort the output data according to the index to obtain a data group.
[0124] The functions that can be implemented by the GPU output data interactive transmission method are all completed by a computer device, which includes one or more processors and one or more memories. The one or more memories store at least one program code, and the program code is loaded and executed by the one or more processors to implement the above-mentioned GPU output data interactive transmission method.
[0125] The processor retrieves instructions from the memory one by one, analyzes the instructions, and then performs the corresponding operations according to the instructions, generating a series of control commands, so that the various parts of the computer can automatically, continuously and coordinately operate as an organic whole, realizing program input, data input, calculation and output of results. The arithmetic operations or logical operations generated in this process are all completed by the operator; the memory includes a read-only memory (ROM), which is used to store computer programs, and a protection system is provided outside the memory.
[0126] For example, a computer program may be divided into one or more modules, one or more of which are stored in a memory and executed by a processor to implement the present invention. One or more modules may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in a terminal device.
[0127] Those skilled in the art will understand that the description of the above-mentioned service device is merely an example and does not constitute a limitation on the terminal device. It may include more or fewer components than described above, or a combination of certain components, or different components, for example, it may include input and output devices, network access devices, buses, etc.
[0128] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. The processor is the control center of the terminal device, connecting various parts of the entire staff terminal using various interfaces and lines.
[0129] The memory can be used to store computer programs and / or modules. The processor implements the various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory and accessing data stored in the memory. The memory may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as an information collection template display function and a product information release function); the data storage area may store data generated based on the use of the berth status display system (such as product information collection templates corresponding to different product types and product information required to be released by different product providers). Furthermore, the memory may include high-speed random access memory and non-volatile memory, such as a hard disk, internal memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash memory card, at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0130] If the modules / units integrated into the terminal device are implemented as software functional units and sold or used as independent products, they can be stored on a computer-readable medium. Based on this understanding, the present invention can also implement all or part of the modules / units in the above-mentioned system embodiments by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored on a computer-readable medium. When executed by a processor, the computer program can implement the functions of each of the above-mentioned system embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file, or some intermediate form. Computer-readable media can include: any entity or system capable of carrying computer program code, recording media, USB flash drives, mobile hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunications signals, and software distribution media.
[0131] It should be noted that, in this document, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or system that includes a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, article, or system that includes the element.
[0132] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A GPU output data interactive transmission method, It is characterized in that The method comprises: Extracting output data of the GPU, and sorting the output data according to the index of the output data to obtain a data group; the output data is an image; Perform feature extraction on each output data in the data group to obtain a feature matrix corresponding to each output data; Arrange a feature matrix, select part of the output data as reference data based on the feature matrix, use the unselected output data as non-reference data, and establish an anchoring relationship between the reference data and the non-reference data; Simplifying all non-reference data under the same anchoring relationship based on the reference data to obtain simplified data corresponding to the non-reference data one by one; Statistical benchmark data and simplified data based on the data sequence of the data group as transmission data; The step of arranging the feature matrix, selecting part of the output data as the reference data based on the feature matrix, taking the unselected output data as the non-reference data, and establishing the anchoring relationship between the reference data and the non-reference data comprises: Arrange the feature matrix according to the order of output data; Read the first item and calculate its similarity with the next feature matrix. When the similarity reaches the preset similarity threshold, mark the next feature matrix and read the next feature matrix starting from the next feature matrix. When the similarity is less than the preset similarity threshold, stop reading; Read the data corresponding to the first item as the benchmark data, read the data corresponding to the marked feature matrix as the non-benchmark data, and connect the benchmark data and each non-benchmark data as an anchor relationship; The loop is executed until all data are connected with another data; The step of simplifying all non-reference data under the same anchoring relationship based on the reference data to obtain simplified data corresponding to the non-reference data one by one includes: Calculate the difference between the benchmark data and all non-benchmark data under the same anchoring relationship; Calculate the sum of the values at all row and column positions in the difference data; Process the difference data based on and to obtain simplified data; The scheme for obtaining simplified data by processing the difference data based on and is: When the sum is less than a preset threshold, the difference data is reset to zero, and when the sum reaches the preset threshold, the difference data is retained.
2. The GPU output data interactive transmission method according to claim 1, It is characterized in that The step of extracting the output data of the GPU and sorting the output data according to the index of the output data to obtain a data group comprises: Extract the output data of the GPU and query the input data corresponding to the output data; Query the order of input data in the input data packet as the index of output data; The output data is sorted according to the index to obtain a data group.
3. The GPU output data interactive transmission method according to claim 2, It is characterized in that The step of extracting features from each output data in the data group to obtain a feature matrix corresponding to each output data comprises: Read the data in the data group in sequence; Obtaining a contrast in the data, and determining a conversion function based on the contrast; The data is transformed by the transformation function to obtain single-valued data; The converted single-value data is downsampled a preset number of times to obtain a feature matrix.
4. The GPU output data interactive transmission method according to claim 1, It is characterized in that The step of transmitting data based on the data sequence statistics of the benchmark data and simplified data of the data group includes: Query the data sequence of the data group; According to the data sequence, the benchmark data and the simplified data are counted as transmission data; In the process of counting the benchmark data and simplified data, the anchoring relationship between the simplified data and the benchmark data is retained; when a restoration request pointing to a certain simplified data is received, the simplified data and the corresponding benchmark data are superimposed to obtain the restored data.
5. A GPU output data interactive transmission system, It is characterized in that The system is used to implement the output data interactive transmission method according to any one of claims 1 to 4, and the system includes: A data extraction and sorting module is used to extract output data of the GPU, and sort the output data according to the index of the output data to obtain a data group; the output data is an image; A feature extraction module is used to extract features from each output data in the data group to obtain a feature matrix corresponding to each output data; An anchoring relationship building module, used to arrange the feature matrix, select part of the output data as the benchmark data based on the feature matrix, use the unselected output data as the non-benchmark data, and establish an anchoring relationship between the benchmark data and the non-benchmark data; A data simplification module, configured to simplify all non-reference data under the same anchoring relationship based on the reference data to obtain simplified data corresponding to the non-reference data one by one; The data statistics module is used to collect statistical benchmark data and simplified data based on the data sequence of the data group as transmission data.
6. The GPU output data interactive transmission system according to claim 5, It is characterized in that The data extraction and sorting module comprises: An input data query unit, used to extract output data of the GPU and query input data corresponding to the output data; An index generating unit, used for querying the order of input data in the input data packet as an index of output data; The sorting execution unit is used to sort the output data according to the index to obtain a data group.
7. A storage medium, It is characterized in that The storage medium stores at least one program code, and when the program code is loaded and executed by the processor, the GPU output data interactive transmission method according to any one of claims 1 to 4 is implemented.
