CN115022165A - BGP stream specification effective interface optimization method, device, equipment and storage medium - Google Patents

BGP stream specification effective interface optimization method, device, equipment and storage medium Download PDF

Info

Publication number
CN115022165A
CN115022165A CN202210594008.XA CN202210594008A CN115022165A CN 115022165 A CN115022165 A CN 115022165A CN 202210594008 A CN202210594008 A CN 202210594008A CN 115022165 A CN115022165 A CN 115022165A
Authority
CN
China
Prior art keywords
interface
bgp
information
configuration
peer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210594008.XA
Other languages
Chinese (zh)
Other versions
CN115022165B (en
Inventor
谢雄定
张宇
陈希
胡嘉远
李芳芳
叶俊
余理
姜哲颖
李竞赛
杨令
卢春
胡浩
梁思宇
秦成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202210594008.XA priority Critical patent/CN115022165B/en
Publication of CN115022165A publication Critical patent/CN115022165A/en
Application granted granted Critical
Publication of CN115022165B publication Critical patent/CN115022165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a BGP stream specification effective interface optimization method, a device, equipment and a storage medium, wherein the method comprises the steps of carrying out iteration on PEER-IP in PEER configuration by configuring an EBGP protocol on cross-domain network equipment to acquire cross-domain connection interface information; binding the interface information with a preset flow control strategy, sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component; and calling the driven API to execute the SDA configuration information so as to enable the related configuration to take effect on a cross-domain interface, thereby effectively improving the performance of the equipment, greatly saving hardware resources, avoiding conflict with the same type of configuration at a control plane stage, simplifying the flow control step, improving the forwarding performance, ensuring the uniqueness of an interface between an SDN controller and communication equipment, reducing the consumption of the hardware resources and improving the speed and efficiency of controlling data flow behaviors by BGP flow specifications.

Description

BGP stream specification effective interface optimization method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of computer network data communication, in particular to a BGP stream specification effective interface optimization method, a device, equipment and a storage medium.
Background
The BGP Flow Specification (BGP Flow Specification) uses BGP network layer reachability information defined by a standard protocol to transfer traffic filtering information, and provides rich processing actions, which can achieve control of specified traffic with pertinence.
The BGP flow specification is based on a standard BGP routing protocol, and satisfies the user's extensions to traffic feature information and a traffic control policy through flexible Network layer reachable information, and is more widely applied to a Software Defined Network (SDN) controller to deliver policy behavior to a communication device.
However, the current BGP Flow Specification is that a Flow control policy configuration configured or dynamically generated on any non-network entry device is finally sent to a network-side Edge device (Provider Edge, PE) device through a BGP Flow Specification route, and an effective BGP Flow Specification configuration interface cannot be specified due to reasons such as configured cross-device, and the like, and the current industry practice is to make the Flow control policy take effect globally, but this practice wastes hardware resources greatly, reduces device performance, and conflicts with the same type of configuration on the device, increasing the maintenance difficulty of the drive forwarding plane; moreover, multiple policy control tables are formed for the traffic control policy, which results in complexity of forwarding flow, increased consumption of hardware resources, and reduced forwarding performance.
Disclosure of Invention
The invention mainly aims to provide a BGP stream specification effective interface optimization method, a BGP stream specification effective interface optimization device, equipment and a storage medium, and aims to solve the technical problems that in the prior art, stream control is effective globally, hardware resources are wasted, the equipment performance is reduced, configuration conflicts are easy to generate, the maintenance difficulty is high, the hardware resources are consumed, and the forwarding performance is low.
In a first aspect, the present invention provides a BGP stream specification validation interface optimization method, where the BGP stream specification validation interface optimization method includes the following steps:
the method comprises the steps that through an EBGP protocol configured on cross-domain network equipment, PEER-IP in PEER configuration is iterated to obtain interface information of cross-domain connection;
binding the interface information with a preset flow control strategy, sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component;
a call-driven API executes the SDA configuration information to validate the relevant configuration on the cross-domain interface.
Optionally, the iteratively acquiring the interface information of the cross-domain connection by configuring the EBGP protocol on the cross-domain network device to the PEER-IP in the PEER configuration includes:
acquiring a Peer-IP in PEER configuration through an EBGP protocol configured on cross-domain network equipment, acquiring public and private network attributes, and iteratively inquiring interface IP information according to the Peer-IP and the public and private network attributes;
and acquiring an interface in the same network segment with the PEER-IP according to the interface IP information, taking the interface in the same network segment with the PEER-IP AS an AS domain connection port, acquiring port information of the AS domain connection port, and taking the port information AS interface information of cross-domain connection.
Optionally, before the PEER-to-IP in PEER configuration is iterated to obtain interface information of cross-domain connection by configuring an EBGP protocol on the cross-domain network device, the BGP stream specification validation interface optimization method further includes:
configuring a source interface and a source address of a TCP connection session of BGP, and sending the source interface serving as interface information of cross-domain connection to an interface management module through a message mechanism.
Optionally, the configuring a source interface and a source address of a TCP connection session of the BGP, and sending the source interface to the interface management module as interface information of the cross-domain connection through a message mechanism, includes:
configuring and enabling the inter-domain EBGP, and specifying the IP address of the BGP peer and the AS number of the BGP peer;
and a source interface and a source address for establishing a TCP connection session between the BGP peers are designated, and the source interface is used as interface information of cross-domain connection and sent to an interface management module through a message mechanism.
Optionally, the binding the interface information with a preset flow control policy, sending the bound internal data to a UDM component, and obtaining SDA configuration information by the UDM component includes:
creating a BGP flow specification at non-network entrance equipment, and taking the BGP flow specification as a preset flow control strategy at a network entrance to be bound with an interface corresponding to the interface information to be effective;
organizing the internal data mapped after binding into FDPO data, and sending the FDPO data to the UDM component through a message mechanism;
and acquiring SDA configuration information according to the FDPO data through the UDM component.
Optionally, the creating, at the non-network entry device, a BGP flow specification, and after the network entry takes the BGP flow specification as a preset flow control policy and takes effect of interface binding corresponding to the interface information, the BGP flow specification taking effect interface optimization method further includes:
and when the change of the BGP connection information is detected, dynamically updating IFM interface maintenance information and updating the interface information bound by the BGP stream specification configuration.
Optionally, the obtaining, by the UDM component, the SDA configuration information according to the FDPO data includes:
mapping, by the UDM component, the FDPO data into DDPO configuration data, the DDPO configuration data being SDA configuration information.
In a second aspect, to achieve the above object, the present invention further provides a BGP stream specification validation interface optimization apparatus, where the BGP stream specification validation interface optimization apparatus includes:
the information acquisition module is used for iteratively acquiring the interface information of cross-domain connection by configuring an EBGP protocol on the cross-domain network equipment and configuring the PEER-IP in the PEER configuration;
the binding module is used for binding the interface information with a preset flow control strategy, sending the bound internal data to the UDM component and obtaining SDA configuration information through the UDM component;
a configuration module for invoking a driven API to execute the SDA configuration information to validate the associated configuration on the cross-domain interface.
In a third aspect, to achieve the above object, the present invention further provides a BGP stream specification validation interface optimization device, where the BGP stream specification validation interface optimization device includes: a memory, a processor, and a BGP flow specification validation interface optimizer stored on the memory and executable on the processor, the BGP flow specification validation interface optimizer being configured to implement the steps of the BGP flow specification validation interface optimization method as described above.
In a fourth aspect, to achieve the above object, the present invention further provides a storage medium, where a BGP stream specification validation interface optimization program is stored, and when executed by a processor, the BGP stream specification validation interface optimization program implements the steps of the BGP stream specification validation interface optimization method described above.
The BGP stream specification effective interface optimization method provided by the invention comprises the steps of carrying out iteration on PEER-IP in PEER configuration by configuring an EBGP protocol on cross-domain network equipment to obtain interface information of cross-domain connection; binding the interface information with a preset flow control strategy, sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component; and calling the driven API to execute the SDA configuration information so as to enable the related configuration to take effect on a cross-domain interface, thereby effectively improving the performance of the equipment, greatly saving hardware resources, avoiding conflict with the same type of configuration at a control plane stage, simplifying the flow control step, improving the forwarding performance, ensuring the uniqueness of an interface between an SDN controller and communication equipment, reducing the consumption of the hardware resources and improving the speed and efficiency of controlling data flow behaviors by BGP flow specifications.
Drawings
FIG. 1 is a schematic diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a first embodiment of a BGP stream specification validation interface optimization method according to the present invention;
fig. 3 is a flowchart illustrating a second embodiment of a BGP stream specification validation interface optimization method according to the present invention;
fig. 4 is a flowchart illustrating a third embodiment of the BGP stream specification validation interface optimization method according to the present invention;
fig. 5 is a flowchart illustrating a fourth embodiment of a BGP stream specification validation interface optimization method according to the present invention;
fig. 6 is a flowchart illustrating a fifth embodiment of the BGP stream specification validation interface optimization method according to the present invention;
fig. 7 is a flowchart illustrating a sixth embodiment of a BGP stream specification validation interface optimization method according to the present invention;
fig. 8 is a flowchart illustrating a seventh embodiment of a BGP stream specification validation interface optimization method according to the present invention;
fig. 9 is a functional block diagram of a BGP stream specification validation interface optimization apparatus according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The solution of the embodiment of the invention is mainly as follows: the method comprises the steps that through an EBGP protocol configured on cross-domain network equipment, PEER-IP in PEER configuration is iterated to obtain interface information of cross-domain connection; binding the interface information with a preset flow control strategy, sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component; the SDA configuration information is executed by calling the driven API, so that the related configuration can take effect on the cross-domain interface, the performance of the equipment can be effectively improved, the hardware resources are greatly saved, the conflict with the same type of configuration can be avoided at the stage of a control plane, the flow control steps are simplified, the forwarding performance is improved, the uniqueness of the interface between the SDN controller and the communication equipment is ensured, the consumption of the hardware resources is reduced, the speed and the efficiency of the BGP flow specification control data flow behavior are improved, the problems that the hardware resources are wasted due to the overall effect of the flow control in the prior art, the performance of the equipment is reduced, the configuration conflict is easily generated, the maintenance difficulty is high, the hardware resources are consumed, and the forwarding performance is lower are solved.
Referring to fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the apparatus may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a Wi-Fi interface). The Memory 1005 may be a high-speed RAM Memory or a Non-Volatile Memory (Non-Volatile Memory), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the device shown in fig. 1 is not intended to be limiting of the device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005 as a storage medium may include an operating device, a network communication module, a user interface module, and a BGP flow specification validation interface optimization program.
The device of the present invention calls, through the processor 1001, the BGP stream specification validation interface optimization program stored in the memory 1005, and performs the following operations:
the method comprises the steps that through an EBGP protocol configured on cross-domain network equipment, PEER-IP in PEER configuration is iterated to obtain interface information of cross-domain connection;
binding the interface information with a preset flow control strategy, sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component;
a call-driven API executes the SDA configuration information to validate the relevant configuration on the cross-domain interface.
The device of the present invention calls, through the processor 1001, the BGP stream specification validation interface optimization program stored in the memory 1005, and further performs the following operations:
acquiring a Peer-IP in PEER configuration through an EBGP protocol configured on cross-domain network equipment, acquiring public and private network attributes, and iteratively inquiring interface IP information according to the Peer-IP and the public and private network attributes;
and acquiring an interface in the same network segment with the PEER-IP according to the interface IP information, taking the interface in the same network segment with the PEER-IP AS an AS domain connection port, acquiring port information of the AS domain connection port, and taking the port information AS interface information of cross-domain connection.
The device of the present invention calls, through the processor 1001, the BGP stream specification validation interface optimization program stored in the memory 1005, and further performs the following operations:
configuring a source interface and a source address of a TCP connection session of BGP, and sending the source interface serving as interface information of cross-domain connection to an interface management module through a message mechanism.
The device of the present invention calls, through the processor 1001, the BGP stream specification validation interface optimization program stored in the memory 1005, and further performs the following operations:
configuring and enabling an inter-domain EBGP, and specifying an IP address of a BGP peer and an AS number to which the BGP peer belongs;
and a source interface and a source address for establishing a TCP connection session between the BGP peers are designated, and the source interface is sent to an interface management module as interface information of cross-domain connection through a message mechanism.
The device of the present invention calls, through the processor 1001, the BGP stream specification validation interface optimization program stored in the memory 1005, and further performs the following operations:
creating a BGP flow specification at a non-network entrance device, and taking the BGP flow specification as a preset flow control strategy at a network entrance to be bound with an interface corresponding to the interface information to be effective;
organizing the internal data mapped after binding into FDPO data, and sending the FDPO data to the UDM component through a message mechanism;
and acquiring SDA configuration information according to the FDPO data through a UDM component.
The device of the present invention calls, through the processor 1001, the BGP stream specification validation interface optimization program stored in the memory 1005, and further performs the following operations:
and when the change of the BGP connection information is detected, dynamically updating IFM interface maintenance information and updating the interface information bound by the BGP stream specification configuration.
The device of the present invention calls, through the processor 1001, the BGP stream specification validation interface optimization program stored in the memory 1005, and further performs the following operations:
mapping, by the UDM component, the FDPO data into DDPO configuration data, the DDPO configuration data being SDA configuration information.
In this embodiment, by the above scheme, the PEER-IP in PEER configuration is iterated by configuring an EBGP protocol on the cross-domain network device to obtain interface information of cross-domain connection; binding the interface information with a preset flow control strategy, sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component; and calling the driven API to execute the SDA configuration information so as to enable the related configuration to take effect on a cross-domain interface, thereby effectively improving the performance of the equipment, greatly saving hardware resources, avoiding conflict with the same type of configuration at a control plane stage, simplifying the flow control step, improving the forwarding performance, ensuring the uniqueness of an interface between an SDN controller and communication equipment, reducing the consumption of the hardware resources and improving the speed and efficiency of controlling data flow behaviors by BGP flow specifications.
Based on the hardware structure, the embodiment of the BGP stream specification effective interface optimization method is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a BGP stream specification validation interface optimization method according to the present invention.
In a first embodiment, the BGP stream specification validation interface optimization method includes the following steps:
and step S10, the PEER-IP in the PEER configuration is iterated to acquire the interface information of the cross-domain connection by configuring the EBGP protocol on the cross-domain network equipment.
It should be noted that an External Border Gateway Protocol (EBGP) is configured on the cross-domain network device, and the configured EBGP Protocol may update unicast transmission (Peer IP-Address, Peer-IP) in Peer configuration to obtain connection interface information, and may iteratively obtain interface information of cross-domain connection through the route management module.
And step S20, binding the interface information with a preset flow control strategy, sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component.
It can be understood that, after the interface information is bound with a preset flow control vehicle, the bound internal Data may be sent to a Unified Data Management (UDM) component, and the UDM component may obtain configuration information related to Single Disk Allocation (SDA).
Step S30, calling the driven API to execute the SDA configuration information to validate the relevant configuration on the cross-domain interface.
It should be appreciated that the SDA configuration information can be executed by calling an Application Programming Interface (API) driven, i.e., after the device receives the SDA configuration information, the API driven execution can be called to validate the relevant configuration on the cross-domain Interface, i.e., to globally validate the BGP Flow Spec configuration on the device as validating on the cross-domain Interface.
In this embodiment, by the above scheme, the PEER-IP in PEER configuration is iterated by configuring an EBGP protocol on the cross-domain network device to obtain interface information of cross-domain connection; binding the interface information with a preset flow control strategy, sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component; and calling the driven API to execute the SDA configuration information so as to enable the related configuration to take effect on a cross-domain interface, thereby effectively improving the performance of the equipment, greatly saving hardware resources, avoiding conflict with the same type of configuration at a control plane stage, simplifying the flow control step, improving the forwarding performance, ensuring the uniqueness of an interface between an SDN controller and communication equipment, reducing the consumption of the hardware resources and improving the speed and efficiency of controlling data flow behaviors by BGP flow specifications.
Further, fig. 3 is a schematic flowchart of a second embodiment of the BGP flow specification validation interface optimization method according to the present invention, and as shown in fig. 3, the second embodiment of the BGP flow specification validation interface optimization method according to the present invention is proposed based on the first embodiment, and in this embodiment, the step S10 specifically includes the following steps:
step S11, the PEER-IP in the PEER configuration is obtained through the EBGP protocol configured on the cross-domain network equipment, the public and private network attribute is obtained, and the interface IP information is inquired in an iterative manner according to the PEER-IP and the public and private network attribute.
It should be noted that the PEER-IP in PEER configuration can be obtained by configuring the EBGP protocol on the cross-domain network device, and after obtaining the attributes of the public network and the private network, the routing management module can iteratively query the interface IP information according to the PEER-IP and the attributes of the public and private networks.
Step S12, acquiring the interface of the same network segment with the PEER-IP according to the interface IP information, using the interface of the same network segment with the PEER-IP AS an AS domain connection port, acquiring the port information of the AS domain connection port, and using the port information AS the interface information of cross-domain connection.
It can be understood that, an interface in the same network segment AS the PEER-IP is obtained according to the interface IP information, the interface in the same network segment is an Autonomous System (AS) domain connection port, the AS domain is managed by a single entity, and the network has a unified routing policy of a unified management mechanism, the AS domain connection port corresponds to corresponding port information, and after the port information is obtained, the port information can be used AS interface information for cross-domain connection.
According to the scheme, the PEER-IP in PEER configuration is obtained through the EBGP protocol configured on the cross-domain network equipment, the public and private network attribute is obtained, and the interface IP information is iteratively inquired according to the PEER-IP and the public and private network attribute; acquiring an interface in the same network segment with the PEER-IP according to the interface IP information, taking the interface in the same network segment with the PEER-IP AS an AS domain connection port, acquiring port information of the AS domain connection port, and taking the port information AS interface information of cross-domain connection; the method can avoid the conflict with the same type of configuration at the control plane stage, simplify the flow control step and improve the forwarding performance.
Further, fig. 4 is a flowchart illustrating a third embodiment of the BGP flow specification validation interface optimization method according to the present invention, and as shown in fig. 4, the third embodiment of the BGP flow specification validation interface optimization method according to the present invention is proposed based on the first embodiment, where in this embodiment, before the step S10, the BGP flow specification validation interface optimization method further includes the following steps:
step S01, configuring a source interface and a source address of a TCP connection session of BGP, and sending the source interface as interface information of cross-domain connection to the interface management module through a message mechanism.
It should be noted that, a corresponding source interface and source address are configured for a connection session of a Transmission Control Protocol (TCP), and the PEER-IP may be sent to the routing management module through a message mechanism, so that the routing management module obtains interface information through iteration and sends the interface information to the interface management module.
According to the scheme, the source interface and the source address of the TCP connection session of the BGP are configured, and the source interface is sent to the interface management module as the interface information of cross-domain connection through a message mechanism, so that the subsequent flow control is simplified, and the speed and the efficiency of controlling the data flow behavior by BGP flow specification are improved.
Further, fig. 5 is a schematic flowchart of a fourth embodiment of the BGP flow specification effective interface optimization method according to the present invention, and as shown in fig. 5, the fourth embodiment of the BGP flow specification effective interface optimization method according to the present invention is proposed based on the third embodiment, and in this embodiment, the step S01 specifically includes the following steps:
and S011, configuring and enabling the inter-domain EBGP, and specifying the IP address of the BGP peer and the AS number to which the BGP peer belongs.
It should be noted that the cross-domain connection enabling EBGP protocol is a precondition for acquiring connection port information, and when configuring the inter-domain BGP and the peer relationship, it is necessary to specify the IP address of the peer and the AS number to which the peer belongs.
Step S012, appointing the source interface and source address of TCP connection conversation between BGP peers, and sending the source interface to interface management module as cross-domain connection interface information through message mechanism.
It should be understood that after the IP address of the BGP peer and the AS number to which the IP address belongs are specified, the source interface and the source address for establishing the TCP connection session between the BGP peers may be continuously specified, and the connection port information may be obtained in various ways based on different cross-domain configuration modes and different scenarios.
In this embodiment, through the above scheme, the IP address of the BGP peer and the AS number to which the BGP peer belongs are specified by configuring and enabling the inter-domain EBGP; and a source interface and a source address for establishing a TCP connection session between the BGP peers are designated, and the source interface is sent to an interface management module as interface information of cross-domain connection through a message mechanism, so that the subsequent flow control is simplified, and the speed and the efficiency of controlling the data flow behavior by BGP flow specification are improved.
Further, fig. 6 is a schematic flowchart of a fifth embodiment of the BGP flow specification validation interface optimization method according to the present invention, and as shown in fig. 6, the fifth embodiment of the BGP flow specification validation interface optimization method according to the present invention is proposed based on the first embodiment, and in this embodiment, the step S20 specifically includes the following steps:
step S21, creating a BGP stream specification at the non-network ingress device, and taking the BGP stream specification as a preset stream control policy at the network ingress and taking the interface binding corresponding to the interface information into effect.
It should be noted that, a BGP Flow Spec Flow specification is created in a non-network ingress device, and a Flow control policy configuration generated in a network ingress device is bound to existing interface information to be effective, that is, the BGP Flow specification is used as a preset Flow control policy, so as to bind the preset Flow control policy to an interface corresponding to the interface information.
And step S22, organizing the internal data mapped after binding into FDPO data, and sending the FDPO data to the UDM component through a message mechanism.
It can be understood that the internal Data mapped after binding is organized into File Output Stream Data Plane Object (FDPO) Data, and the FDPO Data composed of the mapped internal Data can be sent to a Unified Data Management (UDM) component through a message mechanism.
And step S23, acquiring SDA configuration information according to the FDPO data through the UDM component.
It should be understood that the UDM component may obtain Service Driver Adapter (SDA) configuration information from the FDPO data.
In this embodiment, through the above solution, a BGP flow specification is created at a non-network entry device, and the BGP flow specification is taken as a preset flow control policy and takes effect in binding with an interface corresponding to the interface information at a network entry; organizing the internal data mapped after binding into FDPO data, and sending the FDPO data to the UDM component through a message mechanism; the UDM component acquires the SDA configuration information according to the FDPO data, so that the performance of equipment can be effectively improved, hardware resources are greatly saved, the conflict with the same type of configuration can be avoided at the stage of a control plane, the flow control step is simplified, and the forwarding performance is improved.
Further, fig. 7 is a flowchart illustrating a sixth embodiment of the BGP flow specification validation interface optimization method according to the present invention, and as shown in fig. 7, the sixth embodiment of the BGP flow specification validation interface optimization method according to the present invention is proposed based on the fifth embodiment, and in this embodiment, after step S21, the BGP flow specification validation interface optimization method further includes the following steps:
step S211, when detecting the change of the BGP connection information, dynamically updating the IFM interface maintenance information, and updating the interface information bound to the BGP stream specification configuration.
It should be noted that, when the BGP connection information changes, the Interface maintenance information of the Interface management Module (IFM) is dynamically updated, and the Interface information bound to the BGP Flow Spec configuration is updated, so AS to implement the BGP Flow Spec Interface effective optimization configuration based on the AS domain connection port information management.
According to the scheme, when the change of BGP connection information is detected, the IFMGR interface maintenance information is dynamically updated, and the interface information bound by the BGP flow specification configuration is updated, so that the interface optimization can be realized, the forwarding performance is improved, the uniqueness of the interface between the SDN controller and the communication equipment is ensured, the consumption of hardware resources is reduced, and the speed and the efficiency of the BGP flow specification control data flow behavior are improved.
Further, fig. 8 is a schematic flowchart of a seventh embodiment of the BGP flow specification validation interface optimization method according to the present invention, and as shown in fig. 8, the seventh embodiment of the BGP flow specification validation interface optimization method according to the present invention is proposed based on a fifth embodiment, and in this embodiment, the step S23 specifically includes the following steps:
step S231, mapping the FDPO data to DDPO configuration data by the UDM component, and using the DDPO configuration data as SDA configuration information.
It should be understood that after receiving the FDPO Data, the UDM component may map the FDPO Data into Device Data Plane Object (DDPO) configuration Data, and then send Service Driver Adapter (SDA) configuration information to the Device through a message mechanism.
According to the scheme, the FDPO data is mapped into the DDPO configuration data through the UDM component, and the DDPO configuration data is used as the SDA configuration information, so that the equipment performance can be effectively improved, hardware resources are greatly saved, conflicts with the same type of configuration can be avoided at the control plane stage, the flow control step is simplified, and the forwarding performance is improved.
Correspondingly, the invention further provides a BGP stream specification validation interface optimization device.
Referring to fig. 9, fig. 9 is a functional block diagram of a BGP flow specification validation interface optimization apparatus according to a first embodiment of the present invention.
In a first embodiment of the BGP stream specification validation interface optimization apparatus of the present invention, the BGP stream specification validation interface optimization apparatus includes:
the information obtaining module 10 is configured to obtain interface information of cross-domain connection by iterating the PEER-IP in PEER configuration through the EBGP protocol configured on the cross-domain network device.
And a binding module 20, configured to bind the interface information with a preset flow control policy, send the bound internal data to a UDM component, and obtain SDA configuration information through the UDM component.
A configuration module 30, configured to call the API of the driver to execute the SDA configuration information to validate the relevant configuration on the cross-domain interface.
The information obtaining module 10 is further configured to obtain a PEER-IP in PEER configuration by configuring an EBGP protocol on a cross-domain network device, obtain a public and private network attribute, and iteratively query interface IP information according to the PEER-IP and the public and private network attribute; and acquiring an interface in the same network segment with the PEER-IP according to the interface IP information, taking the interface in the same network segment with the PEER-IP AS an AS domain connection port, acquiring port information of the AS domain connection port, and taking the port information AS interface information of cross-domain connection.
The information obtaining module 10 is further configured to configure a source interface and a source address of a TCP connection session of BGP, and send the source interface to the interface management module as interface information of cross-domain connection through a message mechanism.
The information obtaining module 10 is further configured to configure and enable inter-domain EBGP, and specify an IP address of a BGP peer and an AS number to which the BGP peer belongs; and a source interface and a source address for establishing a TCP connection session between the BGP peers are designated, and the source interface is used as interface information of cross-domain connection and sent to an interface management module through a message mechanism.
The binding module 20 is further configured to create a BGP stream specification at a non-network entry device, and take the BGP stream specification as a preset stream control policy and the interface binding corresponding to the interface information into effect at a network entry; organizing the internal data mapped after binding into FDPO data, and sending the FDPO data to the UDM component through a message mechanism; and acquiring SDA configuration information according to the FDPO data through the UDM component.
The binding module 20 is further configured to, when detecting that the BGP connection information changes, dynamically update IFM interface maintenance information, and update interface information bound by the BGP stream specification configuration.
The binding module 20 is further configured to map, by the UDM component, the FDPO data into DDPO configuration data, and use the DDPO configuration data as SDA configuration information.
The steps implemented by each functional module of the BGP flow specification effective interface optimization apparatus may refer to each embodiment of the BGP flow specification effective interface optimization method of the present invention, and are not described herein again.
In addition, an embodiment of the present invention further provides a storage medium, where a BGP stream specification validation interface optimization program is stored in the storage medium, and when executed by a processor, the BGP stream specification validation interface optimization program implements the following operations:
the method comprises the steps that through an EBGP protocol configured on cross-domain network equipment, PEER-IP in PEER configuration is iterated to obtain interface information of cross-domain connection;
binding the interface information with a preset flow control strategy, sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component;
a call-driven API executes the SDA configuration information to validate the relevant configuration on the cross-domain interface.
Further, the BGP stream specification validation interface optimizer, when executed by the processor, further performs the following:
acquiring a Peer-IP in PEER configuration through an EBGP protocol configured on cross-domain network equipment, acquiring public and private network attributes, and iteratively inquiring interface IP information according to the Peer-IP and the public and private network attributes;
and acquiring an interface in the same network segment with the PEER-IP according to the interface IP information, taking the interface in the same network segment with the PEER-IP AS an AS domain connection port, acquiring port information of the AS domain connection port, and taking the port information AS interface information of cross-domain connection.
Further, the BGP stream specification validation interface optimizer, when executed by the processor, further performs the following:
configuring a source interface and a source address of a TCP connection session of BGP, and sending the source interface serving as interface information of cross-domain connection to an interface management module through a message mechanism.
Further, the BGP stream specification validation interface optimizer, when executed by the processor, further performs the following:
configuring and enabling an inter-domain EBGP, and specifying an IP address of a BGP peer and an AS number to which the BGP peer belongs;
and a source interface and a source address for establishing a TCP connection session between the BGP peers are designated, and the source interface is used as interface information of cross-domain connection and sent to an interface management module through a message mechanism.
Further, the BGP stream specification validation interface optimizer, when executed by the processor, further performs the following:
creating a BGP flow specification at a non-network entrance device, and taking the BGP flow specification as a preset flow control strategy at a network entrance to be bound with an interface corresponding to the interface information to be effective;
organizing the internal data mapped after binding into FDPO data, and sending the FDPO data to the UDM component through a message mechanism;
and acquiring SDA configuration information according to the FDPO data through the UDM component.
Further, the BGP stream specification validation interface optimizer, when executed by the processor, further performs the following:
and when the change of the BGP connection information is detected, dynamically updating IFM interface maintenance information and updating the interface information bound by the BGP stream specification configuration.
Further, the BGP flow specification validation interface optimizer, when executed by the processor, further performs the following:
mapping, by the UDM component, the FDPO data into DDPO configuration data, the DDPO configuration data being SDA configuration information.
In this embodiment, by the above scheme, the PEER-IP in PEER configuration is iterated by configuring an EBGP protocol on the cross-domain network device to obtain interface information of cross-domain connection; binding the interface information with a preset flow control strategy, sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component; and calling the driven API to execute the SDA configuration information so as to enable the related configuration to take effect on a cross-domain interface, thereby effectively improving the performance of the equipment, greatly saving hardware resources, avoiding conflict with the same type of configuration at a control plane stage, simplifying the flow control step, improving the forwarding performance, ensuring the uniqueness of an interface between an SDN controller and communication equipment, reducing the consumption of the hardware resources and improving the speed and efficiency of controlling data flow behaviors by BGP flow specifications.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A BGP stream specification effective interface optimization method is characterized in that the BGP stream specification effective interface optimization method comprises the following steps:
the method comprises the steps that through an EBGP protocol configured on cross-domain network equipment, PEER-IP in PEER configuration is iterated to obtain interface information of cross-domain connection;
binding the interface information with a preset flow control strategy, sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component;
a call-driven API executes the SDA configuration information to validate the relevant configuration on the cross-domain interface.
2. The BGP stream specification effective interface optimization method of claim 1, wherein the iteratively obtaining the interface information of the cross-domain connection through configuring the EBGP protocol in the PEER configuration on the cross-domain network device includes:
the method comprises the steps that a Peer-IP in PEER configuration is obtained through an EBGP protocol configured on cross-domain network equipment, public and private network attributes are obtained, and interface IP information is inquired in an iterative mode according to the Peer-IP and the public and private network attributes;
and acquiring an interface in the same network segment with the PEER-IP according to the interface IP information, taking the interface in the same network segment with the PEER-IP AS an AS domain connection port, acquiring port information of the AS domain connection port, and taking the port information AS interface information of cross-domain connection.
3. The BGP stream specification effective interface optimization method of claim 1, wherein before iteratively acquiring the interface information of the cross-domain connection by configuring an EBGP protocol on the cross-domain network device to PEER-IP in PEER configuration, the BGP stream specification effective interface optimization method further comprises:
configuring a source interface and a source address of a TCP connection session of BGP, and sending the source interface serving as interface information of cross-domain connection to an interface management module through a message mechanism.
4. The BGP stream specification validation interface optimization method of claim 3, wherein the configuring the source interface and the source address of the TCP connection session of BGP sends the source interface to the interface management module as interface information of a cross-domain connection through a message mechanism, including:
configuring and enabling the inter-domain EBGP, and specifying the IP address of the BGP peer and the AS number of the BGP peer;
and a source interface and a source address for establishing a TCP connection session between the BGP peers are designated, and the source interface is used as interface information of cross-domain connection and sent to an interface management module through a message mechanism.
5. The BGP stream specification validation interface optimization method of claim 1, wherein the binding the interface information with a preset flow control policy and sending the bound internal data to a UDM component, and obtaining SDA configuration information by the UDM component comprises:
creating a BGP flow specification at a non-network entrance device, and taking the BGP flow specification as a preset flow control strategy at a network entrance to be bound with an interface corresponding to the interface information to be effective;
organizing the internal data mapped after binding into FDPO data, and sending the FDPO data to the UDM component through a message mechanism;
and acquiring SDA configuration information according to the FDPO data through the UDM component.
6. The BGP stream specification validation interface optimization method of claim 5, wherein the creating of the BGP stream specification at the non-network entry device, after the network entry validates the BGP stream specification as the preset flow control policy and the interface binding corresponding to the interface information, the BGP stream specification validation interface optimization method further comprises:
and when the change of the BGP connection information is detected, dynamically updating IFM interface maintenance information and updating the interface information bound by the BGP stream specification configuration.
7. The BGP stream specification validation interface optimization method of claim 5, wherein the obtaining, by the UDM component, SDA configuration information from the FDPO data comprises:
mapping, by the UDM component, the FDPO data into DDPO configuration data, the DDPO configuration data being SDA configuration information.
8. A BGP stream specification validation interface optimization apparatus, comprising:
the information acquisition module is used for iteratively acquiring the interface information of cross-domain connection by configuring an EBGP protocol on the cross-domain network equipment and configuring the PEER-IP in the PEER configuration;
the binding module is used for binding the interface information with a preset flow control strategy, sending the bound internal data to the UDM component and obtaining SDA configuration information through the UDM component;
a configuration module for invoking a driven API to execute the SDA configuration information to validate the associated configuration on the cross-domain interface.
9. A BGP stream specification validation interface optimization device, comprising: a memory, a processor, and a BGP stream specification validation interface optimization program stored on the memory and executable on the processor, the BGP stream specification validation interface optimization program configured to implement the steps of the BGP stream specification validation interface optimization method of any of claims 1-7.
10. A storage medium having stored thereon a BGP stream specification validation interface optimization program that, when executed by a processor, performs the steps of the BGP stream specification validation interface optimization method of any of claims 1-7.
CN202210594008.XA 2022-05-27 2022-05-27 BGP stream specification effective interface optimization method, device, equipment and storage medium Active CN115022165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210594008.XA CN115022165B (en) 2022-05-27 2022-05-27 BGP stream specification effective interface optimization method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210594008.XA CN115022165B (en) 2022-05-27 2022-05-27 BGP stream specification effective interface optimization method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115022165A true CN115022165A (en) 2022-09-06
CN115022165B CN115022165B (en) 2023-06-02

