CN105207909B - A kind of method and network equipment sending information - Google Patents
A kind of method and network equipment sending information Download PDFInfo
- Publication number
- CN105207909B CN105207909B CN201410287382.0A CN201410287382A CN105207909B CN 105207909 B CN105207909 B CN 105207909B CN 201410287382 A CN201410287382 A CN 201410287382A CN 105207909 B CN105207909 B CN 105207909B
- Authority
- CN
- China
- Prior art keywords
- mark
- attribute information
- information
- topological arrangement
- network equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to a kind of methods and network equipment for sending information, belong to the communications field.The described method includes: receiving the SR attribute information that business router SR is sent, the SR attribute information includes at least the mark of the SR;Obtain topological arrangement information, the mark for the service node SN that the topological arrangement information includes the SR attribute information and the network equipment includes;It sends the topological arrangement information and gives business chain control system.Described device includes receiving module, obtains module and sending module.Using the present invention, the efficiency for generating service chain network topology can be improved.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of method and network equipment for sending information.
Background technique
In data center network or Internet network, to support better services experience, need to dispose in a network
Service chain (business chain) network.Service chain network includes that (English is service to business chain control system
Chain orchestrator), one or more SR (Service Router, business router) and be attached on SR one
The SN that a or multiple SN (Service Node, service node) business chain control systems include to service chain network
Maintenance and management is carried out with SR.Wherein, business chain control system needs to rely on service chain network topology and comes pair
Service chain network carries out maintenance and management.Therefore before maintenance and management service chain network, business chain
Control system needs first to generate service chain network topology.
Presently, there are a kind of schemes for generating service chain network topology, can be with are as follows: technical staff elder generation manual configuration
The corresponding SN of each SR and SR attachment relationship table in service chain network, the corresponding SN of the SR and SR attachment relationship table
In including the SR mark and with the SR binding SN mark.Technical staff is again by the corresponding SN of each SR and SR attachment relationship
Table is entered into business chain control system.Further, the SR attribute information of each SR can also be entered into industry by technical staff
In chain control system of being engaged in, the SR attribute information of the SR include the management IP of the SR (Internet Protocol, between network mutually
Agreement even) address, the UUID (Universally Unique Identifier, Universally Unique Identifier) of the SR, the SR
The SN number etc. that the flow table number and/or the SR that interface type, the interface index of the SR, the SR are supported are supported.Business chain control
System generates service chain according to the SR attribute information of the corresponding SN of each SR and SR attachment relationship table and/or each SR
Network topology.
In the implementation of the present invention, inventor find the relevant technologies the prior art has at least the following problems:
When there are many SR quantity, for example, it is hundreds and thousands of in the case where, since technical staff is manually entered the corresponding SN of each SR
With the attachment relationship table of SR and/or the SR attribute information of each SR, cause generate service chain network topology efficiency compared with
It is low.
Summary of the invention
In order to solve the problems, such as the relevant technologies, the embodiment of the invention provides a kind of methods for sending information and network dress
It sets.The technical solution is as follows:
In a first aspect, a kind of network equipment, the network equipment include:
Receiving module, for receiving the SR attribute information of business router SR transmission, the SR attribute information is included at least
The mark of the SR;
Module is obtained, for obtaining topological arrangement information, the topological arrangement information includes the SR attribute information and institute
State the mark for the SN that network equipment includes;
Sending module gives business chain control system for sending the topological arrangement information.
With reference to first aspect, in the first possible implementation of the first aspect, the receiving module, for receiving
The Link Layer Discovery Protocol LLDP message for the carrying SR attribute information that business router SR is sent, from the data of the LLDP message
SR attribute information is extracted in unit.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect
In, the receiving module, the Link Layer Discovery Protocol LLDP message sent specifically for receiving business router SR, if described
Reservation bit position in the system capability field of LLDP message is set, it is determined that and the LLDP message carries SR attribute information,
The SR attribute information is extracted from the data cell of the LLDP message.
With reference to first aspect, in a third possible implementation of the first aspect, the topological arrangement information is at least
Including SN and SR attachment relationship;
The acquisition module includes:
Submodule is selected, for selecting the mark of SN from SN list, the SN list is attached to the SR for storing
On SN mark;
Setting up submodule, for according to the selected SN mark and the SR attribute information, establish SN and SR and adhere to
Relationship, the SN and SR attachment relationship include the mark of the SR and the mark of the selected SN.
With reference to first aspect, in a fourth possible implementation of the first aspect, the selection submodule, for selecting
Select the mark for all SN that the SN list includes;Alternatively, if in the SR attribute information including the SN number that the SR is supported
Mesh, then the SN number supported according to the SR select the mark of SN from the SN list.
With reference to first aspect, in the fifth possible implementation of the first aspect, the sending module, is specifically used for
The function for reading information is called from preset function library;By the function, the topological arrangement information is stored in institute
It states in the management assembly on network equipment, wherein the management assembly includes open interface, the open interface is used for by institute
It states and the topological arrangement information stored in the management assembly is transferred to the business chain after business chain control system is called
Control system.
With reference to first aspect or first to the 5th any possible implementation of first aspect, the of first aspect
In six kinds of possible implementations, the SR attribute information further includes the interface type of the SR, the interface index of the SR, institute
It is any one or more in the SN number that the flow table number and the SR for stating SR support are supported.
Second aspect, a method of sending information, which comprises
The SR attribute information that business router SR is sent is received, the SR attribute information includes at least the mark of the SR;
Obtain topological arrangement information, the industry that the topological arrangement information includes the SR attribute information and network equipment includes
The mark of business node SN;
It sends the topological arrangement information and gives business chain control system.
In conjunction with second aspect, in the first possible implementation of the second aspect, the reception business router SR
The SR attribute information of transmission, comprising:
Receive the Link Layer Discovery Protocol LLDP message for the carrying SR attribute information that business router SR is sent;
SR attribute information is extracted from the data cell of the LLDP message.
In conjunction with the first possible implementation of second aspect, in second of possible implementation of second aspect
In, the Link Layer Discovery Protocol LLDP message for receiving the carrying SR attribute information that business router SR is sent, comprising:
Receive the Link Layer Discovery Protocol LLDP message that business router SR is sent;
If the reservation bit position in the system capability field of the LLDP message is set, it is determined that the LLDP message
Carry SR attribute information.
In conjunction with second aspect, in the third possible implementation of the second aspect, the topological arrangement information is at least
Including SN and SR attachment relationship;
The acquisition topological arrangement information, comprising:
The mark of SN is selected from SN list, the SN list is used to store the mark for the SN that the network equipment includes;
According to the mark of the selected SN and the SR attribute information, SN and SR attachment relationship, the SN and SR are established
Attachment relationship includes the mark of the SR and the mark of the selected SN.
In conjunction with the possible implementation of the third of second aspect or second aspect, the 4th kind in second aspect is possible
In implementation, the mark that SN is selected from SN list, comprising:
The mark for all SN for selecting the SN list to include;Alternatively,
If in the SR attribute information include the SR support SN number, according to the SR support SN number,
The mark of SN is selected from the SN list.
It is in a fifth possible implementation of the second aspect, described to send the topological arrangement in conjunction with second aspect
Information gives business chain control system, comprising:
The function for reading information is called from preset function library;
By the function, the topological arrangement information is stored in the management assembly on the network equipment, wherein
The management assembly includes open interface, and the open interface is used for the pipe after being called by the business chain control system
The topological arrangement information stored in reason component is transferred to the business chain control system.
In conjunction with first to the 5th any possible implementation of second aspect or second aspect, the of second aspect
In six kinds of possible implementations, the SR attribute information further includes the interface type of the SR, the interface index of the SR, institute
It is any one or more in the SN number that the flow table number and the SR for stating SR support are supported.
The third aspect, a kind of network equipment, the network equipment include memory, processor and one or one
Above program, wherein the one or more programs are stored in the memory, and are configured to by described
Managing device and executing the one or more programs includes the instruction for performing the following operation:
The SR attribute information that business router SR is sent is received, the SR attribute information includes at least the mark of the SR;
Obtain topological arrangement information, the industry that the topological arrangement information includes the SR attribute information and network equipment includes
The mark of business node SN;
It sends the topological arrangement information and gives business chain control system.
In embodiments of the present invention, the SR attribute information that SR is sent is received, then obtains topological arrangement information, the topological arrangement
Information includes the mark of SR attribute information and the SN being attached on SR;It sends the topological arrangement information and gives business chain control system,
Business chain control system is set to generate business chain network topology according to the topological arrangement information.Pass through above-mentioned processing mode, business chain
Control system can obtain topological arrangement information automatically, generate business chain network topology according to the topological arrangement information.To improve
Generate the efficiency of service chain network topology.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, not
Constitute limitation of the invention.In the accompanying drawings:
Fig. 1 is a kind of network architecture schematic diagram provided in an embodiment of the present invention.
Fig. 2 is a kind of network device architecture schematic diagram provided in an embodiment of the present invention.
Fig. 3 is a kind of method flow diagram for sending information provided in an embodiment of the present invention.
Fig. 4-1 is another method flow diagram for sending information provided in an embodiment of the present invention.
Fig. 4-2 is a kind of LLDP provided in an embodiment of the present invention (Link Layer Discovery Protocol, link
Layer discovery agreement) message structure schematic diagram.
Fig. 4-3 is a kind of system capability TLV (Type-length-value, type-length-provided in an embodiment of the present invention
Value) structural schematic diagram.
Fig. 4-4 is a kind of system property TLV structural schematic diagram provided in an embodiment of the present invention.
Fig. 4-5 is a kind of business chain network topology structure schematic diagram provided in an embodiment of the present invention.
Fig. 5 is another network device architecture schematic diagram provided in an embodiment of the present invention.
Through the above attached drawings, it has been shown that the specific embodiment of the present invention will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of the inventive concept in any manner with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate idea of the invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, right below with reference to embodiment and attached drawing
The present invention is described in further details.Here, exemplary embodiment and its explanation of the invention is used to explain the present invention, but simultaneously
It is not as a limitation of the invention.
In data center network or Internet network, in order to support better services to experience, need to dispose in a network
Service chain network.
The service chain network architecture shown in Figure 1, service chain network include service control system,
One or more SR and the server connecting with SR dispose one or more SN in server.
Business chain control system is used for the SN created in the server, safeguards service chain network topology, according to
Service chain network topology is that each SR configures forwarding table etc..
SR the message is forwarded to for receiving message, according to the forwarding table of itself storage the SN for being attached to its own or
Coupled SR.In service chain network, SR can be deployed in physical switches.
SN is used to receive the message of SR forwarding, handles the message.SN can be with VM (Virtual Machine, void
Quasi- machine) mode realize.For example, it is assumed that SN is firewall, SN can carry out enhancing processing to received message.
Wherein, business chain control system needs to configure forwarding table according to service chain network topology for each SR,
So service chain network topology is particularly significant to the function of realizing service chain network, and therefore, in invention,
Service chain network topology can be generated by following several embodiments.
Referring to fig. 2, the embodiment of the invention provides a kind of network equipments, comprising:
Receiving module 201, for receiving the SR attribute information of SR transmission, which includes at least the mark of the SR
Know;
Module 202 is obtained, for obtaining topological arrangement information, which includes the SR attribute information and network
The mark for the SN that device includes;
Sending module 203 gives business chain control system for sending the topological arrangement information.
Wherein, business chain control system receives the topological arrangement that each network equipment in Servie chain network is sent
Information, each topological arrangement information generates Servie chain network topology based on the received.
Preferably, receiving module 201, the LLDP message of the carrying SR attribute information for receiving SR transmission, from the LLDP
SR attribute information is extracted in the data cell of message.
Preferably, receiving module 201, the LLDP message sent specifically for receiving SR, if the system of the LLDP message
Reservation bit position in capable field is set, it is determined that the LLDP message carries SR attribute information, from the number of the LLDP message
According to extracting the SR attribute information in unit.
Wherein, SR, can be from the reservation of the system capability field of LLDP message when sending the SR attribute information of its own
A bit is selected in bit, by the bit set of selection, the bit of set is used to indicate the number of the LLDP message
SR attribute information is carried according to unit, the data cell that the LLDP message is then arranged again carries SR attribute information, sends the LLDP
Message.
Wherein, which includes at least SN and SR attachment relationship;
Preferably, obtaining module 202 includes:
Submodule is selected, for selecting the mark of SN from SN list, the SN list is for storing what network equipment included
The mark of SN;
Setting up submodule establishes SN and SR attachment relationship, SN for the mark and the SR attribute information according to the SN of selection
It include the mark of the mark of the SR and the SN of selection with SR attachment relationship.
Further, the stream which can also support including the interface type of SR, the interface index of SR, SR
It is any one or more in the SN number that table number and SR are supported.
Preferably, submodule is selected, specifically for the mark for all SN that selection SN list includes;Alternatively, if the SR
It include the SN number that the SR is supported in attribute information, then the SN number supported according to the SR selects the mark of SN from SN list.
Preferably, sending module 203, specifically for calling the function for reading information from preset function library;Pass through
The function, by the management assembly of topological arrangement information storage on a network device, wherein management assembly includes open interface,
Open interface is used to that the topological arrangement information stored in management assembly to be transferred to business after being called by business chain control system
Chain control system.
In embodiments of the present invention, network equipment can be server.
In embodiments of the present invention, the SR attribute information that SR is sent is received, then obtains topological arrangement information, the topological arrangement
Information includes the mark of SR attribute information and the SN being attached on SR;It sends the topological arrangement information and gives business chain control system,
Business chain control system is set to generate business chain network topology according to the topological arrangement information.Pass through above-mentioned processing mode, business chain
Control system can obtain topological arrangement information automatically, generate business chain network topology according to the topological arrangement information.To improve
Generate the efficiency of service chain network topology.Furthermore it is also possible to be extended to LLDP message, take LLDP message
Its SR attribute information can be reported to network equipment by LLDP message by band SR attribute information, such SR.
Referring to Fig. 3, the embodiment of the invention provides a kind of method for sending information, the process flow of this method may include
Following steps:
Step 301, the SR attribute information that SR is sent is received, which includes at least the mark of the SR;
Step 302, topological arrangement information is obtained, which includes the SR attribute information and network equipment includes
SN mark;
Step 303, it sends the topological arrangement information and gives business chain control system.
In embodiments of the present invention, network equipment can be server.
Optionally, each step shown in Fig. 3 can be the execution of network equipment as shown in Figure 2.
In embodiments of the present invention, the SR attribute information that SR is sent is received, which includes at least the mark of SR;
Topological arrangement information is obtained, which includes the mark for the SN that SR attribute information and the network equipment include;It sends
The topological arrangement information gives business chain control system, and business chain control system generates Service according to the topological arrangement information
Chain network topology.By above-mentioned processing mode, business chain control system can obtain topological arrangement information automatically, be opened up according to this
It flutters configuration information and generates Service chain network topology.To improve the effect for generating service chain network topology
Rate.
Referring to fig. 4-1, the embodiment of the invention provides a kind of methods for sending information, comprising:
Step 401, SR sends SR attribute information to coupled server, which includes at least the mark of SR
Know;
Wherein, SR can be connected directly with server, i.e. chain road between SR and server does not have other equipment, SR
It can be connected on server by other equipment, for example, SR can be connected on server by router.The mark of SR can
With include SR ID, SR UUID and/or SR management IP address etc..SR attribute information can also including SR interface type,
The SN number etc. that the flow table number and/or SR that interface index, the SR of SR is supported are supported.
Wherein, SR attribute information can be sent to server by LLDP message by SR, specifically:
SR selects a bit from the reservation bit position in the system capability field of LLDP message, by the bit position
Position, the data cell that the LLDP message is arranged carry SR attribute information, and the bit of the set is for indicating the LLDP message
Data cell carries SR attribute information, sends the LLDP message and gives its server being connected directly.
Referring to fig. 4-2, LLDP message includes DA, SA, Type, FCS and data cell.DA is used to carry target MAC (Media Access Control) address,
For LLDP message, target MAC (Media Access Control) address 01-80-C2-00-00-0E.SA is for carrying source MAC.Type is for carrying
Type of message, for LLDP message, the type of message that Type is carried is 0x88CC.FCS is for carrying frame check sequence.Data sheet
Member is the information exchange main body of LLDP message, can carry different information, and data cell carries SR in embodiments of the present invention
Attribute information.
Data cell includes system capability TLV and at least one system property TLV.The system capability in data cell
TLV is located at before system property TLV.It include system capability field in system capability TLV, the bit generation in system capability field
A kind of system capability of table, system property TLV is for carrying information.
System capability TLV shown in -3 referring to fig. 4, system capability TLV include TLV type field (TLV Type), ability/
Status word length field (Capabilities/Status String Length), system capability field (System
) and enabled capable field (Enable Capabilities) Capabilities.System capability field includes two bytes, i.e.,
16 bits.A bit in every kind of system capability correspondence system capable field of data cell, if some bit
Sign is set, then system capability TLV is for illustrating that data cell has the corresponding system capability of the bit.
For example, with reference to table 1, every kind of system capability shown in table 1 and the corresponding bit of every kind of system capability, such as table 1
Fifth line record, the record show the 4th bit in routing function correspondence system capable field.If system capability word
The 4th bit set in section, then system capability TLV is for illustrating the routing function that data cell has.
Table 1
Bit | System capability |
1 | Repeater |
2 | Bridge |
3 | Access Point |
4 | Router |
5 | Telephone |
6 | Wireless Station |
7 | Station Only |
8-16 | Retain |
The 8th of system capability field still retains to sixteen bit bit as can be seen from Table 1.So of the invention real
It applies in example, a bit can be selected from the bit of reservation, and defining the corresponding system function of the bit is SR function
Energy.If the bit set of selection, show that data cell has the function of SR, and define the data cell energy with SR function
Enough carry SR attribute information.
System property TLV shown in -4 referring to fig. 4, system property TLV include TLV and payload part, and TLV for taking
Information type, each numerical value that TLV field is constituted represent a kind of information type.For example, with reference to table 2, TLV field is constituted every
A kind of information type that a numerical value represents, the information type represented such as numerical value 5 that TLV field is constituted are device name.Payload portion
Divide for carrying the corresponding information of the information type.
Table 2
Correspondingly, the data cell that the LLDP message is arranged carries SR attribute information, can be with are as follows:
The corresponding information type of TLV head carrying SR attribute information that the system property TLV of the LLDP message includes is set, if
The payload part carrying SR attribute information that the system property TLV of the LLDP message includes is set, the LLDP message is set to realize
Data cell carries SR attribute information.
Step 402, server receives the SR attribute information that SR is sent;
Specifically, server receives the LLDP message that SR is sent, and judges in the system capability field from the LLDP message
Reservation bit position whether be set, if be set, it is determined that the LLDP message carry SR attribute information, from the LLDP message
Data cell in extract SR attribute information.
Step 403: server obtains topological arrangement information, which includes SR attribute information and its own packet
The mark of the SN included.
It wherein, include at least one SN in server.There are SN lists in server, and the SN list is for storing its own
Including SN mark.The mark of SN unique identification SN, SN mark can be but unlimited in service chain network
In the management IP address of the UUID, and/or SN of ID, SN of SN.
This step can be that server selects the mark of SN, based on the received SR attribute information and selection from SN list
SN mark, establish the attachment relationship of SN and SR, the attachment relationship of the SN and SR include the mark of the SR and the SN of selection
Mark, and using the attachment relationship table of the SN and SR as topological arrangement information.The topological arrangement information can also include SR attribute
It is any in SN number that the flow table number and SR that the interface type of SR in information, the interface index of SR, SR are supported are supported etc.
It is one or more.
The mark of SN can be selected from SN list by the following two kinds mode, comprising:
The first, the mark for all SN for selecting SN list to include;
If including that the SN number that SR is supported is arranged according to the SN number that SR is supported from SN second, in the SR attribute information
The mark of SN is selected in table.
Wherein, there is a Virtual Machine Manager module, Virtual Machine Manager module can receive the SR of SR transmission in server
Attribute information, and obtain simultaneously memory topology configuration information.
Step 404, server sends topological arrangement information and gives business chain control system;
Include function library in server, in embodiments of the present invention, one is extended in function library for reading information
Function.In addition, management assembly is also arranged in the server, which has open interface, and the open interface is opened
It puts and gives business chain control system.A kind of implementation of the function library can be libvirt.
This step can be with are as follows: server calls the function for reading information from preset function library;Pass through the letter of calling
Number, which is stored in the management assembly of its own, which includes open interface.Business chain control
System calls the open interface of management assembly and calls the topological arrangement information from management assembly by the open interface.
Wherein, server calls topological arrangement information, then will call by the function called from Virtual Machine Manager module
Topological arrangement information be stored in management assembly.
Step 405: business chain control system receives the topological arrangement information, generates business link network according to topological arrangement information
Network topology.
Business chain control system is according to topological arrangement information, the SN for determining each SR and being attached on each SR, according to
The each SR and SN being attached on each SR generates business chain network topology.For example, the business chain network topology such as Fig. 4-generated
Shown in 5.
In the embodiment of the present invention, for the SR attribute information that SR is sent to server, server obtains topological arrangement information, then sends out
The topological arrangement information is sent to give business chain control system, business chain control system generates business chain according to the topological arrangement information
Network topology.By above-mentioned processing mode, business chain control system can obtain topological arrangement information automatically, according to the topological arrangement
Information generates business chain network topology.To improve the efficiency for generating service chain network topology.
Referring to Fig. 5, the embodiment of the invention provides a kind of network equipment, the network equipment includes memory 501, place
Device 502 and one or more than one program are managed, wherein the one or more programs are stored in the storage
In device 501, and it is configured to execute the one or more programs by the processor 502 to include following for carrying out
The instruction of operation:
The SR attribute information that business router SR is sent is received, the SR attribute information includes at least the mark of the SR;
Obtain topological arrangement information, the industry that the topological arrangement information includes the SR attribute information and network equipment includes
The mark of business node SN;
It sends the topological arrangement information and gives business chain control system.
The SR attribute information for receiving business router SR and sending, comprising:
Receive the Link Layer Discovery Protocol LLDP message for the carrying SR attribute information that business router SR is sent;
SR attribute information is extracted from the data cell of the LLDP message.
The memory 501 is permanent (English is non-transitory).
Preferably, the Link Layer Discovery Protocol LLDP report for receiving the carrying SR attribute information that business router SR is sent
Text, comprising:
Receive the Link Layer Discovery Protocol LLDP message that business router SR is sent;
If the reservation bit position in the system capability field of the LLDP message is set, it is determined that the LLDP message
Carry SR attribute information.
Preferably, the topological arrangement information includes at least SN and SR attachment relationship;
The acquisition topological arrangement information, comprising:
The mark of SN is selected from SN list, the SN list is used to store the mark for the SN that the network equipment includes;
According to the mark of the selected SN and the SR attribute information, SN and SR attachment relationship, the SN and SR are established
Attachment relationship includes the mark of the SR and the mark of the selected SN.
Preferably, the mark that SN is selected from SN list, comprising:
The mark for all SN for selecting the SN list to include;Alternatively,
If in the SR attribute information include the SR support SN number, according to the SR support SN number,
The mark of SN is selected from the SN list.
Preferably, the transmission topological arrangement information gives business chain control system, comprising:
The function for reading information is called from preset function library;
By the function, the topological arrangement information is stored in the management assembly on the network equipment, wherein
The management assembly includes open interface, and the open interface is used for the pipe after being called by the business chain control system
The topological arrangement information stored in reason component is transferred to the business chain control system.
Preferably, the SR attribute information further includes the interface type of the SR, the interface index of the SR, the SR branch
It is any one or more in the SN number that the flow table number held and the SR are supported.
Network equipment as shown in Figure 5 can execute and Fig. 4-1 to Fig. 4-5 according to one or more than one program
All operationss performed by server in this corresponding embodiment of five attached drawings.
In embodiments of the present invention, the SR attribute information that SR is sent is received, which includes at least the mark of SR;
Topological arrangement information is obtained, which includes the mark of the SR attribute information and the SN being attached on the SR;It sends
The topological arrangement information gives business chain control system, and business chain control system is made to generate business link network according to the topological arrangement information
Network topology.By above-mentioned processing mode, business chain control system can obtain topological arrangement information automatically, be believed according to the topological arrangement
Breath generates business chain network topology.To improve the efficiency for generating service chain network topology.
Those skilled in the art will readily occur to of the invention its after considering specification and the invention invented here of practice
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (13)
1. a kind of network equipment, which is characterized in that the network equipment includes:
Receiving module, for receiving the SR attribute information of business router SR transmission, the SR attribute information includes at least described
The mark of SR;
Module is obtained, for obtaining topological arrangement information, the topological arrangement information includes the SR attribute information and the net
The mark for the service node SN that network device includes;
Sending module gives business chain control system for sending the topological arrangement information;
Wherein, the topological arrangement information includes at least SN and SR attachment relationship;
The acquisition module includes:
Submodule is selected, for selecting the mark of SN from SN list, the SN list includes for storing the network equipment
SN mark;
Setting up submodule, for according to the SN of selection mark and the SR attribute information, establish SN and SR attachment relationship, it is described
SN and SR attachment relationship include the mark of the SR and the mark of the selected SN.
2. network equipment according to claim 1, which is characterized in that
The receiving module, the Link Layer Discovery Protocol LLDP of the carrying SR attribute information for receiving business router SR transmission
Message extracts the SR attribute information from the data cell of the LLDP message.
3. network equipment as claimed in claim 2, which is characterized in that
The receiving module, the Link Layer Discovery Protocol LLDP message sent specifically for receiving business router SR, if institute
The reservation bit position stated in the system capability field of LLDP message is set, it is determined that the LLDP message carries SR attribute letter
Breath, extracts the SR attribute information from the data cell of the LLDP message.
4. network equipment according to claim 1, which is characterized in that
The selection submodule, the mark of all SN for selecting the SN list to include;Alternatively, if the SR attribute is believed
It include the SN number that the SR is supported in breath, then the SN number supported according to the SR selects the mark of SN from the SN list
Know.
5. network equipment according to claim 1, which is characterized in that
The sending module, specifically for calling the function for reading information from preset function library;It, will by the function
The topological arrangement information is stored in the management assembly on the network equipment, wherein the management assembly includes that opening connects
Mouthful, the open interface is used for the topology that will be stored in the management assembly after being called by the business chain control system
Configuration information is transferred to the business chain control system.
6. according to claim 1 to network equipment described in any one of 5 claims, which is characterized in that the SR attribute information
It further include the SN that the interface type of the SR, the interface index of the SR, the flow table number of SR support and the SR are supported
It is any one or more in number.
7. a kind of method for sending information, which is characterized in that the described method includes:
The SR attribute information that business router SR is sent is received, the SR attribute information includes at least the mark of the SR;
Obtain topological arrangement information, the business section that the topological arrangement information includes the SR attribute information and network equipment includes
The mark of point SN;
It sends the topological arrangement information and gives business chain control system;
Wherein, the topological arrangement information includes at least SN and SR attachment relationship;
The acquisition topological arrangement information, comprising:
The mark of SN is selected from SN list, the SN list is used to store the mark for the SN that the network equipment includes;
According to the mark of the SN of selection and the SR attribute information, SN and SR attachment relationship, the SN and SR attachment relationship are established
The mark of mark and the selected SN including the SR.
8. the method according to the description of claim 7 is characterized in that the SR attribute letter for receiving business router SR and sending
Breath, comprising:
Receive the Link Layer Discovery Protocol LLDP message for the carrying SR attribute information that business router SR is sent;
SR attribute information is extracted from the data cell of the LLDP message.
9. method according to claim 8, which is characterized in that the carrying SR attribute letter for receiving business router SR and sending
The Link Layer Discovery Protocol LLDP message of breath, comprising:
Receive the Link Layer Discovery Protocol LLDP message that business router SR is sent;
If the reservation bit position in the system capability field of the LLDP message is set, it is determined that the LLDP message carries
SR attribute information.
10. the method according to the description of claim 7 is characterized in that the mark for selecting SN from SN list, comprising:
The mark for all SN for selecting the SN list to include;Alternatively,
If in the SR attribute information including the SN number that the SR is supported, according to the SN number that the SR is supported, from institute
State the mark that SN is selected in SN list.
11. the method according to the description of claim 7 is characterized in that the transmission topological arrangement information gives business chain control
System processed, comprising:
The function for reading information is called from preset function library;
By the function, the topological arrangement information is stored in the management assembly on the network equipment, wherein described
Management assembly includes open interface, and the open interface is used for the management group after being called by the business chain control system
The topological arrangement information stored in part is transferred to the business chain control system.
12. according to method described in any one of claim 7 to 11 claim, which is characterized in that the SR attribute information is also
The SN number that the flow table number and the SR that interface index, the SR of interface type, the SR including the SR are supported are supported
It is any one or more in mesh.
13. a kind of network equipment, which is characterized in that the network equipment includes memory, processor and one or one
A above program, wherein the one or more programs are stored in the memory, and are configured to by described
It includes the instruction for performing the following operation that processor, which executes the one or more programs:
The SR attribute information that business router SR is sent is received, the SR attribute information includes at least the mark of the SR;
Obtain topological arrangement information, the business section that the topological arrangement information includes the SR attribute information and network equipment includes
The mark of point SN;
It sends the topological arrangement information and gives business chain control system;
Wherein, the topological arrangement information includes at least SN and SR attachment relationship;
The acquisition topological arrangement information, comprising:
The mark of SN is selected from SN list, the SN list is used to store the mark for the SN that the network equipment includes;
According to the mark of the SN of selection and the SR attribute information, SN and SR attachment relationship, the SN and SR attachment relationship are established
The mark of mark and the selected SN including the SR.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410287382.0A CN105207909B (en) | 2014-06-24 | 2014-06-24 | A kind of method and network equipment sending information |
PCT/CN2015/080992 WO2015196923A1 (en) | 2014-06-24 | 2015-06-08 | Method for sending information and network device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410287382.0A CN105207909B (en) | 2014-06-24 | 2014-06-24 | A kind of method and network equipment sending information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105207909A CN105207909A (en) | 2015-12-30 |
CN105207909B true CN105207909B (en) | 2019-02-12 |
Family
ID=54936742
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410287382.0A Active CN105207909B (en) | 2014-06-24 | 2014-06-24 | A kind of method and network equipment sending information |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105207909B (en) |
WO (1) | WO2015196923A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017113346A1 (en) * | 2015-12-31 | 2017-07-06 | 华为技术有限公司 | Load sharing method and service switch |
CN107360011A (en) * | 2016-05-10 | 2017-11-17 | 中兴通讯股份有限公司 | A kind of business chain generation method and system |
CN108243106B (en) * | 2016-12-23 | 2020-09-04 | 华为技术有限公司 | Method for controlling network slicing, forwarding device, control device and communication system |
CN107786462B (en) * | 2017-10-30 | 2020-05-12 | 新华三技术有限公司 | Message forwarding method and device |
CN113746658B (en) * | 2020-05-30 | 2023-07-11 | 华为技术有限公司 | Method, equipment and system for determining network slice topology |
CN112600689A (en) * | 2020-12-01 | 2021-04-02 | 曙光信息产业(北京)有限公司 | Network topology generation method and device and computer equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621414A (en) * | 2009-08-21 | 2010-01-06 | 杭州华三通信技术有限公司 | Method and apparatus for discovering network resource and topology |
CN101834745A (en) * | 2010-05-17 | 2010-09-15 | 中兴通讯股份有限公司 | Method, server and system for automatically generating ONU (Optical Network Unit) network element topology |
CN102025590A (en) * | 2009-09-18 | 2011-04-20 | 中兴通讯股份有限公司 | Method and system for realizing intercommunication between new net and internet |
CN103095495A (en) * | 2013-01-06 | 2013-05-08 | 华为技术有限公司 | Network implementation configuration method, device and system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101345655A (en) * | 2008-08-15 | 2009-01-14 | 中兴通讯股份有限公司 | Method for discovering protocol and acquiring network connection information by utilization of link layer |
CN102137007B (en) * | 2011-01-17 | 2014-05-21 | 华为技术有限公司 | Method and system for generating network topology as well as coordinator |
CN102318274B (en) * | 2011-07-29 | 2013-12-18 | 华为技术有限公司 | Method and system for acquiring network connection information by means of LLDP |
CN103051629B (en) * | 2012-12-24 | 2017-02-08 | 华为技术有限公司 | Software defined network-based data processing system, method and node |
CN103491129B (en) * | 2013-07-05 | 2017-07-14 | 华为技术有限公司 | A kind of service node collocation method, pool of service nodes Register and system |
-
2014
- 2014-06-24 CN CN201410287382.0A patent/CN105207909B/en active Active
-
2015
- 2015-06-08 WO PCT/CN2015/080992 patent/WO2015196923A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621414A (en) * | 2009-08-21 | 2010-01-06 | 杭州华三通信技术有限公司 | Method and apparatus for discovering network resource and topology |
CN102025590A (en) * | 2009-09-18 | 2011-04-20 | 中兴通讯股份有限公司 | Method and system for realizing intercommunication between new net and internet |
CN101834745A (en) * | 2010-05-17 | 2010-09-15 | 中兴通讯股份有限公司 | Method, server and system for automatically generating ONU (Optical Network Unit) network element topology |
CN103095495A (en) * | 2013-01-06 | 2013-05-08 | 华为技术有限公司 | Network implementation configuration method, device and system |
Non-Patent Citations (1)
Title |
---|
Differentiated Service Function Chaining Framework draft-boucadair-network-function-chaining-03;M.Boucadair;《IETF》;20130821;正文第6-8页 |
Also Published As
Publication number | Publication date |
---|---|
CN105207909A (en) | 2015-12-30 |
WO2015196923A1 (en) | 2015-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105207909B (en) | A kind of method and network equipment sending information | |
CN102291455B (en) | Distributed cluster processing system and message processing method thereof | |
CN105763385B (en) | Traffic scheduling method and device | |
CN109428749A (en) | Network management and relevant device | |
KR101995145B1 (en) | Method operating in a fixed access network and ues | |
JP5993817B2 (en) | Routing system and method in carrier network | |
CN105051688A (en) | Extended tag networking | |
CN109660442A (en) | The method and device of multicast replication in Overlay network | |
CN105830500A (en) | Topology discovery based on sctp/x2 snooping | |
WO2017101815A1 (en) | Message processing method, device and system | |
CN101631060B (en) | Method and device for managing edge port | |
CN108712338A (en) | Message processing method and device | |
CN106302351A (en) | Collect to access and control the method for list, Apparatus and system | |
CN110036608A (en) | For Diameter message priority route by method, system and computer-readable medium | |
CN107995124A (en) | Traffic scheduling method and device | |
CN108400922A (en) | virtual local area network configuration system and method and computer program product thereof | |
CN108156034A (en) | A kind of message forwarding method and message forwarding system based on deep neural network auxiliary | |
CN108574643A (en) | Manage the method for network function example and corresponding network element | |
EP2983333B1 (en) | A system and method for providing routes to physical residential gateways | |
CN105656744B (en) | Identification method, equipment and the service chaining in service chaining path | |
CN104838624A (en) | Method, apparatus and system for controlling forwarding of service data in virtual network | |
JP6245251B2 (en) | Communication system, physical machine, virtual network management device, and network control method | |
CN105337939B (en) | A kind of method and device that BGP logical topology generates | |
CN104871497B (en) | Flow table treating method and apparatus | |
CN104639373B (en) | Port-mark acquisition methods and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |