CN115022165B - 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
CN115022165B
CN115022165B CN202210594008.XA CN202210594008A CN115022165B CN 115022165 B CN115022165 B CN 115022165B CN 202210594008 A CN202210594008 A CN 202210594008A CN 115022165 B CN115022165 B CN 115022165B
Authority
CN
China
Prior art keywords
interface
bgp
information
configuration
cross
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.)
Active
Application number
CN202210594008.XA
Other languages
Chinese (zh)
Other versions
CN115022165A (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 carries out iteration on PEER-IP in PEER configuration to obtain interface information of cross-domain connection through configuration of an EBGP protocol on cross-domain network equipment; binding the interface information with a preset flow control strategy, and 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 related configuration is effective on a cross-domain interface, the device performance can be effectively improved, hardware resources are greatly saved, conflicts with the same type of configuration can be avoided in a control plane stage, the flow control step is simplified, the forwarding performance is improved, the uniqueness of an interface between an SDN controller and communication equipment is ensured, the consumption of hardware resources is reduced, and the speed and the efficiency of BGP flow specification control data flow behavior are improved.

Description

BGP stream specification effective interface optimization method, device, equipment and storage medium
Technical Field
The present invention relates to the field of computer network data communications technologies, and in particular, to a BGP stream specification effective interface optimization method, apparatus, device, and storage medium.
Background
The border gateway protocol flow specification (BGP Flow Specification ) uses BGP network layer reachability information defined by standard protocols to communicate traffic filtering information and provide rich processing actions that enable targeted control of specified traffic.
BGP flow specifications are based on standard BGP routing protocols and are more widely used in software defined network (Software Defined Network, SDN) controllers to communicate policy actions to communication devices through flexible network layer reachability information to satisfy user extensions to flow characteristic information and flow control policies.
However, the current BGP flow specification is that the flow control policy configuration configured or dynamically generated on any non-network entry device is finally sent to a network side Edge device (PE) through a BGP Flow Specification route, and the configuration validation interface of the BGP flow specification cannot be defined due to reasons such as configuration cross-device, so that the flow control policy is globally validated, but this practice wastes greatly hardware resources, reduces device performance, and conflicts with the same type of configuration on the device, so as to increase the maintenance difficulty of the drive forwarding plane; in addition, multiple policy control tables are formed for the flow control policy, which causes complexity of forwarding flow, increases consumption of hardware resources, and also causes degradation of forwarding performance.
Disclosure of Invention
The invention mainly aims to provide a BGP stream specification validation interface optimization method, device, equipment and storage medium, and aims to solve the technical problems that in the prior art, stream control is globally validated, hardware resources are wasted, equipment performance is reduced, configuration conflict is easy to generate, maintenance difficulty is high, hardware resources are consumed and 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:
iteratively acquiring interface information of cross-domain connection by configuring an EBGP protocol on the cross-domain network equipment and carrying out PEER-IP in PEER configuration;
binding the interface information with a preset flow control strategy, and sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component;
the call-driven API executes the SDA configuration information to validate the relevant configuration on the cross-domain interface.
Optionally, the step of iteratively obtaining interface information of the cross-domain connection by configuring the EBGP protocol on the cross-domain network device to PEER-IP includes:
acquiring PEER-IP in PEER configuration by configuring an EBGP protocol 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 with the PEER-IP same network segment according to the interface IP information, taking the interface with the PEER-IP same network segment 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 iterative obtaining of interface information of the cross-domain connection by configuring EBGP protocol on the cross-domain network device, the BGP stream specification takes effect and the interface optimization method further includes:
and configuring a source interface and a source address of the TCP connection session of the BGP, and sending the source interface to an interface management module through a message mechanism as interface information of cross-domain connection.
Optionally, 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 through a message mechanism as interface information of the cross-domain connection, including:
configuring and enabling inter-domain EBGP, and designating the IP address of the BGP peer and the AS number to which the IP address belongs;
and designating a source interface and a source address for establishing a TCP connection session between the BGP peers, and sending the source interface to an interface management module as interface information of cross-domain connection through a message mechanism.
Optionally, the binding the interface information with a preset flow control policy, and sending the bound internal data to a UDM component, where the obtaining SDA configuration information by the UDM component includes:
creating a BGP flow specification at a non-network inlet device, and taking the BGP flow specification into effect as interface binding corresponding to the interface information by a preset flow control strategy at a network inlet;
the internal data mapped after binding is organized into FDPO data, and the FDPO data is sent to a UDM component through a message mechanism;
and acquiring SDA configuration information according to the FDPO data by using a UDM component.
Optionally, the creating a BGP flow specification at the non-network portal device, and after the network portal validates the BGP flow specification as an interface binding corresponding to the interface information by using a preset flow control policy, the BGP flow specification validation interface optimization method further includes:
and when detecting the change of BGP connection information, dynamically updating the IFM interface maintenance information and updating the interface information of the BGP flow specification configuration binding.
Optionally, the acquiring, by the UDM component, SDA configuration information according to the FDPO data includes:
mapping the FDPO data into DDPO configuration data by the UDM component, and taking the DDPO configuration data as SDA configuration information.
In order 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:
the information acquisition module is used for carrying out iteration on PEER-IP in PEER configuration through configuration of an EBGP protocol on the cross-domain network equipment to acquire interface information of cross-domain connection;
the binding module is used for 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 the configuration module is used for calling the API of the drive to execute the SDA configuration information so as to enable the related configuration to take effect on the cross-domain interface.
In order 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: the system comprises a memory, a processor, and a BGP stream specification validation interface optimizer stored on the memory and executable on the processor, the BGP stream specification validation interface optimizer configured to implement the steps of the BGP stream specification validation interface optimization method as described above.
In a fourth aspect, to achieve the above object, the present invention further proposes a storage medium, on which a BGP stream specification validation interface optimization program is stored, which when executed by a processor implements the steps of the BGP stream specification validation interface optimization method as described above.
According to the BGP stream specification effective interface optimization method, PEER-IP in PEER configuration is iterated to obtain interface information of cross-domain connection through configuration of an EBGP protocol on cross-domain network equipment; binding the interface information with a preset flow control strategy, and 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 related configuration is effective on a cross-domain interface, the device performance can be effectively improved, hardware resources are greatly saved, conflicts with the same type of configuration can be avoided in a control plane stage, the flow control step is simplified, the forwarding performance is improved, the uniqueness of an interface between an SDN controller and communication equipment is ensured, the consumption of hardware resources is reduced, and the speed and the efficiency of BGP flow specification control data flow behavior are improved.
Drawings
FIG. 1 is a schematic diagram 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 a 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 a BGP stream specification validation interface optimization method according to the present invention;
fig. 7 is a flowchart of a sixth embodiment of a BGP stream specification validation interface optimization method according to the present invention;
fig. 8 is a flowchart of 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 first embodiment of the BGP stream specification validation interface optimization device of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The solution of the embodiment of the invention mainly comprises the following steps: iteratively acquiring interface information of cross-domain connection by configuring an EBGP protocol on the cross-domain network equipment and carrying out PEER-IP in PEER configuration; binding the interface information with a preset flow control strategy, and 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 related configuration takes effect on a cross-domain interface, the device performance can be effectively improved, hardware resources are greatly saved, conflicts with the same type of configuration can be avoided in a control plane stage, flow control steps are simplified, forwarding performance is improved, the uniqueness of the interface between an SDN controller and communication devices is guaranteed, consumption of the hardware resources is reduced, speed and efficiency of BGP flow specification control data flow behavior are improved, and the technical problems that in the prior art, flow control takes effect globally, the hardware resources are wasted, the device performance is reduced, configuration conflicts are easy to generate, maintenance difficulty is high, the hardware resources are consumed, and forwarding performance is low are solved.
Referring to fig. 1, fig. 1 is a schematic device structure diagram of a hardware running 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 the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., wi-Fi interface). The Memory 1005 may be a high-speed RAM Memory or a stable Memory (Non-Volatile Memory), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the apparatus structure shown in fig. 1 is not limiting of the apparatus and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating device, a network communication module, a user interface module, and a BGP stream specification validation interface optimization program may be included in a memory 1005 as one storage medium.
The device of the present invention invokes, via the processor 1001, the BGP stream specification validation interface optimizer stored in the memory 1005 and performs the following operations:
iteratively acquiring interface information of cross-domain connection by configuring an EBGP protocol on the cross-domain network equipment and carrying out PEER-IP in PEER configuration;
binding the interface information with a preset flow control strategy, and sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component;
the call-driven API executes the SDA configuration information to validate the relevant configuration on the cross-domain interface.
The device of the present invention invokes, via the processor 1001, the BGP stream specification validation interface optimizer stored in the memory 1005, and further performs the following operations:
acquiring PEER-IP in PEER configuration by configuring an EBGP protocol 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 with the PEER-IP same network segment according to the interface IP information, taking the interface with the PEER-IP same network segment 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 invokes, via the processor 1001, the BGP stream specification validation interface optimizer stored in the memory 1005, and further performs the following operations:
and configuring a source interface and a source address of the TCP connection session of the BGP, and sending the source interface to an interface management module through a message mechanism as interface information of cross-domain connection.
The device of the present invention invokes, via the processor 1001, the BGP stream specification validation interface optimizer stored in the memory 1005, and further performs the following operations:
configuring and enabling inter-domain EBGP, and designating the IP address of the BGP peer and the AS number to which the IP address belongs;
and designating a source interface and a source address for establishing a TCP connection session between the BGP peers, and sending the source interface to an interface management module as interface information of cross-domain connection through a message mechanism.
The device of the present invention invokes, via the processor 1001, the BGP stream specification validation interface optimizer stored in the memory 1005, and further performs the following operations:
creating a BGP flow specification at a non-network inlet device, and taking the BGP flow specification into effect as interface binding corresponding to the interface information by a preset flow control strategy at a network inlet;
the internal data mapped after binding is organized into FDPO data, and the FDPO data is sent to a UDM component through a message mechanism;
and acquiring SDA configuration information according to the FDPO data by using a UDM component.
The device of the present invention invokes, via the processor 1001, the BGP stream specification validation interface optimizer stored in the memory 1005, and further performs the following operations:
and when detecting the change of BGP connection information, dynamically updating the IFM interface maintenance information and updating the interface information of the BGP flow specification configuration binding.
The device of the present invention invokes, via the processor 1001, the BGP stream specification validation interface optimizer stored in the memory 1005, and further performs the following operations:
mapping the FDPO data into DDPO configuration data by the UDM component, and taking the DDPO configuration data as SDA configuration information.
According to the scheme, PEER-IP in PEER configuration is iterated to obtain interface information of cross-domain connection through configuration of an EBGP protocol on cross-domain network equipment; binding the interface information with a preset flow control strategy, and 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 related configuration is effective on a cross-domain interface, the device performance can be effectively improved, hardware resources are greatly saved, conflicts with the same type of configuration can be avoided in a control plane stage, the flow control step is simplified, the forwarding performance is improved, the uniqueness of an interface between an SDN controller and communication equipment is ensured, the consumption of hardware resources is reduced, and the speed and the efficiency of BGP flow specification control data flow behavior are improved.
Based on the hardware structure, the embodiment of the BGP stream specification validation 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:
step S10, iterating PEER-IP in PEER configuration to obtain interface information of cross-domain connection through configuration of an EBGP protocol on the cross-domain network equipment.
It should be noted that, an external border gateway protocol (External Border Gateway Protocol, EBGP) is configured on the cross-domain network device, and through the configured EBGP protocol, unicast transmission update (Peer IP-Address, peer-IP) in Peer configuration may be obtained to obtain connection interface information, and the route management module may iteratively obtain interface information of the cross-domain connection.
And step S20, binding the interface information with a preset flow control strategy, and sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component.
It can be appreciated that after the interface information is bound with a preset flow control vehicle, the bound internal data can be sent to a unified data management (Unified Data Management, UDM) component, through which related configuration information of single disk allocation (Single Disk Allocation, SDA) can be obtained.
And step S30, calling the API of the driver to execute the SDA configuration information so as to enable the related configuration to be effective on the cross-domain interface.
It should be appreciated that the SDA configuration information can be executed by invoking a driver application programming interface (Application Programm ing Interface, API), i.e., after the device receives the SDA configuration information, the driver API execution can be invoked to validate the relevant configuration on the cross-domain interface, i.e., to optimize the global validation of BGP Flow Spec configuration on the device as validated on the cross-domain interface.
According to the scheme, PEER-IP in PEER configuration is iterated to obtain interface information of cross-domain connection through configuration of an EBGP protocol on cross-domain network equipment; binding the interface information with a preset flow control strategy, and 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 related configuration is effective on a cross-domain interface, the device performance can be effectively improved, hardware resources are greatly saved, conflicts with the same type of configuration can be avoided in a control plane stage, the flow control step is simplified, the forwarding performance is improved, the uniqueness of an interface between an SDN controller and communication equipment is ensured, the consumption of hardware resources is reduced, and the speed and the efficiency of BGP flow specification control data flow behavior are improved.
Further, fig. 3 is a flow chart of a second embodiment of the BGP stream specification effective interface optimization method of the present invention, as shown in fig. 3, according to the second embodiment of the BGP stream specification effective interface optimization method of the present invention, in this embodiment, the step S10 specifically includes the following steps:
and S11, acquiring PEER-IP in PEER configuration by configuring an EBGP protocol on the 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.
It should be noted that, by configuring the EBGP protocol on the cross-domain network device, the PEER-IP in the PEER configuration may be obtained, and after the attribute of the public network and the attribute of the private network are obtained, the route management module may iteratively query the interface IP information according to the PEER-IP and the attribute of the public network and the attribute of the private network.
Step S12, according to the interface IP information, obtaining an interface with the PEER-IP same network segment, taking the interface with the PEER-IP same network segment AS an AS domain connection port, obtaining port information of the AS domain connection port, and taking the port information AS interface information of cross-domain connection.
It can be understood that, according to the interface IP information, the interface with the PEER-IP same network segment is obtained, the interface with the network segment is an autonomous domain (Autonomous System, AS) domain connection port, the AS domain is a network managed by a single entity and having a unified routing policy of a unified management mechanism, the AS domain connection port corresponds to corresponding port information, and after obtaining the port information, the port information can be used AS interface information of cross-domain connection.
According to the scheme, PEER-IP in PEER configuration is obtained through configuration of the EBGP protocol on the cross-domain network equipment, public and private network attributes are obtained, and interface IP information is iteratively inquired according to the PEER-IP and the public and private network attributes; acquiring an interface of the same network segment AS the PEER-IP according to the interface IP information, taking the interface of the same network segment 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; conflicts with the same type of configuration can be avoided in the control plane stage, the flow control step is simplified, and the forwarding performance is improved.
Further, fig. 4 is a flow chart of a third embodiment of the BGP stream specification effective interface optimization method according to the present invention, as shown in fig. 4, according to the third embodiment of the BGP stream specification effective interface optimization method according to the present invention, in this embodiment, before step S10, the BGP stream specification effective interface optimization method further includes the following steps:
and step S01, configuring a source interface and a source address of a TCP connection session of BGP, and sending the source interface to an interface management module through a message mechanism as interface information of cross-domain connection.
It should be noted that, a source interface and a source address corresponding to the connection session of the transmission control protocol (Transmission Control Protocol, TCP) are configured, and the PEER-IP may be sent to the route management module through a message mechanism, so that the route management obtains interface information through iteration and sends the interface information to the interface management module.
According to the embodiment, through the scheme, the source interface and the source address of the TCP connection session of the BGP are configured, and the source interface is used as interface information of cross-domain connection to be sent to the interface management module through the message mechanism, so that follow-up flow control is simplified, and the speed and the efficiency of controlling data flow behaviors by the BGP flow specification are improved.
Further, fig. 5 is a flow chart of a fourth embodiment of the BGP stream specification effective interface optimization method according to the present invention, as shown in fig. 5, and the fourth embodiment of the BGP stream specification effective interface optimization method according to the present invention is proposed based on the third embodiment, in this embodiment, the step S01 specifically includes the following steps:
step S011, configuring and enabling inter-domain EBGP, and designating the IP address of the BGP peer and the AS number to which the IP address belongs.
It should be noted that, the cross-domain connection enabling EBGP protocol is a precondition for obtaining connection port information, and when inter-domain BGP configures, it is necessary to specify an IP address of a peer and an AS number to which the IP address belongs when configuring a peer relationship.
Step S012, appointing the source interface and source address of the TCP connection session established between the BGP peers, and sending the source interface to an interface management module as interface information of cross-domain connection through a message mechanism.
It should be understood that after the IP address of the BGP peer and the AS number to which it belongs are specified, the source interface and the source address of the TCP connection session established between BGP peers may be continuously specified, and the connection port information may be acquired in multiple manners based on different cross-domain configuration manners and scenarios.
Through the scheme, the embodiment designates the IP address of the BGP peer and the AS number to which the IP address belongs by configuring and enabling the inter-domain EBGP; and designating a source interface and a source address for establishing a TCP connection session between the BGP peers, and sending the source interface to an interface management module as interface information of cross-domain connection through a message mechanism, so that the follow-up flow control is simplified, and the speed and the efficiency of controlling the data flow behavior by the BGP flow specification are improved.
Further, fig. 6 is a flowchart of a fifth embodiment of the BGP stream specification effective interface optimization method according to the present invention, as shown in fig. 6, and the fifth embodiment of the BGP stream specification effective 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:
and S21, creating a BGP flow specification at a non-network entry device, and taking the BGP flow specification into effect as an interface binding corresponding to the interface information by a preset flow control strategy at a network entry.
It should be noted that, creating a BGP Flow Spec Flow specification at a non-network entry device, and setting that the generated Flow control policy configuration is in effect by binding with the existing interface information at the network entry, that is, taking the BGP Flow specification as a preset Flow control policy, thereby binding the preset Flow control policy with the interface corresponding to the interface information.
And 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 is understood that the internal data mapped after binding is organized into file output stream data plane object (File Output Stream Data Plane Object, fos DPO, FDPO) data, and the FDPO data composed of the mapped internal data can be sent to a unified data management (Unified Data Management, UDM) component through a message mechanism.
And S23, acquiring SDA configuration information according to the FDPO data through a UDM component.
It should be appreciated that the UDM component may obtain service driver adaptation (Serve Driver Adaper, SDA) configuration information from the FDPO data.
According to the embodiment, by creating the BGP stream specification in the non-network entry device, the BGP stream specification is validated as the interface binding corresponding to the interface information by using the BGP stream specification as the preset flow control policy in the network entry; the internal data mapped after binding is organized into FDPO data, and the FDPO data is sent to a UDM component through a message mechanism; the SDA configuration information is obtained by the UDM component according to the FDPO data, so that the device performance can be effectively improved, hardware resources are greatly saved, conflicts with the same type of configuration can be avoided in a control plane stage, the flow control step is simplified, and the forwarding performance is improved.
Further, fig. 7 is a flowchart of a sixth embodiment of the BGP stream specification effective interface optimization method according to the present invention, as shown in fig. 7, according to the sixth embodiment of the present invention, after the step S21, the BGP stream specification effective interface optimization method further includes the following steps:
step S211, when detecting the change of BGP connection information, dynamically updating the IFM interface maintenance information and updating the interface information of the BGP flow specification configuration binding.
It should be noted that, when BGP connection information changes, interface maintenance information of an interface management module (Interface Manager Module, IFM) is dynamically updated, and interface information bound to BGP Flow Spec configuration is updated, so that BGP Flow Spec interface validation and optimization configuration based on AS domain connection port information management is realized.
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 BGP flow specification configuration is updated, so that interface optimization can be realized, forwarding performance is improved, the uniqueness of an interface between an SDN controller and communication equipment is ensured, consumption of hardware resources is reduced, and speed and efficiency of BGP flow specification control data flow behavior are improved.
Further, fig. 8 is a flowchart of a seventh embodiment of the BGP stream specification effective interface optimization method according to the present invention, as shown in fig. 8, and the seventh embodiment of the BGP stream specification effective interface optimization method according to the present invention is proposed based on the fifth embodiment, and in this embodiment, the step S23 specifically includes the following steps:
step S231, mapping, by the UDM component, the FDPO data into DDPO configuration data, and using the DDPO configuration data as SDA configuration information.
It should be appreciated that after receiving the FDPO data, the UDM component may map the FDPO data into the driver data plane object (Device Data Plane Object, DDPO) configuration data and then send the service driver adaptation (Serve Driver Adaper, SDA) configuration information to the device via a messaging mechanism.
According to the scheme, the FDPO data is mapped into the DDPO configuration data by the UDM component, and the DDPO configuration data is used as SDA configuration information, so that the device performance can be effectively improved, hardware resources are greatly saved, conflicts with the same type of configuration can be avoided in a control plane stage, the flow control step is simplified, and the forwarding performance is improved.
Correspondingly, the invention further provides a BGP stream specification effective interface optimizing device.
Referring to fig. 9, fig. 9 is a functional block diagram of a first embodiment of the BGP stream specification validate interface optimizing apparatus of the present invention.
In a first embodiment of the BGP stream specification validation interface optimization device of the present invention, the BGP stream specification validation interface optimization device includes:
the information obtaining module 10 is configured to iteratively obtain interface information of the cross-domain connection by configuring the EBGP protocol on the cross-domain network device.
And the binding module 20 is 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.
And the configuration module 30 is used for calling the API of the driver to execute the SDA configuration information so as to enable the related configuration to be effective 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-private network attribute, and iteratively query interface IP information according to the PEER-IP and the public-private network attribute; and acquiring an interface with the PEER-IP same network segment according to the interface IP information, taking the interface with the PEER-IP same network segment 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 through a message mechanism as interface information of cross-domain connection.
The information obtaining module 10 is further configured to configure and enable inter-domain EBGP, and designate an IP address of a BGP peer and an AS number to which the IP address belongs; and designating a source interface and a source address for establishing a TCP connection session between the BGP peers, and sending the source interface to an interface management module as interface information of cross-domain connection through a message mechanism.
The binding module 20 is further configured to create a BGP flow specification at a non-network ingress device, and take the BGP flow specification into effect as an interface binding corresponding to the interface information by using a preset flow control policy at a network ingress; the internal data mapped after binding is organized into FDPO data, and the FDPO data is sent to a UDM component through a message mechanism; and acquiring SDA configuration information according to the FDPO data by using a UDM component.
The binding module 20 is further configured to dynamically update IFM interface maintenance information and update interface information bound by BGP flow specification configuration when BGP connection information change is detected.
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 of implementing each functional module of the BGP stream specification effective interface optimization device may refer to each embodiment of the BGP stream specification effective interface optimization method of the present invention, which is not described herein.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium is stored with a BGP stream specification effective interface optimizing program, and the BGP stream specification effective interface optimizing program realizes the following operations when being executed by a processor:
iteratively acquiring interface information of cross-domain connection by configuring an EBGP protocol on the cross-domain network equipment and carrying out PEER-IP in PEER configuration;
binding the interface information with a preset flow control strategy, and sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component;
the 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 operations:
acquiring PEER-IP in PEER configuration by configuring an EBGP protocol 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 with the PEER-IP same network segment according to the interface IP information, taking the interface with the PEER-IP same network segment 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 operations:
and configuring a source interface and a source address of the TCP connection session of the BGP, and sending the source interface to an interface management module through a message mechanism as interface information of cross-domain connection.
Further, the BGP stream specification validation interface optimizer when executed by the processor further performs the following operations:
configuring and enabling inter-domain EBGP, and designating the IP address of the BGP peer and the AS number to which the IP address belongs;
and designating a source interface and a source address for establishing a TCP connection session between the BGP peers, and sending the source interface to an interface management module as interface information of cross-domain connection through a message mechanism.
Further, the BGP stream specification validation interface optimizer when executed by the processor further performs the following operations:
creating a BGP flow specification at a non-network inlet device, and taking the BGP flow specification into effect as interface binding corresponding to the interface information by a preset flow control strategy at a network inlet;
the internal data mapped after binding is organized into FDPO data, and the FDPO data is sent to a UDM component through a message mechanism;
and acquiring SDA configuration information according to the FDPO data by using a UDM component.
Further, the BGP stream specification validation interface optimizer when executed by the processor further performs the following operations:
and when detecting the change of BGP connection information, dynamically updating the IFM interface maintenance information and updating the interface information of the BGP flow specification configuration binding.
Further, the BGP stream specification validation interface optimizer when executed by the processor further performs the following operations:
mapping the FDPO data into DDPO configuration data by the UDM component, and taking the DDPO configuration data as SDA configuration information.
According to the scheme, PEER-IP in PEER configuration is iterated to obtain interface information of cross-domain connection through configuration of an EBGP protocol on cross-domain network equipment; binding the interface information with a preset flow control strategy, and 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 related configuration is effective on a cross-domain interface, the device performance can be effectively improved, hardware resources are greatly saved, conflicts with the same type of configuration can be avoided in a control plane stage, the flow control step is simplified, the forwarding performance is improved, the uniqueness of an interface between an SDN controller and communication equipment is ensured, the consumption of hardware resources is reduced, and the speed and the efficiency of BGP flow specification control data flow behavior are improved.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. The method for optimizing the BGP flow specification effective interface is characterized by comprising the following steps:
iteratively acquiring interface information of cross-domain connection by configuring an EBGP protocol on the cross-domain network equipment and carrying out PEER-IP in PEER configuration;
binding the interface information with a preset flow control strategy, and sending the bound internal data to a UDM component, and obtaining SDA configuration information through the UDM component;
the 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 iteratively acquiring interface information of the cross-domain connection by configuring EBGP protocol on the cross-domain network device for PEER configuration comprises:
acquiring PEER-IP in PEER configuration by configuring an EBGP protocol 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 with the PEER-IP same network segment according to the interface IP information, taking the interface with the PEER-IP same network segment 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 as claimed in claim 1, wherein before iteratively acquiring interface information of the cross-domain connection by configuring EBGP protocol on the cross-domain network device for PEER configuration, the BGP stream specification effective interface optimization method further comprises:
and configuring a source interface and a source address of the TCP connection session of the BGP, and sending the source interface to an interface management module through a message mechanism as interface information of cross-domain connection.
4. The BGP stream specification validation interface optimization method of claim 3, wherein configuring the source interface and the source address of the BGP TCP connection session, and transmitting the source interface as interface information of the cross-domain connection to the interface management module through a message mechanism, comprises:
configuring and enabling inter-domain EBGP, and designating the IP address of the BGP peer and the AS number to which the IP address belongs;
and designating a source interface and a source address for establishing a TCP connection session between the BGP peers, and sending the source interface to an interface management module as interface information of cross-domain connection 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 inlet device, and taking the BGP flow specification into effect as interface binding corresponding to the interface information by a preset flow control strategy at a network inlet;
the internal data mapped after binding is organized into FDPO data, and the FDPO data is sent to a UDM component through a message mechanism;
and acquiring SDA configuration information according to the FDPO data by using a UDM component.
6. The BGP flow specification validation interface optimization method of claim 5, wherein the creating BGP flow specification at the non-network portal device, after validating the BGP flow specification as an interface binding corresponding to the interface information by the network portal with a preset flow control policy, the BGP flow specification validation interface optimization method further comprises:
and when detecting the change of BGP connection information, dynamically updating the IFM interface maintenance information and updating the interface information of the BGP flow specification configuration binding.
7. The BGP stream specification validation interface optimization method of claim 5, wherein the obtaining SDA configuration information from the FDPO data by the UDM component comprises:
mapping the FDPO data into DDPO configuration data by the UDM component, and taking the DDPO configuration data as SDA configuration information.
8. A BGP stream specification validation interface optimization device, wherein the BGP stream specification validation interface optimization device comprises:
the information acquisition module is used for carrying out iteration on PEER-IP in PEER configuration through configuration of an EBGP protocol on the cross-domain network equipment to acquire interface information of cross-domain connection;
the binding module is used for 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 the configuration module is used for calling the API of the drive to execute the SDA configuration information so as to enable the related configuration to take effect on the cross-domain interface.
9. A BGP stream specification validation interface optimization device, wherein the BGP stream specification validation interface optimization device comprises: a memory, a processor, and a BGP stream specification validation interface optimizer stored on the memory and executable on the processor, the BGP stream specification validation interface optimizer configured to implement the BGP stream specification validation interface optimization method steps of any one of claims 1 to 7.
10. A storage medium having stored thereon a BGP stream specification validation interface optimization program which, when executed by a processor, implements the BGP stream specification validation interface optimization method steps of any one of claims 1 to 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 CN115022165A (en) 2022-09-06
CN115022165B true 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)

