JP2017168880A - Cost setting device, method and program - Google Patents

Cost setting device, method and program Download PDF

Info

Publication number
JP2017168880A
JP2017168880A JP2016049144A JP2016049144A JP2017168880A JP 2017168880 A JP2017168880 A JP 2017168880A JP 2016049144 A JP2016049144 A JP 2016049144A JP 2016049144 A JP2016049144 A JP 2016049144A JP 2017168880 A JP2017168880 A JP 2017168880A
Authority
JP
Japan
Prior art keywords
communication
cost
line
predetermined
type
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.)
Granted
Application number
JP2016049144A
Other languages
Japanese (ja)
Other versions
JP6658134B2 (en
Inventor
利明 安陪
Toshiaki Abe
利明 安陪
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2016049144A priority Critical patent/JP6658134B2/en
Publication of JP2017168880A publication Critical patent/JP2017168880A/en
Application granted granted Critical
Publication of JP6658134B2 publication Critical patent/JP6658134B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a cost setting device that can determine cost of each channel such that a residual band of a channel within a network is smoothed and a communication path can be acquired on a priority basis for a predetermined kind of communication.SOLUTION: A cost setting means 71 determines first cost of each channel according to an usable band determined for each channel connecting switches each other. A route calculation means 72 calculates a communication path between switches connected to a device being an end point of a predetermined first kind of communication based on the first cost. A cost setting means 71 calculates a residual band by subtracting a predetermined used band for a set of end points of the predetermined first kind of communication from the usable band in relation to each channel on a communication path corresponding to the predetermined first kind of communication, and defines the usable band as the residual band for the channel being not on the communication path corresponding to the predetermined first kind of communication, and determines a second cost of each channel according to the residual band of each channel.SELECTED DRAWING: Figure 7

Description

本発明は、ネットワーク内の通信経路を計算する際に用いられる回線毎のコストを設定するコスト設定装置、コスト設定方法およびコスト設定プログラムに関する。   The present invention relates to a cost setting device, a cost setting method, and a cost setting program for setting a cost for each line used when calculating a communication path in a network.

OSPF(Open Shortest Path First)等の一般的な通信経路制御では、ネットワーク内の区間毎にコストが予め定められている。コストは、区間の使用可能帯域が広いほど、小さい値に設定され、区間の使用可能帯域が狭いほど、大きい値に設定される。区間とコストの対応関係を示す情報は、コストマップと呼ばれることもある。一般的な通信経路制御では、コストの合計値の小さい通信経路が探索される。   In general communication path control such as OSPF (Open Shortest Path First), a cost is predetermined for each section in the network. The cost is set to a smaller value as the usable bandwidth of the section is wider, and is set to a larger value as the usable bandwidth of the section is narrower. Information indicating the correspondence between the section and the cost may be called a cost map. In general communication path control, a communication path with a small total cost is searched.

また、特許文献1には、リンク状態とコストとを対応付けることが記載されている。   Patent Document 1 describes that a link state is associated with a cost.

特開2001−094606号公報JP 2001-094606 A

上記の一般的な通信経路制御では、使用可能帯域が広い区間に種々の通信の通信経路が集中し、その結果、輻輳が生じたり、通信を制限しなければならない場合が生じたりする。一方、使用可能帯域が狭い区間は、使用できる帯域が残っていても、コストの値が大きいため、通信経路内の区間に含まれにくい。   In the above general communication path control, communication paths for various communications are concentrated in a section where the usable bandwidth is wide. As a result, congestion may occur or communication may have to be restricted. On the other hand, a section with a narrow usable bandwidth is difficult to be included in a section in a communication path because the cost value is large even if a usable band remains.

また、所定の種類の通信に対しては、優先的に通信経路を確保することが好ましい。例えば、通信の種類を、優先度の高い通信と、優先度の低い通信とに分けた場合、優先度の高い通信に対して、優先的に通信経路を確保することが好ましい。   In addition, it is preferable to preferentially secure a communication path for a predetermined type of communication. For example, when the types of communication are divided into high priority communication and low priority communication, it is preferable to preferentially secure a communication path for high priority communication.

そこで、本発明は、ネットワーク内の回線の残帯域を平滑化するとともに、所定の種類の通信に対して優先的に通信経路を確保することができるように、各回線のコストを定めることができるコスト設定装置、コスト設定方法およびコスト設定プログラムを提供することを目的とする。   Therefore, the present invention can determine the cost of each line so that the remaining bandwidth of the line in the network can be smoothed and a communication path can be secured preferentially for a predetermined type of communication. An object is to provide a cost setting device, a cost setting method, and a cost setting program.

本発明によるコスト設定装置は、スイッチ同士を結ぶ各回線に対して予め定められた使用可能帯域に応じて、各回線の第1のコストを定めるコスト設定手段と、第1のコストに基づいて、所定の第1種の通信の端点となる装置に接続されるスイッチ間の通信経路を計算する経路計算手段とを備え、コスト設定手段が、所定の第1種の通信に対応する通信経路上の各回線に関して、使用可能帯域から、所定の第1種の通信の端点の組に対して予め定められた使用帯域を減算することによって残帯域を計算し、所定の第1種の通信に対応する通信経路上にない回線に関しては使用可能帯域を残帯域とし、スイッチ同士を結ぶ各回線の残帯域に応じて、各回線の第2のコストを定めることを特徴とする。   The cost setting device according to the present invention is based on a cost setting means for determining a first cost of each line according to an available bandwidth predetermined for each line connecting the switches, based on the first cost, A route calculation unit that calculates a communication route between switches connected to a device serving as an end point of the predetermined first type communication, and the cost setting unit is on a communication path corresponding to the predetermined first type communication. For each line, a remaining bandwidth is calculated by subtracting a predetermined bandwidth from a set of endpoints of a predetermined first type of communication from the usable bandwidth, and corresponds to the predetermined first type of communication. For a line not on the communication path, the usable bandwidth is set as the remaining band, and the second cost of each line is determined according to the remaining band of each line connecting the switches.

また、本発明によるコスト設定方法は、スイッチ同士を結ぶ各回線に対して予め定められた使用可能帯域に応じて、各回線の第1のコストを定め、第1のコストに基づいて、所定の第1種の通信の端点となる装置に接続されるスイッチ間の通信経路を計算し、所定の第1種の通信に対応する通信経路上の各回線に関して、使用可能帯域から、所定の第1種の通信の端点の組に対して予め定められた使用帯域を減算することによって残帯域を計算し、所定の第1種の通信に対応する通信経路上にない回線に関しては使用可能帯域を残帯域とし、スイッチ同士を結ぶ各回線の残帯域に応じて、各回線の第2のコストを定めることを特徴とする。   Further, the cost setting method according to the present invention determines a first cost of each line according to an available bandwidth predetermined for each line connecting the switches, and determines a predetermined cost based on the first cost. A communication path between switches connected to a device serving as an end point of the first type of communication is calculated, and for each line on the communication path corresponding to the predetermined first type of communication, a predetermined first The remaining bandwidth is calculated by subtracting a predetermined bandwidth to be used for a set of communication endpoints, and the usable bandwidth is left for a line that is not on the communication path corresponding to the predetermined first-class communication. The second cost of each line is determined according to the remaining bandwidth of each line connecting the switches.

また、本発明によるコスト設定プログラムは、コンピュータに、スイッチ同士を結ぶ各回線に対して予め定められた使用可能帯域に応じて、各回線の第1のコストを定めるコスト設定処理、第1のコストに基づいて、所定の第1種の通信の端点となる装置に接続されるスイッチ間の通信経路を計算する経路計算処理、および、所定の第1種の通信に対応する通信経路上の各回線に関して、使用可能帯域から、所定の第1種の通信の端点の組に対して予め定められた使用帯域を減算することによって残帯域を計算し、所定の第1種の通信に対応する通信経路上にない回線に関しては使用可能帯域を残帯域とし、スイッチ同士を結ぶ各回線の残帯域に応じて、各回線の第2のコストを定める第2のコスト設定処理を実行させることを特徴とする。   In addition, the cost setting program according to the present invention provides a computer with a cost setting process for determining a first cost for each line according to an available bandwidth that is predetermined for each line connecting the switches. , A path calculation process for calculating a communication path between switches connected to a device serving as an end point of a predetermined first type communication, and each line on the communication path corresponding to the predetermined first type communication The remaining bandwidth is calculated by subtracting, from the usable bandwidth, a predetermined bandwidth that is predetermined for a set of predetermined first-type communication endpoints, and a communication path corresponding to the predetermined first-type communication. For a line not above, the usable bandwidth is set as a remaining bandwidth, and a second cost setting process for determining a second cost of each line is executed in accordance with the remaining bandwidth of each line connecting the switches. .

本発明によれば、ネットワーク内の回線の残帯域を平滑化するとともに、所定の種類の通信に対して優先的に通信経路を確保することができるように、各回線のコストを定めることができる。   According to the present invention, the cost of each line can be determined so that the remaining bandwidth of the line in the network can be smoothed and a communication path can be secured preferentially for a predetermined type of communication. .

スイッチを含むネットワークの例を示す説明図である。It is explanatory drawing which shows the example of the network containing a switch. 本発明のコスト設定装置の例を示すブロック図である。It is a block diagram which shows the example of the cost setting apparatus of this invention. スイッチのトポロジの例を示す模式図である。It is a schematic diagram which shows the example of the topology of a switch. 本発明の第1の実施形態の処理経過の例を示すフローチャートである。It is a flowchart which shows the example of the process progress of the 1st Embodiment of this invention. ステップS2で計算された通信経路の例を示す模式図である。It is a schematic diagram which shows the example of the communication path | route calculated by step S2. 本発明の第2の実施形態の処理経過の例を示すフローチャートである。It is a flowchart which shows the example of the process progress of the 2nd Embodiment of this invention. 本発明の概要を示すブロック図である。It is a block diagram which shows the outline | summary of this invention.

以下、本発明の実施形態を図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

本発明のコスト設定装置は、スイッチを含むネットワークの運用が実際に開始される前に、通信の種類毎に、スイッチ間の回線のコストを設定する。   The cost setting device of the present invention sets the line cost between switches for each type of communication before the operation of the network including the switches is actually started.

通信の種類は、通信の優先度によって分類される。分類されたそれぞれの通信の種類を、優先度が高い方から、「第1種の通信」、「第2種の通信」等のように記すこととする。   The type of communication is classified according to the priority of communication. The classified types of communication are described as “first type of communication”, “second type of communication”, etc., in descending order of priority.

図1は、スイッチを含むネットワークの例を示す説明図である。スイッチのトポロジは、図1に示す例に限定されない。また、図1では、5個のスイッチ20を示しているが、スイッチ20の数は特に限定されない。また、図1に示す個々のスイッチ20を区別する場合には、符号“#1”〜“#5”によって区別する。   FIG. 1 is an explanatory diagram illustrating an example of a network including a switch. The topology of the switch is not limited to the example shown in FIG. In FIG. 1, five switches 20 are shown, but the number of switches 20 is not particularly limited. Further, when the individual switches 20 shown in FIG. 1 are distinguished, they are distinguished by reference numerals “# 1” to “# 5”.

各スイッチ20は、ネットワークを形成している。1つの回線25は、2つのスイッチ20同士を結ぶ。ただし、スイッチ20間に回線25が設けられない場合をもある。例えば、図1に示す例では、スイッチ#1,#2間に回線25は設けられていない。   Each switch 20 forms a network. One line 25 connects two switches 20 to each other. However, the line 25 may not be provided between the switches 20. For example, in the example shown in FIG. 1, the line 25 is not provided between the switches # 1 and # 2.

また、スイッチ20には、通信の端点となる装置(以下、端末と記す。)30が接続されている。図1では、4つの端末30を示しているが、端末の数は特に限定されない。少なくとも第1種の通信では、通信の端点の各組が予め定められていて、さらに、その端点の各組に対して、端点間の通信により生じる使用帯域も予め定められている。例えば、ネットワークの管理者が、上記の端末の組や、その端末の各組に対応する使用帯域を予め定めておけばよい。   In addition, a device (hereinafter referred to as a terminal) 30 serving as a communication end point is connected to the switch 20. In FIG. 1, four terminals 30 are shown, but the number of terminals is not particularly limited. In at least the first type of communication, each set of communication end points is determined in advance, and further, a use band generated by communication between the end points is determined in advance for each set of end points. For example, the network administrator may predetermine a set of terminals and a use band corresponding to each set of the terminals.

また、各スイッチ20は、SDN(Software-Defined Networking )における制御装置(図示略)によって制御される。各スイッチ20は、回線25とは別の専用回線(図示略)によってこの制御装置と接続される。   Each switch 20 is controlled by a control device (not shown) in SDN (Software-Defined Networking). Each switch 20 is connected to the control device by a dedicated line (not shown) different from the line 25.

本発明のコスト設定装置(図1において図示せず。)は、スイッチ20を含むネットワークの運用が開始される前に、スイッチ20同士を結ぶ各回線25に対して、通信の種類毎にコストを設定する。   The cost setting device (not shown in FIG. 1) of the present invention costs each line 25 that connects the switches 20 for each type of communication before the operation of the network including the switches 20 is started. Set.

なお、本発明のコスト設定装置は、SDNにおける制御装置としての機能を有していてもよい。あるいは、本発明のコスト設定装置は、SDNにおける制御装置とは別の装置であってもよい。   The cost setting device of the present invention may have a function as a control device in the SDN. Or the cost setting apparatus of this invention may be an apparatus different from the control apparatus in SDN.

実施形態1.
第1の実施形態では、通信の種類が優先度により「第1種の通信(優先度の高い通信)」と、「第2種の通信(優先度の低い通信)」の2種類に分類される場合を例にして説明する。各実施形態では、ネットワークの管理者が、通信の種類を予め分類するものとして説明する。第1の実施形態では、例えば、管理者が、第1種の通信に対して、通信の端点の各組を予め定める。また、管理者は、その端点の各組に対して、端点間の通信により生じる使用帯域も予め定める。管理者が、通信の種類を分類する基準は、特に限定されないが、以下の説明では、管理者が、特定の組の端点間の通信を「第1種の通信(優先度の高い通信)」に分類し、それ以外の組の端点間の通信を「第2種の通信(優先度の低い通信)」に分類する場合を例にして説明する。
Embodiment 1. FIG.
In the first embodiment, the types of communication are classified into two types according to priority: “first type communication (high priority communication)” and “second type communication (low priority communication)”. An example will be described. In each embodiment, a description will be given assuming that the network administrator classifies the types of communication in advance. In the first embodiment, for example, the administrator predetermines each set of communication endpoints for the first type of communication. In addition, the administrator predetermines a use band generated by communication between end points for each set of end points. The standard for the administrator to classify the type of communication is not particularly limited, but in the following description, the administrator refers to communication between the specific set of endpoints as “first type communication (communication with high priority)”. An example will be described in which the communication between the other endpoints is classified as “second type communication (communication with low priority)”.

図2は、本発明のコスト設定装置の例を示すブロック図である。本発明のコスト設定装置1は、情報記憶部2と、コストマップ記憶部3と、コスト設定部4と、経路計算部5とを備える。   FIG. 2 is a block diagram showing an example of the cost setting device of the present invention. The cost setting device 1 of the present invention includes an information storage unit 2, a cost map storage unit 3, a cost setting unit 4, and a route calculation unit 5.

情報記憶部2は、トポロジ情報および使用帯域情報を記憶する記憶装置である。   The information storage unit 2 is a storage device that stores topology information and use band information.

トポロジ情報は、どのスイッチ20とどのスイッチ20とが回線25によって結ばれているのかを示し、個々のスイッチ20に接続されている端末(通信の端点となる端末)の情報も示す。さらに、トポロジ情報は、回線25毎の使用可能帯域の情報を含む。以下、図3に示すスイッチのトポロジを示すトポロジ情報が情報記憶部2に記憶されている場合を例にして説明する。図3に示す例において、線と線とが交わった部分がスイッチに該当する。また、スイッチとスイッチとを結ぶ各線が各回線25に該当する。また、図3に示す四角形は、第1種の通信において通信の端点となる端末を表している。図3に示す個々の端末30を区別する場合には、符号“#A”〜“#F”によって区別する。なお、図3に示す端末30以外にも端末が設けられていてよい。   The topology information indicates which switch 20 and which switch 20 are connected by the line 25, and also indicates information on terminals (terminals serving as communication end points) connected to the individual switches 20. Further, the topology information includes information on usable bandwidth for each line 25. Hereinafter, the case where the topology information indicating the topology of the switch shown in FIG. 3 is stored in the information storage unit 2 will be described as an example. In the example illustrated in FIG. 3, a portion where the lines intersect each other corresponds to the switch. Each line connecting the switches corresponds to each line 25. 3 represents a terminal that is an end point of communication in the first type of communication. When the individual terminals 30 shown in FIG. 3 are distinguished, they are distinguished by reference numerals “#A” to “#F”. Note that a terminal may be provided in addition to the terminal 30 shown in FIG.

使用帯域情報は、第1種の通信の端点の各組(換言すれば、第1種の通信で両端点となる端末の各組)と、その端点の各組に対して予め定められた使用帯域の情報とを含む。なお、本実施形態では、通信の種類は「第1種の通信」と「第2種の通信」の2種類に分類されている。この2種類の通信のうち、最も優先度が低い第2種の通信に関しては、端点の各組や、使用帯域の情報は定められていなくてよい。   Bandwidth information is used for each set of end points of the first type of communication (in other words, each set of terminals that are both end points in the first type of communication) and for each set of end points. Band information. In the present embodiment, the types of communication are classified into two types, “first type communication” and “second type communication”. Of the two types of communication, regarding the second type of communication with the lowest priority, each set of end points and information on the bandwidth used may not be defined.

本例では、使用帯域情報内で、端末#A,#Bの組、端末#C,#Dの組、および端末#E,#Fの組(図3参照)がそれぞれ定められているものとする。すなわち、端末#A,#B間の通信、端末#C,#D間の通信、および端末#E,#F間の通信は、それぞれ、第1種の通信であり、その他の通信は、第2種の通信である。また、端末#A,#Bの組、端末#C,#Dの組、および端末#E,#Fの組それぞれに対して、使用帯域の情報が定められている。すなわち、端末#A,#B間の通信によって生じる使用帯域の情報、端末#C,#D間の通信によって生じる使用帯域の情報、および、端末#E,#F間の通信によって生じる使用帯域の情報がそれぞれ、使用帯域情報内で定められている。使用帯域の情報は、予測値でよい。例えば、端末#A,#B間の通信によって生じる使用帯域の情報は、ネットワークの運用開始後に、端末#A,#B間の通信が開始されたことによって生じる使用帯域の予測値でよい。   In this example, a set of terminals #A and #B, a set of terminals #C and #D, and a set of terminals #E and #F (see FIG. 3) are respectively defined in the use band information. To do. That is, the communication between the terminals #A and #B, the communication between the terminals #C and #D, and the communication between the terminals #E and #F are each a first type communication, and the other communication is the first communication. There are two types of communication. In addition, information on the bandwidth to be used is defined for each of the terminals #A and #B, the terminals #C and #D, and the terminals #E and #F. That is, information on the used band generated by communication between the terminals #A and #B, information on the used band generated by communication between the terminals #C and #D, and the used band generated by communication between the terminals #E and #F. Each piece of information is defined in the bandwidth usage information. The used band information may be a predicted value. For example, the information on the used band generated by the communication between the terminals #A and #B may be a predicted value of the used band generated when the communication between the terminals #A and #B is started after the operation of the network is started.

管理者は、トポロジ情報と、使用帯域情報とを予め作成し、情報記憶部2に記憶させておけばよい。なお、トポロジ情報および使用帯域情報を情報記憶部2に予め記憶させる態様は、特に限定されない。   The administrator may create topology information and use band information in advance and store them in the information storage unit 2. The manner in which the topology information and the used bandwidth information are stored in advance in the information storage unit 2 is not particularly limited.

コスト設定部4は、トポロジ情報を参照し、回線25毎(スイッチ同士を結ぶ回線25毎)の使用可能帯域の情報に基づいて、回線25毎にコストを定める。回線25毎に使用可能帯域に基づいて定められるコストを第1のコストと記す。第1のコストは、第1種の通信の通信経路を定める際に用いられる。コスト設定部4は、回線25の使用可能帯域が広いほど、その回線25の第1のコストを小さい値に設定し、使用可能帯域が狭いほど、その回線25の第1のコストを大きい値に設定する。例えば、コスト設定部4は、回線25の使用可能帯域の逆数を計算し、逆数の値が小さいほど、その回線25の第1のコストを小さい値に設定し、逆数の値が大きいほど、その回線25の第1のコストを大きい値に設定してもよい。回線25とコストとの対応関係を示す情報をコストマップと記す。特に、回線25と第1のコストとの対応関係を示す情報を第1のコストマップと記す。コスト設定部4は、回線25に第1のコストを定めると、回線25と第1のコストとを対応付けた第1のコストマップを生成し、コストマップ記憶部3に記憶させる。   The cost setting unit 4 refers to the topology information and determines the cost for each line 25 based on the information on the usable bandwidth for each line 25 (for each line 25 connecting the switches). The cost determined based on the usable bandwidth for each line 25 is referred to as a first cost. The first cost is used when determining the communication path for the first type of communication. The cost setting unit 4 sets the first cost of the line 25 to a smaller value as the usable bandwidth of the line 25 is wider, and sets the first cost of the line 25 to a larger value as the usable bandwidth is narrower. Set. For example, the cost setting unit 4 calculates the reciprocal of the usable bandwidth of the line 25, sets the first cost of the line 25 to a smaller value as the reciprocal value is smaller, and increases the reciprocal value as the reciprocal value is larger. The first cost of the line 25 may be set to a large value. Information indicating the correspondence between the line 25 and the cost is referred to as a cost map. In particular, information indicating the correspondence between the line 25 and the first cost is referred to as a first cost map. When the cost setting unit 4 determines the first cost for the line 25, the cost setting unit 4 generates a first cost map in which the line 25 and the first cost are associated with each other and stores the first cost map in the cost map storage unit 3.

コストマップ記憶部3は、第1のコストマップおよび後述の第2のコストマップを記憶する記憶装置である。なお、情報記憶部2およびコストマップ記憶部3は、同一の記憶装置によって実現されていてもよく、あるいは、別々の記憶装置によって実現されていてもよい。   The cost map storage unit 3 is a storage device that stores a first cost map and a second cost map described later. The information storage unit 2 and the cost map storage unit 3 may be realized by the same storage device or may be realized by separate storage devices.

経路計算部5は、第1種の通信の端点の組毎に(換言すれば、第1種の通信で両端点となる端末の組毎に)、トポロジ情報と、第1のコストマップとを用いて、例えば、ダイクストラ法によって通信経路を計算する。具体的には、経路計算部5は、第1種の通信で両端点となる端末の組毎に、組をなす端末に接続されるスイッチ間の通信経路を計算する。   The path calculation unit 5 obtains the topology information and the first cost map for each set of end points of the first type of communication (in other words, for each set of terminals that are both end points of the first type of communication). For example, the communication path is calculated by the Dijkstra method. Specifically, the route calculation unit 5 calculates a communication route between switches connected to the terminals forming the set for each set of terminals that are both end points in the first type communication.

コスト設定部4は、第1種の通信に対応する通信経路(具体的には、第1種の通信の端点の組毎に計算された通信経路)上の各回線25に関して、使用可能帯域から、第1種の通信の端点の組に対して予め定められた使用帯域を減算することによって、その各回線25の残帯域を計算する。例えば、端末#A,#B間の通信経路上の回線25毎に、回線25の使用可能帯域から、端末#A,#B間の通信によって生じる使用帯域を減算することによって、その回線25毎の残帯域を計算する。コスト設定部4は、第1種の通信に対応する通信経路上にない回線25に関しては、使用可能帯域を残帯域として扱う。なお、各回線25の使用可能帯域の情報は、トポロジ情報に含まれている。また、第1種の通信の端点の組に対して予め定められた使用帯域の情報は、使用帯域情報に含まれている。そして、コスト設定部4は、各回線25の残帯域の情報に基づいて、回線25毎にコストを定める。この残帯域に基づいて定められるコストを第2のコストと記す。第2のコストは、第2種の通信の通信経路を定める際に用いられる。コスト設定部4は、回線25の残帯域が広いほど、その回線25の第2のコストを小さい値に設定し、残帯域が狭いほど、その回線25の第2のコストを大きい値に設定する。例えば、コスト設定部4は、回線25の残帯域の逆数を計算し、逆数の値が小さいほど、その回線25の第2のコストを小さい値に設定し、逆数の値が大きいほど、その回線25の第2のコストを大きい値に設定してもよい。回線25と第2のコストとの対応関係を示す情報を第2のコストマップと記す。コスト設定部4は、回線25毎に第2のコストを定めると、回線25と第2のコストとを対応付けた第2のコストマップを生成し、コストマップ記憶部3に記憶させる。   The cost setting unit 4 uses the available bandwidth for each line 25 on the communication path corresponding to the first type communication (specifically, the communication path calculated for each set of end points of the first type communication). Then, the remaining bandwidth of each line 25 is calculated by subtracting a predetermined bandwidth to be used for the end point set of the first type communication. For example, for each line 25 on the communication path between the terminals #A and #B, by subtracting the use band generated by the communication between the terminals #A and #B from the usable band of the line 25, for each line 25 Calculate the remaining bandwidth. The cost setting unit 4 treats the usable bandwidth as the remaining bandwidth for the line 25 that is not on the communication path corresponding to the first type of communication. Information on the usable bandwidth of each line 25 is included in the topology information. In addition, information on the use band that is predetermined for the set of endpoints of the first type of communication is included in the use band information. Then, the cost setting unit 4 determines the cost for each line 25 based on the information on the remaining bandwidth of each line 25. The cost determined based on this remaining bandwidth is referred to as a second cost. The second cost is used when determining the communication path for the second type of communication. The cost setting unit 4 sets the second cost of the line 25 to a smaller value as the remaining bandwidth of the line 25 is wider, and sets the second cost of the line 25 to a larger value as the remaining bandwidth is narrower. . For example, the cost setting unit 4 calculates the reciprocal of the remaining bandwidth of the line 25, sets the second cost of the line 25 to a smaller value as the reciprocal value is smaller, and increases the reciprocal value as the reciprocal value increases. The second cost of 25 may be set to a large value. Information indicating the correspondence between the line 25 and the second cost is referred to as a second cost map. When the cost setting unit 4 determines the second cost for each line 25, the cost setting unit 4 generates a second cost map in which the line 25 and the second cost are associated with each other and stores the second cost map in the cost map storage unit 3.

コスト設定部4および経路計算部5は、例えば、コスト設定プログラムに従って動作するコンピュータのCPUによって実現される。この場合、CPUは、例えば、コンピュータのプログラム記憶装置(図示略)等のプログラム記録媒体からコスト設定プログラムを読み込み、そのコスト設定プログラムに従って、コスト設定部4および経路計算部5として動作すればよい。また、コスト設定部4および経路計算部5が別々のハードウェアによって実現されていてもよい。これらの点は、後述の第2の実施形態でも同様である。   The cost setting unit 4 and the route calculation unit 5 are realized by a CPU of a computer that operates according to a cost setting program, for example. In this case, for example, the CPU may read a cost setting program from a program recording medium such as a computer program storage device (not shown) and operate as the cost setting unit 4 and the route calculation unit 5 in accordance with the cost setting program. In addition, the cost setting unit 4 and the route calculation unit 5 may be realized by separate hardware. These points are the same in the second embodiment described later.

次に、本発明の第1の実施形態の処理経過の例を示す。図4は、本発明の第1の実施形態の処理経過の例を示すフローチャートである。   Next, an example of processing progress of the first embodiment of the present invention will be shown. FIG. 4 is a flowchart showing an example of processing progress of the first embodiment of the present invention.

まず、コスト設定部4は、回線25毎に使用可能帯域に応じて第1のコストを定める。コスト設定部4は、回線25の使用可能帯域が広いほど、その回線25の第1のコストを小さい値に設定し、使用可能帯域が狭いほど、その回線25の第1のコストを大きい値に設定する。そして、コスト設定部4は、回線25と第1のコストとを対応付けた第1のコストマップを生成し、コストマップ記憶部3に記憶させる(ステップS1)。   First, the cost setting unit 4 determines a first cost for each line 25 according to the usable bandwidth. The cost setting unit 4 sets the first cost of the line 25 to a smaller value as the usable bandwidth of the line 25 is wider, and sets the first cost of the line 25 to a larger value as the usable bandwidth is narrower. Set. And the cost setting part 4 produces | generates the 1st cost map which matched the line | wire 25 and the 1st cost, and memorize | stores it in the cost map memory | storage part 3 (step S1).

ステップS1の後、経路計算部5は、第1種の通信で両端点となる端末の組毎に、組をなす端末に接続されるスイッチ間の通信経路を計算する(ステップS2)。経路計算部5は、トポロジ情報と、第1のコストマップとを用いて、例えば、ダイクストラ法によって通信経路を計算すればよい。   After step S1, the route calculation unit 5 calculates a communication route between switches connected to the terminals forming the set for each set of terminals that are both end points in the first type communication (step S2). The route calculation unit 5 may calculate the communication route by the Dijkstra method, for example, using the topology information and the first cost map.

図5は、ステップS2で計算された通信経路の例を示す模式図である。図5では、端末#Aに接続されるスイッチと端末#Bに接続されるスイッチとの間の通信経路を、太線で示している。また、その通信経路内に含まれる回線25の一つを符号“25a”で示している。   FIG. 5 is a schematic diagram illustrating an example of the communication path calculated in step S2. In FIG. 5, the communication path between the switch connected to the terminal #A and the switch connected to the terminal #B is indicated by a bold line. In addition, one of the lines 25 included in the communication path is indicated by a symbol “25a”.

同様に、図5では、端末#Cに接続されるスイッチと端末#Dに接続されるスイッチとの間の通信経路を、太線で示している。図5に示す例では、その通信経路に回線25は1つしか含まれておらず、その回線25を符号“25b”で示している。   Similarly, in FIG. 5, the communication path between the switch connected to the terminal #C and the switch connected to the terminal #D is indicated by a bold line. In the example shown in FIG. 5, only one line 25 is included in the communication path, and the line 25 is indicated by a symbol “25b”.

同様に、図5では、端末#Eに接続されるスイッチと端末#Fに接続されるスイッチとの間の通信経路を、太線で示している。また、その通信経路内に含まれる回線25の一つを符号“25c”で示している。   Similarly, in FIG. 5, the communication path between the switch connected to the terminal #E and the switch connected to the terminal #F is indicated by a bold line. In addition, one of the lines 25 included in the communication path is indicated by “25c”.

ステップS2の後、コスト設定部4は、各回線の残帯域を導出する(ステップS3)。   After step S2, the cost setting unit 4 derives the remaining bandwidth of each line (step S3).

ステップS3において、コスト設定部4は、第1種の通信の端点の組毎に計算された通信経路上の各回線25に関して、使用可能帯域から、第1種の通信の端点の組に対して予め定められた使用帯域を減算することによって、その各回線25の残帯域を計算する。   In step S <b> 3, the cost setting unit 4 performs, for each line 25 on the communication path calculated for each first type of communication end point set, from the usable bandwidth to the first type of communication end point set. By subtracting a predetermined use band, the remaining band of each line 25 is calculated.

例えば、コスト設定部4は、図5に示す回線25aの使用可能帯域から、端末#A,#B間の通信によって生じる使用帯域を減算することによって、回線25aの残帯域を計算する。コスト設定部4は、端末#Aに接続されるスイッチと端末#Bに接続されるスイッチとの間の通信経路上の他の回線25に関しても、同様に残帯域を計算する。   For example, the cost setting unit 4 calculates the remaining bandwidth of the line 25a by subtracting the used band generated by the communication between the terminals #A and #B from the usable band of the line 25a shown in FIG. The cost setting unit 4 similarly calculates the remaining bandwidth for the other line 25 on the communication path between the switch connected to the terminal #A and the switch connected to the terminal #B.

また、例えば、コスト設定部4は、図5に示す回線25bの使用可能帯域から、端末#C,#D間の通信によって生じる使用帯域を減算することによって、回線25bの残帯域を計算する。図5に示す例では、端末#Cに接続されるスイッチと端末#Dに接続されるスイッチとの間の通信経路は、1つの回線25bしか含んでいないが、他の回線25も含んでいる場合には、それらの回線25に関しても、同様に残帯域を計算する。   Further, for example, the cost setting unit 4 calculates the remaining bandwidth of the line 25b by subtracting the used bandwidth generated by the communication between the terminals #C and #D from the usable bandwidth of the line 25b shown in FIG. In the example shown in FIG. 5, the communication path between the switch connected to the terminal #C and the switch connected to the terminal #D includes only one line 25b, but also includes another line 25. In this case, the remaining bandwidth is similarly calculated for those lines 25.

また、例えば、コスト設定部4は、図5に示す回線25cの使用可能帯域から、端末#E,#F間の通信によって生じる使用帯域を減算することによって、回線25cの残帯域を計算する。コスト設定部4は、端末#Eに接続されるスイッチと端末#Fに接続されるスイッチとの間の通信経路上の他の回線25に関しても、同様に残帯域を計算する。   Further, for example, the cost setting unit 4 calculates the remaining bandwidth of the line 25c by subtracting the used bandwidth generated by the communication between the terminals #E and #F from the usable bandwidth of the line 25c shown in FIG. The cost setting unit 4 similarly calculates the remaining bandwidth for the other line 25 on the communication path between the switch connected to the terminal #E and the switch connected to the terminal #F.

なお、端末#A,#B間の通信によって生じる使用帯域等は、使用帯域情報として情報記憶部2に記憶されている。   In addition, the use band etc. which arise by communication between terminal #A and #B are memorize | stored in the information storage part 2 as use band information.

コスト設定部4は、第1種の通信の端点の組毎に計算された通信経路上にない各回線25に関しては、回線25の使用可稲生帯域を残帯域として扱えばよい。   The cost setting unit 4 may treat the usable available bandwidth of the line 25 as the remaining band for each line 25 that is not on the communication path calculated for each set of endpoints of the first type of communication.

ステップS3の後、コスト設定部4は、回線25毎に残帯域に応じて第2のコストを定める。コスト設定部4は、回線25の残帯域が広いほど、その回線25の第2のコストを小さい値に設定し、残帯域が狭いほど、その回線25の第2のコストを大きい値に設定する。そして、コスト設定部4は、回線25と第2のコストとを対応付けた第2のコストマップを生成し、コストマップ記憶部3に記憶させる(ステップS4)。   After step S3, the cost setting unit 4 determines the second cost for each line 25 according to the remaining bandwidth. The cost setting unit 4 sets the second cost of the line 25 to a smaller value as the remaining bandwidth of the line 25 is wider, and sets the second cost of the line 25 to a larger value as the remaining bandwidth is narrower. . And the cost setting part 4 produces | generates the 2nd cost map which matched the line | wire 25 and the 2nd cost, and memorize | stores it in the cost map memory | storage part 3 (step S4).

ステップS4までに得られた第1のコストマップおよび第2のコストマップは、例えば、SDNにおける制御装置(図示略)に記憶される。その制御装置は、ネットワークの運用開始後に、通信経路を計算する際、第1のコストマップおよび第2のコストマップを使用する。   The first cost map and the second cost map obtained up to step S4 are stored in a control device (not shown) in the SDN, for example. The control device uses the first cost map and the second cost map when calculating the communication path after starting the operation of the network.

SDNにおいて、制御装置は、通信経路上の各スイッチに、例えば、パケットのヘッダの内容に応じて、そのパケットをどのように処理するかを規定した情報(以下、動作設定情報と記す。)を設定する。制御装置は、この処理によって、通信経路上のスイッチに、その通信経路に沿ってパケットを転送させる。例えば、制御装置は、パケットのヘッダが、端末#Aを送信元として示し、端末#Bを宛先として示している場合、そのパケットを送信すべき次のスイッチを規定した動作設定情報を、通信経路上の各スイッチに設定する。この結果、端末#Aから端末#Bへの通信が実現される。   In the SDN, the control device provides information (hereinafter referred to as operation setting information) that defines how to process the packet to each switch on the communication path, for example, according to the content of the packet header. Set. By this processing, the control device causes the switch on the communication path to transfer the packet along the communication path. For example, when the header of the packet indicates the terminal #A as the transmission source and the terminal #B as the destination, the control device transmits the operation setting information that defines the next switch to which the packet is to be transmitted, to the communication path Set each switch above. As a result, communication from terminal #A to terminal #B is realized.

また、スイッチは、端末から受信したパケットのヘッダに対応する動作設定情報がそのスイッチに設定されていない場合、そのパケットを制御装置に送信することで、その端末を端点とする通信の通信経路の設定を制御装置に要求する。制御装置は、この要求に応じて、その通信の通信経路を計算し、計算した通信経路上のスイッチ毎に、動作設定情報を生成する。そして、制御装置は、その通信経路上のスイッチ毎に、スイッチに対応する動作設定情報を設定する。この結果、その各スイッチは、上記のパケットを宛先まで順次転送していく。   In addition, when the operation setting information corresponding to the header of the packet received from the terminal is not set in the switch, the switch transmits the packet to the control device, so that the communication path of the communication with the terminal as the end point is transmitted. Request settings from the controller. In response to this request, the control device calculates a communication path for the communication, and generates operation setting information for each switch on the calculated communication path. Then, the control device sets operation setting information corresponding to the switch for each switch on the communication path. As a result, each switch sequentially transfers the packets to the destination.

上記のように、制御装置がスイッチからの要求に応じて通信経路を計算する場合、制御装置は、パケットのヘッダに基づいて、そのパケットが、第1種の通信におけるパケットであるのか、第2種の通信におけるパケットであるのかを判定する。制御装置は、そのパケットが第1種の通信におけるパケットであると判定した場合、第1のコストマップを用いて通信経路を計算する。また、制御装置は、そのパケットが第2種の通信におけるパケットであると判定した場合、第2のコストマップを用いて経路を計算する。   As described above, when the control device calculates a communication path in response to a request from the switch, the control device determines whether the packet is a packet in the first type of communication based on the header of the packet. It is determined whether the packet is a kind of communication. When it is determined that the packet is a packet in the first type of communication, the control device calculates a communication path using the first cost map. In addition, when the control device determines that the packet is a packet in the second type of communication, the control device calculates a route using the second cost map.

また、制御装置には、予め、第1種の通信におけるVLAN(Virtual Local Area Network) ID、宛先IP(Internet Protocol )アドレス、宛先MAC(Media Access Control)アドレス等を記憶させておけばよい。制御装置は、パケットのヘッダとそれらの情報とを照合することによって、スイッチから送られたパケットが第1種の通信におけるパケットであるのか、第2種の通信におけるパケットであるのかを判定すればよい。   In addition, the control device may store a VLAN (Virtual Local Area Network) ID, a destination IP (Internet Protocol) address, a destination MAC (Media Access Control) address, and the like in the first type communication in advance. If the control device determines whether the packet sent from the switch is a packet in the first type of communication or a packet in the second type of communication by checking the header of the packet with the information thereof Good.

本発明の第1の実施形態によれば、コスト設定部4は、使用可能帯域に応じた第1のコストと、残帯域に応じた第2のコストとを、回線25毎に別々に定める。従って、ネットワークの運用開始後において、第1のコストを第1種の通信における経路計算に用い、第2のコストを第2種の通信における経路計算に用いるという、2種類のコストの使い分けが可能となる。   According to the first embodiment of the present invention, the cost setting unit 4 separately determines the first cost according to the usable bandwidth and the second cost according to the remaining bandwidth for each line 25. Therefore, after the operation of the network is started, it is possible to use two types of costs separately, using the first cost for route calculation in the first type of communication and using the second cost for route calculation in the second type of communication. It becomes.

この結果、ネットワークの運用開始後において、第1種の通信(優先度の高い通信)では、第1のコストに基づいて、使用可能帯域が広い回線を含む通信経路を確保することができる。また、第2種の通信(優先度の低い通信)では、第2のコストに基づいて通信経路を計算できるので、優先度が低い通信では、残帯域が広い回線を含む通信経路を計算できる。従って、使用可能帯域が広くても残帯域が狭くなっている回線は、優先度の低い通信で用いられず、使用可能帯域が広い回線が集中的に用いられることを防止でき、また、ネットワーク内の回線の残帯域を平滑化することができる。   As a result, after starting the operation of the network, in the first type of communication (communication with high priority), a communication path including a line with a wide usable bandwidth can be secured based on the first cost. In the second type of communication (communication with low priority), the communication path can be calculated based on the second cost. Therefore, in communication with low priority, a communication path including a line with a wide remaining bandwidth can be calculated. Therefore, a line whose remaining bandwidth is narrow even though the usable bandwidth is wide is not used for low-priority communication, and it is possible to prevent a line with a wide usable bandwidth from being intensively used. The remaining bandwidth of the line can be smoothed.

従って、ネットワーク内の回線25の残帯域を平滑化するとともに、第1種の通信に対して優先的に通信経路を確保することができるように、各回線25のコストを定めることができる。   Therefore, the cost of each line 25 can be determined so that the remaining bandwidth of the line 25 in the network can be smoothed and a communication path can be secured preferentially for the first type of communication.

実施形態2.
本発明の第2の実施形態のコスト設定装置は、第1の実施形態のコスト設定装置と同様に、図2に示すブロック図で表すことができるので、図2を用いて第2の実施形態を説明する。
Embodiment 2. FIG.
The cost setting device according to the second embodiment of the present invention can be represented by the block diagram shown in FIG. 2 similarly to the cost setting device according to the first embodiment. Therefore, the second embodiment will be described with reference to FIG. Will be explained.

第1の実施形態では、コスト設定部4が第1のコストと、第2のコストとを定める場合を示した。本発明によるコスト設定装置1が回線毎に定めるコストは2種類に限定されない。コスト設定装置1は、経路計算部5による経路計算と、コスト設定部4による各回線25の残帯域の導出およびコストの設定とを繰り返すことによって、3種類以上のコスト(換言すれば、3種類以上のコストマップ)を定めてもよい。   In 1st Embodiment, the case where the cost setting part 4 determined 1st cost and 2nd cost was shown. The cost set for each line by the cost setting device 1 according to the present invention is not limited to two types. The cost setting device 1 repeats the route calculation by the route calculation unit 5 and the derivation of the remaining bandwidth of each line 25 and the cost setting by the cost setting unit 4, so that three or more types of costs (in other words, three types) The above cost map may be determined.

第2の実施形態では、通信の種類が優先度により「第1種の通信(優先度の高い通信)」と、「第2種の通信(優先度が中程度である通信)」と、「第3種の通信(優先度の低い通信)」の3種類に分類される場合を例にして説明する。また、コスト設定装置1が、第1種の通信の通信経路計算に用いられる第1のコスト、第2種の通信の通信経路計算に用いられる第2のコスト、および第3種の通信の通信経路計算に用いられる第3のコストを定める場合を例にして説明する。すなわち、本実施形態では、コスト設定装置1が、3種類の通信に対応する3種類のコストマップを生成する場合を例にして説明する。   In the second embodiment, the type of communication is “first type of communication (communication with high priority)”, “second type of communication (communication with medium priority)”, “ A case where the data is classified into three types of “third type of communication (low priority communication)” will be described as an example. In addition, the cost setting device 1 uses the first cost used for the communication path calculation of the first type communication, the second cost used for the communication path calculation of the second type communication, and the communication of the third type communication. A case where the third cost used for route calculation is determined will be described as an example. That is, in this embodiment, the case where the cost setting apparatus 1 generates three types of cost maps corresponding to three types of communication will be described as an example.

情報記憶部2が記憶するトポロジ情報は、第1の実施形態におけるトポロジ情報と同様であり、説明を省略する。   The topology information stored in the information storage unit 2 is the same as the topology information in the first embodiment, and a description thereof will be omitted.

情報記憶部2が記憶する使用帯域情報は、第1の実施形態における使用帯域情報と同様に、第1種の通信の端点の各組(換言すれば、第1種の通信で両端点となる端末の各組)と、その端点の各組に対して予め定められた使用帯域の情報とを含む。第2の実施形態における使用帯域情報は、さらに、第2種の通信の端点の各組(換言すれば、第2種の通信で両端点となる端末の各組)と、その端点の各組に対して予め定められた使用帯域の情報とを含む。本発明では、最も優先度が低い通信に関しては、端点の各組や、使用帯域の情報は定められていなくてよい。従って、第2の実施形態では、第3種の通信に関しては、端点の各組や、使用帯域の情報は定められていなくてよい。   The use band information stored in the information storage unit 2 is a pair of end points of the first type of communication (in other words, both end points in the first type of communication), similarly to the use band information in the first embodiment. Each pair of terminals) and information on the bandwidth used in advance for each pair of end points. The use band information in the second embodiment further includes each set of end points of the second type of communication (in other words, each set of terminals that are end points in the second type of communication) and each set of end points thereof. Information on the bandwidth used in advance. In the present invention, for the communication with the lowest priority, each set of end points and information on the used band may not be defined. Therefore, in the second embodiment, for the third type of communication, each set of end points and information on the use band need not be defined.

