Method and apparatus for controlling data transmission, device, and medium
By performing network performance testing and index calculations on data transmission leased lines, and detecting and adjusting faults, the problem of uncontrollable quality of third-party leased lines in NFV networks was solved, thereby improving the stability and success rate of data transmission.
Patent Information
- Application Number
- CN202210709730.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-21
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-06-21
AI Technical Summary
In NFV networks, when connecting region A and region B via a third-party leased line, network quality is uncontrollable, leading to unstable data transmission. Existing technologies are insufficient to effectively detect and adjust this to ensure normal data transmission.
The probe performs network performance testing on the dedicated data transmission line, while the streaming computing unit calculates network performance indicators and compares them with preset thresholds to detect data transmission status. In case of a fault, the unit sends fault information to the control unit for corresponding adjustments.
It enables accurate detection of dedicated data transmission lines, improves the success rate of data transmission, and is suitable for application scenarios with high network quality requirements, ensuring the stability of data transmission.
Smart Images

Figure CN117319269B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and more specifically, to a data transmission control method, a data transmission control device, an electronic device, and a computer-readable medium. Background Technology
[0002] In Network Functions Virtualization (NFV) networks, an x86 server architecture is adopted. It encapsulates different network functions such as routers, switches, firewalls, and load balancers into independent modular software. By running different modular software on hardware devices, diverse network functions can be implemented on a single hardware device.
[0003] Currently in NFV networks, such as Figure 1 As shown, there is no direct data transmission leased line connection between Region A and Region B. To establish a connection between Region A and Region B, a detour is needed via the data transmission leased lines between Region A and Region C, and between Region C and Region B. Specifically, data enters through the Data Center Router (DR) in Region A, then flows into the Backbone Router (BR), and then via the data transmission leased lines between Region A and Region C, and between Region C and Region B, flowing into the BR in Region B, and finally exiting from the DR.
[0004] Understandably, customizable gateway (GW) devices can be added to different regions within an NFV network and controlled via a controller. Please refer to [further details omitted]. Figure 1 The GW is usually mounted next to the DR and will not affect data transmission.
[0005] Because some objects have high network quality requirements, to avoid network latency caused by data transmission detours through other regions (such as region C), related technologies forward the data specified by the object through other dedicated data transmission lines, such as third-party dedicated lines. For example... Figure 2 As shown, since there is a direct third-party leased line connection between Region A and Region B, data can enter through the DR of Region A, then flow into the GW, then flow into the GW of Region B through the third-party leased line, and then flow out from the DR.
[0006] It is understandable that data transmission between region A and region B can be achieved through a third-party leased line. Specifically, the controller can issue instructions to the gateways (GWs) of regions A and B to establish Border Gateway Protocol (BGP) neighbors. Then, a detailed route pointing to the DR is configured on the GW of region B for the destination IP of the data. After that, the GW of region A learns the detailed route through BGP and passes it to the corresponding DR.
[0007] However, since third-party leased lines are leased from operators by at least one of the data transmission parties, their network quality is often uncontrollable and may affect normal data transmission. Therefore, how to test third-party leased lines to ensure normal data transmission is an urgent problem to be solved. Summary of the Invention
[0008] The embodiments of this application provide a data transmission control method, apparatus, device, and medium, thereby enabling at least a certain degree of detection of dedicated data transmission lines and ensuring normal data transmission.
[0009] In a first aspect, embodiments of this application provide a data transmission control method, the method comprising: receiving a plurality of probe data packets sent by a prober; wherein the probe data packets are obtained by the prober through network performance probing of a data transmission leased line, the data transmission leased line being leased by at least one of the data transmission parties to an operator; calculating network performance index values for each transmission cycle included in the data transmission process based on the plurality of probe data packets; detecting the data transmission status of the data transmission leased line based on the relationship between the network performance index values for each transmission cycle and a preset threshold; and if the data transmission status indicates a data transmission fault, sending fault information to a control party, the fault information being used to instruct the control party to determine the fault type and to make adjustments to the data transmission leased line to match the fault type.
[0010] Secondly, embodiments of this application provide a data transmission control method, the method comprising: performing network performance detection on the data transmission process of a data transmission leased line to obtain multiple probe data packets; wherein the data transmission leased line is leased by an operator in at least one of the data transmission parties; sending the multiple probe data packets to a streaming computing party, so that the streaming computing party calculates network performance index values for each transmission cycle included in the data transmission process based on the multiple probe data packets, and detects the data transmission status of the data transmission leased line based on the relationship between the network performance index values for each transmission cycle and a preset threshold, and sends fault information to a control party when the transmission status indicates that a data transmission fault exists.
[0011] Thirdly, embodiments of this application provide a data transmission control method, the method comprising: receiving fault information sent by a streaming computing party; wherein the fault information is generated by the streaming computing party based on multiple probe data packets received from a probe party, calculating network performance index values within each transmission cycle included in the data transmission process, and detecting the data transmission status of the data transmission leased line based on the relationship between the network performance index values within each transmission cycle and a preset threshold, and sending the information when the transmission status indicates that a data transmission fault exists; determining the fault type of the data transmission fault on the data transmission leased line based on the fault information; and adjusting the data transmission leased line to match the fault type.
[0012] Fourthly, embodiments of this application provide a data transmission control device configured on a streaming computing platform. The device includes: a receiving module configured to receive multiple probe data packets sent by a prober; wherein the probe data packets are obtained by the prober during network performance probing of a data transmission leased line, and the data transmission leased line is leased by at least one of the data transmission parties to an operator; a calculation module configured to calculate network performance index values for each transmission cycle included in the data transmission process based on the multiple probe data packets; a detection module configured to detect the data transmission status of the data transmission leased line based on the relationship between the network performance index values for each transmission cycle and a preset threshold; and a sending module configured to send fault information to a control platform if the data transmission status indicates a data transmission fault, the fault information instructing the control platform to determine the fault type and make adjustments to the data transmission leased line to match the fault type.
[0013] In one embodiment of this application, based on the aforementioned scheme, the calculation module includes: a determining unit configured to determine the transmission period of each probe data packet based on the timestamp information of each probe data packet; a parsing processing unit configured to parse and process the probe data packets in each transmission period respectively to obtain parsed data corresponding to each transmission period; and a calculation unit configured to calculate the network performance index value in each transmission period based on the parsed data corresponding to each transmission period.
[0014] In one embodiment of this application, based on the foregoing scheme, the parsing processing unit is specifically configured to: deserialize the probe data packets in each transmission cycle to obtain probe data packets with a specified structure in each transmission cycle; split the probe data packets with a specified structure in each transmission cycle to obtain multiple probe data packets with a specified structure in each transmission cycle; the calculation unit is specifically configured to: calculate the network performance index values in each transmission cycle based on the multiple probe data packets with a specified structure in each transmission cycle.
[0015] In one embodiment of this application, based on the foregoing scheme, the parsing processing unit is further configured to: calculate the network performance index values corresponding to the plurality of probe data in each transmission cycle; and calculate the network performance index values in each transmission cycle based on the network performance index values corresponding to the plurality of probe data in each transmission cycle.
[0016] In one embodiment of this application, based on the aforementioned scheme, the network performance indicators include at least one of latency indicators and packet loss rate indicators; the parsing processing unit is further specifically configured to: if the network performance indicators include the latency indicator, calculate the latency indicator value for each transmission cycle based on the latency indicator value corresponding to the plurality of probe data in each transmission cycle; if the network performance indicators include the packet loss rate indicator, calculate the packet loss rate indicator value for each transmission cycle based on the packet loss rate indicator value corresponding to the plurality of probe data in each transmission cycle.
[0017] In one embodiment of this application, based on the aforementioned scheme, the detection module includes: an acquisition and determination unit configured to acquire the type of the network performance indicator and determine a target strategy based on the type of the network performance indicator; an acquisition unit configured to acquire network performance indicator values within a specified number of transmission cycles based on the target strategy; and a detection unit configured to obtain a transmission status indicating a data transmission failure if the network performance indicator values within the specified number of transmission cycles reach the preset threshold.
[0018] In one embodiment of this application, based on the aforementioned scheme, the acquisition and determination unit is specifically configured to: determine the strategy corresponding to the type of the network performance indicator based on a preset network performance indicator type and strategy mapping relationship table, and use the determined strategy as the target strategy; wherein, the preset network performance indicator type and strategy mapping relationship table pre-sets multiple types of network performance indicators, and strategies corresponding to the multiple types of network performance indicators respectively.
[0019] Fifthly, embodiments of this application provide a data transmission control device, configured on a probe side, the device comprising: a probe module configured to perform network performance detection on the data transmission process of a data transmission leased line, obtaining multiple probe data packets; wherein the data transmission leased line is leased by at least one of the data transmission parties to an operator; and a sending module configured to send the multiple probe data packets to a streaming computing party, so that the streaming computing party calculates network performance index values for each transmission cycle included in the data transmission process based on the multiple probe data packets, and detects the data transmission status of the data transmission leased line based on the relationship between the network performance index values for each transmission cycle and a preset threshold, and sends fault information to the control side when the transmission status indicates that a data transmission fault exists.
[0020] In one embodiment of this application, based on the aforementioned scheme, the sending module is specifically configured to: send the plurality of probe data packets to a message queue for buffering; wherein, the message queue is used to buffer the plurality of probe data packets obtained by each probe party in performing network performance detection on the data transmission process of the data transmission leased line; and send the buffered plurality of probe data packets to the streaming computing party through the message queue.
[0021] In one embodiment of this application, based on the foregoing scheme, the probe includes at least one of a network detector and a gateway device; if the probe includes the network detector, the network detector is used to perform network performance detection on the data transmission process of the data transmission leased line to obtain multiple probe data packets; wherein, one direction of the data transmission leased line corresponds to one network detector; if the probe includes the gateway device, the gateway device is used to perform network performance detection on the data transmission process of the data transmission tunnel contained in the data transmission leased line to obtain multiple probe data packets; wherein, one direction of the data transmission tunnel corresponds to one gateway device.
[0022] Sixthly, embodiments of this application provide a data transmission control device, the device being configured on a controller, the device comprising: a receiving module configured to receive fault information sent by a streaming computing party; wherein the fault information is generated by the streaming computing party based on multiple probe data packets received from a probe party, calculating network performance index values within each transmission cycle included in the data transmission process, and detecting the data transmission status of the data transmission leased line based on the relationship between the network performance index values within each transmission cycle and a preset threshold, and sending the information when the transmission status indicates that a data transmission fault exists; a determining module configured to determine the fault type of the data transmission fault on the data transmission leased line based on the fault information; and an adjusting module configured to adjust the data transmission leased line to match the fault type.
[0023] In one embodiment of this application, based on the aforementioned scheme, the adjustment module is specifically configured as follows: if the fault type indicates that the data transmission leased line as a whole is faulty, then the data transmitted on the data transmission leased line is adjusted to be transmitted on other data transmission lines; if the fault type indicates that the data transmission leased line is partially faulty, then the data transmitted on the faulty data transmission tunnel included in the data transmission leased line is adjusted to be transmitted on other data transmission tunnels included in the data transmission leased line.
[0024] In one embodiment of this application, based on the aforementioned scheme, the determining module is specifically configured to: obtain the identifier of the transmission line that has failed from the fault information; determine the identifier corresponding to the transmission line identifier based on a preset leased line identifier and tunnel identifier table; if the determined identifier matches the leased line identifier, a fault type is obtained to characterize the overall failure of the data transmission leased line; if the determined identifier matches the tunnel identifier, a fault type is obtained to characterize the partial failure of the data transmission leased line.
[0025] In a seventh aspect, embodiments of this application provide an electronic device, including one or more processors; and a memory for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the data transmission control method described above.
[0026] Eighthly, embodiments of this application provide a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the data transmission control method described above.
[0027] Ninthly, embodiments of this application provide a computer program product, including computer instructions, which, when executed by a processor, implement the data transmission control method described above.
[0028] In the technical solutions provided by the embodiments of this application:
[0029] On one hand, the probe performs network performance probing on the data transmission process of the dedicated data transmission line, obtaining multiple probe data packets. Then, the streaming computing unit can perform calculations based on these probe data packets to detect the data transmission status of the dedicated data transmission line during the data transmission process; this achieves the detection of the dedicated data transmission line. Furthermore, the streaming computing unit calculates network performance index values for each transmission cycle within the data transmission process based on the multiple probe data packets, and detects the data transmission status based on the relationship between the network performance index values in each transmission cycle and preset thresholds. By using multiple cycles as a detection benchmark, the accuracy of dedicated data transmission line detection is greatly improved.
[0030] On the one hand, when the detected data transmission status indicates a data transmission failure, the streaming computing party sends a fault message to the control party. The control party can then determine the fault type based on the fault message and make adjustments to the data transmission leased line to match the fault type. In this way, by sending fault messages to instruct the control party to make corresponding adjustments to the data transmission leased line, the phenomenon of uncontrollable network quality of the data transmission leased line affecting the normal data transmission in related technologies can be avoided, ensuring the normal transmission of data and greatly improving the success rate of data transmission. This is suitable for many application scenarios with high requirements for network quality.
[0031] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0032] Figure 1 This is a diagram illustrating data transmission between regions without direct data transmission lines.
[0033] Figure 2 This is a diagram illustrating data transmission between regions via dedicated data transmission lines that provide direct connections.
[0034] Figure 3 This is a schematic diagram illustrating an exemplary implementation environment in which the technical solutions of the embodiments of this application can be applied;
[0035] Figure 4 This is a schematic diagram illustrating the detection method of an exemplary embodiment of this application;
[0036] Figure 5 This is a schematic diagram illustrating the detection method of an exemplary embodiment of this application;
[0037] Figure 6This is a schematic diagram illustrating the detection method of an exemplary embodiment of this application;
[0038] Figure 7 This is a flowchart illustrating a data transmission control method in an exemplary embodiment of this application;
[0039] Figure 8 This is a schematic diagram illustrating the various transmission cycles included in a data transmission process according to an exemplary embodiment of this application;
[0040] Figure 9 This is a flowchart illustrating a data transmission control method in another exemplary embodiment of this application;
[0041] Figure 10 This is a flowchart illustrating a data transmission control method in another exemplary embodiment of this application;
[0042] Figure 11 This is a flowchart illustrating a data transmission control method in another exemplary embodiment of this application;
[0043] Figure 12 This is a flowchart illustrating a data transmission control method in another exemplary embodiment of this application;
[0044] Figure 13 This is a flowchart illustrating a data transmission control method in an exemplary embodiment of this application;
[0045] Figure 14 This is a flowchart illustrating a data transmission control method in another exemplary embodiment of this application;
[0046] Figure 15 This is a flowchart illustrating a data transmission control method in an exemplary embodiment of this application;
[0047] Figure 16 This is a flowchart illustrating a data transmission control method in another exemplary embodiment of this application;
[0048] Figure 17 This is a schematic diagram illustrating an exemplary implementation environment in which the technical solutions of the embodiments of this application can be applied;
[0049] Figure 18 This is a schematic diagram illustrating the processing of multiple probe data packets, as shown in an exemplary embodiment of this application;
[0050] Figure 19 This is a flowchart illustrating a data transmission control method in an exemplary embodiment of this application;
[0051] Figure 20 This is a flowchart illustrating a data transmission control method in an exemplary embodiment of this application;
[0052] Figure 21 This is a block diagram of a data transmission control device according to an embodiment of this application;
[0053] Figure 22 This is a block diagram of a data transmission control device according to an embodiment of this application;
[0054] Figure 23 This is a block diagram of a data transmission control device according to an embodiment of this application;
[0055] Figure 24 This is a schematic diagram of the structure of a computer system suitable for implementing the electronic devices of the present application embodiments. Detailed Implementation
[0056] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments identical to those of this application. Rather, they are merely examples of apparatuses and methods identical to some aspects of this application as detailed in the appended claims.
[0057] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0058] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0059] It should be noted that "multiple" as mentioned in this application refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0060] In one application scenario of this application, please refer to Figure 3 It mainly includes the detection unit 301, the streaming computing unit 302, the control unit 303, and the alarm unit 304. Among them:
[0061] The probe party 301 is a party that conducts network performance probing during the data transmission process of the data transmission leased line (i.e., the aforementioned third-party leased line, hereinafter the same). Through probing, it can obtain multiple probe data packets and send these multiple probe data packets to the streaming computing party.
[0062] The detector 301 may include, but is not limited to, network detectors and gateway devices.
[0063] In one embodiment of this application, if the probe 301 includes a network detector, the network detector can be used to probe the network performance of the data transmission process of the data transmission leased line and obtain multiple probe data packets.
[0064] In this case, one dedicated data transmission line in one direction corresponds to one network probe; for example, please refer to the example above. Figure 4 There is a third-party leased line between region A and region B. Region A can transmit data to region B through the third-party leased line, and region B can also transmit data to region A through the third-party leased line. Then, for the direction 'a' of region A transmitting data to region B through the third-party leased line, there can be a network detector (also called a network probe) a11, and for the direction 'b' of region B transmitting data to region A through the third-party leased line, there can be a network detector b11.
[0065] In one embodiment of this application, if the probe includes a gateway device, the gateway device can be used to probe the network performance of the data transmission process of the data transmission tunnel contained in the data transmission lease line, and obtain multiple probe data packets.
[0066] Optionally, the data transmission tunnel included in the data transmission leased line can be an Internet Protocol Security (IPSEC) encrypted tunnel constructed between gateway devices through Equal Cost Multi-path (ECMP) routing.
[0067] Optionally, the gateway device can be configured with a Network Quality Analysis (NQA) service to detect network performance during data transmission for the data transmission tunnel contained in the data transmission lease.
[0068] In this case, a data transmission tunnel in one direction corresponds to a gateway device; for example, please refer to the previous example. Figure 5There is a third-party leased line between region A and region B, and this third-party leased line includes a data transmission tunnel. Specifically, region A can transmit data to region B through the data transmission tunnel, and region B can transmit data to region A through the data transmission tunnel. Then, for direction 'a' of data transmission from region A to region B through the data transmission tunnel, there can be a gateway device a21, and for direction 'b' of data transmission from region B to region A through the data transmission tunnel, there can be a gateway device b21.
[0069] In one embodiment of this application, to ensure network quality, two or more gateway devices can be deployed in each region. If two gateway devices are deployed, a dual-master working mode can be used, meaning both gateway devices operate simultaneously. If more than two gateway devices are deployed, a dual-master + other secondary working mode can be used, meaning two gateway devices operate simultaneously, and other gateway devices start operating only when both gateway devices fail.
[0070] Please refer to Figure 6 Region A deploys two gateway devices, a21 and a22, and Region B deploys two gateway devices, b21 and b22. Correspondingly, there are four data transmission tunnels between Region A and Region B. Region A can transmit data to Region B through data transmission tunnels such as k11, k12, k13, and k14, and Region B can transmit data to Region A through data transmission tunnels such as k11, k12, k13, and k14. Optionally, data transmission tunnels k11, k12, k13, and k14 can employ load balancing to ensure balanced usage of each data transmission tunnel.
[0071] The streaming computing unit 302 performs calculations based on multiple probe data packets sent by the probe unit 301 to detect the data transmission status of the data transmission leased line. Specifically, it calculates the network performance index values for each transmission cycle during the data transmission process based on multiple probe data packets, and detects the data transmission status of the data transmission leased line based on the relationship between the network performance index values for each transmission cycle and a preset threshold. If the data transmission status indicates a data transmission fault, it sends fault information to the control unit.
[0072] Among them, streaming computing method 302 includes, but is not limited to, streaming computing platforms built through servers. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and intelligent platforms.
[0073] The controller 303 is a party that adjusts the data transmission leased line to match the fault type indicated by the fault information sent by the streaming computing party 302.
[0074] Among them, the controller 303 includes, but is not limited to, a control platform built through a server. The server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and intelligent platforms.
[0075] Alarm 304 is a party that handles alarms using a specified alarm method based on fault information sent by the streaming computing party 302. Optionally, the alarm method includes, but is not limited to, telephone alarms, email alarms, SMS alarms, and communication application message alarms.
[0076] The 304 alarm notification includes, but is not limited to, smartphones, tablets, laptops, computers, smart voice interaction devices, smart home appliances, vehicle terminals, and aircraft. Input interfaces include, but are not limited to, touchscreens, keyboards, physical buttons, and audio pickup devices. Alarm notifications can also be generated through a server-based alarm platform; details about servers are as described above and will not be repeated here.
[0077] It should be noted that in the specific implementation of this application, data related to the object is involved. When the embodiments of this application are applied to specific products or technologies, permission or consent from the object is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0078] The following details the various implementation details of the technical solutions in the embodiments of this application:
[0079] Please see Figure 7 , Figure 7 This is a flowchart illustrating a data transmission control method according to an embodiment of this application. This data transmission control method can be executed by the streaming computing unit 302. Figure 7 As shown, the control method for this data transmission includes at least S701 to S704, which are described in detail below:
[0080] S701 receives multiple probe data packets sent by the prober; wherein, the probe data packets are obtained by the prober to detect the network performance of the data transmission leased line during the data transmission process, and the data transmission leased line is leased by at least one of the data transmission parties from the operator.
[0081] In this embodiment, the probe performs network performance detection on the data transmission process of the data transmission leased line, obtains multiple probe data packets, and sends multiple probe data packets to the streaming computing party; correspondingly, the streaming computing party can receive the multiple probe data packets sent by the probe.
[0082] In this embodiment, the data transmission leased line is leased by an operator in at least one of the data transmission parties, i.e., the third-party leased line directly connecting region A and region B in the aforementioned example; this is different from ordinary data transmission leased lines, which are usually self-built or allocated by cloud service providers, and their network quality is often controllable, i.e., the leased line between region A and region C, and the leased line between region C and region B in the aforementioned example.
[0083] S702 calculates network performance metrics for each transmission cycle during data transmission based on multiple probe data packets.
[0084] In this embodiment, the streaming computing party receives multiple probe data packets sent by the probe party, and then calculates the network performance index values for each transmission cycle included in the data transmission process based on the multiple probe data packets.
[0085] It is understandable that the data transmission process corresponds to a time period, which can be further subdivided into multiple transmission cycles; for example, please refer to [link to relevant documentation]. Figure 8 Let T be the six transmission cycles included in an example data transmission process, namely T1', T2', T3', T4', T5', and T6'. The time periods corresponding to each transmission cycle may be the same or different. The time periods corresponding to all transmission cycles are added together to obtain the time period T corresponding to the data transmission process.
[0086] In this application embodiment, network performance metrics are indicators that reflect network quality, including but not limited to latency, packet loss rate, and throughput. Latency refers to the time interval from the first bit of a data packet entering the router to the last bit being output by the router. It can be divided into transmission latency, propagation latency, processing latency, and queuing latency. Better network quality results in lower latency values, and vice versa. Packet loss rate refers to the ratio of lost data packets to the total number of data packets sent during data transmission. Better network quality results in lower packet loss rates, and vice versa. Throughput refers to the number of data packets successfully transmitted per unit time (measured in bits, bytes, packets, etc.). Better network quality results in higher throughput values, and vice versa.
[0087] S703 detects the data transmission status of the dedicated data transmission line based on the relationship between network performance index values and preset thresholds within each transmission cycle.
[0088] In this embodiment, the streaming computing method calculates the network performance index values for each transmission cycle during the data transmission process based on multiple probe data packets. Then, it can detect the data transmission status of the dedicated data transmission line based on the relationship between the network performance index values for each transmission cycle and a preset threshold.
[0089] In the embodiments of this application, the relationship between the network performance index values and the preset threshold in each transmission cycle refers to the fact that each transmission cycle corresponds to a network performance index value, and the network performance index value corresponding to each transmission cycle has a magnitude relationship with the preset threshold.
[0090] In this embodiment, the preset threshold corresponds to a network performance indicator. Specifically, if the network performance indicator is latency, the preset threshold is the same as the latency indicator; if the network performance indicator is packet loss rate, the preset threshold is the same as the packet loss rate indicator; and if the network performance indicator is throughput, the preset threshold is the same as the throughput indicator. In practical applications, the preset threshold is flexibly set by relevant personnel based on experiments or experience.
[0091] S704 If the data transmission status indicates that there is a data transmission fault, a fault information is sent to the control party. The fault information is used to instruct the control party to determine the fault type and to make adjustments to the data transmission leased line to match the fault type.
[0092] In this embodiment, the streaming computing method detects the data transmission status of the dedicated data transmission line based on the relationship between the network performance index values and preset thresholds in each transmission cycle, and then determines the subsequent processing procedure based on the data transmission status.
[0093] In one embodiment of this application, if the data transmission status indicates that there is a data transmission failure, the streaming computing party can send failure information to the control party. In this way, the control party can determine the failure type of the data transmission failure on the data transmission leased line based on the failure information and make adjustments to the data transmission leased line to match the failure type.
[0094] In one embodiment of this application, if the data transmission status indicates a data transmission failure, the streaming computing provider can send a failure message to the alarm department, so that the alarm department can process the alarm using a specified alarm method based on the failure message.
[0095] In one embodiment of this application, if the data transmission status indicates that there is no data transmission failure, the streaming computing method may not need to perform any processing.
[0096] In this embodiment, the streaming computing method calculates based on multiple probe data packets sent by the prober to detect the data transmission status of the data transmission leased line during data transmission; thus, the detection of the data transmission leased line is achieved. Furthermore, the streaming computing method calculates network performance index values for each transmission cycle included in the data transmission process based on multiple probe data packets, and detects the data transmission status based on the relationship between the network performance index values in each transmission cycle and a preset threshold; thus, using multiple cycles as a detection benchmark greatly improves the accuracy of data transmission leased line detection.
[0097] In one embodiment of this application, another data transmission control method is provided, which can be executed by the streaming computing unit 302. For example... Figure 9 As shown, the control method for this data transmission may include S901 to S903, S701, S703 to S704.
[0098] Detailed introductions of S901 to S903 are as follows:
[0099] S901 determines the transmission period of each probe data packet based on the timestamp information of each probe data packet.
[0100] It is understood that each probe data packet may contain timestamp information; therefore, in the embodiments of this application, the transmission period of each probe data packet can be determined based on the timestamp information of each probe data packet.
[0101] For example, suppose there are 12 probe packets, numbered 1-12, with timestamps t1, t2, t3...t12. Based on the timestamps, it can be determined that packets 1-2 are in transmission period T1', packets 3-4 are in transmission period T2', packets 5-6 are in transmission period T3', packets 7-8 are in transmission period T4', packets 9-10 are in transmission period T5', and packets 11-12 are in transmission period T6'.
[0102] S902, the probe data packets in each transmission cycle are parsed and processed to obtain the parsed data corresponding to each transmission cycle.
[0103] In this embodiment, the streaming computing method determines the transmission period of each probe data packet based on the timestamp information of each probe data packet. Then, the probe data packets in each transmission period can be parsed and processed to obtain the parsed data corresponding to each transmission period.
[0104] For example, continuing from the previous example, probe data packets 1-2 within transmission period T1' can be parsed to obtain the parsed data corresponding to transmission period T1'; probe data packets 3-4 within transmission period T2' can be parsed to obtain the parsed data corresponding to transmission period T2'; probe data packets 5-6 within transmission period T3' can be parsed to obtain the parsed data corresponding to transmission period T3'; probe data packets 7-8 within transmission period T4' can be parsed to obtain the parsed data corresponding to transmission period T4'; probe data packets 9-10 within transmission period T5' can be parsed to obtain the parsed data corresponding to transmission period T5'; and probe data packets 11-12 within transmission period T6' can be parsed to obtain the parsed data corresponding to transmission period T6'. It should be noted that this is only an example of a transmission period including a small number of probe data packets. In practical applications, it can be flexibly adjusted according to the specific application scenario.
[0105] S903 calculates the network performance index values for each transmission cycle based on the parsed data corresponding to each transmission cycle.
[0106] In this embodiment, the streaming computing method parses the probe data packets in each transmission cycle to obtain the parsed data corresponding to each transmission cycle. Then, based on the parsed data corresponding to each transmission cycle, the network performance index values in each transmission cycle can be calculated.
[0107] For example, continuing from the previous example, network performance index values within transmission period T1' can be calculated based on the parsed data corresponding to transmission period T1', T2', T3', T4', T5', and T6'.
[0108] It should be noted that, Figure 9 For detailed information on S701, S703 to S704 shown, please refer to [link / reference]. Figure 7 S701, S703 to S704 shown will not be described again here.
[0109] In this embodiment, the streaming computation method divides the transmission period of each probe data packet based on the timestamp information of each probe data packet, thus improving the accuracy of the transmission period division. Then, the probe data packets within each transmission period are parsed, and based on the parsed data corresponding to each transmission period, the network performance index values for each transmission period are calculated. This calculation process is simple and convenient, improving the efficiency of calculating the network performance index values for each transmission period, and providing support for subsequent detection of the data transmission status of the dedicated data transmission line based on the network performance index values for each transmission period.
[0110] In one embodiment of this application, another data transmission control method is provided, which can be executed by the streaming computing unit 302. For example... Figure 10 As shown, the control method for this data transmission may include S1001 to S1003, S901, S701, and S703 to S704.
[0111] Detailed introductions of S1001 to S1003 are as follows:
[0112] S1001, deserialize the probe data packets in each transmission cycle to obtain probe data packets with a specified structure in each transmission cycle.
[0113] In this embodiment, serialization refers to the process of converting structured data into a specified format according to certain encoding standards, while deserialization refers to the process of parsing the converted data into the original structured data. For example, Person is an object type representing a person, and person is an object of type Person. The process of storing person in a corresponding Extensible Markup Language (XML) document is serialization, while the process of parsing XML to generate the corresponding Person type object person is deserialization. Here, structured data refers to data of type Person, and certain encoding standards refer to the specifications of the XML document. Generally, commonly used serialization methods include binary serialization, XML serialization, and JavaScript Object Notation (JSON) serialization.
[0114] For example, continuing from the previous example, probe data packets 1-2 within transmission period T1' can be deserialized to obtain probe data packets 1'-2' with a specified structure within transmission period T1'. The same principle applies to other transmission periods T2', T3', T4', T5', and T6'.
[0115] S1002, the probe data packets with a specified structure in each transmission cycle are split and processed to obtain multiple probe data packets with a specified structure in each transmission cycle.
[0116] In this embodiment, the streaming computing method deserializes the probe data packets in each transmission cycle to obtain probe data packets with a specified structure in each transmission cycle. Then, the probe data packets with a specified structure in each transmission cycle can be split to obtain multiple probe data packets with a specified structure in each transmission cycle.
[0117] In this embodiment of the application, splitting refers to splitting the batch data contained in the probe data packet into multiple individual data entries.
[0118] For example, continuing from the previous example, the probe data packet 1' with a specified structure within transmission period T1' can be split to obtain multiple probe data n11', n12', n13', and n14' corresponding to probe data packet 1'. Similarly, the probe data packet 2' with a specified structure within transmission period T1' can be split to obtain multiple probe data n21', n22', n23', n24', n25', and n26' corresponding to probe data packet 2'. This results in multiple probe data n11', n12', n13', n14', n21', n22', n23', n24', n25', and n26' with a specified structure within transmission period T1'. It should be noted that this example only shows a probe data packet containing a small amount of probe data. In practical applications, this can be flexibly adjusted according to the specific application scenario. The same principle applies to other transmission periods T2', T3', T4', T5', and T6'.
[0119] S1003, based on multiple probe data with specified structure in each transmission cycle, calculate the network performance index values for each transmission cycle.
[0120] In this embodiment, the streaming computing method splits the probe data packets with a specified structure in each transmission cycle to obtain multiple probe data with a specified structure in each transmission cycle. Then, based on the multiple probe data with a specified structure in each transmission cycle, the network performance index values in each transmission cycle can be calculated respectively.
[0121] For example, continuing from the previous example, network performance metrics can be calculated based on multiple structured probe data n11', n12', n13', n14', n21', n22', n23', n24', n25', and n26' within transmission period T1'. The same principle applies to other transmission periods T2', T3', T4', T5', and T6'.
[0122] In one embodiment of this application, the process of calculating the network performance index value for each transmission cycle based on multiple probe data with a specified structure in each transmission cycle in S1003 may include at least the following steps:
[0123] Calculate the network performance index values corresponding to multiple probe data in each transmission cycle;
[0124] Based on the network performance index values corresponding to multiple probe data within each transmission cycle, the network performance index values within each transmission cycle are calculated respectively.
[0125] That is, in the optional embodiment, the streaming computing method calculates the network performance index values corresponding to multiple probe data in each transmission cycle, and then calculates the network performance index values in each transmission cycle based on the network performance index values corresponding to multiple probe data in each transmission cycle.
[0126] Optionally, based on the network performance index values corresponding to multiple probe data in each transmission cycle, the network performance index values in each transmission cycle can be calculated separately. This can be achieved by summing and averaging the network performance index values corresponding to multiple probe data for each transmission cycle to obtain the network performance index values in each transmission cycle.
[0127] For example, continuing from the previous example, for transmission period T1', the network performance index values corresponding to multiple probe data points n11', n12', n13', n14', n21', n22', n23', n24', n25', and n26' are summed and averaged to obtain the network performance index value within transmission period T1'. The same principle applies to other transmission periods T2', T3', T4', T5', and T6'. It should be noted that this is just one example of the operation; other operations are possible, and adjustments can be made flexibly according to the specific application scenario in practical applications.
[0128] Optionally, if the network performance metrics include latency metrics, the latency metrics values for each transmission cycle can be calculated based on the latency metrics values corresponding to multiple probe data within each transmission cycle.
[0129] Optionally, if the network performance metrics include packet loss rate, the packet loss rate metric values for each transmission cycle can be calculated based on the packet loss rate metric values corresponding to multiple probe data within each transmission cycle.
[0130] It should be noted that, Figure 10 For a detailed description of S901 shown, please refer to [link / reference]. Figure 9 The S901 shown is... Figure 10 For detailed information on S701, S703 to S704 shown, please refer to [link / reference]. Figure 7 S701, S703 to S704 shown will not be described again here.
[0131] In this embodiment, the streaming computation method first deserializes the probe data packets in each transmission cycle, and then splits the probe data packets with a specified structure in each transmission cycle. This can accurately obtain multiple probe data with a specified structure in each transmission cycle, thereby improving the accuracy of the network performance index values calculated based on multiple probe data with a specified structure in each transmission cycle.
[0132] In one embodiment of this application, another data transmission control method is provided, which can be executed by the streaming computing unit 302. For example... Figure 11 As shown, the control method for this data transmission may include S1101 to S1102, S701 to S702, and S704.
[0133] Detailed introductions of S1101 to S1103 are as follows:
[0134] S1101, Obtain the type of network performance indicator, and determine the target strategy based on the type of network performance indicator.
[0135] In this application embodiment, different types of network performance indicators correspond to different strategies; wherein, the strategy is used to indicate how to obtain the network performance indicator value within the transmission cycle, and the target strategy refers to the strategy corresponding to the type of network performance indicator.
[0136] Please refer to Table 1 below, which is an example of a mapping table between the types of preset network performance indicators and policies. The table contains multiple types of network performance indicators and the corresponding policies for each type of network performance indicator.
[0137] Types of network performance metrics Strategy Delay Three consecutive transmission cycles Packet loss rate Three consecutive transmission cycles Throughput Two non-contiguous transmission cycles …… ……
[0138] Table 1
[0139] In one embodiment of this application, the process of determining the target strategy based on the type of network performance indicators in S1101 may include at least the following steps:
[0140] Based on a pre-defined mapping table between network performance index types and policies, policies corresponding to the types of network performance indices are determined, and the determined policies are used as target policies.
[0141] That is, in the optional embodiment, the streaming computing method can look up the policy corresponding to the type of network performance indicator from the preset network performance indicator type and policy mapping relationship table, and the policy found is the target policy.
[0142] S1102, obtain network performance index values within a specified number of transmission cycles based on the target strategy.
[0143] In this embodiment, the streaming computing method obtains the type of network performance indicators and determines the target strategy based on the type of network performance indicators. Then, it can obtain the network performance indicator values within a specified number of transmission cycles based on the target strategy.
[0144] For example, continuing from the previous example, we calculate the network performance index values within transmission cycles T1', T2', T3', T4', T5', and T6'. Assuming the network performance index is a latency index, based on Table 1, the target strategy is three consecutive transmission cycles. Therefore, we need to obtain the network performance index values for the three consecutive transmission cycles T1', T2', and T3', T2', T3', T4', T3', T4', and T5', and finally, T4', T5', and T6'.
[0145] S1103, if the network performance index value reaches a preset threshold within a specified number of transmission cycles, the transmission status used to characterize the failure of data transmission is obtained.
[0146] In this embodiment, the streaming computing method obtains network performance index values within a specified number of transmission cycles based on the target strategy. Then, based on the relationship between the network performance index values within the specified number of transmission cycles and a preset threshold, it can obtain the transmission status used to characterize whether there is a fault in the data transmission.
[0147] If the network performance index value reaches a preset threshold within a specified number of transmission cycles, a transmission status indicating a data transmission failure is obtained.
[0148] Understandably, once network performance metric values for a specified number of transmission cycles are obtained based on the target strategy, these values are compared with a preset threshold. For example, in the aforementioned example, after obtaining network performance metric values for three consecutive transmission cycles T1', T2', and T3', each value is compared with the preset threshold. If the network performance metric values for all three consecutive transmission cycles T1', T2', and T3' reach the preset threshold, then it is unnecessary to obtain network performance metric values for the specified number of transmission cycles based on the target strategy. That is, it is unnecessary to obtain network performance metric values for the three consecutive transmission cycles T2', T3', and T4', T3', T4', and T5', or T4', T5', and T6'. This can reduce the resource consumption of the streaming computing party to a certain extent.
[0149] If, within a specified number of transmission cycles, the network performance index value fails to reach a preset threshold in any transmission cycle, a transmission condition is obtained that characterizes the absence of data transmission failures.
[0150] Understandably, it's necessary to obtain network performance indicator values for a specified number of transmission cycles based on the target strategy before a transmission status indicating no data transmission failure can be obtained if the network performance indicator value in any one of the specified number of transmission cycles fails to reach a preset threshold. For example, in the aforementioned example, the fact that the network performance indicator value in any one of the three consecutive transmission cycles T1', T2', and T3' fails to reach the preset threshold does not automatically provide a transmission status indicating no data transmission failure. Instead, the network performance indicator values for the three consecutive transmission cycles T2', T3', and T4', T3', T4', and T5', and T4', T5', and T6' need to be compared sequentially to ultimately obtain a transmission status indicating no data transmission failure. This approach can improve the accuracy of the detected data transmission status of the dedicated data line to some extent.
[0151] It should be noted that, Figure 11 For detailed information on S701 to S702 and S704 shown, please refer to [link / reference]. Figure 7 S701 to S702 and S704 shown will not be described again here.
[0152] In this embodiment, the streaming computing method determines the target strategy based on the type of network performance indicators obtained, and obtains the network performance indicator values within a specified number of transmission cycles based on the target strategy. Then, it detects whether the obtained network performance indicator values within the specified number of transmission cycles reach a preset threshold, thereby detecting the data transmission status of the data transmission leased line. In this way, the data transmission status of the data transmission leased line detected according to different types of network performance indicators is different, which is more flexible and applicable to a wider range of application scenarios.
[0153] In one embodiment of this application, another data transmission control method is provided, which can be executed by the streaming computing unit 302. For example... Figure 12 As shown, the control method for this data transmission may include S1201, S702 to S704.
[0154] S1201 is detailed below:
[0155] S1201, Receive multiple buffered probe data packets sent by the message queue; wherein, the multiple probe data packets are obtained by the probe party to detect the network performance of the data transmission process of the data transmission leased line, and are sent to the message queue for buffering.
[0156] In this embodiment, the multiple probe data packets received by the streaming computing party are sent by a message queue. The message queue is used to buffer the multiple probe data packets obtained by each probe party in the network performance detection of the data transmission process of the data transmission leased line. This can avoid the phenomenon that the streaming computing party may crash or the probe data packets may be lost if too many probe data packets are detected by the probe party and all of them are sent to the streaming computing party.
[0157] In one embodiment of this application, the message queue may be a Kafka message queue, in which probe data packets sent by one or more probes may be temporarily stored. These probe data packets may then be sorted according to their arrival order (early or late order), and then sent to the streaming computer in sequence based on this sorting. Accordingly, the streaming computer receives multiple probe data packets sent by the Kafka message queue.
[0158] In one embodiment of this application, if the message queue is a Kafka message queue, the streaming computing provider can use the Kafka Streams streaming computing engine. This allows for better interaction between the two. By importing code into Kafka Streams as a package, there is no need to deploy and maintain an additional framework service, making it more lightweight and reducing later maintenance costs. It should be noted that in practical applications, the streaming computing provider can also use other streaming computing engines such as Flink, Spark, and Storm, depending on the specific application scenario.
[0159] It should be noted that, Figure 12 For detailed information on S702 to S704 shown, please refer to [link / reference]. Figure 7 S702 to S704 shown will not be described again here.
[0160] In this embodiment, the streaming computer obtains multiple probe data packets buffered by it from the message queue. This avoids the possibility that the streaming computer might crash or lose probe data packets if too many probe data packets are sent to it. This provides support for the streaming computer to detect the data transmission status of the data transmission leased line based on the multiple probe data packets.
[0161] It should be noted that, Figures 7 to 12 The illustrated embodiment is presented from the perspective of streaming computing. The following is combined with... Figures 13 to 14 The implementation details of the technical solutions in the embodiments of this application are described in detail from the perspective of the probe:
[0162] Please see Figure 13 , Figure 13 This is a flowchart illustrating a data transmission control method according to an embodiment of this application. This data transmission control method can be executed by the probe 301. Figure 13 As shown, the control method for this data transmission includes at least S1301 to S1302, which are described in detail below:
[0163] S1301, network performance detection is performed on the data transmission process of the data transmission leased line to obtain multiple probe data packets; wherein, the data transmission leased line is leased by at least one of the data transmission parties to the operator.
[0164] In one embodiment of this application, the probe can passively trigger network performance probing of the data transmission process of the data transmission leased line, obtaining multiple probe data packets. For example, the probe can trigger network performance probing of the data transmission process of the data transmission leased line based on a received probe instruction, obtaining multiple probe data packets, wherein the probe instruction is sent by the controller according to the probe requirements.
[0165] In one embodiment of this application, the probe can automatically trigger network performance probing of the data transmission process of the data transmission leased line, obtaining multiple probe data packets. For example, the probe can trigger network performance probing of the data transmission process of the data transmission leased line at a fixed time each day, obtaining multiple probe data packets.
[0166] For a detailed description of the data transmission leased line in this application embodiment, please refer to the foregoing embodiments, which will not be repeated here.
[0167] S1302, send multiple probe data packets to the streaming computing party so that the streaming computing party can calculate the network performance index values in each transmission cycle included in the data transmission process based on the multiple probe data packets, and detect the data transmission status of the data transmission leased line based on the relationship between the network performance index values in each transmission cycle and the preset threshold, and send fault information to the control party when the transmission status indicates that there is a data transmission fault.
[0168] In this embodiment, the probe performs network performance probing on the data transmission process of the data transmission leased line, obtaining multiple probe data packets. These packets can then be sent to the streaming computing unit. Based on these probe data packets, the streaming computing unit can calculate the network performance metrics for each transmission cycle during the data transmission process, and the relationship between these metrics and preset thresholds. This allows it to detect the data transmission status of the leased line and send fault information to the control unit when the transmission status indicates a data transmission failure. The processing procedure for the streaming computing unit is detailed in the aforementioned embodiment and will not be repeated here.
[0169] In this embodiment, the probe performs network performance detection on the data transmission process of the data transmission leased line and obtains multiple probe data packets. This detection process is simple, convenient, and easy to implement. Furthermore, since the probe can be a network detector and / or gateway device, this detection process does not require network-side participation and is applicable to a wider range of application scenarios.
[0170] In one embodiment of this application, another data transmission control method is provided, which can be executed by the probe 301. For example... Figure 14 As shown, the control method for this data transmission may include S1401 to S1402 and S1301.
[0171] Detailed introductions of S1401 to S1402 are as follows:
[0172] S1401, multiple probe data packets are sent to a message queue for buffering; wherein, the message queue is used to buffer multiple probe data packets obtained by each probe party for network performance detection of the data transmission process of the data transmission leased line.
[0173] In this embodiment, the probe performs network performance detection on the data transmission process of the data transmission leased line and obtains multiple probe data packets. These multiple probe data packets can then be sent to a message queue for buffering. The message queue is used to buffer the multiple probe data packets obtained by each probe from the network performance detection of the data transmission process of the data transmission leased line.
[0174] S1402, send multiple buffered probe data packets to the streaming computing side via a message queue.
[0175] In this embodiment, the probe sends multiple probe data packets to a message queue for buffering. Then, the buffered probe data packets can be sent to the streaming computing unit through the message queue. This avoids the possibility that the streaming computing unit may crash or the probe data packets may be lost if too many probe data packets are sent to the streaming computing unit.
[0176] In one embodiment of this application, the message queue may be a Kafka message queue, in which probe data packets sent by one or more probes may be temporarily stored. These probe data packets may then be sorted according to their arrival order (early or late order), and then sent to the streaming computer in sequence based on this sorting. Accordingly, the streaming computer receives multiple probe data packets sent by the Kafka message queue.
[0177] It should be noted that, Figure 14 For a detailed description of S1301 shown, please refer to [link / reference]. Figure 13 The S1301 shown here will not be described in detail here.
[0178] In this embodiment, the probe sends the detected probe data packets to a message queue for caching. This avoids the possibility that sending all the probe data packets detected by the probe to the streaming computing unit may cause the streaming computing unit to crash or the probe data packets to be lost.
[0179] It should be noted that, Figures 13 to 14 The illustrated embodiment is presented from the perspective of the probe. The following is a combination of... Figures 15 to 16 The implementation details of the technical solutions in the embodiments of this application are described in detail from the perspective of the controlling party:
[0180] Please see Figure 15 , Figure 15 This is a flowchart illustrating a data transmission control method according to an embodiment of this application. This data transmission control method can be executed by the controller 303. Figure 15 As shown, the control method for this data transmission includes at least S1501 to S1503, which are described in detail below:
[0181] S1501, Receive fault information sent by the streaming computing party; wherein, the fault information is sent by the streaming computing party based on multiple probe data packets sent by the probe party, calculating the network performance index values in each transmission cycle included in the data transmission process, and detecting the data transmission status of the data transmission leased line based on the relationship between the network performance index values in each transmission cycle and the preset threshold, and when the transmission status indicates that there is a fault in the data transmission.
[0182] In this embodiment, the streaming computer calculates network performance metrics for each transmission cycle during data transmission based on multiple probe data packets received from the prober. It also detects the data transmission status of the dedicated data transmission line based on the relationship between these metrics and preset thresholds. When the transmission status indicates a data transmission failure, it sends fault information to the control unit. Correspondingly, the control unit receives the fault information sent by the streaming computer. The processing procedure for the streaming computer is detailed in the foregoing embodiments and will not be repeated here.
[0183] S1502, determine the type of fault that caused the data transmission failure on the dedicated data transmission line based on the fault information.
[0184] In this embodiment, the controller receives fault information sent by the streaming computing party and can then determine the type of fault that caused the data transmission failure on the dedicated data transmission line based on the fault information.
[0185] The fault types in this application embodiment are divided into two types; one is a fault type in which the entire data transmission leased line is faulty, which is considered from the large-granularity level of the data transmission leased line, and it can be obtained by the streaming computing method described in the previous embodiment based on multiple probe data packets detected by the network detector; the other is a fault type in which the data transmission leased line is partially faulty, which is considered from the small-granularity level of the data transmission tunnel, and it can be obtained by the streaming computing method described in the previous embodiment based on multiple probe data packets detected by the gateway device.
[0186] S1503, adjust the data transmission leased line to match the fault type.
[0187] In this embodiment, the controller determines the type of fault that caused the data transmission fault on the dedicated data transmission line based on the fault information, and then adjusts the dedicated data transmission line to match the fault type.
[0188] In one embodiment of this application, if the fault type indicates a fault in the entire data transmission leased line, the data transmitted on the leased line will be diverted to other data transmission lines for transmission. That is, if the entire data transmission leased line is faulty, then the data transmitted on the entire leased line needs to be diverted to other data transmission lines for transmission, thereby ensuring normal data transmission.
[0189] For example, please refer to [link / reference]. Figure 2 It can Figure 2 The data transmitted on the third-party leased line shown is adjusted to be transmitted on the data transmission leased line between region A and region C, and between region C and region B.
[0190] In one embodiment of this application, if the fault type indicates a partial fault in the data transmission leased line, the data transmitted on the faulty data transmission tunnel within the data transmission leased line will be redirected to other data transmission tunnels within the data transmission leased line for transmission. That is, if a partial fault (i.e., a data transmission tunnel) occurs in the data transmission leased line, the data transmitted on the faulty data transmission tunnel needs to be redirected to other data transmission tunnels within the data transmission leased line for transmission, thereby ensuring normal data transmission.
[0191] For example, please refer to [link / reference]. Figure 6 Let the failed data transmission tunnel be k11. The data transmitted on data transmission tunnel k11 can be redirected to other data transmission tunnels k12, k13, and k14 for transmission. Specifically, the data transmitted on data transmission tunnel k11 can be redirected to any one or more of the other data transmission tunnels k12, k13, and k14. Optionally, the data transmitted on data transmission tunnel k11 can be evenly distributed among the other data transmission tunnels k12, k13, and k14, meaning that each of the other data transmission tunnels k12, k13, and k14 carries approximately 33% of the data transmitted on data transmission tunnel k11.
[0192] In this embodiment, the controller determines the fault type based on the fault information sent by the streaming computing party and adjusts the data transmission leased line to match the fault type. By instructing the controller to make corresponding adjustments to the data transmission leased line through the sending of fault information, the phenomenon of uncontrollable network quality of the data transmission leased line affecting normal data transmission, as seen in related technologies, can be avoided. This ensures normal data transmission and greatly improves the success rate of data transmission, making it suitable for many application scenarios with high network quality requirements.
[0193] In one embodiment of this application, another data transmission control method is provided, which can be executed by the controller 303. For example... Figure 16 As shown, the control method for this data transmission may include S1601 to S1604, S1501, and S1503.
[0194] Detailed introductions of S1601 to S1604 are as follows:
[0195] S1601, Obtain the identifier of the transmission line that has failed from the fault information.
[0196] In this embodiment, the fault information includes the identifier of the faulty transmission line, where the transmission line identifier refers to a unique identifier used to characterize the transmission line; therefore, in this embodiment, the controller can obtain the identifier of the faulty transmission line from the fault information.
[0197] S1602, based on the preset leased line identifier and tunnel identifier table, determine the identifier corresponding to the transmission line identifier.
[0198] In this embodiment of the application, a preset leased line identifier and tunnel identifier table is provided. Please refer to Table 2 below, which is an example of a preset leased line identifier and tunnel identifier table. The preset leased line identifier and tunnel identifier table includes the identifier of the data transmission leased line and the identifier of the data transmission tunnel corresponding to the identifier of the data transmission leased line.
[0199]
[0200] Table 2
[0201] It is understandable that the example of the preset dedicated line identifier and tunnel identifier table is in the form of a single table, but it can also be split into two tables. In practical applications, it can be flexibly adjusted according to the specific application scenario.
[0202] In this embodiment, the controller can search for the identifier corresponding to the transmission line identifier in a preset leased line identifier and tunnel identifier table. Then, based on the found identifier, it can obtain the fault type used to characterize the overall or partial fault of the data transmission leased line.
[0203] S1603 If the determined identifier matches the leased line identifier, then the fault type used to characterize the overall fault of the data transmission leased line is obtained.
[0204] In this embodiment of the application, if the determined identifier matches the leased line identifier, the fault type used to characterize the overall fault of the data transmission leased line can be obtained.
[0205] S1604 If the determined identifier matches the tunnel identifier, then the fault type used to characterize the local fault in the data transmission leased line is obtained.
[0206] In this embodiment of the application, if the determined identifier matches the tunnel identifier, the fault type used to characterize the local fault in the data transmission leased line can be obtained.
[0207] It should be noted that, Figure 16 For detailed information on S1501 and S1503 shown, please refer to [link / reference]. Figure 15 S1501 and S1503 shown will not be described again here.
[0208] In this embodiment, the controller can determine whether the data transmission leased line is faulty in its entirety or partially through the fault information, and then make appropriate adjustments to the data transmission leased line accordingly. This not only ensures the normal transmission of data, but also provides greater flexibility by making appropriate adjustments based on the determined fault type.
[0209] The following provides a detailed description of a specific application scenario of this application:
[0210] Please see Figure 17 This mainly includes the probes (specifically network probers 1-2 and gateway devices 1-4), the streaming computing platform (specifically the streaming computing platform), the control platform (specifically the control platform), the alarm platform (specifically the alarm platform), and the Kafka message queue. Among them:
[0211] Network prober 1-2 and gateway device 1-4 are mainly used to perform network performance probing on the data transmission leased line and obtain multiple probe data packets. Network prober 1-2 performs network performance probing on the data transmission leased line and obtains multiple probe data packets, while gateway device 1-4 performs network performance probing on the data transmission tunnel contained in the data transmission leased line and obtains multiple probe data packets. Afterwards, both network prober 1-2 and gateway device 1-4 send the obtained multiple probe data packets to the Kafka message queue for buffering processing.
[0212] The Kafka message queue is mainly used to buffer multiple probe data packets obtained by network probe machines 1-2 for network performance testing of the data transmission leased line, and to buffer multiple probe data packets obtained by gateway devices 1-4 for network performance testing of the data transmission tunnel contained in the data transmission leased line.
[0213] The streaming computing platform is mainly used to calculate the network performance index values of each transmission cycle during the data transmission process based on multiple probe data packets obtained from the Kafka message queue, and to detect the data transmission status of the data transmission leased line based on the relationship between the network performance index values of each transmission cycle and the preset threshold. If the data transmission status indicates that there is a data transmission failure, fault information is sent to the control platform and alarm platform.
[0214] Optionally, the streaming computing platform can employ the streaming computing engine Kafka Stream; please refer to [link / reference]. Figure 18 The probe data packets are accessed by the streaming computing platform via a Kafka message queue and converted into a Stream. Each probe data packet is deserialized into a structured probe data packet using a Map function according to a specified data format. Since each probe data packet may contain batches of data, a Flat Map function is then used to split or map the batches of data into multiple individual data entries. It can be understood that Window1 refers to a single transmission cycle within the data transmission process, while Window2 refers to multiple transmission cycles. When the streaming computing platform detects the data transmission status of the dedicated data transmission line, it does so based on multiple transmission cycles. For the specific detection process, please refer to the aforementioned embodiment; it will not be repeated here.
[0215] The control platform is mainly used to determine the type of fault that caused the data transmission fault on the data transmission leased line based on the fault information sent by the streaming computing platform, and then make adjustments to the data transmission leased line to match the fault type.
[0216] The alarm platform is mainly used to process alarms based on the fault information sent by the streaming computing platform and to use specified alarm methods.
[0217] First, we will introduce the process of detection and processing at a large granular level from the data transmission leased line:
[0218] Please see Figure 19 , Figure 19 This is a flowchart illustrating a data transmission control method according to an embodiment of this application. Figure 19 As shown, the control method for this data transmission includes at least S1901 to S1909, which are described in detail below:
[0219] S1901, Network Probe 1 performs network performance detection on the data transmission process of the data transmission leased line and obtains multiple probe data packets.
[0220] It is understandable that network probe 1 targets the data transmission direction from its location to the other party.
[0221] S1902, Network Probe 2 performs network performance detection on the data transmission process of the data transmission leased line and obtains multiple probe data packets.
[0222] It is understandable that network probe 2 also targets the data transmission direction from its location to the other party, which is the opposite of network probe 1.
[0223] S1903, Network Probe 1 sends multiple probe data packets to the streaming computing platform via the Kafka message queue.
[0224] S1904, Network Probe 2 sends multiple probe data packets to the streaming computing platform via the Kafka message queue.
[0225] S1905, the streaming computing platform calculates the network performance index values in each transmission cycle during the data transmission process based on multiple probe data packets sent by network probe 1 and network probe 2, and detects the data transmission status of the data transmission leased line based on the relationship between the network performance index values in each transmission cycle and the preset threshold.
[0226] S1906 If the data transmission status indicates a data transmission failure, the streaming computing platform sends the failure information to the alarm platform.
[0227] S1907, the alarm platform uses a specified alarm method to process alarms based on fault information.
[0228] S1908, if the data transmission status indicates a data transmission failure, the streaming computing platform sends a failure message to the control platform.
[0229] S1909: Based on the fault information, the control platform determines that the data transmission leased line has failed and redirects the data being transmitted on the leased line to other data transmission lines for transmission.
[0230] It should be noted that, Figure 19 For a detailed description of S1901 to S1909 shown, please refer to the aforementioned embodiments, which will not be repeated here.
[0231] In this embodiment of the application, by detecting and processing at a large granular level on the data transmission leased line, the self-healing of data transmission leased line network faults is achieved, ensuring the normal transmission of data.
[0232] Secondly, the process of detection and processing at a fine-grained level from the data transmission tunnel is introduced:
[0233] Please see Figure 20 , Figure 20 This is a flowchart illustrating a data transmission control method according to an embodiment of this application. Figure 20 As shown, the control method for this data transmission includes at least S2001 to S2009, which are described in detail below:
[0234] S2001, Gateway devices 1-2 perform network performance detection on the data transmission process of the data transmission tunnel contained in the data transmission leased line, and obtain multiple probe data packets.
[0235] It is understandable that gateway devices 1-2 are designed for data transmission directions from their own direction to the other party.
[0236] S2002, Gateway devices 3-4 perform network performance detection on the data transmission process of the data transmission tunnel contained in the data transmission leased line, and obtain multiple probe data packets.
[0237] It is understandable that gateway devices 3-4 are also designed for data transmission directions that transmit data from their own direction to the other party, which are opposite to those of gateway devices 1-2.
[0238] S2003, gateway devices 1-2 send multiple probe data packets to the streaming computing platform via the Kafka message queue.
[0239] S2004, gateway devices 3-4 send multiple probe data packets to the streaming computing platform via the Kafka message queue.
[0240] S2005, the streaming computing platform calculates the network performance index values in each transmission cycle during the data transmission process based on multiple probe data packets sent by gateway devices 1-2 and 3-4, and detects the data transmission status of the data transmission leased line based on the relationship between the network performance index values in each transmission cycle and the preset threshold.
[0241] S2006 If the data transmission status indicates a data transmission failure, the streaming computing platform sends the failure information to the alarm platform.
[0242] S2007, the alarm platform uses a specified alarm method to process alarms based on fault information.
[0243] S2008 If the data transmission status indicates a data transmission failure, the streaming computing platform sends a failure message to the control platform.
[0244] S2009: Based on the fault information, the control platform determines that a data transmission tunnel included in the data transmission leased line has failed, and adjusts the data transmitted on the failed data transmission tunnel to other data transmission tunnels included in the data transmission leased line for transmission.
[0245] It should be noted that, Figure 20 For a detailed description of S2001 to S2009 shown, please refer to the aforementioned embodiments, which will not be repeated here.
[0246] In this embodiment, by detecting and processing at a fine-grained level within the data transmission tunnel, self-healing of network faults in the data transmission tunnel is achieved, ensuring normal data transmission.
[0247] Figure 21 This is a block diagram illustrating a data transmission control device according to an embodiment of this application. Figure 21 As shown, the control device for this data transmission is configured in the streaming computing unit, and the device includes:
[0248] The receiving module 2101 is configured to receive multiple probe data packets sent by the prober; wherein, the probe data packets are obtained by the prober to detect the network performance of the data transmission leased line during the data transmission process, and the data transmission leased line is leased by at least one of the data transmission parties from the operator.
[0249] The calculation module 2102 is configured to calculate the network performance index values in each transmission cycle included in the data transmission process based on multiple probe data packets.
[0250] The detection module 2103 is configured to detect the data transmission status of the data transmission leased line based on the relationship between the network performance index values and preset thresholds in each transmission cycle.
[0251] The sending module 2104 is configured to send fault information to the control party if the data transmission status indicates that there is a fault in the data transmission. The fault information is used to instruct the control party to determine the fault type and make adjustments to the data transmission leased line to match the fault type.
[0252] In one embodiment of this application, the computing module 2102 includes:
[0253] The determining unit is configured to determine the transmission period of each probe data packet based on the timestamp information of each probe data packet;
[0254] The parsing and processing unit is configured to parse and process the probe data packets in each transmission cycle to obtain the parsed data corresponding to each transmission cycle.
[0255] The calculation unit is configured to calculate the network performance index values for each transmission cycle based on the parsed data corresponding to each transmission cycle.
[0256] In one embodiment of this application, the parsing processing unit is specifically configured as follows:
[0257] The probe data packets in each transmission cycle are deserialized to obtain probe data packets with a specified structure in each transmission cycle.
[0258] The probe data packets with a specified structure in each transmission cycle are split and processed to obtain multiple probe data packets with a specified structure in each transmission cycle.
[0259] The computing unit is specifically configured as follows:
[0260] Based on multiple probe data with specified structure within each transmission cycle, the network performance index values for each transmission cycle are calculated.
[0261] In one embodiment of this application, the parsing processing unit is further configured as follows:
[0262] Calculate the network performance index values corresponding to multiple probe data in each transmission cycle;
[0263] Based on the network performance index values corresponding to multiple probe data within each transmission cycle, the network performance index values within each transmission cycle are calculated respectively.
[0264] In one embodiment of this application, the network performance metrics include at least one of latency metrics and packet loss rate metrics; the parsing processing unit is further configured as follows:
[0265] If network performance metrics include latency metrics, then the latency metric values for each transmission cycle are calculated based on the latency metric values corresponding to multiple probe data within each transmission cycle.
[0266] If the network performance metrics include packet loss rate, then the packet loss rate values for each transmission cycle are calculated based on the packet loss rate values corresponding to multiple probe data within each transmission cycle.
[0267] In one embodiment of this application, the parsing processing unit is further configured as follows:
[0268] For each transmission cycle, the network performance index values corresponding to multiple probe data are summed and averaged to obtain the network performance index values for each transmission cycle.
[0269] In one embodiment of this application, the detection module 2103 includes:
[0270] The acquisition and determination unit is configured to acquire the type of network performance indicators and determine the target strategy based on the type of network performance indicators.
[0271] The acquisition unit is configured to acquire network performance index values within a specified number of transmission cycles based on a target strategy.
[0272] The detection unit is configured to obtain a transmission status that indicates a data transmission failure if the network performance index value reaches a preset threshold within a specified number of transmission cycles.
[0273] In one embodiment of this application, the acquisition and determination unit is specifically configured as follows:
[0274] Based on a pre-defined mapping table of network performance indicators types and policies, policies corresponding to the types of network performance indicators are determined, and the determined policies are used as the target policies. The pre-defined mapping table of network performance indicators types and policies contains multiple types of network performance indicators and corresponding policies for each type of network performance indicator.
[0275] In one embodiment of this application, the receiving module 2101 is specifically configured as follows:
[0276] The message queue receives multiple buffered probe data packets; these probe data packets are obtained by the prober during network performance testing of the data transmission process of the dedicated data transmission line and are sent to the message queue for buffering.
[0277] In one embodiment of this application, the sending module 2104 is further configured to:
[0278] Send fault information to the alarm department so that the alarm department can handle the alarm using the specified alarm method based on the fault information.
[0279] Figure 22 This is a block diagram illustrating a data transmission control device according to an embodiment of this application. Figure 22 As shown, the control device for this data transmission is configured on the probe side, and the device includes:
[0280] The detection module 2201 is configured to perform network performance detection on the data transmission process of the data transmission leased line and obtain multiple detection data packets; wherein the data transmission leased line is leased by at least one of the data transmission parties to an operator.
[0281] The sending module 2202 is configured to send multiple probe data packets to the streaming computing party, so that the streaming computing party can calculate the network performance index values in each transmission cycle included in the data transmission process based on the multiple probe data packets, and detect the data transmission status of the data transmission leased line based on the relationship between the network performance index values in each transmission cycle and the preset threshold, and send fault information to the control party when the transmission status indicates that there is a data transmission fault.
[0282] In one embodiment of this application, the sending module 2202 is specifically configured as follows:
[0283] Multiple probe data packets are sent to a message queue for buffering; the message queue is used to buffer multiple probe data packets obtained by each probe party for network performance detection of the data transmission process of the data transmission leased line.
[0284] Multiple buffered probe packets are sent to the streaming computing side via a message queue.
[0285] In one embodiment of this application, the probe includes at least one of a network detector and a gateway device;
[0286] If the probe includes a network probe, the network probe is used to probe the network performance of the data transmission process of the data transmission leased line and obtain multiple probe data packets; among them, one network probe corresponds to one data transmission leased line in one direction.
[0287] If the probe includes a gateway device, the gateway device is used to probe the network performance of the data transmission process in the data transmission tunnel contained in the data transmission lease line, and obtain multiple probe data packets; among them, a data transmission tunnel in one direction corresponds to a gateway device.
[0288] Figure 23 This is a block diagram illustrating a data transmission control device according to an embodiment of this application. Figure 23 As shown, the control device for this data transmission is configured on the controlling side, and the device includes:
[0289] The receiving module 2301 is configured to receive fault information sent by the streaming computing party; wherein, the fault information is sent by the streaming computing party based on multiple probe data packets sent by the probe party, calculating the network performance index values in each transmission cycle included in the data transmission process, and detecting the data transmission status of the data transmission leased line based on the relationship between the network performance index values in each transmission cycle and the preset threshold, and when the transmission status indicates that there is a fault in the data transmission.
[0290] The determination module 2302 is configured to determine the type of fault that causes a data transmission fault on the dedicated data transmission line based on fault information;
[0291] Adjustment module 2303 is configured to adjust the data transmission leased line to match the fault type.
[0292] In one embodiment of this application, the adjustment module 2303 is specifically configured as follows:
[0293] If the fault type indicates that the entire data transmission leased line is faulty, the data being transmitted on the data transmission leased line will be diverted to other data transmission lines for transmission.
[0294] If the fault type indicates a partial fault in the data transmission leased line, the data transmitted on the faulty data transmission tunnel included in the data transmission leased line will be redirected to other data transmission tunnels included in the data transmission leased line for transmission.
[0295] In one embodiment of this application, the determining module 2302 is specifically configured as follows:
[0296] Obtain the identifier of the transmission line that experienced the fault from the fault information;
[0297] Based on the preset dedicated line identification and tunnel identification table, determine the identification corresponding to the transmission line identification;
[0298] If the identified identifier matches the leased line identifier, then the fault type used to characterize the overall fault of the data transmission leased line is obtained;
[0299] If the identified identifier matches the tunnel identifier, then the fault type used to characterize a local fault in the data transmission leased line is obtained.
[0300] It should be noted that the apparatus provided in the foregoing embodiments and the method provided in the foregoing embodiments belong to the same concept, and the specific way in which each module and unit performs operations has been described in detail in the method embodiments.
[0301] Embodiments of this application also provide an electronic device, including: one or more processors; and a memory for storing one or more programs, which, when executed by one or more processors, enable the electronic device to implement the aforementioned data transmission control method.
[0302] Figure 24 This is a schematic diagram of the structure of a computer system suitable for implementing the electronic devices of the present application embodiments.
[0303] It should be noted that, Figure 24The computer system 2400 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0304] like Figure 24 As shown, the computer system 2400 includes a Central Processing Unit (CPU) 2401, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on a program stored in Read-Only Memory (ROM) 2402 or a program loaded from storage portion 2408 into Random Access Memory (RAM) 2403. The RAM 2403 also stores various programs and data required for system operation. The CPU 2401, ROM 2402, and RAM 2403 are interconnected via a bus 2404. An Input / Output (I / O) interface 2405 is also connected to the bus 2404.
[0305] The following components are connected to I / O interface 2405: an input section 2406 including a keyboard, mouse, etc.; an output section 2407 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 2408 including a hard disk, etc.; and a communication section 2409 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 2409 performs communication processing via a network such as the Internet. A drive 2410 is also connected to I / O interface 2405 as needed. Removable media 2411, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 2410 as needed so that computer programs read from them can be installed into storage section 2408 as needed.
[0306] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 2409, and / or installed from removable medium 2411. When the computer program is executed by central processing unit (CPU) 2401, it performs various functions defined in the system of this application.
[0307] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. For example, a computer-readable medium can be an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0308] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0309] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0310] Another aspect of this application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the aforementioned data transmission control method. This computer-readable medium may be included in the electronic device described in the above embodiments, or it may exist independently and not incorporated into the electronic device.
[0311] Another aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable medium. A processor of a computer device reads the computer instructions from the computer-readable medium and executes the computer instructions, causing the computer device to perform the data transmission control method provided in the various embodiments described above.
[0312] The above description is merely a preferred exemplary embodiment of this application and is not intended to limit the implementation of this application. Those skilled in the art can easily make corresponding modifications or alterations based on the main concept and spirit of this application. Therefore, the scope of protection of this application should be determined by the scope of protection claimed in the claims.
Claims
1. A method for controlling data transmission, characterized in that, The method includes: The system receives multiple probe data packets sent by the prober; wherein the probe data packets are obtained by the prober during network performance detection of the data transmission process of the data transmission leased line, the data transmission leased line is leased by at least one of the data transmission parties to an operator, and the data transmission leased line includes multiple data transmission tunnels; the probe data packets include at least one corresponding probe data packet of the data transmission leased line and the data transmission tunnel. Based on the multiple probe data packets, calculate the network performance index values for each transmission cycle included in the data transmission process; Based on the relationship between network performance index values and preset thresholds over multiple transmission cycles, the data transmission status of the data transmission leased line is detected. If the data transmission status indicates a data transmission failure, a failure message is sent to the control party. The failure message is used to instruct the control party to determine the failure type and to make adjustments to the data transmission leased line that match the failure type. The failure type is used to indicate whether it is a data transmission leased line failure or a data transmission tunnel failure.
2. The method as described in claim 1, characterized in that, The calculation of network performance metrics values for each transmission cycle included in the data transmission process based on the multiple probe data packets includes: Based on the timestamp information of each probe data packet, the transmission period of each probe data packet is determined; The probe data packets in each transmission cycle are parsed and processed to obtain the parsed data corresponding to each transmission cycle. Based on the parsed data corresponding to each transmission cycle, the network performance index values for each transmission cycle are calculated respectively.
3. The method as described in claim 2, characterized in that, The step of parsing and processing the probe data packets in each transmission cycle to obtain the parsed data corresponding to each transmission cycle includes: The probe data packets in each transmission cycle are deserialized to obtain probe data packets with a specified structure in each transmission cycle. The probe data packets with a specified structure in each transmission cycle are split and processed to obtain multiple probe data packets with a specified structure in each transmission cycle. The calculation of network performance metrics for each transmission cycle based on the parsed data corresponding to each transmission cycle includes: Based on multiple probe data with specified structure within each transmission cycle, the network performance index values for each transmission cycle are calculated.
4. The method as described in claim 3, characterized in that, The calculation of network performance metrics for each transmission cycle based on multiple probe data with specified structure within each transmission cycle includes: Calculate the network performance index values corresponding to the multiple probe data in each transmission cycle; Based on the network performance index values corresponding to the multiple detection data in each transmission cycle, the network performance index values for each transmission cycle are calculated respectively.
5. The method as described in claim 4, characterized in that, The network performance metrics include at least one of latency metrics and packet loss rate metrics; the calculation of network performance metric values for each transmission cycle based on the network performance metric values corresponding to the multiple probe data within each transmission cycle includes: If the network performance metrics include the latency metrics, then the latency metrics values for each transmission cycle are calculated based on the latency metrics values corresponding to the multiple probe data within each transmission cycle. If the network performance metrics include the packet loss rate metric, then the packet loss rate metric values for each transmission cycle are calculated based on the packet loss rate metric values corresponding to the multiple probe data within each transmission cycle.
6. The method according to any one of claims 1 to 5, characterized in that, The method of detecting the data transmission status of the dedicated data transmission line based on the relationship between network performance index values and preset thresholds over multiple transmission cycles includes: Obtain the type of the network performance metric, and determine the target strategy based on the type of the network performance metric; Based on the target strategy, obtain network performance index values within a specified number of transmission cycles; If the network performance index value reaches the preset threshold within a specified number of transmission cycles, a transmission status indicating a data transmission failure is obtained.
7. The method as described in claim 6, characterized in that, The determination of the target strategy based on the type of the network performance metric includes: Based on a preset mapping table of network performance indicators types and policies, a policy corresponding to the type of the network performance indicator is determined, and the determined policy is used as the target policy; wherein, the preset mapping table of network performance indicators types and policies pre-sets multiple types of network performance indicators, and policies corresponding to each of the multiple types of network performance indicators.
8. A method for controlling data transmission, characterized in that, The method includes: The system receives fault information sent by a streaming computing party. This fault information is generated by the streaming computing party based on multiple probe data packets received from a probe party. The streaming computing party calculates network performance metrics for each transmission cycle during data transmission, and detects the data transmission status of the dedicated data transmission line based on the relationship between these metrics and preset thresholds. The fault information is sent when the transmission status indicates a data transmission fault. The dedicated data transmission line includes multiple data transmission tunnels. The probe data packets include at least one corresponding probe data packet from the dedicated data transmission line and the data transmission tunnels. Based on the fault information, the type of fault that caused the data transmission fault on the data transmission leased line is determined; the fault type is used to characterize whether it is a data transmission leased line fault or a data transmission tunnel fault. Adjustments are made to the data transmission line to match the fault type.
9. The method as described in claim 8, characterized in that, The adjustment of the data transmission leased line to match the fault type includes: If the fault type indicates that the data transmission leased line as a whole is faulty, then the data transmitted on the data transmission leased line will be diverted to other data transmission lines for transmission. If the fault type indicates that there is a partial fault in the data transmission leased line, the data transmitted on the faulty data transmission tunnel included in the data transmission leased line will be redirected to other data transmission tunnels included in the data transmission leased line for transmission.
10. The method as described in claim 8 or 9, characterized in that, The step of determining the fault type of the data transmission fault on the dedicated data transmission line based on the fault information includes: Obtain the identifier of the transmission line that experienced the fault from the fault information; Based on a preset table of leased line identifiers and tunnel identifiers, the identifier corresponding to the transmission line identifier is determined. If the identified identifier matches the leased line identifier, then the fault type used to characterize the overall fault of the data transmission leased line is obtained; If the identified identifier matches the tunnel identifier, then the fault type used to characterize a local fault in the data transmission leased line is obtained.
11. A control device for data transmission, characterized in that, The device is configured in a streaming computing environment, and the device includes: The receiving module is configured to receive multiple probe data packets sent by the prober; wherein the probe data packets are obtained by the prober during network performance probing of the data transmission process of the data transmission leased line, and the data transmission leased line is leased by at least one of the data transmission parties to an operator; the data transmission leased line includes multiple data transmission tunnels; and the probe data packets include at least one corresponding probe data packet from the data transmission leased line and the data transmission tunnel. The calculation module is configured to calculate the network performance index values for each transmission cycle included in the data transmission process based on the multiple probe data packets. The detection module is configured to detect the data transmission status of the data transmission leased line based on the relationship between network performance index values and preset thresholds over multiple transmission cycles. The sending module is configured to send fault information to the control party if the data transmission status indicates that there is a data transmission fault. The fault information is used to instruct the control party to determine the fault type and make adjustments to the data transmission leased line to match the fault type. The fault type is used to indicate whether it is a data transmission leased line fault or a data transmission tunnel fault.
12. A control device for data transmission, characterized in that, The device is configured on the control side, and the device includes: The receiving module is configured to receive fault information sent by the streaming computing party. The fault information is generated by the streaming computing party based on multiple probe data packets received from the probe party, calculating network performance index values for each transmission cycle during data transmission, and detecting the data transmission status of the data transmission leased line based on the relationship between these network performance index values and preset thresholds. The fault information is sent when the transmission status indicates a data transmission fault. The data transmission leased line includes multiple data transmission tunnels. The probe data packets include at least one corresponding probe data packet from the data transmission leased line and the data transmission tunnels. The determination module is configured to determine the type of data transmission failure that occurred on the data transmission leased line based on the fault information; the fault type is used to characterize whether it is a data transmission leased line failure or a data transmission tunnel failure. The adjustment module is configured to adjust the data transmission leased line to match the fault type.
13. An electronic device, characterized in that, include: One or more processors; A memory for storing one or more programs that, when executed by the electronic device, cause the electronic device to implement the data transmission control method as described in any one of claims 1 to 10.
14. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the data transmission control method as described in any one of claims 1 to 10.
15. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement the data transmission control method as described in any one of claims 1 to 10.
Citation Information
Patent Citations
Detection method, device and system for transaction information data transmission special line, and medium
CN111343049A
