CN108768720B - Routing table information configuration system and method - Google Patents
Routing table information configuration system and method Download PDFInfo
- Publication number
- CN108768720B CN108768720B CN201810512944.5A CN201810512944A CN108768720B CN 108768720 B CN108768720 B CN 108768720B CN 201810512944 A CN201810512944 A CN 201810512944A CN 108768720 B CN108768720 B CN 108768720B
- Authority
- CN
- China
- Prior art keywords
- information
- routing table
- configuration
- configuration module
- port
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/54—Organization of routing tables
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a system and a method for configuring routing table information, which relate to the technical field of information configuration, and the system comprises: the system comprises a conventional information configuration module, a broadcast configuration module and a single-port configuration module; the conventional information configuration module is used for configuring a conventional routing table, wherein the conventional routing table comprises the following information: selecting information of a target default port, RapidIO domain information and multicast mask information; the broadcast configuration module is used for configuring a broadcast routing table; the single-port configuration module is used for configuring a single-port routing table, wherein the single-port routing table comprises the following information: single port device table information and single port domain table information. The invention solves the technical problem of low configuration efficiency of the routing table information of the register caused by the fact that the routing table information of only one register is configured and managed at one time in the prior art, and achieves the technical effects of configuring and managing a plurality of registers at one time and improving the configuration efficiency of the routing table information of the register.
Description
Technical Field
The present invention relates to the field of information configuration technologies, and in particular, to a system and a method for configuring routing table information.
Background
RapidIO is a high-performance, low-pin-count, packet-switching-based interconnect architecture, and is an open interconnect technology standard designed to meet the future requirements of high-performance embedded systems. In terms of technology, as processor performance and bandwidth increase, development has lagged relatively for traditional shared bus technology, and the development of RapidIO is driven by the increasing performance requirements and corresponding bandwidth requirements of semiconductor processing devices. Meanwhile, the embedded market also turns to the use of the technical specification based on the standard, and RapidIO tends to be large.
The configuration of the routing table is the key of RapidIO data interaction, determines the form and the mode of sending and receiving data packets transmitted by a RapidIO protocol, and is also the content frequently used in normal work and verification.
The existing routing table configuration modes are generally the following two types: firstly, writing a script based on the API read-write of the register, calling a corresponding interface function, running the script content through a relevant tool, and performing the read-write operation of the register on the configuration information of the routing table. The disadvantage of this process is that the corresponding script needs to be compiled every time routing information is set, and a script tool needs to be used for operation, which is tedious to operate. Only one register can be configured at a time, and the efficiency is low. When configuring a route, one cannot concentrate on the routing service and also needs to take care of writing the running code, resulting in a high error rate and increased consumption of time and labor costs.
Secondly, searching the corresponding Routing Table Register Info on a Register editing interface through a graphical interface, selecting a Register to be edited, and modifying the Register value. The drawback of this process is that 4864(19 × 256,19 ═ 1 Broadcast +18 ports) registers are used for the routing table, and the individual lookup settings result in very inefficient, increased time and labor costs. The routing Table configuration includes Default Port, RapidIO Domain and Multicast mask configuration besides Route Table related configuration, and it is necessary to jump among various types of registers during operation, and this way of non-uniform configuration resources leads to complicated operation. Only one register can be configured at a time, and the efficiency is low.
No effective solution has been proposed to the above problems.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a system and a method for configuring routing table information, so as to alleviate the technical problem in the prior art that the efficiency of configuring the routing table information of the register is low because the routing table information of one register can be configured and managed at a time.
In a first aspect, an embodiment of the present invention provides a system for configuring routing table information, where the system includes: the system comprises a conventional information configuration module, a broadcast configuration module and a single-port configuration module, wherein the conventional information configuration module is used for configuring a conventional routing table, and the conventional routing table comprises the following information: selecting information of a target default port, RapidIO domain information and multicast mask information; the broadcast configuration module is configured to configure a broadcast routing table, where the broadcast routing table includes the following information: broadcasting device table information and broadcasting domain table information; the single-port configuration module is configured to configure a single-port routing table, where the single-port routing table includes the following information: single port device table information and single port domain table information.
Further, the conventional information configuration module includes: the device comprises a first configuration module, a second configuration module and a third configuration module, wherein the first configuration module is used for acquiring first selection information of a user, and the first selection information is information for selecting a target default port needing routing table information configuration from a plurality of default ports; the second configuration module is used for acquiring RapidIO domain information edited by a user and configuring a RapidIO domain routing table based on the RapidIO domain information; the third configuration module is configured to obtain multicast mask information edited by a user, and configure a multicast mask routing table based on the multicast mask information.
Furthermore, the number of the conventional routing tables is multiple, one conventional routing table corresponds to one target default port, and one conventional routing table corresponds to one register which needs to be configured; the conventional information configuration module further comprises: the first adding module is used for adding each conventional routing table into a first directory table after the configuration of each conventional routing table is completed so as to store and display the information of each conventional routing table in the first directory table; and the first downloading module is used for simultaneously writing each conventional routing table into a corresponding register.
Further, the broadcast configuration module includes: the fourth configuration module is used for acquiring broadcasting equipment table information edited by a user and configuring a broadcasting equipment routing table based on the broadcasting equipment table information; the fifth configuration module is configured to acquire broadcast domain table information edited by a user, and configure a broadcast domain routing table based on the broadcast domain table information, so as to configure the broadcast domain table information in the broadcast routing table.
Furthermore, the number of the broadcast routing tables is multiple, and one broadcast routing table corresponds to one register which needs to be configured; the broadcast configuration module further comprises: a second adding module, configured to add each broadcast routing table to a second directory table after configuration of each broadcast routing table is completed, so as to store and display information of each broadcast routing table in the second directory table; and the second downloading module is used for writing the broadcast routing tables into corresponding registers at the same time.
Further, the single-port configuration module includes: the device comprises a sixth configuration module, a seventh configuration module and an eighth configuration module, wherein the sixth configuration module is used for acquiring second selection information of a user, wherein the second selection information is information for selecting a target single port which needs to be configured with routing table information from a plurality of single ports; the seventh configuration module is configured to acquire the device table information of the target single port edited by the user, and configure the device table of the target single port based on the device table information of the target single port; the eighth configuration module is configured to obtain the domain table information of the target single port edited by the user, and configure the domain table of the target single port based on the domain table information of the target single port.
Furthermore, the number of the single-port routing tables is multiple, and one single-port routing table corresponds to one register needing configuration; the single port configuration module further comprises: a third adding module, configured to add each single-port routing table to a third directory table after each single-port routing table completes configuration, so as to store and display information of each single-port routing table in the third directory table; and the third downloading module is used for writing the single-port routing tables into corresponding registers at the same time.
In a second aspect, an embodiment of the present invention provides a method for configuring routing table information, where the method is applied to a routing table information configuration client, and includes: acquiring a configuration request sent by a user, wherein the configuration request is a request for configuring a routing table on the routing table information configuration client; calling a target configuration module from a plurality of configuration modules based on the configuration request so as to enable the user to configure a target routing table on the target configuration module; the plurality of configuration modules includes: a general information configuration module for configuring a general routing table, a broadcast configuration module for configuring a broadcast routing table, and a single-port configuration module for configuring a single-ended routing table, where the target routing table includes at least one of: the regular routing table, the broadcast routing table, the single-ended routing table; and acquiring configuration information input by a user on the target configuration module, and storing the configuration information in a register corresponding to a target terminal.
Further, invoking a target configuration module among the plurality of configuration modules based on the configuration request to enable the user to perform routing configuration on the target configuration module comprises: if the configuration request is a first configuration request, calling a conventional information configuration module from a plurality of configuration modules based on the first configuration request so as to enable the user to configure a conventional routing table on the conventional information configuration module; if the configuration request is a second configuration request, calling a broadcast configuration module from a plurality of configuration modules based on the second configuration request so as to enable the user to configure a broadcast routing table on the broadcast configuration module; and if the configuration request is a third configuration request, calling a single-port information configuration module from a plurality of configuration modules based on the third configuration request so as to enable the user to configure a single-port routing table on the single-port information configuration module.
Further, the number of the target routing tables is multiple, and one target routing table corresponds to one register to be configured, and the method further includes: after each target routing table is configured, adding each target routing table to a corresponding directory table so as to store and display information of each target routing table in the corresponding directory table; and simultaneously writing each target routing table into a corresponding register.
In the embodiment of the present invention, the system for configuring routing table information includes: the system comprises a conventional information configuration module, a broadcast configuration module and a single-port configuration module; the conventional information configuration module is used for configuring a conventional routing table, wherein the conventional routing table comprises the following information: selecting information of a target default port, RapidIO domain information and multicast mask information; the broadcast configuration module is used for configuring a broadcast routing table, wherein the broadcast routing table comprises the following information: broadcasting device table information and broadcasting domain table information; the single-port configuration module is used for configuring a single-port routing table, wherein the single-port routing table comprises the following information: single port device table information and single port domain table information.
In the embodiment, the routing table information configuration system configures a plurality of conventional routing tables, the number of the broadcast routing tables and the number of the single-port routing tables are multiple, and the plurality of conventional routing tables and/or the plurality of broadcast routing tables and/or the plurality of single-port routing tables can be written into the corresponding registers at the same time, so that the technical problem of low configuration efficiency of the routing table information of the registers due to the fact that only routing table information of one register is configured and managed at a time in the prior art is solved, and the technical effects of configuring and managing a plurality of registers at a time and improving configuration efficiency of the routing table information are achieved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a routing table information configuration system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of another routing table information configuration system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of another routing table information configuration system according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a first configuration module according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a third configuration module according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a fourth configuration module according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a fifth configuration module according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a sixth configuration module according to an embodiment of the present invention;
fig. 9 is a flowchart of a method for configuring routing table information according to an embodiment of the present invention;
fig. 10 is a flowchart of another routing table information configuration method according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
according to an embodiment of the present invention, an embodiment of a method for configuring a system for routing table information is provided.
Fig. 1 is a system for configuring routing table information according to an embodiment of the present invention, as shown in fig. 1, the system includes: the method comprises the following steps: a conventional information configuration module 10, a broadcast configuration module 20, and a single port configuration module 30, wherein,
the conventional information configuring module 10(Routing Table Common configuration) is configured to configure a conventional Routing Table, where the conventional Routing Table includes the following information: selection information of a target Default Port (Default Port), RapidIO field (RapidIO Domain) information, and Multicast Mask (Multicast Mask) information.
The Broadcast configuration module 20(Routing Table Broadcast configuration) is configured to configure a Broadcast Routing Table, where the Broadcast Routing Table (Broadcast Routing Table) includes the following information: broadcast Device Table information (Broadcast Device Table) and Broadcast Domain Table information (Broadcast Domain Table).
The single port configuration module 30(Routing Table Per-port configuration) is configured to configure a single port Routing Table, where the single port Routing Table (Per-port Route Table) includes the following information: single port Device Table information (Per-port Device Table) and single port Domain Table information (Per-port Domain Table).
In the embodiment of the present invention, the routing table information configuration system configures a plurality of conventional routing tables, each of which includes a broadcast routing table and a single-port routing table, and can write a plurality of conventional routing tables, a plurality of broadcast routing tables, or a plurality of single-port routing tables into corresponding registers at the same time, thereby solving the technical problem of low efficiency of register routing table information configuration caused by configuring and managing routing table information of only one register at a time in the prior art, and achieving the technical effects of configuring and managing a plurality of registers at a time and improving the efficiency of register information configuration.
It should be noted that, in the embodiment of the present invention, a user may perform routing table information configuration (for example, only configure a broadcast configuration module) through one configuration module in the routing table information configuration system, or may perform configuration through any two configuration modules of the three configuration modules or perform configuration through all the three configuration modules (for example, perform configuration through a conventional information configuration module and a single-port configuration module, or perform configuration through a conventional information configuration module and a broadcast configuration module).
The routing table information configuration system can adopt a plurality of different schemes on UI construction and layout: for example, the modification of the above technology implementation by using three Tab pages, or the integration of the content packages of three pages into one interface, or the modification of the use mode of elements on the interface. For example, in the embodiment of the present invention, a pull-down menu is used to select a value of a single port, and other schemes may be implemented by replacing an input box.
Optionally, the routing table information configuration system can be written by using a graphical interface development program such as VC + +, VB, QT, Java, and the like.
Optionally, in the embodiment of the present invention, the UI interface of the routing table information configuration system may adopt a windows style, and besides the windows style, the UI interface may also adopt MacOS, Linux, or other styles. The present embodiment is not particularly limited.
Optionally, in the embodiment of the present invention, the routing table information configuration system is developed and completed based on a PC side upper computer, and the debugging needs to be connected to the terminal by using JTAG, I2C, Telnet, or other manners. Besides, it may be possible to develop APP on the mobile handheld device (Phone/Pad, etc.) to implement the content of the system, and connect with the terminal device using the transmission protocol such as Network, local area Network, BT, etc. to complete the relevant configuration work.
In this embodiment of the present invention, as shown in fig. 2 and fig. 3, the conventional information configuration module 10 includes: a first configuration module 11, a second configuration module 12 and a third configuration module 13, wherein:
the first configuration module 11 is configured to obtain first selection information of a user, where the first selection information is information that a target default port is selected from a plurality of default ports and required to be configured with routing table information;
the second configuration module 12 is configured to obtain RapidIO domain information edited by a user, and configure a RapidIO domain routing table based on the RapidIO domain information;
the third configuration module 13 is configured to obtain multicast mask information edited by a user, and configure a multicast mask routing table based on the multicast mask information.
In the embodiment of the present invention, as shown in fig. 4, a schematic diagram of an operation interface of a first configuration module is shown. As can be seen from fig. 4, when the user selects the conventional information configuration module (i.e., the module shown as reference numeral 1 in fig. 4), the first configuration module (i.e., the module shown as reference numeral 2 in fig. 4) will appear on the right side of the interface, and then the user can fill in the number of the target default port on the interface shown as reference numeral 2.
First, the user can select a target default Port to be configured with the routing table information from a plurality of default ports, which are 18 ports 0-17, in the first configuration module 11. In this embodiment, the number of default ports is not limited.
Then, the user can edit RapidIO domain information in the second configuration module 12, so as to configure a RapidIO domain routing table.
Finally, the user can edit the information of the multicast mask in the third configuration module 13, and the specific editing process is described as follows:
first, a selection of a target multicast Port is made, where the number of multicast ports is 18, numbered Port0-Port 17. In this embodiment, the number of multicast terminals is not limited; secondly, selecting Mask information corresponding to target multicast ports, wherein the Mask information corresponding to each target multicast port is 40 groups in total and is numbered Mask0-Mask 39;
thirdly, selecting an output Port corresponding to the target multicast Port, wherein the number of the corresponding output ports is 18, and is numbered from Port0 to Port17, and the selectable number of the corresponding output ports is multiple, for example, Port3, Port4 and Port5 can be used as the output ports in common. In the embodiment of the present invention, as shown in fig. 5, a schematic diagram of an operation interface of a third configuration module is shown. As can be seen from fig. 5, when the user selects the conventional information configuration module (i.e., the module denoted by reference numeral 1 in fig. 5), a third configuration module (i.e., the module denoted by reference numeral 3 in fig. 5) appears on the right side of the interface, and then the user can select a target Multicast port in the Multicast Mask routing table information on the interface denoted by reference numeral 3, set a 40-group Multicast Mask value corresponding to the target Multicast port, and select an output port corresponding to the target Multicast port.
It should be noted that, in the module denoted by reference numeral 3 in fig. 5, when selecting a target multicast port, if a port option of "broadcast" is selected, that is, all 18 multicast ports are used as target ports, multicast mask information configuration is performed on "broadcast", that is, multicast mask information configuration is performed on 18 multicast ports, and configuration information in 18 multicast ports is the same. After the user finishes editing the information of the conventional routing table by the three modules, the conventional routing table is configured and finished.
In the embodiment of the invention, the number of the conventional routing tables is multiple, one conventional routing table corresponds to one target default port, and one conventional routing table corresponds to one register needing to be configured; as shown in fig. 3, the conventional information configuration module 10 further includes:
a first adding module 14, configured to add each conventional routing table to a first directory table after configuration of each conventional routing table is completed, so as to store and display information of each conventional routing table in the first directory table;
a first downloading module 15, configured to write each of the conventional routing tables into the corresponding register at the same time.
In the embodiment of the present invention, a user may configure a plurality of conventional routing tables in the conventional information configuration module 10, where one conventional routing table corresponds to one target default port, and one conventional routing table corresponds to one register that needs to be configured.
The user completes one regular routing table per configuration in the regular information configuration module 10, and the configured regular routing table can be added to the first directory table through the first adding module 14, and displayed and stored in the first directory table.
After the user adds all the conventional routing tables to the first directory table, the conventional routing tables stored in the first directory table can be simultaneously written into the corresponding registers through the first downloading module 15, so that the effect of configuring a plurality of registers at one time is achieved, the user time is saved, and the operation flow of the user is simplified.
In the embodiment of the present invention, as shown in fig. 2 and fig. 3, the broadcast configuration module 20 includes: a fourth configuration module 21 and a fifth configuration module 22, wherein,
the fourth configuration module 21 is configured to obtain the broadcasting equipment table information edited by the user, and configure a broadcasting equipment routing table based on the broadcasting equipment table information;
the fifth configuration module 22 is configured to obtain broadcast domain table information edited by a user, and configure a broadcast domain routing table based on the broadcast domain table information, so as to configure the broadcast domain table information in the broadcast routing table.
In the embodiment of the present invention, a user may edit the broadcast device table information in the fourth configuration module 21, so as to configure the broadcast device routing table, and a plurality of broadcast device tables may be obtained by editing the value of the Dest ID and the value of the Egress Port in the fourth configuration module, where each broadcast device table corresponds to a different register.
In the embodiment of the present invention, as shown in fig. 6, a schematic diagram of an operation interface of a fourth configuration module is shown. As can be seen from fig. 6, when the user selects the broadcast configuration module (i.e., the module denoted by reference numeral 4 in fig. 6), the fourth configuration module (i.e., the module denoted by reference numeral 6 in fig. 6) will appear on the right side of the interface, and the user can edit the broadcast device table information on the interface denoted by reference numeral 6.
The fourth configuration module 21 further includes a first check module by which the user can apply the information configured in the third configuration module 13 to the broadcasting device table configured by the fourth configuration module 21.
The user may also edit the broadcast Domain table information in the fifth configuration module 22, so as to configure the broadcast Domain routing table, wherein a plurality of broadcast Domain tables may be obtained by editing the value of Domain Num and the value of Domain Num aggregate Port in the fifth configuration module, where each broadcast Domain table corresponds to a different register.
In the embodiment of the present invention, as shown in fig. 7, a schematic diagram of an operation interface of a fifth configuration module is shown. As can be seen from fig. 7, when the user selects the broadcast configuration module (i.e., the module shown by reference numeral 4 in fig. 7) and selects the checkmark "Go to set 'Domain' table", the fourth configuration module (i.e., the module shown by reference numeral 7 in fig. 7) will appear on the right side of the interface, and the user can edit the broadcast Domain table information on the interface shown by reference numeral 7.
It should be noted that one broadcast routing table may include one broadcast device table and may also include one broadcast domain table.
In the embodiment of the invention, the number of the broadcast routing tables is multiple, and one broadcast routing table corresponds to one register needing configuration; as shown in fig. 3, the broadcast configuration module further includes:
a second adding module 23, configured to add each broadcast routing table to a second directory table (i.e., a module denoted by reference numeral 5 in fig. 6 and 7) after configuration of each broadcast routing table is completed, so as to store and display information of each broadcast routing table in the second directory table;
and a second downloading module 24, configured to write each broadcast routing table into a corresponding register at the same time.
In the embodiment of the present invention, a user may configure a plurality of broadcast routing tables in the broadcast configuration module 20, where one broadcast routing table corresponds to one register that needs to be configured.
The user completes one broadcast routing table per configuration in the broadcast configuration module 20, and the configured conventional routing table can be added to the second directory table through the second adding module 23, and displayed and stored in the second directory table.
After the user adds all the broadcast routing tables to the second directory table, the broadcast routing tables stored in the second directory table can be simultaneously written into the corresponding registers through the second downloading module 24, so that the effect of configuring a plurality of registers at one time is achieved, the user time is saved, and the operation flow of the user is simplified.
Optionally, the broadcast configuring module 20 further includes a first uploading module, and when the terminal installed with the routing table information configuring system is connected to the target terminal that has completed the register configuration, the user may upload the corresponding register configuration information in the target terminal that has completed the register configuration to the second directory table, and display and store the register configuration information in the second directory table.
For example, the broadcasting device table 1 corresponds to the register 1, and when the user selects the first uploading module, the broadcasting configuration module 20 uploads the information of the register 1 from the register 1 to the broadcasting device table 1, and displays and stores the information in the second directory table.
In the embodiment of the present invention, as shown in fig. 2 and 8, the single-port configuration module 30 includes: a sixth configuration module 31, a seventh configuration module 32 and an eighth configuration module 33, wherein,
the sixth configuration module 31 is configured to obtain second selection information of the user, where the second selection information is information that a target single port needs to be configured with routing table information in the multiple single ports;
the seventh configuration module 32 is configured to acquire the device table information of the target single port edited by the user, and configure the device table of the target single port based on the device table information of the target single port;
the eighth configuration module 33 is configured to obtain the domain table information of the target single port edited by the user, and configure the domain table of the target single port based on the domain table information of the target single port.
In the embodiment of the present invention, the sixth configuration module 31 obtains the second selection information of the user, so as to select the target single port that needs to be configured with the routing table information from the multiple single ports, where the number of the multiple single ports is 18.
The user may edit the information of the target single-Port device table in the seventh configuration module 31, thereby configuring the target single-Port device routing table, and obtain a plurality of target single-Port device tables by editing the value of the Dest ID and the value of the Egress Port in the seventh configuration module, where each target single-Port device table corresponds to a different register.
The seventh configuration module 21 further includes a second checking module, by which the user can apply the information configured in the third configuration module 13 to the target single-port device table configured by the seventh configuration module 31.
In the embodiment of the present invention, as shown in fig. 8, a schematic diagram of an operation interface of a seventh configuration module is shown. As can be seen from fig. 8, when the user selects the single port configuration module (i.e., the module denoted by reference numeral 8 in fig. 8), the seventh configuration module (i.e., the module denoted by reference numeral 10 in fig. 8) will appear on the right side of the interface, and the user can edit the single port device table information on the interface denoted by reference numeral 10.
The user may also edit the target single-Port Domain table information in the eighth configuration module 32, so as to configure the target single-Port Domain routing table, wherein a plurality of target single-Port Domain tables may be obtained by editing the value of Domain Num and the value of Domain Num aggregate Port in the fifth configuration module, and each target single-Port Domain table corresponds to a different register.
It should be noted that one target single-port routing table may include one target single-port device table, and may also include one target single-port domain table.
In the embodiment of the present invention, the number of the single-port routing tables is multiple, and one single-port routing table corresponds to one register to be configured; as shown in fig. 3 and 8, the single-port configuration module 30 further includes:
a third adding module 33, configured to add each single-port routing table to a third directory table (i.e., the module shown by reference numeral 9 in fig. 8) after the configuration of each single-port routing table is completed, so as to store and display information of each single-port routing table in the third directory table;
a third downloading module 34, configured to write each single-port routing table into a corresponding register at the same time.
In the embodiment of the present invention, a user may configure a plurality of single-port routing tables in the single-port configuration module 30, where one single-port routing table corresponds to one register that needs to be configured.
After the user completes one single-port routing table in the single-port configuration module 30 after each configuration, the configured single-port routing table may be added to the third directory table by the third adding module 33, and displayed and stored in the third directory table.
After the user adds all the single-port routing tables to the third directory table, the single-port routing tables stored in the third directory table can be simultaneously written into the corresponding registers through the third downloading module 34, so that the effect of configuring a plurality of registers at one time is achieved, the user time is saved, and the operation flow of the user is simplified.
Optionally, the single-port configuration module 30 further includes a second uploading module, and when the terminal installed with the routing table information configuration system is connected to the target terminal that has completed the register configuration, the user may upload the corresponding register configuration information in the target terminal that has completed the register configuration to the third directory table, and display and store the register configuration information in the third directory table.
For example, the single port device table 2 corresponds to the register 2, and when the user selects the first uploading module, the single port configuration module 30 uploads the information of the register 2 from the register 2 to the single port device table 2, and displays and stores the information in the third directory table.
As can be seen from the above description, in this embodiment, multiple conventional routing tables and/or multiple broadcast routing tables and/or multiple single-port routing tables may be written into corresponding registers at the same time, so as to solve the technical problem in the prior art that the configuration efficiency of the routing table information of the register is low because only the routing table information of one register is configured and managed at a time, and achieve the technical effects of configuring and managing multiple registers at a time and improving the configuration efficiency of the routing table information.
Example two:
an embodiment of the present invention further provides a method for configuring routing table information, where the method is applied to a routing table information configuration client, and as shown in fig. 9, the method for configuring routing table information includes the following steps:
step S102, a configuration request sent by a user is obtained, wherein the configuration request is a request for configuring a routing table on the routing table information configuration client.
Step S104, calling a target configuration module from a plurality of configuration modules based on the configuration request so as to enable the user to configure a target routing table on the target configuration module; the plurality of configuration modules includes: a general information configuration module for configuring a general routing table, a broadcast configuration module for configuring a broadcast routing table, and a single-port configuration module for configuring a single-ended routing table, where the target routing table includes at least one of: the regular routing table, the broadcast routing table, the single-ended routing table.
And step S106, acquiring the configuration information input by the user on the target configuration module, and storing the configuration information in a register corresponding to the target terminal.
In the conventional routing table configured by the routing table information configuration method in this embodiment, the number of the broadcast routing tables and the number of the single-port routing tables are multiple, and multiple conventional routing tables and/or multiple broadcast routing tables and/or multiple single-port routing tables can be written into corresponding registers at the same time, so that the technical problem that in the prior art, the routing table information of one register can be configured and managed at a time, which results in low register routing table information configuration efficiency is solved, and the technical effects of configuring and managing multiple registers at a time and improving register information configuration efficiency are achieved.
Optionally, as shown in fig. 10, in step S104, invoking a target configuration module from the plurality of configuration modules based on the configuration request, so that the user performs a routing configuration on the target configuration module includes:
step S1041, if the configuration request is a first configuration request, invoking a conventional information configuration module from a plurality of configuration modules based on the first configuration request, so that the user performs configuration of a conventional routing table on the conventional information configuration module;
step S1042, if the configuration request is a second configuration request, invoking a broadcast configuration module from a plurality of configuration modules based on the second configuration request, so that the user configures a broadcast routing table on the broadcast configuration module;
step S1043, if the configuration request is a third configuration request, invoking a single port information configuration module in the multiple configuration modules based on the third configuration request, so that the user performs configuration of a single port routing table on the single port information configuration module.
Optionally, as shown in fig. 10, the number of the target routing tables is multiple, and one target routing table corresponds to one register that needs to be configured, where the step S106 further includes:
step S1061, after each target routing table is configured, adding each target routing table to a corresponding directory table to store and display information of each target routing table in the corresponding directory table;
step S1062, writing the target routing tables into corresponding registers at the same time.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (8)
1. A routing table information configuration system, comprising: a general information configuration module, a broadcast configuration module, and a single port configuration module, wherein,
the conventional information configuration module is configured to configure a conventional routing table, where the conventional routing table includes the following information: selecting information of a target default port, RapidIO domain information and multicast mask information;
the broadcast configuration module is configured to configure a broadcast routing table, where the broadcast routing table includes the following information: broadcasting device table information and broadcasting domain table information;
the single-port configuration module is configured to configure a single-port routing table, where the single-port routing table includes the following information: single port device table information and single port domain table information;
the number of the conventional routing tables is multiple, one conventional routing table corresponds to one target default port, and one conventional routing table corresponds to one register needing to be configured; the conventional information configuration module further comprises:
the first adding module is used for adding each conventional routing table into a first directory table after the configuration of each conventional routing table is completed so as to store and display the information of each conventional routing table in the first directory table;
and the first downloading module is used for simultaneously writing each conventional routing table into a corresponding register.
2. The system of claim 1, wherein the regular information configuration module comprises: a first configuration module, a second configuration module, and a third configuration module, wherein,
the first configuration module is used for acquiring first selection information of a user, wherein the first selection information is information for selecting a target default port needing routing table information configuration from a plurality of default ports;
the second configuration module is used for acquiring RapidIO domain information edited by a user and configuring a RapidIO domain routing table based on the RapidIO domain information;
the third configuration module is configured to obtain multicast mask information edited by a user, and configure a multicast mask routing table based on the multicast mask information.
3. The system of claim 1, wherein the broadcast configuration module comprises: a fourth configuration module and a fifth configuration module, wherein,
the fourth configuration module is used for acquiring the broadcasting equipment table information edited by the user and configuring a broadcasting equipment routing table based on the broadcasting equipment table information;
the fifth configuration module is configured to acquire broadcast domain table information edited by a user, and configure a broadcast domain routing table based on the broadcast domain table information, so as to configure the broadcast domain table information in the broadcast routing table.
4. The system of claim 3, wherein the number of the broadcast routing tables is plural, and one broadcast routing table corresponds to one register to be configured; the broadcast configuration module further comprises:
a second adding module, configured to add each broadcast routing table to a second directory table after configuration of each broadcast routing table is completed, so as to store and display information of each broadcast routing table in the second directory table;
and the second downloading module is used for writing the broadcast routing tables into corresponding registers at the same time.
5. The system of claim 1, wherein the single port configuration module comprises: a sixth configuration module, a seventh configuration module, and an eighth configuration module, wherein,
the sixth configuration module is configured to obtain second selection information of the user, where the second selection information is information for selecting a target single port that needs to be configured with routing table information from the multiple single ports;
the seventh configuration module is configured to acquire the device table information of the target single port edited by the user, and configure the device table of the target single port based on the device table information of the target single port;
the eighth configuration module is configured to obtain the domain table information of the target single port edited by the user, and configure the domain table of the target single port based on the domain table information of the target single port.
6. The system of claim 2, wherein the number of the single-port routing tables is plural, and one single-port routing table corresponds to one register to be configured; the single port configuration module further comprises:
a third adding module, configured to add each single-port routing table to a third directory table after each single-port routing table completes configuration, so as to store and display information of each single-port routing table in the third directory table;
and the third downloading module is used for writing the single-port routing tables into corresponding registers at the same time.
7. A method for configuring routing table information is applied to a client for configuring the routing table information, and comprises the following steps:
acquiring a configuration request sent by a user, wherein the configuration request is a request for configuring a routing table on the routing table information configuration client;
calling a target configuration module from the plurality of configuration modules based on the configuration request so as to enable a user to configure a target routing table on the target configuration module; the plurality of configuration modules includes: a general information configuration module for configuring a general routing table, a broadcast configuration module for configuring a broadcast routing table, and a single-port configuration module for configuring a single-ended routing table, where the target routing table includes at least one of: the regular routing table, the broadcast routing table, the single-ended routing table;
acquiring configuration information input by a user on the target configuration module, and storing the configuration information in a register corresponding to a target terminal;
wherein, the number of the target routing tables is multiple, and one target routing table corresponds to one register which needs to be configured, the method further comprises:
after each target routing table is configured, adding each target routing table to a corresponding directory table so as to store and display information of each target routing table in the corresponding directory table;
and simultaneously writing each target routing table into a corresponding register.
8. The method of claim 7, wherein invoking a target configuration module among a plurality of configuration modules based on the configuration request to enable a user to perform routing configuration on the target configuration module comprises:
if the configuration request is a first configuration request, calling a conventional information configuration module from a plurality of configuration modules based on the first configuration request so as to enable the user to configure a conventional routing table on the conventional information configuration module;
if the configuration request is a second configuration request, calling a broadcast configuration module from a plurality of configuration modules based on the second configuration request so as to enable the user to configure a broadcast routing table on the broadcast configuration module;
and if the configuration request is a third configuration request, calling a single-port information configuration module from a plurality of configuration modules based on the third configuration request so as to enable the user to configure a single-port routing table on the single-port information configuration module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810512944.5A CN108768720B (en) | 2018-05-24 | 2018-05-24 | Routing table information configuration system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810512944.5A CN108768720B (en) | 2018-05-24 | 2018-05-24 | Routing table information configuration system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108768720A CN108768720A (en) | 2018-11-06 |
CN108768720B true CN108768720B (en) | 2021-11-05 |
Family
ID=64005609
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810512944.5A Active CN108768720B (en) | 2018-05-24 | 2018-05-24 | Routing table information configuration system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108768720B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116126401B (en) * | 2023-04-12 | 2023-07-25 | 此芯科技(上海)有限公司 | Register configuration circuit, method and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102186221A (en) * | 2011-04-25 | 2011-09-14 | 北京星网锐捷网络技术有限公司 | Method and device for updating routing table item |
CN105490845A (en) * | 2015-12-08 | 2016-04-13 | 中国航空工业集团公司西安航空计算技术研究所 | FC switcher cascading configuration and routing realizing method |
CN107426105A (en) * | 2017-07-17 | 2017-12-01 | 中国电子科技集团公司第五十四研究所 | A kind of high usage route structure and its maintenance and read method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8098650B2 (en) * | 2008-11-28 | 2012-01-17 | Korea Advanced Institute Of Science And Technology | Apparatus and method for processing contents using routing table |
-
2018
- 2018-05-24 CN CN201810512944.5A patent/CN108768720B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102186221A (en) * | 2011-04-25 | 2011-09-14 | 北京星网锐捷网络技术有限公司 | Method and device for updating routing table item |
CN105490845A (en) * | 2015-12-08 | 2016-04-13 | 中国航空工业集团公司西安航空计算技术研究所 | FC switcher cascading configuration and routing realizing method |
CN107426105A (en) * | 2017-07-17 | 2017-12-01 | 中国电子科技集团公司第五十四研究所 | A kind of high usage route structure and its maintenance and read method |
Non-Patent Citations (1)
Title |
---|
基于Rapidio协议的高效路由设计;刘淑涛等;《中国集成电路》;20180205;第27卷(第1-2期);第50-53页 * |
Also Published As
Publication number | Publication date |
---|---|
CN108768720A (en) | 2018-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10728110B2 (en) | Network connectivity wizard to support automated creation of customized configurations for virtual private cloud computing networks | |
US10346344B2 (en) | Method, client device and data forwarding device for transmitting data through serial port | |
CN110266761B (en) | Load balancing application creation method and device, computer equipment and storage medium | |
CN108845808A (en) | Middleware installation method, device, computer equipment and storage medium | |
CN105095023A (en) | Cloud host establishing device and method and calculating equipment | |
CN108768720B (en) | Routing table information configuration system and method | |
CN109815721A (en) | A kind of method, apparatus, terminal and storage medium for modifying BIOS Setup option password by BMC | |
CN115913937A (en) | Container multi-network-card network configuration method, device, equipment and storage medium | |
CN109992504A (en) | A kind of server Redfish test method, system, terminal and storage medium | |
CN105159272B (en) | A kind of vehicle diagnosis function switching method and device | |
CN106201471A (en) | The method of display color temperature is set, device and electronic equipment are set | |
CN110943859B (en) | Network port sequence adjusting method, device, equipment and storage medium | |
CN102377606A (en) | Network connection device and port test method thereof | |
CN110445858A (en) | Server-side connects client approach and device, equipment, medium simultaneously | |
CN115134256B (en) | Method, system, terminal and storage medium for constructing switch management network | |
CN107124310A (en) | The collocation method and device of a kind of authority | |
US20230269114A1 (en) | Automated cloud on-ramp in a data center | |
CN113282374B (en) | Server control method, device and system | |
CN110971696B (en) | System and method for realizing virtual electronic card communication | |
CN107204914A (en) | Information processing method and device, computer installation and storage medium | |
CN103605594B (en) | Terminal-based funcall method and device | |
CN109257355A (en) | One kind being based on Transmission Control Protocol data transmission method, system and associated component | |
CN108737220B (en) | Test system of routing equipment | |
CN109976818A (en) | A kind of BIOS Setup option setting result acquisition methods, device, terminal and storage medium | |
CN105939214B (en) | Method and device for realizing network card function |
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 |