CN113114516B - Router management method and device - Google Patents

Router management method and device Download PDF

Info

Publication number
CN113114516B
CN113114516B CN202110553277.7A CN202110553277A CN113114516B CN 113114516 B CN113114516 B CN 113114516B CN 202110553277 A CN202110553277 A CN 202110553277A CN 113114516 B CN113114516 B CN 113114516B
Authority
CN
China
Prior art keywords
router
port
utilization rate
board
management device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110553277.7A
Other languages
Chinese (zh)
Other versions
CN113114516A (en
Inventor
班瑞
马季春
华润多
王鹏
李颖
陈泉霖
王迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd, China Information Technology Designing and Consulting Institute Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110553277.7A priority Critical patent/CN113114516B/en
Publication of CN113114516A publication Critical patent/CN113114516A/en
Application granted granted Critical
Publication of CN113114516B publication Critical patent/CN113114516B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0882Utilisation of link capacity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate

Landscapes

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

Abstract

The application provides a management method and device of a router, relates to the technical field of communication, and is used for accurately and quickly determining whether the router is subjected to capacity expansion or not. The method comprises the following steps: the management device determines the bandwidth utilization rate and the port utilization rate of the target router, wherein the bandwidth utilization rate is determined according to the data flow rate and the bandwidth of the target router, and the port utilization rate is determined according to the port used by the target router and the configured port; and under the condition that the target router has the bandwidth utilization rate and the port utilization rate meets the preset capacity expansion condition, the management device determines that the capacity of the target router is expanded.

Description

Router management method and device
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a management method and device of a router.
Background
With the rise and rapid development of home broadband and 5G services, traffic flow carried by network devices of a communication network is gradually increasing. In order to ensure normal use of the service, the communication operator needs to periodically expand the capacity of the network device, thereby increasing the processing capacity of the network device and reducing the load.
Therein, a network device of a communication network may comprise two levels: a convergence/access router layer and a core router layer. Wherein, the aggregation/access router layer and the core router layer comprise a plurality of routers. The plurality of routers may be used to forward data. However, in general, the capabilities of the router are limited due to the hardware conditions of the router. Therefore, when the amount of data to be transferred gradually increases, the router needs to be expanded.
In the prior art, it is generally determined whether a router needs to be expanded manually. Because manual judgment has certain limitation, if the prior art is adopted to judge whether the router is used for capacity expansion, the efficiency is low, and the error is large.
Disclosure of Invention
The embodiment of the application provides a device management method and device, which are used for accurately and quickly determining whether to perform capacity expansion on a router.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, a management method for a router is provided, where the method includes: a management device of the router (hereinafter, for convenience of description, simply referred to as a management device) determines a bandwidth utilization rate and a port utilization rate of the target router, wherein the bandwidth utilization rate is determined according to a data flow rate and a bandwidth of the target router, and the port utilization rate is determined according to a port used by the target router and a configured port; and under the condition that the target router has the bandwidth utilization rate and the port utilization rate meets the preset capacity expansion condition, the management device determines that the capacity of the target router is expanded.
Based on the technical scheme provided by the application, the management device can determine whether to expand the capacity of the router according to the bandwidth utilization rate and the port utilization rate of the router. Because the bandwidth utilization rate and the port utilization rate of the router can reflect the load condition of the router, the load of the router is higher when the bandwidth utilization rate and the port utilization rate of the router meet the preset capacity expansion condition. Under the condition that the load of the router is high, the management device can determine to expand the capacity of the router, and compared with a method based on manual judgment in the prior art, the technical scheme provided by the application is more accurate and flexible.
In a second aspect, a management device of a router is provided, and the management device may be a functional module in a main integrated cabinet for implementing the method according to the first aspect or any possible design of the first aspect. The management device may implement the functions performed by the above aspects or each possible design central control management device, and the functions may be implemented by executing corresponding software through hardware. The hardware or software comprises one or more modules corresponding to the functions. Such as: the management device includes a processing unit.
And the processing unit is used for determining the bandwidth utilization rate and the port utilization rate of the target router, wherein the bandwidth utilization rate is determined according to the data flow rate and the bandwidth of the target router, and the port utilization rate is determined according to the port used by the target router and the configured port.
And the processing unit is further used for determining the target router to be capacity-expanded under the condition that the bandwidth utilization rate of the target router and the port utilization rate meet the preset capacity-expanding condition.
The specific implementation manner of the management device may refer to the first aspect or the behavior function of the management device in the management method provided by any possible design of the first aspect, and will not be described repeatedly herein. Thus, the management device provided may achieve the same advantageous effects as the first aspect or any of the possible designs of the first aspect.
In a third aspect, a communication device is provided, which may be a management device or a chip or a system on a chip in a management device. The communication device may implement the functions performed by the management device in each of the above aspects or possible designs, which may be implemented by hardware, such as: in one possible design, the communication device may include: a processor and a communication unit, the processor being operable to support the communication device to perform functions referred to in the first aspect or any one of the possible designs of the first aspect, for example: the processor acquires the information of the plurality of boards in the working state through the communication unit.
In yet another possible design, the communication device may further include a memory for storing computer-executable instructions and data necessary for the communication device. The processor executes the computer executable instructions stored by the memory when the communication device is operating to cause the communication device to perform the management method of the first aspect or any one of the possible designs of the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, which may be a readable non-volatile storage medium, the computer-readable storage medium storing a computer instruction or a program, which when executed on a computer, enables the computer to perform the management method according to the first aspect or any one of the above-mentioned aspects.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the management method of the first aspect described above or any one of the possible designs of the above aspect.
In a sixth aspect, a communication device is provided, which may be a management device or a chip or system on a chip in a management device, the communication device including one or more processors and one or more memories. The one or more memories are coupled to the one or more processors for storing computer program code comprising computer instructions which, when executed by the one or more processors, cause the communication apparatus to perform the management method as set forth in the first aspect above or any possible design of the first aspect.
In a seventh aspect, a chip system is provided, where the chip system includes a processor and a communication interface, and the chip system may be configured to implement the function performed by the management apparatus in the first aspect or any possible design of the first aspect, for example, the processor is configured to obtain information of a plurality of boards in an operating state through the communication interface. In one possible design, the system-on-chip further includes a memory to hold program instructions and/or data. The chip system may be formed by a chip, and may also include a chip and other discrete devices, without limitation.
For technical effects brought by any design manner of the second aspect to the seventh aspect, reference may be made to the technical effects brought by the first aspect or any possible design of the first aspect, and details are not repeated.
Drawings
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of another communication system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of another communication system according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a management apparatus 400 according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a management method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another management device 60 according to an embodiment of the present application.
Detailed Description
Before describing the embodiments of the present application, the terms referred to in the embodiments of the present application are explained:
the router: also referred to as gateway devices. A router is a hardware device that connects two or more networks and acts as a gateway between the networks. The router can read the network address in each data packet and forward the data packet according to the network address.
In network communication, a router has functions of judging a network address and selecting an IP path, and can construct a flexible link system in a plurality of network environments. The routers may link the various subnets through different data packets and media access patterns. The router can receive information transmitted by a source station or other relevant routers, and is an interconnection device based on a network layer.
An example is a communication network provided in the embodiments of the present application, as shown in fig. 1 and fig. 2. The communication network may include multiple tiers, and may include, for example, a lower network, an aggregation/access router layer, a core router layer, and an upper network.
The aggregation/access router layer and the core router layer may each include a plurality of routers, for example, the aggregation/access router layer may include aggregation/access routers 1 to 3, and the core router layer may include core routers 1 to 2.
Wherein, the lower links of a plurality of aggregation/access routers in the aggregation/access router layer are in communication connection with the equipment of the lower layer network. The upstream of the plurality of aggregation/access routers of the aggregation/access routing layer is connected to the plurality of core routers of the core routing layer. The upper connection of a plurality of core routers of the core routing layer is connected with equipment of an upper layer network.
The lower layer network may be a transmission network, and the device of the lower layer network may be an OLT device. The upper network may be a backbone network, and the devices in the upper network may be core network devices.
Wherein the core router may be connected to devices in the upper network via one or more routes. As shown in fig. 1, each core router is connected to devices in the upper network via a route, and this connection mode may be called a square-type uplink. As shown in fig. 2, each core router may be connected to a plurality of devices in an upper network through a plurality of routes, and this connection mode may be referred to as cross-type uplink.
It should be noted that, the capacity expansion manners of the core routers in different connection manners are different, and details will be described later, which are not described herein.
It should be noted that a router may be provided with a plurality of boards, each of which may have one or more ports. The port may act as an ingress or egress for data forwarding. Ports may be divided into a number of different levels depending on the capabilities. For example, the data can be classified into GE, 10GE, 100GE, etc., and the data amount carried by the ports of different levels is different. In this embodiment of the present application, expanding the capacity of the router may refer to increasing the number of boards of the router.
The board card of the router can be divided into a mother card and a daughter card. The mother card may be installed in a slot of the router. The mother card may have one or more ports (which may be referred to as a fixed board card) or may not have ports. In the case of a mother card without ports, a daughter card with ports (which may be referred to as a flexible card) needs to be mounted on the mother card.
At present, as the number of user terminals increases and the services of the user terminals increase, the amount of data carried by the router also increases. Therefore, to avoid data blocking, the communication carrier needs to expand the router.
In the prior art, the capacity expansion of the router is generally determined based on workers. However, the manual determination method has a certain limitation because the efficiency is low and the error is large.
In view of this, an embodiment of the present application provides a method for managing a route, where the method may include: the management device determines the bandwidth utilization rate and the port utilization rate of a target router, wherein the bandwidth utilization rate of the target router is determined according to the data flow rate and the bandwidth of the target router, and the port utilization rate of the target router is determined according to the ratio of the number of ports used by the target router to the number of configured ports; and under the condition that the bandwidth utilization rate and the port utilization rate of the target router meet preset capacity expansion conditions, the management device determines that the capacity of the target router is expanded.
Based on the technical scheme provided by the embodiment of the application, the management device can determine whether to perform capacity expansion on the router according to the bandwidth utilization rate and the port utilization rate of the router. Because the bandwidth utilization rate and the port utilization rate of the router can reflect the load condition of the router, the load of the router is higher when the bandwidth utilization rate and the port utilization rate of the router meet the preset capacity expansion condition. Under the condition that the load of the router is high, the management device can determine to expand the capacity of the router, and compared with a method based on manual judgment in the prior art, the technical scheme provided by the application is more accurate and flexible.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
For the convenience of clearly describing the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first" and "second" are used to distinguish the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the terms "first" and "second" are not used to limit the quantity and execution order.
It should be noted that the communication system described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation to the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows along with the evolution of the communication system and the appearance of other communication systems, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
Fig. 3 is a schematic diagram illustrating a communication system according to an embodiment of the present application. As shown in fig. 3, the communication system may include a management apparatus and a plurality of routers. The management device is communicatively coupled to the plurality of routers.
The management apparatus may detect the bearers of the routers, for example, may detect the data rates and port utilization of the routers.
Wherein the functions of the plurality of routers may be described with reference to the above noun terms. The plurality of routers may be the routers in fig. 1 or fig. 2, for example, the routers in fig. 3 may be core routers, access/aggregation routers.
The embodiment of the present application does not limit the application scenario of the communication system. The system architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person of ordinary skill in the art knows that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
In a specific implementation, the management device in fig. 3 may adopt the composition structure shown in fig. 4, or include the components shown in fig. 4. Fig. 4 is a schematic diagram illustrating a component of a management apparatus 400 according to an embodiment of the present disclosure, where the power control apparatus 400 may be a chip of a controller or a system on a chip. Alternatively, the power control apparatus 400 may be a chip in a controller or a system on a chip. As shown in fig. 4, the power control apparatus 400 includes a processor 401, a communication interface 402, and a communication line 403.
Further, the power control apparatus 400 may further include a memory 404. The processor 301, the memory 404 and the communication interface 402 may be connected by a communication line 403.
The processor 401 may be a CPU, a general purpose processor Network (NP), a Digital Signal Processor (DSP), a microprocessor, a microcontroller, a Programmable Logic Device (PLD), or any combination thereof. The processor 401 may also be other devices with processing functions, such as, without limitation, a circuit, a device or a software module.
A communication interface 402 for communicating with other devices or other communication networks. The other communication network may be an ethernet, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), or the like. The communication interface 402 may be a module, a circuit, a communication interface, or any device capable of enabling communication.
A communication line 403 for transmitting information between the respective components included in the power control apparatus 400.
A memory 404 for storing instructions. Wherein the instructions may be a computer program.
The memory 404 may be a read-only memory (ROM) or other types of static storage devices that can store static information and/or instructions, a Random Access Memory (RAM) or other types of dynamic storage devices that can store information and/or instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disc storage medium or other magnetic storage devices, and the like, without limitation.
It is noted that the memory 404 may exist separately from the processor 401 or may be integrated with the processor 401. The memory 404 may be used for storing instructions or program code or some data or the like. The memory 404 may be located inside the power control apparatus 400, or may be located outside the power control apparatus 400, which is not limited. A processor 401 configured to execute the instructions stored in the memory 404 to implement the method for determining the antenna parameter provided in the following embodiments of the present application.
In one example, processor 401 may include one or more CPUs, such as CPU0 and CPU1 in fig. 4.
As an alternative implementation, the power control apparatus 400 includes a plurality of processors, for example, a processor 407 may be included in addition to the processor 401 in fig. 4.
As an alternative implementation, the power control apparatus 400 further includes an output device 405 and an input device 406. Illustratively, the input device 406 is a keyboard, mouse, microphone, or joystick, among other devices, and the output device 405 is a display screen, speaker (spaker), among other devices.
It is to be noted that the constituent structure shown in fig. 4 does not constitute a limitation of the management device in fig. 3, and the management device in fig. 3 may include more or less components than those shown in fig. 4, or combine some components, or arrange different components, in addition to the components shown in fig. 4.
In the embodiment of the present application, the chip system may be composed of a chip, and may also include a chip and other discrete devices.
In addition, acts, terms, and the like referred to between the embodiments of the present application may be mutually referenced and are not limited. In the embodiment of the present application, the name of the message or the name of the parameter in the message that is interacted between the devices is only an example, and other names may also be used in specific implementation, which is not limited.
The following describes a power control method provided in an embodiment of the present application with reference to the systems shown in fig. 1 to 3. In the embodiment, actions, terms and the like related between the embodiments of the present application may be mutually referred, and are not limited. In the embodiment of the present application, the name of the message exchanged between the devices or the name of the parameter in the message, etc. are only an example, and other names may also be used in the specific implementation, which is not limited. The actions involved in the embodiments of the present application are only examples, and other names may be used in specific implementations.
Fig. 5 provides a management method for a router according to an embodiment of the present application, and as shown in fig. 5, the method includes:
step 501, the management device determines the bandwidth utilization and port utilization of the target router.
Among them, the management device may be the management device in fig. 3, and the management device may have the components of fig. 4. The destination router may be the router in fig. 1 or fig. 2. For example, it may be a core router or an aggregation/access router in fig. 1 or fig. 2.
The bandwidth utilization of the target router may refer to an uplink bandwidth utilization of the target router. The uplink bandwidth utilization of the target router may be a ratio between a data rate of the uplink direction route of the target router and a bandwidth configured by the uplink route.
For example, when the target router is a core router, the data rate in the upstream direction of the core router may refer to the data rate flowing from the core router to the upper network. For example, the ratio of the total amount of data flowing from the uplink port of the core router to the upper network within the preset time period to the preset time may be used. The preset time may be set according to needs, and for example, may be 24 hours, one week, or one month, without limitation. The data rate in the uplink direction of the core router may also be the maximum traffic rate flowing from the uplink port of the core router to the upper network within a preset time period.
For another example, when the target router is a convergence/access router, the data rate in the upstream direction of the convergence/access router may refer to the data rate flowing from the convergence/access router to the core router. For example, the ratio of the total amount of data flowing from the uplink port of the aggregation/access router to the core router within the preset time period to the time before the preset time may be used. The preset time can be referred to above and will not be described again. The data rate in the uplink direction of the aggregation/access router may also be the maximum traffic rate flowing from the uplink port of the aggregation/access router to the core router within a preset time period.
The port utilization of the target router may be determined according to the used port and the configured port of the target router. Specifically, the management device may determine the port utilization of the target router according to the port type and number used by the target router and the configured port type and number.
In one example, the management device may determine the port utilization of the target router according to formula one.
R=∑(U i *A i )/∑(M j *A j ) Formula one
Where R represents the port utilization of the target router. U shape i Indicating the number of ports used by the target router, A i Indicating the capabilities of the port used by the target router. M is a group of j Number of ports, A, representing configuration of target router j Indicating the capabilities of the port configured by the target router.
For example, the target router is configured with both 10GE and 100GE types of ports. The number of 10GE ports is 20, and the number of 100GE ports is 5. The number of 10GE ports used by the target router is 8, and the number of 100GE ports used is 3, then the port utilization rate of the target router may be (8 × 10+3 × 100)/(20 × 10+ 5) ≈ 54.3.
Step 502, when the bandwidth utilization rate and the port utilization rate of the target router meet the preset expansion condition, the management device determines to perform expansion for the target router.
The preset capacity expansion condition may be used to determine whether capacity expansion is performed for the target router. For example, the preset capacity expansion condition may include a plurality of thresholds, and the plurality of thresholds may be used to limit the bandwidth utilization of the target router and the upper limit of the port utilization. That is, when the bandwidth utilization of the target router is greater than the first threshold and the port utilization is greater than the second threshold, the management apparatus may determine that the capacity of the target router is expanded. The first threshold and the second threshold may be set as needed or determined according to historical data, and are not limited.
In one example, the management apparatus may determine the first threshold and the second threshold from historical data. The historical data may refer to historical data of routers in the communication system. For example, the historical data may include Identification (ID) of the router, time, data traffic, port, etc. data. The following describes a method for determining the first threshold and the second threshold:
1. a method of determining the first threshold.
S1, the management device determines a data traffic growth coefficient of each router in a plurality of routers.
The data traffic growth coefficient of the router is determined according to the ratio of the data traffic rate of the first time period to the data traffic rate of the second time period.
The first time period is a time period which is after and adjacent to the second time period. The time lengths of the first time period and the second time period are the same, and the time lengths may be set according to needs, for example, 10 days, 30 days, and the like, without limitation.
The data traffic rate of the first time period may refer to an average data traffic rate of the router in the first time period, or a maximum data traffic rate in the first time period. The data traffic rate for the second time period may be an average data traffic rate of the router over the second time period.
It should be noted that, in the embodiment of the present application, data rates of consecutive multiple time periods may be obtained, and multiple data traffic growth coefficients may be determined according to the data rate of an adjacent time period in the data rates of multiple time periods.
And S2, the management device determines a first threshold value according to the data traffic increase coefficients of the routers.
The data traffic increase coefficient of the plurality of routers may refer to a maximum data traffic increase coefficient of the plurality of routers. The first threshold may be determined based on a maximum of maximum data traffic growth coefficients for the plurality of routers,
for example, the maximum data traffic growth factor of the router 1 is α 1 The maximum data traffic growth coefficient of the router 2 is α 2 The maximum data traffic growth coefficient of the router 3 is α 3 . The first threshold =1/max (α) 1 ,α 2 ,α 3 )。
Of course, the first threshold may also be an average value, a weighted average value, an intermediate value, or the like of the maximum data traffic growth coefficients of the plurality of routers, which is not limited.
2. And determining a second threshold value.
And S3, the management device acquires the number of the used ports in a plurality of continuous time periods of each router.
And S4, the management device determines the port growth coefficient of the router according to the number of the ports used by the router in a plurality of continuous time periods.
The port growth coefficient of the router is the ratio of the number of the ports used in the first time period to the number of the ports used in the second time period. The first time period is a time period after and adjacent to the second time period. In this manner, the management device may determine a plurality of port growth factors for each router.
And S5, the management device determines a second threshold value according to the maximum port growth coefficient of the plurality of routers.
Wherein, the maximum port growth coefficient of the router refers to the maximum value of the plurality of port growth coefficients of the router. The second threshold may be determined for a maximum value of a maximum port growth factor of the plurality of routers.
For example, the maximum port growth factor of the router 1 is β 1 The maximum port growth factor of the router 2 is β 2 The maximum port growth coefficient of the router 3 is β 3 . Then, the second threshold =1/max (β) 1 ,β 2 ,β 3 )。
It should be noted that in the solution of fig. 5, the target router is of the same type as the above-mentioned routers. For example, if the target router is a core router, the plurality of routers are also core routers; if the target router is a convergence/access router, the plurality of routers are convergence/access routers.
Based on the technical scheme in fig. 5, the management apparatus may determine whether to perform capacity expansion for the router according to the bandwidth utilization rate and the port utilization rate of the router. Because the bandwidth utilization rate and the port utilization rate of the router can reflect the load condition of the router, the load of the router is higher when the bandwidth utilization rate and the port utilization rate of the router meet the preset capacity expansion condition. Under the condition that the load of the router is high, the management device can determine to expand the capacity of the router, and compared with a method based on manual judgment in the prior art, the technical scheme provided by the application is more accurate and flexible.
In a possible implementation manner of the method shown in fig. 5, after determining to perform capacity expansion for the target router, the method provided in this embodiment of the present application may further include: the management device determines first board card information from a preset board card recommendation library according to a preset capacity expansion strategy.
The first board information may at least include a board model, a type, and a number.
The preset capacity expansion strategy can be used for determining the capacity expansion or increased board card information of the target router. Specifically, it will be described later.
The preset board information base can be used for providing usable boards for the management device when the capacity of the target router is expanded. The preset board recommendation library may be configured for the management device, or may be generated by the management device, which is not limited. For example, the preset board recommendation library may be stored in the management device in a table format, or may be stored in an array format, without limitation.
In one example, the preset board recommendation library may include a plurality of routers and configuration information of each router in the plurality of routers. The configuration information may include an ID of the router, a model of the router, capability and manufacturer information of the router, types of boards configured by the router, the number and types of ports of the boards, capability of the boards, and the like. The board information in the preset board recommendation library can be determined according to the board information in a working state in the current network.
In a possible implementation manner, the management device may determine a preset board recommendation library according to the association relationship between the router and the boards and the scores of the boards of the various models.
In one example, the association relationship between a router and a board card it has may be as shown in table 1.
TABLE 1
Figure BDA0003076147640000131
/>
Figure BDA0003076147640000141
It should be noted that the data in table 1 is only exemplary, and may include other data, without limitation. The cards in table 1 may be daughter cards or mother cards of an existing network. The router and the mother card are in one-to-many relationship, and the mother card and the daughter card are in one-to-many relationship. The board card can be a board card for actually processing services, and comprises a fixed board card and a flexible board card.
It should be noted that the data in table 1 is only used to describe the configuration board and port of one router. In the embodiment of the application, the management device can determine the board card and the port information configured by each router in the current network. Further, the management device can classify the association relationship between the plurality of routers and the board card according to the home machine room of the router. Thus, management can be facilitated.
Further, in order to select boards more accurately, the management device may determine scores of boards of various models based on the information in table 1. The score of the board card can reflect the use priority of the board card. That is, the higher the score of the board card is, the higher the management device can preferentially configure the board card for the target router.
For example, the management device may determine the score of the board according to the multiple dimensions and the corresponding weights. The plurality of dimensions may include: the latest network access year of each type of board card (daughter card and mother card), the board card density (the number of ports on one board card), the board card type ratio, the board card type and the online proportion of the ports on the board card. The weight of each dimension may be set as required, for example, the corresponding weight may be determined according to the importance degree of each dimension.
In one example, the scores and weights for each model of board may be as shown in Table 2.
TABLE 2
Figure BDA0003076147640000151
The values in table 2 may be set as needed, and are not limited. For example, the latest network access year of the board card may be divided in units of months. For another example, the values corresponding to the card type ratios in the same year and the online port ratios may be set as needed, for example, x may be 40%, y may be 30%, and n may be 20% in table 1, which is not limited. For example, the score and the weight of the board card may be set as required, which is not described in detail.
Further, the score for each type of board may be determined based on one or more of the following strategies.
The more recent the strategy 1 and the network access year of the board card, the board card is used latest and has high priority.
And 2, in the strategy, because the number of the slots of the router is limited, the board card with high board card density is preferentially selected within the capacity range of the router. The board density refers to the number of ports of the board.
It should be noted that, because the capability of the router is limited, if the sum of the capabilities of the boards configured by the router exceeds the processing capability of the router, the boards are wasted. Therefore, the sum of the processing capacity of the newly added board card of the router and the processing capacity of the existing board card of the router does not exceed the processing capacity of the router. The processing power of a router may refer to the total amount of data that the router is able to forward per unit time.
And 3, selecting a board card with installation time not exceeding a preset year (such as three years). If the number of the type of the board card is larger, it indicates that the use priority of the type of the board card is higher.
And 4, selecting a board with high evolution technology, for example, selecting a flexible daughter card.
And 5, selecting a board card with a high online port ratio. If the proportion of the online ports of the board card is low, the board card is poor in use tendency or prone to failure, and the purchase priority is low. Therefore, the management device can preferentially select the board with the online port larger than the preset ratio. The preset ratio can be set according to the requirement, for example, can be 60% or 80%, and is not limited.
It should be noted that the above strategies 1 to 5 are only exemplary, and other strategies may be provided, for example, selecting a board with a relatively high cost performance, selecting a board with a simple mounting process, and the like, without limitation.
Further, based on the association relationship between the routers and the board cards in table 1 and the scores of the board cards of the types in table 2, the management device may group the routers and the board cards according to manufacturers, the capability of the target router, and the capability of the board card bearing port, select the type of the daughter card or the mother card with the highest score in each group, and establish a preset board card recommendation library.
In an example, the preset board recommendation library may include a plurality of routers and configured board information, and each router and configured board information may be as shown in table 3.
TABLE 3
Figure BDA0003076147640000171
It should be noted that the ID in table 3 can be used to uniquely identify a router and its board information. That is, the router and its board information in table 3 is a router and its board information in the preset board recommendation library. The router and the board card information thereof may be the router and the board card information thereof with the score determined according to the rule of table 2 larger than the preset score, or the router and the board card information thereof determined according to other rules.
Table 3, the mother card including a slot without a port may mean that the mother card does not have a port, but has a slot for mounting a daughter card. The board capability may refer to the number and type of ports the board has. For example, a card capability of 10GE indicates that the card has 10GE ports. For another example, a card capability of 5 × 10GE indicates that the card has 5 ports of 10GE.
In one example, based on table 3, the information in table 3 is: hua is-400 GE-3- (P240-A) -10GE-10. That is, the board information is: the router manufacturer belongs to Huawei, the router capacity is 400GE, the board type is daughter card, the board type is P240-A, the board has a port type of 10GE, and the board capacity is 10 × 10GE (namely, 10GE ports are provided).
In a possible implementation manner, after determining the board card information configured for the target router, the management device may select different expansion schemes to configure the board card for the target router according to the type of the target router and the router and board card information thereof in table 3.
Wherein, if the target router is a convergence/access router, the management device can select a first scheme; if the target router is a core router, the management apparatus may select scheme two. Scheme one and scheme two are described below.
In the first aspect, if the target router is a convergence/access router, the management apparatus may execute the following A1 to A7.
It should be noted that, according to the operation and maintenance requirements of communication, the links of the aggregation/access router device cannot be bundled, that is, the port types of all uplink links of the aggregation/access router need to be consistent. Therefore, the management device may use the port type of the currently existing uplink of the aggregation/access router as the port type that needs to be expanded.
A1, the management device can obtain card information capable of expanding capacity from a preset card recommendation library according to the capacity of the target router, a manufacturer and the type of a port needing expansion.
Because the port may be carried by the daughter card or directly by the mother card, the expandable board card may include the daughter card and the mother card, or may be the mother card directly carrying the port.
A2, if the expandable board card is a mother card, expanding the mother card; if the expandable board card is the daughter card and the mother card, after expanding the daughter card, the management device may determine whether the mother card needs to be expanded according to whether the target router has an empty Yu Zi slot.
In an example, if the management device determines that the card type that the target router can expand is a daughter card, the management device determines that the expansion scheme may include the daughter card when the target router has an empty Yu Zi slot; and under the condition that the target router does not have the spare sub slot position, the management device determines that the capacity expansion scheme can comprise the daughter card and the mother card.
And A3, the management device determines the quantity of the expanded board cards according to the disaster tolerance requirement of the target router.
The disaster recovery requirement may refer to whether the capacity-expanded port of the router needs a port for backup of the device, and the backup port and the capacity-expanded port are not located on the same board card.
Specifically, if the target router does not have the disaster tolerance requirement, the management device may determine the number of boards increased at one time as the number of boards required for capacity expansion of the target router; if the target router has a disaster tolerance requirement, the management device may determine that the number of boards that are increased at least once is twice the number required for capacity expansion.
For example, if the number of boards that need to be expanded is 1, that is, the number and the type of the ports of the board can meet the expansion requirement of the target router. In a case where the target router has a disaster tolerance requirement (the aggregation/access router generally has a disaster tolerance requirement), the management device may determine that the number of boards expanded by the target router is 2.
And A4, after determining that the card information is the card information of the target router, the management device can judge whether the bandwidth utilization rate and the port utilization rate of the target router meet the preset capacity expansion condition again. And if so, continuing to expand the capacity board card until the bandwidth utilization rate and the port utilization rate of the target router do not meet the preset capacity expansion condition.
The bandwidth utilization rate and the port utilization rate of the target router can be determined according to the existing board card information and the board card information after capacity expansion. That is, the management device may also use the expanded board information as the board information used by the target router, and then the management device may calculate the bandwidth utilization rate and the port utilization rate of the target router according to the existing board information and the expanded board information. The method for calculating the bandwidth utilization and the port utilization may refer to the above description, and is not repeated herein.
In an example, taking 70% as the first threshold of the target router as an example, the bandwidth of the target router in the existing uplink direction is 8 × 100ge, and the data rate is 700GE, that is, the uplink bandwidth utilization rate of the target router before capacity expansion is 700/800=87.5%. If the management device determines that the board information expanded by the target router includes 1 board with 1 × 100ge according to the above technical scheme, at this time, the management device may determine that the utilization rate of the uplink bandwidth of the expanded target router is 700/(800 + 100) ≈ 77.8% > 70%. That is, the management device needs to continue to expand the target router, for example, add another 1 × 100ge board card. At this time, the management device may determine that the uplink bandwidth utilization of the re-expanded target router is: 700/1000=70%. That is, the uplink bandwidth utilization rate of the target router expanded again does not satisfy the preset expansion condition, and the board card information determined by the management device to be expanded by the target router may include 2 boards 1 × 100ge.
For another example, when the second threshold of the target router is 70%, the number of existing ports of the target router is 60, and 50 ports are used. That is, the port utilization of the target router before capacity expansion is 50/60 ≈ 83% > 70%. If the management device determines that the board card information expanded by the target router includes 1 10 × 10ge board card according to the above technical solution, at this time, the management device may determine that the port utilization rate of the target router after the target router is expanded is 50/70 ≈ 71.4% and is greater than 70%. That is, the management device needs to continue to expand the target router, for example, add another 1 by 10ge board. At this time, the management apparatus may determine that the port utilization of the re-expanded target router is 50/80=62.5% < 70%. That is, the port utilization of the target router which is expanded again does not satisfy the preset expansion condition, and the management device determines that the expanded board information of the target router may include 2 10 × 10ge.
Further, with reference to the above two examples, in order to ensure that both the uplink port utilization rate and the port utilization rate of the target router do not satisfy the preset capacity expansion condition, the management device may determine that the board card information expanded by the target router may be 2 board cards of 10 × 10ge and 2 board cards of 1 × 100ge. At this time, the expanded board card information can meet the expansion requirement of the target router.
Or under the condition that the availability of the uplink bandwidth of the expanded target router does not meet the preset expansion condition, continuing to expand the capacity of the target router based on the expanded target router until the availability of the port of the expanded target router does not meet the preset expansion condition.
Or, under the condition that it is determined that the port utilization rate of the expanded target router does not satisfy the preset expansion condition, continuing to expand the capacity of the target router based on the expanded target router until the uplink bandwidth utilization rate of the expanded target router does not satisfy the preset expansion condition.
And A5, the management device outputs the capacity expansion scheme.
The capacity expansion scheme may include information such as the type, and number of the board cards.
And A6, the management device calculates the number of ports, which are required to be expanded, of the target router, wherein the bandwidth utilization rate of the target router is less than a first threshold value and the port utilization rate of the target router is less than a second threshold value, and the number of the ports is an integral multiple of 2 (as shown in figure 1, the aggregation/access router is connected with a pair of core routers in an upper connection mode, so that the number of the ports, which are required to be expanded, of the core routers connected with the aggregation/access router in the upper connection mode is an integral multiple of 2), and the number and the type of the expanded ports of the aggregation/access router are added into the capacity expansion requirement of a pair of core routers connected with the aggregation/access router in a lower connection mode.
And A7, repeating the above processes until the management device generates a capacity expansion scheme for the aggregation/access router of which the bandwidth utilization rate and the port utilization rate in the management range meet the preset capacity expansion conditions.
It should be noted that, for a plurality of aggregation/access routers within the management range, if there is an uplink bandwidth utilization rate and a port utilization rate of at least one aggregation/access router in the plurality of aggregation/access routers that satisfy the preset capacity expansion condition, but the overall uplink bandwidth utilization rate and the port utilization rate of the plurality of aggregation/access routers do not satisfy the preset capacity expansion condition, the management device determines that capacity expansion may not be performed for the at least one aggregation/access router.
The overall uplink bandwidth utilization of the aggregation/access routers may refer to an average of the uplink bandwidth utilization of the aggregation/access routers, or may refer to the uplink bandwidth routing rate of the aggregation/access routers calculated according to a sum of the uplink bandwidth of the aggregation/access routers and a sum of the uplink bandwidth rates of the uplink bandwidth of the aggregation/access routers.
The total port utilization of the aggregation/access routers may be an average of the port utilization of the aggregation/access routers, or may also be determined according to all the port types and the total number used by the aggregation/access routers and the port types and the number configured by the aggregation/access routers.
In the second aspect, if the target router is a core router, the management apparatus may execute the following B1 to B9:
it should be noted that, since the core router capacity expansion includes the capacity expansion requirement of the lower link caused by the uplink connection of the aggregation/access router and the capacity expansion requirement of the upper link when the bandwidth utilization rate of the uplink connection of the core router and the port utilization rate meet the preset capacity expansion condition, the core router capacity expansion scheme may include: the method and the system meet the requirement of the core router for the downlink and meet the board card information corresponding to the requirement of the core router for the uplink. Specifically, reference may be made to the following description of the method.
B1, the management device determines the downstream capacity expansion requirement of the core router corresponding to the plurality of aggregation/access routers according to the upstream capacity expansion requirement of the plurality of aggregation/access routers.
The method for determining the uplink capacity expansion requirement of the aggregation/access router may refer to the description of the first aspect. The core router corresponding to the plurality of aggregation/access routers may refer to a core router that is connected to the plurality of aggregation/access routers. For example, in fig. 1, the core routers connected to the aggregation/access routers 1 to 3 are a core router 1 and a core router 2.
Taking the core router 1 as an example, the downlink requirement of the core router 1 may be the uplink capacity expansion requirement synthesis of the aggregation/access router 1, the aggregation/access router 2, and the aggregation/access router 3. For example, the upstream capacity expansion requirement of the aggregation/access router 1 is 2 × GE (i.e., 2 GE ports), the upstream capacity expansion requirement of the aggregation/access router 2 is 4 × 10GE (i.e., 4 10GE ports), the aggregation/access router, and the upstream capacity expansion requirement of the aggregation/access router 3 is 4 × GE (i.e., 4 GE ports). The downstream capacity expansion requirement of the core router 1 may include: 6 × ge and 4 × 10ge.
And B2, the management device expands the capacity of the downlink port of the core router according to the downlink capacity expansion requirement of the core router.
Specifically, the management apparatus may refer to the following B21 to B25 for expanding the downstream port of the core router:
and B21, the management device judges whether the number of ports which are in an idle state and have the same type as the capacity expansion ports of the core router meets the downstream capacity expansion requirement of the core router or not. If the port utilization rate is met, the management device takes the port which meets the downstream capacity expansion requirement of the core router and is in the idle device as the port in the use state, and calculates the port utilization rate of the core router according to the port in the use state and the total number of the ports of the core router. If the port utilization rate of the core router does not exceed the second threshold, the capacity of the core router is not expanded; if the port utilization rate of the core router exceeds the second threshold, the core router is expanded, and the management device executes the following steps B22 to B24.
For example, taking the downstream demand of the core router including 6 × GE and 4 × 10GE as an example, the management device may first determine whether a GE port in an idle state of the core router satisfies a capacity expansion demand, and after taking the GE port in the idle state as a used port, whether the port utilization rate of the core router exceeds a second threshold. If not, not expanding the GE port of the core router; and if so, expanding the GE port of the core router.
It should be noted that, expanding the core router may refer to adding boards of the core router, and the port types of the added boards are the same as the port types of the core router. In addition, the number of the ports of the core router after the board card is added can meet the capacity expansion requirement of the core router, and the utilization rate of the ports does not exceed the second threshold value.
And B22, the management device acquires the expandable board card information from a preset board card library according to the capacity of the core router, the manufacturer and the type of the expansion port.
The card information that can be expanded may include a daughter card + a mother card or only a mother card, and the port type of the daughter card or the mother card is the port type required by the core router.
And B23, the management device determines the number of the expanded board cards according to the disaster tolerance requirement of the target router.
It should be noted that, according to the operation and maintenance requirements of the communication operator, the core router does not involve a disaster tolerance problem, and therefore, the management device may configure the board card for the core router according to the requirements of the core router.
And B24, the management device determines the port number of each type required by the core router according to the B21 and the B23 until the type and the number of the expanded ports meet the downlink requirement of the core router.
For example, the downstream requirements of a core router include GE ports and 10GE ports. After determining the board card information corresponding to the GE port of the core router, the management device may determine the board card information corresponding to the 10GE port of the core router. Thus, the management device can determine the board information corresponding to each port type of the core router.
And B3, after the board card corresponding to the downlink port is expanded, the management device calculates the uplink bandwidth utilization rate and the port utilization rate of the core router.
The port number of the core router includes the number of the expanded ports (i.e., the ports of the expanded board card).
And B4, the management device determines the uplink capacity expansion requirement of the core router according to the uplink bandwidth utilization rate and the port utilization rate of the core router.
It should be noted that, since all the core routers in the existing network have a standby core router, and the configuration of the standby core router matches the configuration of the core router, when the management apparatus expands the core router, it is necessary to determine the standby core router of the core router. For example, the management apparatus may determine a standby core router of the core router according to the identifier and the corresponding relationship of the core router. The management device may pre-store a correspondence between the core router and the standby core router, and may also obtain the correspondence from other devices without limitation. Therefore, after determining the capacity expansion scheme of the core router, the management device may further perform capacity expansion for the standby core router according to the capacity expansion scheme.
The core router and the backup router may be referred to as B5 to B11 below.
And B5, the management device acquires the uplink port type of the core router.
The management device may traverse all ports of the core router, and determine the uplink port of the core router according to the opposite terminal device type of the port.
Specifically, as shown in fig. 1 and fig. 2, the opposite end device of the uplink port of the core router is an upper network device, and the opposite end device of the downlink port is an aggregation/access router. Therefore, the management can determine whether the port is an uplink port or a downlink port according to the opposite terminal device type of the port of the core router.
And B6, the management device selects card information capable of expanding capacity from a preset card recommendation library according to the capacity of the core router, the manufacturer and the type of the expansion port.
This step can be referred to as B22, and is not described in detail.
And B7, the management device determines a corresponding capacity expansion scheme according to the connection mode of the core router and the upper network.
As can be seen from fig. 1 and 2, the connection between the core router and the upper network includes a square upper connection and a cross upper connection.
When the connection mode of the core router and the upper network is square upper connection, the management device only needs to determine the number of ports needing capacity expansion according to the capacity expansion requirement of the upper connection of the core router; when the connection method of the core router and the upper network is cross-connection, the number of the ports of the management device which need to be expanded is 2 times of the expansion requirement of the upper network.
For example, when the uplink requirement of the core router is 1 port, the management device determines that the number of ports of the core router, which need to be expanded, is 1 when the connection mode of the core router and the upper network is square uplink; when the connection method of the core router and the upper network is cross-connection, the management device determines that the number of the ports of the core router, which need to be expanded, is 2. Based on this, the management device can determine different capacity expansion schemes according to different modes of the core router and the uplink network, and is flexible and accurate.
It should be noted that, if the expanded board card information includes the daughter card and the mother card, the management device needs to determine whether the core router has an available slot. If not, adding the mother card and the daughter card; if so, only daughter cards may be added.
And B8, the management device outputs the capacity expansion scheme.
And B9, the management device repeats the steps and determines the port utilization rate in the management range and the capacity expansion scheme of the core router of which the port utilization rate meets the preset capacity expansion condition.
All the schemes in the above embodiments of the present application can be combined without contradiction.
In the embodiment of the present application, the management device may be divided into the functional modules or the functional units according to the method example, for example, each functional module or functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software functional module or a functional unit. The division of the modules or units in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of dividing each functional module according to each function, fig. 6 shows a schematic structural diagram of a management device 60, where the management device 60 may be a controller, or may be a chip applied to the controller, and the management device 60 may be configured to execute the functions of the controller in the above-described embodiments. The management device 60 shown in fig. 6 may include: a processing unit 601.
The processing unit 601 is configured to determine a bandwidth utilization rate and a port utilization rate of the target router, where the bandwidth utilization rate is determined according to the data flow rate and the bandwidth of the target router, and the port utilization rate is determined according to a port used by the target router and a configured port.
The processing unit 601 is further configured to determine that the target router is capacity-expanded when the bandwidth utilization rate of the target router and the port utilization rate meet a preset capacity-expansion condition.
The specific implementation of the management apparatus 60 may refer to the behavior function of the management apparatus in the management method shown in fig. 5.
In one possible design, the management apparatus 60 further includes a communication unit 602, and the communication unit 602 is configured to: the method comprises the steps of obtaining an uplink flow rate, an uplink bandwidth, configured port information and port using quantity of each router in a plurality of routers in a preset time period. The port information includes the number of ports and the type of ports. The processing unit 601 is further configured to: and determining the first threshold according to the flow rates of the routers and the uplink bandwidth, and determining the second threshold according to the port information and the port use number of the routers.
In one possible design, the management device 60 shown in fig. 6 may further include a storage unit 603. The memory unit 603 is used for storing program codes and instructions.
In a possible design, the processing unit 601 is further configured to determine, according to a preset capacity expansion policy, first board information from a preset board recommendation library, where the first board information includes board information configured for the target router, and the first board information at least includes a board model, a type, and a quantity.
In one possible design, the communication unit 602 is further configured to obtain information of a plurality of boards in a working state, where the information of the boards at least includes a type of the board, a port type and a number of the boards, a manufacturer of the board, and a working time of the board. The processing unit 601 is further configured to establish a preset board recommendation library according to information of the boards in the working time.
In one possible design, the processing unit 601 is further configured to: if the target router is a core router, the management device determines a capacity expansion scheme of the target router according to a first capacity expansion strategy; if the target router is a convergence/access router, the management device determines a capacity expansion scheme of the target router according to a second capacity expansion strategy; the first capacity expansion strategy is different from the second capacity expansion strategy.
As yet another implementation, the processing unit 601 in fig. 6 may be replaced by a processor, which may integrate the functions of the processing unit 601.
The embodiment of the application also provides a computer readable storage medium. All or part of the processes in the above method embodiments may be performed by relevant hardware instructed by a computer program, which may be stored in the above computer-readable storage medium, and when executed, may include the processes in the above method embodiments. The computer readable storage medium may be an internal storage unit of the power control apparatus (including the data sending end and/or the data receiving end) of any of the foregoing embodiments, for example, a hard disk or a memory of the power control apparatus. The computer readable storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) card, a flash memory card (flash card), and the like, which are provided on the terminal device. Further, the computer-readable storage medium may include both an internal storage unit and an external storage device of the power control apparatus. The computer-readable storage medium stores the computer program and other programs and data required by the power control apparatus. The above-described computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
It should be noted that the terms "first" and "second" and the like in the description, claims and drawings of the present application are used for distinguishing different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
It should be understood that, in the present application, "at least one" means one or more, "a plurality" means two or more, "at least two" means two or three and more, "and/or" for describing the association relationship of the associated objects, indicating that there may be three relationships, for example, "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
Through the description of the foregoing embodiments, it will be clear to those skilled in the art that, for convenience and simplicity of description, only the division of the functional modules is illustrated, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, 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 through some interfaces, devices or units, 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 be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. 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 application 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 integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for managing a router, the method comprising:
acquiring an uplink flow rate, an uplink bandwidth, configured port information and port use number of each router in a plurality of routers in a preset time period, wherein the port information comprises the port number and the port type;
determining a first threshold value according to the flow rate and the uplink bandwidth of the plurality of routers, and determining a second threshold value according to the port information and the port use number of the plurality of routers;
determining a bandwidth utilization rate and a port utilization rate of a target router, wherein the bandwidth utilization rate is determined according to the data flow rate and the bandwidth of the target router, and the port utilization rate is determined according to a port used by the target router and a configured port;
determining the target router to expand under the condition that the bandwidth utilization rate and the port utilization rate meet preset expansion conditions; the preset capacity expansion condition is that the bandwidth utilization rate of the target router is greater than the first threshold, and the port utilization rate of the target router is greater than a second threshold.
2. The management method according to claim 1, wherein in case that it is determined that the target router is expanded, the method further comprises:
according to a preset capacity expansion strategy, first board card information is determined from a preset board card recommendation library, the first board card information comprises board card information configured for the target router, and the first board card information at least comprises board card models, types and quantity.
3. The method of managing according to claim 2, further comprising:
acquiring information of a plurality of board cards in a working state, wherein the information of the board cards at least comprises board card types, port types and the number of the board cards, board card manufacturers and the working time of the board cards;
and establishing the preset board recommendation library according to the information of the plurality of boards in the working time.
4. The method of managing of claim 3, further comprising:
if the target router is a core router, the management device determines a capacity expansion scheme of the target router according to a first capacity expansion strategy;
if the target router is a convergence/access router, the management device determines a capacity expansion scheme of the target router according to a second capacity expansion strategy;
the first capacity expansion strategy is different from the second capacity expansion strategy.
5. A management apparatus of a router, characterized in that the management apparatus includes a communication unit and a processing unit;
the communication unit is used for acquiring an uplink flow rate, an uplink bandwidth, configured port information and port usage number of each router in a plurality of routers in a preset time period, wherein the port information comprises the port number and the port type;
the processing unit is further configured to determine a first threshold according to the traffic rates of the plurality of routers and the uplink bandwidth, and determine a second threshold according to the port information and the port usage number of the plurality of routers;
the processing unit is configured to determine a bandwidth utilization rate and a port utilization rate of a target router, where the bandwidth utilization rate is determined according to a data flow rate and a bandwidth of the target router, and the port utilization rate is determined according to a port used by the target router and a configured port;
the processing unit is further configured to determine that the target router is capacity-expanded when the bandwidth utilization rate and the port utilization rate meet a preset capacity-expansion condition; the preset capacity expansion condition is that the bandwidth utilization rate of the target router is greater than the first threshold, and the port utilization rate of the target router is greater than a second threshold.
6. The management device according to claim 5, wherein the processing unit is further configured to determine, according to a preset capacity expansion policy, first board information from a preset board recommendation library, where the first board information includes board information configured for the target router, and the first board information at least includes a board model, a type, and a number.
7. The management device according to claim 6,
the communication unit is further used for acquiring information of the plurality of boards in the working state, wherein the information of the boards at least comprises the types of the boards, the port types and the number of the boards, the manufacturers of the boards and the working time of the boards;
the processing unit is further configured to establish the preset board recommendation library according to the information of the plurality of boards in the working time.
8. The management device of claim 7, wherein the processing unit is further configured to:
if the target router is a core router, the management device determines a capacity expansion scheme of the target router according to a first capacity expansion strategy;
if the target router is a convergence/access router, the management device determines a capacity expansion scheme of the target router according to a second capacity expansion strategy;
the first capacity expansion strategy is different from the second capacity expansion strategy.
9. A computer-readable storage medium having stored therein instructions which, when executed, implement the management method of any one of claims 1-4.
10. An apparatus for managing a router, comprising: a processor, a memory, and a communication interface; the communication interface is used for the management device to communicate with other equipment or networks; the memory is used for storing one or more programs, and the one or more programs comprise computer executable instructions which, when the management device runs, the processor executes the computer executable instructions stored by the memory to enable the management device to execute the management method of any one of claims 1-4.
CN202110553277.7A 2021-05-20 2021-05-20 Router management method and device Active CN113114516B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110553277.7A CN113114516B (en) 2021-05-20 2021-05-20 Router management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110553277.7A CN113114516B (en) 2021-05-20 2021-05-20 Router management method and device

