CN115720208A - Link aggregation method, device and storage medium - Google Patents

Link aggregation method, device and storage medium Download PDF

Info

Publication number
CN115720208A
CN115720208A CN202110970357.2A CN202110970357A CN115720208A CN 115720208 A CN115720208 A CN 115720208A CN 202110970357 A CN202110970357 A CN 202110970357A CN 115720208 A CN115720208 A CN 115720208A
Authority
CN
China
Prior art keywords
aggregation
forwarding
parameter information
link
network
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.)
Pending
Application number
CN202110970357.2A
Other languages
Chinese (zh)
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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN202110970357.2A priority Critical patent/CN115720208A/en
Publication of CN115720208A publication Critical patent/CN115720208A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application relates to the technical field of mobile communication, and discloses a link aggregation method, a device and a storage medium, wherein the method comprises the following steps: acquiring link parameter information; the link parameter information comprises parameter information of a link between the first forwarding equipment and the second forwarding equipment; the second forwarding device comprises a neighbor forwarding device of the first forwarding device; determining aggregation parameter information of the first forwarding equipment and the second forwarding equipment according to the link parameter information; and sending the aggregation parameter information to second network equipment, and instructing the second network equipment to control the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information. The embodiment of the application solves the problem that the network topology change causes inconsistency with a pre-configured link parameter set in the existing network.

Description

Link aggregation method, device and storage medium
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a link aggregation method, an apparatus, and a storage medium.
Background
A Software Defined Network (SDN) is a Network architecture for implementing Network virtualization, and a communication protocol OpenFlow separates a control plane and a data plane of a Network device, and implements centralized control of the Network through a centralized controller, flexibly performs on-demand Network resource allocation, provides a good platform for innovation of a core Network and application, and implements seamless combination of the application and the Network resource.
In the related art, when a User Equipment (UE) initiates session establishment, a control device selects a forwarding device of a User plane and issues a message processing logic. However, when data forwarding is performed by using an SDN forwarding device, in order to increase bandwidth and reliability, network topology information (e.g., links) between the forwarding devices may change dynamically, which may cause inconsistency with a pre-configured set of link parameters, thereby causing an abnormal situation in data forwarding.
Disclosure of Invention
Embodiments of the present application provide a link aggregation method and apparatus, and a storage medium, so as to solve a problem that, in an existing SDN network architecture, network topology information between forwarding devices changes dynamically, resulting in inconsistency with a preconfigured link parameter set.
In a first aspect, an embodiment of the present application provides a link aggregation method, which is applied to a first network device, and the method includes:
acquiring link parameter information; the link parameter information comprises parameter information of a link between the first forwarding equipment and the second forwarding equipment; the second forwarding device comprises a neighbor forwarding device of the first forwarding device;
determining aggregation parameter information of the first forwarding equipment and the second forwarding equipment according to the link parameter information;
and sending the aggregation parameter information to second network equipment, and instructing the second network equipment to control the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information.
Optionally, the first network device includes a control device, and the second network device includes a network policy management function device;
or
The first network device comprises the network policy management function device and the second network device comprises the control device.
Optionally, in case the first network device comprises the control device,
after determining the aggregation parameter information of the first forwarding device and the second forwarding device, the method further includes:
and configuring a first aggregation logic rule according to the link aggregation policy information in the aggregation parameter information, and sending the first aggregation logic rule to the first forwarding device and the second forwarding device.
Optionally, in case the first network device comprises the network policy management function device,
the sending the aggregation parameter information to a second network device, instructing the second network device to control the first forwarding device and the second forwarding device to perform link aggregation according to the aggregation parameter information, including:
and sending the aggregation parameter information to second network equipment, instructing the second network equipment to configure a second aggregation logic rule according to the aggregation parameter information, and sending the second aggregation logic rule to the first forwarding equipment and the second forwarding equipment.
Optionally, the determining, according to the link parameter information, aggregation parameter information of the first forwarding device and the second forwarding device includes:
and determining the aggregation parameter information of the first forwarding device and the second forwarding device under the condition that the network topology information between the first forwarding device and the second forwarding device is determined to be changed according to the link parameter information.
Optionally, the network topology information between the first forwarding device and the second forwarding device changes, including at least one of:
at least two links exist between the first forwarding device and the second forwarding device;
the number of links between the first forwarding device and the second forwarding device changes;
and
no link exists between the first forwarding device and the second forwarding device.
Optionally, in case the first network device comprises the network policy management function device,
after determining the aggregation parameter information of the first forwarding device and the second forwarding device, the method further includes:
receiving a user plane path establishment request, and calling the link aggregation strategy information;
generating a routing rule according to the link aggregation strategy information in the aggregation parameter information;
and sending the routing rule to the control equipment, instructing the control equipment to generate a message processing logic according to the routing rule, and calling an aggregation logic rule corresponding to the link aggregation strategy information.
Optionally, the first network device includes a preset timer;
determining aggregation parameter information of the first forwarding device and the second forwarding device according to the link parameter information includes:
and determining aggregation parameter information of the first forwarding equipment and the second forwarding equipment according to the link parameter information under the condition that the preset timer is overtime.
In a second aspect, an embodiment of the present application further provides a link aggregation method, which is applied to a second network device, and the method includes:
receiving aggregation parameter information sent by first network equipment; the aggregation parameter information comprises aggregation parameter information of the first forwarding equipment and the second network equipment; the aggregation parameter information is determined by the first network device according to the link parameter information between the first forwarding device and the second forwarding device;
and controlling the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information.
Optionally, the second network device includes a network policy management function device, and the first network device includes a control device;
or
The second network device comprises the control device and the first network device comprises the network policy management function device.
Optionally, in case the second network device comprises the control device,
the controlling, according to the aggregation parameter information, the first forwarding device and the second forwarding device to perform link aggregation includes:
and configuring a second aggregation logic rule according to the aggregation parameter information, and sending the second aggregation logic rule to the first forwarding equipment and the second forwarding equipment.
In a third aspect, an embodiment of the present application further provides a network device, where the network device is a first network device, and the network device includes:
memory, transceiver, processor:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following:
acquiring link parameter information; the link parameter information comprises parameter information of a link between the first forwarding equipment and the second forwarding equipment; the second forwarding device comprises a neighbor forwarding device of the first forwarding device;
determining aggregation parameter information of the first forwarding equipment and the second forwarding equipment according to the link parameter information;
and sending the aggregation parameter information to second network equipment, and instructing the second network equipment to control the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information.
In a fourth aspect, an embodiment of the present application further provides a network device, where the network device is a second network device, and the network device includes:
memory, transceiver, processor:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
receiving aggregation parameter information sent by first network equipment; the aggregation parameter information comprises aggregation parameter information of the first forwarding equipment and the second network equipment; the aggregation parameter information is determined by the first network device according to the link parameter information between the first forwarding device and the second forwarding device;
and controlling the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information.
In a fifth aspect, an embodiment of the present application further provides a link aggregation apparatus, which is applied to a first network device, and the apparatus includes:
the parameter acquisition module is used for acquiring link parameter information; the link parameter information comprises parameter information of a link between the first forwarding equipment and the second forwarding equipment; the second forwarding device comprises a neighbor forwarding device of the first forwarding device;
a parameter determining module, configured to determine, according to the link parameter information, aggregation parameter information of the first forwarding device and the second forwarding device;
and the parameter sending module is used for sending the aggregation parameter information to second network equipment and instructing the second network equipment to control the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information.
In a sixth aspect, an embodiment of the present application further provides a link aggregation apparatus, which is applied to a second network device, and the apparatus includes:
the information receiving module is used for receiving the aggregation parameter information sent by the first network equipment; the aggregation parameter information comprises aggregation parameter information of the first forwarding equipment and the second network equipment; the aggregation parameter information is determined by the first network device according to the link parameter information between the first forwarding device and the second forwarding device;
and the control module is used for controlling the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information.
In a seventh aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the steps in the method are implemented.
In an eighth aspect, the present application further provides a processor-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the above method.
In the embodiment of the application, link parameter information is obtained, aggregation parameter information of the first forwarding device and the second forwarding device is determined according to the link parameter information, the aggregation parameter information is sent to the second network device, the second network device is instructed to control the first forwarding device and the second forwarding device to carry out link aggregation according to the aggregation parameter information, dynamic adjustment of the aggregation parameter information according to network topology information is achieved, and link aggregation is controlled dynamically and flexibly; the mismatching with the original link parameter information after the network topology information changes is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the description of the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings may be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart of a link aggregation method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a first example provided by an embodiment of the present application;
FIG. 3 is one of schematic diagrams of a second example provided by an embodiment of the present application;
fig. 4 is a second schematic diagram of a second example provided by the embodiments of the present application;
fig. 5 is a third schematic diagram of a second example provided by the embodiment of the present application;
fig. 6 is one of schematic diagrams of a third example provided by an embodiment of the present application;
fig. 7 is a second schematic diagram of a third example provided by the embodiment of the present application;
fig. 8 is a third schematic diagram of a third example provided by the embodiment of the present application;
FIG. 9 is a schematic diagram of a fourth example provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of a fifth example provided by an embodiment of the present application;
fig. 11 is a second schematic diagram of a fifth example provided by the embodiments of the present application;
fig. 12 is a second flowchart of a link aggregation method according to an embodiment of the present application;
fig. 13 is a block diagram of a link aggregation device according to an embodiment of the present disclosure;
fig. 14 is a second block diagram of a link aggregation device according to an embodiment of the present application;
fig. 15 is a block diagram of a network device according to an embodiment of the present disclosure;
fig. 16 is a second block diagram of a network device according to an embodiment of the present invention.
Detailed Description
In the embodiment of the present application, the term "and/or" describes an association relationship of associated objects, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In the embodiments of the present application, the term "plurality" means two or more, and other terms are similar thereto.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a link aggregation method, a link aggregation device and a storage medium, which are used for dynamically adjusting aggregation parameter information according to network topology information and dynamically and flexibly controlling link aggregation.
The method and the device are based on the same application concept, and because the principles of solving the problems of the method and the device are similar, the implementation of the device and the method can be mutually referred, and repeated parts are not repeated.
In addition, the technical scheme provided by the embodiment of the application can be applied to various systems, especially 5G systems. For example, the applicable system may be a global system for mobile communication (GSM) system, a Code Division Multiple Access (CDMA) system, a Wideband Code Division Multiple Access (WCDMA) General Packet Radio Service (GPRS) system, a long term evolution (long term evolution, LTE) system, an LTE Frequency Division Duplex (FDD) system, an LTE Time Division Duplex (TDD) system, an LTE-a (long term evolution) system, a universal mobile system (universal mobile telecommunications system, UMTS), a universal internet Access (WiMAX) system, a New Radio Network (NR) system, etc. These various systems include user equipment and network equipment. The System may further include a core network portion, such as an Evolved Packet System (EPS), a 5G System (5 GS), and the like.
The user device referred to in the embodiments of the present application may refer to a device providing voice and/or data connectivity to a user, a handheld device having a wireless connection function, or other processing device connected to a wireless modem. In different systems, the names of the UEs may be different, for example, in a 5G system, the UE may be called a terminal device. Wireless user equipment, which may be mobile user equipment such as mobile telephones (or "cellular" telephones) and computers having mobile user equipment, for example, mobile devices which may be portable, pocket-sized, hand-held, computer-included or vehicle-mounted, may communicate with one or more Core Networks (CNs) via a Radio Access Network (RAN). Examples of such devices include Personal Communication Service (PCS) phones, cordless phones, session Initiation Protocol (SIP) phones, wireless Local Loop (WLL) stations, and Personal Digital Assistants (PDAs). The wireless user equipment may also be referred to as a system, a subscriber unit (subscriber unit), a subscriber station (subscriber station), a mobile station (mobile), a remote station (remote station), an access point (access point), a remote user equipment (remote), an access user equipment (access terminal), an end user equipment (user terminal), a user agent (user agent), and a user device (user device), which is not limited in this embodiment.
The network device according to the embodiment of the present application may be a base station, and the base station may include a plurality of cells for providing services to a terminal. A base station may also be called an access point, or a device in an access network that communicates over the air-interface, through one or more sectors, with wireless user devices, or by other names, depending on the particular application. The network device may be configured to interchange received air frames with Internet Protocol (IP) packets as a router between the wireless user equipment and the rest of the access network, which may include an Internet Protocol (IP) communications network. The network device may also coordinate attribute management for the air interface. For example, the network device according to the embodiment of the present application may be a Base Transceiver Station (BTS) in a Global System for Mobile communications (GSM) or a Code Division Multiple Access (CDMA), a network device (NodeB) in a Wideband Code Division Multiple Access (WCDMA), an evolved Node B (eNB) or an e-NodeB) in a Long Term Evolution (LTE) System, a 5G Base Station (gNB) in a 5G network architecture (next generation System), a Home evolved Node B (HeNB), a relay Node (relay Node), a Home Base Station (femto), a pico Base Station (pico), and the like, which are not limited in the embodiments of the present application. In some network architectures, a network device may include a Centralized Unit (CU) node and a Distributed Unit (DU) node, which may also be geographically separated.
Multiple Input Multiple Output (MIMO) transmission may be performed between the network device and the User equipment by using one or more antennas, and the MIMO transmission may be Single User MIMO (SU-MIMO) or Multi-User MIMO (MU-MIMO). According to the form and the number of the root antenna combination, the MIMO transmission can be 2D-MIMO, 3D-MIMO, FD-MIMO or massive-MIMO, and can also be diversity transmission, precoding transmission, beamforming transmission, etc.
Referring to fig. 1, an embodiment of the present application provides a link aggregation method, which is optionally applied to a first network device, where the first network device may be a control plane device or an application layer device; as a first example, referring to fig. 2, the first network device may be a network controller of a control plane, or may be a network policy management function device of an application layer. In an SDN network architecture, the control plane is separate from the forwarding plane. The control plane node, for example, a control device, is responsible for network topology information calculation, network state monitoring, path calculation, path rule generation, and the like. The forwarding plane node such as forwarding equipment is responsible for forwarding data according to the table entry in the flow table; the forwarding device may be an SDN switch supporting the Openflow protocol. Reporting unknown grouped data, reporting network state and flow statistics, issuing flow rules and the like between the control equipment and the forwarding equipment through an Openflow protocol.
In connection with fig. 1, the method may comprise the steps of:
step 101, obtaining link parameter information; the link parameter information comprises parameter information of a link between the first forwarding equipment and the second forwarding equipment; the second forwarding device comprises a neighbor forwarding device of the first forwarding device.
The second forwarding device includes a neighbor forwarding device of the first forwarding device, for example, a neighbor forwarding device is provided between the two forwarding devices. Link parameter information such as an Identifier (ID) of the first forwarding device and an Identifier (ID) of the second forwarding device, or link information between the first forwarding device and the second forwarding device, for example, a link between the first forwarding device and the second forwarding device, where multiple links may exist between the first forwarding device and the second forwarding device; and the link may be dynamically changed, such as link deletion, link addition, etc. The first network device may periodically obtain the link parameter information according to a preset period, or may obtain the link parameter information at a time when the change of the link is detected.
Optionally, as a second example, in a case that the first network device is a control device, the link parameter information may come from a forwarding device, and the forwarding device may be the first forwarding device or the second forwarding device.
As a third example, in the case that the first network device is a network policy management function device, the link parameter information may be from a control device, and the control device receives the forwarding device link parameter information and sends the forwarding device link parameter information to the network policy management function device.
Optionally, in this embodiment of the present application, the network policy Management Function device may be a Session Management Function (SMF) network element.
Step 102, determining aggregation parameter information of the first forwarding device and the second forwarding device according to the link parameter information.
After the link parameter information is determined, determining aggregation parameter information between the first forwarding device and the second forwarding device according to the link parameter information. The aggregation parameter information is used for indicating parameter information in a link aggregation process of the first forwarding device and the second forwarding device.
Specifically, link Aggregation (Link Aggregation) refers to a process of aggregating a plurality of physical ports together to form one logical port. In the link aggregation process, after the data packet is forwarded to a link aggregation Table (Table) according to an Action in an Action Set (Action Set), openFlow can present an additional forwarding mode. The link aggregation Table generally includes a link aggregation identifier (identifier), a link aggregation type (type), a counter (counter), and an action bucket (action buckets). Action buckets are an ordered list of a Set of Action buckets, each containing a Set of actions, that execute in the order of Action Set. The link aggregation types are, for example, indirect (indiect), all (all), select (select), and fast failover (fast failover). Wherein the indelect type executes one packet defined in the link aggregation, and the link aggregation only supports one packet. all types perform all buckets defined in link aggregation. The select type selects a packet in link aggregation to perform actions on the data packet according to an SDN switch selection algorithm (a user-defined hash algorithm or a round robin algorithm). The fast failover type executes the first active bucket in the link aggregation.
Step 103, sending the aggregation parameter information to a second network device, and instructing the second network device to control the first forwarding device and the second forwarding device to perform link aggregation according to the aggregation parameter information.
After the aggregation parameter information is determined, the aggregation parameter information is sent to second network equipment, and the second network equipment is instructed to conduct link aggregation on forwarding equipment (the first forwarding equipment and the second forwarding equipment) according to the aggregation parameter information so as to achieve load sharing of flow throughput at each port, the forwarding equipment determines which port a network packet is sent to the forwarding equipment of an opposite end according to a pre-configured port load sharing strategy, and link bandwidth is increased through link aggregation, and link elastic transmission is achieved.
In the embodiment of the application, link parameter information is acquired, aggregation parameter information of the first forwarding device and the second forwarding device is determined according to the link parameter information, the aggregation parameter information is sent to the second network device, the second network device is instructed to control the first forwarding device and the second forwarding device to perform link aggregation according to the aggregation parameter information, dynamic adjustment of the aggregation parameter information according to network topology information is achieved, and link aggregation is controlled dynamically and flexibly; the mismatching of the network topology information and the original link parameter information after the network topology information changes is avoided. The embodiment of the application solves the problem that the network topology change causes inconsistency with a pre-configured link parameter set in the existing network.
In an optional embodiment, the first network device comprises a control device and the second network device comprises a network policy management function device;
or
The first network device includes the network policy management function device, and the second network device includes the control device.
In the second example, the first network device is a control device, and the second network device includes a network policy management function device; in the third example, the first network device is a network policy management function device, and the second network device includes the control device.
In an optional embodiment, the link parameter information comprises: a first identification ID of the first forwarding device, a second ID of the second forwarding device, and link information between the first forwarding device and the second forwarding device. Link information is link information between the two.
In an optional embodiment, the aggregation parameter information comprises: network topology information, link aggregation policy information, and link aggregation operation information;
the network topology information includes: link information between the first forwarding device and the second forwarding device, operating state information of the first forwarding device, and operating state information of the second forwarding device; the operating state information indicates whether the corresponding forwarding device is in an operating state.
The link aggregation policy information includes: link aggregation policy information ID, a first ID of the first forwarding device, a second ID of the second forwarding device, a first aggregation port set of the first forwarding device, and a second aggregation port set of the second forwarding device; in addition, attribute parameters such as supported bandwidth for each port may also be included.
The link aggregation operation information includes at least one of: add operations, modify operations, and delete operations.
In an optional embodiment, in a case that the first network device includes the control device, that is, in the foregoing second example, after the determining the aggregation parameter information of the first forwarding device and the second forwarding device, the method further includes:
and configuring a first aggregation logic rule according to the link aggregation policy information in the aggregation parameter information, and sending the first aggregation logic rule to the first forwarding device and the second forwarding device. The first aggregation logic rule is, for example, in the form of a Group Table (Group Table), and includes parameters such as Group Identifier, group Type, and Action Buckets.
Several application scenarios of the second example will be described below in conjunction with fig. 3 to 5.
Referring to fig. 3, when the link aggregation operation information includes an addition operation, the link aggregation process mainly includes the following steps:
step 1, the forwarding device sends an information reporting request to a first network device (control device or controller).
The forwarding device may be the first forwarding device or the second forwarding device.
The forwarding device reports a forwarding device information request to the control device, and carries link parameter information. The link parameter information includes forwarding device information. Such as forwarding device ID, neighbor forwarding device ID, link information with its neighbor forwarding devices, and operational status information of the forwarding devices.
And 2, the control equipment generates or updates network topology information and generates link aggregation strategy information.
And the control equipment generates or updates network topology information according to the link parameter information and determines or generates a link aggregation strategy. Specifically, when a plurality of links exist between a first forwarding device and a neighboring second forwarding device, the control device generates link aggregation policy information according to a first forwarding device ID, a second forwarding device ID, and a port set linked by the first forwarding device and the second forwarding device; the link aggregation policy information includes a link aggregation policy ID, a first forwarding device ID, a second forwarding device ID, a first forwarding device aggregation port set, a second forwarding device aggregation port set, and port attributes such as bandwidth.
Then, a first aggregation logic rule corresponding to the link aggregation policy is generated: the first aggregation logic rule comprises parameters such as an aggregation logic rule ID, an aggregation type, a data forwarding action and the like. For the SDN forwarding device, the aggregation logic rule is a Group Table, and the aggregation logic rule includes parameters such as a Group Identifier, a Group Type, and Action packets.
And 3, the control equipment sends a first aggregation logic rule to the first forwarding equipment and the second forwarding equipment, wherein the link aggregation operation information of the aggregation logic rule is added.
And 4, after the forwarding equipment successfully configures the first aggregation logic rule, sending a link aggregation strategy configuration response to the control equipment.
Step 5, the control device sends a link aggregation policy information report request to a second network device (network policy management function device), and the request message carries: network topology information, link aggregation policy action: and (4) adding.
The network topology information comprises forwarding equipment ID, link relation among the forwarding equipment and the working state information of the forwarding equipment.
And 6, the network policy management function device stores the link aggregation policy information, establishes or updates network topology information, and sends a response to the control device.
Referring to fig. 4, when the link aggregation operation information includes the modification operation, the link aggregation process mainly includes the following steps:
step 1, the forwarding device sends an information reporting request to a first network device (control device or controller).
The forwarding device may be the first forwarding device or the second forwarding device.
And the forwarding equipment reports a forwarding equipment information request to the control equipment, and carries link parameter information. The link parameter information includes forwarding device information. Such as forwarding device ID, neighbor forwarding device ID, link information with its neighbor forwarding devices, and operational status information of the forwarding devices.
And 2, the control equipment updates the network topology information and determines to modify the link aggregation strategy information.
And the control equipment updates the network topology information according to the link parameter information and determines to modify the link aggregation strategy. Specifically, when the number of links between a first forwarding device and a neighboring second forwarding device changes, the control device updates link aggregation policy information according to a first forwarding device ID, a second forwarding device ID, and a port set linked to the first forwarding device and the second forwarding device; the link aggregation policy information includes a link aggregation policy ID (ID before update), a first forwarding device ID, a second forwarding device ID, a first forwarding device aggregation port set, a second forwarding device aggregation port set, a port attribute such as bandwidth.
Then, a first aggregation logic rule corresponding to the link aggregation policy is generated: the first aggregation logic rule comprises parameters such as an aggregation logic rule ID, an aggregation type, a data forwarding action and the like. For the SDN forwarding device, the aggregation logic rule is a Group Table, and includes parameters such as a Group Identifier (which may be consistent with an ID before update), a Group Type (which may be consistent with a Type before update), and an Action packet.
And 3, the control equipment sends the first aggregation logic rule to the first forwarding equipment and the second forwarding equipment, and the link aggregation operation information of the aggregation logic rule is modified.
And 4, after the forwarding equipment successfully configures the first aggregation logic rule, sending a link aggregation strategy configuration response to the control equipment.
Step 5, the control device sends a report request of the link aggregation policy information to a second network device (network policy management function device), and the request message carries: network topology information, link aggregation policies, link aggregation policy actions as modifications.
The network topology information includes forwarding device ID, link relation between forwarding devices, and forwarding device working state information.
And step 6, the network policy management function device stores the link aggregation policy information, establishes or updates network topology information, and sends a response to the control device.
Referring to fig. 5, when the link aggregation operation information includes a deletion operation, the link aggregation process mainly includes the following steps:
step 1, the forwarding device sends an information reporting request to a first network device (control device or controller).
The forwarding device may be the first forwarding device or the second forwarding device.
The forwarding device reports a forwarding device information request to the control device, and carries link parameter information. The link parameter information includes forwarding device information. Such as forwarding device ID, neighbor forwarding device ID, link information with its neighbor forwarding devices, and operational status information of the forwarding devices.
And step 2, the control equipment updates the network topology information and determines to delete the link aggregation strategy information.
When no link exists between the first forwarding equipment and the neighboring second forwarding equipment, determining to delete the corresponding link aggregation strategy according to the ID of the first forwarding equipment and the ID of the second forwarding equipment; and simultaneously determining to delete the configured corresponding aggregation logic rule of the forwarding equipment.
And 3, the control equipment sends a request for deleting the aggregation logic rule to the first forwarding equipment and the second forwarding equipment, wherein the link aggregation operation information of the aggregation logic rule is deleted. For the SDN forwarding device, the carried information is the Group Identifier of the Group Table.
And 4, after the forwarding equipment successfully deletes the aggregation logic rule, sending a deletion response to the control equipment.
Step 5, the control device sends a link aggregation policy information deletion request to a second network device (network policy management function device), where the request message carries: the network topology information, the link aggregation policy action are deleted.
The network topology information includes forwarding device ID, link relation between forwarding devices, and forwarding device working state information.
And 6, the network policy management function device deletes the corresponding link aggregation policy information and updates the network topology information, and sends a response to the control device.
In an alternative embodiment, in case the first network device comprises the network policy management function device,
the sending the aggregation parameter information to a second network device, instructing the second network device to control the first forwarding device and the second forwarding device to perform link aggregation according to the aggregation parameter information, including:
and sending the aggregation parameter information to second network equipment, instructing the second network equipment to configure a second aggregation logic rule according to the aggregation parameter information, and sending the second aggregation logic rule to the first forwarding equipment and the second forwarding equipment. The second network device is, for example, a control device, and the second aggregation logic rule is, for example, in the form of a Group Table (Group Table), and includes parameters such as Group Identifier, group Type, and Action packets.
Several application scenarios of the third example will be described below in conjunction with fig. 6 to 8.
Referring to fig. 6, when the link aggregation operation information includes an addition operation, the link aggregation process mainly includes the following steps:
step 1, the forwarding device sends an information reporting request to a second network device (control device or controller).
The forwarding device may be the first forwarding device or the second forwarding device.
The forwarding device reports a forwarding device information request to the control device, and carries link parameter information. The link parameter information includes forwarding device information, such as forwarding device ID, neighbor forwarding device ID, link information with its neighbor forwarding device, and operating status information of the forwarding device.
And 2, the control equipment generates or updates network topology information.
And 3, the control equipment sends a topology information report request to the first network equipment (network policy management function equipment), and the carried information is the ID of the forwarding equipment, the link relation among the forwarding equipment and the working state information of the forwarding equipment.
And 4, the network policy management function device establishes (generates) or updates the network topology information and determines to generate the link aggregation policy information.
When a plurality of links exist between a first forwarding device and a neighboring second forwarding device, a network policy management function device generates link aggregation policy information according to a first forwarding device ID, a second forwarding device ID, and a port set linked with the first forwarding device and the second forwarding device; the link aggregation policy information includes a link aggregation policy ID, a first forwarding device ID, a second forwarding device ID, a first forwarding device aggregation port set, a second forwarding device aggregation port set, and port attributes such as bandwidth.
Step 5, the network policy management function device sends a request for establishing link aggregation policy information (or an aggregation policy information generation request) to a second network device (control device), and carries the link aggregation policy information and the link aggregation operation information: and (4) adding.
And 6, the control equipment generates a second aggregation logic rule of the first forwarding equipment and the second forwarding equipment according to the received link aggregation strategy information, and sends the second aggregation logic rule to the forwarding equipment.
The second aggregation logic rule includes an aggregation logic rule ID, an aggregation type, a data forwarding action, and the like, and the link aggregation operation information is added.
For the SDN forwarding device, the aggregation logic rule is a Group Table, and includes parameters such as a Group Identifier, a Group Type, and an Action bucket. And then, the control equipment issues the updated aggregation logic rule to the first forwarding equipment and the second forwarding equipment, wherein the link aggregation operation information is added.
And 7, after the forwarding equipment is successfully configured with the second aggregation logic rule, sending a response to the control equipment.
And 8, the control equipment sends a report message of successful configuration of the link aggregation strategy information to the network strategy management function equipment.
Referring to fig. 7, when the link aggregation operation information includes a modification operation, the link aggregation process mainly includes the following steps:
step 1, the forwarding device sends an information reporting request to a second network device (control device or controller).
The forwarding device may be the first forwarding device or the second forwarding device.
The forwarding device reports a forwarding device information request to the control device, and carries link parameter information. The link parameter information includes forwarding device information, such as forwarding device ID, neighbor forwarding device ID, link information with its neighbor forwarding device, and operating status information of the forwarding device.
And 2, the control equipment generates or updates network topology information.
And 3, the control equipment sends a topology information report request to the first network equipment (network policy management function equipment), and the carried information is the ID of the forwarding equipment, the link relation among the forwarding equipment and the working state information of the forwarding equipment.
And 4, the network policy management function device establishes or updates network topology information and determines to generate link aggregation policy information.
When a plurality of links exist between a first forwarding device and a neighboring second forwarding device, a network policy management function device generates link aggregation policy information according to a first forwarding device ID, a second forwarding device ID, and a port set linked with the first forwarding device and the second forwarding device; the link aggregation policy information includes a link aggregation policy ID, a first forwarding device ID, a second forwarding device ID, a first forwarding device aggregation port set, a second forwarding device aggregation port set, and port attributes such as bandwidth.
Step 5, the network policy management function device sends a request for establishing a link aggregation policy information to a second network device (control device), and the request carries the link aggregation policy information and the link aggregation operation information: and (5) modifying.
And 6, the control equipment generates a second aggregation logic rule of the first forwarding equipment and the second forwarding equipment according to the received link aggregation strategy information, and sends the second aggregation logic rule to the forwarding equipment.
The second aggregation logic rule includes an aggregation logic rule ID, an aggregation type, a data forwarding action, and the like, and the link aggregation operation information is modified.
For the SDN forwarding device, the aggregation logic rule is a Group Table, and the aggregation logic rule includes parameters such as a Group Identifier, a Group Type, and Action packets. Then, the control device issues the updated aggregation logic rule to the first forwarding device and the second forwarding device, and the link aggregation operation information is modified.
And 7, after the forwarding equipment is successfully configured with the second aggregation logic rule, sending a response to the control equipment.
And 8, the control equipment sends a report message of successful configuration of the link aggregation strategy information to the network strategy management function equipment.
Referring to fig. 8, when the link aggregation operation information includes a deletion operation, the link aggregation process mainly includes the following steps:
step 1, the forwarding device sends an information reporting request to a second network device (control device or controller).
The forwarding device may be the first forwarding device or the second forwarding device.
The forwarding device reports a forwarding device information request to the control device, and carries link parameter information. The link parameter information includes forwarding device information, such as forwarding device ID, neighbor forwarding device ID, link information with its neighbor forwarding device, and operating status information of the forwarding device.
And 2, the control equipment generates or updates network topology information.
And 3, the control equipment sends a topology information report request to the first network equipment (network policy management function equipment), and the carried information is the ID of the forwarding equipment, the link relation among the forwarding equipment and the working state information of the forwarding equipment.
And 4, the network policy management function device establishes or updates network topology information and determines to delete the link aggregation policy information.
And when no link exists between the first forwarding equipment and the neighbor second forwarding equipment, determining to delete the corresponding link aggregation strategy information according to the ID of the first forwarding equipment and the ID of the second forwarding equipment.
Step 5, the network policy management function device sends a request for deleting the link aggregation policy information to a second network device (control device), and the request carries the link aggregation policy information and the link aggregation operation information: and (5) deleting.
And 6, the control equipment deletes the aggregation logic rules of the first forwarding equipment and the second forwarding equipment according to the received link aggregation strategy information, and sends the aggregation logic rules to the forwarding equipment.
For the SDN forwarding device, the aggregation logic rule is a Group Table, and the aggregation logic rule includes parameters such as a Group Identifier, a Group Type, and Action packets.
And 7, the forwarding equipment sends a response to the control equipment after deleting the aggregation logic rule successfully.
And 8, the control equipment sends a link aggregation strategy information deletion success report message to the network strategy management function equipment.
In an optional embodiment, the determining aggregation parameter information of the first forwarding device and the second forwarding device according to the link parameter information includes:
and determining aggregation parameter information of the first forwarding device and the second forwarding device under the condition that the network topology information between the first forwarding device and the second forwarding device is determined to be changed according to the link parameter information. Optionally, the network topology information between the first forwarding device and the second forwarding device changes, including at least one of:
at least two links exist between the first forwarding device and the second forwarding device; namely, a plurality of links exist between forwarding devices;
the number of links between the first forwarding device and the second forwarding device changes; such as link increase or decrease;
and
no link exists between the first forwarding device and the second forwarding device.
When the network topology information changes dynamically, the aggregation parameter information is dynamically adjusted according to the network topology information, link aggregation is dynamically and flexibly controlled, and mismatching with the original link parameter information after the network topology information changes is avoided.
In an alternative embodiment, in case the first network device comprises the network policy management function device,
after determining the aggregation parameter information of the first forwarding device and the second forwarding device, the method further includes:
receiving a user plane path establishment request, and calling the link aggregation strategy information;
generating a routing rule according to the link aggregation strategy information in the aggregation parameter information;
and sending the routing rule to the control equipment, instructing the control equipment to generate message processing logic according to the routing rule, and calling an aggregation logic rule corresponding to the link aggregation strategy information.
Because the generation and the configuration of the aggregation logic rules are adaptive to the change of network topology information, when a path is established on a user plane, link aggregation strategy information is directly called, so that the time delay is reduced; as a fourth example, referring to fig. 9, a process of invoking the link aggregation policy information is shown in fig. 9, and mainly includes the following steps:
step 1, a first network device (network policy management function device) receives a user plane path establishment request.
And 2, the network policy management function device selects a user plane, determines and calls link aggregation policy information, generates a routing rule and the like.
And 3, the network policy management function device sends a routing rule configuration request to the control device.
And 4, the control equipment generates message processing logic according to the routing rule and calls an aggregation logic rule corresponding to the configured link aggregation strategy information of the forwarding equipment. For the SDN network, the control device generates a flow table configured by the SDN switch, and the action domain of the flow table is a Group Identifier.
And 5, the forwarding equipment performs message processing logic configuration and sends a response to the control equipment after the message processing logic configuration is successful.
And 6, the control equipment sends a routing rule configuration success response to the network policy management function equipment.
In an optional embodiment, the first network device comprises a preset timer;
determining aggregation parameter information of the first forwarding device and the second forwarding device according to the link parameter information includes:
and determining aggregation parameter information of the first forwarding equipment and the second forwarding equipment according to the link parameter information under the condition that the preset timer is overtime.
The preset timer is used for preventing the link from generating an intermittent phenomenon due to physical reasons or misoperation and other events caused by other reasons. The timing value of the preset timer can be set according to the actual operation condition. And determining the aggregation parameter information under the condition that the preset timer is overtime.
As a fifth example, in the application scenario of the foregoing second example, a scenario in which the control device starts the timer is shown in fig. 10; in step 2, the control device starts a timer to determine whether to modify or delete the link aggregation policy information: when the timer is overtime, the control equipment determines to modify or delete the link aggregation strategy information according to the topology change; when the timer is not timed out, the control device does not act. Other steps refer to the foregoing embodiments, and are not described herein again.
In the application scenario of the foregoing second example, a scenario in which the network policy management function device starts a timer is shown in fig. 11; in step 4, the network policy management function device starts a timer to determine whether to modify or delete the link aggregation policy information: when the timer is overtime, the network policy management function device determines to modify or delete the link aggregation policy information according to the topology change; when the timer is not overtime, the network policy management function device does not act. Other steps refer to the foregoing embodiments, and are not described herein again.
In the embodiment of the application, link parameter information is acquired, aggregation parameter information of the first forwarding device and the second forwarding device is determined according to the link parameter information, the aggregation parameter information is sent to the second network device, the second network device is instructed to control the first forwarding device and the second forwarding device to perform link aggregation according to the aggregation parameter information, dynamic adjustment of the aggregation parameter information according to network topology information is achieved, and link aggregation is controlled dynamically and flexibly; the mismatching of the network topology information and the original link parameter information after the network topology information changes is avoided. The embodiment of the application solves the problem that the network topology change causes inconsistency with a pre-configured link parameter set in the existing network.
Referring to fig. 12, an embodiment of the present application further provides a link aggregation method, which is optionally applied to a second network device, where the second network device may be a control plane device or an application layer device; as a first example, referring to fig. 2, the second network device may be a network controller of a control plane, or may be a network policy management function device of an application layer. In SDN network architectures, the control plane is separate from the forwarding plane. The control plane node, for example, a control device, is responsible for network topology information calculation, network state monitoring, path calculation, path rule generation, and the like. The forwarding plane node such as forwarding equipment is responsible for forwarding data according to the table entry in the flow table; the forwarding device may be an SDN switch supporting the Openflow protocol. Reporting unknown grouped data, reporting network state and flow statistics, issuing flow rules and the like between the control equipment and the forwarding equipment through an Openflow protocol.
The method comprises the following steps:
step 1201, receiving aggregation parameter information sent by a first network device; the aggregation parameter information comprises aggregation parameter information of the first forwarding equipment and the second network equipment; the aggregation parameter information is determined by the first network device according to the link parameter information between the first forwarding device and the second forwarding device.
The second forwarding device includes a neighbor forwarding device of the first forwarding device, for example, a neighbor forwarding device is provided between the two forwarding devices. The aggregation parameter information is determined by the first network equipment according to the link parameter information between the first forwarding equipment and the second forwarding equipment; link parameter information such as an Identifier (ID) of the first forwarding device and an Identifier (ID) of the second forwarding device, or link information between the first forwarding device and the second forwarding device, for example, a link between the first forwarding device and the second forwarding device, where multiple links may exist between the first forwarding device and the second forwarding device; and the link may be dynamically changed, such as link deletion, link addition, etc. The first network device may periodically obtain the link parameter information according to a preset period, or may obtain the link parameter information at a time when the change of the link is detected.
Optionally, as a second example, in a case that the first network device is a control device, the link parameter information may come from a forwarding device, and the forwarding device may be the first forwarding device or the second forwarding device.
As a third example, in the case that the first network device is a network policy management function device, the link parameter information may be from a control device, and the control device receives the forwarding device link parameter information and sends the forwarding device link parameter information to the network policy management function device.
Optionally, in this embodiment of the present application, the network policy Management Function device may be a Session Management Function (SMF) network element.
Step 1202, controlling the first forwarding device and the second forwarding device to perform link aggregation according to the aggregation parameter information.
Link Aggregation (Link Aggregation) refers to a process of aggregating a plurality of physical ports together to form one logical port. In the link aggregation process, after the data packet is forwarded to a link aggregation Table (Table) according to an Action in an Action Set (Action Set), openFlow can present an additional forwarding mode. The link aggregation Table generally includes a link aggregation identifier (identifier), a link aggregation type (type), a counter (counter), and an action bucket (action buckets). Action buckets are an ordered list of a Set of Action buckets, each containing a Set of actions, that execute in the order of Action Set. The link aggregation types are, for example, indirect (indiect), all (all), select (select), and fast failover (fast failover). Wherein the indelect type executes one packet defined in the link aggregation, and the link aggregation only supports one packet. all types perform all buckets defined in the link aggregation. The select type selects a packet in link aggregation to perform actions on the data packet according to an SDN switch selection algorithm (a user-defined hash algorithm or a round robin algorithm). The fast failover type executes the first active bucket in the link aggregation.
And the second network equipment performs link aggregation on forwarding equipment (the first forwarding equipment and the second forwarding equipment) according to the aggregation parameter information so as to realize load sharing of flow throughput at each port, the forwarding equipment determines which port a network packet is sent to the forwarding equipment of the opposite end according to a pre-configured port load sharing strategy, and link bandwidth is increased and link elastic transmission is realized through link aggregation.
In an optional embodiment, the second network device comprises a network policy management function device, and the first network device comprises a control device;
or
The second network device comprises the control device and the first network device comprises the network policy management function device.
In the second example, the first network device is a control device, and the second network device includes a network policy management function device; in the third example, the first network device is a network policy management function device, and the second network device includes the control device.
In an optional embodiment, the aggregation parameter information comprises: network topology information, link aggregation policy information, and link aggregation operation information;
the network topology information includes: link information between the first forwarding device and the second forwarding device, working state information of the first forwarding device, and working state information of the second forwarding device; the operating state information indicates whether the corresponding forwarding device is in an operating state.
The link aggregation policy information includes: link aggregation policy information ID, a first ID of the first forwarding device, a second ID of the second forwarding device, a first aggregation port set of the first forwarding device, and a second aggregation port set of the second forwarding device; in addition, attribute parameters such as supported bandwidth for each port may also be included.
The link aggregation operation information includes at least one of: add operations, modify operations, and delete operations.
In an alternative embodiment, in case the second network device comprises the control device,
the controlling the first forwarding device and the second forwarding device to perform link aggregation according to the aggregation parameter information includes:
and configuring a second aggregation logic rule according to the aggregation parameter information, and sending the second aggregation logic rule to the first forwarding equipment and the second forwarding equipment. The second network device is, for example, a control device, and the second aggregation logic rule is, for example, in the form of a Group Table (Group Table), and includes parameters such as Group Identifier, group Type, and Action packets.
In this embodiment of the application, the second network device further executes each process executed by the second network device in each application scenario in fig. 3 to fig. 11, and for avoiding repetition, details are not repeated here.
In the embodiment of the application, aggregation parameter information sent by a first network device is received, and link aggregation is performed between the first forwarding device and the second forwarding device according to the aggregation parameter information; the aggregation parameter information is determined according to the link parameter information between the first forwarding equipment and the second forwarding equipment, so that the aggregation parameter information is dynamically adjusted according to the network topology information, and link aggregation is dynamically and flexibly controlled; the mismatching with the original link parameter information after the network topology information changes is avoided. The method and the device solve the problem that the network topology change causes inconsistency with a pre-configured link parameter set in the existing network.
Based on the link aggregation method provided in the foregoing embodiment, an embodiment of the present application further provides a link aggregation apparatus, which is applied to a first network device, and with reference to fig. 13, the apparatus includes:
a parameter obtaining module 1301, configured to obtain link parameter information; the link parameter information comprises parameter information of a link between the first forwarding equipment and the second forwarding equipment; the second forwarding device comprises a neighbor forwarding device of the first forwarding device;
a parameter determining module 1302, configured to determine, according to the link parameter information, aggregation parameter information of the first forwarding device and the second forwarding device;
a parameter sending module 1303, configured to send the aggregation parameter information to a second network device, and instruct the second network device to control the first forwarding device and the second forwarding device to perform link aggregation according to the aggregation parameter information.
Optionally, in this embodiment of the present application, the first network device includes a control device, and the second network device includes a network policy management function device;
or
The first network device includes the network policy management function device, and the second network device includes the control device.
Optionally, in this embodiment of the present application, the link parameter information includes: a first identification ID of the first forwarding device, a second ID of the second forwarding device, and link information between the first forwarding device and the second forwarding device.
Optionally, in an embodiment of the present application, the aggregation parameter information includes: network topology information, link aggregation policy information, and link aggregation operation information;
the network topology information includes: link information between the first forwarding device and the second forwarding device, working state information of the first forwarding device, and working state information of the second forwarding device;
the link aggregation policy information includes: link aggregation policy information ID, a first ID of the first forwarding device, a second ID of the second forwarding device, a first aggregation port set of the first forwarding device, and a second aggregation port set of the second forwarding device;
the link aggregation operation information includes at least one of: add operations, modify operations, and delete operations.
Optionally, in this embodiment of the application, in a case that the first network device includes the control device,
the device further comprises:
and a parameter configuration module, configured to configure a first aggregation logic rule according to the link aggregation policy information in the aggregation parameter information, and send the first aggregation logic rule to the first forwarding device and the second forwarding device.
Optionally, in this embodiment of the application, the parameter sending module 1303 includes:
and the first sending submodule is used for sending the aggregation parameter information to second network equipment under the condition that the first network equipment comprises the network policy management function equipment, indicating the second network equipment to configure a second aggregation logic rule according to the aggregation parameter information, and sending the second aggregation logic rule to the first forwarding equipment and the second forwarding equipment.
Optionally, in this embodiment of the present application, the parameter determining module 1302 includes:
a first determining submodule, configured to determine aggregation parameter information of the first forwarding device and the second forwarding device when it is determined that network topology information between the first forwarding device and the second forwarding device changes according to the link parameter information.
Optionally, in this embodiment of the application, the change of the network topology information between the first forwarding device and the second forwarding device includes at least one of the following:
at least two links exist between the first forwarding device and the second forwarding device;
the number of links between the first forwarding device and the second forwarding device changes;
and
there is no link between the first forwarding device and the second forwarding device.
Optionally, in an embodiment of the present application, the apparatus further includes:
a calling module, configured to receive a user plane path establishment request and call the link aggregation policy information when the first network device includes the network policy management function device;
generating a routing rule according to the link aggregation strategy information in the aggregation parameter information;
and sending the routing rule to the control equipment, instructing the control equipment to generate a message processing logic according to the routing rule, and calling an aggregation logic rule corresponding to the link aggregation strategy information.
Optionally, in this embodiment of the present application, the first network device includes a preset timer;
the parameter determining module 1302 includes:
and a second determining submodule, configured to determine, according to the link parameter information, aggregation parameter information of the first forwarding device and the second forwarding device when the preset timer is overtime.
In this embodiment of the present application, a parameter obtaining module 1301 obtains link parameter information, a parameter determining module 1302 determines aggregation parameter information of the first forwarding device and the second forwarding device according to the link parameter information, and a parameter sending module 1303 sends the aggregation parameter information to a second network device, and instructs the second network device to control the first forwarding device and the second forwarding device to perform link aggregation according to the aggregation parameter information, so as to dynamically adjust the aggregation parameter information according to network topology information, and dynamically and flexibly control link aggregation; the mismatching of the network topology information and the original link parameter information after the network topology information changes is avoided. The embodiment of the application solves the problem that the network topology change causes inconsistency with a pre-configured link parameter set in the existing network.
Based on the link aggregation method provided in the foregoing embodiment, an embodiment of the present application further provides a link aggregation apparatus, which is applied to a second network device, and referring to fig. 14, the apparatus includes:
an information receiving module 1401, configured to receive aggregation parameter information sent by a first network device; the aggregation parameter information comprises aggregation parameter information of the first forwarding equipment and the second network equipment; the aggregation parameter information is determined by the first network device according to the link parameter information between the first forwarding device and the second forwarding device;
a control module 1402, configured to control the first forwarding device and the second forwarding device to perform link aggregation according to the aggregation parameter information.
Optionally, in this embodiment of the present application, the second network device includes a network policy management function device, and the first network device includes a control device;
or
The second network device comprises the control device and the first network device comprises the network policy management function device.
Optionally, in an embodiment of the present application, the aggregation parameter information includes: network topology information, link aggregation policy information, and link aggregation operation information;
the network topology information includes: link information between the first forwarding device and the second forwarding device, operating state information of the first forwarding device, and operating state information of the second forwarding device;
the link aggregation policy information includes: link aggregation policy information ID, a first ID of the first forwarding device, a second ID of the second forwarding device, a first aggregation port set of the first forwarding device, and a second aggregation port set of the second forwarding device;
the link aggregation operation information includes at least one of: add operations, modify operations, and delete operations.
Optionally, in this embodiment of the present application, the control module 1402 is configured to:
and under the condition that the second network equipment comprises the control equipment, configuring a second aggregation logic rule according to the aggregation parameter information, and sending the second aggregation logic rule to the first forwarding equipment and the second forwarding equipment.
In this embodiment of the present application, an information receiving module 1401 receives aggregation parameter information sent by a first network device, and according to the aggregation parameter information, a control module 1402 controls the first forwarding device and the second forwarding device to perform link aggregation; the aggregation parameter information is determined according to the link parameter information between the first forwarding equipment and the second forwarding equipment, so that the aggregation parameter information is dynamically adjusted according to the network topology information, and link aggregation is dynamically and flexibly controlled; the mismatching of the network topology information and the original link parameter information after the network topology information changes is avoided. The embodiment of the application solves the problem that the network topology change causes inconsistency with a pre-configured link parameter set in the existing network.
The link aggregation device provided in the embodiment of the present application can implement each process implemented in the method embodiments of fig. 1 to fig. 12, and is not described here again to avoid repetition.
It should be noted that, in the embodiment of the present application, the division of the module (unit) is schematic, and is only one logic function division, and there may be another division manner in actual implementation. In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented as a software functional module and sold or used as a stand-alone product, may be stored in a processor readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that the apparatus provided in the embodiment of the present application can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
As shown in fig. 15, embodiments of the present application further provide a network device, which is a first network device, including a memory 1520, a transceiver 1540, and a processor 1510;
a memory 1520 for storing a computer program;
a transceiver 1540 for receiving and transmitting data under the control of the processor 1510;
a processor 1510 for reading the computer program in the memory 1520 and performing the following operations:
acquiring link parameter information; the link parameter information comprises parameter information of a link between the first forwarding equipment and the second forwarding equipment; the second forwarding device comprises a neighbor forwarding device of the first forwarding device;
determining aggregation parameter information of the first forwarding device and the second forwarding device according to the link parameter information;
and sending the aggregation parameter information to second network equipment, and instructing the second network equipment to control the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information.
Optionally, in this embodiment of the present application, the first network device includes a control device, and the second network device includes a network policy management function device;
or
The first network device includes the network policy management function device, and the second network device includes the control device.
Optionally, in this embodiment of the present application, the link parameter information includes: a first identification ID of the first forwarding device, a second ID of the second forwarding device, and link information between the first forwarding device and the second forwarding device.
Optionally, in an embodiment of the present application, the aggregation parameter information includes: network topology information, link aggregation policy information, and link aggregation operation information;
the network topology information includes: link information between the first forwarding device and the second forwarding device, working state information of the first forwarding device, and working state information of the second forwarding device;
the link aggregation policy information includes: link aggregation policy information ID, a first ID of the first forwarding device, a second ID of the second forwarding device, a first aggregation port set of the first forwarding device, and a second aggregation port set of the second forwarding device;
the link aggregation operation information includes at least one of: add operations, modify operations, and delete operations.
Optionally, in this embodiment of the application, in the case that the first network device includes the control device,
after determining the aggregation parameter information of the first forwarding device and the second forwarding device, the method further includes:
and configuring a first aggregation logic rule according to the link aggregation policy information in the aggregation parameter information, and sending the first aggregation logic rule to the first forwarding device and the second forwarding device.
Optionally, in this embodiment of the application, in a case that the first network device includes the network policy management function device,
the sending the aggregation parameter information to a second network device, instructing the second network device to control the first forwarding device and the second forwarding device to perform link aggregation according to the aggregation parameter information, including:
and sending the aggregation parameter information to second network equipment, instructing the second network equipment to configure a second aggregation logic rule according to the aggregation parameter information, and sending the second aggregation logic rule to the first forwarding equipment and the second forwarding equipment.
Optionally, in this embodiment of the present application, the determining, according to the link parameter information, aggregation parameter information of the first forwarding device and the second forwarding device includes:
and determining aggregation parameter information of the first forwarding device and the second forwarding device under the condition that the network topology information between the first forwarding device and the second forwarding device is determined to be changed according to the link parameter information.
Optionally, in this embodiment of the application, the change of the network topology information between the first forwarding device and the second forwarding device includes at least one of the following:
at least two links exist between the first forwarding device and the second forwarding device;
the number of links between the first forwarding device and the second forwarding device changes;
and
there is no link between the first forwarding device and the second forwarding device.
Optionally, in this embodiment of the application, in a case that the first network device includes the network policy management function device,
after determining the aggregation parameter information of the first forwarding device and the second forwarding device, the method further includes:
receiving a user plane path establishment request, and calling the link aggregation strategy information;
generating a routing rule according to the link aggregation strategy information in the aggregation parameter information;
and sending the routing rule to the control equipment, instructing the control equipment to generate a message processing logic according to the routing rule, and calling an aggregation logic rule corresponding to the link aggregation strategy information.
Optionally, in this embodiment of the present application, the first network device includes a preset timer;
determining aggregation parameter information of the first forwarding device and the second forwarding device according to the link parameter information includes:
and determining the aggregation parameter information of the first forwarding equipment and the second forwarding equipment according to the link parameter information under the condition that the preset timer is overtime.
In fig. 15, among other things, the bus architecture may include any number of interconnected buses and bridges, with one or more of the processor 1510, represented by the processor 1510, being linked together with various circuits of the memory 1520, represented by the memory 1520. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. Bus interface 1530 provides an interface. The transceiver 1540 can be any of a number of components, including transmitters and receivers, providing a means for communicating with various other apparatus over a transmission medium including wireless channels, wired channels, fiber optic cables, and the like. The processor 1510 is responsible for managing the bus architecture and general processing, and the memory 1520 may store data used by the processor 1510 in performing operations.
The processor 1510 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or a Complex Programmable Logic Device (CPLD), and the processor 1510 may also adopt a multi-core architecture.
The processor 1510 is configured to execute any of the methods provided by the embodiments of the present application by calling the computer program stored in the memory 1520 according to the obtained executable instructions. The processor 1510 and the memory 1520 may also be physically separated.
As shown in fig. 16, embodiments of the present application further provide a network device, which is a second network device, comprising a memory 1620, a transceiver 1640, a processor 1610;
a memory 1620 for storing computer programs;
a transceiver 1640 for receiving and transmitting data under control of the processor 1610;
a processor 1610 configured to read the computer program in the memory 1620 and execute the following operations:
receiving aggregation parameter information sent by first network equipment; the aggregation parameter information comprises aggregation parameter information of the first forwarding equipment and the second network equipment; the aggregation parameter information is determined by the first network device according to the link parameter information between the first forwarding device and the second forwarding device;
and controlling the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information.
Optionally, in this embodiment of the present application, the second network device includes a network policy management function device, and the first network device includes a control device;
or
The second network device comprises the control device and the first network device comprises the network policy management function device.
Optionally, in an embodiment of the present application, the aggregation parameter information includes: network topology information, link aggregation policy information, and link aggregation operation information;
the network topology information includes: link information between the first forwarding device and the second forwarding device, working state information of the first forwarding device, and working state information of the second forwarding device;
the link aggregation policy information includes: link aggregation policy information ID, a first ID of the first forwarding device, a second ID of the second forwarding device, a first aggregation port set of the first forwarding device, and a second aggregation port set of the second forwarding device;
the link aggregation operation information includes at least one of: add operations, modify operations, and delete operations.
Optionally, in this embodiment of the application, in the case that the second network device includes the control device,
the controlling, according to the aggregation parameter information, the first forwarding device and the second forwarding device to perform link aggregation includes:
and configuring a second aggregation logic rule according to the aggregation parameter information, and sending the second aggregation logic rule to the first forwarding equipment and the second forwarding equipment.
In fig. 16, among other things, the bus architecture may include any number of interconnected buses and bridges, with one or more processors 1610 represented by a processor 1610 and various circuits of memory 1620 represented by memory 1620 linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. Bus interface 1630 provides an interface. The transceiver 1640 may be a plurality of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium including wireless channels, wired channels, fiber optic cables, and the like. The processor 1610 is responsible for managing the bus architecture and general processing, and the memory 1620 may store data used by the processor 1610 in performing operations.
Processor 1610 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or a Complex Programmable Logic Device (CPLD), and may also have a multi-core architecture.
The processor 1610 is configured to execute any of the methods provided by the embodiments of the present application according to the obtained executable instructions by calling the computer program stored in the memory 1620. Processor 1610 and memory 1620 may also be physically separate.
It should be noted that the apparatus provided in the embodiment of the present application can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
Embodiments of the present application also provide a processor-readable storage medium having stored thereon a computer program for causing a processor to execute a link aggregation method.
The processor-readable storage medium can be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), solid State Disks (SSDs)), etc.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer-executable instructions. These computer-executable instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These processor-executable instructions may also be stored in a processor-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the processor-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These processor-executable instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (16)

1. A link aggregation method applied to a first network device, the method comprising:
acquiring link parameter information; the link parameter information comprises parameter information of a link between the first forwarding equipment and the second forwarding equipment; the second forwarding device comprises a neighbor forwarding device of the first forwarding device;
determining aggregation parameter information of the first forwarding equipment and the second forwarding equipment according to the link parameter information;
and sending the aggregation parameter information to second network equipment, and instructing the second network equipment to control the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information.
2. The link aggregation method of claim 1, wherein the first network device comprises a control device, and wherein the second network device comprises a network policy management function device;
or
The first network device includes the network policy management function device, and the second network device includes the control device.
3. The link aggregation method according to claim 2, wherein, in a case where the first network device includes the control device,
after determining the aggregation parameter information of the first forwarding device and the second forwarding device, the method further includes:
and configuring a first aggregation logic rule according to the link aggregation policy information in the aggregation parameter information, and sending the first aggregation logic rule to the first forwarding device and the second forwarding device.
4. The link aggregation method of claim 2, wherein, in a case where the first network device comprises the network policy management function device,
the sending the aggregation parameter information to a second network device, instructing the second network device to control the first forwarding device and the second forwarding device to perform link aggregation according to the aggregation parameter information, including:
and sending the aggregation parameter information to second network equipment, instructing the second network equipment to configure a second aggregation logic rule according to the aggregation parameter information, and sending the second aggregation logic rule to the first forwarding equipment and the second forwarding equipment.
5. The link aggregation method according to claim 1, wherein the determining aggregation parameter information of the first forwarding device and the second forwarding device according to the link parameter information includes:
and determining the aggregation parameter information of the first forwarding device and the second forwarding device under the condition that the network topology information between the first forwarding device and the second forwarding device is determined to be changed according to the link parameter information.
6. The link aggregation method according to claim 5, wherein the network topology information between the first forwarding device and the second forwarding device changes, and comprises at least one of:
at least two links exist between the first forwarding device and the second forwarding device;
the number of links between the first forwarding device and the second forwarding device changes; and
no link exists between the first forwarding device and the second forwarding device.
7. The link aggregation method of claim 2, wherein, in a case where the first network device comprises the network policy management function device,
after determining the aggregation parameter information of the first forwarding device and the second forwarding device, the method further includes:
receiving a user plane path establishment request, and calling the link aggregation strategy information;
generating a routing rule according to the link aggregation strategy information in the aggregation parameter information;
and sending the routing rule to the control equipment, instructing the control equipment to generate a message processing logic according to the routing rule, and calling an aggregation logic rule corresponding to the link aggregation strategy information.
8. The link aggregation method according to claim 1, wherein the first network device comprises a preset timer;
determining aggregation parameter information of the first forwarding device and the second forwarding device according to the link parameter information includes:
and determining the aggregation parameter information of the first forwarding equipment and the second forwarding equipment according to the link parameter information under the condition that the preset timer is overtime.
9. A link aggregation method applied to a second network device, the method comprising:
receiving aggregation parameter information sent by first network equipment; the aggregation parameter information comprises aggregation parameter information of the first forwarding equipment and the second network equipment; the aggregation parameter information is determined by the first network device according to the link parameter information between the first forwarding device and the second forwarding device;
and controlling the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information.
10. The link aggregation method of claim 9, wherein the second network device comprises a network policy management function device, and wherein the first network device comprises a control device;
or
The second network device comprises the control device and the first network device comprises the network policy management function device.
11. The link aggregation method according to claim 10, wherein, in a case where the second network device includes the control device,
the controlling, according to the aggregation parameter information, the first forwarding device and the second forwarding device to perform link aggregation includes:
and configuring a second aggregation logic rule according to the aggregation parameter information, and sending the second aggregation logic rule to the first forwarding equipment and the second forwarding equipment.
12. A network device, the network device being a first network device, the network device comprising:
memory, transceiver, processor:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
acquiring link parameter information; the link parameter information comprises parameter information of a link between the first forwarding equipment and the second forwarding equipment; the second forwarding device comprises a neighbor forwarding device of the first forwarding device;
determining aggregation parameter information of the first forwarding equipment and the second forwarding equipment according to the link parameter information;
and sending the aggregation parameter information to second network equipment, and instructing the second network equipment to control the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information.
13. A network device, the network device being a second network device, the network device comprising:
memory, transceiver, processor:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
receiving aggregation parameter information sent by first network equipment; the aggregation parameter information comprises aggregation parameter information of the first forwarding equipment and the second network equipment; the aggregation parameter information is determined by the first network device according to the link parameter information between the first forwarding device and the second forwarding device;
and controlling the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information.
14. A link aggregation device applied to a first network device, the device comprising:
the parameter acquisition module is used for acquiring link parameter information; the link parameter information comprises parameter information of a link between the first forwarding equipment and the second forwarding equipment; the second forwarding device comprises a neighbor forwarding device of the first forwarding device;
a parameter determining module, configured to determine aggregation parameter information of the first forwarding device and the second forwarding device according to the link parameter information;
and the parameter sending module is used for sending the aggregation parameter information to second network equipment and instructing the second network equipment to control the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information.
15. A link aggregation apparatus applied to a second network device, the apparatus comprising:
the information receiving module is used for receiving the aggregation parameter information sent by the first network equipment; the aggregation parameter information comprises aggregation parameter information of the first forwarding equipment and the second network equipment; the aggregation parameter information is determined by the first network device according to the link parameter information between the first forwarding device and the second forwarding device;
and the control module is used for controlling the first forwarding equipment and the second forwarding equipment to carry out link aggregation according to the aggregation parameter information.
16. A processor-readable storage medium, characterized in that the processor-readable storage medium stores a computer program for causing a processor to perform the method of any one of claims 1 to 11.
CN202110970357.2A 2021-08-23 2021-08-23 Link aggregation method, device and storage medium Pending CN115720208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110970357.2A CN115720208A (en) 2021-08-23 2021-08-23 Link aggregation method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110970357.2A CN115720208A (en) 2021-08-23 2021-08-23 Link aggregation method, device and storage medium

Publications (1)

Publication Number Publication Date
CN115720208A true CN115720208A (en) 2023-02-28

Family

ID=85253342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110970357.2A Pending CN115720208A (en) 2021-08-23 2021-08-23 Link aggregation method, device and storage medium

Country Status (1)

Country Link
CN (1) CN115720208A (en)

Similar Documents

Publication Publication Date Title
US20230262793A1 (en) Method for communication between user terminal and network, and terminal, network device and apparatus
WO2022028297A1 (en) Method and apparatus for updating master cell of secondary cell group, and storage medium
CN113923694A (en) Network resource arranging method, system, device and storage medium
CN114158059A (en) Information processing method and device, terminal equipment and network side equipment
CN114793209B (en) Data transmission method and device and SDN device
CN114599058B (en) Communication method, communication device, electronic equipment and computer readable storage medium
CN115720208A (en) Link aggregation method, device and storage medium
CN114071796A (en) Relay link connection control method and device
CN114765507A (en) Positioning pilot frequency configuration method, device, terminal equipment, access network equipment and storage medium
CN114554600A (en) Method, base station and storage medium for allocating PUCCH resources
WO2024066666A1 (en) Data transmission priority determination method and apparatus, and device
WO2024093897A1 (en) Communication method, and apparatus
CN114070482B (en) Service transmission processing method and device, network side equipment and terminal
WO2024114246A1 (en) Method, device and apparatus for determining session anchor of distributed network
WO2024082905A1 (en) Method and apparatus for establishing protocol data unit (pdu) session
WO2024082903A1 (en) Protocol data unit (pdu) session establishment method and apparatus
CN118301790A (en) UE identification method, device and storage medium
TW202420765A (en) Communication method and device
CN114727394A (en) Information transmission method and device and communication equipment
CN115623502A (en) Special DRX (discontinuous reception) cycle configuration method, device and equipment for inactive users
CN114585110A (en) Method and device for controlling terminal to enter inactive state
CN115696469A (en) QoS parameter configuration method, device, apparatus and storage medium
CN117640384A (en) Method, device and storage medium for determining network function
CN118158235A (en) Computing network fusion method, device and storage medium
CN118158780A (en) Energy-saving control method, device 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