Data transmission method of multi-network isolation BGP double-line data center network architecture
Patent Information
- Application Number
- CN202611252732.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-18
- Publication Date
- 2026-11-03
AI Technical Summary
Existing technologies fail to comprehensively consider the dynamic matching relationship between the service transmission needs of different network domains and the line carrying status, resulting in the inability to adjust BGP routing attributes in real time according to the data transmission characteristics of the network domain, making it difficult to adapt to the dynamic data transmission needs in complex network environments.
By acquiring the network identifiers of each isolated network in the data center, identifying data flows and generating service flow classification data, and combining BGP protocol routing information and link state data, the optimal transmission line is calculated, and BGP routing attributes are adjusted based on bearer change values to optimize the transmission path in real time.
It improves the stability of data transmission and the efficiency of line resource utilization in multi-network isolation environments, avoids link load imbalance and transmission performance degradation, and realizes dynamic adjustment based on network domain characteristics.
Smart Images

Figure CN123035166A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of digital information transmission technology, and in particular to a data transmission method for a multi-network isolated BGP dual-line data center network architecture. Background Technology
[0002] In existing data transmission processes, the BGP protocol is typically used to exchange routing information between different network nodes. This is combined with virtual network instances, VPN isolation, and routing policies to achieve data isolation in multi-service network environments, enabling different service data to complete cross-network transmission based on corresponding routing policies. To improve the reliability of data center networks, existing technologies further employ a multi-link redundancy architecture. This architecture uses routing policies and link priorities to forward service traffic between different transmission links, meeting the data transmission needs of multi-service scenarios in data centers.
[0003] In the aforementioned data transmission architecture, the BGP protocol is primarily used for routing information exchange between network nodes and for path selection of service traffic through preset policies. When a data center simultaneously carries data transmission tasks from multiple isolated networks, data flows from different network domains are typically forwarded based on pre-configured routing policies or link priorities. Existing methods struggle to coordinate and adjust the transmission process according to network domain characteristics, service transmission requirements, and real-time link status. Furthermore, existing dual-line transmission methods typically rely on preset link priorities or failover mechanisms to adjust paths, making it difficult to adapt to the dynamic data transmission needs in complex network environments.
[0004] Therefore, the existing technology still has the following problems: it does not comprehensively consider the dynamic matching relationship between the service transmission requirements and line carrying status of different network domains, which makes it impossible to adjust the corresponding BGP routing attributes in real time according to the data transmission characteristics of different network domains. Summary of the Invention
[0005] To address this issue, the present invention provides a data transmission method for a multi-network isolated BGP dual-line data center network architecture, which overcomes the problem in the prior art that the dynamic matching relationship between the service transmission requirements of different network domains and the line carrying status is not comprehensively considered, thus making it impossible to adjust the corresponding BGP routing attributes in real time according to the data transmission characteristics of different network domains.
[0006] To achieve the above objectives, the present invention provides a data transmission method for a multi-network isolated BGP dual-line data center network architecture, comprising: Obtain the network identifier corresponding to each isolated network in the data center to determine the network domain corresponding to each service network, and identify the data flow entering the network domain to generate service flow classification data; Based on the service flow classification data, the data transmission requirements of the corresponding service network are obtained, and the routing information and link status data corresponding to the current dual lines are obtained based on the BGP protocol. Matching analysis is then performed to determine the optimal transmission line corresponding to each network domain. Based on the optimal transmission line, the service flow classification data corresponding to each network domain is summarized and analyzed to calculate the bearer status corresponding to the dual lines, so as to determine whether the current line allocation result meets the transmission requirements. When transmission requirements are not met, the bearer change value after each network domain switches to another transmission line is calculated sequentially based on the service flow classification data and the link status data. Based on the bearer change value, the transmission lines of the corresponding network domain are adjusted to update the BGP routing attributes of the corresponding network domain, so that different network domains can transmit data according to the corresponding link allocation results. During the adjusted data transmission process, the current link status data is collected, and the adaptation status of the transmission lines corresponding to each network domain is reassessed to determine whether there is room for optimization in the current line allocation result. When there is room for optimization, if the current transmission line is inconsistent with the optimal transmission line, the bearer change value is recalculated, and the BGP routing attributes of the corresponding network domain are adjusted to execute data transmission. During the adjusted data transmission process, link status data is collected. When transmission fluctuations are detected, the transmission line of the corresponding network domain is re-determined based on the current link status data, and the BGP routing attributes of the corresponding network domain are adjusted to execute data transmission.
[0007] Furthermore, the process of generating the business flow classification data includes, Obtain the network identifier corresponding to each isolated network in the data center to determine the network domain corresponding to each service network. The network identifier includes a PN number, VRF number, VLAN number and service tag used to distinguish the network domain corresponding to each service network. The network domain includes a production service network domain, a test service network domain and an office service network domain used to distinguish different service scenarios. The data streams entering the network domain are identified to generate the business flow classification data. The data streams include production database access streams, production application access streams, database synchronization streams, and transaction business streams to distinguish different business types. The business flow classification data includes business flow types, business flow identifiers, network domains to which the business belongs, and data traffic to determine business attributes and transmission characteristics.
[0008] Furthermore, the data transmission requirements of the corresponding service network are obtained based on the service flow classification data, wherein the data transmission requirements include data transmission bandwidth requirements, service traffic requirements, transmission delay thresholds and service reliability index values used to determine the data transmission constraints of different service networks. The routing information and link status data corresponding to the current dual lines are obtained based on the BGP protocol. The routing information includes AS path length, route priority, next-hop address, route weight and route reachability status, which are used to determine the path characteristics of different transmission lines. The link status data includes link bandwidth utilization, link load, transmission delay, packet loss rate and link stability index value, which are used to determine the current operation status of the transmission lines.
[0009] Furthermore, the process of determining the optimal transmission line for each network domain includes, Constraint matching is performed based on the data transmission requirements and the link status data, and the transmission line of the corresponding network domain is determined according to the matching result; When there is only one transmission line that meets the data transmission requirements, the transmission line is determined as the optimal transmission line for the corresponding network domain. When there are multiple transmission lines that meet the data transmission requirements, each transmission line that meets the data transmission requirements is determined as a candidate transmission line, and the candidate transmission line is optimized based on the routing information and the link status data. The candidate transmission line that meets the most optimization condition parameters is taken as the optimal transmission line for the corresponding network domain. When there is no transmission line that meets the data transmission requirements, the deviation of each transmission line is determined based on the data transmission requirements and the link status data, and the transmission line with the smallest deviation is selected as the optimal transmission line for the corresponding network domain.
[0010] Furthermore, the process of determining whether the current line allocation result meets the transmission requirements includes, Based on the optimal transmission line corresponding to each network domain, the service flow classification data corresponding to each network domain is summarized to obtain the service traffic summary value corresponding to each transmission line. Based on the aggregated service traffic value and the link status data, the current bearer status of each transmission line is determined, wherein the bearer status includes link bandwidth utilization, link load and remaining available bandwidth. Based on the current bearer status of each transmission line, the bearer capacity of the corresponding transmission line is determined. When the current bearer status of each transmission line does not exceed the bearer limit of the corresponding line, the current line allocation result is determined to meet the transmission requirements; otherwise, the current line allocation result is determined to not meet the transmission requirements.
[0011] Furthermore, the process of calculating the bearer change value after each network domain switches to another transmission line includes, Determine the optimal transmission line when the current bearer status does not meet the bearer limit, and obtain the service flow classification data of each network domain corresponding to the optimal transmission line; Based on the service flow classification data, determine the service migration volume after each network domain switches to another transmission line; Update the service bearer status corresponding to the optimal transmission line based on the service migration amount, and calculate the change in bearer status corresponding to the optimal transmission line after each network domain switch in turn. The bearer change value after each network domain switches to another transmission line is determined based on the bearer state change.
[0012] Furthermore, the process of enabling different network domains to transmit data according to the corresponding link allocation results includes, Based on the bearer change value corresponding to each network domain, the network domains are sorted, and the target network domains that need to adjust the transmission lines are determined. Obtain the BGP routing attributes corresponding to the target network domain, and adjust the BGP routing attributes according to the corresponding link allocation results; Based on the adjusted BGP routing attributes, the routing information for the corresponding network domain is republished, causing the data flow of the target network domain to switch to the corresponding transmission line for transmission.
[0013] Furthermore, the process of determining whether there is room for optimization in the current route allocation results includes, Obtain the link status data of the corresponding transmission line in each network domain data transmission, and update the current bearer status of the corresponding transmission line based on the link status data; Based on the current carrying status of each transmission line, determine whether each transmission line has remaining carrying capacity. If there is remaining carrying capacity, it is determined that there is room for optimization in the current line allocation result; otherwise, it is determined that there is no room for optimization in the current line allocation result.
[0014] Furthermore, the data transmission process when there is an optimization space includes, When there is room for optimization and the current transmission line is inconsistent with the optimal transmission line, the bearer change value after the network domain switches to the optimal transmission line is recalculated based on the service flow classification data and the link status data of the corresponding network domain. The bearer status corresponding to the optimal transmission line is updated based on the bearer change value; Determine whether the updated bearer status meets the data transmission requirements of the corresponding network domain; When the updated bearer status meets the data transmission requirements of the corresponding network domain, it is determined that there is a switchable line in the corresponding network domain and the BGP routing attributes of the corresponding network domain are adjusted to perform data transmission; otherwise, it is determined that there is no switchable line in the corresponding network domain.
[0015] Furthermore, the data transmission process when transmission fluctuations are detected includes, After adjusting the BGP routing attributes of the corresponding network domain based on the bearer change value, link status data is collected during the data transmission process after the adjustment. When a transmission fluctuation is detected, the bearer change value after the corresponding network domain switches to each transmission line is recalculated based on the current link status data, and the transmission line of the corresponding network domain is determined based on the bearer change value to adjust the BGP routing attributes of the corresponding network domain to perform data transmission. The transmission fluctuation states include increased link load, increased transmission delay, increased packet loss rate, or decreased link stability index value.
[0016] Compared with existing technologies, the advantages of this invention lie in its ability to identify the network domain corresponding to each service network through network identifiers, generate service flow classification data by identifying data flows entering each network domain, determine the optimal transmission line for each network domain by matching and analyzing data transmission requirements with routing information and link status data obtained through the BGP protocol, calculate the bearer change value after each network domain switch using service flow classification data and link status data, adjust the BGP routing attributes of the corresponding network domain based on the bearer change value, continuously evaluate the line adaptation status by collecting the adjusted link status data, and re-determine the transmission line for the corresponding network domain when there is room for optimization or when the link status fluctuates. This invention establishes a dynamic matching relationship between service transmission requirements and line bearer status, and adjusts the corresponding BGP routing attributes in real time according to the data transmission characteristics of different network domains, thereby improving the stability of data transmission and the efficiency of line resource utilization in multi-network isolation environments.
[0017] Furthermore, the network domain corresponding to each service network is determined by network identifiers, and service flow classification data is generated based on the data flows entering each network domain. The optimal transmission line for each network domain is determined by combining service transmission requirements, BGP routing information, and link status data. The dual-line bearer status is calculated by summarizing the service traffic of each network domain. This invention, by integrating service network characteristics, service traffic characteristics, and line status information, achieves differentiated line allocation and bearer assessment in a multi-network isolation environment. This solves the problem of uneven line resource utilization caused by the difficulty of adapting to different service transmission requirements in traditional methods, and improves the stability of data transmission and resource utilization efficiency.
[0018] Furthermore, by determining the service migration amount after each network domain switchover based on service flow classification data, and calculating the bearer change value in conjunction with the bearer status change after service migration, the target network domain is determined based on the bearer change value, and the corresponding BGP routing attributes are adjusted to enable different network domains to switch to the corresponding transmission lines. This invention, by integrating service flow migration characteristics with the relationship between line bearer changes, utilizes a bearer impact assessment mechanism after switchover to adjust network domain-level lines, avoiding the link load imbalance problem caused by directly switching transmission lines, and improving the rationality of dual-line resource scheduling and data transmission stability.
[0019] Furthermore, the bearer status is updated by collecting link status data of the corresponding transmission lines in each network domain after adjustment. Based on the remaining bearer capacity, it is determined whether there is room for optimization in the current line allocation. If optimization exists, the bearer change value is recalculated by combining service flow classification data and link status data to determine whether the bearer status after the switch meets the transmission requirements. The BGP routing attributes of the corresponding network domain are then adjusted. When link status fluctuations are detected after adjustment, the transmission lines of the corresponding network domain are re-determined based on the current link status data. This invention, by constructing a dynamic optimization mechanism based on line bearer status feedback, avoids the problem of transmission performance degradation caused by link load fluctuations after line switching, and improves the stability and adaptability of data transmission in multi-network isolation environments. Attached Figure Description
[0020] Figure 1 This is a flowchart illustrating the steps of a data transmission method for a multi-network isolated BGP dual-line data center network architecture according to an embodiment of the present invention. Figure 2 This is a logic decision diagram of the data transmission method of a multi-network isolated BGP dual-line data center network architecture according to an embodiment of the present invention. Figure 3 This is a flowchart illustrating the process of determining the optimal transmission line in an embodiment of the present invention. Figure 4 This is a flowchart illustrating the workflow for calculating load variation values in an embodiment of the present invention. Detailed Implementation
[0021] To make the objectives and advantages of the present invention clearer, the present invention will be further described below with reference to embodiments; it should be understood that the specific embodiments described herein are merely for explaining the present invention and are not intended to limit the present invention.
[0022] Preferred embodiments of the present invention will now be described with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.
[0023] Please see Figure 1The diagram shows a flowchart of the data transmission method for a multi-network isolated BGP dual-line data center network architecture according to an embodiment of the present invention. The method includes: Step S1: Obtain the network identifier corresponding to each isolated network in the data center to determine the network domain corresponding to each business network, and identify the data flow entering the network domain to generate business flow classification data; Step S2: Based on the service flow classification data, obtain the data transmission requirements of the corresponding service network, and based on the BGP protocol, obtain the routing information and link status data corresponding to the current dual lines, and perform matching analysis to determine the optimal transmission line corresponding to each network domain. Step S3: Based on the optimal transmission line, summarize and analyze the service flow classification data corresponding to each network domain, calculate the bearer status corresponding to the dual lines, and determine whether the current line allocation result meets the transmission requirements. Step S4: When the transmission requirements are not met, calculate the bearer change value after each network domain switches to another transmission line based on the service flow classification data and link status data. Step S5: Adjust the transmission lines of the corresponding network domain based on the bearer change value to update the BGP routing attributes of the corresponding network domain so that different network domains can transmit data according to the corresponding link allocation results. Step S6: During the adjusted data transmission process, collect the current link status data and re-evaluate the adaptation status of the transmission lines corresponding to each network domain in order to determine whether there is room for optimization in the current line allocation result. Step S7: When there is room for optimization, if the current transmission line is inconsistent with the optimal transmission line, recalculate the bearer change value and adjust the BGP routing attributes of the corresponding network domain to execute data transmission. Step S8: During the adjusted data transmission process, link status data is collected. When transmission fluctuation is detected, the transmission line of the corresponding network domain is re-determined based on the current link status data, so as to adjust the BGP routing attributes of the corresponding network domain to perform data transmission.
[0024] Specifically, this embodiment establishes a dynamic matching relationship between service transmission requirements and line carrying status, and adjusts the corresponding BGP routing attributes in real time according to the data transmission characteristics of different network domains, thereby improving the stability of data transmission and the efficiency of line resource utilization in a multi-network isolation environment.
[0025] Please see Figure 2 As shown, this is a logical decision diagram of the data transmission method for a multi-network isolated BGP dual-line data center network architecture according to an embodiment of the present invention. In step S1, the process of generating service flow classification data includes, Obtain the network identifiers corresponding to each isolated network in the data center to determine the network domains corresponding to each business network. The network identifiers include the PN number, VRF number, VLAN number, and service tag used to distinguish the network domains corresponding to each business network. The network domains include the production business network domain, the test business network domain, and the office business network domain used to distinguish different business scenarios. The data flows entering the network domain are identified to generate business flow classification data. The data flows include production database access flows, production application access flows, database synchronization flows, and transaction business flows to distinguish different business types. The business flow classification data includes business flow type, business flow identifier, network domain to which the business belongs, and data traffic to determine business attributes and transmission characteristics.
[0026] Here, PN stands for Provider Network Number, used to identify different bearer networks or isolated network instances; VRF stands for Virtual Router Forwarding, used to establish mutually isolated virtual routing instances on the same physical network device, making the routing tables of different service networks independent of each other; VLAN stands for Virtual Local Area Network, and the VLAN number is used to identify different Layer 2 Virtual Local Area Networks to achieve logical isolation of different service traffic in the Layer 2 network.
[0027] It is understandable that network identifiers in a data center can be obtained by querying the configuration data of network devices. For example, configuration parameters such as PN number, VRF number, VLAN number, and service label corresponding to each isolated network can be obtained through switches, routers, firewalls, or SDN controllers. The corresponding network domain is determined based on the binding relationship between the above identifiers and the service network. For example, when the service label field in the network device configuration is recorded as a production service identifier, it indicates that the data flow corresponding to this network belongs to the production service network domain; when the service label field is recorded as a test service identifier, it indicates that the data flow corresponding to this network belongs to the test service network domain. This will not be elaborated further here.
[0028] Specifically, when identifying data flows entering the network domain, the process involves acquiring traffic records generated during network device forwarding, parsing the data packets corresponding to each data flow to obtain information such as source address, destination address, source port, destination port, protocol type, VLAN identifier, and service tag. Based on the VLAN identifier, service tag, and network device forwarding table information, the network domain to which the data flow belongs is determined. The communication object corresponding to the data flow is determined based on the source and destination addresses, the data interaction method is determined based on port information and protocol type, and the corresponding service type is identified in conjunction with the service tag. A corresponding service flow identifier is generated based on the source address, destination address, port information, and protocol type of the data flow. Simultaneously, the data volume corresponding to each data flow within a unit of time is statistically analyzed to generate service flow classification data including service flow type, service flow identifier, network domain to which the service belongs, and data traffic.
[0029] Please see Figure 3 As shown, it is a flowchart of the process for determining the optimal transmission line. In step S2, the data transmission requirements of the corresponding service network are obtained based on the service flow classification data. The data transmission requirements include the data transmission bandwidth requirement, service traffic requirement, transmission delay threshold and service reliability index value used to determine the data transmission constraints of different service networks. Based on the BGP protocol, the routing information and link status data corresponding to the current dual lines are obtained. The routing information includes AS path length, route priority, next-hop address, route weight and route reachability status, which are used to determine the path characteristics of different transmission lines. The link status data includes link bandwidth utilization, link load, transmission delay, packet loss rate and link stability index values, which are used to determine the current operation status of the transmission lines.
[0030] Constraint matching is performed based on data transmission requirements and link status data, and the transmission line of the corresponding network domain is determined according to the matching results. When there is only one transmission line that meets the data transmission requirements, the transmission line is determined as the optimal transmission line for the corresponding network domain. When there are multiple transmission lines that meet the data transmission requirements, each transmission line that meets the data transmission requirements is identified as a candidate transmission line. Based on routing information and link status data, the candidate transmission line is optimized, and the candidate transmission line that meets the most optimization criteria parameters is selected as the optimal transmission line for the corresponding network domain. When there is no transmission line that meets the data transmission requirements, the deviation of each transmission line is determined based on the data transmission requirements and link status data, and the transmission line with the smallest deviation is selected as the optimal transmission line for the corresponding network domain.
[0031] Understandably, data transmission requirements can be directly obtained from the configuration data of the business network corresponding to the business flow classification data. The corresponding business network is determined based on the network domain to which the business belongs in the business flow classification data, and the transmission configuration parameters of the corresponding business network are read. Specifically, the data transmission bandwidth requirement comes from the bandwidth guarantee parameters configured in the QoS policy corresponding to the business network; the business traffic requirement comes from the maximum allowed traffic parameters configured in the traffic control policy corresponding to the business network; the transmission latency threshold comes from the maximum latency requirement parameters configured in the service level agreement corresponding to the business network; and the business reliability index comes from the availability requirement parameters configured in the service level configuration corresponding to the business network. This allows the determination of the data transmission requirements for the corresponding business network. For example, production business networks have higher data transmission bandwidth and reliability requirements, transaction business flows have lower transmission latency thresholds, and testing business networks have lower data transmission constraints.
[0032] Understandably, routing information is obtained by reading the BGP routing table maintained by the border router based on the BGP protocol. Specifically, the AS path length is obtained by parsing the AS_PATH attribute field in the BGP route entry, representing the number of autonomous systems the data flow traverses; route priority is obtained by reading routing attributes such as LOCAL_PREF and MED in the BGP route entry, representing the priority relationship between different transmission lines; the next-hop address is obtained by reading the NEXT_HOP attribute field in the BGP route entry, determining the next-hop network device address when the data flow is forwarded to the corresponding transmission line; the route weight is obtained by reading the weight parameters configured locally on the routing device, adjusting the routing preference for different lines; and the route reachability status is obtained by detecting the BGP neighbor session status and the status of valid routes in the routing table, determining whether the corresponding transmission line can forward data normally.
[0033] Understandably, link status data is obtained by collecting data from the corresponding network interfaces of the two lines and link monitoring information. Specifically, the used bandwidth data of the line interface within a continuous sampling time is read, and the rated bandwidth of the corresponding interface is obtained. The used bandwidth is divided by the rated bandwidth of the interface to obtain the link bandwidth utilization rate. The input and output traffic rates of the network device interface within a continuous sampling time are read, and the larger of the two values is taken as the link load of the corresponding network interface. Link probe messages are sent to the corresponding transmission line, and the sending time and successful return time of the probe messages are recorded. The time difference between the sending time and the successful return time is calculated to obtain the transmission delay corresponding to each probe message. Finally, the number of link probe messages sent and the number of successfully received links are counted. The number of link probe messages is counted, and the packet loss rate is determined based on the ratio of the difference between the number of sent messages and the number of successfully received messages to the number of sent messages. By continuously collecting link availability status, transmission delay, and packet loss rate data at multiple time points, the number of times the link is unavailable, the number of times the transmission delay fluctuates, and the number of times the packet loss rate fluctuates are counted. The difference between the number of times the link is unavailable, the number of times the transmission delay fluctuates, and the number of times the packet loss rate fluctuates is counted and calculated with the total number of consecutive sampling time points, respectively, to obtain the corresponding number of available link nodes, the number of nodes with stable transmission delay, and the number of nodes with stable packet loss. The sum of the three stable node numbers is divided by three times the total number of consecutive sampling time points to obtain the link stability index value. The larger the link stability index value, the more stable the operation of the corresponding transmission line.
[0034] Specifically, when performing constraint matching based on data transmission requirements and link status data, the link status data corresponding to each transmission line is extracted, and the difference between the rated bandwidth and the used bandwidth of the corresponding interface of each transmission line is compared with the data transmission bandwidth requirement value, the difference between the rated bandwidth and the link load is compared with the service traffic requirement value, the transmission delay is compared with the transmission delay threshold, and the link stability index value is compared with the service reliability index value. When all the link status parameters corresponding to the transmission line meet the corresponding data transmission constraints, it is determined that the transmission line meets the data transmission requirements of the corresponding network domain; otherwise, it is determined that the transmission line does not meet the data transmission requirements of the corresponding network domain.
[0035] Specifically, when optimizing candidate transmission lines based on routing information and link state data, the AS path length, routing priority, next-hop address, routing weight, link bandwidth utilization, link load, transmission delay, packet loss rate, and link stability index value corresponding to each candidate transmission line are obtained. The candidate transmission lines are then compared for each parameter. When a candidate transmission line's parameter is better than another candidate transmission line, the optimization count for that candidate line is increased by one. After comparing all parameters, the optimization count for each candidate transmission line is counted, and the candidate transmission line with the higher optimization count is determined as the optimal transmission line for the corresponding network domain. Specifically, for AS path length, link bandwidth utilization, link load, transmission delay, and packet loss rate, the optimization count for candidate lines with smaller parameter values is increased by one; for routing priority, routing weight, link stability index value, and route reachability, the optimization count for candidate lines with larger parameter values is increased by one.
[0036] Specifically, the deviation degree is determined based on the sum of the deviation ratios between the data transmission demand and the corresponding link status data of each transmission line. This represents the degree of proximity between each transmission line and the data transmission demand of the corresponding service network. The deviation ratios of each parameter include the difference between the data transmission bandwidth demand value and the available bandwidth of each transmission line divided by the data transmission bandwidth demand value; the difference between the service traffic demand value and the capacity traffic divided by the service traffic demand value; the difference between the transmission delay and the transmission delay threshold divided by the transmission delay threshold; and the difference between the service reliability index value and the link stability index value divided by the service reliability index value. For parameters that meet the demand constraints, the corresponding deviation ratio is set to zero. The deviation degree is obtained by summing the deviation ratios of each parameter. The smaller the deviation degree, the closer the corresponding transmission line is to the data transmission demand of the service network.
[0037] In step S3, the process of determining whether the current line allocation result meets the transmission requirements includes, Based on the optimal transmission line corresponding to each network domain, the service flow classification data corresponding to each network domain is summarized to obtain the service traffic summary value corresponding to each transmission line. Based on the aggregated service traffic value and link status data, the current bearer status of each transmission line is determined. The bearer status includes link bandwidth utilization, link load, and remaining available bandwidth. The carrying capacity of each transmission line is determined based on its current carrying status. If the current carrying status of each transmission line does not exceed the carrying limit of the corresponding line, the current line allocation result is determined to meet the transmission requirements; otherwise, the current line allocation result is determined to not meet the transmission requirements.
[0038] Specifically, the service traffic summary value is determined by accumulating the data traffic in the service flow classification data of each network domain, and is used to represent the scale of service data currently carried by each transmission line. Specifically, the data traffic in the service flow classification data of each network domain allocated to the same transmission line is summed to obtain the service traffic summary value of the corresponding transmission line. The larger the service traffic summary value, the higher the amount of data transmission currently carried by the corresponding transmission line.
[0039] Specifically, the current bearer status is determined by updating the aggregated service traffic value and the link status data of the corresponding transmission lines. This status represents the actual bearer status of each transmission line under the current service allocation result. Specifically, the link bandwidth utilization is obtained based on the aggregated service traffic value and the corresponding link bandwidth; the link load is obtained based on the aggregated service traffic value and the current link transmission status; and the remaining available bandwidth is determined based on the difference between the total bandwidth of the transmission lines and the aggregated service traffic value. When the link bandwidth utilization, link load, and remaining available bandwidth of each transmission line all meet the corresponding bearer limits, it indicates that the current line allocation result can meet the data transmission requirements of the service network; otherwise, it indicates that the current line allocation result cannot meet the data transmission requirements.
[0040] Specifically, the network domain corresponding to each service network is determined by network identifiers, and service flow classification data is generated based on the data flows entering each network domain. The optimal transmission line for each network domain is determined by combining service transmission requirements, BGP routing information, and link status data. The dual-line bearer status is calculated by summarizing the service traffic of each network domain. This embodiment achieves differentiated line allocation and bearer assessment in a multi-network isolation environment by integrating service network characteristics, service traffic characteristics, and line status information. This solves the problem of uneven line resource utilization caused by the difficulty of adapting to different service transmission requirements in traditional methods, and improves the stability of data transmission and resource utilization efficiency.
[0041] Please see Figure 4The diagram shown illustrates the workflow for calculating the bearer change value according to an embodiment of the present invention. In step S4, the process of calculating the bearer change value after each network domain switches to another transmission line includes... Determine the optimal transmission line when the current bearer status does not meet the bearer limit, and obtain the service flow classification data of each network domain corresponding to the optimal transmission line; Determine the amount of service migration after each network domain switches to another transmission line based on service flow classification data; Update the service bearer status corresponding to the optimal transmission line based on the service migration amount, and calculate the change in bearer status corresponding to the optimal transmission line after each network domain switch. The bearer change value after each network domain switches to another transmission line is determined based on the bearer state change.
[0042] Specifically, the service migration volume is determined based on the data traffic in the service flow classification data corresponding to each network domain. This is used to determine the impact of switching each network domain to another transmission line on the service carrying status of the current line. Specifically, the service flow classification data of each network domain corresponding to the current optimal transmission line is obtained. Based on the data traffic corresponding to each network domain, the amount of service data that needs to be removed from the current transmission line after the corresponding network domain is switched is determined. This amount of service data is then migrated to another transmission line to simulate the line carrying situation after the switching of different network domains.
[0043] Specifically, the service bearer status corresponding to the optimal transmission line is updated based on the service migration volume. A handover simulation is performed for each network domain. The sum of service traffic corresponding to the two transmission lines is adjusted according to the corresponding service migration volume. Based on the adjusted sum of service traffic, the link bandwidth utilization, link load and remaining available bandwidth corresponding to the two transmission lines are re-determined to obtain the bearer status corresponding to each network domain after the handover.
[0044] Specifically, the change in bearer status is determined based on the changes in link bandwidth utilization, link load, and remaining available bandwidth of the corresponding transmission lines before and after the handover of each network domain. Specifically, the current bearer status of the corresponding transmission lines before the handover simulation and the updated bearer status of the corresponding transmission lines after the handover simulation are obtained for each network domain. The change in link bandwidth utilization is determined by calculating the difference between the link bandwidth utilization before and after the handover. The change in link load is determined by calculating the difference between the link load before and after the handover. The change in remaining available bandwidth is determined by calculating the difference between the remaining available bandwidth before and after the handover. The change in bearer status after the handover of the corresponding network domain is determined by combining the above three changes.
[0045] Specifically, the bearer change value is determined based on the change in bearer status corresponding to each network domain, representing the change in line bearer capacity after each network domain switches to another transmission line. Specifically, a first bearer change parameter is determined based on the change in link bandwidth utilization, a second bearer change parameter is determined based on the ratio of the change in link load to the service traffic demand, and a third bearer change parameter is determined based on the ratio of the change in remaining available bandwidth to the data transmission bandwidth demand. The first and second bearer change parameters are negatively valued to increase the calculation results corresponding to decreased link bandwidth utilization, decreased link load, and increased remaining available bandwidth. The three processed bearer change parameters are then summed to determine the bearer change value for the corresponding network domain. A larger bearer change value indicates a more significant improvement in the bearer capacity of the corresponding line after the network domain switch.
[0046] Specifically, since link bandwidth utilization, link load, and remaining available bandwidth are all used to represent the remaining carrying capacity of the transmission line, and after directional unification processing, the changes in the three indicators can all reflect the degree of improvement in the carrying capacity of the line. Therefore, the three normalized change ratios are summed to determine the overall carrying capacity improvement after the network domain handover.
[0047] In step S5, the process of enabling different network domains to transmit data according to the corresponding link allocation results includes: The network domains are sorted based on the bearer change values corresponding to each network domain, and the target network domains that need to have their transmission lines adjusted are determined. Obtain the BGP route attributes corresponding to the target network domain, and adjust the BGP route attributes according to the corresponding link allocation results; Based on the adjusted BGP routing attributes, the routing information for the corresponding network domain is republished, causing the data flow of the target network domain to switch to the corresponding transmission line for transmission.
[0048] Specifically, the network domains are sorted based on their corresponding bearer change values, and the target network domains that need to be adjusted are determined. The network domains are sorted in descending order of their corresponding bearer change values, and the network domain with the largest bearer change value is selected as the priority target network domain for adjustment. Since the bearer change value is used to indicate the improvement of the line's carrying capacity after the corresponding network domain is switched to another transmission line, the larger the bearer change value, the more significant the improvement in the carrying capacity of the current transmission line will be after the switch. Therefore, the network domain with the largest bearer change value is selected first for line adjustment to reduce the current line carrying pressure.
[0049] Understandably, in actual adjustment, transmission line switching is usually achieved by modifying the routing attributes in the BGP protocol. The target transmission line is determined based on the link allocation result corresponding to the target network domain, and the BGP route entry corresponding to the target network domain is obtained. The route priority, route weight, or next-hop address in the corresponding route entry is adjusted so that the route corresponding to the target transmission line meets the routing requirements corresponding to the link allocation result during the BGP path selection process. This will not be elaborated further here.
[0050] It is understandable that after the network device completes the adjustment of the routing attributes corresponding to the target network domain, it generates a BGP update message carrying the updated routing attributes and sends the update information to the neighboring routing devices through the established BGP session. After receiving the update message, the neighboring routing devices update their local routing tables according to the updated routing attributes and re-execute the BGP path selection process, so that the data flow of the target network domain is switched to the corresponding transmission line for transmission according to the adjusted link allocation results. This will not be elaborated further here.
[0051] Specifically, the service migration volume after each network domain switch is determined based on service flow classification data. The bearer change value is calculated by combining the bearer status change after service migration. Based on the bearer change value, the target network domain is determined, and the corresponding BGP routing attributes are adjusted to enable different network domains to switch to the corresponding transmission lines. This embodiment integrates the relationship between service flow migration characteristics and line bearer changes, and utilizes a bearer impact assessment mechanism after the switch to adjust network domain-level lines. This avoids the link load imbalance problem caused by directly switching transmission lines, improving the rationality of dual-line resource scheduling and the stability of data transmission.
[0052] In step S6, the process of determining whether there is room for optimization in the current line allocation result includes, Obtain the link status data of the corresponding transmission line in each network domain data transmission, and update the current bearer status of the corresponding transmission line based on the link status data; Based on the current carrying status of each transmission line, determine whether each transmission line has remaining carrying capacity. If there is remaining carrying capacity, it is determined that there is room for optimization in the current line allocation result; otherwise, it is determined that there is no room for optimization in the current line allocation result.
[0053] It is understandable that after the current line allocation result is executed, the network device collects the real-time status of each transmission line to obtain the corresponding link status data. The network device obtains the link status data such as link bandwidth utilization, link load, transmission latency, packet loss rate and link stability index value corresponding to the current transmission line through interface status monitoring, traffic statistics and link quality detection, and updates the current carrying status of the corresponding transmission line in real time based on the collected link status data, which will not be elaborated here.
[0054] Specifically, determining whether each transmission line has remaining carrying capacity is based on the remaining available bandwidth, link bandwidth utilization, and link load of each transmission line. Specifically, the remaining available bandwidth, link bandwidth utilization, and link load of each transmission line are obtained. When the remaining available bandwidth is greater than zero, the link bandwidth utilization does not exceed the corresponding carrying limit, and the link load does not exceed the corresponding carrying limit, it indicates that the corresponding transmission line still has link resources that can be used to carry new services, and the corresponding transmission line is determined to have remaining carrying capacity. When any of the following conditions are met: the remaining available bandwidth is less than or equal to zero, the link bandwidth utilization exceeds the corresponding carrying limit, or the link load exceeds the corresponding carrying limit, the corresponding transmission line is determined to have no remaining carrying capacity.
[0055] In step S7, the data transmission process when there is optimization space includes, When there is room for optimization and the current transmission line is inconsistent with the optimal transmission line, the bearer change value after the network domain switches to the optimal transmission line is recalculated based on the service flow classification data and link status data of the corresponding network domain. Update the bearer status of the optimal transmission line based on the bearer change value; Determine whether the updated bearer status meets the data transmission requirements of the corresponding network domain; When the updated bearer status meets the data transmission requirements of the corresponding network domain, it is determined that there is a switchable line in the corresponding network domain and the BGP routing attributes of the corresponding network domain are adjusted to perform data transmission; otherwise, it is determined that there is no switchable line in the corresponding network domain.
[0056] Specifically, when recalculating the bearer change value, the service flow classification data corresponding to the current network domain and the link status data corresponding to the current dual lines are obtained. Since the service traffic distribution and line bearer status will change after the network domain completes the line adjustment, when it is detected that there is room for optimization in the current line allocation result, and the transmission line corresponding to the current network domain is inconsistent with the optimal transmission line determined based on the current link status, the bearer change value is recalculated based on the newly obtained service flow classification data and link status data to determine whether the current data transmission requirements can be met after the corresponding network domain switches to another transmission line. This avoids unreasonable allocation of line resources and waste of link resources due to failure to combine the current line bearer status with line adjustment.
[0057] It is understandable that the specific process of determining the bearer change value based on the business flow classification data and link status data, updating the bearer status based on the bearer change value, and judging the data transmission requirements has been explained in the previous steps. In this step, the corresponding calculation and judgment process is performed based on the currently collected data. The calculation method is the same as the previous process, and will not be repeated here.
[0058] In step S8, the data transmission process when a transmission fluctuation state is detected includes, After adjusting the BGP routing attributes of the corresponding network domain based on the bearer change value, link status data is collected during the data transmission process after the adjustment. When transmission fluctuations are detected, the bearer change value after the corresponding network domain switches to each transmission line is recalculated based on the current link status data, and the transmission line of the corresponding network domain is determined based on the bearer change value to adjust the BGP routing attributes of the corresponding network domain to perform data transmission. Among them, transmission fluctuation status includes increased link load, increased transmission latency, increased packet loss rate, or decreased link stability index value.
[0059] Specifically, since transmission fluctuations can cause changes in the current link status data, the bearer change value determined based on the link status data before the adjustment cannot accurately reflect the bearer status of the current transmission line. Therefore, after detecting transmission fluctuations, the bearer change value after the corresponding network domain switches to each transmission line is re-determined based on the current link status data, so as to re-determine the transmission line corresponding to the corresponding network domain.
[0060] Understandably, transmission fluctuation status indicates that after line adjustments are performed, the current operating state of the transmission line changes compared to when the adjustment was completed, causing the original line allocation results to no longer be suitable for the current service transmission requirements. Specifically, increased link load indicates that the data traffic carried by the current transmission line has increased, increasing the line forwarding pressure and potentially reducing the remaining available bandwidth; increased transmission latency indicates that the response time of the data stream during transmission has increased, reflecting a decrease in line forwarding efficiency, which may affect the data transmission quality of latency-sensitive services; increased packet loss rate indicates that the number of data packets lost during data transmission has increased, reflecting a decrease in line transmission reliability, which may lead to service data retransmission or transmission failure; and decreased link stability index value indicates frequent changes in link status or a decline in link quality, reflecting that the current transmission line cannot maintain a stable transmission state continuously.
[0061] Since the aforementioned link status changes will cause the current link status data to deviate from the status corresponding to the line adjustment, the line allocation result determined based on the link status data before the adjustment cannot accurately reflect the current line carrying capacity. Therefore, when any of the above transmission fluctuation states are detected, the carrying capacity change value after the corresponding network domain is switched to each transmission line is recalculated based on the current link status data, so as to redetermine the transmission line adapted to the current operating state.
[0062] Specifically, transmission fluctuation states include an increase in the current link load compared to the link load when the adjustment was completed, an increase in the current transmission delay compared to the transmission delay when the adjustment was completed, an increase in the current packet loss rate compared to the packet loss rate when the adjustment was completed, or a decrease in the current link stability index value compared to the link stability index value when the adjustment was completed.
[0063] Specifically, after adjusting the BGP routing attributes of the corresponding network domain, the link state data at the time of adjustment is collected as reference link state data. During subsequent data transmission, the current link state data is continuously collected and compared with the reference link state data. When the continuously collected link load is higher than the link load corresponding to the reference link state data, the link load is determined to have increased. When the continuously collected transmission delay is higher than the transmission delay corresponding to the reference link state data, the transmission delay is determined to have increased. When the continuously collected packet loss rate is higher than the packet loss rate corresponding to the reference link state data, the packet loss rate is determined to have increased. When the continuously collected link stability index value is lower than the link stability index value corresponding to the reference link state data, the link stability index value is determined to have decreased.
[0064] Specifically, to determine the optimal method for judging transmission fluctuation status, under the same service network configuration, the same service flow classification data, and the same initial link status, continuous sampling of 2, 3, 4, 5, and 6 times were set as the judgment conditions for transmission fluctuation status. Line adjustment and data transmission tests were repeatedly performed under different operating conditions such as service traffic fluctuations, link load changes, and link quality changes. The number of false trigger readjustments, the number of missed transmission fluctuations, and the time required for line stabilization were statistically analyzed under each judgment condition. The results show that when the link load obtained from 5 consecutive samplings is higher than the link load corresponding to the reference link status data, or the transmission delay obtained from 5 consecutive samplings is higher than the transmission delay corresponding to the reference link status data, or the packet loss rate obtained from 5 consecutive samplings is higher than the packet loss rate corresponding to the reference link status data, or the link stability index value obtained from 5 consecutive samplings is lower than the link stability index value corresponding to the reference link status data, the accuracy of transmission fluctuation detection and the stability of line adjustment can be balanced. This effectively avoids misjudgments caused by instantaneous link jitter and reduces the chance of missing actual transmission fluctuations. Therefore, continuous sampling of 5 times is the preferred judgment condition for transmission fluctuation status.
[0065] The technical solution of the present invention has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of the present invention.
Claims
1. A data transmission method for a multi-network isolated BGP dual-line data center network architecture, characterized in that, include: Obtain the network identifier corresponding to each isolated network in the data center to determine the network domain corresponding to each service network, and identify the data flow entering the network domain to generate service flow classification data; Based on the service flow classification data, the data transmission requirements of the corresponding service network are obtained, and the routing information and link status data corresponding to the current dual lines are obtained based on the BGP protocol. Matching analysis is then performed to determine the optimal transmission line corresponding to each network domain. Based on the optimal transmission line, the service flow classification data corresponding to each network domain is summarized and analyzed to calculate the bearer status corresponding to the dual lines, so as to determine whether the current line allocation result meets the transmission requirements. When transmission requirements are not met, the bearer change value after each network domain switches to another transmission line is calculated sequentially based on the service flow classification data and the link status data. Based on the bearer change value, the transmission lines of the corresponding network domain are adjusted to update the BGP routing attributes of the corresponding network domain, so that different network domains can transmit data according to the corresponding link allocation results. During the adjusted data transmission process, the current link status data is collected, and the adaptation status of the transmission lines corresponding to each network domain is reassessed to determine whether there is room for optimization in the current line allocation result. When there is room for optimization, if the current transmission line is inconsistent with the optimal transmission line, the bearer change value is recalculated, and the BGP routing attributes of the corresponding network domain are adjusted to execute data transmission. During the adjusted data transmission process, link status data is collected. When transmission fluctuations are detected, the transmission line of the corresponding network domain is re-determined based on the current link status data, so as to adjust the BGP routing attributes of the corresponding network domain to perform data transmission.
2. The data transmission method for a multi-network isolated BGP dual-line data center network architecture according to claim 1, characterized in that, The process of generating the business flow classification data includes, Obtain the network identifier corresponding to each isolated network in the data center to determine the network domain corresponding to each service network. The network identifier includes a PN number, VRF number, VLAN number and service tag used to distinguish the network domain corresponding to each service network. The network domain includes a production service network domain, a test service network domain and an office service network domain used to distinguish different service scenarios. The data streams entering the network domain are identified to generate the business flow classification data. The data streams include production database access streams, production application access streams, database synchronization streams, and transaction business streams to distinguish different business types. The business flow classification data includes business flow types, business flow identifiers, network domains to which the business belongs, and data traffic to determine business attributes and transmission characteristics.
3. The data transmission method for a multi-network isolated BGP dual-line data center network architecture according to claim 2, characterized in that, Based on the service flow classification data, the data transmission requirements of the corresponding service network are obtained, wherein the data transmission requirements include data transmission bandwidth requirements, service traffic requirements, transmission delay thresholds and service reliability index values used to determine the data transmission constraints of different service networks. The routing information and link status data corresponding to the current dual lines are obtained based on the BGP protocol. The routing information includes AS path length, route priority, next-hop address, route weight and route reachability status, which are used to determine the path characteristics of different transmission lines. The link status data includes link bandwidth utilization, link load, transmission delay, packet loss rate and link stability index value, which are used to determine the current operation status of the transmission lines.
4. The data transmission method for a multi-network isolated BGP dual-line data center network architecture according to claim 3, characterized in that, The process of determining the optimal transmission line for each network domain includes, Constraint matching is performed based on the data transmission requirements and the link status data, and the transmission line of the corresponding network domain is determined according to the matching result; When there is only one transmission line that meets the data transmission requirements, the transmission line is determined as the optimal transmission line for the corresponding network domain. When there are multiple transmission lines that meet the data transmission requirements, each transmission line that meets the data transmission requirements is determined as a candidate transmission line, and the candidate transmission line is optimized based on the routing information and the link status data. The candidate transmission line that meets the most optimization condition parameters is taken as the optimal transmission line for the corresponding network domain. When there is no transmission line that meets the data transmission requirements, the deviation of each transmission line is determined based on the data transmission requirements and the link status data, and the transmission line with the smallest deviation is selected as the optimal transmission line for the corresponding network domain.
5. The data transmission method for a multi-network isolated BGP dual-line data center network architecture according to claim 4, characterized in that, The process of determining whether the current line allocation result meets the transmission requirements includes, Based on the optimal transmission line corresponding to each network domain, the service flow classification data corresponding to each network domain is summarized to obtain the service traffic summary value corresponding to each transmission line. Based on the aggregated service traffic value and the link status data, the current bearer status of each transmission line is determined, wherein the bearer status includes link bandwidth utilization, link load and remaining available bandwidth. Based on the current bearer status of each transmission line, the bearer capacity of the corresponding transmission line is determined. When the current bearer status of each transmission line does not exceed the bearer limit of the corresponding line, the current line allocation result is determined to meet the transmission requirements; otherwise, the current line allocation result is determined to not meet the transmission requirements.
6. The data transmission method for a multi-network isolated BGP dual-line data center network architecture according to claim 5, characterized in that, The process of calculating the bearer change value after each network domain switches to another transmission line includes, Determine the optimal transmission line when the current bearer status does not meet the bearer limit, and obtain the service flow classification data of each network domain corresponding to the optimal transmission line; Based on the service flow classification data, determine the service migration volume after each network domain switches to another transmission line; Update the service bearer status corresponding to the optimal transmission line based on the service migration amount, and calculate the change in bearer status corresponding to the optimal transmission line after each network domain switch in turn. The bearer change value after each network domain switches to another transmission line is determined based on the bearer state change.
7. The data transmission method for a multi-network isolated BGP dual-line data center network architecture according to claim 6, characterized in that, The process of enabling different network domains to transmit data according to the corresponding link allocation results includes: Based on the bearer change value corresponding to each network domain, the network domains are sorted, and the target network domains that need to adjust the transmission lines are determined. Obtain the BGP routing attributes corresponding to the target network domain, and adjust the BGP routing attributes according to the corresponding link allocation results; Based on the adjusted BGP routing attributes, the routing information for the corresponding network domain is republished, causing the data flow of the target network domain to switch to the corresponding transmission line for transmission.
8. The data transmission method for a multi-network isolated BGP dual-line data center network architecture according to claim 7, characterized in that, The process of determining whether there is room for optimization in the current route allocation results includes, Obtain the link status data of the corresponding transmission line in each network domain data transmission, and update the current bearer status of the corresponding transmission line based on the link status data; Based on the current carrying status of each transmission line, determine whether each transmission line has remaining carrying capacity. If there is remaining carrying capacity, it is determined that there is room for optimization in the current line allocation result; otherwise, it is determined that there is no room for optimization in the current line allocation result.
9. The data transmission method for a multi-network isolated BGP dual-line data center network architecture according to claim 8, characterized in that, The data transmission process when there is room for optimization includes, When there is room for optimization and the current transmission line is inconsistent with the optimal transmission line, the bearer change value after the network domain switches to the optimal transmission line is recalculated based on the service flow classification data and the link status data of the corresponding network domain. The bearer status corresponding to the optimal transmission line is updated based on the bearer change value; Determine whether the updated bearer status meets the data transmission requirements of the corresponding network domain; When the updated bearer status meets the data transmission requirements of the corresponding network domain, it is determined that there is a switchable line in the corresponding network domain and the BGP routing attributes of the corresponding network domain are adjusted to perform data transmission; otherwise, it is determined that there is no switchable line in the corresponding network domain.
10. The data transmission method for a multi-network isolated BGP dual-line data center network architecture according to claim 9, characterized in that, The data transmission process when transmission fluctuations are detected includes, After adjusting the BGP routing attributes of the corresponding network domain based on the bearer change value, link status data is collected during the data transmission process after the adjustment. When a transmission fluctuation is detected, the bearer change value after the corresponding network domain switches to each transmission line is recalculated based on the current link status data, and the transmission line of the corresponding network domain is determined based on the bearer change value to adjust the BGP routing attributes of the corresponding network domain to perform data transmission. The transmission fluctuation states include increased link load, increased transmission delay, increased packet loss rate, or decreased link stability index value.