Publications (2)

Publication Number Publication Date
CN113114516A CN113114516A (en) 2021-07-13
CN113114516B true CN113114516B (en) 2023-04-07

Family

ID=76723250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110553277.7A Active CN113114516B (en) 2021-05-20 2021-05-20 Router management method and device

Country Status (1)

Country Link
CN (1) CN113114516B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827079B (en) * 2022-03-25 2024-04-30 阿里云计算有限公司 Capacity expansion method, device and storage medium of network address translation gateway
CN114826950B (en) * 2022-05-30 2023-06-30 中国联合网络通信集团有限公司 Port number prediction method, device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881047A (en) * 2018-08-01 2018-11-23 中国联合网络通信集团有限公司 The method and device that the network capacity extension differentiates

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938417A (en) * 2010-09-01 2011-01-05 中兴通讯股份有限公司 Method for realizing configuration of main and auxiliary board cards as well as board cards
US10754696B1 (en) * 2017-07-20 2020-08-25 EMC IP Holding Company LLC Scale out capacity load-balancing for backup appliances
CN110166280B (en) * 2019-04-10 2021-12-07 中国联合网络通信集团有限公司 Network capacity expansion method and device
CN111371600B (en) * 2020-02-26 2022-06-07 中国联合网络通信集团有限公司 Method and device for determining expansion rationality
CN112187512B (en) * 2020-08-28 2022-09-06 中盈优创资讯科技有限公司 Port automatic expansion method, device and equipment based on flow monitoring

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881047A (en) * 2018-08-01 2018-11-23 中国联合网络通信集团有限公司 The method and device that the network capacity extension differentiates

