Data transmission method and system based on network adaptive switching
By monitoring network resource status and data transmission requirements in real time, dynamically allocating network resources and selecting the optimal network transmission channel, the problems of rigid network selection, inflexible resource allocation, delayed network switching and low data transmission reliability in the existing technology are solved, and efficient and stable data transmission is achieved.
Patent Information
- Application Number
- CN202510116813.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2045-01-24
AI Technical Summary
The existing data transmission technology has problems such as rigid network selection mechanism, inflexible resource allocation, delayed network switching and low data transmission reliability.
The data transmission method based on network adaptive handover is adopted, and network adaptive handover is realized by monitoring network resource status and data transmission requirements in real time, network resources are dynamically allocated, optimal network transmission channel is selected, and network quality analysis is carried out based on real-time traffic monitoring data to realize network adaptive handover.
It improves the flexibility and efficiency of network selection, optimizes resource usage, reduces network switching delay, ensures the continuity and stability of data transmission, and improves the reliability and integrity of data transmission.
Smart Images

Figure CN119945994A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data transmission, and in particular relates to a data transmission method and system based on network adaptive switching. Background Art
[0002] Data transmission technology is a basic component of the information technology field. Its background and development history are closely related to the development of computer technology, communication technology and network technology. With the development and popularization of information technology, people's lives and work are closely related to data transmission technology. Data transmission technology bears an important responsibility for information interaction in human society. Therefore, how to ensure the reliability and stability of data transmission has become an important development goal in the field of data transmission technology.
[0003] The existing data transmission technology has the following defects: 1) Rigid network selection mechanism: Network selection in existing technologies is often based on fixed rules or preset parameters, which cannot adapt well to dynamically changing network environments. Static network selection strategies cannot fully utilize resources in multi-network environments, resulting in low transmission efficiency. 2) Inflexible resource allocation: Existing technologies fail to take into account the real-time network status when allocating network resources, resulting in unreasonable resource allocation. Static resource allocation strategies cannot be dynamically adjusted according to actual needs, causing waste or shortage of resources. 3) Network switching delay: When the network quality decreases, the network switching process of the existing technology may be delayed, affecting the user experience. The network switching mechanism is not smart enough and cannot adapt to changes in network quality, resulting in untimely switching. 4) Low data transmission reliability: In an unstable network environment, existing technologies cannot guarantee reliable data transmission, and data loss or errors are prone to occur. Summary of the invention
[0004] In order to solve the problems of rigid network selection mechanism, inflexible resource allocation, network switching delay and low data transmission reliability in the prior art, the present invention aims to provide a data transmission method and system based on network adaptive switching.
[0005] The technical solution adopted by the present invention is: A data transmission method based on network adaptive switching comprises the following steps: The first data transmission device as the sender confirms the second data transmission device as the receiver, and configures a plurality of preset network transmission channels between the first data transmission device and the second data transmission device; The first data transmission device dynamically allocates network resources according to the real-time network resource status and real-time data transmission requirements of each preset network transmission channel to obtain a real-time network resource dynamic allocation plan; The first data transmission device executes a real-time network resource dynamic allocation scheme, selects an optimal network transmission channel, and sends the real-time data to be transmitted to the second data transmission device based on the optimal network transmission channel; The first data transmission device performs network quality analysis based on real-time traffic monitoring data of the optimal network transmission channel, and performs network adaptive switching based on the obtained real-time network quality analysis results.
[0006] Furthermore, the first data transmission device as the sender confirms the second data transmission device as the receiver, and configures a plurality of preset network transmission channels between the first data transmission device and the second data transmission device, including the following steps: The first data transmission device as the sender confirms the second data transmission device as the receiver and obtains the second transmission IP address of the second data transmission device; Identifying a number of available alternative network transmission channels between a first transmission IP address of a first data transmission device and a second transmission IP address of a second data transmission device; Collecting first real-time transmission performance data of the candidate network transmission channels, and sorting the candidate network transmission channels in descending order according to the first real-time transmission performance data to obtain a list of candidate network transmission channels; The first several candidate network transmission channels in the candidate network transmission channel list are selected as preset network transmission channels, and a preset network transmission channel list including the several preset network transmission channels is obtained.
[0007] Furthermore, the first data transmission device dynamically allocates network resources according to the real-time network resource status and real-time data transmission requirements of each preset network transmission channel to obtain a real-time network resource dynamic allocation scheme, including the following steps: The first data transmission device confirms the real-time data transmission demand and collects the real-time network resource status of each preset network transmission channel in the preset network transmission channel list; According to a number of real-time network resource states and real-time data transmission requirements, a pre-trained network resource dynamic allocation model is updated to obtain an updated network resource dynamic allocation model; An updated network resource dynamic allocation model is used to dynamically allocate network resources and obtain a real-time network resource dynamic allocation solution.
[0008] Furthermore, the network resource dynamic allocation model is constructed based on the MPO-DQN algorithm, and the network resource dynamic allocation model includes a meta-strategy optimization module constructed based on the MPO algorithm and a reinforcement learning module constructed based on the DQN algorithm, the reinforcement learning module is provided with an intelligent agent, a deep Q network and an experience replay pool, the intelligent agent is respectively connected to the deep Q network, the experience replay pool and the meta-strategy optimization module, and the meta-strategy optimization module is connected to the experience replay pool; The training method of the network resource dynamic allocation model includes the following steps: Collect some historical data transmission requirements and some historical network resource status, set the historical data transmission requirements as the scenario for meta-strategy optimization, and use the MPO algorithm to build the initial meta-strategy optimization module; In several scenarios, use several historical network resource states to train the initial meta-strategy optimization module, obtain the final meta-strategy optimization module, and generate several historical meta-strategy optimization experiences; The dynamic allocation of network resources is used as the simulation environment of the DQN algorithm. The state space of the DQN algorithm is defined according to several historical network resource states, and the action space of the DQN algorithm is defined according to several preset network resource allocation actions. Based on the impact of the preset network resource allocation action on the historical network resource status, define the reward function of the DQN algorithm, use the final meta-strategy optimization module to generate the initial deep Q network, and build the initial reinforcement learning module based on the initial deep Q network; Based on the state space, action space and reward function, the initial reinforcement learning module is trained using several historical network resource states to obtain the final reinforcement learning module and generate several historical reinforcement learning experiences; Several historical meta-strategy optimization experiences and several historical reinforcement learning experiences are stored in the experience replay pool of the final reinforcement learning module, and the final meta-strategy optimization module and the final reinforcement learning module are integrated to obtain a network resource dynamic allocation model.
[0009] Further, according to a number of real-time network resource states and real-time data transmission requirements, the pre-trained network resource dynamic allocation model is updated to obtain an updated network resource dynamic allocation model, including the following steps: According to the real-time data transmission requirements, search and match in the experience replay pool to obtain the real-time meta-strategy optimization experience and real-time reinforcement learning experience of successful matching; Based on the experience of real-time meta-strategy optimization, the meta-strategy optimization module is used to update the deep Q network of the pre-trained network resource dynamic allocation model to obtain an updated deep Q network; Generate an updated action space based on real-time reinforcement learning experience, and generate an updated state space based on the status of several real-time network resources; Integrating the updated deep Q network, the updated action space, and the updated state space, we obtain an updated network resource dynamic allocation model.
[0010] Furthermore, using the updated network resource dynamic allocation model to dynamically allocate network resources, a real-time network resource dynamic allocation solution is obtained, including the following steps: Using an agent of the updated network resource dynamic allocation model, controlling an updated deep Q network, generating a Q value for each possible real-time network resource allocation action in the updated action space for each real-time network resource state in the updated state space; According to the reward function, obtain the reward value of each possible real-time network resource allocation action for each real-time network resource state, and update the corresponding Q value according to the reward value to obtain an updated Q value; Repeat the above Q value updating steps until the number of iterations reaches the iteration number threshold, and obtain the final Q value of each possible real-time network resource allocation action for each real-time network resource state; Using a greedy strategy, select the possible real-time network resource allocation action corresponding to the highest final Q value as the execution real-time network resource allocation action corresponding to the real-time network resource state; Integrate all real-time network resource states to execute real-time network resource allocation actions and obtain a real-time network resource dynamic allocation plan.
[0011] Further, the first data transmission device executes a real-time network resource dynamic allocation scheme, selects an optimal network transmission channel, and sends the real-time data to be transmitted to the second data transmission device based on the optimal network transmission channel, including the following steps: The first data transmission device performs network resource allocation on all preset network transmission channel lists in the preset network transmission channel list according to all execution real-time network resource allocation actions of the real-time network resource dynamic allocation scheme, and obtains a plurality of running network transmission channels; collecting second real-time transmission performance data of the operating network transmission channel, and selecting an optimal network transmission channel from among the plurality of operating network transmission channels according to the second real-time transmission performance data; Confirm the real-time data to be transmitted, and send the real-time data to be transmitted to the second data transmission device based on the optimal network transmission channel.
[0012] Further, the first data transmission device performs network quality analysis based on the real-time traffic monitoring data of the optimal network transmission channel, and performs network adaptive switching based on the obtained real-time network quality analysis results, including the following steps: A first data transmission device collects real-time traffic monitoring data of an optimal network transmission channel and inputs the real-time traffic monitoring data into a pre-trained network quality analysis model; According to the real-time traffic monitoring data, use the network quality analysis model to perform network quality analysis and obtain real-time network quality analysis results; If the real-time network quality analysis result is that the network quality is poor, the optimal network transmission channel is switched to the next preset network transmission channel in the preset network transmission channel list.
[0013] Furthermore, the network quality analysis model is constructed based on the RF-MLP algorithm, and the network quality analysis model includes a key feature screening module constructed based on the RF algorithm and a network quality analysis module constructed based on the MLP algorithm, which are connected in sequence.
[0014] A data transmission system based on network adaptive switching is used to implement a data transmission method. The system is arranged in a data transmission device, and the system comprises a network transmission channel configuration unit, a network resource dynamic allocation unit, a data transmission unit and a network adaptive switching unit which are connected in sequence.
[0015] The beneficial effects of the present invention are: The present invention provides a data transmission method and system based on network adaptive switching, which can dynamically select the optimal network transmission channel according to the real-time network resource status and data transmission requirements, thereby improving the flexibility and efficiency of network selection; through real-time monitoring of the network status, dynamic allocation of network resources is realized, resource utilization is optimized, and the overall performance of data transmission is improved; network adaptive switching is realized, the delay of network switching is reduced, and it is possible to quickly switch to a backup network channel when the network quality decreases, thereby ensuring the continuity and stability of data transmission; through intelligent network quality analysis, the reliability of data transmission is improved, data loss and errors are reduced, and data integrity is ensured.
[0016] Other beneficial effects of the present invention will be further described in the specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a flowchart of the data transmission method based on network adaptive switching in the present invention.
[0018] Figure 2 It is a structural block diagram of a data transmission system based on network adaptive switching in the present invention. DETAILED DESCRIPTION
[0019] The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments.
[0020] Embodiment 1: like Figure 1 As shown, this embodiment provides a data transmission method based on network adaptive switching, comprising the following steps: S1: A first data transmission device as a sender identifies a second data transmission device as a receiver, and configures a plurality of preset network transmission channels between the first data transmission device and the second data transmission device, including the following steps: S1-1: The first data transmission device as the sender confirms the second data transmission device as the receiver and obtains the second transmission IP address of the second data transmission device; S1-2: Identify a number of available alternative network transmission channels between a first transmission IP address of a first data transmission device and a second transmission IP address of a second data transmission device; Network transmission channels include Wi-Fi, 4G, 5G, wired network, Bluetooth, and Ethernet; S1-3: collecting first real-time transmission performance data of the candidate network transmission channels, and sorting the candidate network transmission channels in descending order according to the first real-time transmission performance data to obtain a list of candidate network transmission channels; Transmission performance data includes performance parameters such as bandwidth, delay, packet loss rate, signal strength, signal stability, and data transmission rate of the network transmission channel. It is used to evaluate the reliability and stability of the network transmission channel for data transmission. It is an inherent and static characteristic of the network transmission channel and reflects the transmission capacity and limitations of the network transmission channel. S1-4: Selecting the first several candidate network transmission channels in the candidate network transmission channel list as preset network transmission channels, and obtaining a preset network transmission channel list including several preset network transmission channels; S2: The first data transmission device dynamically allocates network resources according to the real-time network resource status and real-time data transmission requirements of each preset network transmission channel to obtain a real-time network resource dynamic allocation scheme, including the following steps: S2-1: The first data transmission device confirms the real-time data transmission demand and collects the real-time network resource status of each preset network transmission channel in the preset network transmission channel list; The data transmission requirements include the size, type, format, delay threshold, etc. of the data to be transmitted, and the network resource status includes the data flow allocation status of the network transmission channel, the transmission node status, the network resource occupancy status, and the network resource remaining status; S2-2: updating the pre-trained network resource dynamic allocation model according to a number of real-time network resource states and real-time data transmission requirements to obtain an updated network resource dynamic allocation model; The network resource dynamic allocation model is constructed based on the Meta-Policy Optimization (MPO)-Deep Q Network (DQN) algorithm, and the network resource dynamic allocation model includes a meta-policy optimization module constructed based on the MPO algorithm and a reinforcement learning module constructed based on the DQN algorithm. The reinforcement learning module is provided with an intelligent agent, a deep Q network and an experience replay pool. The intelligent agent is connected to the deep Q network, the experience replay pool and the meta-policy optimization module respectively, and the meta-policy optimization module is connected to the experience replay pool. The meta-strategy optimization module is used to optimize the deep Q network parameters in the reinforcement learning module so that these parameters can quickly adapt to new and unseen network resource states, improve the generalization ability of the model, and update the deep Q network based on previous learning experience even in unseen network resource states; through meta-strategy optimization, the DQN algorithm can converge faster, reduce the amount of data and time required for training, and significantly improve learning efficiency; the reinforcement learning module uses previous learning experience to output and select appropriate network resource allocation actions based on the real-time network resource state; The training method of the network resource dynamic allocation model includes the following steps: A-1: Collect some historical data transmission requirements and some historical network resource states, set the historical data transmission requirements as the scenario for meta-policy optimization, and use the MPO algorithm to build the initial meta-policy optimization module; A-2: In several scenarios, use several historical network resource states to train the initial meta-strategy optimization module, obtain the final meta-strategy optimization module, and generate several historical meta-strategy optimization experiences; A-3: Use the dynamic allocation of network resources as the simulation environment of the DQN algorithm. Define the state space of the DQN algorithm based on several historical network resource states. Define the action space of the DQN algorithm based on several preset network resource allocation actions. A-4: Define the reward function of the DQN algorithm based on the impact of the preset network resource allocation action on the historical network resource status, use the final meta-strategy optimization module to generate the initial deep Q network, and build the initial reinforcement learning module based on the initial deep Q network; A-5: Based on the state space, action space and reward function, use several historical network resource states to train the initial reinforcement learning module, obtain the final reinforcement learning module, and generate several historical reinforcement learning experiences; A-6: Store several historical meta-strategy optimization experiences and several historical reinforcement learning experiences in the experience replay pool of the final reinforcement learning module, and integrate the final meta-strategy optimization module and the final reinforcement learning module to obtain a network resource dynamic allocation model; According to a number of real-time network resource states and real-time data transmission requirements, a pre-trained network resource dynamic allocation model is updated to obtain an updated network resource dynamic allocation model, including the following steps: S2-2-1: According to the real-time data transmission requirements, search and match in the experience replay pool to obtain the real-time meta-strategy optimization experience and real-time reinforcement learning experience that are successfully matched; S2-2-2: Based on the real-time meta-strategy optimization experience, use the meta-strategy optimization module to update the deep Q network of the pre-trained network resource dynamic allocation model to obtain an updated deep Q network; S2-2-3: Generate updated action space based on real-time reinforcement learning experience ,in, For the updated Action value, is the action indicator, is the total number of action space dimensions, and generates an updated state space based on several real-time network resource states ,in, For the updated Status value, is the state indicator, is the total number of state space dimensions; S2-2-4: Integrate the updated deep Q network, the updated action space, and the updated state space to obtain an updated network resource dynamic allocation model; S2-3: Using the updated network resource dynamic allocation model to dynamically allocate network resources, and obtaining a real-time network resource dynamic allocation solution, including the following steps: S2-3-1: Use the agent of the updated network resource dynamic allocation model to control the updated deep Q network to generate the Q value of each possible real-time network resource allocation action in the updated action space for each real-time network resource state in the updated state space; S2-3-2: According to the reward function, obtain the reward value of each possible real-time network resource allocation action for each real-time network resource state, and update the corresponding Q value according to the reward value to obtain an updated Q value; The formula is:
[0021] In the formula, The updated status value and the updated action value The corresponding updated Q value; Status value and action value The corresponding Q value; is the learning rate; is the highest predicted Q value; It is a comprehensive indicator; To update the parameters; To use the updated action value The state value Transform to updated state value The reward value of S2-3-3: Repeat the above Q value update steps until the number of iterations reaches the iteration number threshold, and obtain the final Q value of each possible real-time network resource allocation action for each real-time network resource state; S2-3-4: using a greedy strategy, selecting the possible real-time network resource allocation action corresponding to the highest final Q value as the execution real-time network resource allocation action corresponding to the real-time network resource state; S2-3-5: Integrate all real-time network resource states to execute real-time network resource allocation actions and obtain a real-time network resource dynamic allocation plan; The dynamic allocation scheme of network resources includes data flow allocation adjustment actions, transmission node replacement actions, and network resource allocation actions; S3: The first data transmission device executes a real-time network resource dynamic allocation scheme, selects an optimal network transmission channel, and sends the real-time data to be transmitted to the second data transmission device based on the optimal network transmission channel, including the following steps: S3-1: The first data transmission device performs network resource allocation on all preset network transmission channel lists in the preset network transmission channel list according to all execution real-time network resource allocation actions of the real-time network resource dynamic allocation scheme, and obtains a plurality of running network transmission channels; S3-2: collecting second real-time transmission performance data of the operating network transmission channel, and selecting an optimal network transmission channel from a plurality of operating network transmission channels according to the second real-time transmission performance data; S3-3: confirming the real-time data to be transmitted, and sending the real-time data to be transmitted to the second data transmission device based on the optimal network transmission channel; S4: The first data transmission device performs network quality analysis based on the real-time traffic monitoring data of the optimal network transmission channel, and performs network adaptive switching based on the obtained real-time network quality analysis results, including the following steps: S4-1: a first data transmission device collects real-time traffic monitoring data of an optimal network transmission channel and inputs the real-time traffic monitoring data into a pre-trained network quality analysis model; The network quality analysis model is constructed based on the Random Forest (RF)-Attention-Multilayer Perceptron (MLP) algorithm, and the network quality analysis model includes a key feature screening module constructed based on the RF algorithm and a network quality analysis module constructed based on the MLP algorithm, which are connected in sequence; The key feature screening module screens the feature components of the input traffic monitoring data through the internal Classification And Regression Tree (CART), which can process a large number of feature components, generate the key feature importance score of each feature component, and select the most stable and discriminative key feature components according to the key feature importance score. The trained key feature screening module can directly screen the newly input traffic monitoring data according to the selected key features to obtain the corresponding key features; the MLP network, as a fully connected network, can perform accurate and efficient label prediction based on the key features; The training method of the network quality analysis model includes the following steps: B-1: Use the RF-MLP algorithm to build an initial network quality analysis model; the initial network quality analysis model includes an initial key feature screening module and an initial network quality analysis module; B-2: Collect some historical traffic monitoring data, and train the initial key feature screening module based on the historical traffic monitoring data to obtain several key feature indicators, several historical key features of each historical traffic monitoring data, and the final key feature screening module, including the following steps: B-2-1: Collect some historical flow monitoring data, and pre-process some historical flow monitoring data to obtain some pre-processed historical flow monitoring data; B-2-2: Use the RF structure in the key feature screening module to extract the feature contribution of M candidate features in the pre-processed historical traffic monitoring data; The formula is:
[0022] In the formula, For the Feature contribution of candidate features; For the The candidate features are in the random forest The feature contribution of each tree; is the CART tree indicator; is an alternative characteristic indicator; is the total number of CARTs;
[0023] In the formula, CART tree node for random forest m ,node and nodes The Gini index of CART tree node m Medium Category The proportion of is the total number of categories; m , , is the node indicator; is the category indicator; B-2-3: Normalize the feature contributions of the M candidate features to obtain corresponding normalized feature contributions; The formula is:
[0024] In the formula, It is the contribution of the feature after normalization; J is the total number of candidate features; B-2-4: Generate feature selection standard values for several candidate features based on the normalized feature contribution; The formula is:
[0025] In the formula, For the Feature selection criterion values for candidate features; For the The normalized feature contribution of the candidate features; is an alternative characteristic indicator; B-2-5: According to the feature selection standard value, the candidate features are sorted in descending order, and the feature indicators corresponding to the first M candidate features are selected as key feature indicators to obtain M key feature indicators; B-2-6: According to the M key feature indicators, key feature screening is performed on each pre-processed historical traffic monitoring data to obtain a number of corresponding historical key features; B-2-6: Traverse all pre-processed historical traffic monitoring data to obtain the final key feature screening module; B-3: Based on several historical key features of all pre-processed historical traffic monitoring data, the initial network quality analysis module is trained to obtain the final network quality analysis module; B-4: Integrate the final key feature screening module and the final network quality analysis module to obtain the final network quality analysis model; S4-2: Based on the real-time traffic monitoring data, use the network quality analysis model to perform network quality analysis to obtain real-time network quality analysis results, including the following steps: S4-2-1: Input the real-time traffic monitoring data into the network quality analysis model; Traffic monitoring data includes traffic packet data of the optimal network transmission channel, traffic transmission frequency data, transmission node distribution traffic data, etc. Traffic monitoring data belongs to the dynamic characteristics of the network transmission channel. Compared with transmission performance data, traffic monitoring data reflects the real-time status of the network transmission channel; S4-2-2: Based on several key feature indicators obtained through training, a key feature screening module is used to extract several real-time key features of real-time traffic monitoring data; Key characteristic indicators include traffic packet characteristics, transmission frequency characteristics, distribution traffic address characteristics, traffic source characteristics, etc. S4-2-3: Based on several real-time key features, use the network quality analysis module to perform network quality analysis and obtain real-time network quality analysis results; The network quality analysis results include poor network quality, good network quality, excellent network quality, the presence of network attacks, and the types of network attacks; S4-3: If the real-time network quality analysis result is that the network quality is poor, the optimal network transmission channel is switched to the next preset network transmission channel in the preset network transmission channel list.
[0026] Embodiment 2: like Figure 2 As shown, this embodiment provides a data transmission system based on network adaptive switching, which is used to implement a data transmission method. The system is arranged in a data transmission device, and the system includes a network transmission channel configuration unit, a network resource dynamic allocation unit, a data transmission unit and a network adaptive switching unit which are connected in sequence; A network transmission channel configuration unit, used to confirm the second data transmission device as the receiver at the first data transmission device as the sender, and configure a plurality of preset network transmission channels between the first data transmission device and the second data transmission device; A network resource dynamic allocation unit, used to dynamically allocate network resources according to the real-time network resource status and real-time data transmission requirements of each preset network transmission channel, and obtain a real-time network resource dynamic allocation plan; A data transmission unit, used to execute a real-time network resource dynamic allocation scheme, select an optimal network transmission channel, and send the real-time data to be transmitted to a second data transmission device based on the optimal network transmission channel; The network adaptive switching unit is used to perform network quality analysis based on the real-time traffic monitoring data of the optimal network transmission channel, and perform network adaptive switching based on the obtained real-time network quality analysis results.
[0027] The present invention provides a data transmission method and system based on network adaptive switching, which can dynamically select the optimal network transmission channel according to the real-time network resource status and data transmission requirements, thereby improving the flexibility and efficiency of network selection; through real-time monitoring of the network status, dynamic allocation of network resources is realized, resource utilization is optimized, and the overall performance of data transmission is improved; network adaptive switching is realized, the delay of network switching is reduced, and it is possible to quickly switch to a backup network channel when the network quality decreases, thereby ensuring the continuity and stability of data transmission; through intelligent network quality analysis, the reliability of data transmission is improved, data loss and errors are reduced, and data integrity is ensured.
[0028] The present invention is not limited to the above optional implementations, and anyone can derive other various forms of products under the enlightenment of the present invention. The above specific implementations should not be understood as limiting the scope of protection of the present invention. The scope of protection of the present invention should be based on the definition in the claims, and the description can be used to interpret the claims.
Claims
1. A data transmission method based on network adaptive switching, characterized in that: The steps include: The first data transmission device as the sender confirms the second data transmission device as the receiver, and configures a plurality of preset network transmission channels between the first data transmission device and the second data transmission device; The first data transmission device dynamically allocates network resources according to the real-time network resource status and real-time data transmission requirements of each preset network transmission channel to obtain a real-time network resource dynamic allocation plan; The first data transmission device executes a real-time network resource dynamic allocation scheme, selects an optimal network transmission channel, and sends the real-time data to be transmitted to the second data transmission device based on the optimal network transmission channel; The first data transmission device performs network quality analysis based on real-time traffic monitoring data of the optimal network transmission channel, and performs network adaptive switching based on the obtained real-time network quality analysis results.
2. A data transmission method based on network adaptive switching according to claim 1, characterized in that: A first data transmission device as a sender identifies a second data transmission device as a receiver, and configures a plurality of preset network transmission channels between the first data transmission device and the second data transmission device, including the following steps: The first data transmission device as the sender confirms the second data transmission device as the receiver and obtains the second transmission IP address of the second data transmission device; Identifying a number of available alternative network transmission channels between a first transmission IP address of a first data transmission device and a second transmission IP address of a second data transmission device; Collecting first real-time transmission performance data of the candidate network transmission channels, and sorting the candidate network transmission channels in descending order according to the first real-time transmission performance data to obtain a list of candidate network transmission channels; The first several candidate network transmission channels in the candidate network transmission channel list are selected as preset network transmission channels, and a preset network transmission channel list including the several preset network transmission channels is obtained.
3. A data transmission method based on network adaptive switching according to claim 2, characterized in that: The first data transmission device dynamically allocates network resources according to the real-time network resource status and real-time data transmission requirements of each preset network transmission channel to obtain a real-time network resource dynamic allocation scheme, including the following steps: The first data transmission device confirms the real-time data transmission demand and collects the real-time network resource status of each preset network transmission channel in the preset network transmission channel list; According to a number of real-time network resource states and real-time data transmission requirements, a pre-trained network resource dynamic allocation model is updated to obtain an updated network resource dynamic allocation model; An updated network resource dynamic allocation model is used to dynamically allocate network resources and obtain a real-time network resource dynamic allocation solution.
4. A data transmission method based on network adaptive switching according to claim 3, characterized in that: The network resource dynamic allocation model is constructed based on the MPO-DQN algorithm, and the network resource dynamic allocation model includes a meta-strategy optimization module constructed based on the MPO algorithm and a reinforcement learning module constructed based on the DQN algorithm. The reinforcement learning module is provided with an intelligent agent, a deep Q network and an experience replay pool. The intelligent agent is respectively connected to the deep Q network, the experience replay pool and the meta-strategy optimization module, and the meta-strategy optimization module is connected to the experience replay pool; The training method of the network resource dynamic allocation model comprises the following steps: Collect some historical data transmission requirements and some historical network resource status, set the historical data transmission requirements as the scenario for meta-strategy optimization, and use the MPO algorithm to build the initial meta-strategy optimization module; In several scenarios, use several historical network resource states to train the initial meta-strategy optimization module, obtain the final meta-strategy optimization module, and generate several historical meta-strategy optimization experiences; The dynamic allocation of network resources is used as the simulation environment of the DQN algorithm. The state space of the DQN algorithm is defined according to several historical network resource states, and the action space of the DQN algorithm is defined according to several preset network resource allocation actions. Based on the impact of the preset network resource allocation action on the historical network resource status, define the reward function of the DQN algorithm, use the final meta-strategy optimization module to generate the initial deep Q network, and build the initial reinforcement learning module based on the initial deep Q network; Based on the state space, action space and reward function, the initial reinforcement learning module is trained using several historical network resource states to obtain the final reinforcement learning module and generate several historical reinforcement learning experiences; Several historical meta-strategy optimization experiences and several historical reinforcement learning experiences are stored in the experience replay pool of the final reinforcement learning module, and the final meta-strategy optimization module and the final reinforcement learning module are integrated to obtain a network resource dynamic allocation model.
5. A data transmission method based on network adaptive switching according to claim 4, characterized in that: According to a number of real-time network resource states and real-time data transmission requirements, a pre-trained network resource dynamic allocation model is updated to obtain an updated network resource dynamic allocation model, including the following steps: According to the real-time data transmission requirements, search and match in the experience replay pool to obtain the real-time meta-strategy optimization experience and real-time reinforcement learning experience of successful matching; Based on the experience of real-time meta-strategy optimization, the meta-strategy optimization module is used to update the deep Q network of the pre-trained network resource dynamic allocation model to obtain an updated deep Q network; Generate an updated action space based on real-time reinforcement learning experience, and generate an updated state space based on the status of several real-time network resources; Integrating the updated deep Q network, the updated action space, and the updated state space, we obtain an updated network resource dynamic allocation model.
6. A data transmission method based on network adaptive switching according to claim 5, characterized in that: Using the updated network resource dynamic allocation model to dynamically allocate network resources, a real-time network resource dynamic allocation solution is obtained, including the following steps: Using an agent of the updated network resource dynamic allocation model, controlling an updated deep Q network, generating a Q value for each possible real-time network resource allocation action in the updated action space for each real-time network resource state in the updated state space; According to the reward function, obtain the reward value of each possible real-time network resource allocation action for each real-time network resource state, and update the corresponding Q value according to the reward value to obtain an updated Q value; Repeat the above Q value updating steps until the number of iterations reaches the iteration number threshold, and obtain the final Q value of each possible real-time network resource allocation action for each real-time network resource state; Using a greedy strategy, select the possible real-time network resource allocation action corresponding to the highest final Q value as the execution real-time network resource allocation action corresponding to the real-time network resource state; Integrate all real-time network resource states to execute real-time network resource allocation actions and obtain a real-time network resource dynamic allocation plan.
7. A data transmission method based on network adaptive switching according to claim 6, characterized in that: The first data transmission device executes a real-time network resource dynamic allocation scheme, selects an optimal network transmission channel, and sends real-time data to be transmitted to a second data transmission device based on the optimal network transmission channel, including the following steps: The first data transmission device performs network resource allocation on all preset network transmission channel lists in the preset network transmission channel list according to all execution real-time network resource allocation actions of the real-time network resource dynamic allocation scheme, and obtains a plurality of running network transmission channels; collecting second real-time transmission performance data of the operating network transmission channel, and selecting an optimal network transmission channel from among the plurality of operating network transmission channels according to the second real-time transmission performance data; Confirm the real-time data to be transmitted, and send the real-time data to be transmitted to the second data transmission device based on the optimal network transmission channel.
8. A data transmission method based on network adaptive switching according to claim 7, characterized in that: The first data transmission device performs network quality analysis based on real-time traffic monitoring data of the optimal network transmission channel, and performs network adaptive switching based on the obtained real-time network quality analysis results, including the following steps: A first data transmission device collects real-time traffic monitoring data of an optimal network transmission channel and inputs the real-time traffic monitoring data into a pre-trained network quality analysis model; According to the real-time traffic monitoring data, use the network quality analysis model to perform network quality analysis and obtain real-time network quality analysis results; If the real-time network quality analysis result is that the network quality is poor, the optimal network transmission channel is switched to the next preset network transmission channel in the preset network transmission channel list.
9. A data transmission method based on network adaptive switching according to claim 8, characterized in that: The network quality analysis model is constructed based on the RF-MLP algorithm, and the network quality analysis model includes a key feature screening module constructed based on the RF algorithm and a network quality analysis module constructed based on the MLP algorithm, which are connected in sequence.
10. A data transmission system based on network adaptive switching, used to implement the data transmission method according to any one of claims 1 to 9, characterized in that: The system is arranged in a data transmission device, and the system comprises a network transmission channel configuration unit, a network resource dynamic allocation unit, a data transmission unit and a network adaptive switching unit which are connected in sequence.
Citation Information
Patent Citations
Multilink multi-channel transmission method and system for real-time audio and video signals of unreliable network
CN102255884A
Network route selection method and network route selection system
CN105959218A
Multipath data transmission method
CN107682886A
Data transmission method, device and equipment and storage medium
CN110233937A
Dynamic adaptive network traffic management system and method
CN118055024A