Families Citing this family (1)

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

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
WO2021083324A1 (en) * 2019-10-31 2021-05-06 华为技术有限公司 Information reporting method, and data processing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8230047B2 (en) * 2007-02-27 2012-07-24 Alcatel Lucent User interface system and method for inter-router protocol and transport configuration
ES2410366B1 (en) * 2011-06-10 2014-02-28 Telefónica, S.A. METHOD FOR EXCHANGING INFORMATION ON NETWORK RESOURCES
US11102053B2 (en) * 2017-12-05 2021-08-24 Cisco Technology, Inc. Cross-domain assurance
CN116319516A (en) * 2018-10-19 2023-06-23 华为技术有限公司 Secure SD-WAN port information distribution
US10855584B2 (en) * 2018-12-28 2020-12-01 Alibaba Group Holding Limited Client-equipment-peering virtual route controller

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
CN108768723A (en) * 2018-05-29 2018-11-06 北京星网锐捷网络技术有限公司 A kind of business convergence method, equipment, medium and system
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路由协议研究与仿真;熊建辉;卢宇;郑中华;;实验室研究与探索(第02期);全文 *

Also Published As

Publication number Publication date
CN115022165A (en) 2022-09-06

Similar Documents

Publication Publication Date Title
US20220239701A1 (en) Control access to domains, servers, and content
US8667574B2 (en) Assigning a network address for a virtual device to virtually extend the functionality of a network device
US7769878B2 (en) Tunneling IPv6 packets
US12010030B2 (en) FlowSpec message processing method and system, and apparatus
RU2646343C1 (en) Objects of virtual network interface
US9331910B2 (en) Methods and systems for automatic generation of routing configuration files
CN112491707B (en) Method and device for determining forwarding path
US11425028B2 (en) Priority based automated network selection for micro-services in service mesh
WO2018093615A1 (en) Flow sate transfer for live migration of virtual machine
EP3588875B1 (en) Web services across virtual routing and forwarding
US20160072705A1 (en) Method and device for processing address resolution protocol in software-defined networking environment
CN115022165B (en) BGP stream specification effective interface optimization method, device, equipment and storage medium
CA2648562A1 (en) Method for updating a virtual private network in a multi-protocol label switching network
KR20210089113A (en) A method, an apparatus, an electronic device and a storage medium for communicating between private networks
US9509600B1 (en) Methods for providing per-connection routing in a virtual environment and devices thereof
CN106789993B (en) TCP agent method and device
CN104967572A (en) Network access method, apparatus and equipment
US6970920B2 (en) Methods, systems and computer program products for communicating with unconfigured network devices on remote networks
US20110276673A1 (en) Virtually extending the functionality of a network device
US8509235B2 (en) Layer-2 packet return in proxy-router communication protocol environments
CN112929345A (en) Data transmission method, management server and industrial control firewall
US20120054339A1 (en) Terminal device and dial-up connection establishing method using the terminal device
CN103873372A (en) Domain-name-based policy routing system and setting method
US10291717B2 (en) Prioritizing VDI sessions and redirected devices in software defined networks
KR101014251B1 (en) Method for remote-controlling pc by use of internet protocol address and apparatus thereof

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