Also Published As

Publication number Publication date
CN113114516A (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN113114516B (en) Router management method and device
CN106998302B (en) Service flow distribution method and device
Wu et al. Maximizing network lifetime of WirelessHART networks under graph routing
CN112152935B (en) Method and device for determining transmission path
WO2009135122A1 (en) Adaptive wireless process control system and method
JP2013243663A (en) Processing method and device of member link in multilink group
CN102118277A (en) Method and device for packet loss detection, and a router
CN111431803A (en) Routing method and device
CN108632099B (en) Fault detection method and device for link aggregation
CN111404822B (en) Data transmission method, device, equipment and computer readable storage medium
CN112822102B (en) Link switching method, device, equipment, system and storage medium
CN108337179A (en) Link flow control method and device
Cai et al. Disaster-resilient service function chain embedding based on multi-path routing
Nurmio et al. Equalizing energy distribution in sensor nodes through optimization of RPL
TWI568224B (en) Heterogeneous network system, network apparatus, and rendezvous path selection method thereof
CN107959642B (en) Method, device and system for measuring network path
CN108092896A (en) Pile system and aggregation group establish device
EP3247077B1 (en) Path selection method, device and system
CN108270672A (en) A kind of method and device for calculating circuit routing
CN104917677A (en) Data stream forwarding control method and system
WO2023011047A1 (en) Processing method and apparatus
CN105681187A (en) VRRP (Virtual Router Redundancy Protocol) backup set management method and related device
CN113595809B (en) Flow monitoring method, related equipment and system
CN113595915A (en) Method for forwarding message and related equipment
CN111385182B (en) Traffic transmission method, device and system

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