Traffic transmission method and device, computer equipment and storage medium
By adopting traffic transmission methods in the operator network, real-time monitoring and optimization of link service quality, the problem of inability to timely identify and optimize link service quality in the existing technology is solved, and the quality of communication service and the improvement of user experience is achieved.
Patent Information
- Application Number
- CN202411807697.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-12-10
AI Technical Summary
The lack of effective link service quality monitoring and optimization methods in the existing operator networks, resulting in the inability to identify and optimize in time when the service quality of node exit links deteriorates, affecting communication quality and user experience.
A traffic transmission method is provided. After receiving the traffic to be transmitted, it determines its current transmission path and traffic type, obtains path quality information, determines the path feasibility based on the traffic type and path quality information, and selects a target transmission path according to the feasibility.
Real-time monitoring and optimization of link service quality is realized, ensuring the quality of communication services and improving user experience.
Smart Images

Figure CN119697106A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a traffic transmission method, apparatus, computer equipment and storage medium. Background Art
[0002] The operator network is usually composed of multiple regional networks (for example, metropolitan area network, DC (Internet Data Center) network and backbone network, etc.), each of which can be regarded as a network domain. Interconnection between different regional networks is achieved through inter-domain network technology.
[0003] In the existing operator network, the metropolitan area network, IDC (Internet Data Center) network and backbone network are generally connected using the inter-domain network of the EBGP (External Border Gateway Protocol) protocol. The cross-metropolitan area network services are generally forwarded using the Native IP method. For reliability considerations, two or more egress router devices are generally deployed at the metropolitan area network egress or IDC network egress. When the metropolitan area network egress and the IDC network egress are interconnected with the backbone network, the link SLA (Service Level Agreement) quality between different nodes (i.e. router devices) is different.
[0004] Due to the lack of existing methods for link service quality monitoring and link optimization, when the service quality of the export link of a node deteriorates, due to the lack of an effective link quality monitoring method, the degradation of the link service quality cannot be identified in time, and even if the degradation of the link service quality is found, the link service quality cannot be optimized in time, resulting in the inability to guarantee the existing inter-domain network communication quality and business experience. Summary of the invention
[0005] Based on this, it is necessary to provide a traffic transmission method, device, computer equipment and storage medium that can realize link service quality monitoring and link service quality optimization in response to the above technical problems.
[0006] In a first aspect, the present application provides a traffic transmission method, which is applied to a current routing node of a regional network, and the method includes:
[0007] After receiving the traffic to be transmitted, determining the current transmission path and traffic type of the traffic to be transmitted;
[0008] Determining first path quality information of a current transmission path;
[0009] Determining first path feasibility of a current transmission path based on the traffic type and the first path quality information;
[0010] Determine a target transmission path according to the feasibility of the first path and the current transmission path;
[0011] The traffic to be transmitted is transmitted based on the target transmission path.
[0012] In one of the embodiments, determining the first path feasibility of the current transmission path based on the traffic type and the first path quality information includes:
[0013] Based on the traffic type, determine the sensitive indicators of the traffic to be transmitted;
[0014] The first path feasibility of the current transmission path is determined according to the sensitive indicator and the first path quality information.
[0015] In one embodiment, determining the first path feasibility of the current transmission path according to the sensitive indicator and the first path quality information includes:
[0016] Obtaining an indicator value corresponding to the sensitive indicator from the first path quality information;
[0017] Based on the relationship between the indicator value and the numerical threshold, the feasibility of the first path of the current transmission path is determined.
[0018] In one embodiment, determining a target transmission path according to the feasibility of the first path and the current transmission path includes:
[0019] In the case where the first path feasibility indicates that the current transmission path is feasible, taking the current transmission path as the target transmission path;
[0020] When the feasibility of the first path indicates that the current transmission path is not feasible, the traffic management of the current routing node is optimized to optimize the current transmission path, and the target transmission path is determined according to the optimized current transmission path.
[0021] In one embodiment, determining a target transmission path according to the optimized current transmission path includes:
[0022] Determine the second path quality information of the optimized current transmission path;
[0023] Determine the feasibility of the second path of the optimized current transmission path based on the traffic type and the second path quality information;
[0024] The target transmission path is determined according to the feasibility of the second path and the optimized current transmission path.
[0025] In one embodiment, determining the target transmission path according to the feasibility of the second path and the optimized current transmission path includes:
[0026] When the second path feasibility is that the optimized current transmission path is not feasible, obtaining third path quality information of the candidate transmission path; wherein the third path quality information is sent by other routing nodes to the current routing node; the other routing nodes are routing nodes other than the current routing node in the regional network;
[0027] A target transmission path is selected from the candidate transmission paths according to an indicator value corresponding to the sensitive indicator of the to-be-transmitted traffic in the third path quality information.
[0028] In one embodiment, the method further comprises:
[0029] Receive a BGP-LS protocol message sent by other routing nodes; wherein the BGP-LS protocol message carries the third path quality information.
[0030] In one of the embodiments, determining first path quality information of a current transmission path includes:
[0031] First path quality information of the current transmission path is determined according to signal interaction information between different routing nodes in the current transmission path.
[0032] In one of the embodiments, the sensitive indicator includes at least one of a delay indicator, a bit error indicator and a packet loss indicator.
[0033] In a second aspect, the present application provides a traffic transmission device, which is configured at a current routing node of a regional network, and the device includes:
[0034] A first receiving module is used to determine the current transmission path and traffic type of the traffic to be transmitted after receiving the traffic to be transmitted;
[0035] A first determining module, used to determine first path quality information of a current transmission path;
[0036] A second determination module, configured to determine the feasibility of a first path of a current transmission path based on the traffic type and the first path quality information;
[0037] A third determination module, configured to determine a target transmission path according to the feasibility of the first path and the current transmission path;
[0038] The transmission module is used to transmit the traffic to be transmitted based on the target transmission path.
[0039] In a third aspect, the present application further provides a computer device, the computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:
[0040] After receiving the traffic to be transmitted, determining the current transmission path and traffic type of the traffic to be transmitted;
[0041] Determining first path quality information of a current transmission path;
[0042] Determining first path feasibility of a current transmission path based on the traffic type and the first path quality information;
[0043] Determine a target transmission path according to the feasibility of the first path and the current transmission path;
[0044] The traffic to be transmitted is transmitted based on the target transmission path.
[0045] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0046] After receiving the traffic to be transmitted, determining the current transmission path and traffic type of the traffic to be transmitted;
[0047] Determining first path quality information of a current transmission path;
[0048] Determining first path feasibility of a current transmission path based on the traffic type and the first path quality information;
[0049] Determine a target transmission path according to the feasibility of the first path and the current transmission path;
[0050] The traffic to be transmitted is transmitted based on the target transmission path.
[0051] In a fifth aspect, the present application further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0052] After receiving the traffic to be transmitted, determining the current transmission path and traffic type of the traffic to be transmitted;
[0053] Determining first path quality information of a current transmission path;
[0054] Determining first path feasibility of a current transmission path based on the traffic type and the first path quality information;
[0055] Determine a target transmission path according to the feasibility of the first path and the current transmission path;
[0056] The traffic to be transmitted is transmitted based on the target transmission path.
[0057] The above-mentioned traffic transmission method, device, computer equipment and storage medium determine the current transmission path and traffic type of the traffic to be transmitted after receiving the traffic to be transmitted. Determine the first path quality information of the current transmission path. Based on the traffic type and the first path quality information, determine the first path feasibility of the current transmission path. According to the first path feasibility and the current transmission path, determine the target transmission path. Transmit the traffic to be transmitted based on the target transmission path. After receiving the traffic to be transmitted, the current routing node of the present application can not only determine the first path quality information of the current transmission path of the traffic to be transmitted, but also determine the first path feasibility of the current transmission path based on the traffic type and the first path quality information of the traffic to be transmitted, and then determine the target transmission path based on the first path feasibility and the current transmission path. Transmit the traffic to be transmitted based on the target transmission path. The present application can not only determine the path quality information, but also determine the path feasibility in combination with the traffic type. While realizing path quality monitoring, it also effectively guarantees the quality of communication services and improves user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 An application environment diagram of a traffic transmission method provided in this embodiment;
[0059] Figure 2 A schematic diagram of a flow chart of a first flow transmission method provided in this embodiment;
[0060] Figure 3 A schematic diagram of a flow chart for determining the feasibility of a first path of a current transmission path provided in this embodiment;
[0061] Figure 4 A schematic diagram of a process for determining a target transmission path provided in this embodiment;
[0062] Figure 5 A schematic diagram of a flow chart of a second flow transmission method provided in this embodiment;
[0063] Figure 6 A structural block diagram of a flow transmission device provided in this embodiment;
[0064] Figure 7 This is a diagram of the internal structure of the computer device provided in this embodiment. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0066] The flow transmission method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. After receiving the traffic to be transmitted, the current routing node determines the current transmission path and traffic type of the traffic to be transmitted. Determine the first path quality information of the current transmission path. Based on the traffic type and the first path quality information, determine the first path feasibility of the current transmission path. Determine the target transmission path based on the first path feasibility and the current transmission path. Transmit the traffic to be transmitted based on the target transmission path.
[0067] For example, if the metropolitan area network needs to transmit the traffic to be transmitted to the backbone network, the current routing node is the CR1 or CR2 node in the metropolitan area network. The CR1 and CR2 nodes are routing devices in the metropolitan area network. The C5 and C6 nodes are routing devices in the backbone network. Figure 1 There are two paths between the metropolitan area network and the backbone network that can be used to transmit traffic, namely the transmission path L1 between the CR1 and C5 nodes, and the transmission path L2 between the CR2 and C6 nodes.
[0068] In one embodiment, Figure 2 is a flow chart of a flow transmission method provided according to an embodiment of the present application, in which the method is applied to Figure 1 Taking the current routing node in as an example, the method includes the following steps:
[0069] S201, after receiving the traffic to be transmitted, determine the current transmission path and traffic type of the traffic to be transmitted.
[0070] The traffic to be transmitted refers to the traffic that needs to be transmitted, which is a continuous traffic. The current transmission path refers to the transmission path with the highest priority when the current routing node transmits the traffic to be transmitted, and also refers to the transmission path that transmits the traffic to be transmitted to the next hop node. The traffic type refers to the traffic attribute type of the traffic to be transmitted, such as game business traffic, cloud computer business traffic, video business traffic, intelligent computing business traffic, etc.
[0071] In this embodiment, after receiving the traffic to be transmitted, an optional implementation method for determining the current transmission path of the traffic to be transmitted is to determine the current transmission path of the traffic to be transmitted according to the traffic characteristics of the traffic to be transmitted. The traffic characteristics include but are not limited to at least one of the protocol type, port, source address, destination address, packet length, etc. Exemplarily, after receiving the traffic to be transmitted, the current routing node determines the routing table according to the destination address of the traffic to be transmitted. Based on the routing table, the current transmission path for transmitting the traffic to be transmitted is searched.
[0072] In this embodiment, an optional implementation method for determining the traffic type of the traffic to be transmitted is to parse the traffic characteristics carried by the traffic to be transmitted and obtain the traffic type of the traffic to be transmitted from the traffic characteristics. The traffic characteristics record the traffic type or an identifier corresponding to the traffic type.
[0073] Another optional implementation method for determining the traffic type of the traffic to be transmitted in this embodiment is to pre-configure an intelligent analysis model in the current routing node, and use the intelligent analysis model to intelligently identify the traffic to be transmitted to determine the traffic type of the traffic to be transmitted (for example, game business traffic, cloud computer business traffic, video business traffic, intelligent computing business traffic, etc.). The intelligent analysis model can be, but is not limited to, a neural network model.
[0074] S202: Determine first path quality information of a current transmission path.
[0075] The first path quality information refers to the path quality information of the current transmission path that has not been optimized, and also refers to the SLA (Service Level Agreement) indicator of the current transmission path. The SLA indicator includes at least indicators such as delay, bit error and packet loss.
[0076] As an optional implementation of the embodiment of the present application, based on the quality monitoring device on the current transmission path, the first path quality information of the current transmission path is determined. Specifically, a quality acquisition request is sent to the quality monitoring device, so that the quality monitoring device feeds back the first path quality information of the current transmission path to the current routing node based on the quality acquisition request.
[0077] As another optional implementation of the embodiment of the present application, the first path quality information of the current transmission path is determined according to the signal interaction information between different routing nodes in the current transmission path. Figure 1 L1 is the current transmission path, CR1 node is the current routing node, and the first path quality information of the current transmission path can be determined through the signal interaction information between CR1 and C5 nodes. Preferably, the first path quality information of the current transmission path can be determined based on the current routing node based on the Twamp (Two-Way Active Measurement Protocol, a network performance monitoring protocol) protocol or the BFD (Bidirectional Forwarding Detection, a protocol for quickly detecting and reporting network link or path failures) protocol.
[0078] S203: Determine the first path feasibility of the current transmission path based on the traffic type and the first path quality information.
[0079] Optionally, in this embodiment, the quality requirement of the traffic type for the transmission path is determined according to the traffic type. Whether the quality requirement is met is determined according to the first path quality information, and the first path feasibility of the current transmission path is determined according to the satisfaction. If the quality requirement can be met, the first path feasibility of the current transmission path is that the current transmission path is feasible. If the quality requirement cannot be met, the first path feasibility of the current transmission path is that the current transmission path is not feasible.
[0080] S204: Determine a target transmission path according to the feasibility of the first path and the current transmission path.
[0081] The target transmission path refers to the transmission path ultimately used to transmit the traffic to be transmitted.
[0082] As an optional implementation of the embodiment of the present application, when the feasibility of the first path is feasible, the current transmission path is used as the target transmission path.
[0083] As another optional implementation of the embodiment of the present application, when the feasibility of the first path is not feasible, the target transmission path is selected from other transmission paths. Among them, other transmission paths refer to transmission paths other than the current transmission path and can transmit the to-be-transmitted traffic to the destination address.
[0084] S205: Transmit the traffic to be transmitted based on the target transmission path.
[0085] As an optional implementation of the embodiment of the present application, when the target transmission path is the current transmission path, the current routing node can directly send the traffic to be transmitted to the current transmission path through the node exit to achieve the transmission of the traffic to be transmitted.
[0086] As another optional implementation method of the embodiment of the present application, when the target transmission path is not the current routing node, one method is: the current routing node is used as the main calling device to generate a BGP RPD route and publish the BGPRPD route. After the BGP RPD route takes effect, the priority of the prefix BGP RPD route of the current routing node is reduced, so as to achieve the transfer of the traffic to be transmitted to the target transmission path, and transmit the traffic to be transmitted based on the target transmission path. Another method is: the current routing node and the opposite routing node jointly publish the BGP RPD route, and the route is effective at the same time on the current routing node and the opposite routing node. After the BGP RPD route takes effect, the priority of the BGP RPD route of the corresponding prefix is reduced, and the remote traffic is diverted based on the BGP RPD route, so as to achieve the transfer of the traffic to be transmitted to the target transmission path, and transmit the traffic to be transmitted based on the target transmission path. For example, assuming Figure 1The CR1 node is the current routing node, L1 is the current transmission path, L2 is the target transmission path, and the C5 node is the destination node. When the feasibility of the first path of L1 is that the current transmission path is not feasible, the CR1 node publishes the BGP RPD route. After the BGP RPD route publication takes effect, when the traffic to be transmitted is subsequently transmitted, the CR1 node forwards the traffic to be transmitted to the CR2 node, and then transmits it to the C6 node through L2. Finally, the C6 node transmits the traffic to be transmitted to the C5 node. This embodiment can flexibly select the corresponding transmission path for different types of traffic, effectively improve the communication service instructions, and greatly improve user satisfaction.
[0087] The above-mentioned traffic transmission method determines the current transmission path and traffic type of the traffic to be transmitted after receiving the traffic to be transmitted. Determine the first path quality information of the current transmission path. Based on the traffic type and the first path quality information, determine the first path feasibility of the current transmission path. According to the first path feasibility and the current transmission path, determine the target transmission path. Transmit the traffic to be transmitted based on the target transmission path. After receiving the traffic to be transmitted, the current routing node of the present application can not only determine the first path quality information of the current transmission path of the traffic to be transmitted, but also determine the first path feasibility of the current transmission path based on the traffic type and the first path quality information of the traffic to be transmitted, and then determine the target transmission path based on the first path feasibility and the current transmission path. Transmit the traffic to be transmitted based on the target transmission path. The present application can not only determine the path quality information, but also determine the path feasibility in combination with the traffic type. While realizing path quality monitoring, it also effectively guarantees the quality of communication services and improves user experience. When determining the feasibility of the first path, the present application also takes the traffic type into consideration. Since the selection of the target transmission path needs to consider the feasibility of the first path, it can be seen that when determining the target transmission path, it is necessary to focus on the traffic type. Based on different traffic types, different transmission paths that meet the requirements of the traffic type can be flexibly selected, thereby further improving the communication service quality and user satisfaction.
[0088] In one embodiment, in order to improve the accuracy of determining the feasibility of the first path, such as Figure 3 As shown, an optional implementation method of determining the feasibility of the first path of the current transmission path based on the traffic type and the first path quality information in S203 includes:
[0089] S301, determining sensitive indicators of the traffic to be transmitted based on the traffic type.
[0090] The sensitive indicator refers to a key indicator in the traffic to be transmitted that affects the user experience, and includes but is not limited to at least one of a delay indicator, a bit error indicator, and a packet loss indicator.
[0091] Optionally, in this embodiment, based on the traffic type and traffic list, the sensitive indicator of the traffic to be transmitted is determined. The traffic list records each traffic type and the sensitive indicator corresponding to each traffic type. For example, if the traffic type is game business traffic, the sensitive indicator is the delay indicator; if the traffic type is cloud computer business traffic, the sensitive indicator is the delay jitter indicator; if the traffic type is intelligent computing business traffic, the sensitive indicator type is the packet loss indicator.
[0092] S302: Determine the first path feasibility of the current transmission path according to the sensitive indicator and the first path quality information.
[0093] Optionally, in this embodiment, an indicator value corresponding to the sensitive indicator is obtained from the first path quality information. Based on the magnitude relationship between the indicator value and the numerical threshold, the first path feasibility of the current transmission path is determined. Exemplarily, for example, if the sensitive indicator is a delay indicator, and the indicator value of the delay indicator is greater than the numerical threshold, the first path feasibility of the previous transmission path is determined to be infeasible for the current transmission path.
[0094] In this embodiment, based on the traffic type, the sensitive indicator of the traffic to be transmitted is determined. From the first path quality information, the indicator value corresponding to the sensitive indicator is obtained. Based on the relationship between the indicator value and the numerical threshold, the first path feasibility of the current transmission path is determined. In this embodiment, when determining the feasibility of the first path, the sensitive indicator of the traffic to be transmitted is taken into account, and the first path feasibility of the current transmission path is determined based on the relationship between the indicator value and the numerical threshold, so that the feasibility of the first path finally determined is strongly correlated with the sensitive indicator of the traffic to be transmitted, thereby strengthening the correlation between the feasibility of the first path and the user experience.
[0095] In one embodiment, in order to more accurately determine the target transmission path, such as Figure 4 As shown, an optional implementation manner of determining a target transmission path according to the feasibility of the first path and the current transmission path includes:
[0096] S401, when the first path feasibility indicates that the current transmission path is feasible, taking the current transmission path as the target transmission path.
[0097] S402, when the feasibility of the first path indicates that the current transmission path is not feasible, optimizing the traffic management of the current routing node to optimize the current transmission path, and determining the target transmission path according to the optimized current transmission path.
[0098] In this embodiment, the flow management of the current routing node is optimized to achieve the optional implementation of optimizing the current transmission path. The flow management of the current routing node can be optimized based on the BGP Flowspec protocol to achieve the optimization of the current transmission path.
[0099] Optionally, in this embodiment, according to the optimized current transmission path, an optional implementation method for determining the target transmission path is to determine the second path quality information of the optimized current transmission path. Based on the traffic type and the second path quality information, the feasibility of the second path of the optimized current transmission path is determined. According to the feasibility of the second path and the optimized current transmission path, the target transmission path is determined. For the specific implementation method, reference can be made to the method for determining the first path quality information and the feasibility of the second path in the above embodiment, which will not be repeated here.
[0100] On the basis of the above embodiment, an optional implementation method for determining the target transmission path according to the feasibility of the second path and the optimized current transmission path is to use the optimized current transmission path as the target transmission path when the feasibility of the second path is feasible for the optimized current transmission path.
[0101] On the basis of the above embodiments, an optional implementation method for determining the target transmission path according to the feasibility of the second path and the optimized current transmission path is to obtain the third path quality information of the candidate transmission path when the feasibility of the second path is not feasible for the optimized current transmission path. The third path quality information is sent to the current routing node by other routing nodes; other routing nodes are routing nodes other than the current routing node in the regional network. The target transmission path is selected from the candidate transmission paths according to the indicator value corresponding to the sensitive indicator of the traffic to be transmitted in the third path quality information. Optionally, in this embodiment, the current routing node can receive a Border Gateway Protocol BGP-LS protocol message sent by other routing nodes; wherein the BGP-LS protocol message carries the third path quality information. That is to say, routing nodes of different transmission paths can transmit corresponding path quality information to each other through BGP-LS protocol messages. Exemplarily, with Figure 1 For example, the CR2 node and the CR1 node can exchange information in the form of BGP-LS protocol messages and transmit L1 and L2 path quality information to each other.
[0102] In this embodiment, an optional implementation method of selecting a target transmission path from candidate transmission paths based on the indicator value corresponding to the sensitive indicator of the traffic to be transmitted in the third path quality information is as follows: if there are multiple candidate transmission paths, first determine whether there is a candidate transmission path among the candidate transmission paths whose indicator value of the sensitive indicator is higher than the indicator value of the sensitive indicator of the optimized current transmission path; if so, select the candidate transmission path with the largest indicator value of the sensitive indicator as the target transmission path.
[0103] In this embodiment, when the feasibility of the first path is that the current transmission path is feasible, the current transmission path is used as the target transmission path. When the feasibility of the first path is that the current transmission path is not feasible, the traffic management of the current routing node is optimized to optimize the current transmission path, and determine the second path quality information of the optimized current transmission path. Based on the traffic type and the second path quality information, the feasibility of the second path of the optimized current transmission path is determined. When the feasibility of the second path is that the optimized current transmission path is not feasible, the third path quality information of the candidate transmission path is obtained; wherein the third path quality information is sent to the current routing node by other routing nodes; other routing nodes are routing nodes other than the current routing node in the regional network. According to the indicator value corresponding to the sensitive indicator of the traffic to be transmitted in the third path quality information, the target transmission path is selected from the candidate transmission paths. Based on this embodiment, a target transmission path that meets the requirements more accurately can be selected.
[0104] In one embodiment, if Figure 5 As shown, another optional implementation of a traffic transmission method includes:
[0105] S501, after receiving the traffic to be transmitted, determine the current transmission path and traffic type of the traffic to be transmitted.
[0106] S502: Determine first path quality information of the current transmission path according to signal interaction information between different routing nodes in the current transmission path.
[0107] S503: Determine a sensitive indicator of the traffic to be transmitted based on the traffic type, wherein the sensitive indicator includes at least one of a delay indicator, a bit error indicator, and a packet loss indicator.
[0108] S504: Obtain an indicator value corresponding to the sensitive indicator from the first path quality information.
[0109] S505: Determine the feasibility of a first path of the current transmission path based on a relationship between the indicator value and the numerical threshold.
[0110] S506: When the first path feasibility indicates that the current transmission path is feasible, use the current transmission path as the target transmission path.
[0111] S507, when the feasibility of the first path indicates that the current transmission path is not feasible, optimizing the traffic management of the current routing node to achieve optimization processing of the current transmission path.
[0112] S508: Determine the second path quality information of the optimized current transmission path.
[0113] S509: Determine the feasibility of the second path of the optimized current transmission path based on the traffic type and the second path quality information.
[0114] S510, when the second path feasibility is that the optimized current transmission path is not feasible, obtain third path quality information of the candidate transmission path. The third path quality information is sent to the current routing node by other routing nodes; the other routing nodes are routing nodes other than the current routing node in the regional network.
[0115] S511, select a target transmission path from candidate transmission paths according to the indicator value corresponding to the sensitive indicator of the to-be-transmitted traffic in the third path quality information. The third path quality information is recorded in a BGP-LS protocol message; the BGP-LS protocol message is sent by other routing nodes to the current routing node.
[0116] S512, transmitting the traffic to be transmitted based on the target transmission path.
[0117] In this embodiment, after receiving the traffic to be transmitted, the current transmission path and traffic type of the traffic to be transmitted are determined. The first path quality information of the current transmission path is determined. Based on the traffic type and the first path quality information, the first path feasibility of the current transmission path is determined. According to the first path feasibility and the current transmission path, the target transmission path is determined. The traffic to be transmitted is transmitted based on the target transmission path. After receiving the traffic to be transmitted, the current routing node of the present application can not only determine the first path quality information of the current transmission path of the traffic to be transmitted, but also determine the first path feasibility of the current transmission path based on the traffic type and the first path quality information of the traffic to be transmitted, and then determine the target transmission path based on the first path feasibility and the current transmission path. The traffic to be transmitted is transmitted based on the target transmission path. The present application can not only determine the path quality information, but also determine the path feasibility in combination with the traffic type. While realizing path quality monitoring, it also effectively guarantees the quality of communication services and improves user experience.
[0118] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0119] Based on the same inventive concept, the embodiment of the present application also provides a flow transmission device for implementing the flow transmission method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more flow transmission device embodiments provided below can refer to the limitations on the flow transmission method above, and will not be repeated here.
[0120] In one embodiment, by Figure 6 FIG. 1 shows a structural block diagram of a flow transmission device in an embodiment. Figure 6 As shown, a flow transmission device 1 is provided, the device comprising: a first receiving module 10, a first determining module 20, a second determining module 30, a third determining module 40 and a transmission module 50, wherein:
[0121] The first receiving module 10 is used to determine the current transmission path and traffic type of the traffic to be transmitted after receiving the traffic to be transmitted;
[0122] A first determination module 20, configured to determine first path quality information of a current transmission path;
[0123] A second determination module 30, configured to determine the first path feasibility of the current transmission path based on the traffic type and the first path quality information;
[0124] A third determination module 40 is used to determine a target transmission path according to the feasibility of the first path and the current transmission path;
[0125] The transmission module 50 is used to transmit the traffic to be transmitted based on the target transmission path.
[0126] The traffic transmission device of the present application determines the current transmission path and traffic type of the traffic to be transmitted after receiving the traffic to be transmitted. Determine the first path quality information of the current transmission path. Based on the traffic type and the first path quality information, determine the first path feasibility of the current transmission path. According to the first path feasibility and the current transmission path, determine the target transmission path. Transmit the traffic to be transmitted based on the target transmission path. After receiving the traffic to be transmitted, the current routing node of the present application can not only determine the first path quality information of the current transmission path of the traffic to be transmitted, but also determine the first path feasibility of the current transmission path based on the traffic type and the first path quality information of the traffic to be transmitted, and then determine the target transmission path based on the first path feasibility and the current transmission path. Transmit the traffic to be transmitted based on the target transmission path. The present application can not only determine the path quality information, but also determine the path feasibility in combination with the traffic type. While realizing path quality monitoring, it also effectively guarantees the quality of communication services and improves user experience.
[0127] In one embodiment, the Figure 6 The second determining module 30 in is further specifically used for:
[0128] Based on the traffic type, determine the sensitive indicators of the traffic to be transmitted;
[0129] The first path feasibility of the current transmission path is determined according to the sensitive indicator and the first path quality information.
[0130] In one embodiment, the Figure 6 The second determining module 30 in is further specifically used for:
[0131] Obtaining an indicator value corresponding to the sensitive indicator from the first path quality information;
[0132] Based on the relationship between the indicator value and the numerical threshold, the feasibility of the first path of the current transmission path is determined.
[0133] In one embodiment, the Figure 6 The third determination module 40 in is further specifically used for:
[0134] In the case where the first path feasibility indicates that the current transmission path is feasible, taking the current transmission path as the target transmission path;
[0135] When the feasibility of the first path indicates that the current transmission path is not feasible, the traffic management of the current routing node is optimized to optimize the current transmission path, and the target transmission path is determined according to the optimized current transmission path.
[0136] In one embodiment, the Figure 6 The third determination module 40 in is further specifically used for:
[0137] Determine the second path quality information of the optimized current transmission path;
[0138] Determine the feasibility of the second path of the optimized current transmission path based on the traffic type and the second path quality information;
[0139] The target transmission path is determined according to the feasibility of the second path and the optimized current transmission path.
[0140] In one embodiment, the Figure 6 The third determination module 40 in is further specifically used for:
[0141] When the second path feasibility is that the optimized current transmission path is not feasible, obtaining third path quality information of the candidate transmission path; wherein the third path quality information is sent by other routing nodes to the current routing node; the other routing nodes are routing nodes other than the current routing node in the regional network;
[0142] A target transmission path is selected from the candidate transmission paths according to an indicator value corresponding to the sensitive indicator of the to-be-transmitted traffic in the third path quality information.
[0143] In one embodiment, the Figure 6 The flow transmission device 1 further comprises:
[0144] The second receiving module is used to receive BGP-LS protocol messages sent by other routing nodes; wherein the BGP-LS protocol messages carry the third path quality information.
[0145] In one embodiment, the Figure 6 The first determining module 10 is also specifically used for:
[0146] First path quality information of the current transmission path is determined according to signal interaction information between different routing nodes in the current transmission path.
[0147] In one of the embodiments, the sensitive indicator includes at least one of a delay indicator, a bit error indicator and a packet loss indicator.
[0148] Each module in the above-mentioned traffic transmission device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0149] In one embodiment, a computer device is provided. The computer device may be a platform side, and its internal structure diagram may be as shown in FIG. Figure 7As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store information related to the transmission path. The network interface of the computer device is used to communicate with an external user side through a network connection. When the computer program is executed by the processor, a traffic transmission method is implemented.
[0150] Those skilled in the art will understand that Figure 7 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. Specifically, the computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0151] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0152] After receiving the traffic to be transmitted, determining the current transmission path and traffic type of the traffic to be transmitted;
[0153] Determining first path quality information of a current transmission path;
[0154] Determining first path feasibility of a current transmission path based on the traffic type and the first path quality information;
[0155] Determine a target transmission path according to the feasibility of the first path and the current transmission path;
[0156] The traffic to be transmitted is transmitted based on the target transmission path.
[0157] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining the first path feasibility of the current transmission path based on the traffic type and the first path quality information, including:
[0158] Based on the traffic type, determine the sensitive indicators of the traffic to be transmitted;
[0159] The first path feasibility of the current transmission path is determined according to the sensitive indicator and the first path quality information.
[0160] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining the first path feasibility of the current transmission path according to the sensitive indicator and the first path quality information, including:
[0161] Obtaining an indicator value corresponding to the sensitive indicator from the first path quality information;
[0162] Based on the relationship between the indicator value and the numerical threshold, the feasibility of the first path of the current transmission path is determined.
[0163] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining a target transmission path according to the feasibility of the first path and the current transmission path, including:
[0164] In the case where the first path feasibility indicates that the current transmission path is feasible, taking the current transmission path as the target transmission path;
[0165] When the feasibility of the first path indicates that the current transmission path is not feasible, the traffic management of the current routing node is optimized to optimize the current transmission path, and the target transmission path is determined according to the optimized current transmission path.
[0166] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining a target transmission path according to the optimized current transmission path, including:
[0167] Determine the second path quality information of the optimized current transmission path;
[0168] Determine the feasibility of the second path of the optimized current transmission path based on the traffic type and the second path quality information;
[0169] The target transmission path is determined according to the feasibility of the second path and the optimized current transmission path.
[0170] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining the target transmission path according to the feasibility of the second path and the optimized current transmission path, including:
[0171] When the second path feasibility is that the optimized current transmission path is not feasible, obtaining third path quality information of the candidate transmission path; wherein the third path quality information is sent by other routing nodes to the current routing node; the other routing nodes are routing nodes other than the current routing node in the regional network;
[0172] A target transmission path is selected from the candidate transmission paths according to an indicator value corresponding to the sensitive indicator of the to-be-transmitted traffic in the third path quality information.
[0173] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0174] Receive a BGP-LS protocol message sent by other routing nodes; wherein the BGP-LS protocol message carries the third path quality information.
[0175] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining first path quality information of the current transmission path, including:
[0176] First path quality information of the current transmission path is determined according to signal interaction information between different routing nodes in the current transmission path.
[0177] In one embodiment, when the processor executes the computer program, the following steps are further implemented: the sensitive indicator includes at least one of a delay indicator, a bit error indicator and a packet loss indicator.
[0178] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0179] After receiving the traffic to be transmitted, determining the current transmission path and traffic type of the traffic to be transmitted;
[0180] Determining first path quality information of a current transmission path;
[0181] Determining first path feasibility of a current transmission path based on the traffic type and the first path quality information;
[0182] Determine a target transmission path according to the feasibility of the first path and the current transmission path;
[0183] The traffic to be transmitted is transmitted based on the target transmission path.
[0184] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining the first path feasibility of the current transmission path based on the traffic type and the first path quality information, including:
[0185] Based on the traffic type, determine the sensitive indicators of the traffic to be transmitted;
[0186] The first path feasibility of the current transmission path is determined according to the sensitive indicator and the first path quality information.
[0187] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining the first path feasibility of the current transmission path according to the sensitive indicator and the first path quality information, including:
[0188] Obtaining an indicator value corresponding to the sensitive indicator from the first path quality information;
[0189] Based on the relationship between the indicator value and the numerical threshold, the feasibility of the first path of the current transmission path is determined.
[0190] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining a target transmission path according to the feasibility of the first path and the current transmission path, including:
[0191] In the case where the first path feasibility indicates that the current transmission path is feasible, taking the current transmission path as the target transmission path;
[0192] When the feasibility of the first path indicates that the current transmission path is not feasible, the traffic management of the current routing node is optimized to optimize the current transmission path, and the target transmission path is determined according to the optimized current transmission path.
[0193] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining a target transmission path according to the optimized current transmission path, including:
[0194] Determine the second path quality information of the optimized current transmission path;
[0195] Determine the feasibility of the second path of the optimized current transmission path based on the traffic type and the second path quality information;
[0196] The target transmission path is determined according to the feasibility of the second path and the optimized current transmission path.
[0197] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining the target transmission path according to the feasibility of the second path and the optimized current transmission path, including:
[0198] When the second path feasibility is that the optimized current transmission path is not feasible, obtaining third path quality information of the candidate transmission path; wherein the third path quality information is sent by other routing nodes to the current routing node; the other routing nodes are routing nodes other than the current routing node in the regional network;
[0199] A target transmission path is selected from the candidate transmission paths according to an indicator value corresponding to the sensitive indicator of the to-be-transmitted traffic in the third path quality information.
[0200] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0201] Receive a BGP-LS protocol message sent by other routing nodes; wherein the BGP-LS protocol message carries the third path quality information.
[0202] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining first path quality information of the current transmission path, including:
[0203] First path quality information of the current transmission path is determined according to signal interaction information between different routing nodes in the current transmission path.
[0204] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: the sensitive indicator includes at least one of a delay indicator, a bit error indicator and a packet loss indicator.
[0205] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0206] After receiving the traffic to be transmitted, determining the current transmission path and traffic type of the traffic to be transmitted;
[0207] Determining first path quality information of a current transmission path;
[0208] Determining first path feasibility of a current transmission path based on the traffic type and the first path quality information;
[0209] Determine a target transmission path according to the feasibility of the first path and the current transmission path;
[0210] The traffic to be transmitted is transmitted based on the target transmission path.
[0211] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining the first path feasibility of the current transmission path based on the traffic type and the first path quality information, including:
[0212] Based on the traffic type, determine the sensitive indicators of the traffic to be transmitted;
[0213] The first path feasibility of the current transmission path is determined according to the sensitive indicator and the first path quality information.
[0214] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining the first path feasibility of the current transmission path according to the sensitive indicator and the first path quality information, including:
[0215] Obtaining an indicator value corresponding to the sensitive indicator from the first path quality information;
[0216] Based on the relationship between the indicator value and the numerical threshold, the feasibility of the first path of the current transmission path is determined.
[0217] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining a target transmission path according to the feasibility of the first path and the current transmission path, including:
[0218] In the case where the first path feasibility indicates that the current transmission path is feasible, taking the current transmission path as the target transmission path;
[0219] When the feasibility of the first path indicates that the current transmission path is not feasible, the traffic management of the current routing node is optimized to optimize the current transmission path, and the target transmission path is determined according to the optimized current transmission path.
[0220] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining a target transmission path according to the optimized current transmission path, including:
[0221] Determine the second path quality information of the optimized current transmission path;
[0222] Determine the feasibility of the second path of the optimized current transmission path based on the traffic type and the second path quality information;
[0223] The target transmission path is determined according to the feasibility of the second path and the optimized current transmission path.
[0224] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining the target transmission path according to the feasibility of the second path and the optimized current transmission path, including:
[0225] When the second path feasibility is that the optimized current transmission path is not feasible, obtaining third path quality information of the candidate transmission path; wherein the third path quality information is sent by other routing nodes to the current routing node; the other routing nodes are routing nodes other than the current routing node in the regional network;
[0226] A target transmission path is selected from the candidate transmission paths according to an indicator value corresponding to the sensitive indicator of the to-be-transmitted traffic in the third path quality information.
[0227] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0228] Receive a BGP-LS protocol message sent by other routing nodes; wherein the BGP-LS protocol message carries the third path quality information.
[0229] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining first path quality information of the current transmission path, including:
[0230] First path quality information of the current transmission path is determined according to signal interaction information between different routing nodes in the current transmission path.
[0231] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: the sensitive indicator includes at least one of a delay indicator, a bit error indicator and a packet loss indicator.
[0232] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0233] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0234] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A traffic transmission method, characterized in that: Applied to a current routing node of a regional network, the method comprises: After receiving the traffic to be transmitted, determining the current transmission path and traffic type of the traffic to be transmitted; Determining first path quality information of the current transmission path; Determining a first path feasibility of the current transmission path based on the traffic type and the first path quality information; Determining a target transmission path according to the feasibility of the first path and the current transmission path; The to-be-transmitted traffic is transmitted based on the target transmission path.
2. The method according to claim 1, characterized in that The determining, based on the traffic type and the first path quality information, the first path feasibility of the current transmission path includes: Based on the traffic type, determining a sensitive indicator of the traffic to be transmitted; Determine the first path feasibility of the current transmission path according to the sensitive indicator and the first path quality information.
3. The method according to claim 2, characterized in that The determining, according to the sensitive indicator and the first path quality information, the first path feasibility of the current transmission path includes: Acquire an indicator value corresponding to the sensitive indicator from the first path quality information; Based on the magnitude relationship between the indicator value and the numerical threshold, the first path feasibility of the current transmission path is determined.
4. The method according to claim 1, characterized in that: The determining a target transmission path according to the first path feasibility and the current transmission path includes: In the case where the first path feasibility indicates that the current transmission path is feasible, taking the current transmission path as the target transmission path; When the feasibility of the first path indicates that the current transmission path is not feasible, the traffic management of the current routing node is optimized to optimize the current transmission path, and a target transmission path is determined according to the optimized current transmission path.
5. The method according to claim 4, characterized in that The step of determining the target transmission path according to the optimized current transmission path includes: Determine the second path quality information of the optimized current transmission path; Determining the feasibility of a second path of the optimized current transmission path based on the traffic type and the second path quality information; A target transmission path is determined according to the feasibility of the second path and the optimized current transmission path.
6. The method according to claim 5, characterized in that The determining the target transmission path according to the feasibility of the second path and the optimized current transmission path includes: When the second path feasibility is that the optimized current transmission path is not feasible, obtaining third path quality information of the candidate transmission path; wherein the third path quality information is sent to the current routing node by other routing nodes; the other routing nodes are routing nodes in the regional network other than the current routing node; A target transmission path is selected from the candidate transmission paths according to an indicator value corresponding to the sensitive indicator of the to-be-transmitted traffic in the third path quality information.
7. The method according to claim 6, characterized in that The method further comprises: Receive a Border Gateway Protocol (BGP-LS) protocol message sent by other routing nodes; wherein the BGP-LS protocol message carries the third path quality information.
8. The method according to claim 1, characterized in that The determining the first path quality information of the current transmission path includes: First path quality information of the current transmission path is determined according to signal interaction information between different routing nodes in the current transmission path.
9. The method according to claim 2 or 6, characterized in that: The sensitive indicator includes at least one of a delay indicator, a bit error indicator and a packet loss indicator.
10. A flow transmission device, characterized in that: A current routing node configured in a regional network, the device comprising: A first receiving module, configured to determine a current transmission path and a traffic type of the traffic to be transmitted after receiving the traffic to be transmitted; A first determining module, used to determine first path quality information of the current transmission path; A second determination module, configured to determine a first path feasibility of the current transmission path based on the traffic type and the first path quality information; A third determination module, configured to determine a target transmission path according to the feasibility of the first path and the current transmission path; A transmission module is used to transmit the traffic to be transmitted based on the target transmission path.
11. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Path optimizing selection method and system based on route reflector
CN106850422A
Traffic scheduling method, device and computer readable storage medium
CN112787943A
SASE-oriented flow routing method and system
CN115037680A
Telemedicine service flow transmission method and device and computer equipment
CN116781605A
Message forwarding method and device, electronic equipment and storage medium
CN117499315A