CN116668208A - Path generation method and device - Google Patents

Path generation method and device Download PDF

Info

Publication number
CN116668208A
CN116668208A CN202210158998.2A CN202210158998A CN116668208A CN 116668208 A CN116668208 A CN 116668208A CN 202210158998 A CN202210158998 A CN 202210158998A CN 116668208 A CN116668208 A CN 116668208A
Authority
CN
China
Prior art keywords
energy consumption
network device
information
network
transmission path
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.)
Pending
Application number
CN202210158998.2A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210158998.2A priority Critical patent/CN116668208A/en
Publication of CN116668208A publication Critical patent/CN116668208A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a path generation method and equipment, wherein the path generation method is applied to a network, and data of a target service is transmitted by using a second transmission path in the network. The path generation method determines a first transmission path of the target service according to the energy consumption map. Wherein the energy consumption map comprises basic information. The basic information comprises network topology information of a network, energy consumption information of network equipment of the network, key performance index KPI information and flow information acquired in real time. Based on the energy consumption map, a first transmission path having an energy consumption value smaller than that of the second transmission path can be obtained. Therefore, the first transmission path with a smaller energy consumption value can be obtained based on the energy consumption map, so that the energy consumption of the transmission target service is reduced, and the cost of transmitting the data of the target service is reduced.

Description

