CN115297011A - Capability reporting method, capability reporting device, storage medium and electronic equipment - Google Patents

Capability reporting method, capability reporting device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115297011A
CN115297011A CN202210918540.2A CN202210918540A CN115297011A CN 115297011 A CN115297011 A CN 115297011A CN 202210918540 A CN202210918540 A CN 202210918540A CN 115297011 A CN115297011 A CN 115297011A
Authority
CN
China
Prior art keywords
capability
network
indication information
network equipment
capability indication
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
CN202210918540.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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202210918540.2A priority Critical patent/CN115297011A/en
Publication of CN115297011A publication Critical patent/CN115297011A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies

Abstract

The disclosure provides a capability reporting method, a capability reporting device, a storage medium and an electronic device, and relates to the technical field of communication. The capability reporting method comprises the following steps: acquiring attribute information of network equipment under the condition that the network equipment is accessed to a network; sending capability indication information to control equipment of the network equipment according to the attribute information of the network equipment; the capability indication information is used for characterizing whether the network equipment has flexible Ethernet capability. The present disclosure can reduce the perceived operational complexity of the device flexible ethernet capability to some extent.

Description

Capability reporting method, capability reporting device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a capability reporting method, a capability reporting apparatus, a storage medium, and an electronic device.
Background
FlexE (Flexible Ethernet) is an interface technology for realizing service isolation and network slicing of a bearer network, and aims to realize decoupling of service rate and physical channel rate and guarantee bandwidth and delay requirements of the network slicing through independent hardware resources.
In the related technology, sensing of the FlexE capability of the equipment by the upper-layer IT management and control system is usually a method of comparing the FlexE capability of the equipment after pre-inputting through a database, that is, pre-inputting the model of an equipment board card supporting the FlexE function into the database, and comparing the model of the equipment board card supporting the FlexE function with the model of the board card supporting the FlexE function in the database when the management and control system detects that a certain equipment board card is on line, so as to sense the FlexE capability of the equipment. Obviously, the method needs to manually screen and record the equipment board card supporting the Flexe capability, and greatly increases the operation complexity for a large-scale operator network.
Disclosure of Invention
The present disclosure provides a capability reporting method, a capability reporting apparatus, a computer-readable storage medium and an electronic device, so as to reduce the perceived operation complexity of the flexible ethernet capability of the device to a certain extent.
According to a first aspect of the present disclosure, a capability reporting method is provided, where the method includes: acquiring attribute information of network equipment under the condition that the network equipment is accessed to a network; sending capability indication information to control equipment of the network equipment according to the attribute information of the network equipment; the capability indication information is used for characterizing whether the network equipment has flexible Ethernet capability.
In one embodiment, the obtaining attribute information of the network device when the network device accesses a network includes: and responding to the change of the topology information of the network, determining the network equipment to access the network according to the change of the topology information, and acquiring the attribute information of the network equipment.
In one embodiment, the sending capability indication information to a control device of the network device according to the attribute information of the network device includes: sending a BGP-LS message to control equipment of the network equipment according to the attribute information of the network equipment; the BGP-LS message comprises the capability indication information.
In one embodiment, the BGP-LS packet includes a BGP-LS node route, and the BGP-LS node route includes the capability indication information; or, the BGP-LS message comprises a BGP-LS link route, and the BGP-LS link route comprises the capability indication information; or, the BGP-LS packet includes an SRv6SID route, where the SRv6SID route includes the capability indication information.
In one embodiment, the capability indication information includes a type identifier, and the type identifier is used for characterizing that the capability indication information is indication information about the flexible ethernet capability.
In one embodiment, the capability indication information further includes a port status identifier of the network device; the port state identification is used for representing the state of a port of the network equipment; the ports of the network device include ports that support flexible ethernet capabilities or ports that do not support flexible ethernet capabilities.
According to a second aspect of the present disclosure, a capability reporting method is provided, where the method includes: receiving capability indication information sent by network equipment or other network equipment except the network equipment in a network; the capability indication information is used for representing whether the network equipment has flexible Ethernet capability or not; and determining whether the network equipment has flexible Ethernet capability according to the capability indication information.
According to a third aspect of the present disclosure, an apparatus for reporting a capability is provided, where the apparatus includes: the attribute information acquisition module is configured to acquire the attribute information of the network equipment under the condition that the network equipment is accessed to a network; the capability indication information sending module is configured to send capability indication information to the control equipment of the network equipment according to the attribute information of the network equipment; the capability indication information is used for characterizing whether the network equipment has flexible Ethernet capability.
According to a fourth aspect of the present disclosure, a capability reporting apparatus is provided, where the apparatus includes: the network equipment comprises a capability indication information receiving module, a capability indication information sending module and a capability indication information sending module, wherein the capability indication information receiving module is configured to receive capability indication information sent by network equipment or other network equipment except the network equipment in a network; the capability indication information is used for representing whether the network equipment has flexible Ethernet capability or not; a capability determination module configured to determine whether the network device is capable of flexible Ethernet according to the capability indication information.
According to a fifth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the capability reporting method of the first aspect and the second aspect and possible implementations thereof.
According to a sixth aspect of the present disclosure, there is provided an electronic device comprising: a processor; and a memory for storing executable instructions of the processor; the processor is configured to execute the capability reporting methods of the first and second aspects and possible implementations thereof by executing executable instructions.
The technical scheme of the disclosure has the following beneficial effects:
in the scheme, under the condition that the network equipment is accessed to the network, the attribute information of the network equipment is triggered and acquired so as to send the capability indication information carried by the attribute information of the network equipment to the control equipment; the capability indication information is used for representing whether the network equipment has flexible Ethernet capability or not; therefore, when the network equipment is accessed to the network, the attribute information comprising the capability indication information can be triggered and acquired, and the capability indication information is reported to the control equipment, so that the control equipment can automatically sense the flexible Ethernet capability of the network equipment, and the board card model of the equipment does not need to be compared with a pre-recorded database to determine the flexible Ethernet capability of the equipment; thereby reducing the perceived operational complexity of the flexible ethernet capability of the device to some extent.
Drawings
Fig. 1 is a schematic diagram of a system architecture provided by an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an implementation flow of a capability reporting method according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an implementation flow of a capability reporting method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a capability reporting apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a capability reporting apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings.
The drawings are schematic illustrations of the present disclosure and are not necessarily drawn to scale. Some of the block diagrams shown in the figures may be functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in hardware modules or integrated circuits, or in a network, processor or microcontroller. Embodiments may be embodied in many different forms and should not be construed as limited to the examples set forth herein. The described features, structures, or characteristics of the disclosure may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough explanation of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that one or more of the specific details can be omitted, or one or more of the specific details can be replaced with other methods, components, devices, steps, etc., in implementing the embodiments of the disclosure.
FlexE is an interface technology for realizing service isolation and network slicing of a bearer network, and aims to realize decoupling of service rate and physical channel rate and guarantee bandwidth and delay requirements of network slicing through independent hardware resources.
In the related technology, the perception of the FlexE capability of the equipment by the upper-layer IT management and control system is usually a method of comparing the FlexE capability of the equipment after pre-inputting through a database, that is, the model of the equipment board card supporting the FlexE function is pre-inputted into the database, and when the management and control system detects that a certain equipment board card is on line, the model of the equipment board card is compared with the model of the board card supporting the FlexE function in the database, so that the FlexE capability of the equipment is perceived. Obviously, the method needs to manually screen and record the equipment board card supporting the Flexe capability, and greatly increases the operation complexity for a large-scale operator network.
In view of the foregoing problems, exemplary embodiments of the present disclosure first provide a capability reporting method, which can reduce the complexity of FlexE capability sensing of a device to a certain extent.
The following explains the noun terms appearing herein.
IGP Protocol (Interior Gateway Protocol): for discovering/collecting topology information of the network.
BGP-LS Protocol (Border Gateway Protocol Link-state): and the topology information used for summarizing the IGP protocol discovery/collection is reported to the control equipment. The BGP-LS protocol has strong routing and routing calculation capabilities, can collect topology information collected by the IGP protocol, and further reports complete network topology information to the control equipment.
BGP-LS routing is a medium carrying network topology information; the BGP-LS routes comprise BGP-LS node routes, BGP-LS link routes and BGP-LS address prefix routes; respectively used for carrying node, link and route prefix information. The three routes are mutually matched to finish the transmission of topology information together.
Segment Routing based on IPv6 (Segment Routing IPv6, SRv 6): the method is a combination of Segment Routing and IPv6 network technologies, and has both flexible Routing capability and affinity of the former and device-level programmability specific to SRv6, so that the method becomes the most promising networking technology in the IPv6 network era. In the SRv6, each Segment is identified by SID (Segment ID), which is a special IPv6 address and has both routing capability of ordinary IPv6 address and behavior capability specific to SRv 6.
A system architecture and an application scenario of an operating environment of the capability reporting method are exemplarily described below with reference to fig. 1.
Fig. 1 shows a schematic diagram of a system architecture, which system architecture 100 may comprise a first network device 101, a second network device 102, a third network device 103, a fourth network device 104 and a control device 105; wherein:
the first network device 101, the second network device 102, the third network device 103, and the fourth network device 104 are all connected to the control device 105.
In one embodiment, the system architecture 100 may be a system architecture of a bearer network; the first network device 101, the second network device 102, the third network device 103, and the fourth network device 104 may be gateway devices, such as: a routing device.
It should be understood that fig. 1 shows the system architecture 100 including four network devices, which is for illustrative purposes only, and the present disclosure does not limit the number of network devices in the system architecture 100.
The capability reporting method may be performed by one or more of the first network device 101, the second network device 102, the third network device 103, and the fourth network device 104.
In an embodiment, at least one of the first network device 101, the second network device 102, the third network device 103, and the fourth network device 104 configures an IGP protocol, and the network device configured with the IGP protocol executes the capability reporting method.
In an embodiment, an IGP protocol may be configured in at least two of the first network device 101, the second network device 102, the third network device 103, and the fourth network device 104, so that at least two network devices can perform the capability reporting method for redundancy protection.
In an embodiment, a device configured with an IGP protocol in the first network device 101, the second network device 102, the third network device 103, and the fourth network device 104 collects topology information of a network through the IGP protocol, and reports the collected network topology information to a device configured with a BGP-LS protocol, and the device configured with the BGP-LS protocol aggregates the topology information reported by the IGP protocol and reports the aggregated topology information to the control device 105 through the BGP-LS protocol.
Fig. 2 is a schematic flow chart of an implementation process of a capability reporting method provided in this disclosure, which may be executed by a network device configured with an IGP protocol and a BGP-LS protocol in the first network device 101, the second network device 102, the third network device 103, and the fourth network device 104, as shown in fig. 2, the method includes the following steps S201 and S202:
step S201, acquiring attribute information of the network equipment under the condition that the network equipment is accessed to a network;
step S202, sending capability indication information to control equipment of the network equipment according to the attribute information of the network equipment; the capability indication information is used to characterize whether the network device is capable of flexible ethernet.
In the capability reporting method, when the network equipment is accessed to the network to cause the change of the topology information of the network, the attribute information of the network equipment is triggered to be acquired so as to send capability indication information carried by the attribute information of the network equipment to the control equipment; the capability indication information is used for representing whether the network equipment has flexible Ethernet capability; therefore, when the network equipment is accessed to the network, the attribute information comprising the capability indication information can be triggered and acquired, and the capability indication information is reported to the control equipment, so that the control equipment can automatically sense the flexible Ethernet capability of the network equipment, and the board card model of the equipment does not need to be compared with a pre-recorded database to determine the flexible Ethernet capability of the equipment; thereby reducing the perceived operational complexity of the device's flexible ethernet capability to some extent.
Each step in fig. 2 is explained in detail below.
Referring to fig. 2, in step S201, in the case where a network device accesses a network, attribute information of the network device is acquired.
The attribute information may include device information of the network device, port status information of the network device, and the like, which is not limited herein.
Under the condition that the network equipment is accessed to the network, the network equipment configured with the IGP protocol in the network can discover/collect network topology information through the IGP protocol; in one embodiment, the IGP protocol may be configured on the local network device, or may be configured on other network devices in the network; network equipment configured with an IGP protocol in a network discovers/collects network topology information through the IGP protocol; thus, the network device can be determined to access the network through the network topology information discovered/collected by the IGP protocol.
In an embodiment, the attribute information of the network device may be obtained when the network topology information is discovered/collected through an IGP protocol, or may trigger the BGP-LS protocol to obtain when the topology information changes, which is not limited herein.
With continued reference to fig. 2, in step S202, capability indication information is transmitted to the control device of the network device according to the attribute information of the network device.
The capability indication information is used for representing whether the network equipment has flexible Ethernet capability.
The capability indication information may be newly added attribute information, or may be obtained by expanding original attribute information, and is not limited herein. In an embodiment, the attribute information may be TLV attribute information of a BGP-LS protocol; such as: under the condition that the capability indication information is newly added attribute information, a TLV attribute information can be newly added; when the capability indication information is obtained by extending the original attribute information, it may be to extend TLV attribute information of the BGP-LS protocol. Therefore, under the condition that the discovered/collected network topology information is reported to the BGP-LS protocol through the IGP protocol, the BGP-LS protocol can be triggered to report the TLV attribute information carrying the network equipment capability indication information.
In one embodiment, as shown in table 1, the newly added TLV attribute information may include a Type identifier (Type), a Port Status identifier (FlexE Status) of the network Device, a FlexE capability identifier (IsSupportFlexE), length information (Length), a network domain address (Area ID), a network Device address (Device ID), a Card address (Card ID), a Port address (Port ID), a Length variable identifier (Reserved), an extensible Sub-TLV attribute identifier (Sub-TLVs), and the like.
TABLE 1
Figure BDA0003776653910000071
In an embodiment, when the network device accesses the network, the topology information of the network may change, and the step S201 includes the following steps:
and responding to the change of the topology information of the network, determining the network equipment to access the network according to the change of the topology information, and acquiring the attribute information of the network equipment.
The network equipment configured with an IGP protocol in the network can discover/collect the topology information of the network through the IGP protocol, and then determine that the topology information of the network changes; therefore, on the machine side, the network topology information discovered/collected by the IGP protocol may be used to determine the change of the network topology information, and thus, the network device accessing the network.
In one embodiment, the IGP reports the discovered/collected network topology information to the BGP-LS protocol, and the BGP-LS protocol summarizes the network topology information reported by the IGP protocol to obtain complete network topology information, and further determines that the network topology information changes; thus, according to the change of the network topology information, determining the network equipment causing the change of the network topology information, namely, the network equipment newly accessed to the network; therefore, when the topology information of the network changes and the network equipment is determined to be accessed to the network according to the change of the topology information, the attribute information of the network equipment is triggered and acquired.
In an embodiment, the capability indication information may be sent through a BGP-LS protocol, and step S202 includes the following steps:
according to the attribute information of the network equipment, sending a BGP-LS message to control equipment of the network equipment; the BGP-LS message includes capability indication information.
The BGP-LS protocol can be triggered to acquire the attribute information of the network equipment under the condition that the BGP-LS protocol summarizes the network topology information reported by the IGP protocol and determines the change of the network topology information, and a BGP-LS message carrying capability indication information is sent to the control equipment according to the attribute information of the network equipment; the attribute information of the network device includes capability indication information.
In one implementation, the BGP-LS message can be sent through different BGP-LS routes, the BGP-LS message comprises a BGP-LS node route, and the BGP-LS node route comprises capability indication information; or the BGP-LS message comprises a BGP-LS link route, and the BGP-LS link route comprises capability indication information; or the BGP-LS message comprises an SRv6SID route, and the SRv6SID route comprises capability indication information.
The BGP-LS node route is used for recording node information of the topology; the BGP-LS link route is used for recording link information between two network devices; SRv6SID routing is used to identify the locator of the SRv6 node, different behaviors within the SRv6 node.
Under the condition that the BGP-LS message comprises a BGP-LS node route, reporting node information carried by the BGP-LS node route to the control equipment through the BGP-LS node route; under the condition that the BGP-LS message comprises a BGP-LS link route, reporting link information carried by the BGP-LS link route to the control equipment through the BGP-LS link route; and under the condition that the BGP-LS message comprises the SRv6SID route, reporting the information of the SRv6 node carried by the SRv6SID route to the control equipment through the SRv6SID route. In one embodiment, the information carried by the above three routes includes capability indication information.
In the step, the BGP-LS node route, the BGP-LS link route or the SRv6SID route is used for carrying the capability indication information so as to meet more application scenes.
In one embodiment, the capability indication information includes a type identifier, and the type identifier is used for characterizing that the capability indication information is indication information about flexible ethernet capability.
Wherein, the type identifier represents a TLV attribute information; such as: the Type identifier may be represented by Type; in one embodiment, the TLV attribute information may be specified and defined by The Internet Assigned Numbers Automation (IANA).
In one embodiment, the capability indication information further includes a port status identifier of the network device; the port state identification is used for representing the state of a port of the network equipment; the ports of the network device include ports that support flexible ethernet capability or ports that do not support flexible ethernet capability.
The port state identification of the network equipment represents the state of a port; in one embodiment, the port Status identification of the network device may be represented by FlexE Status; in one embodiment, the highest bit of the 8bits can be used to identify UP (1) or DOWN (0), and the rest bits are defaulted to 0 or can be customized; such as: the highest bit in 8bits of 8bits is marked with 1, and other bits are 0, the decimal is 128, which indicates that the port is UP; the highest bit in the 8bits is marked with 0, and other bits are 0, so that the decimal value is 0, which indicates that the port is DOWN.
In one embodiment, the capability indication information further includes a FlexE capability identification; the FlexE capability identification represents whether the port supports FlexE; in one embodiment, the FlexE capability identification of a network device may be represented by IsSupportFlexE; in one embodiment, the highest bit in the 8bits can be selected to identify that Flexe (1) is supported or Flexe (0) is not supported, and the rest bits are defaulted to 0 or customized as required; such as: the highest bit in the 8bits is marked with 1, and other bits are 0, the decimal number is 128, which indicates that the port supports Flexe; the highest bit in 8bits is marked with 0, and other bits are 0, the decimal value is 0, which indicates that the port does not support FlexE.
In one embodiment, the FlexE Status in combination with the IsSupportFlexE may indicate the Status of the port; such as: the UP state of the Flexe Status is UP, and the IsSupportFlexe is 128, which indicates the UP state of the Flexe port; the UP state of the common port is indicated when the Flexe Status is UP and the IsSupportFlexe is 0.
In one embodiment, the capability indication information further includes length information; in one embodiment, length may be used to represent Length information; the Length information represents the Length of the TLV attribute information excluding the Type and Length fields.
In one embodiment, the capability indication information further includes a network domain address; in one embodiment, the network domain address may be represented by an Area ID; such as: the Area ID is 0.0.0.2, which means that the network domain address where the network device is located is 0.0.0.2.
In one embodiment, the capability indication information further includes a network device address; in one embodiment, the network Device address may be represented by a Device ID; such as: a Device ID of 1.1.1.1 indicates that the IPv4 address of the network Device is 1.1.1.1.
In one embodiment, the capability indication information further includes a board card address; in one embodiment, the Card ID may be used to indicate the Card address; such as: if the Card ID is 1, it indicates that the board ID of the network device is 1.
In one embodiment, the capability indication information further includes a port address; in one embodiment, the Port address may be represented by a Port ID; such as: a Port ID of 1 indicates a Port address of 1.
In one embodiment, the Card ID/Port ID combination identifier represents a Port on a board; such as: if the Card ID is 1 and the port ID is 1, 1/1 indicates port 1 of board 1 of the network device.
Fig. 3 is a schematic flow chart of an implementation process of a capability reporting method provided in the embodiment of the present disclosure, which may be executed by the control device 105, as shown in fig. 3, the method includes the following steps S301 and S302:
step S301, receiving capability indication information sent by the network equipment or other network equipment except the network equipment in the network; the capability indication information is used for representing whether the network equipment has flexible Ethernet capability;
step S302, determining whether the network equipment has the flexible Ethernet capability according to the capability indication information.
In the capability reporting method, the control device can determine whether the network device has the flexible Ethernet capability according to the received capability indication information; therefore, the flexible Ethernet capability of the network equipment can be automatically sensed; the operation complexity of determining the flexible Ethernet capability of the network equipment by pre-inputting the board card type of the equipment supporting the Flexe function into the database and then comparing the board card type of the equipment in the prior art is reduced.
Each step in fig. 3 is explained in detail below.
Referring to fig. 3, in step S301, capability indication information sent by a network device or other network devices in the network other than the network device is received.
The capability indication information is used for representing whether the network equipment has flexible Ethernet capability.
The BGP-LS protocol can be configured in the local network equipment, and the BGP-LS protocol can also be configured in other network equipment in the network; network equipment configured with a BGP-LS protocol in a network reports the capability indication information to control equipment through the BGP-LS protocol; namely, the control equipment receives the capability indication information reported by the network equipment configured with the BGP-LS protocol in the network through the BGP-LS protocol.
With continued reference to fig. 3, in step S302, it is determined whether the network device is flexible ethernet capable according to the capability indication information.
Wherein the capability indication information comprises a Flexe capability identifier; the FlexE capability identification represents whether the port supports FlexE; such as: the FlexE capability identifier of a network device can be represented by IsSupportFlexE; in one embodiment, the highest bit in the 8bits can be selected to identify that Flexe (1) is supported or Flexe (0) is not supported, and the rest bits are defaulted to 0 or customized as required; such as: the highest bit in the 8bits is marked with 1, and other bits are 0, the decimal number is 128, which indicates that the port supports FlexE; the highest bit in the 8bits is marked with 0, and the other bits are 0, the decimal number is 0, which indicates that the port does not support Flexe.
The exemplary embodiment of the present disclosure further provides a capability reporting apparatus 400. The capability reporting apparatus is applied to any one of the first network device 101, the second network device 102, the third network device 103, and the fourth network device 104; referring to fig. 4, the capability reporting apparatus 400 may include:
an attribute information obtaining module 401 configured to obtain attribute information of a network device when the network device accesses a network;
a capability indication information sending module 402 configured to send capability indication information to a control device of the network device according to the attribute information of the network device; the capability indication information is used to characterize whether the network device is capable of flexible ethernet.
In one embodiment, the obtaining attribute information of the network device when the network device accesses the network includes: and responding to the change of the topology information of the network, determining the network equipment to access the network according to the change of the topology information, and acquiring the attribute information of the network equipment.
In one embodiment, the sending capability indication information to a control device of a network device according to attribute information of the network device includes: according to the attribute information of the network equipment, sending a BGP-LS message to control equipment of the network equipment; the BGP-LS message includes capability indication information.
In one embodiment, the BGP-LS message comprises BGP-LS node routing, and the BGP-LS node routing comprises capability indication information; or the BGP-LS message comprises a BGP-LS link route, and the BGP-LS link route comprises capability indication information; or, the BGP-LS message comprises SRv6SID route, and the SRv6SID route comprises capability indication information.
In one embodiment, the capability indication information includes a type identifier, and the type identifier is used for characterizing that the capability indication information is indication information about flexible ethernet capability.
In one embodiment, the capability indication information further includes a port status identifier of the network device; the port state identification is used for representing the state of a port of the network equipment; the ports of the network device include ports that support flexible ethernet capabilities or ports that do not support flexible ethernet capabilities.
The exemplary embodiment of the present disclosure further provides a capability reporting apparatus 500. The capability reporting device is applied to the control device 105; referring to fig. 5, the capability reporting apparatus 500 may include:
a capability indication information receiving module 501 configured to receive capability indication information sent by a network device or other network devices in a network except the network device; the capability indication information is used for representing whether the network equipment has flexible Ethernet capability or not;
a capability determination module 502 configured to determine whether the network device is flexible ethernet capable based on the capability indication information.
Exemplary embodiments of the present disclosure also provide a computer-readable storage medium, which may be implemented in the form of a program product, including program code for causing an electronic device to perform the steps according to various exemplary embodiments of the present disclosure described in the above-mentioned "exemplary method" section of this specification, when the program product is run on the electronic device. In an alternative embodiment, the program product may be embodied as a portable compact disc read only memory (CD-ROM) and include program code, and may be run on an electronic device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In situations involving remote computing devices, the remote computing devices may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to external computing devices (e.g., through the internet using an internet service provider).
Exemplary embodiments of the present disclosure also provide an electronic device, which may be, for example, the network device or the control device described above. The electronic device may include a processor and a memory. The memory stores executable instructions of the processor, such as may be program code. The processor executes the executable instructions to perform the capability reporting method in the exemplary embodiment, such as the method steps shown in fig. 2.
Referring now to FIG. 6, an electronic device in the form of a general purpose computing device is illustrated. It should be understood that the electronic device 600 shown in fig. 6 is only one example and should not limit the functionality or scope of use of embodiments of the present disclosure.
As shown in fig. 6, the electronic device 600 may include: a processor 610, a memory 620, a bus 630, an I/O (input/output) interface 640, a network adapter 650.
The memory 620 may include a volatile memory such as a RAM621, a cache unit 622, and a nonvolatile memory such as a ROM623. Memory 620 may also include one or more program modules 624, such program modules 624 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may comprise an implementation of a network environment. For example, the program modules 624 may include the modules of the capability reporting device 400 or the capability reporting device 500.
The bus 630 is used to enable connections between different components of the electronic device 600 and may include a data bus, an address bus, and a control bus.
The electronic device 600 may communicate with one or more external devices 2000 (e.g., keyboard, mouse, external controller, etc.) via the I/O interface 640.
The electronic device 600 may communicate with one or more networks through the network adapter 650, for example, the network adapter 650 may provide a mobile communication solution such as 3G/4G/5G, or a wireless communication solution such as wireless local area network, bluetooth, near field communication, etc. The network adapter 650 may communicate with other modules of the electronic device 600 via the bus 630.
Although not shown in FIG. 6, other hardware and/or software modules may also be provided in the electronic device 600, including but not limited to: displays, microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, according to exemplary embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (11)

1. A capability reporting method is characterized in that the method comprises the following steps:
acquiring attribute information of network equipment under the condition that the network equipment is accessed to a network;
sending capability indication information to control equipment of the network equipment according to the attribute information of the network equipment; the capability indication information is used for characterizing whether the network equipment has flexible Ethernet capability.
2. The method according to claim 1, wherein the obtaining the attribute information of the network device when the network device accesses the network comprises:
and responding to the change of the topology information of the network, determining the network equipment to access the network according to the change of the topology information, and acquiring the attribute information of the network equipment.
3. The method according to claim 1, wherein the sending capability indication information to the control device of the network device according to the attribute information of the network device comprises:
sending a BGP-LS message to control equipment of the network equipment according to the attribute information of the network equipment; the BGP-LS message comprises the capability indication information.
4. The capability reporting method according to claim 3, wherein the BGP-LS packet includes a BGP-LS node route, and the BGP-LS node route includes the capability indication information; or, the BGP-LS message comprises a BGP-LS link route, and the BGP-LS link route comprises the capability indication information; or, the BGP-LS packet includes an SRv6SID route, where the SRv6SID route includes the capability indication information.
5. The capability reporting method according to claim 1, wherein the capability indication information includes a type identifier, and the type identifier is used to characterize that the capability indication information is indication information about the flexible ethernet capability.
6. The capability reporting method according to claim 1, wherein the capability indication information further includes a port status identifier of the network device; the port state identification is used for representing the state of a port of the network equipment; the ports of the network device include ports that support flexible ethernet capabilities or ports that do not support flexible ethernet capabilities.
7. A capability reporting method is characterized in that the method comprises the following steps:
receiving capability indication information sent by network equipment or other network equipment except the network equipment in a network; the capability indication information is used for representing whether the network equipment has flexible Ethernet capability or not;
and determining whether the network equipment has flexible Ethernet capability according to the capability indication information.
8. A capability reporting apparatus, the apparatus comprising:
the attribute information acquisition module is configured to acquire the attribute information of the network equipment under the condition that the network equipment is accessed to a network;
a capability indication information sending module configured to send capability indication information to a control device of the network device according to the attribute information of the network device; the capability indication information is used for characterizing whether the network equipment has flexible Ethernet capability.
9. A capability reporting apparatus, the apparatus comprising:
the network equipment comprises a capability indication information receiving module, a capability indication information sending module and a capability indication information sending module, wherein the capability indication information receiving module is configured to receive capability indication information sent by network equipment or other network equipment except the network equipment in a network; the capability indication information is used for representing whether the network equipment has flexible Ethernet capability;
a capability determination module configured to determine whether the network device is flexible Ethernet capable according to the capability indication information.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
11. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1 to 7 via execution of the executable instructions.
CN202210918540.2A 2022-08-01 2022-08-01 Capability reporting method, capability reporting device, storage medium and electronic equipment Pending CN115297011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210918540.2A CN115297011A (en) 2022-08-01 2022-08-01 Capability reporting method, capability reporting device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210918540.2A CN115297011A (en) 2022-08-01 2022-08-01 Capability reporting method, capability reporting device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115297011A true CN115297011A (en) 2022-11-04

Family

ID=83826101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210918540.2A Pending CN115297011A (en) 2022-08-01 2022-08-01 Capability reporting method, capability reporting device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115297011A (en)

Similar Documents

Publication Publication Date Title
KR101573182B1 (en) Method For Managing Network And For Providing Service QoS
US10911263B2 (en) Programmatic interfaces for network health information
US10153949B2 (en) Sub-topology discovery for operating hybrid solutions
CN109995641A (en) A kind of information processing method, calculate node and storage medium
CN111181758B (en) Configuration file generation method and device
CN110659109A (en) Openstack cluster virtual machine monitoring system and method
CN101018227A (en) Data management device, storage medium having data management program, protocol switching device and method
US20140337471A1 (en) Migration assist system and migration assist method
WO2024036841A1 (en) Network topology structure optimization method and apparatus, and storage medium and electronic device
CN104298675A (en) Method and device for cache management
JP5109940B2 (en) Input edge router identification method, program, and computer
JP4754018B2 (en) Route data collection method, layer 2 device, carrier network device, and route data collection device
CN104219159A (en) Method and device for performing link aggregation based on virtual interface of virtual local area network
CN115297011A (en) Capability reporting method, capability reporting device, storage medium and electronic equipment
CN116760834A (en) Load balancing method, system, equipment and storage medium
KR101829881B1 (en) Flow management system, controller and method for detecting fault
CN114553771B (en) Method for virtual router loading and related equipment
CN110036610B (en) Method and switch for route management in software defined network
CN107506283B (en) Method and system for host to push information to SAN storage
JP4589939B2 (en) Connection information management method, apparatus and program
CN117176639B (en) Multi-protocol-based network topology automatic discovery method and device
CN114389982B (en) Network quality assessment method, device, equipment and medium
CN114338525B (en) Automatic route aggregation method and device, electronic equipment and storage medium
CN115250236B (en) Network element instruction adaptation method, device, system, electronic equipment and storage medium
JP5594131B2 (en) Network management device

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