Family

ID=83071087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210594008.XA Active CN115022165B (en) 2022-05-27 2022-05-27 BGP stream specification effective interface optimization method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115022165B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116302041A (en) * 2023-04-06 2023-06-23 北京拙河科技有限公司 Optimization method and device for light field camera interface module

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080209334A1 (en) * 2007-02-27 2008-08-28 Alcatel Lucent User interface system and method for inter-router protocol and transport configuration
WO2011029241A1 (en) * 2009-09-14 2011-03-17 华为技术有限公司 Method, system and router for route processing
US8422514B1 (en) * 2010-02-09 2013-04-16 Juniper Networks, Inc. Dynamic configuration of cross-domain pseudowires
US20140136714A1 (en) * 2011-06-10 2014-05-15 Telefonica, S.A. Method for exchanging information about network resources
CN104468368A (en) * 2014-11-10 2015-03-25 杭州华三通信技术有限公司 Method and device for allocating BGP neighbors
CN106254152A (en) * 2016-09-19 2016-12-21 杭州华三通信技术有限公司 A kind of flow control policy treating method and apparatus
US9660897B1 (en) * 2013-12-04 2017-05-23 Juniper Networks, Inc. BGP link-state extensions for segment routing
CN108768723A (en) * 2018-05-29 2018-11-06 北京星网锐捷网络技术有限公司 A kind of business convergence method, equipment, medium and system
US20190173736A1 (en) * 2017-12-05 2019-06-06 Cisco Technology, Inc. Cross-domain assurance
US20200213225A1 (en) * 2018-12-28 2020-07-02 Alibaba Group Holding Limited Client-equipment-peering virtual route controller
WO2021083324A1 (en) * 2019-10-31 2021-05-06 华为技术有限公司 Information reporting method, and data processing method and device
US20210243053A1 (en) * 2018-10-19 2021-08-05 Huawei Technologies Co., Ltd. Secure SD-WAN Port Information Distribution

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080209334A1 (en) * 2007-02-27 2008-08-28 Alcatel Lucent User interface system and method for inter-router protocol and transport configuration
WO2011029241A1 (en) * 2009-09-14 2011-03-17 华为技术有限公司 Method, system and router for route processing
US8422514B1 (en) * 2010-02-09 2013-04-16 Juniper Networks, Inc. Dynamic configuration of cross-domain pseudowires
US20140136714A1 (en) * 2011-06-10 2014-05-15 Telefonica, S.A. Method for exchanging information about network resources
US9660897B1 (en) * 2013-12-04 2017-05-23 Juniper Networks, Inc. BGP link-state extensions for segment routing
CN104468368A (en) * 2014-11-10 2015-03-25 杭州华三通信技术有限公司 Method and device for allocating BGP neighbors
CN106254152A (en) * 2016-09-19 2016-12-21 杭州华三通信技术有限公司 A kind of flow control policy treating method and apparatus
US20190173736A1 (en) * 2017-12-05 2019-06-06 Cisco Technology, Inc. Cross-domain assurance
CN108768723A (en) * 2018-05-29 2018-11-06 北京星网锐捷网络技术有限公司 A kind of business convergence method, equipment, medium and system
US20210243053A1 (en) * 2018-10-19 2021-08-05 Huawei Technologies Co., Ltd. Secure SD-WAN Port Information Distribution
US20200213225A1 (en) * 2018-12-28 2020-07-02 Alibaba Group Holding Limited Client-equipment-peering virtual route controller
WO2021083324A1 (en) * 2019-10-31 2021-05-06 华为技术有限公司 Information reporting method, and data processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
熊建辉;卢宇;郑中华;: "基于EVE-NG的BGP路由协议研究与仿真", 实验室研究与探索, no. 02 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116302041A (en) * 2023-04-06 2023-06-23 北京拙河科技有限公司 Optimization method and device for light field camera interface module
CN116302041B (en) * 2023-04-06 2023-11-21 北京拙河科技有限公司 Optimization method and device for light field camera interface module

Also Published As

Publication number Publication date
CN115022165B (en) 2023-06-02

Similar Documents

Publication Publication Date Title
US12010030B2 (en) FlowSpec message processing method and system, and apparatus
US10659344B2 (en) Information transmission method, apparatus and system
US8667574B2 (en) Assigning a network address for a virtual device to virtually extend the functionality of a network device
US8374188B2 (en) Techniques to manage a relay server and a network address translator
US9331910B2 (en) Methods and systems for automatic generation of routing configuration files
CN111464446B (en) Communication method and device for multi-line server access and server
CN112491707B (en) Method and device for determining forwarding path
EP3588875B1 (en) Web services across virtual routing and forwarding
US11425028B2 (en) Priority based automated network selection for micro-services in service mesh
CN106789725B (en) Method, device and system for realizing traffic redirection
EP3937438A1 (en) Service chaining with physical network functions and virtualized network functions
CN110336730B (en) Network system and data transmission method
CN116547953A (en) Implementing inter-segment traffic policies by a network fabric control plane
CN109088957B (en) NAT rule management method, device and equipment
CN103634214A (en) Route information generating method and device
CN115022165B (en) BGP stream specification effective interface optimization method, device, equipment and storage medium
CN104967572A (en) Network access method, apparatus and equipment
JP7541116B2 (en) COMMUNICATION METHOD AND RELATED APPARATUS
US8509235B2 (en) Layer-2 packet return in proxy-router communication protocol environments
US20110276673A1 (en) Virtually extending the functionality of a network device
US7525949B1 (en) Forwarding for network devices
EP4142227A1 (en) Method and apparatus for sending multicast message
CN114710711B (en) Equipment upgrading method and device, electronic equipment and storage medium
CN114650196B (en) VLAN interface data message forwarding method, device, equipment and storage medium
CN114039814B (en) Message forwarding method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant