WO2015184846A1 - 路由器配置方法及路由器、路由器控制装置和通信系统 - Google Patents

路由器配置方法及路由器、路由器控制装置和通信系统 Download PDF

Info

Publication number
WO2015184846A1
WO2015184846A1 PCT/CN2015/072258 CN2015072258W WO2015184846A1 WO 2015184846 A1 WO2015184846 A1 WO 2015184846A1 CN 2015072258 W CN2015072258 W CN 2015072258W WO 2015184846 A1 WO2015184846 A1 WO 2015184846A1
Authority
WO
WIPO (PCT)
Prior art keywords
version
board
interface
router
information
Prior art date
Application number
PCT/CN2015/072258
Other languages
English (en)
French (fr)
Inventor
董如婵
杨骐
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015184846A1 publication Critical patent/WO2015184846A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Definitions

  • the present invention relates to the field of communications, and in particular, to a router configuration method, a router, a router control device, and a communication system.
  • the interface board is a device in the design structure, and the device is used to implement access to different rates and different types of interface services, and one or more high-speed network interfaces are provided on the board.
  • the function of the interface board is to convert signals on the physical line and data frames of the link layer to each other. After receiving the data frame and converting it into a data packet, the interface board sends the packet to the processing board, and the forwarding engine searches for the destination port to perform high-speed packet forwarding.
  • the embodiment of the present invention provides a router configuration method, a router, a router control device, and a communication system, to at least solve the problem of inserting a new interface board into a router in the related art, and manually restarting the processing board system to replace the new version. problem.
  • the present invention provides a router configuration method, where the router includes a processing board, and the method includes:
  • the processing board acquires version information of the interface board, and sends the version information to the router control device.
  • the processing device Receiving, by the processing device, a version package that is fed back by the router control device, where the version package is a version package that is obtained by the router control device and corresponding to the version information;
  • the processing board performs corresponding configuration according to the version package.
  • the obtaining, by the processing board, the version information includes: after receiving the insertion signal of the interface board, the processing board detects the interface board, and obtains a version of the interface board. information.
  • the version package includes an interface board configuration file and/or a forwarding engine configuration file of the processing board; and the corresponding configuration of the processing board according to the version package includes: the processing board is configured according to the The version package configures the interface board, and/or the processing board configures its own forwarding engine according to the version package.
  • the method when the processing board configures its forwarding engine according to the forwarding engine configuration file, the method includes:
  • the processing board reads the parameter information of the interface board to be configured from the forwarding engine configuration file, and sends the read interface board parameter information to the forwarding engine, where the forwarding engine matches the parameter information of the interface board.
  • the algorithm adaptively generates configuration parameters corresponding to the interface board to be configured, and configures according to the preset configuration parameters.
  • the interface board parameter information includes an interface number, an interface rate, an interface type, and an interface feature.
  • the forwarding engine adaptively generates and waits according to parameter information of the interface board and a preset matching algorithm.
  • the configuration parameter corresponding to the interface board is as follows: the number of the interface, the interface rate, the interface type, and the interface feature are used as input conditions, and the interface corresponding to the interface board is adaptively generated according to the input condition and the matching algorithm. Configuration parameters.
  • the present invention further provides another router configuration method, including:
  • the router control device receives the version information sent by the processing board of the router, where the version information is version information of the interface board inserted into the processing board;
  • the router control device acquires a version package corresponding to the version information according to the version information, and sends the version package to the processing board.
  • the acquiring, by the router control device, the version of the version package corresponding to the version information according to the version information includes at least one of the following manners:
  • the router control device searches for a version package corresponding to the version information in the local version package database according to the version information;
  • the router control device acquires a version package corresponding to the version information from the cloud version server according to the version information;
  • the corresponding version package Determining, by the router, whether the local version package database matches the corresponding version package according to the version information, and if yes, extracting the version package; otherwise, acquiring the version information from the cloud version server according to the version information. The corresponding version package.
  • the router control device when the router control device acquires a plurality of version packages corresponding to the version information according to the version information, obtaining, by the system of the processing board, a version package supported by the router Send to the processing board.
  • the version package includes an interface board configuration file, and before the sending the version package to the processing board, the method further includes:
  • the version package corresponding to the version information is obtained as the initial version package according to the version information, and it is determined whether the interface board of the same type is inserted before the location of the interface board; if not, the initial version package is used as the final version package.
  • the board is sent to the processing board; if yes, the interface board configuration file in the initial version package is replaced with the interface configuration file of the previously inserted interface board, and then sent to the processing board as a final version package.
  • the present invention further provides a router configuration method, where the router includes a processing board, and the method includes:
  • the processing board acquires version information of the interface board, and sends the version information to the router control device.
  • the router control device receives the version information sent by the processing board of the router, obtains a version package corresponding to the version information according to the version information, and sends the version package to the processing board;
  • the processing board receives a version package fed back by the router control device, and performs corresponding configuration according to the version package.
  • the present invention also provides a router, including a processing board:
  • the processing board is configured to obtain version information of the inserted interface board, and send the version information to the router control apparatus;
  • the version package includes an interface board configuration file and/or a forwarding engine configuration file of the processing board; the processing board is further configured to configure the interface board according to the version package, And/or configuring its own forwarding engine according to the version package.
  • the processing board is further configured to: read the interface board parameter information to be configured from the forwarding engine configuration file, and send the read interface board parameter information to the forwarding engine, where the forwarding engine is configured according to the interface board parameter.
  • the information and the preset matching algorithm adaptively generate configuration parameters corresponding to the interface board to be configured, and configure according to the configuration parameters.
  • the parameter information of the interface board includes the number of interfaces, the interface rate, the interface type, and the interface feature
  • the forwarding engine is further configured to be adaptive according to the interface board parameter information and a preset matching algorithm.
  • the generating the configuration parameter corresponding to the interface board to be configured includes: using the number of interfaces, the interface rate, the interface type, and the interface feature as input conditions, and adaptively generating the interface board according to the input condition and the matching algorithm. Configuration parameters corresponding to the interface.
  • the present invention also provides a router control apparatus
  • the router control device is configured to receive version information sent by the processing board of the router, where the version information is version information of an interface board inserted into the processing board;
  • the acquiring, by the router control device, the acquiring manner of the version package corresponding to the version information according to the version information includes at least one of the following manners:
  • the router control device searches for a version package corresponding to the version information in the local version package database according to the version information;
  • the router control device acquires a version package corresponding to the version information from the cloud version server according to the version information;
  • the corresponding version package Determining, by the router, whether the local version package database matches the corresponding version package according to the version information, and if yes, extracting the version package; otherwise, acquiring the version information from the cloud version server according to the version information. The corresponding version package.
  • the version control package includes an interface board configuration file, and before the router control device sends the version package to the processing board, the router control apparatus is further configured to:
  • the version package corresponding to the version information is obtained as the initial version package according to the version information, and it is determined whether the interface board of the same type is inserted before the location of the interface board; if not, the initial version package is used as the final version package.
  • the board is sent to the processing board; if yes, the interface board configuration file in the initial version package is replaced with the interface configuration file of the previously inserted interface board, and then sent to the processing board as a final version package.
  • the present invention also provides a communication system including a router and a router control device, the router including a processing board:
  • the processing board is configured to obtain version information of the inserted interface board, and send the version information to the router control apparatus;
  • the router control device is configured to receive the version information sent by the processing board of the router, obtain a version package corresponding to the version information according to the version information, and send the version package to the processing board;
  • the processing board is further configured to receive a version package fed back by the router control device, and perform corresponding configuration according to the version package.
  • the present invention provides a router configuration method, a router, a router control device, and a communication system.
  • the processing board first obtains the version information of the inserted interface board, and sends the version information to the router control device, where the router control device receives the processing board sent by the router.
  • the version information is obtained by the version information, and the version package is sent to the processing board.
  • the processing board receives the version package fed back by the router control device and performs corresponding configuration according to the version package.
  • the processing board can automatically obtain the version information of the interface board, and does not need manual intervention, and obtains the version package from the system control board according to the version information, and the processing board receives the version package according to the version information.
  • the version package configures the interface board so that the function of the interface board can be used normally without manually restarting the "processing board".
  • the invention of the present application can intelligently complete the configuration of the inserted interface board, and improves the convenience and flexibility of the user to operate the high-end router.
  • FIG. 1 is a schematic flowchart of a router configuration method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic flowchart 1 of a router configuration method according to Embodiment 2 of the present invention.
  • FIG. 3 is a second schematic flowchart of a router configuration method according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic flowchart 1 of a router configuration method according to Embodiment 3 of the present invention.
  • FIG. 5 is a second schematic flowchart of a router configuration method according to Embodiment 3 of the present invention.
  • FIG. 6 is a schematic flowchart 3 of a router configuration method according to Embodiment 3 of the present invention.
  • FIG. 7 is a schematic flowchart 4 of a router configuration method according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic structural diagram of a router according to Embodiment 4 of the present invention.
  • FIG. 9 is a schematic structural diagram of a router control apparatus according to Embodiment 4 of the present invention.
  • FIG. 10 is a schematic diagram of a first structure of a communication system according to Embodiment 4 of the present invention.
  • FIG. 11 is a schematic diagram of a second structure of a communication system according to Embodiment 4 of the present invention.
  • a router configuration method provided in the first embodiment, as shown in FIG. 1, includes the following steps:
  • Step S101 The processing board acquires version information of the inserted interface board, and sends the version information to the router control apparatus.
  • the processing board learns that there is a new interface board insertion signal, and then detects the version information of the inserted interface board. It is also possible to tell the processing board the version information of the processing board after inserting a new interface board.
  • the version information here refers to information that can be found according to the information of the version package corresponding to the interface board.
  • the version information can be the name of the interface board, the hardware version number of the interface board, the software version number of the interface board, the name of the processing board, the hardware version number of the processing board, and the software version number of the processing board.
  • Step S102 The processing board receives the version package fed back by the router control device, where the version package is a version package corresponding to the version information acquired by the router control device; the version package includes an executable package for starting and implementing the interface board, and the interface board
  • the hardware and software mapping description file between the processing board and the processing board, and the interface board configuration description file With The executable package of the interface board is used to start the interface board and drive the function of the interface board.
  • the interface board configuration description file describes the functions of the interface on the interface board.
  • the hardware and software mapping description file between the interface board and the processing board is used to configure the forwarding engine.
  • Step S103 The processing board performs corresponding configuration according to the version package.
  • the processing board decompresses the version package and configures the interface board according to the decompressed related data to enable the interface board to work normally.
  • the version package includes an interface board configuration file and/or a forwarding engine configuration file of the processing board.
  • the corresponding configuration of the processing board according to the version package may be configured by the processing board according to the version package, or may be configured by the processing board according to the version package.
  • the version package configures its own forwarding engine. It can also configure the interface board for the processing board according to the version package and configure its own forwarding engine according to the version package.
  • the specific processing board starts the interface board according to the executable package of the interface board and drives the function of the interface board.
  • the interface board configuration description file describes various functions of the interface on the interface board.
  • the processing board configures the forwarding engine according to the hardware and software correspondence description file between the interface board and the processing board.
  • the processing board configures the forwarding engine according to the version package so that the forwarding engine can meet the forwarding requirement of the interface board.
  • the forwarding engine on the processing board can be adaptively configured during the power on the interface.
  • the processing board reads the parameter information of the interface board to be configured from the forwarding engine configuration file, and sends the parameter information of the interface board to the forwarding engine, and the forwarding engine
  • the configuration parameters corresponding to the interface board to be configured are adaptively generated according to the parameter information and the matching algorithm of the interface board, and configured according to the configuration parameters. It is worth noting that the configuration of the forwarding engine is mainly to configure the forwarding engine chip.
  • the parameter information includes the number of the interface, the interface rate, the interface type, and the interface feature.
  • the forwarding engine adaptively generates the configuration parameter corresponding to the interface board to be configured according to the parameter information and the matching algorithm of the interface board.
  • the interface type and the interface feature are used as input conditions, and the configuration parameters corresponding to the interface of the interface board are adaptively generated according to the input condition and the matching algorithm.
  • the processing board obtains the interface type, number of interfaces, and interface rate of the interface card from the version of the interface card, and provides the information to the forwarding engine.
  • the forwarding engine performs chip configuration according to the information of the provided interface board to meet the forwarding of the interface card. demand. Further, the forwarding engine calculates the forwarding path of the interface card interface through the provided information about the interface board, and provides the forwarding path for use.
  • a router configuration method provided in the second embodiment, as shown in FIG. 2, includes the following steps:
  • Step S201 The router control device receives version information sent by the processing board of the router, and the version information is version information of the interface board inserted into the processing board.
  • the version information herein refers to information that can be found according to the information of the version package corresponding to the interface board. Preferably, it may be version information of the interface board.
  • the routing control device herein may have independent processing capability, that is, have a separate CPU, may be a single device, or may be part of a router, or may be a device integrated in the processing board and shared with the processing board.
  • Step S202 The router control device acquires a version package corresponding to the version configuration information according to the version information.
  • the router control device obtains a version package corresponding to the version information, where the corresponding version package refers to a final version package, that is, a version package that is finally configured by the processing board, and specifically, the router control device matches the version information by using the version information.
  • the version package is sent to the processing board through the communication protocol.
  • Step S203 Send the version package to the processing board.
  • the processing board decompresses the version package and configures the interface board according to the decompressed related data to enable the interface board to work normally.
  • the processing board of the processing board is configured to configure the interface board according to the version package.
  • the processing board can configure the interface of the interface board according to the version package, or configure the processing board to configure the forwarding engine according to the version package.
  • the board configures the interface of the interface board according to the version package and configures the forwarding engine according to the version package.
  • the router control device may search for the version package corresponding to the version information in the local version package database according to the version information, and the router control device may obtain the version package corresponding to the version information from the cloud version server according to the version information, and further The router may determine whether the local version package database matches the corresponding version package according to the version configuration information, and if yes, extract the version package; otherwise, obtain the version package corresponding to the version information from the cloud version server according to the version information.
  • the router control device obtains a plurality of version packages corresponding to the version information according to the version information
  • the system according to the processing board acquires a version package supported by the system to send to the processing board.
  • the version package may include an interface board configuration file
  • the method further includes: obtaining the version package corresponding to the version configuration information according to the version information as the initial version package, and determining the interface board. Whether the same type of interface board has been inserted before the location; if not, the initial version package is sent to the processing board as the final version package; if there is, the interface board configuration file in the initial version package is replaced with the previously inserted interface board. The interface configuration file is sent to the processing board as a final version package.
  • the interface board configuration file if the interface board is inserted before the interface board, the interface type of the inserted interface board is compared; if different, the version package including the default configuration file of the interface board is used, the same, according to Last inserted
  • the interface configuration of the interface board generates the interface board configuration file; replace the default configuration file of the interface in the version package with the generated interface board configuration file.
  • the implementation also provides a router configuration method, as shown in FIG. 3, including the following steps:
  • Step S301 The processing board acquires the version information of the inserted interface board, and sends the version information to the router control apparatus.
  • Step S302 The router control device receives the version information sent by the processing board of the router, obtains the version package corresponding to the version configuration information according to the version information, and sends the version package to the processing board.
  • Step S303 The processing board receives the version package fed back by the router control device, and performs corresponding configuration according to the version package.
  • a method for configuring a router according to the third embodiment, the method provided in the embodiment, and the cooperation between the systems of the present invention are described in detail.
  • the preset scenario is that the processing board is in a power-on state, inserted into the interface board, and the system is controlled.
  • the board is a router control device as an example. As shown in FIG. 4, the following steps are included:
  • Step S401 The processing board receives an insertion signal of the interface board.
  • Step S402 The processing board acquires version information of the interface board according to the signal information.
  • Step S403 The processing board acquires the version information of the interface board, and sends the version information of the interface board to the system control board.
  • Step S404 The system control board receives version information of the interface board sent by the processing board.
  • Step S405 The system control board determines whether there is a version of the interface board locally, if yes, proceeds directly to step S407, and if not, proceeds to step S406;
  • Step S406 The version information of the interface board is sent to the cloud version server through the communication network such as the internet or the Bluetooth, and the specific process is shown in FIG. 3, and after the execution is completed, the process proceeds to step S407;
  • Step S407 The version package is sent to the processing board where the interface board is located.
  • the version package here includes not only the driver version of the interface board, but also the text version of the interface board feature description, and the interface board interface configuration description text version;
  • Step S408 The processing board where the interface board is located receives the version sent by the system control board;
  • Step S409 The processing board starts loading the driver version of the interface board
  • Step S410 The processing board reads the text version of the interface board description, obtains the device information on the interface board, and starts to initialize the device on the interface board.
  • Step S411 The processing board reads information about the number of interfaces on the interface board, the interface rate, the interface type, and the interface characteristics from the text version of the interface board, and configures the read information to the forwarding engine, and the forwarding engine unit obtains the information according to the
  • the information of the interface board is configured according to an internal matching algorithm, and the optimal configuration parameters corresponding to the interface board are adaptively configured, and the parameters are configured on the forwarding engine chip device.
  • Step S412 The processing board reads the interface configuration information description text version of the interface board, and configures the read interface configuration to the interface board.
  • the version of the interface board involved in the present invention includes a dynamic library of the interface board driver version and a file related to the interface board feature information, such as xml.
  • FIG. 6 are a detailed description of step S406 and step S407 in FIG. 2 in conjunction with the embodiment of the present invention.
  • Figure 3 mainly describes the processing flow of the interface board version locally on the system control board.
  • Figure 5 focuses on the collaborative processing flow of the system control board and the cloud version server. It should be noted here that the version management process of the system control board is implemented by the version management unit in the system control board. Including the following steps,
  • Step S501 The system control board determines whether there is a version package of the interface board according to the version information of the interface board; if not, the process goes to step S502, and if yes, the process goes to step S503;
  • Step S502 The system control board does not have an interface board version package, and sends the version information of the interface board to the cloud version server.
  • Step S503 The system control board has a version package of the interface board, and analyzes whether the interface board is inserted before the interface board is located;
  • Step S504 If no, the interface default configuration file of the interface board is included in the version package of the interface board. Here, the default configuration file in the version package is not required to be replaced.
  • Step S505 the position of the interface board is inserted before the interface board is compared with the interface type of the inserted interface board; if not, step S504 is the same, then step S506;
  • Step S506 Generate an interface configuration file according to the interface configuration of the interface board that was inserted last time;
  • Step S507 packaging the driver version of the interface board and the generated interface configuration file
  • Step S508 Send the version package to the processing board.
  • Figure 6 is a collaborative process of the system control board and the cloud version server.
  • the system control board sends the version information of the interface board to the cloud version server.
  • the cloud version server performs the cloud computing matching algorithm based on the version information of the interface board.
  • the corresponding version of the interface board needs to be described. Because the cloud version server manages a large number of versions, it involves a version of a device corresponding to multiple version levels.
  • the cloud version server will match the version of the interface card of multiple version levels.
  • the communication methods such as internet and Bluetooth are sent to the system control board.
  • Step S601 The local system version number is matched with the version of the multiple version interfaces provided by the cloud version server, and the version package of the interface board that matches the local system version is selected;
  • Step S602 The position of the interface board is inserted before the interface board is compared with the interface type of the inserted interface board; if not, step S603 is the same, then step S604;
  • Step S603 The system control board sends the version package to the processing board.
  • Step S604 Generate an interface configuration file according to the interface configuration of the interface board that was inserted last time;
  • Step S605 The system control board unpacks the selected version package, and replaces the interface configuration file into the configuration file generated in step S604.
  • Step S606 Re-packing; then performing step S603.
  • step S505 and step S506, and step S604, step S605, and step S606 can implement the port configuration inheritance function.
  • FIG. 7 is a detailed description of step S411 in FIG. 4, that is, a process in which the forwarding engine according to the adaptive configuration parameters inserted into the interface board.
  • the number of interfaces, the interface type, the interface rate, and the location of the interface board respectively correspond to the input condition 1 in FIG. 7, the input condition 2, the input condition 3, and the input condition 4, and the input conditions are input to the forwarding engine.
  • the processing board obtains the feature information of the interface board, the interface unit, and the forwarding engine unit for fast calculation, and the adaptive calculation is adapted to the optimal parameters of the interface board feature, and is configured on the forwarding engine chip, and the forwarding engine unit is based on the input.
  • the set of conditions calculates the interface forwarding path of the interface board for use by the forwarding chip.
  • the present invention further provides a router.
  • the router includes a processing board, and the processing board is configured to acquire version information of the inserted interface board, send version information to the router control device, and receive router control.
  • the version package fed back by the device, the version package is a version package corresponding to the version information acquired by the router control device; and the corresponding configuration is performed according to the version package.
  • the version package includes an interface board configuration file and/or a forwarding engine configuration file of the processing board; the processing board is further configured to configure the interface board according to the version package, and/or to the version package according to the version package
  • the forwarding engine is configured.
  • the processing board when the processing board is configured to configure the forwarding engine according to the forwarding engine configuration file, the processing board is further configured to read the parameter information of the interface board to be configured from the forwarding engine configuration file, and The parameter information of the interface board is sent to the forwarding engine.
  • the forwarding engine adaptively generates the configuration parameters corresponding to the interface board to be configured according to the parameter information and the matching algorithm of the interface board, and configures according to the configuration parameters.
  • the parameter information of the interface board includes the number of interfaces, the interface rate, the interface type, and the interface feature.
  • the forwarding engine is further configured to adaptively generate and configure an interface board according to the parameter information and the matching algorithm of the interface board.
  • the corresponding configuration parameters include: the number of interfaces, the interface rate, the interface type, and the interface feature as input conditions, and adaptively generate configuration parameters corresponding to the interface of the interface board according to the input condition and the matching algorithm.
  • the present invention further provides a router control apparatus.
  • the router control apparatus is configured to receive version information sent by a processing board of the router, and the version information is version information of an interface board inserted into the processing board; And obtaining a version package corresponding to the version configuration information according to the version information, and sending the version package to the processing board.
  • the manner in which the router control device is configured to acquire the version package corresponding to the version information according to the version information includes at least one of the following manners: the router control device is in the local version package database according to the version information. Searching for a version package corresponding to the version information; the router control device acquires a version package corresponding to the version information from the cloud version server according to the version information; the router determines whether the local version package database matches the corresponding version package according to the version configuration information, if any , the version package is extracted; otherwise, the version package corresponding to the version information is obtained from the cloud version server according to the version information.
  • the version package includes an interface board configuration file
  • the router control apparatus before the router control device sends the version package to the processing board, the router control apparatus is further configured to: obtain a version corresponding to the version configuration information according to the version information.
  • the package is used as the initial version package to determine whether the same type of interface board has been inserted before the interface board is located. If not, the initial version package is sent to the processing board as the final version package; if there is, the interface board in the initial version package is used.
  • the configuration file is replaced with the interface configuration file of the previously inserted interface board and sent to the processing board as the final version package.
  • the present invention further provides a communication system, as shown in FIG. 10, including a router and a router control device.
  • the router includes a processing board: the processing board is configured to obtain version information of the inserted interface board, and send the version information to the router.
  • the control device is configured to receive the version information sent by the processing board of the router, obtain a version package corresponding to the version configuration information according to the version information, and send the version package to the processing board; the processing board is further configured to receive the feedback of the router control device.
  • the version package is configured according to the version package.
  • the present invention further provides another communication system.
  • the communication system further includes a cloud version server, which is a cloud server that aggregates all version packages of a certain type of communication device, and is a far type. End version service system.
  • the cloud version server is configured to perform a cloud computing matching algorithm according to the version information of the interface board, and quickly find a version package corresponding to the interface board. It is required that the cloud version server manages a plurality of version packages, and one device corresponds to multiple versions.
  • the level version package, the cloud version server will match the version package of the interface boards of multiple version package levels to the router control device through communication methods such as internet and Bluetooth.
  • the purpose of this patent is to invent a router management method, a router, a router control device, and a communication system, so that after the interface board is inserted into the processing board, the relevant function version of the interface board can be automatically downloaded, and the processing board can be adaptively adapted and The chip forwarding function of the interface board.
  • the inserted interface board can adaptively inherit the configuration of the previous interface board.
  • the router configuration method, the router, the router control device, and the communication system have the following beneficial effects: after the interface board is inserted into the processing board, the processing board can automatically acquire the interface.
  • the version information of the board does not require manual intervention, and the version package is obtained from the system control board according to the version information.
  • the interface board is configured according to the version package, thereby eliminating the need for a person.
  • the function of the interface board can be used normally.
  • the invention of the present application can intelligently complete the configuration of the inserted interface board, and improves the convenience and flexibility of the user to operate the high-end router.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Stored Programmes (AREA)

Abstract

本发明提供一种路由器配置方法及路由器、路由器器控制装置和通信系统,应用于通信领域。处理板先获取插入接口板的版本信息,将版本信息发送给路由器控制装置,路由器控制装置接收路由器的处理板所发送的版本信息,根据版本信息获取与版本信息对应的版本包,将版本包发送给处理板,处理板接收路由器控制装置反馈的版本包后并根据版本包进行对应的配置。采用本申请的方法能够使得接口板插入处理板后,处理板可自动获取接口板的版本信息,并不需要人工干预,并根据版本信息从系统控制板获取版本包,处理板接收版本包后根据版本包对接口板进行配置,从而不需要人工将"处理板"重启,便可正常使用接口板的功能。

Description

路由器配置方法及路由器、路由器控制装置和通信系统 技术领域
本发明涉及通信领域,特别涉及一种路由器配置方法及路由器、路由器控制装置和通信系统。
背景技术
随着网络技术的发展,对通讯设备的要求越来越高,不仅需要通讯设备具有强可靠性,同时对设备的控制具有简单化,可操作性强等。所以,通讯设备具有自动化,智能化,执行速度快等技术已经成为提高通讯产品竞争性的指标之一。
目前,业界中/高端路由交换设备中,一般都采用“处理板+多个接口板”的设计。所述的接口板为该设计结构中的设备,所述设备用来实现不同速率,不同类型接口业务的接入,板上提供一个或多个高速网络接口。所述接口板的功能是将物理线路上的信号与链路层的数据帧相互转换。当所述接口板接收到数据帧并将其转变成数据报文后,将报文送交处理板,由转发引擎查找到目的端口,进行高速的报文转发。
以上所述的现有技术中,“处理板+多个接口板”中拔出某个接口板,插入某新的接口板,需要人工参与,将“处理板”系统重新启动,更换新的版本。现有技术中并没有提供一种接口板即插即用的方法。
发明内容
本发明实施例提供了一种路由器配置方法及路由器、路由器控制装置和通信系统,以至少解决相关技术中的路由器中插入新的接口板时,需要人工将处理板系统重新启动更换新的版本的问题。
为解决上述问题,本发明提供一种路由器配置方法,所述路由器包括处理板,所述方法包括:
所述处理板获取插入接口板的版本信息,将所述版本信息发送给路由器控制装置;
所述处理板接收所述路由器控制装置反馈的版本包,所述版本包为所述路由器控制装置获取的与所述版本信息对应的版本包;
所述处理板根据所述版本包进行对应的配置。
在本发明的一种实施例中,所述处理板获取所述版本信息包括:所述处理板收到所述接口板的插入信号后对所述接口板进行检测,得到所述接口板的版本信息。
在本发明的一种实施例中,所述版本包包括接口板配置文件和/或处理板的转发引擎配置文件;所述处理板根据所述版本包进行对应的配置包括:所述处理板根据所述版本包对所述接口板进行配置,和/或所述处理板根据所述版本包对自身的转发引擎进行配置。
在本发明的一种实施例中,当处理板根据所述转发引擎配置文件对其转发引擎进行配置时,包括:
所述处理板从所述转发引擎配置文件中读取待配置的接口板参数信息,将读取的接口板参数信息发给所述转发引擎,所述转发引擎根据所述接口板参数信息和匹配算法自适应生成与待配置的接口板对应的配置参数,并根据所预设的述配置参数进行配置。
在本发明的一种实施例中,所述接口板参数信息包括接口数目、接口速率、接口类型和接口特征;所述转发引擎根据接口板的参数信息和预设的匹配算法自适应生成与待配置接口板对应的配置参数包括:将所述接口数目、所述接口速率、所述接口类型和所述接口特征作为输入条件,根据输入条件和匹配算法自适应生成所述接口板的接口对应的配置参数。
为解决上述问题,本发明还提供另外一种路由器配置方法,包括:
路由器控制装置接收路由器的处理板所发送的版本信息,所述版本信息为插入所述处理板的接口板的版本信息;
所述路由器控制装置根据所述版本信息获取与所述版本信息对应的版本包,将所述版本包发送给所述处理板。
在本发明的一种实施例中,所述路由器控制装置根据所述版本信息获取与所述版本信息对应的版本包的获取方式包括以下方式中的至少一种:
所述路由器控制装置根据所述版本信息在本地版本包数据库中查找与所述版本信息对应的版本包;
所述路由器控制装置根据所述版本信息从云版本服务器获取与所述版本信息对应的版本包;
所述路由器判断根据所述版本信息在本地版本包数据库是否有匹配到对应的版本包,如果有,则提取该版本包;否则,则根据所述版本信息从云版本服务器获取与所述版本信息对应的版本包。
在本发明的一种实施例中,当所述路由器控制装置根据所述版本信息获取与所述版本信息对应的版本包有多个时,根据所述处理板的系统获取一个其支持的版本包发送给所述处理板。
在本发明的一种实施例中,所述版本包包括接口板配置文件,在将所述版本包发送给所述处理板之前还包括:
将根据所述版本信息获取与所述版本信息对应的版本包作为初始版本包,判断所述接口板所在位置之前是否插入过相同类型的接口板;如果没有,则将初始版本包作为最终版本包发送给所述处理板;如果有,则将初始版本包中的接口板配置文件替换为之前插过的接口板的接口配置文件后作为最终版本包发送给所述处理板。
为解决上述问题,本发明还提供一种路由器配置方法,所述路由器包括处理板,所述方法包括:
所述处理板获取插入接口板的版本信息,将所述版本信息发送给路由器控制装置;
所述路由器控制装置接收路由器的处理板所发送的版本信息,根据所述版本信息获取与所述版本信息对应的版本包,将所述版本包发送给所述处理板;
所述处理板接收所述路由器控制装置反馈的版本包,根据所述版本包进行对应的配置。
为解决上述问题,本发明还提供一种路由器,包括处理板:
所述处理板设置为获取插入接口板的版本信息,将所述版本信息发送给路由器控制装置;
和接收所述路由器控制装置反馈的版本包,所述版本包为所述路由器控制装置获取的与所述版本信息对应的版本包;
以及根据所述版本包进行对应的配置
在本发明的一种实施例中,所述版本包包括接口板配置文件和/或处理板的转发引擎配置文件;所述处理板还设置为根据所述版本包对所述接口板进行配置,和/或根据所述版本包对自身的转发引擎进行配置。
在本发明的一种实施例中,当处理板设置为根据所述转发引擎配置文件对其转发引擎进行配置时,
所述处理板还设置为从所述转发引擎配置文件中读取待配置的接口板参数信息,将读取的接口板参数信息发给所述转发引擎,所述转发引擎根据所述接口板参数信息和预设的匹配算法自适应生成与待配置的接口板对应的配置参数,并根据所述配置参数进行配置。
在本发明的一种实施例中,所述接口板的参数信息包括接口数目、接口速率、接口类型和接口特征,所述转发引擎还设置为根据接口板参数信息和预设的匹配算法自适应生成与待配置接口板对应的配置参数包括:将所述接口数目、所述接口速率、所述接口类型和所述接口特征作为输入条件,根据输入条件和匹配算法自适应生成所述接口板的接口对应的配置参数。
为解决上述问题,本发明还提供一种路由器控制装置,
路由器控制装置设置为接收路由器的处理板所发送的版本信息,所述版本信息为插入所述处理板的接口板的版本信息;
以及根据所述版本信息获取与所述版本信息对应的版本包,将所述版本包发送给所述处理板。
在本发明的一种实施例中,所述路由器控制装置设置为根据所述版本信息获取与所述版本信息对应的版本包的获取方式包括以下方式中的至少一种:
所述路由器控制装置根据所述版本信息在本地版本包数据库中查找与所述版本信息对应的版本包;
所述路由器控制装置根据所述版本信息从云版本服务器获取与所述版本信息对应的版本包;
所述路由器判断根据所述版本信息在本地版本包数据库是否有匹配到对应的版本包,如果有,则提取该版本包;否则,则根据所述版本信息从云版本服务器获取与所述版本信息对应的版本包。
在本发明的一种实施例中,所述版本包包括接口板配置文件,在所述路由器控制装置将所述版本包发送给所述处理板之前,所述路由器控制装置还设置为:
将根据所述版本信息获取与所述版本信息对应的版本包作为初始版本包,判断所述接口板所在位置之前是否插入过相同类型的接口板;如果没有,则将初始版本包作为最终版本包发送给所述处理板;如果有,则将初始版本包中的接口板配置文件替换为之前插过的接口板的接口配置文件后作为最终版本包发送给所述处理板。
为解决上述问题,本发明还提供一种通信系统,包括路由器和路由器控制装置,所述路由器包括处理板:
所述处理板设置为获取插入接口板的版本信息,将所述版本信息发送给路由器控制装置;
所述路由器控制装置设置为接收路由器的处理板所发送的版本信息,根据所述版本信息获取与所述版本信息对应的版本包,将所述版本包发送给所述处理板;
所述处理板还设置为接收所述路由器控制装置反馈的版本包,根据所述版本包进行对应的配置。
本发明的有益效果是:
本发明提供一种路由器配置方法及路由器、路由器器控制装置和通信系统,处理板先获取插入接口板的版本信息,将版本信息发送给路由器控制装置,路由器控制装置接收路由器的处理板所发送的版本信息,根据版本信息获取与版本信息对应的版本包,将版本包发送给处理板,处理板接收路由器控制装置反馈的版本包后并根据版本包进行对应的配置。采用本申请的方法能够使得接口板插入处理板后,处理板可自动获取接口板的版本信息,并不需要人工干预,并根据版本信息从系统控制板获取版本包,处理板接收版本包后根据版本包对接口板进行配置,从而不需要人工将“处理板”重启,便可正常使用接口板的功能。采用本申请发明能够智能化地完成进行对插入接口板的配置,提高了用户操作高端路由器的方便性,灵活性。
附图说明
图1为本发明实施例一提供的路由器配置方法流程示意图;
图2为本发明实施例二提供的路由器配置方法流程示意图一;
图3为本发明实施例二提供的路由器配置方法流程示意图二;
图4为本发明实施例三提供的路由器配置方法流程示意图一;
图5为本发明实施例三提供的路由器配置方法流程示意图二;
图6为本发明实施例三提供的路由器配置方法流程示意图三;
图7为本发明实施例三提供的路由器配置方法流程示意图四;
图8为本发明实施例四提供的路由器结构示意图;
图9为本发明实施例四提供的路由器控制装置结构示意图;
图10为本发明实施例四提供的通信系统第一种结构示意图;
图11为本发明实施例四提供的通信系统第二种结构示意图。
具体实施方式
为使本领域技术人员更好地理解本发明的技术方案,下面结合附图和具体实施方式对本发明作进一步详细描述。
实施例一
本实施例一提供的一种路由器配置方法,如图1所示,包括以下步骤:
步骤S101:处理板获取插入接口板的版本信息,将版本信息发送给路由器控制装置;
在该步骤中,具体可以为在路由器在插入新的接口板后,处理板得知有新的接口板插入信号后,就去检测该插入的接口板的版本信息。也可以是在插入新的接口板后,将该处理板的版本信息告诉处理板。这里的版本信息指的是可以根据该信息找到该接口板对应的版本包的信息。版本信息具体可以为接口板的名称,接口板的硬件版本号,接口板的软件版本号,处理板的名称,处理板的硬件版本号,处理板的软件版本号等信息。
步骤S102:处理板接收路由器控制装置反馈的版本包,版本包为路由器控制装置获取的与版本信息对应的版本包;这里的版本包中包含了启动和实现该接口板的可执行包,接口板和处理板之间硬件软件对应关系描述文件等,接口板配置描述文件。具 体的,接口板的可执行包用于启动接口板并驱动接口板的功能,接口板配置描述文件描述接口板上接口的各项功能。接口板和处理板之间硬件软件对应关系描述文件用来配置转发引擎。
步骤S103:处理板根据版本包进行对应的配置。
在该步骤中,处理板收到版本包后,对版本包进行解压处理,根据解压后的相关数据对接口板进行配置,使接口板能够正常工作。优选的,该版本包包括接口板配置文件和/或处理板的转发引擎配置文件,处理板根据版本包进行对应的配置可以为处理板根据版本包对接口板进行配置,还可以为处理板根据版本包对自身的转发引擎进行配置,还可以为处理板根据版本包对接口板进行配置和根据版本包对自身的转发引擎进行配置。具体的处理板根据接口板的可执行包启动接口板并驱动接口板的功能,接口板配置描述文件描述接口板上接口的各项功能。处理板根据接口板和处理板之间硬件软件对应关系描述文件来配置转发引擎。
在上述步骤S103中,处理板根据版本包对转发引擎进行配置使转发引擎能有满足接口板的转发需求。优选的,在接口板上电过程中,处理板上的转发引擎能够进行自适应配置。具体的,当处理板根据转发引擎配置文件对其转发引擎进行配置时,处理板从转发引擎配置文件中读取对待配置的接口板参数信息,将接口板的参数信息发给转发引擎,转发引擎根据接口板的参数信息和匹配算法自适应生成与待配置的接口板对应的配置参数,并根据配置参数进行配置。值得注意的是,转发引擎的配置主要是对转发引擎芯片进行配置。
进一步,参数信息包括接口数目、接口速率、接口类型和接口特征等,转发引擎根据接口板的参数信息和匹配算法自适应生成与待配置接口板对应的配置参数具体可以为将接口数目、接口速率、接口类型和接口特征作为输入条件,根据输入条件和匹配算法自适应生成接口板的接口对应的配置参数。即处理板从接口板的版本中获取该接口卡的接口类型,接口个数,接口速率等信息,提供给转发引擎,转发引擎根据提供的接口板的信息,进行芯片配置,满足接口卡的转发需求。进一步,转发引擎还通过提供的接口板的相关信息,计算出接口卡接口的转发路径,提供给转发业务使用。
实施例二
本实施例二提供的一种路由器配置方法,如图2所示,包括以下步骤:
步骤S201:路由器控制装置接收路由器的处理板所发送的版本信息,版本信息为插入处理板的接口板的版本信息;
在该步骤中,这里的版本信息指的是可以根据该信息找到该接口板对应的版本包的信息。优选的,可以为该接口板的版本信息。这里的路由控制装置,可以具有独立处理能力,即具有单独的CUP,可以是一个单独的装置,也可以是路由器中的一部分,还可以是集成在处理板中与处理板共用CPU的装置。
步骤S202:路由器控制装置根据版本信息获取与版本配置信息对应的版本包;
在该步骤中,路由器控制装置获取与版本信息对应的版本包,该对应的版本包指最终的版本包即处理板最终进行配置的版本包,具体可以为路由器控制装置通过版本信息的匹配,将版本包通过通讯协议发送给处理板。
步骤S203:将版本包发送给处理板。
在该步骤中,处理板收到版本包后,对版本包进行解压处理,根据解压后的相关数据对接口板进行配置,使接口板能够正常工作。优先的,处理板接收处理板根据版本包对接口板进行配置,可以为处理板根据版本包对接口板的接口进行配置,也可以为处理板根据版本包对转发引擎进行配置,还可以为处理板根据版本包对接口板的接口进行配置和根据版本包对转发引擎进行配置。
在上述步骤S202中,路由器控制装置可以根据版本信息在本地版本包数据库中查找与版本信息对应的版本包,还可以路由器控制装置根据版本信息从云版本服务器获取与版本信息对应的版本包,还可以路由器判断根据版本配置信息在本地版本包数据库是否有匹配到对应的版本包,如果有,则提取该版本包;否则,则根据版本信息从云版本服务器获取与版本信息对应的版本包。
进一步,如果当路由器控制装置根据版本信息获取与版本信息对应的版本包有多个时,根据处理板的系统获取一个其支持的版本包发送给处理板。
进一步,在上述步骤S202中,版本包可以包括接口板配置文件,在将版本包发送给处理板之前还包括将根据版本信息获取与版本配置信息对应的版本包作为初始版本包,判断接口板所在位置之前是否插入过相同类型的接口板;如果没有,则将初始版本包作为最终版本包发送给处理板;如果有,则将初始版本包中的接口板配置文件替换为之前插过的接口板的接口配置文件后作为最终版本包发送给处理板。具体可以为分析接口板所在位置之前是否有插过接口板;如果没有,则就用包括接口板的接口板默认配置文件的版本包,这里的默认配置文件指的是最开始找的初始版本包里的接口板配置文件;如果接口板的位置之前有插入过接口板,则与插过的接口板的接口类型比较;如果不同,则采用包括接口板的默认配置文件的版本包,相同,按照上次插过 的接口板的接口配置生成接口板配置文件;将版本包中的接口默认配置文件替换为生成的接口板配置文件。
本实施还提供一种路由器配置方法,如图3所示,包括以下步骤:
步骤S301:处理板获取插入接口板的版本信息,将版本信息发送给路由器控制装置;
步骤S302:路由器控制装置接收路由器的处理板所发送的版本信息,根据版本信息获取与版本配置信息对应的版本包,将版本包发送给处理板;
步骤S303:处理板接收路由器控制装置反馈的版本包,根据版本包进行对应的配置。
实施例三
本实施例三提供的一种路由器配置方法,该实施例中提供的方法以及本发明各系统间的协作进行详细的说明,预置场景为处理板已处于上电状态,插入接口板,系统控制板为路由器控制装置为例进行说明,如图4,包括以下步骤:
步骤S401:处理板接收到接口板的插入信号;
步骤S402:处理板根据信号信息,获取接口板的版本信息;
步骤S403:处理板获取接口板的版本信息;将接口板的版本信息发送给系统控制板;
步骤S404:系统控制板接收到处理板发过来的接口板的版本信息;
步骤S405:系统控制板会判断本地是否有接口板的版本,如果有则直接到步骤S407,如果没有则进入步骤S406;
步骤S406:将接口板的版本信息通过internet、蓝牙等通信网络发送给云版本服务器,具体流程参见图3所示,执行完成后则到步骤S407;
步骤S407:将该版本包发送给接口板所在的处理板。此处的版本包不仅包括了接口板的驱动版本,也包括了接口板特性描述的文本版本,以及接口板接口配置描述文本版本;
步骤S408:接口板所在的处理板接收到系统控制板发送过来的版本;
步骤S409:处理板开始加载接口板的驱动版本;
步骤S410:处理板读取接口板特性描述的文本版本,获取接口板上设备信息后,对接口板开始进行设备的初始化;
步骤S411:处理板从接口板的文本版本中读取对接口板接口数目,接口速率,接口类型,接口特征等相关信息,并将读取到的信息配置给转发引擎,转发引擎单元根据得到的接口板的信息,依据内部匹配算法,自适应配置对接接口板对应的最佳配置参数,并将参数配置于转发引擎芯片设备;
步骤S412:处理板读取接口板的接口配置信息描述文本版本,将读取到的接口配置,配置给接口板。
以上是对本发明实施例提供的一种路由器配置方法的说明。这里需要说明,本发明中所涉及到的接口板的版本包括了接口板驱动版本的动态库和接口板特征信息相关描述的文件,如xml等。
以下图5和图6是结合本发明实施例对图2中步骤S406,步骤S407,进行详细描述。其中图3主要描述系统控制板本地有接口板版本的处理流程,图5着重于系统控制板和云版本服务器的协作处理流程。这里需要说明,系统控制板的版本管理流程是系统控制板中的版本管理单元实现。包括以下步骤,
步骤S501:系统控制板根据接口板的版本信息判断本地是否有接口板的版本包;没有,转为步骤S502,有,则转为步骤S503;
步骤S502:系统控制板没有接口板版本包,将接口板的版本信息发送给云版本服务器;
步骤S503:系统控制板有该接口板的版本包,分析接口板所在位置之前是否有插过接口板;
步骤S504:没有,则该接口板的接口默认配置文件包含在接口板的版本包内,这里指版本包中为默认的配置文件,不需要进行替换;
步骤S505:接口板的位置之前有插入过接口板,则与插过的接口板的接口类型比较;不同,则步骤S504,相同,则步骤S506;
步骤S506:按照上次插过的接口板的接口配置生成接口配置文件;
步骤S507:将接口板的驱动版本和生成的接口配置文件打包;
步骤S508:将版本包发送给处理板。
图6是系统控制板和云版本服务器的协作处理流程,包括:系统控制板将接口板的版本信息发送给云版本服务器,云版本服务器根据接口板的版本信息,进行云计算匹配算法,快速找到该接口板对应的版本,需要说明,由于云版本服务器管理的版本众多,涉及到一个设备对应多个版本级别的版本,云版本服务器将匹配到的多个版本级别的接口卡的版本一并通过internet、蓝牙等通信方式发送给系统控制板。
步骤S601:本地系统版本号与云版本服务器提供的多个版本接口的版本进行匹配,选择与本地系统版本相符合的接口板的版本包;
步骤S602:接口板的位置之前有插入过接口板,则与插过的接口板的接口类型比较;不同,则步骤S603,相同,则步骤S604;
步骤S603:系统控制板将版本包发送给处理板;
步骤S604:按照上次插过的接口板的接口配置生成接口配置文件;
步骤S605:系统控制板将选取的版本包进行解包,将其中的接口配置文件替换成步骤S604生成的配置文件;
步骤S606:重新压包;然后执行步骤S603。
这里步骤S505和步骤S506,以及步骤S604、步骤S605、步骤S606可实现端口配置继承功能。
图7是对图4中步骤S411的详细描述即转发引擎根据插入接口板的自适应配置参数的过程。具体为将接口数目,接口类型,接口速率,以及接口板所在的位置,分别对应于图7中的输入条件1,输入条件2,输入条件3,输入条件4,将这些输入条件输入到转发引擎处理板将获取到的接口板的特征信息,接口个单元,转发引擎单元进行快速计算,自适应计算适应于该接口板特征的最优参数,并配置于转发引擎芯片,同时转发引擎单元根据输入的条件集合,计算出接口板的接口转发路径,供转发芯片使用。
实施例四
为解决上述问题,本发明还提供一种路由器,如图8所示,该路由器包括处理板,处理板设置为获取插入接口板的版本信息,将版本信息发送给路由器控制装置;和接收路由器控制装置反馈的版本包,版本包为路由器控制装置获取的与版本信息对应的版本包;以及根据版本包进行对应的配置。
在本发明的一种实施例中,版本包包括接口板配置文件和/或处理板的转发引擎配置文件;处理板还设置为根据版本包对接口板进行配置,和/或根据版本包对自身的转发引擎进行配置。
在本发明的一种实施例中,当处理板设置为根据转发引擎配置文件对其转发引擎进行配置时,处理板还设置为从转发引擎配置文件中读取对待配置的接口板参数信息,将接口板的参数信息发给转发引擎,转发引擎根据接口板的参数信息和匹配算法自适应生成与待配置的接口板对应的配置参数,并根据配置参数进行配置。
在本发明的一种实施例中,接口板的参数信息包括接口数目、接口速率、接口类型和接口特征,转发引擎还设置为根据接口板的参数信息和匹配算法自适应生成与待配置接口板对应的配置参数包括:将接口数目、接口速率、接口类型和接口特征作为输入条件,根据输入条件和匹配算法自适应生成接口板的接口对应的配置参数。
为解决上述问题,本发明还提供一种路由器控制装置,如图9所示,路由器控制装置设置为接收路由器的处理板所发送的版本信息,版本信息为插入处理板的接口板的版本信息;以及根据版本信息获取与版本配置信息对应的版本包,将版本包发送给处理板。
在本发明的一种实施例中,路由器控制装置设置为根据版本信息获取与版本信息对应的版本包的获取方式包括以下方式中的至少一种:路由器控制装置根据版本信息在本地版本包数据库中查找与版本信息对应的版本包;路由器控制装置根据版本信息从云版本服务器获取与版本信息对应的版本包;路由器判断根据版本配置信息在本地版本包数据库是否有匹配到对应的版本包,如果有,则提取该版本包;否则,则根据版本信息从云版本服务器获取与版本信息对应的版本包。
在本发明的一种实施例中,版本包包括接口板配置文件,在路由器控制装置将版本包发送给处理板之前,路由器控制装置还设置为:将根据版本信息获取与版本配置信息对应的版本包作为初始版本包,判断接口板所在位置之前是否插入过相同类型的接口板;如果没有,则将初始版本包作为最终版本包发送给处理板;如果有,则将初始版本包中的接口板配置文件替换为之前插过的接口板的接口配置文件后作为最终版本包发送给处理板。
为解决上述问题,本发明还提供一种通信系统,如图10所示,包括路由器和路由器控制装置,路由器包括处理板:处理板设置为获取插入接口板的版本信息,将版本信息发送给路由器控制装置;路由器控制装置设置为接收路由器的处理板所发送的版本信息,根据版本信息获取与版本配置信息对应的版本包,将版本包发送给处理板;处理板还设置为接收路由器控制装置反馈的版本包,根据版本包进行对应的配置。
进一步,本发明还提供另外一种通讯系统,如图11所示,该通讯系统还包括云版本服务器,该云版本服务器为集合某一大类通讯设备所有版本包的云服务器,是一种远端版本服务系统。该云版本服务器设置为根据接口板的版本信息,进行云计算匹配算法,快速找到该接口板对应的版本包,需要说明,由于云版本服务器管理的版本包众多,涉及到一个设备对应多个版本级别的版本包,云版本服务器将匹配到的多个版本包级别的接口板的版本包一并通过internet、蓝牙等通信方式发送给路由器控制装置。
本专利的目的是发明一种路由器管理方法及路由器、路由器控制装置和通信系统,使得接口板在插入处理板后,可以自动下载接口板的相关功能版本,且处理板可自适应的适配与接口板的芯片转发功能,另外,插入接口板可自适应继承上一次接口板相关配置。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,上述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。
以上实施例仅用以说明本发明的技术方案而非限制,仅仅参照较佳实施例对本发明进行了详细说明。本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,均应涵盖在本发明的权利要求范围当中。
工业实用性
如上所述,本发明实施例提供的一种路由器配置方法及路由器、路由器器控制装置和通信系统具有以下有益效果:采用本申请的方法能够使得接口板插入处理板后,处理板可自动获取接口板的版本信息,并不需要人工干预,并根据版本信息从系统控制板获取版本包,处理板接收版本包后根据版本包对接口板进行配置,从而不需要人 工将“处理板”重启,便可正常使用接口板的功能。采用本申请发明能够智能化地完成进行对插入接口板的配置,提高了用户操作高端路由器的方便性,灵活性。

Claims (17)

  1. 一种路由器配置方法,所述路由器包括处理板,所述方法包括:
    所述处理板获取插入接口板的版本信息,将所述版本信息发送给路由器控制装置;
    所述处理板接收所述路由器控制装置反馈的版本包,所述版本包为所述路由器控制装置获取的与所述版本信息对应的版本包;
    所述处理板根据所述版本包进行对应的配置。
  2. 如权利要求1所述的路由器配置方法,其中,所述处理板获取所述版本信息包括:所述处理板收到所述接口板的插入信号后对所述接口板进行检测,得到所述版本信息。
  3. 如权利要求1或2所述的路由器配置方法,其中,所述版本包包括接口板配置文件和/或处理板的转发引擎配置文件;所述处理板根据所述版本包进行对应的配置包括:所述处理板根据所述版本包对所述接口板进行配置,和/或所述处理板根据所述版本包对自身的转发引擎进行配置。
  4. 如权利要求3所述的路由器配置方法,其中,当处理板根据所述转发引擎配置文件对其转发引擎进行配置时,包括:
    所述处理板从所述转发引擎配置文件中读取待配置的接口板参数信息,将读取的接口板参数信息发给所述转发引擎,所述转发引擎根据所述接口板参数信息和预设的匹配算法自适应生成与待配置的接口板对应的配置参数,并根据所述配置参数进行配置。
  5. 如权利要求4所述的路由器配置方法,其中,所述接口板参数信息包括接口板的接口数目、接口速率、接口类型和接口特征;所述转发引擎根据接口板的参数信息和预设的匹配算法自适应生成与待配置接口板对应的配置参数包括:将所述接口数目、所述接口速率、所述接口类型和所述接口特征作为输入条件,根据输入条件和匹配算法自适应生成所述接口板的接口对应的配置参数。
  6. 一种路由器配置方法,包括:
    路由器控制装置接收路由器的处理板所发送的版本信息,所述版本信息为插入所述处理板的接口板的版本信息;
    所述路由器控制装置根据所述版本信息获取与所述版本配置信息对应的版本包,将所述版本包发送给所述处理板。
  7. 如权利要求6所述的路由器配置方法,其中,所述路由器控制装置根据所述版本信息获取与所述版本信息对应的版本包的获取方式包括以下方式中的至少一种:
    所述路由器控制装置根据所述版本信息在本地版本包数据库中查找与所述版本信息对应的版本包;
    所述路由器控制装置根据所述版本信息从云版本服务器获取与所述版本信息对应的版本包;
    所述路由器判断根据所述版本配置信息在本地版本包数据库是否有匹配到对应的版本包,如果有,则提取该版本包;否则,则根据所述版本信息从云版本服务器获取与所述版本信息对应的版本包。
  8. 如权利要求6或7所述的路由器配置方法,其中,所述版本包包括接口板配置文件,在将所述版本包发送给所述处理板之前还包括:
    将根据所述版本信息获取与所述版本配置信息对应的版本包作为初始版本包,判断所述接口板所在位置之前是否插入过相同类型的接口板;如果没有,则将初始版本包作为最终版本包发送给所述处理板;如果有,则将初始版本包中的接口板配置文件替换为之前插过的接口板的接口配置文件后作为最终版本包发送给所述处理板。
  9. 一种路由器配置方法,所述路由器包括处理板,所述方法包括:
    所述处理板获取插入接口板的版本信息,将所述版本信息发送给路由器控制装置;
    所述路由器控制装置接收路由器的处理板所发送的版本信息,根据所述版本信息获取与所述版本配置信息对应的版本包,将所述版本包发送给所述处理板;
    所述处理板接收所述路由器控制装置反馈的版本包,根据所述版本包进行对应的配置。
  10. 一种路由器,包括处理板:
    所述处理板设置为获取插入接口板的版本信息,将所述版本信息发送给路由器控制装置;
    和接收所述路由器控制装置反馈的版本包,所述版本包为所述路由器控制装置获取的与所述版本信息对应的版本包;
    以及根据所述版本包进行对应的配置。
  11. 如权利要求10所述的路由器,其中,所述版本包包括接口板配置文件和/或处理板的转发引擎配置文件;所述处理板还设置为根据所述版本包对所述接口板进行配置,和/或根据所述版本包对自身的转发引擎进行配置。
  12. 如权利要求11所述的路由器,其中,当处理板设置为根据所述转发引擎配置文件对其转发引擎进行配置时,
    所述处理板还设置为从所述转发引擎配置文件中读取待配置的接口板参数信息,将读取的接口板参数信息发给所述转发引擎,所述转发引擎根据所述接口板参数信息和预设的匹配算法自适应生成与待配置的接口板对应的配置参数,并根据所述配置参数进行配置。
  13. 如权利要求12所述的路由器,其中,所述接口板的参数信息包括接口板的接口数目、接口速率、接口类型和接口特征,所述转发引擎还设置为根据接口板的参数信息和匹配算法自适应生成与待配置接口板对应的配置参数包括:将所述接口数目、所述接口速率、所述接口类型和所述接口特征作为输入条件,根据输入条件和匹配算法自适应生成所述接口板的接口对应的配置参数。
  14. 一种路由器控制装置,
    路由器控制装置设置为接收路由器的处理板所发送的版本信息,所述版本信息为插入所述处理板的接口板的版本信息;
    以及根据所述版本信息获取与所述版本配置信息对应的版本包,将所述版本包发送给所述处理板。
  15. 如权利要求14所述的路由器控制装置,其中,所述路由器控制装置设置为根据所述版本信息获取与所述版本信息对应的版本包的获取方式包括以下方式中的至少一种:
    所述路由器控制装置根据所述版本信息在本地版本包数据库中查找与所述版本信息对应的版本包;
    所述路由器控制装置根据所述版本信息从云版本服务器获取与所述版本信息对应的版本包;
    所述路由器判断根据所述版本配置信息在本地版本包数据库是否有匹配到对应的版本包,如果有,则提取该版本包;否则,则根据所述版本信息从云版本服务器获取与所述版本信息对应的版本包。
  16. 如权利要求14或15所述的路由器控制装置,其中,所述版本包包括接口板配置文件,在所述路由器控制装置将所述版本包发送给所述处理板之前,所述路由器控制装置还设置为:
    将根据所述版本信息获取与所述版本配置信息对应的版本包作为初始版本包,判断所述接口板所在位置之前是否插入过相同类型的接口板;如果没有,则将初始版本包作为最终版本包发送给所述处理板;如果有,则将初始版本包中的接口板配置文件替换为之前插过的接口板的接口配置文件后作为最终版本包发送给所述处理板。
  17. 一种通信系统,包括路由器和路由器控制装置,所述路由器包括处理板:
    所述处理板设置为获取插入接口板的版本信息,将所述版本信息发送给路由器控制装置;
    所述路由器控制装置设置为接收路由器的处理板所发送的版本信息,根据所述版本信息获取与所述版本配置信息对应的版本包,将所述版本包发送给所述处理板;
    所述处理板还设置为接收所述路由器控制装置反馈的版本包,根据所述版本包进行对应的配置。