Path generation method and device
Technical Field
The present application relates to the field of communications, and in particular, to a method and apparatus for generating a path.
Background
In a network, a computing device is capable of computing a transmission path for transmitting a service based on the service requirements of the service and the network available resources.
Currently, service requirements mainly include requirements in terms of time delay, bandwidth, reliability and the like. The transmission path calculated by the path calculation equipment can meet the service requirement. However, when the traffic is transmitted based on the calculated transmission path, the consumed energy may be large, and the cost of transmitting the traffic is high.
Disclosure of Invention
The application provides a path generation method and equipment, which can determine a transmission path with a smaller energy consumption value based on an energy consumption map and reduce the energy consumption of a transmission target service.
In a first aspect, the present application provides a path generation method. The path generation method is applied to a network in which data of a target service is transmitted using a second transmission path. The path generation method determines a first transmission path of the target service according to the energy consumption map. Wherein the energy consumption map comprises basic information. The basic information comprises network topology information of a network, energy consumption information of network equipment of the network, key performance index KPI information and flow information acquired in real time. Based on the energy consumption map, a first transmission path having an energy consumption value smaller than that of the second transmission path can be obtained. Therefore, the first transmission path with a smaller energy consumption value can be obtained based on the energy consumption map, so that the energy consumption of the transmission target service is reduced, and the cost of transmitting the data of the target service is reduced.
In one possible implementation, after determining the first transmission path, configuration information is also issued to a plurality of network devices in the network. The configuration information indicates that the target traffic transmits data through the first transmission path. The network device that acquired the configuration information can transmit data of the target service through the first transmission path based on the configuration information.
In one possible implementation, the base information is acquired before determining the first transmission path of the target service from the energy consumption map. The basic information comprises network topology information of a network, energy consumption information of network equipment of the network, KPI information and flow information acquired in real time. And generating an energy consumption map according to the acquired basic information.
In one possible implementation, the target traffic has energy consumption requirements. The energy consumption requirement is the requirement of the target service in terms of energy consumption of transmitting the target service. The first transmission path can be determined based on the device information of the source device, the device information of the destination device, the energy consumption requirement of the target service, and the energy consumption map. Wherein the source device of the first transmission path can be determined based on the device information of the source device, and the destination device of the first transmission path can be determined based on the device information of the destination device.
In one possible implementation, the target service also has a service requirement. The first transmission path is determined based on the device information of the source device, the device information of the destination device, the energy consumption requirement of the target service, the service requirement of the target service, and the energy consumption map. The service requirement of the target service may be, for example, a service level agreement requirement, a reliability requirement, or a requirement in terms of service transmission.
In one possible implementation, the first transmission path is determined by using a path calculation algorithm according to the device information of the source device, the device information of the destination device, the energy consumption requirement of the target service, the service requirement of the target service and the energy consumption map.
In another possible implementation, the candidate transmission path is obtained first based on the device information of the source device, the device information of the destination device, and the energy consumption map. And taking the candidate transmission path meeting the energy consumption requirement of the target service and the service requirement of the target service as a first transmission path.
In one possible implementation, the device information of the source device and the device information of the destination device can be determined based on the second transmission path. Wherein the source device of the second transmission path is the same as the source device of the first transmission path. The destination device of the second transmission path is identical to the destination device of the first transmission path.
In one possible implementation, after the first transmission path is determined, transmitting the data of the target service based on the first transmission path may affect the basic information included in the energy consumption map. Based on the first transmission path, the energy consumption map can be updated, so that the energy consumption map is adjusted based on the transmission condition of the target service, and a more accurate energy consumption map is obtained.
In one possible implementation manner, when the energy consumption map is updated according to the first transmission path, the basic information of the target service after the data is transmitted through the first transmission path is acquired first, and then the energy consumption map is updated according to the basic information obtained after the data of the target service is transmitted through the first transmission path.
In one possible implementation, the network device includes at least one port. The power consumption information of the network device includes one or more of a device power consumption value of the network device and a port power consumption value of the network device. The device energy consumption value is the energy consumption value of the device granularity, and the port energy consumption value is the energy consumption value of the port granularity.
In one possible implementation, the device energy consumption values include a first energy consumption value and a second energy consumption value. The first energy consumption value is an energy consumption value of the non-bearing flow after the network equipment is started. The first energy consumption value is a static energy consumption value and is not affected by the transmission flow of the network equipment. The second energy consumption value is an increment of the energy consumption value of the load flow after the network equipment is started relative to the first energy consumption value. The second energy consumption value is a dynamic energy consumption value and is influenced by the transmission flow of the network equipment.
In one possible implementation, the second energy consumption value is determined based on real-time traffic of the network device and an energy consumption coefficient of the network device. As an example, the energy consumption coefficient of the network device is a fixed value. As another example, the energy consumption coefficient of the network device has a correspondence with the real-time traffic of the network device.
In one possible implementation, the port power consumption values include a third power consumption value and a fourth power consumption value. The third energy consumption value is an energy consumption value of the non-bearing flow after at least one port is opened. The third energy consumption value is a static energy consumption value and is not affected by port transmission flow. The fourth energy consumption value is an increment of the energy consumption value of the bearer flow after the opening of the at least one port relative to the third energy consumption value. The fourth energy consumption value is a dynamic energy consumption value and is influenced by port transmission flow.
In one possible implementation, the fourth energy consumption value is determined based on the real-time traffic of the at least one port and the energy consumption coefficient of the at least one port.
In one possible implementation, the traffic information acquired in real-time also includes the granularity of the network device and the granularity of the ports of the network device. The traffic information acquired in real-time includes one or more of real-time traffic of the network device and real-time traffic of the at least one port.
In one possible implementation, the KPI information includes one or more of a bandwidth utilization upper limit and a device resource utilization upper limit.
In one possible implementation, after the first transmission path is determined, the first transmission path is displayed based on the energy consumption map. This facilitates the presentation of the situation of the transmission target traffic.
In one possible implementation, the energy consumption value of the target business can also be displayed based on the energy consumption map. The energy consumption value of the target service is the energy consumption value consumed for transmitting the data of the target service.
In one possible implementation, the indication information can also be displayed based on the energy consumption map. The indication information indicates a relationship between the energy consumption value of the first transmission path and the energy consumption value of the second transmission path.
In one possible implementation, based on the energy consumption map, status information of the network device for transmitting the target service can also be displayed. Wherein the state information includes an on state and an off state.
In one possible implementation, based on the energy consumption map, it is also possible to display network devices or links that adjust from an on state to an off state.
In a second aspect, the present application provides a path generating apparatus. The path generating means is applied to a network in which the target traffic transmits data through the second transmission path. The path generating device includes a processing unit. The processing unit is configured to determine a first transmission path of a target service according to an energy consumption map, where the energy consumption map includes basic information, the basic information includes network topology information of the network, energy consumption information of network devices of the network, key performance indicator KPI information, and flow information acquired in real time, and an energy consumption value of the first transmission path is smaller than an energy consumption value of the second transmission path.
In one possible implementation, the apparatus further includes: and a transmitting/receiving unit. And the receiving and transmitting unit is used for transmitting the configuration information to a plurality of network devices in the network, and the configuration information indicates the target service to transmit data through the first transmission path.
In one possible implementation, the apparatus further includes: and a transmitting/receiving unit. The receiving and transmitting unit is used for acquiring network topology information of the network, energy consumption information of network equipment of the network, KPI information and flow information acquired in real time. The processing unit is used for generating the energy consumption map according to the network topology information of the network, the energy consumption information of the network equipment of the network, the KPI information and the flow information acquired in real time.
In one possible implementation manner, the processing unit is configured to obtain a first transmission path according to device information of a source device, device information of a destination device, energy consumption requirements of the target service, and the energy consumption map.
In one possible implementation manner, the processing unit is configured to obtain a first transmission path according to device information of a source device, device information of a destination device, an energy consumption requirement of the target service, a service requirement of the target service, and the energy consumption map.
In one possible implementation manner, the processing unit is configured to obtain a first transmission path based on a path algorithm according to the device information of the source device, the device information of the destination device, the energy consumption requirement of the target service, the service requirement of the target service, and the energy consumption map.
In a possible implementation manner, the processing unit is configured to obtain a candidate transmission path according to the device information of the source device, the device information of the destination device, and the energy consumption map; and taking the candidate transmission path meeting the energy consumption requirement of the target service and the service requirement of the target service as a first transmission path.
In one possible implementation, the device information of the source device and the device information of the destination device are determined based on the second transmission path.
In a possible implementation manner, the processing unit is further configured to update the energy consumption map according to the first transmission path.
In a possible implementation manner, the transceiver unit is configured to obtain basic information after the target service transmits data through the first transmission path;
The processing unit is used for updating the energy consumption map according to the basic information after the target service transmits data through the first transmission path.
In one possible implementation, the network device includes at least one port, and the energy consumption information includes one or more of a device energy consumption value of the network device and a port energy consumption value of the network device.
In one possible implementation manner, the device energy consumption value includes a first energy consumption value and a second energy consumption value, where the first energy consumption value is an energy consumption value of the network device after being turned on and does not bear traffic, and the second energy consumption value is an increment of the energy consumption value of the network device after being turned on and bearing traffic relative to the first energy consumption value.
In one possible implementation, the second energy consumption value is determined based on real-time traffic of the network device and an energy consumption coefficient of the network device.
In one possible implementation manner, the port energy consumption value includes a third energy consumption value and a fourth energy consumption value, the third energy consumption value is an energy consumption value of the at least one port after being opened and not carrying traffic, and the fourth energy consumption value is an increment of the energy consumption value of the at least one port after being opened and carrying traffic relative to the third energy consumption value.
In one possible implementation, the third energy consumption value is determined based on the real-time traffic of the at least one port and an energy consumption coefficient of the at least one port.
In one possible implementation, the traffic information acquired in real time includes one or more of real-time traffic of the network device and real-time traffic of the at least one port.
In one possible implementation, the KPI information includes one or more of a bandwidth utilization upper limit and a device resource utilization upper limit.
In a possible implementation manner, the apparatus further includes a display unit, configured to display the first transmission path based on the energy consumption map.
In a possible implementation manner, the device further comprises a display unit, and the display unit is used for displaying the energy consumption value of the target service based on the energy consumption map.
In a possible implementation manner, the apparatus further includes a display unit, configured to display indication information based on the energy consumption map, where the indication information indicates a relationship between an energy consumption value of the first transmission path and an energy consumption value of the second transmission path.
In a possible implementation manner, the apparatus further includes a display unit, configured to display status information of a network device for transmitting the target service based on the energy consumption map, where the status information includes an on state and an off state.
In a possible implementation manner, the apparatus further includes a display unit, configured to display a network device or a link adjusted from an on state to an off state based on the energy consumption map.
In a third aspect, the present application provides an apparatus comprising a processor chip and a memory, the memory for storing instructions or program code, the processor chip for calling and executing the instructions or program code from the memory to perform the method of path generation of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium comprising instructions, a program or code which, when executed on a computer, causes the computer to perform the method of path generation as described in the first aspect above.
In a fifth aspect, the application provides a computer program product for, when run on a device, causing the device to perform the method of path generation of the first aspect.
In a sixth aspect, the present application provides a chip comprising a memory and a processor. The memory is used to store instructions or program code. The processor is configured to call and execute the instructions or program code from the memory to perform the method of path generation described in the first aspect above.
In one possible design, the chip includes only a processor for reading and executing instructions or program code stored in a memory, the processor performing the method of path generation in the first aspect when the instructions or program code are executed.
Drawings
Fig. 1 is a schematic diagram of a network architecture according to an embodiment of the present application;
fig. 2 is a schematic diagram of another network architecture according to an embodiment of the present application;
FIG. 3 is a flowchart of a path generating method according to an embodiment of the present application;
fig. 4 is a schematic diagram of an energy consumption map before the first transmission path is not determined according to an embodiment of the present application;
fig. 5 is a schematic diagram of an energy consumption map after determining a first transmission path according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an energy consumption map before the first transmission path is not determined according to another embodiment of the present application;
Fig. 7 is a schematic diagram of another energy consumption map after determining a first transmission path according to an embodiment of the present application;
FIG. 8 is a schematic diagram of an energy consumption map after determining a first transmission path according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a path generating device according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
The following describes a conventional technology and a path generating method provided by an embodiment of the present application with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of a network architecture according to an embodiment of the present application is shown. Network 100 includes network device 101-network device 108. Wherein network device 101 is connected to network device 102, network device 103, and network device 104, respectively. Network device 102 is connected to network device 101, network device 103, and network device 104, respectively. Network device 103 is connected to network device 101, network device 102, network device 104, network device 105, and network device 106, respectively. Network device 104 is connected to network device 101, network device 102, network device 103, network device 105, and network device 106, respectively. Network device 105 is connected to network device 103, network device 104, network device 106, network device 107, and network device 108, respectively. Network device 106 is connected to network device 103, network device 104, network device 105, network device 107, and network device 108, respectively. Network device 107 is connected to network device 105, network device 106, and network device 108, respectively. Network device 108 is connected to network device 105, network device 106, and network device 107, respectively. The transmission path obtained by calculating the service demand of the service based on the available resources of the network by the computing equipment is as follows: network device 101→network device 103→network device 104→network device 106→network device 108. The transmission path of network device 101→network device 103→network device 104→network device 106→network device 108 may not be a transmission path with a small energy consumption value. The energy consumption may be large when data of traffic is transmitted based on network device 101→network device 103→network device 104→network device 106→network device 108. This can make the cost required to transmit the data of the service high and can result in waste of energy.
In view of the foregoing, an embodiment of the present application provides a path generating method that can be applied to a network in which data of a target service is transmitted using a second transmission path. The path generation method determines a first transmission path of the target service according to the energy consumption map. Wherein the energy consumption map comprises basic information. The basic information comprises network topology information of a network, energy consumption information of network equipment of the network, key performance index KPI information and flow information acquired in real time. Based on the energy consumption map, a first transmission path having an energy consumption value smaller than that of the second transmission path can be obtained. Therefore, the first transmission path with a smaller energy consumption value can be obtained based on the energy consumption map, the data of the target service is transmitted by adopting the first transmission path, the energy consumed by transmitting the data of the target service can be reduced, and the cost for transmitting the data of the target service is reduced.
The network architecture related to the path generation method provided by the embodiment of the application is introduced below.
The path generation method provided by the embodiment of the application can be applied to the network architecture shown in fig. 1. The description of fig. 1 is specifically referred to above, and will not be repeated here. Network device 101-network device 108 is a network device having forwarding functionality, e.g., a router, switch, etc.
In addition to fig. 1, the method for generating a path provided by the embodiment of the present application can be applied to the network architecture shown in fig. 2. The path generation method provided by the embodiment of the application can be applied to the network architecture shown in fig. 2. The network 200 shown in fig. 2 includes a network device 201-a network device 208, and a management control device 209. The connection between the network device 201 and the network device 208 is similar to that of fig. 1, and please refer to fig. 1 specifically, and details thereof are omitted herein. The management control device 209 is connected to the network device 201 to the network device 208, respectively. The management control device 209 may specifically be, for example, a controller, a network management device, a Control Plane (CP) device, a software defined network (software defined network, SDN) controller, a server for managing and controlling network elements, or the like.
It should be noted that fig. 1 and fig. 2 provided by the embodiment of the present application are only examples for implementing the path generation method provided by the embodiment of the present application, and the embodiment of the present application is not limited to a specific scenario where the path generation method provided by the embodiment of the present application is applied.
The path generation method provided by the embodiment of the present application is described below with reference to the network architecture shown in fig. 1 and fig. 2.
Firstly, it should be noted that the path generation method provided by the embodiment of the present application can be applied to a device having a path calculation function in a network. As an example, taking the network architecture shown in fig. 1 as an example, the path generating method provided in the embodiment of the present application can be applied to a network device with a path calculation capability in the network device 101-the network device 108. As another example, taking the network architecture shown in fig. 2 as an example, the management control device 209 has a function of calculating a path and is capable of managing the network device 201-the network device 208. The path generation method provided by the embodiment of the application can be applied to the management control device 209.
Fig. 3 is a flowchart of a path generating method according to an embodiment of the present application. Referring to fig. 3, the method may include S301-S302.
S301: and acquiring an energy consumption map.
The energy consumption map is a map indicating the energy consumption situation of the network. The energy consumption map includes basic information. The basic information comprises network topology information of a network, energy consumption information of network equipment in the network, key performance indicator (key performance indicators, KPI) information and flow information acquired in real time.
The network topology information of the network is used to indicate the topology of the network. The topology of the network includes the connection relationships between the devices that make up the network. In one possible implementation, the topology information of the network further includes status information of the network device and fault information. The state information includes an on state and an off state of the network device. The fault information includes information such as the degree of fault of the network device and the location of the fault. As one example, the failure of the network device includes a failure of an energy consumption anomaly.
The energy consumption information of the network equipment is used for indicating the energy consumption condition of the network equipment. The network device includes at least one port. The power consumption information of the network device includes one or more of a device power consumption value and a port power consumption value.
The device energy consumption value is used for measuring the energy consumption degree of the whole network device. The device energy consumption value is the energy consumption information of the granularity of the device. In one possible implementation, the device power consumption value may be affected by the device transmission traffic. The device energy consumption value comprises a first energy consumption value and a second energy consumption value. The first energy consumption value is the energy consumption value of the basis of the operation of the network equipment. The first energy consumption value is an energy consumption value of the non-bearing flow after the network equipment is started. For example, the first energy consumption value includes energy consumption values generated by rack start-up, indicator light illumination, fan operation, and the like of the equipment. The second energy consumption value is an additional energy consumption value generated by the network device bearing traffic compared with the first energy consumption value, namely an increment of the energy consumption value of the network device bearing traffic relative to the first energy consumption value.
As an example, the second energy consumption value is related to traffic carried by the network device. The second energy consumption value is determined based on the real-time traffic of the network device and the energy consumption coefficient of the network device. For example, the energy consumption coefficient is an energy consumption value corresponding to each unit flow. The second energy consumption value is the product of the real-time flow of the network device and the energy consumption coefficient of the network device. It should be noted that in one possible implementation, the energy consumption coefficient of the network device is only related to the network device. For example, different models of network devices have corresponding energy consumption coefficients. In another possible implementation, the energy consumption coefficient of the network device is also related to the traffic carried by the network device. For example, the first equation can describe a correspondence between the energy consumption coefficient of the network device and the traffic carried by the network device. Based on the first equation and the real-time traffic of the network device, the energy consumption coefficient of the network device can be obtained. For another example, traffic of different ranges of network devices has a correspondence with energy consumption coefficients of different network devices. For example, when the traffic carried by the network device is in the range of 0-10 gigabytes per second (Gb/s), the energy consumption coefficient of the corresponding network device is 1. When the flow carried by the network equipment is in the range of 10Gb/s-20Gb/s, the energy consumption coefficient of the corresponding network equipment is 0.75. The network device or the device for calculating the path can pre-store the corresponding relation between the flow of the network device and the energy consumption coefficient of the network device, and determine the corresponding energy consumption coefficient based on the acquired real-time flow of the network device, so as to obtain a second energy consumption value.
The port energy consumption value indicates an energy consumption condition of at least one port in the network device. The port energy consumption value is the energy consumption information of the port granularity.
In one possible implementation, the port power consumption value may be affected by port traffic. The port power consumption values include a third power consumption value and a fourth power consumption value. The third energy consumption value is the energy consumption value of the basis of port operation. The third energy consumption value is the energy consumption value of the non-bearing flow after the port is opened. For example, the third energy consumption value includes an energy consumption value generated by starting a single board of the port, lighting an indicator light, and the like. The fourth energy consumption value is an additional energy consumption value generated by the port bearing flow compared with the third energy consumption value. The fourth energy consumption value is the increment of the energy consumption value of the port bearing flow relative to the third energy consumption value.
As an example, the fourth energy consumption value is related to traffic carried by the port. The fourth energy consumption value is determined based on the real-time traffic of the at least one port and the energy consumption coefficient of the at least one port. For example, the energy consumption coefficient is an energy consumption value corresponding to each unit flow. The fourth energy consumption value is the product of the real-time flow of the port and the energy consumption coefficient of the port. It should be noted that in one possible implementation, the energy consumption coefficient of the port is only related to the port. Different types of ports, or ports belonging to different network devices, have corresponding energy consumption coefficients. In another possible implementation, the energy consumption coefficient of a port is also related to the traffic carried by the port. For example, the second equation can describe the correspondence between the energy consumption coefficient of the port and the traffic carried by the port. Based on the second equation and the real-time flow of the port, the energy consumption coefficient of the port can be obtained. For another example, the traffic of the ports in the different ranges has a correspondence with the energy consumption coefficients of the different ports. For example, when the flow carried by the port is in the range of 0-10Gb/s, the energy consumption coefficient of the corresponding port is 2. When the flow carried by the port is in the range of 10Gb/s-20Gb/s, the energy consumption coefficient of the corresponding network equipment is 1. The network device or the device for calculating the path can pre-store the corresponding relation between the flow of the port and the energy consumption coefficient of the port, and determine the corresponding energy consumption coefficient based on the acquired real-time flow of the port, so as to obtain a fourth energy consumption value.
The KPI information includes one or more of a bandwidth utilization upper limit and a device resource utilization upper limit.
The bandwidth utilization is the ratio of the bandwidth flow of the actual operation of the link to the maximum bandwidth capacity of the link. The bandwidth utilization upper limit value is the maximum value of the bandwidth utilization. The bandwidth utilization upper limit value is used to limit the bandwidth utilization to prevent excessive traffic. It should be noted that in some possible implementations, the increment of the energy consumption value gradually decreases as the bandwidth utilization increases, while other conditions are unchanged. Specifically, for example, the energy consumption value at which the bandwidth utilization increases from 0 to 20% is larger than the energy consumption value at which the bandwidth utilization increases from 50% to 70%. However, too high bandwidth utilization also tends to affect the normal transmission of the targeted traffic. Therefore, the energy consumption value of the transmission target service can be reduced on the premise that the normal transmission of the target service can be ensured to a certain extent by setting the upper limit value of the bandwidth utilization rate.
The equipment resource utilization rate is the ratio of the resources occupied by the actual operation of the equipment to the total resources of the equipment. The device resource utilization upper limit value is the maximum value of the device resource utilization. The upper limit value of the utilization rate of the equipment resources is used for limiting the utilization rate of the equipment resources and preventing the excessive use of the equipment resources from affecting the normal transmission of the target service.
The traffic information acquired in real time can represent the real-time situation of the traffic distribution of the network. In one possible implementation, the traffic information acquired in real-time includes one or more of real-time traffic of the network device and real-time traffic of the at least one port. The real-time traffic of the network device is traffic transmitted by the network device in real time. Specifically, the real-time traffic of the network device is the sum of the traffic transmitted by the network device. The real-time traffic of the network device is the traffic of the device granularity. The real-time flow of the port is the flow transmitted by the port in real time. Specifically, the real-time traffic of a port is the sum of traffic transmitted by the port. The real-time traffic of the port is traffic of the port granularity.
The embodiment of the application is not limited to a specific implementation mode for acquiring the energy consumption map. In one possible implementation, the device having the path calculation function is capable of acquiring the energy consumption map generated and transmitted by the other device, and obtaining the first transmission path based on the acquired energy consumption map. In another possible implementation, the device with road calculation function is capable of generating an energy consumption map and deriving the first transmission path based on the generated energy consumption map.
Specifically, the generation of the energy consumption map includes the following two steps:
a1: and obtaining basic information.
The embodiment of the application is not limited to a specific implementation mode for acquiring the basic information. Three possible embodiments of obtaining the basic information are described below.
First kind: the device generating the energy consumption map can acquire the basic information from other devices or systems.
For example, the device that generates the energy consumption map can acquire network topology information of the network, energy consumption information of the network device, and traffic information from the network device. As one example, the network device can send the base information to the device generating the energy consumption map based on a protocol.
For another example, the device that generates the energy consumption map may acquire network topology information of the network, energy consumption information of the network device, and traffic information from other management control devices or management control systems. As another example, the device that generates the energy consumption map is a management control device, and the network device can send the base information to the device that generates the energy consumption map based on a protocol or report the base information through an interface connected to the device that generates the energy consumption map.
Second kind: the device generating the energy consumption map can acquire basic information input by the user.
For example, the device that generates the energy consumption map can obtain KPI information input by the user and energy consumption information of the network device.
Third kind: the device generating the energy consumption map can obtain the basic information based on an algorithm.
For example, the device that generates the energy consumption map can obtain the energy consumption information of the network device based on an algorithm. As an example, the algorithm may be trained in advance using training data including energy consumption data and flow data. The device for generating the energy consumption map can obtain energy consumption information based on the trained algorithm and the acquired flow information of the network device.
A2: and generating an energy consumption map according to the basic information.
And generating an energy consumption map based on the obtained basic information.
S302: and determining a first transmission path for transmitting the target service according to the energy consumption map.
The energy consumption of the network can be considered based on the first transmission path determined by the energy consumption map, and the energy consumption value of the obtained first transmission path is smaller than that of the second transmission path.
Wherein the energy consumption value is used to measure the energy consumed for transmitting the target traffic based on the first transmission path. The energy consumption value includes, for example, a consumed energy value, a carbon emission amount, an electric charge, and the like.
The embodiment of the application does not limit the way of triggering the first transmission path for determining the transmission target service based on the energy consumption map. In one possible implementation, in response to obtaining a user-triggered routing instruction, the device determines a first transmission path for the transmission target traffic based on the energy consumption map. In another possible implementation, in response to the update of the base information included in the energy consumption map, the device determines a first transmission path for the transmission target service based on the updated energy consumption map. As an example, after acquiring the updated energy consumption map, the device determines a first transmission path of the transmission target service based on the updated energy consumption map at intervals of a preset period. Therefore, the first transmission path can be calculated after the energy consumption map is not changed any more, so that the obtained first transmission path is more accurate, and the calculation times of the first transmission path triggered by frequent change of the energy consumption map are reduced.
The embodiment of the application provides two possible specific implementation modes for determining the first transmission path of the target service according to the energy consumption map.
Mode one: the target service has an energy consumption requirement. And obtaining a first transmission path according to the equipment information of the source equipment, the equipment information of the target equipment, the energy consumption requirement of the target service and the energy consumption map.
Wherein the device information of the source device is used to identify the source device. The device information of the source device is, for example, a device identification of the source device or a network address of the source device. The device information of the destination device is used to represent the destination device. Device information of the destination device, such as a device identification for the destination device, or a network address for the destination device.
In one possible implementation, the source device of the second transmission path is identical to the source device of the first transmission path, and the destination device of the second transmission path is identical to the destination device of the second transmission path. The device for calculating the path can obtain device information of the source device based on the source device of the second transmission path. The device for calculating the path can obtain device information of the destination device based on the destination device of the second transmission path.
The energy consumption requirement of the target service indicates a requirement in terms of energy consumption for transmitting the target service. As an example, the energy consumption requirement of the target traffic is that the energy consumption value of the transmission target traffic is the minimum. As another example, the energy consumption requirement of the target traffic is that the energy consumption value of the transmission target traffic is less than a threshold value.
The method for obtaining the first transmission path is not limited in the embodiment of the application. As an example, the device for calculating the path can obtain the first transmission path using the path algorithm according to the device information of the source device, the device information of the destination device, the energy consumption requirement of the target service, and the energy consumption map. As another example, the path computation device can obtain the candidate transmission path based on the device information of the source device, the device information of the destination device, and the energy consumption map, and then select the candidate transmission path satisfying the energy consumption requirement of the target service as the first transmission path.
Mode two: the target service has an energy consumption requirement and a service requirement. And obtaining a first transmission path according to the equipment information of the source equipment, the equipment information of the target equipment, the energy consumption requirement of the target service, the service requirement of the target service and the energy consumption map.
The traffic demand of the target traffic indicates the demand in terms of transmission of the transmission target traffic. Traffic demands such as service level agreement demands, traffic distribution demands, etc.
In one possible implementation, the source device of the second transmission path is identical to the source device of the first transmission path, and the destination device of the second transmission path is identical to the destination device of the second transmission path. The device information of the source device and the device information of the destination device can be obtained based on the second transmission path.
In another possible implementation, the service requirement includes device information of the source device and device information of the destination device. The device for calculating the path can obtain the device information of the source device and the device information of the destination device based on the service requirement.
The method for obtaining the first transmission path is not limited in the embodiment of the application. As an example, the path computation device can obtain the first transmission path by using a path computation algorithm according to the device information of the source device, the device information of the destination device, the energy consumption requirement of the target service, the service requirement of the target service, and the energy consumption map. As another example, the path computation device can obtain the candidate transmission path based on the device information of the source device, the device information of the destination device, and the energy consumption map, and then select the candidate transmission path satisfying the energy consumption requirement of the target service and satisfying the service requirement of the target service as the first transmission path.
In the case that the device that determines the first transmission path based on the energy consumption map is the management control device, after obtaining the first transmission path, the management control device further issues configuration information to a plurality of network devices in the network. The configuration information indicates that the target traffic transmits data through the first transmission path. In one possible implementation, the management control device sends configuration information to the network device on the first transmission path.
In the network, the data of the target service is transmitted based on the first transmission path, which affects the energy consumption of the network device, the energy consumption map including the flow distribution in the network, and the like. After the first transmission path is obtained, the energy consumption map can also be adjusted based on the first transmission path update.
In one possible implementation manner, the energy consumption map is adjusted based on the basic information after the target service is transmitted through the first transmission path, and specifically includes the following two steps:
b1: and acquiring basic information of the target service after data transmission through the first transmission path.
And acquiring basic information after the network transmits the data of the target service through the first transmission path. The method for obtaining the basic information in B1 is similar to the method for obtaining the basic information in A1, please refer to the above, and details are not repeated here.
B2: and updating the energy consumption map according to the basic information after the target service transmits the data through the first transmission path.
And updating the energy consumption map based on the obtained updated basic information.
In some possible implementations, the device that determines the first transmission path based on the energy consumption map has a display function. The device is capable of displaying one or more of a first transmission path, an energy consumption value of a transmission target service, indication information for indicating a relationship of the energy consumption value of the first transmission path and the energy consumption value of a second transmission path, status information of a network device for transmitting the target service, and a network device or a link adjusted from an on state to an off state. The relation between the energy consumption value of the first transmission path and the energy consumption value of the second transmission path may comprise, for example, greater or lesser than, and further comprises, for example, rising or falling. The state information of the network device includes an on state and an off state.
The path generation method provided by the embodiment of the present application is described below with reference to a specific example based on the network architecture shown in fig. 1.
Example one: the first transmission path is a single path.
Referring to fig. 4, a schematic diagram of an energy consumption map before the first transmission path is not determined according to an embodiment of the present application is shown. Wherein T1 is a transmission path of the transmission service a, and T2 is a transmission path of the transmission service B.
T1 is network device 101→network device 103→network device 104→network device 106→network device 105→network device 107→network device 108. T2 is network device 101→network device 103→network device 104→network device 106→network device 108.
The bandwidth of the service A and the service B is 10Gb/s.
In the process of the optimization, the service A is optimized, and the service B is not optimized. That is, the service a is a target service for optimization, and T1 of the transmission service a is a second transmission path.
The basic information included in the energy consumption map comprises network topology information of a network, energy consumption information of network equipment, KPI information and flow information acquired in real time.
Network device 101-network device 108 are all on and operating normally. Establishing a link of a connection includes: links of network device 101-network device 103, links of network device 101-network device 102, links of network device 102-network device 104, links of network device 103-network device 105, links of network device 104-network device 106, links of network device 105-network device 107, links of network device 106-network device 108, and links of network device 107-network device 108.
In this example, energy consumption information of network devices of device granularity is obtained. The network device after being turned on generates an energy consumption value. Specifically, the first power consumption values of the network devices 101-108 are A1, A2, A3, A4, A5, A6, A7, and A8, respectively. The network devices carrying traffic of service B are network device 101, network device 103, network device 104, network device 106, and network device 108. The second power consumption values of the network device 101, the network device 103, the network device 104, the network device 106, and the network device 108 are B1, B3, B4, B6, and B8, respectively.
The KPI information includes an upper bandwidth utilization limit for the link. The upper limit of the bandwidth utilization rate of each link in the network is 100 percent, and the maximum data can be carried by 20 Gb/s.
In this example, traffic information for device granularity is obtained. Based on the transmission condition of T2, traffic transmitted in real time by the network device 101, the network device 103, the network device 104, the network device 106, and the network device 108 is acquired. Specifically, the network device 101 transmits 10Gb/s. The network device 103 transmits 10Gb/s. The network device 104 transmits 10Gb/s. The network device 106 transmits 10Gb/s. The network device 108 transmits 10Gb/s.
And generating an energy consumption map based on the obtained basic information. And obtaining an optimized first transmission path according to the energy consumption map, the source equipment and the destination equipment of the service A and the energy consumption map. Referring to fig. 5, T3 in fig. 5 is a first transmission path. The first transmission path is network device 101→network device 103→network device 104→network device 106→network device 108.
After the first transmission path is obtained, the service a can be transmitted based on the first transmission path. Correspondingly, the underlying information may change. After the service a is transmitted by using the first transmission path, basic information is acquired.
No change in the topology of the network occurs. Network device 101-network device 108 are all on and operating normally. Establishing a link of a connection includes: links of network device 101-network device 103, links of network device 101-network device 102, links of network device 102-network device 104, links of network device 103-network device 105, links of network device 104-network device 106, links of network device 105-network device 107, links of network device 106-network device 108, and links of network device 107-network device 108.
In this example, energy consumption information of network devices of device granularity is obtained. Specifically, the first power consumption values of the network devices 101-108 are A1, A2, A3, A4, A5, A6, A7, and A8, respectively. The network devices that carry traffic of traffic a and traffic of traffic B are network device 101, network device 103, network device 104, network device 106, and network device 108. The second power consumption values of network device 101, network device 103, network device 104, network device 106, and network device 108 are C1, C3, C4, C6, and C8, respectively.
The KPI information includes an upper bandwidth utilization limit for the link. The upper limit of the bandwidth utilization rate of each link in the network is 100 percent, and the maximum data can be carried by 20Gb/s.
In this example, traffic information for device granularity is obtained. Based on the transmission conditions of T2 and T3, traffic transmitted in real time by network device 101, network device 103, network device 104, network device 106, network device 107, and network device 108 is acquired. Specifically, the network device 101 transmits 20Gb/s. The network device 103 transmits 20Gb/s. The network device 104 transmits 20Gb/s. The network device 106 transmits 20Gb/s. The network device 108 transmits 20Gb/s.
And adjusting the energy consumption map based on the obtained updated basic information.
In addition, the energy consumption map can also display the energy consumption value Q1 of the traffic a transmitted by T3, and the relationship between the energy consumption value Q1 of the traffic a transmitted by T3 and the energy consumption value Q0 of the traffic a transmitted by T1.
Example two: the first transmission path is a plurality of paths.
Referring to fig. 6, a schematic diagram of another energy consumption map before the first transmission path is not determined according to an embodiment of the present application is shown. Wherein T1 is a transmission path of the transmission service a, and T2 is a transmission path of the transmission service B.
T1 is network device 101→network device 103→network device 104→network device 106→network device 105→network device 107→network device 108. T2 is network device 101→network device 103→network device 104→network device 106→network device 108.
The bandwidth of the service A and the service B is 10Gb/s.
In the process of the optimization, the service A is optimized, and the service B is not optimized. That is, the service a is a target service for optimization, and T1 of the transmission service a is a second transmission path.
The basic information included in the energy consumption map comprises network topology information of a network, energy consumption information of network equipment, KPI information and flow information acquired in real time.
Network device 101-network device 108 are all on and operating normally. Establishing a link of a connection includes: links of network device 101-network device 103, links of network device 101-network device 102, links of network device 102-network device 104, links of network device 103-network device 105, links of network device 104-network device 106, links of network device 105-network device 107, links of network device 106-network device 108, and links of network device 107-network device 108.
In this example, energy consumption information of a network device at device granularity and energy consumption information at port granularity are obtained. The network device and the port after being turned on will generate an energy consumption value. Specifically, the first power consumption values of the network devices 101-108 are A1, A2, A3, A4, A5, A6, A7, and A8, respectively. The third power consumption values of the ports of the same network device are the same. The third power consumption values of the ports of the network device 101-the ports of the network device 108 are D1, D2, D3, D4, D5, D6, D7 and D8, respectively.
The network devices carrying traffic of service B are network device 101, network device 103, network device 104, network device 106, and network device 108. The second power consumption values of the network device 101, the network device 103, the network device 104, the network device 106, and the network device 108 are B1, B3, B4, B6, and B8, respectively. The fourth power consumption values for ports 1-3, 3-1, 3-4, 4-3, 4-6, 6-4, 6-8 and 8-6 are E1, E2, E3, E4, E5, E6, E7 and E8, respectively.
The KPI information includes an upper bandwidth utilization limit for the link. The upper bandwidth utilization of the links of network device 103-network device 104, network device 104-network device 106, and network device 106-network device 108 in the network is 75%, and the maximum capacity of carrying 15Gb/s data. The upper limit of bandwidth utilization of links in the network other than the links of the network device 103-104, the links of the network device 104-106 and the links of the network device 106-108 is 100%, and the maximum data of 20Gb/s can be carried.
In this example, traffic information for device granularity is obtained. Based on the transmission condition of T2, traffic transmitted in real time by the network device 101, the network device 103, the network device 104, the network device 106, and the network device 108 is acquired. Specifically, the network device 101 transmits 10Gb/s. The network device 103 transmits 10Gb/s. The network device 104 transmits 10Gb/s. The network device 106 transmits 10Gb/s. The network device 108 transmits 10Gb/s.
And generating an energy consumption map based on the obtained basic information. And obtaining an optimized first transmission path according to the energy consumption map, the source equipment and the destination equipment of the service A and the energy consumption map. The source device and the destination device of the service a may be determined based on the service requirements of the service a. The first transmission path based on the energy consumption map is shown in fig. 7. The first transmission path of the transmission service a is two paths T3 and T4, which are affected by the upper limit of the link bandwidth utilization. T3 is network device 101→network device 103→network device 104→network device 106→network device 108. T4 is network device 101→network device 103→network device 105→network device 107→network device 108.
Based on the first transmission path, the energy consumption map is updated. Specifically, after data of the target service is transmitted based on the first transmission path, the base information is acquired.
No change in the topology of the network occurs. Network device 101-network device 108 are all on and operating normally. Establishing a link of a connection includes: links of network device 101-network device 103, links of network device 101-network device 102, links of network device 102-network device 104, links of network device 103-network device 105, links of network device 104-network device 106, links of network device 105-network device 107, links of network device 106-network device 108, and links of network device 107-network device 108.
In this example, energy consumption information of a network device at device granularity and energy consumption information at port granularity are obtained. Specifically, the first power consumption values of the network devices 101-108 are A1, A2, A3, A4, A5, A6, A7, and A8, respectively. The third power consumption values of the ports of the same network device are the same. The third power consumption values of the ports of the network device 101-the ports of the network device 108 are D1, D2, D3, D4, D5, D6, D7 and D8, respectively.
The network devices that carry traffic of service a and traffic of service B are network device 101, network device 103, network device 104, network device 105, network device 106, network device 107, and network device 108. The second power consumption values of network device 101, network device 103, network device 104, network device 105, network device 106, network device 107, and network device 108 are F1, F3, F4, F5, F6, F7, and F8, respectively. The fourth power consumption values for ports 1-3, 3-1, 3-4, 4-3, 4-6, 6-4, 6-8 and 8-6 are G1, G2, G3, G4, G5, G6, G7 and G8, respectively.
The KPI information includes an upper bandwidth utilization limit for the link. The upper bandwidth utilization limit of each link in the network is 75%.
In this example, traffic information for device granularity is obtained. Based on the transmission conditions of T2, T3, and T4, traffic transmitted in real time by network device 101, network device 103, network device 104, network device 105, network device 106, network device 107, and network device 108 is acquired. Specifically, the network device 101 transmits 20Gb/s. The network device 103 transmits 20Gb/s. The network device 104 transmits 15Gb/s. The network device 105 transmits 5Gb/s. The network device 106 transmits 15Gb/s. The network device 107 transmits 5Gb/s. The network device 108 transmits 20Gb/s.
In addition, the energy consumption map can also display the relation between the energy consumption value Q2 of the traffic a transmitted by using T3 and T4, that is, the traffic a, and the energy consumption value Q2 of the traffic a transmitted by using T3 and T4 and the energy consumption value Q0 of the traffic a transmitted by using T1.
Example three: the topology of the network changes.
Take the energy consumption map before the first transmission path is not determined as shown in fig. 4 as an example. T1 is a transmission path of the transmission service a, and T2 is a transmission path of the transmission service B. The bandwidth of the service A and the service B is 10Gb/s.
In the process of the optimization, the service A is optimized, and the service B is not optimized. That is, the service a is a target service for optimization, and T1 of the transmission service a is a second transmission path.
The basic information included in the energy consumption map comprises network topology information of a network, energy consumption information of network equipment, KPI information and flow information acquired in real time.
Network device 101-network device 108 are all on and operating normally. Establishing a link of a connection includes: links of network device 101-network device 103, links of network device 101-network device 102, links of network device 102-network device 104, links of network device 103-network device 105, links of network device 104-network device 106, links of network device 105-network device 107, links of network device 106-network device 108, and links of network device 107-network device 108.
In this example, energy consumption information of network devices of device granularity is obtained. The network device after being turned on generates an energy consumption value. Specifically, the power consumption values generated by the operation of the network device 101-108 are H1, H2, H3, H4, H5, H6, H7, and H8, respectively.
The KPI information includes an upper bandwidth utilization limit for the link. The upper bandwidth utilization of the links of network device 103-104, and 104-106 in the network is 75% and can carry 15Gb/s at maximum. The upper limit of bandwidth utilization of links in the network, except for the links of the network device 103-104 and the links of the network device 104-106, is 100%, and the maximum can bear 20Gb/s data.
In this example, traffic information for device granularity is obtained. Based on the transmission condition of T2, traffic transmitted in real time by the network device 101, the network device 103, the network device 104, the network device 106, and the network device 108 is acquired. Specifically, the network device 101 transmits 10Gb/s. The network device 103 transmits 10Gb/s. The network device 104 transmits 10Gb/s. The network device 106 transmits 10Gb/s. The network device 108 transmits 10Gb/s.
And generating an energy consumption map based on the obtained basic information. And obtaining an optimized first transmission path according to the energy consumption map, the source equipment and the destination equipment of the service A and the energy consumption map. The first transmission path based on the energy consumption map is shown in fig. 8. T5 in fig. 8 is the first transmission path. The first transmission path is network device 101→network device 103→network device 106→network device 108. The network is not used for the network device 102, the network device 105 and the network device 107 when the network is based on the T2 transmission service B and the T5 transmission service a. The network device 102, the network device 105, and the network device 107 are turned off in view of reducing power consumption.
After transmitting the data of the service a based on the first transmission path, the basic information is acquired.
Network device 101, network device 103, network device 104, network device 106, and network device 108 are on and operating properly.
Establishing a link of a connection includes: a link of network device 101-network device 103, a link of network device 103-network device 104, a link of network device 103-network device 106, a link of network device 104-network device 106, and a link of network device 106-network device 108.
In this example, energy consumption information of network devices of device granularity is obtained. Specifically, the power consumption values of the network device 101, the network device 103, the network device 104, the network device 106, and the network device 108 are I1, I3, I4, I6, and I8, respectively.
The KPI information includes an upper bandwidth utilization limit for the link. The upper bandwidth utilization of the links of network device 103-104, and 104-106 in the network is 75% and can carry 15Gb/s at maximum. The upper limit of bandwidth utilization of links in the network, except for the links of the network device 103-104 and the links of the network device 104-106, is 100%, and the maximum can bear 20Gb/s data.
In this example, traffic information for device granularity is obtained. Based on the transmission conditions of T2 and T3, traffic transmitted in real time by network device 101, network device 103, network device 104, network device 106, and network device 108 is acquired. Specifically, the network device 101 transmits 20Gb/s. The network device 103 transmits 20Gb/s. The network device 104 transmits 15Gb/s. The network device 106 transmits 20Gb/s. The network device 108 transmits 20Gb/s.
In addition, the energy consumption map can also display the energy consumption value Q3 of the traffic a transmitted by T5, and the relationship between the energy consumption value Q3 of the traffic a transmitted by T5 and the energy consumption value Q0 of the traffic a transmitted by T1.
Fig. 9 shows a schematic diagram of a possible configuration of the apparatus involved in the above embodiment, and the apparatus 900 may implement the path generating method in the above method embodiment.
Referring to fig. 9, the apparatus 900 includes: a processing unit 901. These units may perform the respective functions of the device for determining the first transmission path based on the energy consumption map in the above-described method embodiments. A processing unit 901 for supporting device 900 to perform S301-S302 in fig. 3, and/or other processes of the techniques described herein. For example, the processing unit 901 is configured to perform operations of various processes of the apparatus for determining the first transmission path based on the energy consumption map in the above-described method embodiment.
For example, the processing unit 901 is configured to determine a first transmission path of a target service according to an energy consumption map, where the energy consumption map includes basic information, the basic information includes network topology information of the network, energy consumption information of network devices of the network, key performance indicator KPI information, and traffic information acquired in real time, and an energy consumption value of the first transmission path is smaller than an energy consumption value of the second transmission path. Reference is made to the detailed description of the corresponding steps in the above embodiments for specific implementation, and details are not repeated here.
Fig. 10 is a schematic structural diagram of an apparatus according to an embodiment of the present application. The apparatus 900 in fig. 9 may be implemented by the apparatus shown in fig. 10. The device may include one or more processors 1001, a communication bus 1002, memory 1003, and one or more communication interfaces 1004.
The processor 1001 may be a general purpose central processing unit (central processing unit, CPU), network processor (network processor, NP), microprocessor, or may be one or more integrated circuits for implementing aspects of the present application, such as application-specific integrated circuits (ASIC), programmable logic devices (programmable logic device, PLD), or a combination thereof. The PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), general-purpose array logic (generic array logic, GAL), or any combination thereof.
Communication bus 1002 is used to transfer information between the aforementioned components. The communication bus 1002 can be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The memory 1003 may be, but is not limited to, read-only memory (ROM), random-access memory (random access memory, RAM), electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), optical disk (including, but not limited to, compact disk, laser disk, digital versatile disk, blu-ray disc, etc.), magnetic disk storage media, or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by a computer. The memory 1003 may be separate and coupled to the processor 1001 by a communication bus 1002. Memory 1003 may also be integrated with processor 1001.
The communication interface 1004 uses any transceiver-like device for communicating with other devices or communication networks. Communication interface 1004 includes a wired communication interface and may also include a wireless communication interface. The wired communication interface may be, for example, an ethernet interface. The ethernet interface may be an optical interface, an electrical interface, or a combination thereof. The wireless communication interface may be a wireless local area network (wireless local area networks, WLAN) interface, a cellular network communication interface, a combination thereof, or the like.
In some embodiments, the device may include multiple processors, such as processor 1001 and processor 1005 shown in fig. 10. Each of these processors may be a single-core processor or a multi-core processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In a particular implementation, the devices may also include, as one embodiment, an output device 1006 and an input device 1007. The output device 1006 communicates with the processor 1001 and information can be displayed in a variety of ways. For example, the output device 1006 may be a liquid crystal display (liquid crystal display, LCD), a light emitting diode (light emitting diode, LED) display device, a Cathode Ray Tube (CRT) display device, or a projector (projector), or the like. The input device 1007 communicates with the processor 1001 and may receive user input in a variety of ways. For example, the input device 1007 may be a mouse, keyboard, touch screen device, or the like.
In some embodiments, the memory 1003 is used to store program code 1008 for performing aspects of the present application, and the processor 1001 may execute the program code 1008 stored in the memory 1003. One or more software modules may be included in the program code, and the apparatus may implement the method of path generation described above through the processor 1001 and the program code 1008 in the memory 1003.
Fig. 11 is a schematic diagram of a hardware structure of an apparatus 1100 according to an embodiment of the present application. The apparatus 1100 shown in fig. 11 may perform the corresponding steps in the method of the above-described embodiments.
As in fig. 11, the apparatus 1100 comprises: master board 1110, interface board 1130, switch board 1120, and interface board 1140. Main control board 1110, interface boards 1130 and 1140 and switch board 1120 are connected to the system back board through a system bus to realize intercommunication. The main control board 1110 is used for performing functions such as system management, equipment maintenance, and protocol processing. Switch board 1120 is used to complete the exchange of data between interface boards (interface boards also known as line cards or traffic boards). Interface boards 1130 and 1140 are used to provide various service interfaces (e.g., POS interface, GE interface, ATM interface, etc.) and to enable forwarding of data packets.
Interface board 1130 may include a central processor 1131, forwarding table entry memory 1134, physical interface card 1133, and network processor 1132. The central processor 1131 is used for controlling and managing the interface board and communicating with the central processor on the main control board. The forwarding table entry memory 1134 is used for storing forwarding table entries. The physical interface card 1133 is used to complete the reception and transmission of traffic. The network memory 1132 is configured to control the physical interface card 1133 to send and receive traffic according to the forwarding table entry.
It should be understood that the operations on the interface board 1140 are consistent with the operations of the interface board 1130 in the embodiment of the present invention, and are not repeated for brevity. It should be understood that the apparatus 1100 of the present embodiment may correspond to the functions and/or the various steps implemented in the above-described method embodiments, which are not described herein.
In addition, it should be noted that the main control board may have one or more blocks, and the main control board and the standby main control board may be included when there are multiple blocks. The interface boards may have one or more, the more data processing capabilities of the device, the more interface boards are provided. The physical interface card on the interface board may also have one or more pieces. The switching network board may not be provided, or may be provided with one or more blocks, and load sharing redundancy backup can be jointly realized when the switching network board is provided with the plurality of blocks. Under the centralized forwarding architecture, the device does not need to exchange network boards, and the interface board bears the processing function of the service data of the whole system. Under the distributed forwarding architecture, the device may have at least one switching fabric, through which data exchange between multiple interface boards is implemented, providing high capacity data exchange and processing capabilities. Therefore, the data access and processing power of the devices of the distributed architecture is greater than that of the devices of the centralized architecture. The specific architecture employed is not limited in any way herein, depending on the specific networking deployment scenario.
The embodiment of the application also provides a chip system, which comprises: and a processor coupled to the memory, the memory configured to store a program or instructions that, when executed by the processor, cause the chip system to implement the method performed by the apparatus for deriving the first transmission path based on the energy consumption map in the above embodiment.
Alternatively, the processor in the system-on-chip may be one or more. The processor may be implemented in hardware or in software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general purpose processor, implemented by reading software code stored in a memory.
Alternatively, the memory in the system-on-chip may be one or more. The memory may be integral with the processor or separate from the processor, and the application is not limited. The memory may be a non-transitory processor, such as a ROM, which may be integrated on the same chip as the processor, or may be separately provided on different chips, and the type of memory and the manner of providing the memory and the processor are not particularly limited in the present application.
The system-on-chip may be, for example, an FPGA, an ASIC, a system-on-chip (SoC), a CPU, an NP, a digital signal processing circuit (digital signal processor, DSP), a microcontroller (micro controller unit, MCU), a programmable controller (programmable logic device, PLD) or other integrated chips.
The terms first, second, third, fourth and the like in the description and in the claims and in the above drawings are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural. "A and/or B" is considered herein to include A alone, B alone, and A+B.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and the division of the units, for example, is merely a logic module division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be acquired according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each module unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units described above may be implemented either in hardware or in software module units.
The integrated units, if implemented in the form of software module units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above embodiments are further described in detail for the purpose, technical solution and advantageous effects of the present application, and it should be understood that the above description is only an embodiment of the present application.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (15)

1. A path generation method, the method being applied to a network in which a target service transmits data through a second transmission path, the method comprising:
and determining a first transmission path of the target service according to an energy consumption map, wherein the energy consumption map comprises basic information, the basic information comprises network topology information of the network, energy consumption information of network equipment of the network, key performance index KPI information and flow information acquired in real time, and the energy consumption value of the first transmission path is smaller than that of the second transmission path.
2. The method according to claim 1, wherein the method further comprises:
and transmitting configuration information to a plurality of network devices in the network, wherein the configuration information indicates the target service to transmit data through the first transmission path.
3. The method of claim 1, wherein prior to said determining the first transmission path of the target traffic from the energy consumption map, the method further comprises:
acquiring network topology information of the network, energy consumption information of network equipment of the network, KPI information and flow information acquired in real time;
And generating the energy consumption map according to the network topology information of the network, the energy consumption information of the network equipment of the network, the KPI information and the flow information acquired in real time.
4. A method according to any of claims 1-3, wherein said determining a first transmission path of a target service from an energy consumption map comprises:
and obtaining a first transmission path according to the equipment information of the source equipment, the equipment information of the target equipment, the energy consumption requirement of the target service and the energy consumption map.
5. A method according to any of claims 1-3, wherein said determining a first transmission path of a target service from an energy consumption map comprises:
and obtaining a first transmission path according to the equipment information of the source equipment, the equipment information of the target equipment, the energy consumption requirement of the target service, the service requirement of the target service and the energy consumption map.
6. The method according to claim 5, wherein the obtaining a first transmission path according to the device information of the source device, the device information of the destination device, the energy consumption requirement of the target service, the service requirement of the target service, and the energy consumption map includes:
And obtaining a first transmission path based on a path calculation algorithm according to the equipment information of the source equipment, the equipment information of the destination equipment, the energy consumption requirement of the target service, the service requirement of the target service and the energy consumption map.
7. The method according to claim 5, wherein the obtaining a first transmission path according to the device information of the source device, the device information of the destination device, the energy consumption requirement of the target service, the service requirement of the target service, and the energy consumption map includes:
obtaining candidate transmission paths according to the equipment information of the source equipment, the equipment information of the target equipment and the energy consumption map;
and taking the candidate transmission path meeting the energy consumption requirement of the target service and the service requirement of the target service as a first transmission path.
8. The method according to any one of claims 1-7, further comprising:
and updating the energy consumption map according to the first transmission path.
9. The method of claim 8, wherein the updating the energy consumption map according to the first transmission path comprises:
basic information of the target service after data transmission through the first transmission path is acquired;
And updating the energy consumption map according to the basic information after the target service transmits data through the first transmission path.
10. The method of any of claims 1-9, wherein the network device comprises at least one port, and the energy consumption information comprises one or more of a device energy consumption value of the network device and a port energy consumption value of the network device.
11. The method of any of claims 1-10, wherein the real-time acquired traffic information comprises one or more of real-time traffic of the network device and real-time traffic of the at least one port.
12. The method of any of claims 1-11, wherein the KPI information includes one or more of a bandwidth utilization upper limit and a device resource utilization upper limit.
13. An apparatus, the apparatus comprising:
a memory comprising instructions;
a processor, which when executing the instructions causes the apparatus to implement the path generation method of any one of claims 1-12.
14. A computer readable storage medium comprising instructions, a program or code which, when executed on a processor, implements the path generation method of any of claims 1-12.
15. A computer program product, characterized in that the computer program product, when run on a device, causes the device to perform the path generation method of any of claims 1-12.
CN202210158998.2A 2022-02-21 2022-02-21 Path generation method and device Pending CN116668208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210158998.2A CN116668208A (en) 2022-02-21 2022-02-21 Path generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210158998.2A CN116668208A (en) 2022-02-21 2022-02-21 Path generation method and device

Publications (1)

Publication Number Publication Date
CN116668208A true CN116668208A (en) 2023-08-29

Family

ID=87710532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210158998.2A Pending CN116668208A (en) 2022-02-21 2022-02-21 Path generation method and device

Country Status (1)

Country Link
CN (1) CN116668208A (en)

Similar Documents

Publication Publication Date Title
EP2453612B1 (en) Bus control device
Guo et al. Big data acquisition under failures in FiWi enhanced smart grid
JP2016528626A (en) Power balancing to increase working density and improve energy efficiency
CN101677324A (en) Business management method, terminal, network system and related equipment
US20160147548A1 (en) Virtual machine arrangement design apparatus and method , system, and program
Krug et al. Understanding the environmental costs of fixed line networking
EP4145778A1 (en) Data message forwarding method, network node, system, and storage medium
WO2020244650A1 (en) Method, device and system for acquiring performance intention indicator
CN104539445A (en) Method and device for managing service resources
CN109194578B (en) Method and device for opening private line service
CN103346978A (en) Method for guaranteeing fairness and stability of virtual machine network bandwidth
US20230216773A1 (en) Network Simulation Method and Apparatus, Device, and Computer-Readable Storage Medium
US20130073888A1 (en) Method, a system, a device, a first server, a second server, a third server a computer program and a computer program product for operating a communications network
CN114916033A (en) Data transmission method, system, electronic equipment and storage medium
Anselmi et al. Optimal routing in parallel, non-observable queues and the price of anarchy revisited
Wu et al. Toward energy‐proportional Internet core networks: an energy‐minimized routing and virtual topology design for Internet protocol layer
CN115794423B (en) Intelligent machine room management method and device, electronic equipment and storage medium
CN116668208A (en) Path generation method and device
CN112565391A (en) Method, apparatus, device and medium for adjusting instances in an industrial internet platform
CN115484233B (en) Method, device, equipment and medium for forwarding link aggregation message in digital communication chip
CN109710878A (en) Data interactive method and server
Abdelghany et al. Wholesale electricity pricing in the presence of geographical load balancing
US10095211B2 (en) Rectifier mixed insertion system with different power, and energy saving implementation method and device therefor
US20190272190A1 (en) Dynamically configurable operation information collection
CN116668205A (en) Path generation method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication