CN108632060B - Method and device for router cascade - Google Patents

Method and device for router cascade Download PDF

Info

Publication number
CN108632060B
CN108632060B CN201710164294.5A CN201710164294A CN108632060B CN 108632060 B CN108632060 B CN 108632060B CN 201710164294 A CN201710164294 A CN 201710164294A CN 108632060 B CN108632060 B CN 108632060B
Authority
CN
China
Prior art keywords
frame
single board
board
main control
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710164294.5A
Other languages
Chinese (zh)
Other versions
CN108632060A (en
Inventor
马苗苗
孙思
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710164294.5A priority Critical patent/CN108632060B/en
Publication of CN108632060A publication Critical patent/CN108632060A/en
Application granted granted Critical
Publication of CN108632060B publication Critical patent/CN108632060B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/56Routing software
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers

Abstract

The invention discloses a method and a device for realizing a router cluster, which relate to the technical field of communication, and the method comprises the following steps: when starting the router cluster, the main control single board of the frame establishes a communication channel between the single board of the frame line card and the inter-frame communication channel of the single board of the frame line card connected with the single board of the frame line card according to the pre-stored interface configuration information of the single board of the frame line card; the main control single board of the frame carries out software main and standby competition according to the established inter-frame communication channel, and forms a main control single board of the software main, a standby main control single board of the software and a common main control single board in the router cluster.

Description

Method and device for router cascade
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for router concatenation.
Background
With the rapid development of the internet, the IP network becomes an indispensable tool in people's daily work and life, and internet applications are changing from initial chatting, e-mail, to today's P2P downloading, video chatting, etc., regardless of application mode and network traffic. Accordingly, the device capability of the broadband internet network is also highly required, and accordingly, the device capability of the broadband internet network is continuously improved, especially for the high-end router at the core of the backbone network. The telecommunication of the IP network puts forward high requirements on the aspects of capacity, safety and reliability, multi-service bearing capacity and the like of a high-end core router, and a backbone network core router must have good expansibility and upgrading capability so as to adapt to the trend of changeable and rapid development of the Internet. In order to meet the requirements, the capacity of a single frame of the high-end router is larger and larger, and the types of ports are more and more; the safety and reliability are greatly improved. The expansion of the single frame of the high-end router has certain limitations, and with the improvement of the demand of the high-end router and the gradual development of the capacity of the single frame of the high-end router to the limit, the router cluster is produced.
The router cluster is formed by interconnecting a plurality of routers to form a logically integrated router system. The cluster effectively solves the problem of expansibility, and can meet the requirements of capacity improvement and multi-service bearing by using a cheaper means on the premise of convenient maintenance and no increase of network complexity.
In the prior art, a router cluster is linked with a central switching board of other frames through a main control board, and establishes a communication channel between the frames to realize router cascade. Because the master control single board is the core of system control and management of the router system, and the line card single board is the forwarding channel of the router system, the single board role determines that the physical interfaces on the master control single board are single in type and small in quantity; the physical interfaces on the single board of the line card have various types and larger quantity. The router cluster device is realized through master control cascade connection, a cascade connection interface needs to be reserved in system design, the flexibility of the system design is reduced, and the extension of the router cluster is greatly limited.
Disclosure of Invention
The technical problem solved by the scheme provided by the embodiment of the invention is that the type of the interfaces on the single board for cascading is single, the number of the interfaces is small, the cascading interfaces are required to be reserved in the system design, the flexibility of the system design is reduced, and the extension of the router cluster is limited.
The method for router cascade provided by the embodiment of the invention comprises the following steps:
when starting the router cluster, the main control single board of the frame establishes a communication channel between the single board of the frame line card and the inter-frame communication channel of the single board of the frame line card connected with the single board of the frame line card according to the pre-stored interface configuration information of the single board of the frame line card;
the main control single board of the frame carries out software main and standby competition according to the established inter-frame communication channel, and forms a main control single board of the software main, a standby main control single board of the software and a common main control single board in the router cluster.
Preferably, before starting the router cluster, the method further includes:
the main control single board of the frame sends the interface attribute parameters to the single board of the line card of the frame;
and the main control single board of the frame receives and stores interface configuration information for the data communication interface to be configured by the single board of the frame line card according to the interface attribute parameters.
Preferably, the establishing, by the frame master control board, the inter-frame communication channel between the frame master control board and the frame-to-frame communication channel, which is connected to the frame master control board, according to the pre-stored interface configuration information of the frame master control board, includes:
the main control single board of the frame determines the interface configuration of the data communication interface of the single board of the line card of the frame by inquiring the interface configuration information in the database;
the frame main control single board sends a request for establishing an inter-frame communication channel to a pair frame main control single board to be connected with the frame main control single board according to the determined interface configuration of the data communication interface on the frame line card single board;
and the frame master control single board judges whether the inter-frame communication channel between the frame main control single board and the frame-to-frame card single board is successfully established according to whether the inter-frame communication channel response corresponding to the frame master control single board is received or not.
Preferably, the determining, by the frame master control board, whether the inter-frame communication channel between the frame card board and the counter frame card board is successfully established according to whether the inter-frame communication channel establishment response returned by the counter frame master control board is received includes:
if the frame master control single board receives the response of the corresponding inter-frame communication channel establishment returned by the frame master control single board, the inter-frame communication channel establishment between the frame main control single board and the frame main control single board is judged to be successful;
if the frame master control single board does not receive the response of the corresponding inter-frame communication channel establishment returned by the frame master control single board, the inter-frame communication channel establishment between the frame master control single board and the frame card single board is judged to be failed.
Preferably, when the frame master control board determines that the inter-frame communication channel between the frame card board and the frame card board is successfully established, the interface configuration of the frame card board data communication interface is the same as the interface configuration of the frame card board data communication interface.
The method for router cascade provided by the embodiment of the invention comprises the following steps:
the frame line card single board receives the interface attribute parameters sent by the frame main control single board and carries out interface configuration on the data communication interface according to the interface attribute parameters;
when receiving the cascade request sent by the main control single board of the frame, the single board of the frame line card connects the data communication interface with the interface configuration according to the cascade request, so as to realize the router cluster.
The method for router cascade provided by the embodiment of the invention comprises the following steps:
the frame sends a cascade request containing interface configuration information of the frame line card single board to a pair frame;
and receiving the frame and generating a cascade response for cascading with the frame according to the cascade request so that the frame connects the frame card single board and the frame card single board according to the cascade response to realize router clustering.
The device for router cascade provided by the embodiment of the invention comprises:
establishing an inter-frame communication channel module, which is used for establishing an inter-frame communication channel between the frame line card single board and the frame line card single board connected with the frame line card single board according to the pre-stored interface configuration information of the frame line card single board when the router cluster is started;
and the router cascade module is used for performing software main-standby competition by utilizing the established inter-frame communication channel and forming a software main-use main control single board, a software standby main control single board and a common main control single board in the router cluster.
The embodiment of the invention provides a device for cascading routers, which comprises:
the interface configuration module is used for receiving the interface attribute parameters sent by the main control single board of the frame and carrying out interface configuration on the data communication interface according to the interface attribute parameters;
and the router cluster module is used for connecting the data communication interface which is subjected to interface configuration with the data communication interface of the wire card single board according to the cascade request when the cascade request sent by the main control single board of the frame is received, so that router cluster is realized.
The device for router cascade provided by the embodiment of the invention comprises:
the frame is used for sending a cascade request containing interface configuration information of the frame line card single board to a pair frame;
and the opposite frame is used for receiving and generating a cascade response for cascading with the frame according to the cascade request, so that the frame connects the frame card single board and the opposite frame card single board according to the cascade response to realize router clustering.
According to the scheme provided by the embodiment of the invention, the router cascade is realized through various types of data communication interfaces of the line card single board and a large number of interfaces, so that interfaces do not need to be reserved for the router cascade in the system structure design, the flexibility of the system design is improved, and the router cluster is more conveniently expanded.
Drawings
Fig. 1 is a flowchart of a method for router concatenation according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for router concatenation according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for router concatenation according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a router cascade apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a second router concatenation apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a frame structure provided in an embodiment of the present invention;
fig. 7 is a schematic diagram of a data communication physical link structure of a router cluster device cascaded by line cards according to an embodiment of the present invention;
fig. 8 is a schematic overall structure diagram of a router cluster apparatus cascaded by line cards according to an embodiment of the present invention;
fig. 9 is a flowchart of a cascade implementation of a router cluster apparatus cascaded by line cards according to an embodiment of the present invention;
fig. 10 is a flowchart of a router cluster device cascaded by line cards according to an embodiment of the present invention, for establishing an inter-frame communication channel.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and it should be understood that the preferred embodiments described below are only for the purpose of illustrating and explaining the present invention, and are not to be construed as limiting the present invention.
Fig. 1 is a flowchart of a method for router concatenation according to an embodiment of the present invention, as shown in fig. 1, including:
step S101: when the router cluster is started, the frame master control single board establishes an inter-frame communication channel between the frame card single board and a frame card single board connected with the frame card single board according to prestored interface configuration information of the frame card single board;
step S102: the main control single board of the frame carries out software main and standby competition according to the established inter-frame communication channel, and forms a main control single board of the software main, a standby main control single board of the software and a common main control single board in the router cluster.
Wherein before starting the router cluster, the method further comprises: the main control single board of the frame sends the interface attribute parameters to the single board of the line card of the frame; the main control single board of the frame receives and stores interface configuration information for the data communication interface to be configured by the single board of the frame line card according to the interface attribute parameters.
Wherein, the establishing, by the frame master control board, the inter-frame communication channel between the frame master control board and the frame master control board connected to the frame master control board according to the pre-stored interface configuration information of the frame master control board includes: the main control single board of the frame determines the interface configuration of the data communication interface of the single board of the line card of the frame by inquiring the interface configuration information in the database; the frame main control single board sends a request for establishing an inter-frame communication channel to a pair frame main control single board to be connected with the frame main control single board according to the determined interface configuration of the data communication interface on the frame line card single board; and the frame master control single board judges whether the inter-frame communication channel between the frame main control single board and the frame-to-frame card single board is successfully established according to whether the inter-frame communication channel response corresponding to the frame master control single board is received or not.
Wherein, the determining, by the frame master control board, whether the inter-frame communication channel between the frame master control board and the frame-to-frame card board is successfully established according to whether the inter-frame communication channel response returned by the frame master control board is received includes: if the frame master control single board receives the response of the corresponding inter-frame communication channel establishment returned by the frame master control single board, the inter-frame communication channel establishment between the frame main control single board and the frame main control single board is judged to be successful; if the frame master control single board does not receive the response of the corresponding inter-frame communication channel establishment returned by the frame master control single board, the inter-frame communication channel establishment between the frame master control single board and the frame card single board is judged to be failed.
When the frame master control single board judges that the inter-frame communication channel between the frame card single board and the frame card single board is successfully established, the interface configuration of the frame card single board data communication interface is the same as the interface configuration of the frame card single board data communication interface.
When the router cluster is started, the main control single board of each machine frame forming the router cluster establishes an inter-frame communication channel with a frame line card single board data communication interface connected with the main control single board through the line card single board data communication interface according to the stored interface configuration information;
fig. 2 is a second flowchart of a method for router concatenation according to an embodiment of the present invention, and as shown in fig. 2, the method includes:
step S201: the frame line card single board receives the interface attribute parameters sent by the frame main control single board and carries out interface configuration on the data communication interface according to the interface attribute parameters;
step S202: when receiving the cascade request sent by the main control single board of the frame, the single board of the frame line card connects the data communication interface with the interface configuration according to the cascade request, so as to realize the router cluster.
Fig. 3 is a flowchart of a method for router concatenation according to an embodiment of the present invention, and as shown in fig. 3, the method includes:
step S301: the frame sends a cascade request containing interface configuration information of the frame line card single board to a pair frame;
step S302: and receiving the frame and generating a cascade response for cascading with the frame according to the cascade request so that the frame connects the frame card single board and the frame card single board according to the cascade response to realize router clustering.
In summary, the main control board of each machine frame constituting the router cluster receives and stores interface configuration information of interface configuration of the data communication interface by the line card board according to the attribute parameters by sending the attribute parameters for configuring the data communication interface to the line card board; when the router cluster is started, the main control single board of each machine frame forming the router cluster establishes an inter-frame communication channel with a frame line card single board data communication interface connected with the main control single board through the line card single board data communication interface according to the stored interface configuration information; after the machine frames forming the router cluster establish the inter-frame communication channel, software main-standby competition is carried out, and a software main-use main control single board, a software standby main control single board and a common main control single board are formed in the router cluster.
The method for configuring the interface of the data communication interface by the line card single board includes that the master control single board of each machine frame forming the router cluster sends attribute parameters for configuring the data communication interface to the line card single board, and receives and stores interface configuration information for the line card single board to perform interface configuration on the data communication interface according to the attribute parameters, including: the main control single board of each machine frame forming the router cluster sends the received attribute parameters for configuring the data communication interface to the line card single board; and the master control single board of each machine frame forming the router cluster receives and stores interface configuration information of interface configuration of the data communication interface of the line card single board according to the attribute parameters. Specifically, the sending, by the master control board of each machine shelf forming the router cluster, the received attribute parameter for configuring the data communication interface to the line card board includes: the main control single board of each machine frame forming the router cluster is connected with the network side and receives the attribute parameters which are sent by the network side and used for configuring the data communication interface; and the master control single board of each machine frame forming the router cluster sends the attribute parameters for configuring the data communication interface to the line card single board so that the line card single board performs interface configuration on the data communication interface according to the attribute parameters.
Wherein, the main control single board of each machine frame forming the router cluster establishes an inter-frame communication channel with the frame line card single board data communication interface connected with the main control single board via the line card single board data communication interface according to the saved interface configuration information, and the inter-frame communication channel comprises: the master control single board of each machine frame forming the router cluster determines the interface configuration of the data communication interface on the line card single board by inquiring the stored interface configuration information; the main control single board of each machine frame forming the router cluster sends a request for establishing an inter-frame communication channel to the main control single board of a frame connected with the main control single board through the line card single board data communication interface according to the determined interface configuration of the data communication interface on the line card single board; when the main control single board of each machine frame forming the router cluster receives the response message for establishing the inter-frame communication channel returned by the main control single board connected with the counter frame through the line card single board data communication interface, the inter-frame communication channel is established by using the data communication interface of the line card single board and the data communication interface connected with the counter line card single board. The interface configuration of the data communication interface of each machine frame line card veneer which is connected and forms the router cluster is the same.
Fig. 4 is a schematic diagram of a router cascade apparatus according to an embodiment of the present invention, as shown in fig. 4, including: an inter-frame communication channel establishing module 401, configured to establish, when starting a router cluster, an inter-frame communication channel for the wire card board, where the wire card board is connected to the inter-frame communication channel, according to pre-stored interface configuration information of the wire card board; the router cascade module 402 is configured to perform software active/standby competition by using the established inter-frame communication channel, and form a software active main control board, a software standby main control board, and a common main control board in the router cluster.
Fig. 5 is a schematic diagram of a second router concatenation device according to an embodiment of the present invention, as shown in fig. 5, including: an interface configuration module 501, configured to receive an interface attribute parameter sent by the main control board of the frame, and perform interface configuration on a data communication interface according to the interface attribute parameter; the router cluster module 502 is configured to, when receiving the cascade request sent by the frame master control board, connect the data communication interface configured by the interface with the data communication interface of the frame line card board according to the cascade request, so as to implement router cluster.
Fig. 6 is a schematic diagram of a machine frame structure provided in an embodiment of the present invention, and as shown in fig. 6, the present invention includes a master single board, a line card single board, and another single board, and a router cluster device is formed by cascading two or more machine frames. Before the main control single board on the same machine frame is powered on, the main control single board is divided into a physical main control single board and a physical standby main control single board; after software active-standby competition, the main control single board in the router cluster is divided into a software active main control single board, a software standby main control single board and a common main control single board.
Fig. 7 is a schematic diagram of a data communication physical link structure of a router cluster device through cascade of line cards according to an embodiment of the present invention, as shown in fig. 7, including: the frame 701 is configured to send a cascade request including interface configuration information of the frame line card board to a counterpart frame; the pair block 702 is configured to receive and generate a cascade response for cascading with the block according to the cascade request, so that the block connects the frame card board and the pair frame card board according to the cascade response to implement the router cluster. The present block 701 and the pair block 702 both include a master 703, a line card 704, and a physical link 705, and the like.
The master control 703 is a core of system control and management of the router cluster apparatus. And the single boards are connected with other single boards in the same frame to form a data channel for communication in the frame. Before the communication link between frames is established, the main control single boards of all machine frames forming the router cluster device have the same role and play the same role; after the inter-frame communication link is established, the main control single boards of each machine frame determine the difference between the functions of the main control single board with main software, the main control single board with standby software and the main control single boards with non-main-standby software through main-standby software competition, and the main control single boards with various roles play in the router cluster device.
The line card 704, the forwarding board of the router cluster, and one line card board may be connected to multiple front-end interface boards to support plugging and unplugging of the front-end interface boards. The data communication with the main control single board is realized by connecting the data communication with the main control single board in the same frame; the multi-type data communication interfaces are connected with the data communication interfaces on other frame line card single boards through the interfaces to form data communication channels among frames. Through the cascade of the line cards, 2 or more than 2 machine frames are cascaded through the line cards to form the router cluster device.
The physical link 705 is linked through data communication interfaces on the line card board, and may link a plurality of interfaces to form a plurality of links a1 to an, and form a plurality of data communication channels between frames, where the links may be allocated to transmit different types of data packets.
Multiple data communication interfaces can be connected between the frames forming the router cluster, multiple communication links are formed between the frames, and the communication channel function can be controlled by software.
Fig. 8 is a schematic diagram of an overall structure of a router cluster apparatus cascaded by line cards according to an embodiment of the present invention, and as shown in fig. 8, the router cluster apparatus includes:
the data communication channel 801 is a forwarding channel for protocol messages and data messages, and each board includes a data communication channel, which is formed by connecting devices such as a switch chip and an FPGA. The output port of the data communication channel is respectively connected with the central processing unit and the data communication channel ports of other line card single boards in the frame, and protocol messages and data messages sent or forwarded by other line card single boards are sent to the central processing unit for processing in the upward sending direction; and in the issuing direction, receiving and forwarding the protocol message and the data message sent by the central processing unit.
The data communication channel 802 is a forwarding channel for protocol messages and data messages, and is formed by connecting devices such as a switch chip and an FPGA. The interface board is distributed on the front splicing interface board and comprises a plurality of physical interfaces of different types, wherein a part of the interfaces are used for being connected with the data communication interfaces of the frames, an inter-frame communication channel is established, and the output ports of the interfaces are respectively connected with the data communication channel of the main control single board of the same frame and the front splicing interface board of the same single board, so that the protocol message and the data message received from the front splicing interface board can be forwarded to the main control single board, the protocol message and the data message received from the main control single board can be forwarded to the front splicing interface board, and the front splicing interface board can forward to other machine frames; one part is connected with different networks and is a data channel for network data packets to enter and exit the router cluster.
The front splicing interface plate 803 is distributed at the front end of the line card and is divided into a plurality of types, data communication interfaces are distributed on the front splicing interface plate, the data communication interfaces contained in each type of front splicing interface plate are different, and meanwhile, the line card single plate supports the plugging and unplugging of the front splicing interface plate, so that the line card can be in butt joint with the plurality of data communication interfaces, and data transmission is carried out with other machine frames in different transmission modes by configuring the attributes of the data communication interfaces. Different types of data communication interfaces are distributed on the front splicing interface plate, and the cascading of machine frames is realized through the connection of the data communication interfaces;
the data communication interface 804 is distributed on the front splice interface board, comprises a plurality of physical interfaces and is connected with the data communication interface of the opposite frame, the attribute of the physical interface can be changed through software configuration, so as to communicate with the opposite frame through different data transmission modes, and the data communication interface is a data channel for communication between frames. Before the router cluster device is established, in the data receiving direction, a data packet is formed by removing the encapsulation of a communication interface from a data frame received from a certain physical interface and is stored in a data communication channel; and in the data sending direction, according to the information in the data communication channel, taking out the data packet, adding the communication interface package, and sending out the data packet at the corresponding physical interface. Physical interface refers to a specific data communication interface entity, which can be configured as an optical interface, an electrical interface, or other interfaces capable of being used for inter-frame communication.
The information communication interface 805 is used for providing an external operation interface, receiving information such as configuration, management and control, and receiving configuration operation of the data communication interface in the invention. That is, the router cluster device is used for providing information communication (including resource management database information) between the router cluster device and the outside world, and is not used as a data communication interface.
The above is the description of hardware of the router cluster device through line card cascade, and the following explains the software composition of the device:
system configuration management 806 is used to parse and pass information exchanged between the user and the router cluster. Receiving and analyzing configuration parameters of a data communication interface in a receiving direction; and in the sending direction, various information in the process of configuring the data communication interface parameters is analyzed and transmitted in real time.
The resource management center 807 integrally manages various resources of the router cluster, including data communication interfaces. Interacting with the resource management client, issuing a resource management command, and receiving resource management state information.
Resource management client 808 manages the local resource management, including the data communication interface. Interacting with the resource management center, configuring resource attribute parameters according to the operation command of the resource management center, monitoring the resource state in real time, and reporting to the resource management center.
The resource management database operation engine 809 is responsible for operating and maintaining the resource management database 801, including retrieving, adding, and deleting storage unit data of the resource management database.
The topology discovery module 811 discovers and stores inter-frame communication channels of the router cluster.
The data communication channel management modules 812 and 813 are responsible for managing the data communication channels 801 and 802, respectively.
The receiving and sending module 814 is responsible for completing the receiving and sending of the data packets, including the protocol transceiving packets and the data transceiving packets. In the process of realizing the router cluster, the receiving and sending module sends a request for establishing an inter-frame communication channel to the opposite frame, receives the request for establishing the inter-frame communication channel of the opposite frame, and ensures that the protocol message and the data message channel of the whole router are smooth.
A central processor 815, which exchanges and manages and controls information with the outside through an information exchange interface; interface attributes of a data communication interface are configured by calling a system configuration management module and a resource management center; the method comprises the steps that a request for establishing an inter-frame communication channel is sent by calling a topology discovery module and a receiving and sending data packet module, and the inter-frame communication channel is established by responding to a request message for establishing the inter-frame communication channel of a counter frame; in addition, the central processing unit also carries out the functions of initial configuration and management on the channel by calling the data communication channel management module.
Fig. 9 is a flow of implementing cascade connection of a router cluster device through cascade connection of line cards according to an embodiment of the present invention, as shown in fig. 9, including:
step 1: and establishing a physical link of the communication channel between the frames.
The data communication interface on the line card single board provides a standard physical interface for connecting with the data communication interface of the frame line card single board to form an inter-frame communication channel.
Step 2: setting a configuration of the data communication interface.
Starting each machine frame forming the router cluster device in a single frame mode, configuring attribute parameters of a data communication interface by a user through an information exchange interface, analyzing the parameters through a system configuration management module, sending the parameters to a resource management center, and informing a resource management client side of the configuration parameters by the resource management center for setting. Namely, the physical link of the inter-frame communication is established in the single-frame mode, the data communication interface attribute of the connecting machine frame is configured, and the data communication interface attribute is stored in a database.
And step 3: the configuration of the data communication interface is saved.
After the attribute parameters of the data communication interface are successfully set, the resource management center calls a resource management database operation engine and stores the interface configuration into a resource management database.
And 4, step 4: starting in a cluster mode, and loading a basic process by each machine frame.
In the cluster mode, all machine frames forming the router cluster are restarted, and each machine frame starts a basic process, including a system configuration management module, a resource management center, a resource management database operation engine, a topology discovery module, a data packet receiving and sending module, a resource management client of a line card single plate and a data communication channel management module of a master control single plate.
And 5: an inter-frame communication channel is established as shown in fig. 10.
The topology discovery module obtains the data communication interface information stored in the step through the resource management center, and sends a request message for establishing the inter-frame communication channel to the topology discovery module for the frame according to the interface information.
Step 6: and software main and standby competition is realized.
The topology discovery module of the physical main control single board with a small frame number confirms which communication channels are available according to the principle, decides the function of each channel, simultaneously issues the information, and simultaneously all the main control single boards of the router cluster realize the software main and standby competition;
and 7: and all processes of all single boards are powered on.
Fig. 10 is a flow of establishing an inter-frame communication channel in a router cluster device cascaded by line cards according to an embodiment of the present invention, and as shown in fig. 10, the flow includes:
step 1: the data communication channel is initialized. The topology discovery module calls a resource management database operation engine, inquires the configuration information of the data communication interface in the resource management database, and simultaneously informs the data communication channel management module of initializing the data communication channel.
Step 2: a request is made to establish a data communication channel. And the topology discovery module sends a request for establishing an inter-frame communication channel to the frame according to the data communication interface configuration information acquired in the previous step. The request message is forwarded to a frame through a receiving and sending data packet module, a data communication channel of a main control single board, a data communication channel of a line card single board, a front splicing interface board and a data communication interface; after the request message reaches the alignment frame, the request message reaches the topology discovery module through the data communication interface, the front splicing interface board, the data communication channel of the line card single board, the data communication channel of the main control single board and the forwarding of the data packet receiving and sending module.
And step 3: whether a reply to the box is received. And the opposite frame responds after receiving the request for establishing the data communication channel between frames of the opposite frame. The response message also reaches the topology discovery module of the frame after passing through the forwarding channel of the previous step. If the response of establishing the communication channel between the frames is not received, turning to the step 4; if a response for establishing the inter-frame communication channel is received, go to step 5.
And 4, step 4: and deleting the inter-frame communication channel information. And the topology discovery module calls a resource management database operation engine to delete the configuration information in the corresponding resource management database, and the process is finished.
And 5: and if the link is available, updating the resource management database information.
Step 6: and judging whether the frame is a small frame number or not, if not, waiting, and if so, turning to the next step.
And 7: and releasing the topology information. And deciding which inter-frame communication channels are available and the function of each communication channel according to rules, and issuing the information to receiving and sending data packets and a data communication channel management module of the two cascaded machine frames.
According to the scheme provided by the embodiment of the invention, the router cluster cascade is realized through the line card, so that a cascade interface is not required to be reserved in the system design, the flexibility of the system design is improved, the interface types are diversified, and the extension of the router cluster is facilitated.
Although the present invention has been described in detail hereinabove, the present invention is not limited thereto, and various modifications can be made by those skilled in the art in light of the principle of the present invention. Thus, modifications made in accordance with the principles of the present invention should be understood to fall within the scope of the present invention.

Claims (10)

1. A method of router concatenation, comprising:
when starting the router cluster, the main control single board of the frame establishes a communication channel between the single board of the frame line card and the inter-frame communication channel of the single board of the frame line card connected with the single board of the frame line card according to the pre-stored interface configuration information of the single board of the frame line card;
the main control single board of the frame carries out software main and standby competition according to the established inter-frame communication channel, and forms a main control single board of the software main, a standby main control single board of the software and a common main control single board in the router cluster.
2. The method of claim 1, prior to initiating a router cluster, further comprising:
the main control single board of the frame sends the interface attribute parameters to the single board of the line card of the frame;
and the main control single board of the frame receives and stores interface configuration information for the data communication interface to be configured by the single board of the frame line card according to the interface attribute parameters.
3. The method according to claim 1, wherein the establishing, by the local frame master control board, the inter-frame communication channel between the local frame card board and the pair of frame card boards connected to the local frame card board according to the pre-stored interface configuration information of the local frame card board includes:
the main control single board of the frame determines the interface configuration of the data communication interface of the single board of the line card of the frame by inquiring the interface configuration information in the database;
the frame main control single board sends a request for establishing an inter-frame communication channel to a pair frame main control single board to be connected with the frame main control single board according to the determined interface configuration of the data communication interface on the frame line card single board;
and the frame master control single board judges whether the inter-frame communication channel between the frame main control single board and the frame-to-frame card single board is successfully established according to whether the inter-frame communication channel response corresponding to the frame master control single board is received or not.
4. The method according to claim 3, wherein the determining, by the local frame master control board, whether the inter-frame communication channel between the local frame card board and the peer frame card board is successfully established according to whether the response of the peer frame master control board to establish the inter-frame communication channel is received or not includes:
if the frame master control single board receives the response of the corresponding inter-frame communication channel establishment returned by the frame master control single board, the inter-frame communication channel establishment between the frame main control single board and the frame main control single board is judged to be successful;
if the frame master control single board does not receive the response of the corresponding inter-frame communication channel establishment returned by the frame master control single board, the inter-frame communication channel establishment between the frame master control single board and the frame card single board is judged to be failed.
5. The method according to claim 4, wherein when the frame master control board determines that the inter-frame communication channel between the frame card board and the line card board is successfully established, the interface configuration of the data communication interface of the frame card board is the same as the interface configuration of the data communication interface of the line card board.
6. A method of router concatenation, comprising:
the frame line card single board receives the interface attribute parameters sent by the frame main control single board and carries out interface configuration on the data communication interface according to the interface attribute parameters;
when receiving the cascade request sent by the main control single board of the frame, the single board of the frame line card connects the data communication interface with the interface configuration according to the cascade request, so as to realize the router cluster.
7. A method of router concatenation, comprising:
the frame sends a cascade request containing interface configuration information of the frame line card single board to a pair frame;
and receiving the frame and generating a cascade response for cascading with the frame according to the cascade request so that the frame connects the frame card single board and the frame card single board according to the cascade response to realize router clustering.
8. An apparatus of router concatenation, comprising:
establishing an inter-frame communication channel module, which is used for establishing an inter-frame communication channel between the frame line card single board and the frame line card single board connected with the frame line card single board according to the pre-stored interface configuration information of the frame line card single board when the router cluster is started;
and the router cascade module is used for performing software main-standby competition by utilizing the established inter-frame communication channel and forming a software main-use main control single board, a software standby main control single board and a common main control single board in the router cluster.
9. An apparatus of router concatenation, comprising:
the interface configuration module is used for receiving the interface attribute parameters sent by the main control single board of the frame and carrying out interface configuration on the data communication interface according to the interface attribute parameters;
and the router cluster module is used for connecting the data communication interface which is subjected to interface configuration with the data communication interface of the wire card single board according to the cascade request when the cascade request sent by the main control single board of the frame is received, so that router cluster is realized.
10. An apparatus of router concatenation, comprising:
the frame is used for sending a cascade request containing interface configuration information of the frame line card single board to a pair frame;
and the opposite frame is used for receiving and generating a cascade response for cascading with the frame according to the cascade request, so that the frame connects the frame card single board and the opposite frame card single board according to the cascade response to realize router clustering.
CN201710164294.5A 2017-03-20 2017-03-20 Method and device for router cascade Active CN108632060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710164294.5A CN108632060B (en) 2017-03-20 2017-03-20 Method and device for router cascade

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710164294.5A CN108632060B (en) 2017-03-20 2017-03-20 Method and device for router cascade

Publications (2)

Publication Number Publication Date
CN108632060A CN108632060A (en) 2018-10-09
CN108632060B true CN108632060B (en) 2022-07-08

Family

ID=63687504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710164294.5A Active CN108632060B (en) 2017-03-20 2017-03-20 Method and device for router cascade

Country Status (1)

Country Link
CN (1) CN108632060B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109982172B (en) * 2019-03-22 2020-08-04 烽火通信科技股份有限公司 PON access system subframe cascading system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859244A (en) * 2005-10-19 2006-11-08 华为技术有限公司 Master and slave frame cascade system in cut-in device
CN102123070A (en) * 2010-01-11 2011-07-13 中兴通讯股份有限公司 System for realizing master/slave frame cascade protection and load sharing

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937782B (en) * 2006-08-04 2010-04-14 华为数字技术有限公司 Frame device and its message transmitting method
CN101394309A (en) * 2008-10-29 2009-03-25 华为技术有限公司 Cluster system expanding method, apparatus and cluster system
CN101917337B (en) * 2010-08-09 2015-06-03 中兴通讯股份有限公司 Device and method for interconnecting router cluster middle plates
CN102316035B (en) * 2011-09-06 2017-05-10 中兴通讯股份有限公司 Foreground and background communication and data safety processing method in cluster router system
CN102594450B (en) * 2012-02-22 2015-06-03 中兴通讯股份有限公司 Method and device for preventing wrong insertion of optical cable of cluster router

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859244A (en) * 2005-10-19 2006-11-08 华为技术有限公司 Master and slave frame cascade system in cut-in device
CN102123070A (en) * 2010-01-11 2011-07-13 中兴通讯股份有限公司 System for realizing master/slave frame cascade protection and load sharing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
路由器多框集群的设计与实现;彭莎等;《电脑知识与技术》;20090605(第16期);全文 *

Also Published As

Publication number Publication date
CN108632060A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
RU2262806C2 (en) Method for recognition of functions from service, administration and operation functions set in passive optical ethernet network
CN102075343B (en) An out-of-band management realization method, a system for the same and an out-of-band management switch
EP2961112B1 (en) Message forwarding system, method and device
US6724756B2 (en) Method for introducing switched virtual connection call redundancy in asynchronous transfer mode networks
JPH11194981A (en) Input/output device
US10652730B2 (en) Traffic-aware group reformation in a multi-group P2P network
CN105871719A (en) Processing method and apparatus of routing status and/or policy information
JP2000115200A (en) Method and device for reducing call setting rate in atm network
US20110208844A1 (en) Cluster system, method and device for expanding cluster system
KR20040086355A (en) Station apparatus, method for resource allocation in station apraratus, and mobile communication system
CN107645394B (en) Switch configuration method in SDN network
US8670347B2 (en) Method, device and system for automatically discovering optical fibre connection within network element
CN108632060B (en) Method and device for router cascade
CN112217680B (en) Controller capability benchmark test method and device based on software-defined wide area network
CN102263808B (en) Session control service method, device and system
JPH10173670A (en) Network system and call-setting method
US20040190902A1 (en) WDM network system and WDM node for use therein
US7110364B1 (en) Optical link adjacency discovery protocol and an optical network therefor
CN113660104A (en) Communication method, UP device and CP device
CN107707470B (en) OSPF area number configuration method and equipment
CN113746574B (en) Information interaction method, system and equipment
CN112737892B (en) Switch performance test method and system
CN214480674U (en) Bridge and combined network
WO2024066536A1 (en) Software upgrading method, related device, and network
WO2007073618A1 (en) A connection controlling method and means used to the multicast service in the automatic switched optical network

Legal Events

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