PCT/CN2015/072258 2014-10-27 2015-02-04 路由器配置方法及路由器、路由器控制装置和通信系统 WO2015184846A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410583946.5A CN105634762B (zh) 2014-10-27 2014-10-27 路由器配置方法及路由器、路由器控制装置和通信系统
CN201410583946.5 2014-10-27

Publications (1)

Publication Number Publication Date
WO2015184846A1 true WO2015184846A1 (zh) 2015-12-10

Family

ID=54766077

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2015/072258 WO2015184846A1 (zh) 2014-10-27 2015-02-04 路由器配置方法及路由器、路由器控制装置和通信系统
PCT/CN2015/083799 WO2016065928A1 (zh) 2014-10-27 2015-07-10 路由器配置方法及路由器、路由器控制装置和通信系统

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/083799 WO2016065928A1 (zh) 2014-10-27 2015-07-10 路由器配置方法及路由器、路由器控制装置和通信系统

Country Status (2)

Country Link
CN (1) CN105634762B (zh)
WO (2) WO2015184846A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399452B (zh) * 2021-01-21 2021-06-22 中兴通讯股份有限公司 版本配置方法、装置、设备、系统及存储介质
CN114268976B (zh) * 2022-02-24 2022-06-10 深圳市网联天下科技有限公司 wifi路由器配置方法、配置系统、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592222A (zh) * 2003-09-02 2005-03-09 华为技术有限公司 在支持接口热插拔的系统上进行接口备份的方法
CN1851644A (zh) * 2005-10-24 2006-10-25 华为技术有限公司 一种加载机框的方法
CN102164363A (zh) * 2011-04-14 2011-08-24 新邮通信设备有限公司 一种实现基站版本更新的方法和一种基站
CN102571446A (zh) * 2012-02-08 2012-07-11 华为技术有限公司 网络设备的升级方法、装置及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321132B (zh) * 2008-07-23 2011-04-20 中兴通讯股份有限公司 网络处理器的接口板自适应方法和装置
CN101459607B (zh) * 2008-12-31 2011-11-02 华为技术有限公司 一种报文发送方法和路由器
CN102136930B (zh) * 2010-09-03 2014-02-19 华为技术有限公司 一种版本升级方法和路由设备
CN102231684B (zh) * 2011-06-16 2013-11-06 华为技术有限公司 接口板状态检测方法、多核中央处理器、接口板及路由器

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592222A (zh) * 2003-09-02 2005-03-09 华为技术有限公司 在支持接口热插拔的系统上进行接口备份的方法
CN1851644A (zh) * 2005-10-24 2006-10-25 华为技术有限公司 一种加载机框的方法
CN102164363A (zh) * 2011-04-14 2011-08-24 新邮通信设备有限公司 一种实现基站版本更新的方法和一种基站
CN102571446A (zh) * 2012-02-08 2012-07-11 华为技术有限公司 网络设备的升级方法、装置及系统

Also Published As

Publication number Publication date
CN105634762A (zh) 2016-06-01
CN105634762B (zh) 2021-10-15
WO2016065928A1 (zh) 2016-05-06

Similar Documents

Publication Publication Date Title
US11182140B2 (en) Active representation of a composite application
WO2019237586A1 (zh) 定时任务管理方法、装置、计算机设备及存储介质
CA2951618A1 (en) Data pipeline architecture for cloud processing of structured and unstructured data
RU2630170C2 (ru) Способ, оборудование и система для управления устройством
US9866407B2 (en) Information processing system, cloud server, device control method, and non-transitory computer-readable recording medium encoded with device control program
CN108139936A (zh) 提供对自部署的虚拟应用中的虚拟机的串行端口的访问的方法、装置和系统
WO2016058519A1 (en) Physical switch initialization using representational state transfer services
US11210466B2 (en) Multiple document editing using rules for a restricted language
US20170054765A1 (en) Systems and methods for establishing a control channel between a virtualization server and a client device
EP2744173A1 (en) Multiple-service processing method and browser
JP2017501639A (ja) パケット処理方法およびデバイス
US20150082178A1 (en) Transmitting Hardware-Rendered Graphical Data
KR20080053086A (ko) Sca 멀티 컴포넌트 및 멀티 포트 환경에서의 우선 순위제어 장치 및 방법
WO2015184846A1 (zh) 路由器配置方法及路由器、路由器控制装置和通信系统
US20200364073A1 (en) Management apparatus, host apparatus, management method, and program
US10345782B2 (en) Robot control device and communication system having communication function for communicating with programmable logic controller
JP2017538237A (ja) 仮想マシン名を表示するための方法、装置、およびシステム
KR20150088462A (ko) 클라우드 환경에서 네트워크 장치의 연동 방법 및 장치
TW201604693A (zh) 嵌入自然語言處理引擎之雲端服務增補
WO2015135312A1 (zh) 一种实现sdn网络通信管理的方法及装置
CN104468671B (zh) 一种配置信息处理方法、装置及相关设备
US9021117B1 (en) Dynamically selectable transport for kernel driver management
WO2016095491A1 (zh) 一种设备升级的方法及传送网设备
US11115279B2 (en) Client server model for multiple document editor
KR20170052262A (ko) 동적 명령어 처리 장치 및 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15803600

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15803600

Country of ref document: EP

Kind code of ref document: A1