Video transmission control method and control system based on real-time network state

By collecting network status information in the video transmission system and using migration learning to adjust the control model, it solves the problem that traditional methods cannot dynamically adjust, achieves stability and real-time video transmission, is suitable for different geographical locations and network environments, and improves User experience.

CN118764663AInactive Publication Date: 2024-10-11SICHUAN NATIONAL INNOVATION VISION UHD VIDEO TECHNOLOGY CO LTD

Patent Information

Application Number
CN202410769871.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure CN118764663A_ABST
    Figure CN118764663A_ABST
Patent Text Reader

Abstract

The invention provides a video transmission control method and system based on a real-time network state, and belongs to the technical field of video transmission, the video transmission control system comprises a plurality of participating nodes and a central server communicating with the plurality of participating nodes, and the plurality of participating nodes are distributed at different geographic positions. Initializing and distributing a pre-training control model to each participating node; collecting and extracting feature data of network state information including delay, bandwidth and packet loss rate of each node; adjusting model parameters of each node by utilizing transfer learning and uploading the model parameters to a central server; the central server fuses all the uploaded model parameter differences through a weighted average aggregation method and updates the control model; and finally, the central server distributes the updated model to each node to realize iterative optimization of video transmission. The method effectively improves the stability and quality of video transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video transmission, and in particular to a video transmission control method and control system based on real-time network status. Background Art

[0002] With the rapid development of information technology, real-time video transmission technology has become an indispensable part of modern society and is widely used in video conferencing, distance education, online live broadcasting, security monitoring and other fields. However, since the participating nodes are often distributed in different geographical locations and the network status is different, parameters such as network delay, bandwidth and packet loss rate vary greatly, which brings great challenges to real-time video transmission. Traditional video transmission control methods are usually based on fixed parameter settings and cannot be dynamically adjusted according to the real-time network status, resulting in unstable video transmission quality and unable to meet the needs of high-quality, low-latency real-time video transmission.

[0003] Therefore, it is necessary to provide a video transmission control method and control system based on real-time network status to solve the above technical problems. Summary of the invention

[0004] In order to solve the above technical problems, the present invention provides a video transmission control method and control system based on real-time network status, which collects network status information of the geographical location of each participating node and uses a transfer learning method to adjust the model parameters of the control model assigned to each node to achieve dynamic optimization of video transmission. In addition, through the coordination of the central server, it can ensure that all participating nodes use a unified and optimized control model for video transmission, thereby improving the overall quality and stability of video transmission.

[0005] The present invention provides a video transmission control method based on real-time network status, comprising a plurality of participating nodes and a central server for the plurality of participating nodes to communicate, wherein the plurality of participating nodes are distributed in different geographical locations, and the control method comprises the following steps:

[0006] S1: Initialize a pre-trained control model and independently distribute the control model to each participating node through the central server;

[0007] S2: Collecting network status information of the geographical locations of each participating node, and extracting feature data from each network status information, wherein the network status information includes network delay, bandwidth and packet loss rate;

[0008] S3: According to the feature data extracted from each participating node, the model parameters of the respective assigned control models are adjusted using a transfer learning method and the adjusted model parameters are uploaded to the central server;

[0009] S4: The central server receives the adjusted model parameter differences uploaded by each participating node, fuses the adjusted model parameter differences uploaded by all participating nodes using a weighted average aggregation method, and updates the control model according to the fused model parameter differences;

[0010] S5: The central server applies the updated control model to each participating node, and the participating node uses the updated control model to perform iterative control of video transmission.

[0011] Preferably, step S1 specifically includes:

[0012] S101: collecting historical network status data for pre-training, and using the historical network status data to pre-train a control model based on a neural network until the control model converges;

[0013] S102: Encrypting the model parameters of the pre-trained control model, and deploying the encrypted control model to the central server;

[0014] S103: The central server decrypts the control model and sends the decrypted control model to each participating node through a secure channel.

[0015] Preferably, step S2 specifically includes:

[0016] S201: collecting network status information of participating nodes according to a preset sampling frequency through a network status monitoring module deployed at each participating node, and preprocessing the sampled network status information;

[0017] S202: extracting basic features of network delay, bandwidth and packet loss rate, wherein the basic feature of network delay is a percentage change relative to a reference delay, the basic feature of bandwidth is a ratio of current bandwidth to average bandwidth, and the basic feature of packet loss rate is packet loss frequency;

[0018] S203: Construct time series features based on basic features of network delay, bandwidth and packet loss rate.

[0019] Preferably, step S3 specifically includes:

[0020] S301: loading the control model received by the participating nodes, and selectively freezing part of the levels of the control model according to the time series characteristics of the participating nodes;

[0021] S302: dynamically adjusting the learning rate and regularization parameters of the control model using the time series characteristics of the participating nodes;

[0022] S303: Calculate the model parameter difference between the model parameters of the adjusted control model and the model parameters of the initial pre-trained control model, and upload the model parameter difference to the central server through a secure communication protocol.

[0023] Preferably, step S4 specifically includes:

[0024] S401: The central server receives the model parameter differences securely uploaded from each participating node and obtains the model parameter difference set of each participating node. Where N is the number of participating nodes, Δθ i represents the model parameter difference of the i-th participating node;

[0025] S402: Determine the weight of each participating node based on the amount of data, and set the weight of the i-th participating node to w i , then

[0026] S403: Use the weighted average method to fuse the model parameter differences uploaded by all participating nodes. The fusion formula is:

[0027]

[0028] Among them, θ is the model parameter of the initial pre-trained control model, Δθ k is the difference in model parameters after fusion;

[0029] S404: Use the fused model parameter difference to update the control model. The update formula is:

[0030]

[0031] in, The model parameters of the current control model, are the model parameters of the updated control model.

[0032] Preferably, step S5 specifically includes:

[0033] S501: The central server distributes the model parameters of the updated control model to each participating node via a secure communication protocol;

[0034] S502: The participating nodes use the model parameters of the updated control model to perform real-time network status prediction, and generate a video transmission strategy based on the prediction results:

[0035] S503: The participating nodes perform the video transmission operation according to the generated video transmission strategy, and repeat steps S1 to S5 to continuously optimize the control model to adapt to the dynamic changes of the network status.

[0036] The present invention also provides a video transmission control system based on real-time network status, which is applied to a video transmission control method based on real-time network status, comprising a plurality of participating nodes and a central server for the plurality of participating nodes to communicate, and the plurality of participating nodes are distributed in different geographical locations.

[0037] The control system includes:

[0038] an initial distribution module, for initializing a pre-trained control model and independently distributing the control model to each participating node through the central server;

[0039] A feature extraction module is used to collect network status information of the geographical location of each participating node and extract feature data from the respective network status information, wherein the network status information includes network delay, bandwidth and packet loss rate;

[0040] A parameter adjustment module, used to adjust the model parameters of the respective assigned control models according to the feature data extracted by each participating node by using a transfer learning method and upload the adjusted model parameters to the central server;

[0041] A control model updating module, which is used for the central server to receive the adjusted model parameter differences uploaded by each participating node, fuse the adjusted model parameter differences uploaded by all participating nodes using a weighted average aggregation method, and update the control model according to the fused model parameter differences;

[0042] The application module is used for the central server to apply the updated control model to each participating node, and the participating node uses the updated control model to perform iterative control of video transmission.

[0043] Compared with the related art, the video transmission control method and control system based on real-time network status provided by the present invention have the following beneficial effects:

[0044] The present invention collects real-time network status information of each participating node and uses a transfer learning method to adjust the parameters of the control model. It can dynamically adjust the video transmission strategy according to changes in the network status to ensure the stability and real-time performance of the video transmission. Through the coordination of the central server, all participating nodes can use a unified and optimized control model to transmit the video, thereby avoiding the problem of unstable transmission quality caused by differences in network status between nodes. At the same time, it is suitable for participating nodes in different geographical locations and different network environments, has strong adaptability and scalability, and can reduce the delay and packet loss rate of video transmission by optimizing the video transmission strategy, improve the clarity and smoothness of video transmission, and thus enhance the user's viewing experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1A flowchart of a video transmission control method based on real-time network status provided by the present invention;

[0046] Figure 2 A module structure diagram of a video transmission control system based on real-time network status provided by the present invention. DETAILED DESCRIPTION

[0047] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only the parts related to the present invention, rather than all structures, are shown in the accompanying drawings. In addition, the embodiments of the present invention and the features in the embodiments may be combined with each other without conflict.

[0048] It should also be noted that, for ease of description, only the part relevant to the present invention but not all the content is shown in the accompanying drawings. It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as the processing or method described as a flow chart. Although the flow chart describes each operation (or step) as being processed sequentially, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. When its operation is completed, the processing can be terminated, but it can also have additional steps not included in the accompanying drawings. The processing can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.

[0049] Embodiment 1

[0050] The present invention provides a video transmission control method based on real-time network status, comprising a plurality of participating nodes and a central server for the plurality of participating nodes to communicate, wherein the plurality of participating nodes are distributed in different geographical locations, Figure 1 As shown, the control method includes the following steps:

[0051] S1: Initialize a pre-trained control model and independently distribute the control model to each participating node through the central server.

[0052] In this embodiment, a large amount of historical network status data is used to pre-train a control model based on a convolutional neural network to capture the spatiotemporal characteristics of the network status. After the pre-training is completed, the central server independently deploys the control model to each participating node through a secure communication channel. The technical effect of this step is that the pre-trained model has a certain generalization ability and can quickly adapt to different geographical environments without the need to train from scratch, saving a lot of time and computing resources.

[0053] S2: Collect network status information of the geographical location of each participating node, and extract feature data from each network status information, wherein the network status information includes network delay, bandwidth and packet loss rate.

[0054] In this embodiment, each participating node monitors and collects network status information such as network delay, bandwidth and packet loss rate in real time through the built-in network status monitoring module, which is then converted into feature vectors, such as the rate of change of network delay, bandwidth utilization and packet loss rate trends. By extracting feature data, the system can more accurately understand the current network status, provide a basis for subsequent model adjustments, and improve the real-time and accuracy of video transmission.

[0055] S3: Based on the feature data extracted from each participating node, the model parameters of the respective assigned control models are adjusted using the transfer learning method and the adjusted model parameters are uploaded to the central server.

[0056] In this embodiment, participating nodes use the locally collected feature data to adjust the assigned control model parameters through transfer learning. Transfer learning allows the model to retain pre-trained knowledge while fine-tuning based on data in the new environment to adapt to the network characteristics of a specific geographical location. The adjusted model parameter differences are uploaded to the central server. This process enhances the adaptability and flexibility of the model, enabling the model to respond more accurately to network conditions in different geographical locations.

[0057] S4: The central server receives the adjusted model parameter differences uploaded by each participating node, fuses the adjusted model parameter differences uploaded by all participating nodes using a weighted average aggregation method, and updates the control model according to the fused model parameter differences.

[0058] In this embodiment, after receiving the model parameter differences uploaded by all participating nodes, the central server adopts the weighted average aggregation method for fusion. The weights are dynamically adjusted according to the amount of data from the participating nodes to ensure the accuracy of the model update. The fused model parameter differences are used to update the control model, so as to achieve the continuous evolution of the control model by centrally fusion of the local optimization of each node, and improve the robustness and efficiency of the overall system.

[0059] S5: The central server applies the updated control model to each participating node, and the participating node uses the updated control model to perform iterative control of video transmission.

[0060] In this embodiment, the central server distributes the updated control model to the participating nodes again. The participating nodes use the updated control model to iteratively control video transmission and dynamically adjust the transmission strategy, such as video encoding quality, buffer strategy, and transmission path selection, according to the real-time network status. Through the closed-loop iterative control mechanism, the system can continuously optimize the video transmission experience, reduce delays and freezes, and improve user satisfaction, forming a closed loop of self-learning and self-improvement, ensuring the continuous optimization and enhanced adaptability of the video transmission control strategy.

[0061] Specifically, step S1 specifically includes:

[0062] S101: Collect historical network status data for pre-training, and use the historical network status data to pre-train a control model based on a neural network until the control model converges.

[0063] In this embodiment, a large amount of historical data of network status is collected from network logs, including network delay, bandwidth and packet loss rate. These data cover various geographical environments and network conditions, providing rich training materials for the model. Then, these historical data are used to pre-train the control model based on neural network. The pre-training process adopts a deep learning framework, and the model structure includes a convolutional layer and a recurrent neural network layer to capture the spatiotemporal characteristics of the network state. During the training process, the model parameters are continuously adjusted through the back propagation algorithm until the performance of the model on the validation set is no longer significantly improved, that is, the convergence state is reached; through the pre-training of large-scale historical data, the model obtains the basic cognition of the changes in network status, and has a certain generalization ability. It can quickly adapt to the local network conditions when it is first deployed to participating nodes in different geographical environments, without the need to start training from scratch, which greatly saves time and computing resources.

[0064] S102: Encrypt the model parameters of the pre-trained control model, and deploy the encrypted control model to the central server.

[0065] In this embodiment, in order to protect the model parameters from unauthorized access or tampering, the model parameters of the pre-trained control model are encrypted to ensure that even if the model parameters are intercepted during the transmission or storage process, their specific contents cannot be directly read, wherein the encryption methods include but are not limited to symmetric encryption and asymmetric encryption; the encrypted control model is then deployed to the central server, awaiting further distribution, which effectively protects the security of the model parameters, prevents the leakage of sensitive information, and ensures the overall security and reliability of the system.

[0066] S103: The central server decrypts the control model and sends the decrypted control model to each participating node through a secure channel.

[0067] In this embodiment, when the central server is ready to distribute the control model to each participating node, it will first decrypt the encrypted model parameters and restore them to their original state. Then, the central server will send the decrypted control model to each participating node through the pre-set secure communication protocol HTTPS, thereby ensuring the integrity and confidentiality of the model parameters during transmission, while enabling the participating nodes to receive the correct model and perform localized adjustments and optimizations, thereby enhancing the security and collaborative efficiency of the entire system.

[0068] Specifically, step S2 specifically includes:

[0069] S201: The network status monitoring module deployed at each participating node collects the network status information of the participating nodes according to a preset sampling frequency, and pre-processes the sampled network status information.

[0070] In this embodiment, each participating node is equipped with a network status monitoring module, which continuously monitors the network status at a preset sampling frequency (for example, once per second), including key indicators such as network latency, bandwidth, and packet loss rate. The collected data is then preprocessed, including data cleaning (removing outliers and missing values), standardization (converting data to the same scale), and encoding (converting categorical data to numerical form). This ensures the data quality and consistency of the input model, reduces the impact of noise, and improves the efficiency and accuracy of model training.

[0071] S202: Extracting basic features of network delay, bandwidth and packet loss rate, wherein the basic feature of the network delay is a percentage change relative to a baseline delay, the basic feature of the bandwidth is a ratio of the current bandwidth to the average bandwidth, and the basic feature of the packet loss rate is the packet loss frequency.

[0072] In this embodiment, basic features are extracted from the collected network status information, including:

[0073] Percentage change in network latency: Calculates the percentage change in current network latency compared to the baseline latency (the baseline latency is the historical average latency) to quantify the degree of fluctuation in network latency.

[0074] Bandwidth ratio feature: Calculates the ratio of current bandwidth to average bandwidth, reflecting the instantaneous availability of bandwidth.

[0075] Frequency characteristics of packet loss rate: Count the frequency of packet loss events per unit time to measure the stability of network transmission.

[0076] By extracting these basic features, the system can capture the dynamic changes in network status, provide richer information for subsequent model training and adjustment, and enhance the model's perception and prediction accuracy of changes in the network environment by quantifying multiple dimensions of the network status.

[0077] S203: Construct time series features based on basic features of network delay, bandwidth and packet loss rate.

[0078] In this embodiment, time series features are constructed based on the extracted basic features, that is, the percentage change of network delay, the ratio characteristics of bandwidth, and the frequency characteristics of packet loss rate are arranged in chronological order to form a sequence. The time series features can reflect the trend and periodicity of the evolution of network status over time, which is crucial for predicting future network status and optimizing video transmission strategies.

[0079] For example, if the percentage change in network delay shows obvious periodic fluctuations, the model can learn these periodic characteristics, predict possible high-delay periods in the future, and adjust the video transmission strategy in advance, such as increasing the buffer size or reducing the video resolution to reduce stuttering.

[0080] Specifically, step S3 specifically includes:

[0081] S301: Loading the control model received by the participating nodes, and selectively freezing part of the levels of the control model according to the time series characteristics of the participating nodes.

[0082] In this embodiment, after receiving the control model distributed by the central server, the participating nodes first load the model into the local environment of their geographical location; next, based on the time series characteristics collected by the participating nodes, some levels of the model are selectively frozen. Through selective freezing, the computing resources required for model adjustment are reduced, the adaptation speed of the model in the local environment is accelerated, and the generalization ability of the model is maintained.

[0083] For example, if the network state exhibits significant periodicity, the early convolutional layers of the control model will capture these periodic features, while later layers may focus on more complex pattern recognition. In this case, participating nodes choose to freeze the early layers and only fine-tune the later layers to adapt more quickly to the peculiarities of the local network environment while retaining the model's general understanding of periodic network states.

[0084] For example, sudden events (such as natural disasters or cyber attacks) can cause a sudden drop in bandwidth. In the pre-trained model, the early layers may have learned the general pattern of bandwidth changes, while the later layers are more focused on adjusting the transmission strategy according to the bandwidth changes. Faced with sudden bandwidth drops, participating nodes need to quickly adjust their transmission strategies, including reducing video resolution or increasing buffering time. In this case, participating nodes can freeze the early layers and concentrate resources on fine-tuning the later layers to quickly adapt to the bandwidth conditions in the current emergency.

[0085] Another example: Different network infrastructures in different geographic regions lead to regional differences in packet loss rates. The pre-trained model may have learned the general trend of packet loss rates through a large amount of data, while the participating nodes may face packet loss rate patterns specific to their geographic locations. In this case, the participating nodes can freeze certain layers of the model, such as the layers responsible for capturing general packet loss rate trends, and only fine-tune those layers that are more focused on the packet loss rate characteristics in a specific geographical environment. This will help the model adapt to the particularities of local packet loss rates more quickly while retaining an understanding of the general pattern of packet loss rates.

[0086] S302: Dynamically adjust the learning rate and regularization parameters of the control model using the time series characteristics of the participating nodes.

[0087] In this embodiment, the participating nodes dynamically adjust the learning rate and regularization parameters of the control model using the corresponding time series characteristics, wherein the learning rate determines the speed at which the model parameters of the control model are updated, and the regularization parameters help prevent the control model from overfitting. Exemplarily, if the network state shows high instability, the participating nodes will reduce the learning rate to more finely adjust the model parameters, while increasing the regularization parameters to reduce the model's sensitivity to noise. Conversely, if the network state is relatively stable, the participating nodes will increase the learning rate, accelerate the adjustment process of the control model, and reduce the regularization parameters to allow the model to explore the data space more freely, so that by dynamically adjusting the model parameters, the control model can more flexibly respond to data distribution in different network environments, improve the efficiency of model training and the accuracy of prediction.

[0088] S303: Calculate the model parameter difference between the model parameters of the adjusted control model and the model parameters of the initial pre-trained control model, and upload the model parameter difference to the central server through a secure communication protocol.

[0089] In this embodiment, after completing the local control model adjustment, the participating nodes calculate the difference between the adjusted model parameters and the initial pre-trained model parameters to upload incremental updates of the model parameters instead of the complete model parameters to reduce communication overhead. The participating nodes upload the model parameter differences to the central server via the secure communication protocol HTTPS.

[0090] Specifically, step S4 specifically includes:

[0091] S401: The central server receives the model parameter differences securely uploaded from each participating node and obtains the model parameter difference set of each participating node. Where N is the number of participating nodes, Δθ i Represents the model parameter difference of the i-th participating node.

[0092] In this embodiment, the central server receives model parameter differences uploaded by each participating node. These difference data are the deviations from the pre-trained model parameters after each participating node has made transfer learning adjustments locally, reflecting the specificity of the network environment of each node. The central server aggregates these difference data to form a model parameter difference set to prepare for subsequent fusion updates.

[0093] S402: Determine the weight of each participating node based on the amount of data, and set the weight of the i-th participating node to w i , then

[0094] In this embodiment, the central server determines the weight of each participating node based on the amount of data. Nodes with large amounts of data have a greater impact on model updates because more data means a more reliable source of information. The weight setting ensures that the contribution of each node is proportional to its data volume during the control model update process, thereby improving the fairness and accuracy of the model update.

[0095] S403: Use the weighted average method to fuse the model parameter differences uploaded by all participating nodes. The fusion formula is:

[0096]

[0097] Among them, θ is the model parameter of the initial pre-trained control model, Δθ k is the difference in model parameters after fusion.

[0098] In this embodiment, through weighted averaging, the control model can integrate the local optimization results of all nodes, realize the coordinated evolution of the control model, and improve the robustness and generalization ability of the control model.

[0099] S404: Use the fused model parameter difference to update the control model. The update formula is:

[0100]

[0101] in, The model parameters of the current control model, are the model parameters of the updated control model.

[0102] In this embodiment, by iteratively updating the model parameters, the control model can continuously learn and adapt to changes in the network environment, thereby improving the accuracy and flexibility of the video transmission control strategy.

[0103] Specifically, step S5 specifically includes:

[0104] S501: The central server distributes the model parameters of the updated control model to each participating node via a secure communication protocol.

[0105] In this embodiment, the central server uses a secure communication protocol HTTPS to distribute the model parameters of the updated control model to each participating node, ensuring the security of the model parameters during transmission, preventing potential eavesdropping and tampering, and ensuring the integrity of the model update. It not only enhances the security of the system, but also improves the efficiency and reliability of the model update, so that the participating nodes can receive the latest model parameters in a timely manner, thereby maintaining the optimal video transmission strategy in a constantly changing network environment.

[0106] S502: The participating nodes use the model parameters of the updated control model to perform real-time network status prediction, and generate a video transmission strategy based on the prediction results.

[0107] In this embodiment, the participating nodes use the model parameters of the updated control model to predict the real-time network status and generate corresponding video transmission strategies based on the prediction results. By learning the current and past network status, the control model can predict future network delays, bandwidth, and packet loss rates, thereby guiding the selection of video encoding quality, the adjustment of buffering strategies, and the optimization of transmission paths. For example, if it is predicted that the network delay is about to rise, the control model will recommend increasing the buffer size to avoid interruptions in video playback; if it is predicted that the bandwidth will become unstable, the control model recommends reducing the video resolution to ensure smooth playback. Through real-time prediction and strategy generation, the system can proactively respond to network fluctuations, reduce video freezes and delays, and significantly improve the user's viewing experience.

[0108] S503: The participating nodes perform the video transmission operation according to the generated video transmission strategy, and repeat steps S1 to S5 to continuously optimize the control model to adapt to the dynamic changes of the network status.

[0109] In this embodiment, the participating nodes perform video transmission operations according to the generated video transmission strategy, and at the same time, by repeating steps S1 to S5, the control model is continuously optimized to adapt to the dynamic changes in the network status. With the ability to self-learn and self-improve in a closed loop, the prediction accuracy of the control model and the effectiveness of the control strategy will continue to improve over time; with the ability to continuously adapt to complex network environments and achieve the optimization of video transmission, the closed-loop mechanism ensures that the model can learn from each iteration, gradually enhance its ability to handle complex network conditions, and ultimately achieve a more stable, efficient and high-quality video transmission service.

[0110] The working principle of a video transmission control method based on real-time network status provided by the present invention is as follows: by collecting the real-time network status information of each participating node and adjusting the parameters of the control model using the transfer learning method, the video transmission strategy can be dynamically adjusted according to the changes in the network status to ensure the stability and real-time performance of the video transmission. Through the coordination of the central server, all participating nodes can use a unified and optimized control model for video transmission, thereby avoiding the problem of unstable transmission quality caused by differences in network status between nodes. At the same time, it is suitable for participating nodes in different geographical locations and different network environments, and has strong adaptability and scalability. By optimizing the video transmission strategy, the delay and packet loss rate of video transmission can be reduced, and the clarity and smoothness of video transmission can be improved, thereby enhancing the user's viewing experience.

[0111] Embodiment 2

[0112] The present invention also provides a video transmission control system based on real-time network status, which is applied to a video transmission control method based on real-time network status, comprising a plurality of participating nodes and a central server for the plurality of participating nodes to communicate, and the plurality of participating nodes are distributed in different geographical locations.

[0113] refer to Figure 2 As shown, the control system includes:

[0114] an initial distribution module, for initializing a pre-trained control model and independently distributing the control model to each participating node through the central server;

[0115] A feature extraction module is used to collect network status information of the geographical location of each participating node and extract feature data from the respective network status information, wherein the network status information includes network delay, bandwidth and packet loss rate;

[0116] A parameter adjustment module, used to adjust the model parameters of the respective assigned control models according to the feature data extracted by each participating node by using a transfer learning method and upload the adjusted model parameters to the central server;

[0117] A control model updating module, which is used for the central server to receive the adjusted model parameter differences uploaded by each participating node, fuse the adjusted model parameter differences uploaded by all participating nodes using a weighted average aggregation method, and update the control model according to the fused model parameter differences;

[0118] The application module is used for the central server to apply the updated control model to each participating node, and the participating node uses the updated control model to perform iterative control of video transmission.

[0119] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0120] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0121] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed, or includes elements that are inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device that includes the elements.

Claims

1. A video transmission control method based on real-time network status, comprising a plurality of participating nodes and a central server for the plurality of participating nodes to communicate, wherein the plurality of participating nodes are distributed in different geographical locations, characterized in that: The control method comprises the following steps: S1: Initialize a pre-trained control model and independently distribute the control model to each participating node through the central server; S2: Collecting network status information of the geographical locations of each participating node, and extracting feature data from each network status information, wherein the network status information includes network delay, bandwidth and packet loss rate; S3: According to the feature data extracted by each participating node, the model parameters of the respective assigned control models are adjusted using the transfer learning method and the adjusted model parameters are uploaded to the central server; S4: The central server receives the adjusted model parameter differences uploaded by each participating node, fuses the adjusted model parameter differences uploaded by all participating nodes using a weighted average aggregation method, and updates the control model according to the fused model parameter differences; S5: The central server applies the updated control model to each participating node, and the participating node uses the updated control model to perform iterative control of video transmission.

2. The video transmission control method based on real-time network status according to claim 1, characterized in that: Step S1 specifically includes: S101: collecting historical network status data for pre-training, and using the historical network status data to pre-train a control model based on a neural network until the control model converges; S102: Encrypting the model parameters of the pre-trained control model, and deploying the encrypted control model to the central server; S103: The central server decrypts the control model and sends the decrypted control model to each participating node through a secure channel.

3. The video transmission control method based on real-time network status according to claim 2 is characterized in that: Step S2 specifically includes: S201: collecting network status information of participating nodes according to a preset sampling frequency through a network status monitoring module deployed at each participating node, and preprocessing the sampled network status information; S202: extracting basic features of network delay, bandwidth and packet loss rate, wherein the basic feature of network delay is a percentage change relative to a reference delay, the basic feature of bandwidth is a ratio of current bandwidth to average bandwidth, and the basic feature of packet loss rate is packet loss frequency; S203: Construct time series features based on basic features of network delay, bandwidth and packet loss rate.