既に説明したように、使用帯域情報に含まれる使用帯域の情報は、予測値でよい。   As already described, the used band information included in the used band information may be a predicted value.

例えば、管理者が、トポロジ情報と、使用帯域情報とを予め作成し、情報記憶部2に記憶させておけばよい。なお、トポロジ情報および使用帯域情報を情報記憶部2に予め記憶させる態様は、特に限定されない。   For example, the administrator may create topology information and use band information in advance and store them in the information storage unit 2. The manner in which the topology information and the used bandwidth information are stored in advance in the information storage unit 2 is not particularly limited.

経路計算部5は、第1の実施形態における経路計算部5と同様の動作を行うとともに、さらに、後述のフローチャートで説明する動作を行う。   The route calculation unit 5 performs the same operation as the route calculation unit 5 in the first embodiment, and further performs the operation described in the flowchart described later.

コスト設定部4は、第1の実施形態におけるコスト設定部4と同様の動作を行うとともに、さらに、後述のフローチャートで説明する動作を行う。   The cost setting unit 4 performs the same operation as the cost setting unit 4 in the first embodiment, and further performs the operation described in the flowchart described later.

図6は、本発明の第2の実施形態の処理経過の例を示すフローチャートである。ステップS1〜S4は、第1の実施形態におけるステップS1〜S4と同様であり、説明を省略する。   FIG. 6 is a flowchart showing an example of processing progress of the second embodiment of the present invention. Steps S1 to S4 are the same as steps S1 to S4 in the first embodiment, and a description thereof will be omitted.

