Data transmission method based on Wifi-Direct network and related equipment
By performing broadcast scanning and topological analysis of virtual receiving devices of Wifi-Direct networks, combined with dynamic path planning and bandwidth estimation, the problem of difficult to guarantee data transmission quality in complex network environments is solved, and efficient and stable data transmission is achieved.
Patent Information
- Application Number
- CN202411493715.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-01-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing Wifi-Direct data transmission method is difficult to ensure the quality of data transmission in complex network environments, and is greatly affected by the network topology and equipment distance, and the transmission path planning fails to fully consider real-time bandwidth requirements and network load.
By broadcasting scans on virtual receiving devices that support Wifi-Direct networks, analyzing network topology, dynamic path planning and bandwidth estimation, monitoring link quality in real time, generating transmission quality evaluation reports, and optimizing data transmission paths based on the report to achieve the pre-premise Set quality level.
It improves the stability and efficiency of data transmission, ensures that the transmission quality meets the expected standards, reduces delay and packet loss, and realizes efficient data transmission in complex network environments.
Smart Images

Figure CN119300115A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and in particular to a data transmission method based on a Wifi-Direct network and related equipment. Background Art
[0002] In modern wireless networks, Wifi-Direct technology has attracted widespread attention because it does not rely on traditional Wi-Fi access points. It allows devices to transmit data directly through Wi-Fi connections, thereby simplifying the network setup and connection process. However, existing Wifi-Direct data transmission methods face several problems in practical applications. First, the connection stability and data transmission efficiency between devices are often affected by the complexity of the network topology and the distance between devices, making it difficult to ensure the quality of data transmission.
[0003] In addition, existing transmission path planning methods usually fail to fully consider real-time bandwidth requirements and network load conditions, which may lead to unreasonable transmission path planning. Bandwidth estimation and transmission quality assessment are also a challenge, because in a dynamic network environment, bandwidth changes and interference have a great impact on transmission results. These problems make it possible that data transmission results may not meet users' expectations for transmission quality.
[0004] In view of these problems, it is particularly important to optimize the network data transmission method based on Wifi-Direct. By introducing dynamic path optimization and bandwidth estimation technology, the stability and efficiency of data transmission can be improved, ensuring that the transmission quality meets the preset standards. Therefore, in-depth research on how to perform effective data transmission path planning and quality evaluation in complex network environments will be the key to improving the practical application effect of Wifi-Direct technology. Summary of the invention
[0005] The main purpose of the present invention is to provide a data transmission method and related equipment based on a Wifi-Direct network, which solves the technical problem that the connection stability and data transmission efficiency between devices are often affected by the complexity of the network topology and the distance between devices, resulting in difficulty in ensuring the data transmission quality.
[0006] To achieve the above object, the present invention provides a data transmission method based on a Wifi-Direct network, comprising the following steps: Performing broadcast scanning on virtual receiving devices supporting the Wifi-Direct network to obtain a list of virtual receiving devices, and analyzing the connection relationship between the virtual receiving devices and virtual bus devices based on the list of virtual receiving devices to obtain a network topology structure; Performing path planning for data transmission between the virtual receiving device and the virtual bus device based on the network topology structure to obtain a data transmission path; Performing bandwidth estimation on the data transmission path to obtain available bandwidth of a link within the data transmission path; Performing data transmission between the virtual receiving device and the virtual bus device by using the available bandwidth to obtain a data transmission result, and performing a transmission quality evaluation on the data transmission result to obtain a transmission quality evaluation report; If the transmission quality assessment report shows that the data transmission result is not within the preset quality level range, the data transmission path is optimized based on the transmission quality assessment report to obtain a data transmission result within the preset quality level range.
[0007] Further, a broadcast scan is performed on virtual receiving devices supporting the Wifi-Direct network to obtain a list of virtual receiving devices. Based on the list of virtual receiving devices, a connection relationship between the virtual receiving devices and virtual bus devices is analyzed to obtain a network topology structure, including: Initiate broadcast detection, perform broadcast scanning on virtual receiving devices in the Wifi-Direct network, and obtain a list of virtual receiving devices; wherein the list of virtual receiving devices includes an identifier of the virtual receiving device, a signal strength, and a type of the virtual receiving device; Using a preset channel spectrum analyzer, based on the virtual receiving device list, the signal strength and interference between the virtual receiving device and the virtual bus device are analyzed to obtain channel characteristic data; The connection relationship between the virtual receiving device and the virtual bus device is analyzed through the channel characteristic data to obtain an adjacency graph; The adjacency graph is matrix-constructed by a preset topology matrix model to obtain an adjacency matrix; wherein the rows of the adjacency matrix represent virtual receiving devices or virtual bus devices, the columns of the adjacency matrix represent virtual receiving devices, the non-zero elements in the adjacency matrix represent the weight of the communication connection between the virtual receiving device and the virtual bus device or the weight of the communication connection between the virtual receiving device and the virtual receiving device, and the zero elements in the adjacency matrix represent that there is no direct communication connection between the virtual receiving device and the virtual bus device or there is no direct communication connection between the virtual receiving device and the virtual receiving device; The adjacency matrix is optimized in time sequence using a dynamic topology optimization algorithm to obtain a network topology structure.
[0008] Further, based on the network topology structure, path planning is performed for data transmission between the virtual receiving device and the virtual bus device to obtain a data transmission path, including: Modeling the network topology structure to obtain a path diagram; The cost of each path in the path graph is evaluated by a preset cost function to obtain a path cost evaluation result; If the path cost evaluation result is within a preset cost range, path planning is performed for data transmission between the virtual receiving device and the virtual bus device based on each path in the path graph to obtain a preliminary planned path set; Reasonably distribute the traffic in the preliminary planned path set to obtain a preliminary data transmission path; Performing validity verification on the data transmission path to obtain a verification result; If the verification result shows that the data transmission path is valid, the preliminary data transmission path is used as the data transmission path.
[0009] Further, bandwidth estimation is performed on the data transmission path to obtain available bandwidth of each link in the data transmission path, including: Performing real-time link quality monitoring on the data transmission path to obtain a link quality report; Calculate the instantaneous available bandwidth of the link based on the link quality report; Convert the instantaneous available bandwidth into a vector format to obtain a link instantaneous bandwidth vector; Bandwidth resources are allocated based on the link instantaneous bandwidth vector to obtain the available bandwidth of each link in the data transmission path.
[0010] Further, data transmission is performed between the virtual receiving device and the virtual bus device using the available bandwidth to obtain a data transmission result, and a transmission quality evaluation is performed on the data transmission result to obtain a transmission quality evaluation report, including: Acquire the transmission data between the virtual bus device and the virtual receiving device, and encrypt the transmission data to obtain an encrypted data packet; Segmenting the encrypted data packet to obtain a plurality of segmented data packets; Allocating a plurality of segmented data packets through the transmission path to obtain an allocation scheme; Based on the allocation scheme, each of the segmented data packets is transmitted in the virtual receiving device and the virtual bus device to obtain the transmission result of the corresponding segmented data packet; Summarizing the transmission results of the corresponding segmented data packets to obtain an overall data transmission result; Performing a preliminary evaluation of the transmission quality of the overall data transmission result to obtain preliminary transmission quality data; Analyze the key indicators in the transmission process through preliminary transmission quality data to obtain key quality indicators; wherein the key indicators include delay, packet loss rate, and bandwidth utilization; Comprehensively evaluate key quality indicators to obtain comprehensive transmission quality evaluation results; A transmission quality assessment report is obtained based on the comprehensive transmission quality assessment result.
[0011] Further, the data transmission path is optimized based on the transmission quality evaluation report to obtain a data transmission result within a preset quality level range, including: Using a preset data analysis tool, the network bottleneck nodes on the transmission path are identified based on the transmission quality assessment report to obtain a bottleneck identification report; wherein the network bottleneck nodes include nodes with insufficient bandwidth, nodes with excessively high delay, or nodes with severe packet loss; Locating and marking the network bottleneck node in the bottleneck identification report to obtain a marked bottleneck node; Replanning the data transmission path based on the marked bottleneck node to obtain a candidate transmission path; Optimizing the transmission parameters of the candidate transmission path to obtain an optimized candidate transmission path; Perform simulation tests on the optimized transmission paths through network simulation tools to verify the performance of the optimized candidate transmission paths under different load conditions and obtain simulation test results; The data transmission path is optimized iteratively for multiple times based on the simulation test results to gradually improve the transmission quality until a data transmission result within a preset quality level range is obtained.
[0012] Furthermore, a network bottleneck on the transmission path is identified based on the transmission quality assessment report through a preset data analysis tool to obtain a bottleneck identification report, including: Import the transmission quality assessment report through the preset data analysis tool to obtain the analytical assessment data; Cleaning the analytical evaluation data to obtain cleaned data; Performing feature extraction on the cleaned data to obtain a feature data set; By using a preset decision tree algorithm, each node on the transmission path is identified based on the feature data set to obtain a network bottleneck node; A bottleneck identification report is generated based on the network bottleneck node.
[0013] The present invention also provides a data transmission device based on a Wifi-Direct network, comprising: A scanning module, used to perform broadcast scanning on virtual receiving devices supporting the Wifi-Direct network to obtain a list of virtual receiving devices, and based on the list of virtual receiving devices, analyze the connection relationship between the virtual receiving devices and the virtual bus devices to obtain a network topology structure; A planning module, used for performing path planning for data transmission between the virtual receiving device and the virtual bus device based on the network topology structure to obtain a data transmission path; An estimation module, used to estimate the bandwidth of the data transmission path to obtain the available bandwidth of the link in the data transmission path; A transmission module, used for performing data transmission between the virtual receiving device and the virtual bus device through the available bandwidth, obtaining a data transmission result, performing a transmission quality evaluation on the data transmission result, and obtaining a transmission quality evaluation report; An optimization module is used to optimize the data transmission path based on the transmission quality evaluation report to obtain a data transmission result within the preset quality level range if the transmission quality evaluation report shows that the data transmission result is not within the preset quality level range.
[0014] The present invention also provides a computer virtual bus device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
[0015] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods are implemented.
[0016] The data transmission method based on the Wifi-Direct network provided by the present invention comprises the following steps: performing broadcast scanning on a virtual receiving device supporting the Wifi-Direct network to obtain a list of virtual receiving devices, analyzing the connection relationship between the virtual receiving device and the virtual bus device based on the list of virtual receiving devices to obtain a network topology structure; performing path planning for data transmission between the virtual receiving device and the virtual bus device based on the network topology structure to obtain a data transmission path; performing bandwidth estimation on the data transmission path to obtain an available bandwidth of a link in the data transmission path; performing data transmission between the virtual receiving device and the virtual bus device using the available bandwidth to obtain a data transmission result, performing transmission quality evaluation on the data transmission result to obtain a transmission quality evaluation report; if the transmission quality evaluation report shows that the data transmission result is not within a preset quality level range, optimizing the data transmission path based on the transmission quality evaluation report to obtain a data transmission result within a preset quality level range; the above technical solution solves the technical problem that the connection stability and data transmission efficiency between devices are often affected by the complexity of the network topology structure and the distance between devices, resulting in the difficulty in ensuring the data transmission quality, and realizes that after the data transmission is completed, the quality of the data transmission result can be accurately evaluated through the transmission quality evaluation report. This real-time quality assessment can detect problems in a timely manner, provide improvement measures and data transmission path planning based on the network topology, ensuring the optimization of the path during data transmission. This helps to improve the efficiency and stability of data transmission and reduce the possible delays and packet loss during transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a schematic diagram of the steps of a data transmission method based on a Wifi-Direct network in one embodiment of the present invention; Figure 2 is a structural block diagram of a data transmission device based on a Wifi-Direct network in one embodiment of the present invention; Figure 3 The present invention is a block diagram showing the structure of a computer virtual bus device according to an embodiment of the present invention.
[0018] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0020] like Figure 1 As shown, Figure 1 It is a schematic diagram of the steps of a data transmission method based on a Wifi-Direct network in one embodiment of the present invention; In one embodiment of the present invention, a data transmission method based on a Wifi-Direct network is provided, comprising the following steps: Step S1, broadcast scanning is performed on virtual receiving devices supporting the Wifi-Direct network to obtain a list of virtual receiving devices, and based on the list of virtual receiving devices, the connection relationship between the virtual receiving devices and virtual bus devices is analyzed to obtain a network topology.
[0021] Specifically, in the data transmission method based on the Wifi-Direct network, it is first necessary to perform a broadcast scan on the virtual receiving devices supporting the Wifi-Direct network. The purpose of this process is to identify all available virtual receiving devices in the network. Through the broadcast scan, the system can obtain a list of virtual receiving devices, which contains information about all virtual receiving devices that can participate in data transmission. These devices may be smart phones, tablets, laptops or other devices that support Wifi-Direct. The broadcast scan process usually sends a broadcast signal. After receiving the signal, all eligible devices will respond and report their existence and related information, thereby building a preliminary device list. After obtaining the list of virtual receiving devices, the next step is to analyze the connection relationship between these devices and virtual bus devices. This step involves a detailed study of the way in which devices are connected to each other. The virtual bus devices here act as network transfers or bridges, and they establish a connection relationship with the virtual receiving devices. By analyzing these connection relationships, the system can draw the topology of the entire network. The network topology describes how devices are interconnected through virtual bus devices and helps understand the possible paths for data transmission and the overall layout of the network. For example, if virtual receiving device A is connected to virtual bus device B, and virtual bus device B is connected to virtual receiving device C, then in the network topology, the communication between virtual receiving devices A and C needs to be carried out through virtual bus device B. This connection relationship analysis provides basic data for the planning of data transmission paths. In this way, the network topology can clearly show the connection relationship between each virtual receiving device and virtual bus device, as well as their relative positions in the network. After understanding the network topology, the system can more effectively plan the path and select the optimal data transmission path, thereby improving the efficiency and quality of data transmission. For example, suppose there are three virtual receiving devices A, B, C and one virtual bus device D. After broadcast scanning, the virtual receiving device list contains A, B, C and D. Further connection relationship analysis shows that A is directly connected to D, and D is connected to B and C. Based on this information, the network topology may be in the form of A - D - B and A - D - C. In summary, by broadcasting and scanning virtual receiving devices that support Wifi-Direct networks, obtaining a list of virtual receiving devices, and on this basis, conducting a detailed analysis of the connection relationship between devices and virtual bus devices, the network topology is obtained. This process plays a key role in the Wifi-Direct network data transmission method. It provides the necessary basic data for subsequent data transmission path planning and bandwidth estimation, so that the final data transmission can be carried out in a fully understood and optimized network environment, thereby ensuring the efficiency and stability of data transmission.
[0022] Step S2, performing path planning for data transmission between the virtual receiving device and the virtual bus device based on the network topology structure to obtain a data transmission path.
[0023] Specifically, in the data transmission method based on the Wifi-Direct network, path planning is a key step to ensure effective data transmission. The core of this step is to perform path planning for data transmission between the virtual receiving device and the virtual bus device based on the aforementioned network topology to obtain the optimal data transmission path. To achieve this goal, the system first needs to conduct an in-depth analysis of the network topology to determine the connection relationship and transmission capacity of each device in the network. The network topology shows the connection relationship and relative position between the virtual receiving device and the virtual bus device. For example, suppose that in a complex network environment, virtual receiving devices A, B, C and virtual bus device D form a network. The network topology may show that A is directly connected to D, and D is connected to B and C through two different links. The bandwidth, delay and stability information of these links will be recorded and used to guide path planning. The goal of path planning is to determine the data transmission path from one virtual receiving device to another virtual receiving device. This process involves selecting one or more virtual bus devices as transfer stations to ensure that data is smoothly transmitted from the source device to the target device. When planning the path, the system will consider multiple factors, including the bandwidth, delay and possible network congestion of each link in the network topology. Through the comprehensive evaluation of these factors, the system can calculate the optimal data transmission path to improve transmission efficiency and reliability. For example, suppose virtual receiving device A needs to transmit data to virtual receiving device C. According to the network topology, device A is directly connected to virtual bus device D, which is in turn connected to virtual receiving device C. In this case, the most direct transmission path is A through D to C. However, if the network topology shows that other links have higher bandwidth or lower latency, the system may choose a more complex path, such as A through D to B first, and then from B to C. This path planning can not only improve the efficiency of data transmission, but also reduce the load and potential bottlenecks in the network. During the path planning process, the system also evaluates the current status and performance of each link. For example, if the bandwidth of a link is being occupied by other large data flows, the system may give priority to links with more sufficient bandwidth. This dynamic path planning mechanism helps to cope with changes in the network environment and ensure the stability and reliability of data transmission. In short, path planning for data transmission between virtual receiving devices and virtual bus devices based on the network topology is a complex but crucial step. By accurately analyzing the network topology, the system can select the best data transmission path to achieve efficient and reliable data transmission. This process not only needs to consider the connection relationship between devices, but also needs to comprehensively evaluate the performance of the link and the current network status to ensure that the final data transmission path meets the optimization requirements. In this way, the system can provide high-quality data transmission services in a dynamic network environment and improve the overall network operation efficiency and user experience.
[0024] Step S3, performing bandwidth estimation on the data transmission path to obtain available bandwidth of links within the data transmission path.
[0025] Specifically, in the step of bandwidth estimation for the data transmission path, the key is to evaluate the available bandwidth of each link in the path. This step is an important part of ensuring data transmission efficiency and quality. In the previous steps, the system has determined the data transmission path based on the network topology. At this time, it is necessary to perform bandwidth evaluation on these paths to determine the actual available bandwidth resources. First, bandwidth estimation is completed by performing a detailed analysis of each link in the data transmission path. The bandwidth of each link represents how fast data can flow on the link. When performing bandwidth estimation, the system needs to obtain the actual bandwidth information of the link and consider the current load of the link. For example, in the data transmission path, the bandwidth of link A to D may be 100 Mbps, while the bandwidth of link D to C may be 50 Mbps. The system will obtain the bandwidth information of these links through real-time monitoring or historical data analysis to ensure the accuracy of bandwidth estimation. In addition, the system also needs to consider the stability of the link and the congestion of the network. Even if the theoretical bandwidth of the link is high, in actual applications, network congestion, interference or equipment failure may affect the actual available bandwidth of the link. Therefore, when the system performs bandwidth estimation, it will make adjustments based on these factors to provide a practical and reliable bandwidth value. For example, if link A to D is often congested during peak hours, the actual available bandwidth may be less than 100 Mbps. At this time, the system will correct the bandwidth estimation value based on historical data and real-time monitoring results. In summary, by estimating the bandwidth of each link in the data transmission path, the system can obtain an accurate available bandwidth value, which is crucial for optimization and adjustment in the subsequent data transmission process. This step ensures that the system can reasonably allocate bandwidth resources in actual transmission and improve the efficiency and quality of data transmission.
[0026] Step S4, data is transmitted between the virtual receiving device and the virtual bus device using the available bandwidth to obtain a data transmission result, and a transmission quality evaluation is performed on the data transmission result to obtain a transmission quality evaluation report.
[0027] Specifically, in the step of transmitting data between the virtual receiving device and the virtual bus device through the available bandwidth, the system first reasonably allocates bandwidth resources based on the bandwidth estimation results of the data transmission path before, so as to ensure that the data transmission is carried out within the available bandwidth range. Specifically, the system dynamically adjusts the transmission rate and flow control strategy of the data packet according to the available bandwidth and transmission requirements of each link to avoid network congestion and bandwidth waste. For example, if the available bandwidth of the link is 50 Mbps, the system sets the data transmission rate according to this bandwidth to ensure that the transmission is stable and does not exceed the bandwidth limit. During the data transmission process, the system continuously monitors various performance indicators of the transmission, such as transmission speed, packet loss rate, delay and jitter, etc., through which the actual situation of data transmission can be reflected in real time. When the data transmission is completed, the system will generate data transmission results based on the collected transmission data, and these results will serve as an important basis for subsequent transmission quality evaluation. To ensure the accuracy of the evaluation, the system will compare the transmission results with the preset quality standards, such as the expected packet loss rate, transmission delay, etc., to evaluate whether the transmission reaches the expected service quality. Then, the system will perform transmission quality evaluation on the transmission results and generate a transmission quality evaluation report. This report not only reflects the overall performance of the transmission, but also lists in detail the problems that may exist during the transmission process, such as packet loss, excessive network latency, or low bandwidth utilization. For example, if the transmission results show that the packet loss rate exceeds the preset standard, the evaluation report will indicate this problem and recommend optimization measures. This transmission quality evaluation report provides feedback to the system, helps identify potential problems in the transmission path or equipment, and provides a basis for subsequent optimization to ensure that the next data transmission can be carried out under better conditions. In this way, through the complete transmission process and quality evaluation, the system can continuously improve the stability and efficiency of data transmission and achieve a high-quality data transmission experience.
[0028] Step S5: If the transmission quality assessment report shows that the data transmission result is not within the preset quality level range, the data transmission path is optimized based on the transmission quality assessment report to obtain a data transmission result within the preset quality level range.
[0029] Specifically, during the data transmission quality assessment process, if the transmission quality assessment report shows that the data transmission result is not within the preset quality level range, the system needs to optimize the data transmission path to ensure that future data transmission can meet the expected quality standards. This optimization step first relies on the information provided in the assessment report, which lists in detail the problems in data transmission, such as excessive latency, excessive packet loss rate, or insufficient bandwidth utilization. This information provides a clear direction for improvement. Based on the transmission quality assessment report, the system will analyze the reasons for the substandard transmission quality and optimize the path on this basis. The optimization process may include many adjustments, such as reselecting the data transmission path, adjusting the bandwidth allocation of the link, or modifying the transmission strategy of the data flow. If the assessment report indicates that a link has a high latency, the system may give priority to the link with lower latency to optimize the transmission path. If it is found that the bandwidth utilization of the link is not high, the system may adjust the allocation of data flows to make better use of bandwidth resources. For example, if the assessment report of the data transmission path ADC shows that the packet loss rate of link DC is high, the system may consider changing the data flow from ADC to ADBC, where the quality of links DB and BC is better. The system may also introduce more flow control mechanisms or data retransmission strategies to reduce the loss of data packets. At the same time, the system may optimize the bandwidth configuration of the link to ensure that the bandwidth of each link can be adjusted according to actual needs, thereby improving the overall transmission efficiency. Through these optimization measures, the system can adjust the data transmission path and resource allocation to obtain better data transmission results within the preset quality level range. This optimization process can not only solve the current problems, but also improve the overall performance and reliability of the system, ensuring more stable and efficient data transmission in the future. Ultimately, through continuous optimization, the system will be able to meet the preset quality standards and achieve a better data transmission experience.
[0030] In a specific embodiment, a broadcast scan is performed on a virtual receiving device supporting the Wifi-Direct network to obtain a list of virtual receiving devices. Based on the list of virtual receiving devices, a connection relationship between the virtual receiving device and the virtual bus device is analyzed to obtain a network topology structure, including: Initiate broadcast detection, perform broadcast scanning on virtual receiving devices in the Wifi-Direct network, and obtain a list of virtual receiving devices; wherein the list of virtual receiving devices includes an identifier of the virtual receiving device, a signal strength, and a type of the virtual receiving device; Using a preset channel spectrum analyzer, based on the virtual receiving device list, the signal strength and interference between the virtual receiving device and the virtual bus device are analyzed to obtain channel characteristic data; The connection relationship between the virtual receiving device and the virtual bus device is analyzed through the channel characteristic data to obtain an adjacency graph; The adjacency graph is matrix-constructed by a preset topology matrix model to obtain an adjacency matrix; wherein the rows of the adjacency matrix represent virtual receiving devices or virtual bus devices, the columns of the adjacency matrix represent virtual receiving devices, the non-zero elements in the adjacency matrix represent the weight of the communication connection between the virtual receiving device and the virtual bus device or the weight of the communication connection between the virtual receiving device and the virtual receiving device, and the zero elements in the adjacency matrix represent that there is no direct communication connection between the virtual receiving device and the virtual bus device or there is no direct communication connection between the virtual receiving device and the virtual receiving device; The adjacency matrix is optimized in time sequence using a dynamic topology optimization algorithm to obtain a network topology structure.
[0031] Specifically, in the step of broadcast scanning of virtual receiving devices supporting Wifi-Direct networks, the system first initiates a broadcast detection to scan virtual receiving devices in the network to obtain a list of virtual receiving devices. This list includes the identifier, signal strength, and device type of each virtual receiving device. In this way, the system can grasp the basic information of all virtual receiving devices in the network as the basis for subsequent analysis. Next, the system uses a preset channel spectrum analyzer to analyze the signal strength and interference of the devices in the virtual receiving device list. The purpose of this step is to obtain channel characteristic data, which can reflect the signal quality and mutual interference between each virtual receiving device. Channel characteristic data provides an important basis for understanding the connection relationship between devices and helps determine the communication quality between devices. After obtaining the channel characteristic data, the system will use these data to parse the connection relationship between virtual receiving devices and virtual bus devices to form an adjacency graph. The adjacency graph is a graphical representation that shows the connection status between devices in the network. Next, the system will construct a matrix of the adjacency graph through a preset topology matrix model to obtain an adjacency matrix. The adjacency matrix is a data structure in the form of a matrix, where the rows and columns of the matrix represent virtual receiving devices and virtual bus devices. The non-zero elements in the matrix represent the weight of the communication connection between the devices, and the zero element indicates that there is no direct communication connection. Finally, the system uses a dynamic topology optimization algorithm to perform timing optimization on the adjacency matrix to obtain the final network topology. This optimization process uses an algorithm to adjust the connection relationship in the adjacency matrix and optimize the network topology to improve the overall performance and efficiency of the network. In this way, the system can ensure that the network topology can effectively support the data transmission needs in the Wifi-Direct network.
[0032] In a specific embodiment, path planning is performed on data transmission between a virtual receiving device and a virtual bus device based on the network topology structure to obtain a data transmission path, including: Modeling the network topology structure to obtain a path diagram; The cost of each path in the path graph is evaluated by a preset cost function to obtain a path cost evaluation result; If the path cost evaluation result is within a preset cost range, path planning is performed for data transmission between the virtual receiving device and the virtual bus device based on each path in the path graph to obtain a preliminary planned path set; Reasonably distribute the traffic in the preliminary planned path set to obtain a preliminary data transmission path; Performing validity verification on the data transmission path to obtain a verification result; If the verification result shows that the data transmission path is valid, the preliminary data transmission path is used as the data transmission path.
[0033] Specifically, in the step of performing path planning for data transmission between the virtual receiving device and the virtual bus device based on the network topology, the network topology needs to be modeled first to obtain a path map. The path map is a graphical representation of the network topology, showing all possible paths between the virtual receiving device and the virtual bus device. By establishing the path map, the system can clearly understand the connection relationship and possible transmission routes of each path, providing a basis for subsequent path planning. Next, the system will use a preset cost function to evaluate the cost of each path in the path map. The cost function is used to quantify the transmission cost of each path, including signal strength, delay, bandwidth utilization and other factors that may affect transmission performance. The cost evaluation result will help the system identify which paths are the lowest cost and optimal transmission routes. For example, if a path in the path map has a lower delay and a higher bandwidth, the cost of the path may be lower and relatively more suitable for data transmission. If the evaluation result shows that the cost of the path is within the preset cost range, the system will perform path planning for data transmission based on each path in the path map. The goal of this step is to select the optimal transmission path to meet the data transmission requirements between the virtual receiving device and the virtual bus device. The preliminary planned path set will filter out paths that meet the requirements from all possible paths to form a candidate path set. These paths are evaluated for cost and can ensure that they meet the expected standards in terms of performance and cost. Next, the system will reasonably distribute the traffic in the preliminary planned path set. The purpose of traffic distribution is to optimize the data traffic on each path to avoid overload and congestion and improve the overall transmission efficiency. By reasonably distributing traffic, the system can ensure load balancing on each path, reduce data transmission delay and packet loss, and thus obtain preliminary data transmission paths. After the preliminary data transmission paths are determined, the system will perform validity verification to ensure that these paths can work properly in actual applications. Validity verification includes testing the stability, transmission quality and actual performance of the paths to ensure that the planned paths can support the expected data transmission requirements. If the verification results show that these data transmission paths are valid, these paths will be used as the final data transmission paths and formally used in the data transmission process. For example, suppose that the path diagram in the network topology shows that there are multiple paths from the virtual receiving device A to the virtual bus device B, and the cost evaluation result of one of the paths meets the preset cost range. After reasonable traffic distribution, the path can effectively support data transmission, and its stability and reliability are verified. At this time, the path will be selected as the data transmission path to ensure that data can be efficiently and stably transmitted from virtual receiving device A to virtual bus device B. In this way, the system can optimize the data transmission path in a complex network topology and improve the efficiency and reliability of data transmission.
[0034] In a specific embodiment, performing bandwidth estimation on the data transmission path to obtain the available bandwidth of each link in the data transmission path includes: Performing real-time link quality monitoring on the data transmission path to obtain a link quality report; Calculate the instantaneous available bandwidth of the link based on the link quality report; Convert the instantaneous available bandwidth into a vector format to obtain a link instantaneous bandwidth vector; Bandwidth resources are allocated based on the link instantaneous bandwidth vector to obtain the available bandwidth of each link in the data transmission path.
[0035] Specifically, in the process of estimating the bandwidth of the data transmission path, the system first needs to monitor the link quality of the data transmission path in real time to obtain a link quality report. The key to this step is to obtain the actual status and performance indicators of the link in real time to ensure that the bandwidth estimation of the data transmission path is based on the current network conditions rather than theoretical values. The link quality report contains information such as link delay, packet loss rate, signal strength and interference, which are key factors in evaluating link performance. After obtaining the link quality report, the system calculates the instantaneous available bandwidth of the link based on the data in the report. The instantaneous available bandwidth refers to the actual amount of bandwidth that the link can provide at a specific point in time, and usually needs to consider the current load of the link and network environment factors. For example, the link may have a reduced bandwidth due to high traffic or other interference, so these dynamic changes must be considered when calculating the instantaneous available bandwidth. Next, the system converts the calculated instantaneous available bandwidth into a vector format to obtain a link instantaneous bandwidth vector. The purpose of the vector format conversion is to represent the bandwidth data in a structured form to make it more suitable for subsequent analysis and processing. The link instantaneous bandwidth vector is a vector containing link bandwidth values, and each element represents the instantaneous bandwidth of a link in the network. After the link instantaneous bandwidth vector is obtained, the system will allocate bandwidth resources based on the vector to determine the available bandwidth of each link in the data transmission path. The purpose of bandwidth resource allocation is to reasonably allocate bandwidth on the link to optimize the overall data transmission performance. Specifically, the system will consider the instantaneous bandwidth of each link and the demand for data transmission, and dynamically adjust the bandwidth allocation to ensure that each link can achieve the best bandwidth utilization during the actual data transmission process. For example, suppose there are three links A, B and C in a data transmission path. Through real-time link quality monitoring, the system obtains link quality reports of links A, B and C, and calculates their instantaneous available bandwidths as 10 Mbps, 20 Mbps and 5 Mbps. After converting these instantaneous bandwidth values into link instantaneous bandwidth vectors, the system will allocate bandwidth resources based on these data. If the data transmission demand exceeds the bandwidth capacity of link A, the system may allocate more traffic to link B to avoid overloading link A and ensure the optimization of overall transmission performance. Through these steps, the system can accurately estimate the available bandwidth of each link in the data transmission path and make reasonable bandwidth allocation according to real-time network conditions, thereby improving the efficiency and stability of data transmission.
[0036] In a specific embodiment, data transmission is performed between the virtual receiving device and the virtual bus device using the available bandwidth to obtain a data transmission result, and a transmission quality evaluation is performed on the data transmission result to obtain a transmission quality evaluation report, including: Acquire the transmission data between the virtual bus device and the virtual receiving device, and encrypt the transmission data to obtain an encrypted data packet; Segmenting the encrypted data packet to obtain a plurality of segmented data packets; Allocating a plurality of segmented data packets through the transmission path to obtain an allocation scheme; Based on the allocation scheme, each of the segmented data packets is transmitted in the virtual receiving device and the virtual bus device to obtain the transmission result of the corresponding segmented data packet; Summarizing the transmission results of the corresponding segmented data packets to obtain an overall data transmission result; Performing a preliminary evaluation of the transmission quality of the overall data transmission result to obtain preliminary transmission quality data; Analyze the key indicators in the transmission process through preliminary transmission quality data to obtain key quality indicators; wherein the key indicators include delay, packet loss rate, and bandwidth utilization; Comprehensively evaluate key quality indicators to obtain comprehensive transmission quality evaluation results; A transmission quality assessment report is obtained based on the comprehensive transmission quality assessment result.
[0037] Specifically, in the process of data transmission through available bandwidth, the system first needs to obtain the data transmitted to the virtual receiving device from the virtual bus device and encrypt the data to generate an encrypted data packet. The purpose of encryption is to ensure the security and privacy of data during transmission. After that, the encrypted data packet will be segmented to form multiple segmented data packets. Data segmentation is to facilitate transmission and management, and at the same time improve transmission efficiency and reliability. Next, the system will allocate these multiple segmented data packets according to the data transmission path to form an allocation plan. The allocation plan determines which specific path each segmented data packet will be transmitted through in order to optimize the efficiency and effect of data transmission. After obtaining the allocation plan, the above encrypted data (transmission data) is decrypted, and the decrypted segmented data packets are transmitted between the virtual receiving device and the virtual bus device according to the plan to generate corresponding segmented data packet transmission results. After summarizing these transmission results, the system will obtain the overall data transmission result. This step summarizes the transmission status of all segmented data packets and provides a comprehensive view to evaluate the effect of the entire data transmission process. Then, the system will conduct a preliminary evaluation of the transmission quality of the overall data transmission result to obtain preliminary transmission quality data. These data include various performance indicators during the transmission process, such as latency, packet loss rate, and bandwidth utilization. By analyzing the preliminary transmission quality data, the system can extract key quality indicators during the transmission process, including latency, packet loss rate, and bandwidth utilization. These key indicators can reveal the main problems and performance bottlenecks in the data transmission process. After evaluating these key quality indicators, the system will obtain a comprehensive transmission quality evaluation result. This result reflects the quality of the overall data transmission, including all important performance factors. Finally, based on the comprehensive transmission quality evaluation results, the system generates a transmission quality evaluation report. This report summarizes the overall quality of data transmission, provides a comprehensive evaluation of the data transmission process, helps users understand the transmission effect, and provides a basis for future optimization and improvement.
[0038] In a specific embodiment, the data transmission path is optimized based on the transmission quality evaluation report to obtain a data transmission result within a preset quality level range, including: Using a preset data analysis tool, the network bottleneck nodes on the transmission path are identified based on the transmission quality assessment report to obtain a bottleneck identification report; wherein the network bottleneck nodes include nodes with insufficient bandwidth, nodes with excessively high delay, or nodes with severe packet loss; Locating and marking the network bottleneck node in the bottleneck identification report to obtain a marked bottleneck node; Replanning the data transmission path based on the marked bottleneck node to obtain a candidate transmission path; Optimizing the transmission parameters of the candidate transmission path to obtain an optimized candidate transmission path; Perform simulation tests on the optimized transmission paths through network simulation tools to verify the performance of the optimized candidate transmission paths under different load conditions and obtain simulation test results; The data transmission path is optimized iteratively for multiple times based on the simulation test results to gradually improve the transmission quality until a data transmission result within a preset quality level range is obtained.
[0039] Specifically, in the process of optimizing the data transmission path based on the transmission quality assessment report, it is first necessary to use the preset data analysis tool to identify the network bottleneck nodes on the transmission path to generate a bottleneck identification report. The bottleneck identification report contains information about the network bottleneck nodes, which may be nodes with insufficient bandwidth, nodes with excessively high latency, or nodes with severe packet loss. These bottleneck nodes are the main source of transmission quality problems, and identifying them is helpful for subsequent optimization work. After obtaining the bottleneck identification report, the system will locate and mark the network bottleneck nodes listed in the report to obtain marked bottleneck nodes. This step accurately marks the locations of these bottleneck nodes through specific technical means such as network monitoring tools to facilitate subsequent optimization work. For example, the system can determine the exact locations of these bottleneck nodes through a network topology map or network performance data and mark them on the map. Based on the marked bottleneck nodes, the system will re-plan the data transmission path to obtain candidate transmission paths. The purpose of re-planning is to bypass or alleviate the impact of bottleneck nodes and optimize the overall performance of data transmission. Candidate transmission paths are alternative paths recommended by the system taking into account existing bottleneck nodes. These paths are intended to improve data transmission quality and reduce the negative impact of bottleneck nodes. The next step is to optimize the transmission parameters of the candidate transmission path, which aims to improve the performance of the candidate path to obtain the optimized candidate transmission path. In this process, the system adjusts the transmission parameters such as bandwidth allocation and routing strategy to improve the transmission capacity and efficiency of the path. For example, the system may adjust the packet distribution strategy, optimize link utilization, or reconfigure network equipment to ensure that the optimized path can provide better performance. Subsequently, the system simulates the optimized transmission path through a network simulation tool. The purpose of this step is to verify the performance of the optimized candidate transmission path under different load conditions. The network simulation tool can simulate various network load conditions and test the performance of the path under these conditions to obtain simulation test results. These results will help the system evaluate the effectiveness of the optimization measures and ensure that the expected transmission quality can be achieved in actual use. Finally, based on the simulation test results, the system iteratively optimizes the data transmission path multiple times. This process involves further adjustments and improvements based on the simulation results to gradually improve the quality of data transmission until it reaches the preset quality level range. Iterative optimization continuously adjusts the transmission path and parameters to ensure that the data transmission results are within the quality requirements, and ultimately achieves the best transmission effect. For example, suppose that in the initial evaluation, it is found that the network bottleneck is mainly concentrated in certain nodes with insufficient bandwidth. The system will identify these bottleneck nodes and mark them, and then re-plan the data transmission path to avoid these bottlenecks. By optimizing the transmission parameters of the path and performing simulation tests, the system can verify the performance of the new path under different loads, and further optimize it based on the test results to ensure that the final data transmission quality meets the expected standards.
[0040] In a specific embodiment, a network bottleneck on a transmission path is identified based on the transmission quality assessment report by using a preset data analysis tool to obtain a bottleneck identification report, including: Import the transmission quality assessment report through the preset data analysis tool to obtain the analytical assessment data; Cleaning the analytical evaluation data to obtain cleaned data; Performing feature extraction on the cleaned data to obtain a feature data set; By using a preset decision tree algorithm, each node on the transmission path is identified based on the feature data set to obtain a network bottleneck node; A bottleneck identification report is generated based on the network bottleneck node.
[0041] Specifically, in the process of identifying network bottlenecks, the transmission quality assessment report needs to be imported through the preset data analysis tool first. This process converts the data in the assessment report into a format that the system can process for further analysis. The imported data will be parsed to generate parsed assessment data. The parsed assessment data contains all key performance indicators and information extracted from the transmission quality assessment report, which is the basis for identifying network bottlenecks. Next, the parsed assessment data is cleaned to obtain cleaned data. Data cleaning refers to removing noise and inconsistencies in the data to make the data more accurate and reliable. This step may involve correcting errors, filling missing values, and deleting irrelevant data or outliers to ensure the effectiveness and accuracy of subsequent analysis. The information after cleaning the data will be neater and easier to extract features. After obtaining the cleaned data, the system will extract features from the data to generate a feature data set. The feature extraction process is to extract key features that can represent network performance from the cleaned data, such as bandwidth utilization, latency, packet loss rate, etc. These feature data sets will be used as inputs to the decision tree algorithm to identify network bottleneck nodes. The feature data set is the basis for further analysis and ensures the accuracy of the subsequent identification process. Subsequently, the system will identify the nodes on the transmission path based on the feature data set through the preset decision tree algorithm to determine which nodes are network bottlenecks. The decision tree algorithm can identify nodes with poor performance based on the information in the feature data set by constructing a decision tree to classify and predict the data. These nodes may be network bottlenecks due to insufficient bandwidth, high latency, or severe packet loss. Finally, based on the identified network bottleneck nodes, the system will generate a bottleneck identification report. The bottleneck identification report summarizes all identified network bottleneck nodes and their related information, and provides a detailed analysis of network performance issues. This report will help network administrators understand the location of bottlenecks in the network and provide a basis for subsequent optimization and improvement. For example, suppose that in a network, the transmission quality assessment report shows the latency and bandwidth usage of each node. The system imports and parses these report data through a data analysis tool to obtain parsed assessment data. Next, the data cleaning process removes outliers and irrelevant data to obtain cleaned data. Then, the system extracts feature data sets such as node bandwidth usage and latency from the cleaned data. Using the decision tree algorithm, the system analyzes these feature data sets and identifies certain nodes with high latency and insufficient bandwidth, which are marked as network bottlenecks. Ultimately, the information of these bottleneck nodes is organized into a bottleneck identification report, providing a clear direction for network optimization.
[0042] The above describes the data transmission method based on the Wifi-Direct network in the embodiment of the present invention. The following describes the data transmission device based on the Wifi-Direct network in the embodiment of the present invention. Figure 2In one embodiment of the present invention, a data transmission device based on a Wifi-Direct network includes: The scanning module 21 is used to perform broadcast scanning on virtual receiving devices supporting the Wifi-Direct network to obtain a list of virtual receiving devices, and based on the list of virtual receiving devices, analyze the connection relationship between the virtual receiving devices and the virtual bus devices to obtain a network topology structure; A planning module 22, configured to plan a path for data transmission between a virtual receiving device and a virtual bus device based on the network topology structure to obtain a data transmission path; An estimation module 23, configured to perform bandwidth estimation on the data transmission path to obtain available bandwidth of a link within the data transmission path; A transmission module 24, configured to perform data transmission between the virtual receiving device and the virtual bus device through the available bandwidth, obtain a data transmission result, perform a transmission quality evaluation on the data transmission result, and obtain a transmission quality evaluation report; The optimization module 25 is used to optimize the data transmission path based on the transmission quality evaluation report to obtain a data transmission result within the preset quality level range if the transmission quality evaluation report shows that the data transmission result is not within the preset quality level range.
[0043] In this embodiment, for the specific implementation of each unit in the above system embodiment, please refer to the description in the above method embodiment, which will not be repeated here.
[0044] Reference Figure 3 In an embodiment of the present invention, a computer virtual bus device is also provided, and the internal structure of the computer virtual bus device can be as follows Figure 3 As shown. The computer virtual bus device includes a processor, a memory, a display screen, an input device, a network interface and a database connected through a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer virtual bus device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer virtual bus device is used to store the corresponding data in this embodiment. The network interface of the computer virtual bus device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the above method is implemented.
[0045] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer virtual bus device to which the solution of the present invention is applied.
[0046] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above method is implemented. It can be understood that the computer-readable storage medium in this embodiment can be a volatile readable storage medium or a non-volatile readable storage medium.
[0047] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided by the present invention and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM.
[0048] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0049] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A data transmission method based on a Wifi-Direct network, characterized in that: The following steps are involved: Performing broadcast scanning on virtual receiving devices supporting the Wifi-Direct network to obtain a list of virtual receiving devices, and analyzing the connection relationship between the virtual receiving devices and virtual bus devices based on the list of virtual receiving devices to obtain a network topology structure; Performing path planning for data transmission between the virtual receiving device and the virtual bus device based on the network topology structure to obtain a data transmission path; Performing bandwidth estimation on the data transmission path to obtain available bandwidth of a link within the data transmission path; Performing data transmission between the virtual receiving device and the virtual bus device by using the available bandwidth to obtain a data transmission result, and performing a transmission quality evaluation on the data transmission result to obtain a transmission quality evaluation report; If the transmission quality assessment report shows that the data transmission result is not within the preset quality level range, the data transmission path is optimized based on the transmission quality assessment report to obtain a data transmission result within the preset quality level range.
2. The data transmission method based on Wifi-Direct network according to claim 1, characterized in that: Perform broadcast scanning on virtual receiving devices supporting the Wifi-Direct network to obtain a list of virtual receiving devices, and based on the list of virtual receiving devices, analyze the connection relationship between the virtual receiving devices and virtual bus devices to obtain a network topology structure, including: Initiate broadcast detection, perform broadcast scanning on virtual receiving devices in the Wifi-Direct network, and obtain a list of virtual receiving devices; wherein the list of virtual receiving devices includes an identifier of the virtual receiving device, a signal strength, and a type of the virtual receiving device; Using a preset channel spectrum analyzer, based on the virtual receiving device list, the signal strength and interference between the virtual receiving device and the virtual bus device are analyzed to obtain channel characteristic data; The connection relationship between the virtual receiving device and the virtual bus device is analyzed through the channel characteristic data to obtain an adjacency graph; The adjacency graph is matrix-constructed by a preset topology matrix model to obtain an adjacency matrix; wherein the rows of the adjacency matrix represent virtual receiving devices or virtual bus devices, the columns of the adjacency matrix represent virtual receiving devices, the non-zero elements in the adjacency matrix represent the weight of the communication connection between the virtual receiving device and the virtual bus device or the weight of the communication connection between the virtual receiving device and the virtual receiving device, and the zero elements in the adjacency matrix represent that there is no direct communication connection between the virtual receiving device and the virtual bus device or there is no direct communication connection between the virtual receiving device and the virtual receiving device; The adjacency matrix is optimized in time sequence using a dynamic topology optimization algorithm to obtain a network topology structure.
3. The data transmission method based on Wifi-Direct network according to claim 1, characterized in that: The method of performing path planning for data transmission between the virtual receiving device and the virtual bus device based on the network topology structure to obtain a data transmission path includes: Modeling the network topology structure to obtain a path diagram; The cost of each path in the path graph is evaluated by a preset cost function to obtain a path cost evaluation result; If the path cost evaluation result is within a preset cost range, path planning is performed for data transmission between the virtual receiving device and the virtual bus device based on each path in the path graph to obtain a preliminary planned path set; Reasonably distribute the traffic in the preliminary planned path set to obtain a preliminary data transmission path; Performing validity verification on the data transmission path to obtain a verification result; If the verification result shows that the data transmission path is valid, the preliminary data transmission path is used as the data transmission path.
4. The data transmission method based on Wifi-Direct network according to claim 1, characterized in that: Estimating the bandwidth of the data transmission path to obtain the available bandwidth of each link in the data transmission path includes: Performing real-time link quality monitoring on the data transmission path to obtain a link quality report; Calculate the instantaneous available bandwidth of the link based on the link quality report; Convert the instantaneous available bandwidth into a vector format to obtain a link instantaneous bandwidth vector; Bandwidth resources are allocated based on the link instantaneous bandwidth vector to obtain the available bandwidth of each link in the data transmission path.
5. The data transmission method based on Wifi-Direct network according to claim 1, characterized in that: Performing data transmission between the virtual receiving device and the virtual bus device by using the available bandwidth to obtain a data transmission result, and performing a transmission quality evaluation on the data transmission result to obtain a transmission quality evaluation report, including: Acquire the transmission data between the virtual bus device and the virtual receiving device, and encrypt the transmission data to obtain an encrypted data packet; Segmenting the encrypted data packet to obtain a plurality of segmented data packets; Allocating a plurality of segmented data packets through the transmission path to obtain an allocation scheme; Based on the allocation scheme, each of the segmented data packets is transmitted in the virtual receiving device and the virtual bus device to obtain the transmission result of the corresponding segmented data packet; Summarizing the transmission results of the corresponding segmented data packets to obtain an overall data transmission result; Performing a preliminary evaluation of the transmission quality of the overall data transmission result to obtain preliminary transmission quality data; Analyze the key indicators in the transmission process through preliminary transmission quality data to obtain key quality indicators; wherein the key indicators include delay, packet loss rate, and bandwidth utilization; Comprehensively evaluate key quality indicators to obtain comprehensive transmission quality evaluation results; A transmission quality assessment report is obtained based on the comprehensive transmission quality assessment result.
6. The data transmission method based on Wifi-Direct network according to claim 1, characterized in that: Optimizing the data transmission path based on the transmission quality evaluation report to obtain a data transmission result within a preset quality level range includes: Using a preset data analysis tool, the network bottleneck nodes on the transmission path are identified based on the transmission quality assessment report to obtain a bottleneck identification report; wherein the network bottleneck nodes include nodes with insufficient bandwidth, nodes with excessively high delay, or nodes with severe packet loss; Locating and marking the network bottleneck node in the bottleneck identification report to obtain a marked bottleneck node; Replanning the data transmission path based on the marked bottleneck node to obtain a candidate transmission path; Optimizing the transmission parameters of the candidate transmission path to obtain an optimized candidate transmission path; Perform simulation tests on the optimized transmission paths through network simulation tools to verify the performance of the optimized candidate transmission paths under different load conditions and obtain simulation test results; The data transmission path is optimized iteratively for multiple times based on the simulation test results to gradually improve the transmission quality until a data transmission result within a preset quality level range is obtained.
7. The data transmission method based on Wifi-Direct network according to claim 6, characterized in that: Using a preset data analysis tool, the network bottleneck on the transmission path is identified based on the transmission quality assessment report to obtain a bottleneck identification report, including: Import the transmission quality assessment report through the preset data analysis tool to obtain the analytical assessment data; Cleaning the analytical evaluation data to obtain cleaned data; Performing feature extraction on the cleaned data to obtain a feature data set; By using a preset decision tree algorithm, each node on the transmission path is identified based on the feature data set to obtain a network bottleneck node; A bottleneck identification report is generated based on the network bottleneck node.
8. A data transmission device based on a Wifi-Direct network, characterized in that: include: A scanning module, used to perform broadcast scanning on virtual receiving devices supporting the Wifi-Direct network to obtain a list of virtual receiving devices, and based on the list of virtual receiving devices, analyze the connection relationship between the virtual receiving devices and the virtual bus devices to obtain a network topology structure; A planning module, used for performing path planning for data transmission between the virtual receiving device and the virtual bus device based on the network topology structure to obtain a data transmission path; An estimation module, used to estimate the bandwidth of the data transmission path to obtain the available bandwidth of the link in the data transmission path; A transmission module, used for performing data transmission between the virtual receiving device and the virtual bus device through the available bandwidth, obtaining a data transmission result, performing a transmission quality evaluation on the data transmission result, and obtaining a transmission quality evaluation report; An optimization module is used to optimize the data transmission path based on the transmission quality evaluation report to obtain a data transmission result within the preset quality level range if the transmission quality evaluation report shows that the data transmission result is not within the preset quality level range.
9. A computer device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Communication enhancement method and device based on 5G RedCap, equipment and storage medium
CN119450642A