Data transmission method and device, equipment and storage medium
By performing feature fusion and feature selection on multi-dimensional data sources during video transmission, combined with coding technology, the problem of low video transmission efficiency is solved and efficient, high-quality video data transmission is achieved.
Patent Information
- Application Number
- CN202410886577.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-29
AI Technical Summary
In fields such as video conferencing and surveillance systems, it is difficult for existing technologies to improve video transmission efficiency while ensuring video quality. Especially after the popularization of high-definition video formats such as 4K and 8K, computational complexity increases and transmission efficiency is low.
By extracting feature data from multiple dimensional data sources and fusion, the matching feature subsets are determined according to the task type and transmitted as target feature data. Multi-dimensional feature data fusion and feature selection technology are used, combined with H.264 or H.265 and other encoding methods optimize data transmission.
While ensuring the quality of data transmission, it improves data transmission efficiency, reduces unnecessary data calculations, highlights key features of focus, is suitable for real-time video streams and highly dynamic scenes, and improves the quality and efficiency of video transmission.
Smart Images

Figure CN118870001A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network transmission technology, and in particular to a data transmission method, device, equipment and storage medium. Background Art
[0002] With the rapid development of Internet technology and digital media, video content has become an important part of network traffic, covering multiple fields such as online entertainment, distance education, video conferencing and monitoring systems.
[0003] With the popularity of high-definition video formats such as 4K and 8K, the requirements for video encoding and transmission technology are also increasing. To facilitate data transmission, video encoding technology has undergone a transition from H.264 to H.265 / HEVC. These encoding standards have improved compression efficiency while also bringing higher computational complexity.
[0004] In areas such as video conferencing and surveillance systems where real-time video transmission is required, it is very important to improve transmission efficiency while ensuring video quality. Summary of the invention
[0005] The present invention provides a data transmission method, device, equipment and storage medium, which can improve data transmission efficiency while ensuring data transmission quality.
[0006] According to one aspect of the present invention, there is provided a data transmission method, comprising:
[0007] Extracting feature data from data sources of multiple dimensions respectively, and fusing the feature data associated with the data sources of multiple dimensions to obtain multi-dimensional feature data;
[0008] Based on the task type of the data transmission task, determining a feature subset matching the task type in the multi-dimensional feature data as target feature data;
[0009] The target characteristic data is transmitted.
[0010] According to another aspect of the present invention, there is provided a data transmission device, comprising:
[0011] A feature fusion module is used to extract feature data from data sources of multiple dimensions respectively, and fuse the feature data associated with the data sources of multiple dimensions to obtain multi-dimensional feature data;
[0012] A feature selection module, configured to determine, based on a task type of a data transmission task, a feature subset matching the task type in the multi-dimensional feature data as target feature data;
[0013] A data transmission module is used to transmit the target characteristic data.
[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0015] at least one processor; and
[0016] a memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the data transmission method described in any embodiment of the present invention.
[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data transmission method described in any embodiment of the present invention when executed.
[0019] The technical solution of the embodiment of the present invention obtains multi-dimensional feature data containing multiple data sources by fusing feature data of multiple dimensional data sources, and then determines, according to the task type, a feature subset matching the task type in the multi-dimensional feature data to be sent as target feature data. While ensuring the quality of data transmission by integrating the multi-dimensional data sources, only the feature subset matching the task type can be selected from the multi-dimensional feature data as the target feature data to be transmitted, thereby improving data transmission efficiency.
[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] 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 description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 is a flowchart of a data transmission method provided according to Embodiment 1 of the present invention;
[0023] Figure 2 is a flowchart of a data transmission method provided according to Embodiment 2 of the present invention;
[0024] Figure 3is a flowchart of a data transmission method provided according to Embodiment 3 of the present invention;
[0025] Figure 4 is a structural schematic diagram of a data transmission device provided according to Embodiment 4 of the present invention;
[0026] Figure 5 It is a structural diagram of an electronic device for implementing the data transmission method of the fifth embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only 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 should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] Embodiment 1
[0030] Figure 1 A flowchart of a data transmission method is provided for the first embodiment of the present invention. This embodiment is applicable to the case where data from multiple data sources are fused and then transmitted after feature selection according to the actual task type. The method can be executed by a data transmission device, which can be implemented in the form of hardware and / or software, and can be configured in various general-purpose computing devices. Figure 1 As shown, the method includes:
[0031] S110 , extracting feature data from data sources of multiple dimensions respectively, and fusing the feature data associated with the data sources of multiple dimensions to obtain multi-dimensional feature data.
[0032] In the process of data transmission, in order to obtain a richer and more diverse data representation, information can be extracted and merged from data sources of different dimensions. This approach is very important for the subsequent data encoding, transmission and final data quality improvement.
[0033] In the embodiment of the present invention, feature extraction is performed in data sources of multiple dimensions respectively to obtain feature data associated with each data source. Specifically, for a video data source, a video stream feature extraction function is used to extract features from the input video data; for an audio data source, an audio stream feature extraction function is used to extract features from the input audio data; for text data, a text subtitle feature extraction function is used to extract features from the input text data; for user interaction data, a user interaction feature extraction function is used to extract features from the input user interaction data.
[0034] Furthermore, the feature data associated with the multi-dimensional data sources are fused to obtain multi-dimensional feature data. The feature fusion method may be weighted summation, feature concatenation, feature mapping fusion or weighted fusion.
[0035] The weighted sum feature fusion method is as follows:
[0036] F=alpha*V(v)+beta*A(a)+gamma*T(t)+delta*U(u)
[0037] Among them, F is multi-dimensional feature data, v is video data, V(v) is the video stream feature extraction function, a is audio data, A(a) is the audio stream feature extraction function, t is text data, T(t) is the text subtitle feature extraction function, u is user interaction data, U(u): user interaction feature extraction function, alpha is the video feature weight coefficient, beta is the audio feature weight coefficient, gamma is the text subtitle feature weight coefficient, and delta is the user interaction feature weight coefficient.
[0038] During video transmission, video stream is the main part of multi-dimensional data processing. Video stream feature extraction focuses on extracting visual information from video frames, such as color, texture, shape, and motion pattern information; audio data provides supplementary audio information for video data, and audio stream feature extraction focuses on extracting information such as pitch, volume, rhythm, and voice content from audio, which helps to understand the emotional color or context of the video scene; text subtitle features provide additional language information for video data, and text subtitle feature extraction focuses on extracting keywords, phrases, and semantic relationships in text subtitles; user interaction data feature extraction focuses on extracting insights into the social and audience engagement of video content, which helps to understand the appeal and influence of videos on users.
[0039] The weight coefficient is used to adjust the impact of different data sources on the final multi-dimensional feature data. For example, in scenes that are sensitive to visual information, video features will be given higher weights.
[0040] In addition to weighted summation, multi-dimensional feature data can also be fused in the following ways:
[0041] Feature splicing: When the importance of feature data in each dimension is relatively balanced, different feature data can be directly spliced to retain the original information from each dimensional data source.
[0042] Feature mapping fusion: First, feature data of different dimensions are mapped through neural network transformation, and then the mapped feature data are fused. This method allows for more complex processing of features, such as extracting interactive information across multiple data sources.
[0043] Weighted mixing: This method is a variation of weighted summation. Unlike the simple feature addition in weighted summation, it mixes the feature data of each dimension through a nonlinear function.
[0044] In a specific example, during the video transmission process, it is allowed to extract features from multiple dimensional data sources such as video, audio, text, and user interaction information related to the video. Furthermore, the feature data associated with the multiple dimensional data sources are weighted and summed to obtain multi-dimensional feature data. The weight of the feature data associated with each data source is determined according to the task type. In the video transmission type task, the feature data of the video type has the highest weight.
[0045] Through the fusion of the above multi-dimensional features, a comprehensive data representation can be created, providing more information for subsequent video encoding and transmission data quality improvement. The above method is suitable for dynamic and complex video transmission, such as live streaming and high-dynamic scenes.
[0046] S120 . Based on the task type of the data transmission task, determine a feature subset matching the task type in the multi-dimensional feature data as target feature data.
[0047] In S110, in order to obtain a comprehensive data representation, features of multiple dimensions are fused to improve data quality. When processing complex multimedia content, such as video streams, a large number of features including visual features, audio features, and text data are usually extracted. However, not all features are equally important to the current task. For example, in a video transmission task, visual features are more critical for subsequent encoding and transmission. In order to improve transmission efficiency and output data quality, it is necessary to select feature data with a high degree of match with the current task from the multi-dimensional feature data.
[0048] In the embodiment of the present invention, based on the task type of the data transmission task, a feature subset matching the task type is determined in the multi-dimensional feature data as the target feature data to be transmitted. Specifically, the multi-dimensional feature data and the task type can be input into a pre-trained feature selection model to obtain a feature subset matching the task type output by the feature selection model as the target feature data to be transmitted.
[0049] Alternatively, the task type (which may also include specific task requirements such as bandwidth limitation, target resolution, and delay tolerance) is input into the feature selection parameter generation model to obtain the feature selection weight matrix and bias term output by the model. The feature selection weight will give higher weights to feature data that matches the task type. Furthermore, based on the feature selection weight matrix and bias term, feature weight processing is performed on the multi-dimensional feature data, and the processing result is input into the normalization function to select a feature subset that matches the task type from the multi-dimensional feature data as the target feature data.
[0050] By selecting a feature subset that matches the current task type from the multi-dimensional feature data as the target feature data, unnecessary data calculation can be reduced, data processing and transmission efficiency can be improved, and selecting a feature subset that matches the task type can also highlight key features of focus and improve data quality. Therefore, this method can be applied in scenarios that require high efficiency and high-quality output, such as real-time video stream processing and online media analysis.
[0051] S130: Transmit the target feature data.
[0052] In an embodiment of the present invention, after selecting target feature data from the multi-dimensional feature data, the target feature data is transmitted. Specifically, the target feature data can be encoded and transmitted using an encoding method such as H.264 or H.265. Alternatively, the target feature data can be encoded and transmitted after being reconstructed in time and space dimensions, which can improve data quality while ensuring data authenticity.
[0053] The technical solution of the embodiment of the present invention obtains multi-dimensional feature data containing multiple data sources by fusing feature data of multiple dimensional data sources, and then determines, according to the task type, a feature subset matching the task type in the multi-dimensional feature data to be sent as target feature data. While comprehensively integrating the multi-dimensional data sources to ensure the quality of data transmission, the feature subset matching the task type can be selected from the multi-dimensional feature data as the target feature data to be transmitted, thereby improving data transmission efficiency.
[0054] Embodiment 2
[0055] Figure 2This is a flowchart of a data transmission method provided in Embodiment 2 of the present invention. This embodiment further refines the above embodiment and provides specific steps for transmitting the target feature data and specific steps for determining a feature subset matching the task type in the multi-dimensional feature data based on the task type of the data transmission task. Figure 2 As shown, the method includes:
[0056] S210: Extract feature data from data sources of multiple dimensions respectively, and fuse the feature data associated with the data sources of multiple dimensions to obtain multi-dimensional feature data.
[0057] S220 . Based on the task type of the data transmission task, determine a feature subset matching the task type in the multi-dimensional feature data as target feature data.
[0058] Optionally, based on the task type of the data transmission task, a feature subset matching the task type is determined in the multi-dimensional feature data, including:
[0059] Based on the feature selection weight matrix and bias term, feature weight processing is performed on multi-dimensional feature data;
[0060] The feature weight processing result is input into the normalization function to obtain a feature subset matching the task type in the multi-dimensional feature data;
[0061] The feature selection weight matrix and bias term are calculated by inputting the task type into the feature selection parameter generation model.
[0062] In this optional embodiment, a specific method is provided for determining a feature subset matching the task type in the multi-dimensional feature data based on the task type of the data transmission task: first, based on the feature selection weight matrix and the bias term, the multi-dimensional feature data is subjected to feature weight processing, and the feature weight processing result is input into the normalization function to obtain a feature subset matching the task type in the multi-dimensional feature data. The feature selection weight matrix and the bias term are calculated by inputting the task type into the feature selection parameter generation model.
[0063] In a specific example, the specific method of determining a feature subset matching a task type in multi-dimensional feature data is as follows:
[0064] S = softmax(W*F+b)
[0065] Among them, S is the target feature data, W is the feature selection weight matrix, F is the multi-dimensional feature data, b is the bias term, and softmax is the normalization function.
[0066] The feature selection weight matrix W and the bias term b are calculated by inputting the task type into the feature selection parameter generation model. Among them, the feature selection weight matrix W is a key component of feature selection, which determines the importance of each dimensional feature in the multi-dimensional feature data in the selection process, and the bias term b is used to adjust the threshold of feature selection. The normalization function is used to convert the multi-dimensional feature data into a probability distribution. In the context of feature selection, the feature data that matches the current task type can be highlighted. The final feature subset S is the feature that matches the current task type.
[0067] By selecting a feature subset that matches the current task type from the multi-dimensional feature data as the target feature data, unnecessary data calculation can be reduced, data processing and transmission efficiency can be improved, and data quality can be improved.
[0068] S230: Reconstruct the target feature data in time and space dimensions to obtain reconstructed target feature data.
[0069] In the above data processing process, some important spatiotemporal information may be lost in the process of data fusion and feature selection. In the embodiment of the present invention, in order to improve the efficiency of data processing and transmission while ensuring data quality, the target feature data is reconstructed in the time and space dimensions to obtain the reconstructed target feature data. Exemplarily, the reconstruction of the target feature data in the time and space dimensions can be achieved through an adversarial network to improve data quality.
[0070] Optionally, the target feature data is reconstructed in time and space dimensions to obtain reconstructed target feature data, including:
[0071] Through the generative network and discriminative network in the generative adversarial network, the target feature data is reconstructed in the time and space dimensions to obtain the reconstructed target feature data.
[0072] In this optional embodiment, a specific method is provided for reconstructing target feature data in time and space dimensions to obtain reconstructed target feature data: through the generative network and the discriminative network in the generative adversarial network, the target feature data is reconstructed in time and space dimensions to obtain reconstructed target feature data.
[0073] In video data transmission, the core of reconstruction of time and space dimensions lies in understanding and improving the time and space features in video sequences. Time features refer to the time sequence that changes over time, such as actions and transitions; spatial features refer to the visual attributes within a single frame, such as texture, color, and shape. In many cases, the original video data loses some important time and space information due to compression and other reasons. Through reconstruction, the time and space information can be restored and the transmission quality of the video can be improved.
[0074] In a specific example, the target feature data is reconstructed in the time and space dimensions, and the specific implementation method is as follows:
[0075] R=G(F')-D(F')
[0076] Among them, R is the reconstructed target feature data, G is the generation network in the generative adversarial network, D is the discriminant network in the generative adversarial network, and F' is the feature data to be reconstructed.
[0077] The generator network G is one of the core components of the generative adversarial network, and its goal is to create improved features from the feature data to be reconstructed (target feature data in this embodiment). For example, in the field of video transmission, the generator network will learn the intrinsic pattern of the video and generate new features, and the new features are closer to the uncompressed video quality. The discriminant network D is another core component of the generative adversarial network, which is used to evaluate the quality of the feature data generated by the generator network. Specifically, the discriminant network determines the quality of the generated features by determining the difference between the generated features and the real features. The reconstructed feature data is the result of being created by the generator network and optimized by the discriminant network evaluation. The reconstruction process improves the data quality.
[0078] In video transmission scenarios such as real-time video streaming, video conferencing, and online games, video data is usually compressed to adapt to network bandwidth limitations. The quality of compressed video data can be improved through adversarial networks. In addition, the generative network and the discriminative network can be adjusted according to different data transmission requirements, so that the reconstructed data changes can adapt to different data transmission scenarios.
[0079] S240: Encode the reconstructed target feature data and transmit it.
[0080] Optionally, encoding the reconstructed target feature data for transmission further includes:
[0081] Using a preset encoding function, the reconstructed target feature data is encoded and transmitted;
[0082] The encoding parameters in the encoding function are dynamically adjusted according to at least one of the task type and the network bandwidth.
[0083] In the data encoding process, encoding parameters such as bit rate, resolution and key frame interval determine the quality of the final transmitted data. The optimal settings of encoding parameters are different in different application scenarios. For example, applications for mobile devices require lower bit rates to adapt to slower network speeds, while applications that stream high-definition videos on high-speed networks focus more on video transmission efficiency and quality. Therefore, higher bit rates and resolutions are required.
[0084] Existing bit rate control is mostly concentrated at the network transmission level, which results in that the data encoding strategy cannot be flexibly adjusted when network conditions change. When the network bandwidth suddenly drops, the data encoding bit rate cannot be quickly reduced, resulting in transmission jams or interruptions. The technical solution of this embodiment dynamically adjusts the encoding parameters according to the task type and network bandwidth, improves the encoding flexibility and adaptability, and ensures high-quality data transmission in an unstable network environment.
[0085] In this optional embodiment, a specific method for encoding the reconstructed target feature data and transmitting it is provided: first, a preset encoding function is used to encode the reconstructed target feature data and transmit it, wherein the encoding parameters in the encoding function can be dynamically adjusted according to at least one of the task type and the network bandwidth.
[0086] In a specific example, the above dynamic data encoding method is as follows:
[0087] E=sum from i=1to n of(theta_i*encode(R_i,P_i))
[0088] Among them, E is the encoded data, theta_i is the weight of the i-th coding block, encode is the encoding function, R_i is the i-th reconstructed feature block (target feature data after spatiotemporal reconstruction), P_i is the parameter of the i-th coding block (such as bit rate, resolution, etc.), and n is the number of coding blocks.
[0089] The encoding function encode is the core function for data encoding. It encodes each block or frame R_i of the data according to the given parameters P_i. The reconstructed feature block R_i is the reconstructed target feature data that is divided into multiple blocks or frames. During the encoding process, each block is processed separately to optimize the overall data quality and compression efficiency. The encoding parameter P_i determines the encoding details. For example, in a high-speed network environment, a high bit rate and a high resolution are selected to maintain data quality. In a bandwidth-constrained environment, the bit rate and resolution are reduced to ensure smooth data transmission and avoid jamming. The weight theta_i can be flexibly set according to the importance of different blocks in the data stream. For example, key frames are more important than other frames because they need to be given higher weights to ensure that the key parts are encoded with high quality.
[0090] Optionally, the encoding parameters include at least one of a bit rate, a resolution, and a key frame interval.
[0091] In this optional embodiment, the encoding parameters may include at least one of a bit rate, a resolution, and a key frame interval, wherein the bit rate and the resolution are positively correlated with the network bandwidth, and the key frame interval is negatively correlated with the network bandwidth.
[0092] Optionally, after encoding the reconstructed target feature data, the method further includes:
[0093] Obtaining quality assessment parameters of encoded data;
[0094] Based on the quality assessment parameters, the encoding parameters are feedback adjusted.
[0095] In this optional embodiment, after encoding the reconstructed target feature data, quality assessment parameters of the encoded data may be further obtained, such as clarity (resolution and image sharpness) and frame rate, etc. Furthermore, based on the quality assessment parameters, the encoding parameters are feedback-adjusted.
[0096] In a specific example, the specific method of encoding parameter feedback adjustment is as follows:
[0097] P_new=P+eta*gradient L(P,F_out)
[0098] Among them, P_new is the optimized encoding parameter, P is the current encoding parameter, eta is the learning rate, gradient L is the gradient of the loss function, and F_out is the encoded data.
[0099] The current encoding parameter P is the parameter currently being used in the data encoding process. The learning rate eta is an important parameter in the feedback optimization process, which determines the step size of the parameter adjustment. The higher the learning rate, the faster the corresponding adjustment speed, but it may lead to over-adjustment. Conversely, the lower the learning rate, the slower the adjustment speed. The gradient gradient L of the loss function represents the impact of the current encoding parameter P on the output. It is used to evaluate the quality of the output data under the current encoding parameters. The gradient identifies the direction and speed of the loss function changing with the encoding parameters, and is a key guiding factor in the parameter optimization process. The quality of the encoded data F_out directly affects the user experience. The evaluation parameters of the output quality can be clarity, frame rate, and compression rate. Through the gradient descent method, the current encoding parameters are adjusted according to the gradient of the loss function to obtain the optimized encoding parameters P_new, which can improve the output data quality or reduce the resource consumption of the encoding process.
[0100] During the data transmission process, the coding efficiency and effect directly affect the quality and smoothness of data transmission. By feeding back the clarity and frame rate of the encoded data, the coding parameters can be flexibly adjusted to ensure data transmission efficiency and quality, forming a feedback optimization loop. The feedback optimization loop can be applied in scenarios with high efficiency and dynamic adaptation to network conditions.
[0101] The technical solution of the embodiment of the present invention fuses the feature data of multiple dimensional data sources to obtain multi-dimensional feature data containing multiple data sources, and then, according to the task type, determines a feature subset matching the task type in the multi-dimensional feature data to send as target feature data, and further reconstructs the target feature data in time and space dimensions, and finally encodes the reconstructed target feature data for transmission, which can improve data transmission efficiency and reduce time delay while ensuring data quality.
[0102] Embodiment 3
[0103] Figure 3 A flowchart of a data transmission method provided in Embodiment 3 of the present invention is shown in FIG. Figure 3 As shown, the method includes:
[0104] S310: Extract feature data from data sources of multiple dimensions respectively, and fuse the feature data associated with the data sources of multiple dimensions to obtain multi-dimensional feature data.
[0105] S320, based on the feature selection weight matrix and the bias term, perform feature weight processing on the multi-dimensional feature data, input the feature weight processing result into the standardization function, and obtain a feature subset matching the task type in the multi-dimensional feature data as the target feature data;
[0106] Among them, the feature selection weight matrix and bias term are calculated by inputting the task type into the feature selection parameter generation model.
[0107] S330, reconstructing the target feature data in time and space dimensions through the generative network and the discriminative network in the generative adversarial network to obtain reconstructed target feature data.
[0108] S340, using a preset encoding function to encode the reconstructed target feature data and then transmit it;
[0109] The encoding parameters in the encoding function are dynamically adjusted according to at least one of the task type and the network bandwidth.
[0110] S350: Acquire quality assessment parameters of the encoded data, and perform feedback adjustment on encoding parameters based on the quality assessment parameters.
[0111] The technical solution of the embodiment of the present invention fuses the feature data associated with data sources of multiple dimensions to obtain multi-dimensional feature data, and then selects a feature subset matching the task type in the multi-dimensional feature data as target feature data, and reconstructs the target feature data through an adversarial network. Finally, a coding function with dynamically adjustable parameters is used to encode the reconstructed target feature data for transmission. This can improve data coding and transmission efficiency and reduce delay while ensuring the quality of data transmission, thereby meeting the requirements for low latency and high-quality data transmission in real-time video streaming scenarios.
[0112] Embodiment 4
[0113] Figure 4 This is a schematic diagram of the structure of a data transmission device provided by Embodiment 4 of the present invention. Figure 4 As shown, the device comprises:
[0114] The feature fusion module 410 is used to extract feature data from data sources of multiple dimensions respectively, and fuse the feature data associated with the data sources of multiple dimensions to obtain multi-dimensional feature data;
[0115] A feature selection module 420 is used to determine, based on the task type of the data transmission task, a feature subset matching the task type in the multi-dimensional feature data as target feature data;
[0116] The data transmission module 430 is used to transmit the target characteristic data.
[0117] The technical solution of the embodiment of the present invention obtains multi-dimensional feature data containing multiple data sources by fusing feature data of multiple dimensional data sources, and then determines, according to the task type, a feature subset matching the task type in the multi-dimensional feature data to be sent as target feature data. While comprehensively integrating the multi-dimensional data sources to ensure the quality of data transmission, the feature subset matching the task type can be selected from the multi-dimensional feature data as the target feature data to be transmitted, thereby improving data transmission efficiency.
[0118] Optionally, the data transmission module 430 includes:
[0119] A feature reconstruction unit, used to reconstruct the target feature data in time and space dimensions to obtain reconstructed target feature data;
[0120] The data transmission unit is used to encode the reconstructed target feature data and transmit it.
[0121] Optionally, the data transmission unit is specifically used for:
[0122] Using a preset encoding function, the reconstructed target feature data is encoded and then transmitted;
[0123] The encoding parameters in the encoding function are dynamically adjusted according to at least one of the task type and the network bandwidth.
[0124] Optionally, the data transmission unit is further configured to:
[0125] After encoding the reconstructed target feature data, obtaining a quality assessment parameter of the encoded data;
[0126] Based on the quality assessment parameter, feedback adjustment is performed on the encoding parameter.
[0127] Optionally, the feature selection module 420 is specifically used for:
[0128] Based on the feature selection weight matrix and the bias term, performing feature weight processing on the multi-dimensional feature data;
[0129] Inputting the feature weight processing result into the normalization function to obtain a feature subset matching the task type in the multi-dimensional feature data;
[0130] The feature selection weight matrix and the bias term are calculated by inputting the task type into a feature selection parameter generation model.
[0131] Optionally, a feature reconstruction unit is used to:
[0132] The target feature data is reconstructed in time and space dimensions by using the generative network and the discriminative network in the generative adversarial network to obtain the reconstructed target feature data.
[0133] Optionally, the encoding parameters include at least one of a bit rate, a resolution, and a key frame interval.
[0134] The data transmission device provided in the embodiment of the present invention can execute the data transmission method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0135] Embodiment 5
[0136] Figure 5A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0137] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0138] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0139] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a data transmission method.
[0140] In some embodiments, the data transmission method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the data transmission method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the data transmission method in any other appropriate manner (e.g., by means of firmware).
[0141] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0142] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0143] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0144] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0145] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0146] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0147] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0148] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A data transmission method, characterized in that: include: Extracting feature data from data sources of multiple dimensions respectively, and fusing the feature data associated with the data sources of multiple dimensions to obtain multi-dimensional feature data; Based on the task type of the data transmission task, determining a feature subset matching the task type in the multi-dimensional feature data as target feature data; The target characteristic data is transmitted.
2. The method according to claim 1, characterized in that The transmitting of the target characteristic data comprises: Reconstructing the target feature data in time and space dimensions to obtain reconstructed target feature data; The reconstructed target feature data is encoded and transmitted.
3. The method according to claim 2, characterized in that The encoding and transmission of the reconstructed target feature data further comprises: Using a preset encoding function, the reconstructed target feature data is encoded and then transmitted; The encoding parameters in the encoding function are dynamically adjusted according to at least one of the task type and the network bandwidth.
4. The method according to claim 3, characterized in that: After encoding the reconstructed target feature data, it also includes: Obtaining quality assessment parameters of encoded data; Based on the quality assessment parameter, feedback adjustment is performed on the encoding parameter.
5. The method according to claim 1, characterized in that The task type based on the data transmission task, determining a feature subset matching the task type in the multi-dimensional feature data, comprises: Based on the feature selection weight matrix and the bias term, performing feature weight processing on the multi-dimensional feature data; Inputting the feature weight processing result into the normalization function to obtain a feature subset matching the task type in the multi-dimensional feature data; The feature selection weight matrix and the bias term are calculated by inputting the task type into a feature selection parameter generation model.
6. The method according to claim 2, characterized in that The target feature data is reconstructed in time and space dimensions to obtain reconstructed target feature data, including: The target feature data is reconstructed in time and space dimensions by using the generative network and the discriminative network in the generative adversarial network to obtain the reconstructed target feature data.
7. The method according to claim 3 or 4, characterized in that: The encoding parameters include at least one of a bit rate, a resolution, and a key frame interval.
8. A data transmission device, characterized in that: include: A feature fusion module is used to extract feature data from data sources of multiple dimensions respectively, and fuse the feature data associated with the data sources of multiple dimensions to obtain multi-dimensional feature data; A feature selection module, configured to determine, based on a task type of a data transmission task, a feature subset matching the task type in the multi-dimensional feature data as target feature data; A data transmission module is used to transmit the target characteristic data.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the data transmission method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data transmission method according to any one of claims 1 to 7 when executed.