ステップS4の後、経路計算部5は、第2種の通信の端点の組毎に(換言すれば、第2種の通信で両端点となる端末の組毎に)、トポロジ情報と、第2のコストマップとを用いて、例えば、ダイクストラ法によって通信経路を計算する。具体的には、経路計算部5は、第2種の通信で両端点となる端末の組毎に、組をなす端末に接続されるスイッチ間の通信経路を計算する(ステップS5)。   After step S4, the path calculation unit 5 performs the topology information and the second information for each set of end points of the second type of communication (in other words, for each set of terminals that are both end points of the second type of communication). For example, the communication path is calculated by the Dijkstra method. Specifically, the route calculation unit 5 calculates the communication route between the switches connected to the terminals forming the set for each set of terminals that are both end points in the second type of communication (step S5).

ステップS5の次に、コスト設定部4は、各回線の残帯域を導出する(ステップS6)。ステップS6において、コスト設定部4は、第2種の通信に対応する通信経路(具体的には、第2種の通信の端点の組毎にステップS5で計算された通信経路)上の各回線25に関して、既にステップS3で導出している残帯域から、第2種の通信の端点の組に対して予め定められた使用帯域を減算することによって、その各回線25の残帯域を更新する。コスト設定部4は、第2種の通信に対応する通信経路上にない回線25に関しては、既にステップS3で得られている残帯域を、そのまま、その回線25の残帯域とする。   Following step S5, the cost setting unit 4 derives the remaining bandwidth of each line (step S6). In step S6, the cost setting unit 4 sets each line on the communication path corresponding to the second type communication (specifically, the communication path calculated in step S5 for each set of end points of the second type communication). 25, the remaining bandwidth of each line 25 is updated by subtracting a predetermined bandwidth from the set of endpoints of the second type of communication from the remaining bandwidth already derived in step S3. For the line 25 that is not on the communication path corresponding to the second type of communication, the cost setting unit 4 uses the remaining bandwidth already obtained in step S3 as the remaining bandwidth of the line 25 as it is.

次に、コスト設定部4は、ステップS7を実行する。ステップS7において、コスト設定部4は、回線25毎に残帯域に応じてコストを定める。この残帯域に基づいて定められるコストを第3のコストと記す。第3のコストは、第3種の通信の通信経路を定める際に用いられる。コスト設定部4が第3のコストを定める動作は、第2のコストを定める動作と同様である。すなわち、コスト設定部4は、回線25の残帯域が広いほど、その回線25の第3のコストを小さい値に設定し、残帯域が狭いほど、その回線25の第3のコストを大きい値に設定する。回線25と第3のコストとの対応関係を示す情報を第3のコストマップと記す。ステップS7において、コスト設定部4は、回線25毎に第3のコストを定めると、回線25と第3のコストとを対応付けた第3のコストマップを生成し、コストマップ記憶部3に記憶させる。   Next, the cost setting part 4 performs step S7. In step S <b> 7, the cost setting unit 4 determines the cost for each line 25 according to the remaining bandwidth. The cost determined based on this remaining bandwidth is referred to as a third cost. The third cost is used when determining the communication path for the third type of communication. The operation for determining the third cost by the cost setting unit 4 is the same as the operation for determining the second cost. That is, the cost setting unit 4 sets the third cost of the line 25 to a smaller value as the remaining bandwidth of the line 25 is wider, and increases the third cost of the line 25 as the remaining bandwidth is narrower. Set. Information indicating the correspondence between the line 25 and the third cost is referred to as a third cost map. In step S <b> 7, when the cost setting unit 4 determines the third cost for each line 25, the cost setting unit 4 generates a third cost map in which the line 25 is associated with the third cost, and stores the third cost map in the cost map storage unit 3. Let

第2の実施形態においても、第1の実施形態と同様の効果が得られる。   Also in the second embodiment, the same effect as in the first embodiment can be obtained.

なお、コスト設定装置は、ステップS5〜S7に相当する動作を繰り返し、さらに多くのコストマップを生成してもよい。   Note that the cost setting device may repeat operations corresponding to steps S5 to S7 to generate more cost maps.

本発明の実施形態で述べた第1種の通信は、第1優先度の通信と称してもよい。同様に、第2種の通信は第2優先度の通信と称してもよく、第3種の通信は第3優先度の通信と称してもよい。   The first type of communication described in the embodiment of the present invention may be referred to as first priority communication. Similarly, the second type of communication may be referred to as second priority communication, and the third type of communication may be referred to as third priority communication.

また、上記の各実施形態では、経路計算部5がダイクストラ法により通信経路を計算する場合を示した。経路計算部5がダイクストラ法以外の方法によって、通信経路を計算してもよい。   Further, in each of the above embodiments, the case where the route calculation unit 5 calculates a communication route by the Dijkstra method has been shown. The route calculation unit 5 may calculate the communication route by a method other than the Dijkstra method.

また、例えば、管理者は、特定の組の端点間の通信を、所定の種類の通信(例えば、第1種の通信や第2種の通信等)として定めてもよい。既に説明したように、通信の種類を分類する基準は、特に限定されない。例えば、管理者は、衛星通信、無線通信、有線通信等の態様の違いにより、通信を分類し、通信の種類に優先順位を定めてもよい。   Further, for example, the administrator may define the communication between the specific set of end points as a predetermined type of communication (for example, the first type communication or the second type communication). As already described, the criteria for classifying the type of communication are not particularly limited. For example, the administrator may classify communications according to differences in aspects such as satellite communications, wireless communications, wired communications, etc., and set priorities for the types of communications.

次に、本発明の概要について説明する。図7は、本発明の概要を示すブロック図である。本発明のコスト設定装置は、コスト設定手段71と、経路計算手段72とを備える。   Next, the outline of the present invention will be described. FIG. 7 is a block diagram showing an outline of the present invention. The cost setting device of the present invention includes cost setting means 71 and route calculation means 72.

コスト設定手段71(例えば、コスト設定部4)は、スイッチ同士を結ぶ各回線(例えば、回線25)に対して予め定められた使用可能帯域に応じて、各回線の第1のコストを定める。   The cost setting means 71 (for example, the cost setting unit 4) determines the first cost of each line according to the available bandwidth determined in advance for each line (for example, the line 25) connecting the switches.

経路計算手段72(例えば、経路計算部5)は、第1のコストに基づいて、所定の第1種の通信(例えば、第1種の通信)の端点となる装置に接続されるスイッチ間の通信経路を計算する。   The route calculation means 72 (for example, the route calculation unit 5) is based on the first cost, between the switches connected to the device that is the end point of the predetermined first type of communication (for example, the first type of communication). Calculate the communication path.

コスト設定手段71は、所定の第1種の通信に対応する通信経路上の各回線に関して、使用可能帯域から、所定の第1種の通信の端点の組に対して予め定められた使用帯域を減算することによって残帯域を計算し、所定の第1種の通信に対応する通信経路上にない回線に関しては使用可能帯域を残帯域とし、スイッチ同士を結ぶ各回線の残帯域に応じて、各回線の第2のコストを定める。   The cost setting means 71 uses a predetermined bandwidth for a set of endpoints of the predetermined first type communication from the usable bandwidth for each line on the communication path corresponding to the predetermined first type communication. The remaining bandwidth is calculated by subtracting, and the usable bandwidth is set as the remaining bandwidth for a line that is not on the communication path corresponding to the predetermined first type communication, and according to the remaining bandwidth of each line connecting the switches, Determine the second cost of the line.

そのような構成により、ネットワーク内の回線の残帯域を平滑化するとともに、所定の種類の通信に対して優先的に通信経路を確保することができるように、各回線のコストを定めることができる。   With such a configuration, the cost of each line can be determined so that the remaining bandwidth of the line in the network can be smoothed and a communication path can be secured preferentially for a predetermined type of communication. .

また、経路計算手段72が、第2のコストに基づいて、所定の第2種の通信(例えば、第2種の通信)の端点となる装置に接続されるスイッチ間の通信経路を計算し、コスト設定手段71が、所定の第2種の通信に対応する通信経路上の各回線に関して、残帯域から、所定の第2種の通信の端点の組に対して予め定められた使用帯域を減算することによって残帯域を更新し、所定の第2種の通信に対応する通信経路上にない回線に関しては、既に得られている残帯域を回線の残帯域とし、スイッチ同士を結ぶ各回線の残帯域に応じて、各回線の第3のコストを定める構成であってもよい。   Further, the path calculation means 72 calculates a communication path between switches connected to a device serving as an end point of predetermined second type communication (for example, second type communication) based on the second cost, The cost setting means 71 subtracts a predetermined use band for a set of end points of the predetermined second type communication from the remaining band for each line on the communication path corresponding to the predetermined second type communication. As a result, the remaining bandwidth is updated, and for lines that are not on the communication path corresponding to the second type of communication, the remaining bandwidth that has already been obtained is the remaining bandwidth of the line, and the remaining bandwidth of each line that connects the switches The configuration may be such that the third cost of each line is determined according to the bandwidth.

本発明は、ネットワーク内の通信経路を計算する際に用いられる回線毎のコストを設定するコスト設定装置に好適に適用される。   The present invention is suitably applied to a cost setting device that sets a cost for each line used when calculating a communication path in a network.

1 コスト設定装置
2 情報記憶部
3 コストマップ記憶部
4 コスト設定部
5 経路計算部
25 回線
DESCRIPTION OF SYMBOLS 1 Cost setting apparatus 2 Information storage part 3 Cost map storage part 4 Cost setting part 5 Path | route calculation part 25 Line

Claims (6)

スイッチ同士を結ぶ各回線に対して予め定められた使用可能帯域に応じて、前記各回線の第1のコストを定めるコスト設定手段と、
前記第1のコストに基づいて、所定の第1種の通信の端点となる装置に接続されるスイッチ間の通信経路を計算する経路計算手段とを備え、
前記コスト設定手段は、
前記所定の第1種の通信に対応する通信経路上の各回線に関して、使用可能帯域から、前記所定の第1種の通信の端点の組に対して予め定められた使用帯域を減算することによって残帯域を計算し、前記所定の第1種の通信に対応する通信経路上にない回線に関しては使用可能帯域を残帯域とし、スイッチ同士を結ぶ各回線の残帯域に応じて、前記各回線の第2のコストを定める
ことを特徴とするコスト設定装置。
A cost setting means for determining a first cost of each line according to a predetermined usable bandwidth for each line connecting the switches;
Path calculation means for calculating a communication path between switches connected to a device serving as an end point of predetermined first type communication based on the first cost;
The cost setting means includes
For each line on the communication path corresponding to the predetermined first type communication, by subtracting a predetermined use band for the set of end points of the predetermined first type communication from the usable band The remaining bandwidth is calculated, and for the line not on the communication path corresponding to the predetermined first type communication, the usable bandwidth is set as the remaining bandwidth, and according to the remaining bandwidth of each line connecting the switches, A cost setting device characterized by determining a second cost.
経路計算手段は、第2のコストに基づいて、所定の第2種の通信の端点となる装置に接続されるスイッチ間の通信経路を計算し、
コスト設定手段は、
前記所定の第2種の通信に対応する通信経路上の各回線に関して、残帯域から、前記所定の第2種の通信の端点の組に対して予め定められた使用帯域を減算することによって残帯域を更新し、前記所定の第2種の通信に対応する通信経路上にない回線に関しては、既に得られている残帯域を前記回線の残帯域とし、スイッチ同士を結ぶ各回線の残帯域に応じて、前記各回線の第3のコストを定める
請求項1に記載のコスト設定装置。
The route calculation means calculates a communication route between switches connected to a device that is an end point of predetermined second type communication based on the second cost,
Cost setting means
For each line on the communication path corresponding to the predetermined second type communication, the remaining band is subtracted from the remaining band by subtracting a predetermined band to be used for the set of end points of the predetermined second type communication. For a line that is not on the communication path corresponding to the predetermined type 2 communication, the remaining band that has already been obtained is set as the remaining band of the line, and the remaining band of each line that connects the switches. The cost setting device according to claim 1, wherein a third cost of each line is determined accordingly.
スイッチ同士を結ぶ各回線に対して予め定められた使用可能帯域に応じて、前記各回線の第1のコストを定め、
前記第1のコストに基づいて、所定の第1種の通信の端点となる装置に接続されるスイッチ間の通信経路を計算し、
前記所定の第1種の通信に対応する通信経路上の各回線に関して、使用可能帯域から、前記所定の第1種の通信の端点の組に対して予め定められた使用帯域を減算することによって残帯域を計算し、前記所定の第1種の通信に対応する通信経路上にない回線に関しては使用可能帯域を残帯域とし、スイッチ同士を結ぶ各回線の残帯域に応じて、前記各回線の第2のコストを定める
ことを特徴とするコスト設定方法。
In accordance with a predetermined usable bandwidth for each line connecting the switches, a first cost of each line is determined,
Based on the first cost, calculate a communication path between switches connected to a device serving as an end point of a predetermined first type communication,
For each line on the communication path corresponding to the predetermined first type communication, by subtracting a predetermined use band for the set of end points of the predetermined first type communication from the usable band The remaining bandwidth is calculated, and for the line not on the communication path corresponding to the predetermined first type communication, the usable bandwidth is set as the remaining bandwidth, and according to the remaining bandwidth of each line connecting the switches, A cost setting method characterized by determining a second cost.
第2のコストに基づいて、所定の第2種の通信の端点となる装置に接続されるスイッチ間の通信経路を計算し、
前記所定の第2種の通信に対応する通信経路上の各回線に関して、残帯域から、前記所定の第2種の通信の端点の組に対して予め定められた使用帯域を減算することによって残帯域を更新し、前記所定の第2種の通信に対応する通信経路上にない回線に関しては、既に得られている残帯域を前記回線の残帯域とし、スイッチ同士を結ぶ各回線の残帯域に応じて、前記各回線の第3のコストを定める
請求項3に記載のコスト設定方法。
Based on the second cost, the communication path between the switches connected to the device that is the end point of the predetermined second type communication is calculated,
For each line on the communication path corresponding to the predetermined second type communication, the remaining band is subtracted from the remaining band by subtracting a predetermined band to be used for the set of end points of the predetermined second type communication. For a line that is not on the communication path corresponding to the predetermined type 2 communication, the remaining band that has already been obtained is set as the remaining band of the line, and the remaining band of each line that connects the switches. The cost setting method according to claim 3, wherein a third cost of each line is determined in response.
コンピュータに、
スイッチ同士を結ぶ各回線に対して予め定められた使用可能帯域に応じて、前記各回線の第1のコストを定めるコスト設定処理、
前記第1のコストに基づいて、所定の第1種の通信の端点となる装置に接続されるスイッチ間の通信経路を計算する経路計算処理、および、
前記所定の第1種の通信に対応する通信経路上の各回線に関して、使用可能帯域から、前記所定の第1種の通信の端点の組に対して予め定められた使用帯域を減算することによって残帯域を計算し、前記所定の第1種の通信に対応する通信経路上にない回線に関しては使用可能帯域を残帯域とし、スイッチ同士を結ぶ各回線の残帯域に応じて、前記各回線の第2のコストを定める第2のコスト設定処理
を実行させるためのコスト設定プログラム。
On the computer,
A cost setting process for determining a first cost of each line according to a predetermined usable bandwidth for each line connecting the switches;
A route calculation process for calculating a communication route between switches connected to a device serving as an end point of predetermined first type communication based on the first cost; and
For each line on the communication path corresponding to the predetermined first type communication, by subtracting a predetermined use band for the set of end points of the predetermined first type communication from the usable band The remaining bandwidth is calculated, and for the line not on the communication path corresponding to the predetermined first type communication, the usable bandwidth is set as the remaining bandwidth, and according to the remaining bandwidth of each line connecting the switches, A cost setting program for executing a second cost setting process for determining a second cost.
コンピュータに、
第2のコストに基づいて、所定の第2種の通信の端点となる装置に接続されるスイッチ間の通信経路を計算する第2の経路計算処理、および、
前記所定の第2種の通信に対応する通信経路上の各回線に関して、残帯域から、前記所定の第2種の通信の端点の組に対して予め定められた使用帯域を減算することによって残帯域を更新し、前記所定の第2種の通信に対応する通信経路上にない回線に関しては、既に得られている残帯域を前記回線の残帯域とし、スイッチ同士を結ぶ各回線の残帯域に応じて、前記各回線の第3のコストを定める第3のコスト設定処理
を実行させる請求項5に記載のコスト設定プログラム。
On the computer,
A second path calculation process for calculating a communication path between switches connected to a device serving as an end point of a predetermined second type of communication based on the second cost; and
For each line on the communication path corresponding to the predetermined second type communication, the remaining band is subtracted from the remaining band by subtracting a predetermined band to be used for the set of end points of the predetermined second type communication. For a line that is not on the communication path corresponding to the predetermined type 2 communication, the remaining band that has already been obtained is set as the remaining band of the line, and the remaining band of each line that connects the switches. The cost setting program according to claim 5, wherein a third cost setting process for determining a third cost of each line is executed in response.
JP2016049144A 2016-03-14 2016-03-14 Cost setting device, method and program Active JP6658134B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016049144A JP6658134B2 (en) 2016-03-14 2016-03-14 Cost setting device, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016049144A JP6658134B2 (en) 2016-03-14 2016-03-14 Cost setting device, method and program

Publications (2)

Publication Number Publication Date
JP2017168880A true JP2017168880A (en) 2017-09-21
JP6658134B2 JP6658134B2 (en) 2020-03-04

Family

ID=59914013

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016049144A Active JP6658134B2 (en) 2016-03-14 2016-03-14 Cost setting device, method and program

Country Status (1)

Country Link
JP (1) JP6658134B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017168881A (en) * 2016-03-14 2017-09-21 日本電気株式会社 Communication path control device, method and program
WO2022050137A1 (en) * 2020-09-04 2022-03-10 古河電気工業株式会社 Communication device, network system, and communication method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002141949A (en) * 2000-10-30 2002-05-17 Nec Corp Method to generate optimum path and network
JP2006074600A (en) * 2004-09-03 2006-03-16 Fujitsu Ltd Delay assurance path setting system
WO2014064869A1 (en) * 2012-10-23 2014-05-01 日本電気株式会社 Route control method, wireless communication system, route control device, and non-transient computer-readable medium
WO2015106794A1 (en) * 2014-01-14 2015-07-23 Huawei Technologies Co., Ltd. Methods and systems for data routing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002141949A (en) * 2000-10-30 2002-05-17 Nec Corp Method to generate optimum path and network
JP2006074600A (en) * 2004-09-03 2006-03-16 Fujitsu Ltd Delay assurance path setting system
WO2014064869A1 (en) * 2012-10-23 2014-05-01 日本電気株式会社 Route control method, wireless communication system, route control device, and non-transient computer-readable medium
WO2015106794A1 (en) * 2014-01-14 2015-07-23 Huawei Technologies Co., Ltd. Methods and systems for data routing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017168881A (en) * 2016-03-14 2017-09-21 日本電気株式会社 Communication path control device, method and program
WO2022050137A1 (en) * 2020-09-04 2022-03-10 古河電気工業株式会社 Communication device, network system, and communication method

Also Published As

Publication number Publication date
JP6658134B2 (en) 2020-03-04

Similar Documents

Publication Publication Date Title
JP6447839B2 (en) Method, apparatus and system for implementing delay measurement
CN106716963B (en) Method and apparatus for media sessions between network endpoints
US10021023B2 (en) Packet forwarding method, controller, forwarding device, and network system
US9628371B2 (en) Controlling routing during scheduled node downtime
JP2008131240A (en) Network system, and device and method thereof
US9654389B2 (en) Order-sensitive communications in packet reordering networks
US10200204B2 (en) Link state information advertisement method and device
EP2974456A1 (en) Providing a backup network topology without serviece disruption
WO2017113238A1 (en) Method for establishing routing table, electronic device and network
JP2008113186A (en) QoS ROUTING METHOD AND DEVICE
US11477100B2 (en) Residence time measurement for traffic engineered network
JP2018535616A (en) Software-defined network entry generation and packet forwarding
US20170195203A1 (en) Method, apparatus, and system for implementing packet loss detection
TWI543567B (en) Device for multipath routing of packets in computer networking and method thereof
CN107566298B (en) Method and equipment for generating table entry
JP6658134B2 (en) Cost setting device, method and program
CN107409132B (en) Method and network node for dynamically configuring flow segmentation by software defined network control signaling
CN107231318B (en) Method, equipment and device for dynamic switching control based on real-time network performance
JP4175352B2 (en) Communication device
JP2009212848A (en) Communication path selection device, communication path selection method, and computer program
JP4418409B2 (en) PREMIUM PACKET IDENTIFICATION DEVICE, TERMINAL DEVICE, PREMIER PACKET IDENTIFICATION SYSTEM, AND PREMIER PACKET IDENTIFICATION METHOD
US20140269737A1 (en) System, method and apparatus for lsp setup using inter-domain abr indication
CN115499357A (en) Path scheduling method, device and system
JP6344005B2 (en) Control device, communication system, communication method, and program
JP2009231892A (en) Relay device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191011

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191126

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200107

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200120

R150 Certificate of patent or registration of utility model

Ref document number: 6658134

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150