4. The video transmission control method based on real-time network status according to claim 3 is characterized in that: Step S3 specifically includes: S301: loading the control model received by the participating nodes, and selectively freezing part of the levels of the control model according to the time series characteristics of the participating nodes; S302: dynamically adjusting the learning rate and regularization parameters of the control model using the time series characteristics of the participating nodes; S303: Calculate the model parameter difference between the model parameters of the adjusted control model and the model parameters of the initial pre-trained control model, and upload the model parameter difference to the central server through a secure communication protocol.

5. The video transmission control method based on real-time network status according to claim 4 is characterized in that: Step S4 specifically includes: S401: The central server receives the model parameter differences securely uploaded from each participating node and obtains the model parameter difference set of each participating node. Where N is the number of participating nodes, Δθ i represents the model parameter difference of the i-th participating node; S402: Determine the weight of each participating node based on the amount of data, and set the weight of the i-th participating node to w i , then S403: Use the weighted average method to fuse the model parameter differences uploaded by all participating nodes. The fusion formula is: Among them, θ is the model parameter of the initial pre-trained control model, Δθ k is the difference in model parameters after fusion; S404: Use the fused model parameter difference to update the control model. The update formula is: in, The model parameters of the current control model, are the model parameters of the updated control model.

6. The video transmission control method based on real-time network status according to claim 5, characterized in that: Step S5 specifically includes: S501: The central server distributes the model parameters of the updated control model to each participating node via a secure communication protocol; S502: The participating nodes use the model parameters of the updated control model to perform real-time network status prediction, and generate a video transmission strategy based on the prediction results: S503: The participating nodes perform the video transmission operation according to the generated video transmission strategy, and repeat steps S1 to S5 to continuously optimize the control model to adapt to the dynamic changes of the network status.

7. A video transmission control system based on real-time network status, applied to the video transmission control method based on real-time network status as claimed in any one of claims 1 to 6, characterized in that: The control system includes a plurality of participating nodes and a central server for communicating with the plurality of participating nodes, wherein the plurality of participating nodes are distributed in different geographical locations, and the control system includes: an initial distribution module, for initializing a pre-trained control model and independently distributing the control model to each participating node through the central server; A feature extraction module is used to collect network status information of the geographical location of each participating node and extract feature data from the respective network status information, wherein the network status information includes network delay, bandwidth and packet loss rate; A parameter adjustment module, used to adjust the model parameters of the respective assigned control models according to the feature data extracted by each participating node by using a transfer learning method and upload the adjusted model parameters to the central server; A control model updating module, which is used for the central server to receive the adjusted model parameter differences uploaded by each participating node, fuse the adjusted model parameter differences uploaded by all participating nodes using a weighted average aggregation method, and update the control model according to the fused model parameter differences; The application module is used for the central server to apply the updated control model to each participating node, and the participating node uses the updated control model to perform iterative control of video transmission.

Citation Information

Patent Citations

  • Universal federal learning implementation method suitable for heterogeneous network

    CN114254761A

  • Transfer learning network model, model training method and model-based monitoring system

    CN114818795A

  • Personalized federal learning method and device for processing unbalanced data

    CN115344883A

  • Intelligent model training method and device

    CN116362334A

  • Code rate adaptive strategy efficient training method based on online federated transfer learning

    CN116938887A

Cited By

  • Adaptive data transmission rate adjusting method and device

    CN119052406A

  • A method and device for adjusting data transmission rate

    CN119052406B

  • Network congestion prediction method and device, electronic equipment and storage medium

    CN119402377A

  • Network congestion prediction method and device, electronic equipment and storage medium

    CN119402377B

  • Internet-based remote video transmission potential safety hazard processing method and system

    CN120512306A