JP6164223B2 - Communication system, control device, communication device, billing server, communication method, and program - Google Patents

Communication system, control device, communication device, billing server, communication method, and program Download PDF

Info

Publication number
JP6164223B2
JP6164223B2 JP2014547199A JP2014547199A JP6164223B2 JP 6164223 B2 JP6164223 B2 JP 6164223B2 JP 2014547199 A JP2014547199 A JP 2014547199A JP 2014547199 A JP2014547199 A JP 2014547199A JP 6164223 B2 JP6164223 B2 JP 6164223B2
Authority
JP
Japan
Prior art keywords
processing rule
processing
packet
communication
statistical value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014547199A
Other languages
Japanese (ja)
Other versions
JP2015515153A (en
Inventor
一平 秋好
一平 秋好
康博 水越
康博 水越
暢彦 伊藤
暢彦 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2014547199A priority Critical patent/JP6164223B2/en
Publication of JP2015515153A publication Critical patent/JP2015515153A/en
Application granted granted Critical
Publication of JP6164223B2 publication Critical patent/JP6164223B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/026Capturing of monitoring data using flow identification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based

Landscapes

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

Description

(関連出願についての記載)
本発明は、日本国特許出願:特願2012−074917号(2012年3月28日出願)の優先権主張に基づくものであり、同出願の全記載内容は引用をもって本書に組み込み記載されているものとする。
本発明は、通信システム、制御装置、通信装置、通信方法およびプログラムに関し、特に、制御装置によって集中制御されるネットワークにおける通信システム、制御装置、通信装置、通信方法およびプログラムに関する。
(Description of related applications)
The present invention is based on the priority claim of Japanese patent application: Japanese Patent Application No. 2012-074917 (filed on March 28, 2012), and the entire description of the application is incorporated herein by reference. Shall.
The present invention relates to a communication system, a control device, a communication device, a communication method, and a program, and more particularly, to a communication system, a control device, a communication device, a communication method, and a program in a network that is centrally controlled by the control device.

近年、オープンフロー(OpenFlow)という技術が提案されている(特許文献1、非特許文献1、2参照)。オープンフローは、通信をエンドツーエンドのフローとして捉え、フロー単位で経路制御、障害回復、負荷分散、最適化を行うものである。非特許文献2に仕様化されているオープンフロースイッチは、オープンフローコントローラとの通信用のセキュアチャネルを備え、オープンフローコントローラから適宜追加または書き換え指示されるフローテーブルに従って動作する。フローテーブルには、フロー毎に、パケットヘッダと照合する条件が定められたマッチフィールド(Match Fields)と、統計情報(Counters)と、処理内容を定義したインストラクション(Instructions)と、の組が定義される(図16参照)。   In recent years, a technique called OpenFlow has been proposed (see Patent Document 1, Non-Patent Documents 1 and 2). OpenFlow captures communication as an end-to-end flow and performs path control, failure recovery, load balancing, and optimization on a per-flow basis. The OpenFlow switch specified in Non-Patent Document 2 includes a secure channel for communication with the OpenFlow controller, and operates according to a flow table that is appropriately added or rewritten from the OpenFlow controller. In the flow table, for each flow, a set of a match field (Match Fields) in which conditions for matching with the packet header are determined, statistical information (Counters), and an instruction (Instructions) that defines the processing content is defined. (See FIG. 16).

例えば、オープンフロースイッチは、パケットを受信すると(図17の「データパケット」)、フローテーブルから、受信パケットのヘッダ情報に適合するマッチフィールドを持つエントリを検索する。検索の結果、受信パケットに適合するエントリが見つかった場合、オープンフロースイッチは、統計情報(カウンタ)を更新するとともに、受信パケットに対して、当該エントリのインストラクションフィールドに記述された処理内容(指定ポートからのパケット送信、フラッディング、廃棄等)を実施する。一方、検索の結果、受信パケットに適合するエントリが見つからなかった場合、オープンフロースイッチは、セキュアチャネルを介して、オープンフローコントローラに対してエントリ設定の要求、即ち、受信パケットの処理内容の決定の要求を送信する(図17の「Packet−In」)。オープンフロースイッチは、要求に対応するフローエントリを受け取ってフローテーブルを更新する(図17の「FlowMod」)。このように、オープンフロースイッチは、フローテーブルに格納されたエントリを処理規則として用いてパケット転送を行う。   For example, when the OpenFlow switch receives a packet (“data packet” in FIG. 17), the OpenFlow switch searches the flow table for an entry having a match field that matches the header information of the received packet. As a result of the search, when an entry that matches the received packet is found, the OpenFlow switch updates the statistical information (counter) and processes the process (designated port) described in the instruction field of the entry for the received packet. Packet transmission, flooding, discarding, etc.). On the other hand, if no entry that matches the received packet is found as a result of the search, the OpenFlow switch requests the OpenFlow controller to set an entry, that is, determines the processing content of the received packet, via the secure channel. The request is transmitted (“Packet-In” in FIG. 17). The OpenFlow switch receives the flow entry corresponding to the request and updates the flow table (“FlowMod” in FIG. 17). In this way, the OpenFlow switch performs packet transfer using the entry stored in the flow table as a processing rule.

国際公開第2008/095010号International Publication No. 2008/095010

Nick McKeownほか7名、“OpenFlow: Enabling Innovation in Campus Networks,”[online]、[平成23年10月31日検索]、インターネット〈URL:http://www.openflowswitch.org//documents/openflow−wp−latest.pdf〉Nick McKeown and 7 others, “OpenFlow: Enabling Innovation in Campus Networks,” [online], [October 31, 2011 search], Internet <URL: http: // www. openflowswitch. org // documents / openflow-wp-latest. pdf> “OpenFlow Switch Specification” Version 1.1.0 Implemented(Wire Protocol 0x02) [平成23年10月31日検索]、インターネット〈URL:http://www.openflowswitch.org/documents/openflow−spec−v1.1.0.pdf〉“OpenFlow Switch Specification” Version 1.1.0 Implemented (Wire Protocol 0x02) [searched October 31, 2011], Internet <URL: http: // www. openflowswitch. org / documents / openflow-spec-v1.1.0. pdf>

上記の特許文献および非特許文献の全開示内容は、本書に引用をもって繰り込み記載されているものとする。以下の分析は、本発明によって与えられたものである。非特許文献1、2のオープンフロースイッチは、フロー毎に設定されたハードタイムアウト値と、アイドルタイムアウト値とに基づいて、フローエントリの設定後の一定期間の経過、または一定期間の該当パケットの不受信が成立した場合、当該フローエントリを削除する機能を備えている(図17の「タイムアウト」、非特許文献2の5.7 FLOW Removal参照)。   The entire disclosure of the above patent documents and non-patent documents is incorporated herein by reference. The following analysis is given by the present invention. The OpenFlow switches of Non-Patent Documents 1 and 2 are based on the hard timeout value and idle timeout value set for each flow. When reception is established, the flow entry is deleted (see “Timeout” in FIG. 17, 5.7 FLOW Removal in Non-Patent Document 2).

非特許文献1、2は、タイマに基づくフローエントリの削除を開示しているが、タイマ
による削除だけでは、フロー制御を柔軟に行うことができない。
Non-Patent Documents 1 and 2 disclose deletion of a flow entry based on a timer, but flow control cannot be flexibly performed only by deletion using a timer.

本発明の第1の視点によれば、制御装置から設定された処理規則に基づいて、前記処理規則に対応するパケットを処理するパケット処理部と、前記処理規則による処理量から求められる統計値を計測する転送処理部と、前記統計値と判定条件とに基づいて、前記処理規則が有効か否かを決定する処理規則管理部と、を備え、前記処理規則管理部は、前記判定条件の更新に応じて、更新された前記判定条件により前記処理規則が有効か否かを決定する、通信装置が提供される。   According to the first aspect of the present invention, based on a processing rule set by a control device, a packet processing unit that processes a packet corresponding to the processing rule, and a statistical value obtained from a processing amount by the processing rule A transfer processing unit for measuring, and a processing rule management unit for determining whether or not the processing rule is valid based on the statistical value and the determination condition, wherein the processing rule management unit updates the determination condition Accordingly, a communication device is provided that determines whether the processing rule is valid according to the updated determination condition.

本発明の第2の視点によれば、制御装置から設定された処理規則に基づいて、前記処理規則に対応するパケットを処理し、前記処理規則による処理量から求められる統計値を計測し、前記統計値と判定条件とに基づいて、前記処理規則が有効か否かを決定し、前記判定条件の更新に応じて、更新された前記判定条件により前記処理規則が有効か否かを決定する、通信制御方法が提供される。   According to a second aspect of the present invention, a packet corresponding to the processing rule is processed based on a processing rule set by a control device, a statistical value obtained from a processing amount according to the processing rule is measured, Determining whether or not the processing rule is valid based on a statistical value and a determination condition; and determining whether or not the processing rule is valid based on the updated determination condition according to an update of the determination condition; A communication control method is provided.

本発明の第3の視点によれば、パケットの処理規則を生成する制御装置と、通信装置とを備えた通信システムであって、前記通信装置は、前記制御装置から設定された処理規則に基づいて、前記処理規則に対応するパケットを処理するパケット処理部と、前記処理規則による処理量から求められる統計値を計測する転送処理部と、前記統計値と判定条件とに基づいて、前記処理規則が有効か否かを決定する処理規則管理部と、を備え、前記処理規則管理部は、前記判定条件の更新に応じて、更新された前記判定条件により前記処理規則が有効か否かを決定する、通信システムが提供される。   According to a third aspect of the present invention, there is provided a communication system including a control device that generates a packet processing rule and a communication device, wherein the communication device is based on a processing rule set by the control device. A packet processing unit that processes a packet corresponding to the processing rule, a transfer processing unit that measures a statistical value obtained from a processing amount according to the processing rule, and the processing rule based on the statistical value and the determination condition. A processing rule management unit that determines whether or not the processing rule is valid, and the processing rule management unit determines whether or not the processing rule is valid based on the updated determination condition in response to the update of the determination condition A communication system is provided.

本発明の第4の視点によれば、制御装置から設定された処理規則に基づいて、前記処理規則に対応するパケットを処理する通信装置に、前記処理規則による処理量から求められる統計値を計測する処理と、前記統計値と判定条件とに基づいて、前記処理規則が有効か否かを決定する処理と、前記判定条件の更新に応じて、更新された前記判定条件により前記処理規則が有効か否かを決定する処理とを実行させる、プログラムが提供される。   According to the fourth aspect of the present invention, based on a processing rule set by a control device, a communication device that processes a packet corresponding to the processing rule measures a statistical value obtained from a processing amount according to the processing rule. Based on the statistical value and the determination condition, a process for determining whether or not the processing rule is valid, and the processing rule is effective according to the updated determination condition according to the update of the determination condition. And a program for executing a process for determining whether or not.

本発明の第5の視点によれば、パケットの処理規則を生成し、通信装置に送信する第一の手段と、前記処理規則による処理量から求められる統計値と比較して前記処理規則が有効か否かを決定するための判定条件を、前記通信装置に送信する第二の手段と、前記通信装置が送信した所定の情報に基づいて、前記判定条件を更新し、前記通信装置に送信する第三の手段とを備える、制御装置が提供される。
本発明の第6の視点によれば、
制御装置が、パケットの処理規則を生成し、
前記処理規則を通信装置に送信し、
前記処理規則による処理量から求められる統計値と比較して前記処理規則が有効か否かを決定するための所定の判定条件を、前記通信装置に送信し、
前記通信装置が送信した所定の情報に基づいて、前記判定条件を更新し
更新された判定条件を、前記通信装置に送信する、通信制御方法が提供される。
本発明の第7の視点によれば、
パケットを処理する通信装置を制御する制御装置に、
パケットの処理規則を生成し、通信装置に送信する処理と、
前記処理規則による処理量から求められる統計値と比較して前記処理規則が有効か否かを決定するための所定の判定条件を、前記通信装置に送信する処理と、
前記通信装置が送信した所定の情報に基づいて、前記判定条件を更新し、前記通信装置に送信する処理と、
を実行させる、プログラムが提供される。
本発明の第8の視点によれば、
通信装置の契約情報を管理する課金サーバであって、
パケットの処理規則を前記通信装置に送信し、前記処理規則による処理量から求められる統計値と比較して前記処理規則が有効か否かを決定するための所定の判定条件を、前記通信装置に送信する制御装置と通信する第一の手段と、
前記通信装置から前記契約情報を更新するための情報を受信する第二の手段と、
前記制御装置に前記判定条件を更新させるため、更新された前記契約情報を前記制御装置に送信して、する前記制御装置に前記判定条件を更新させる、第三の手段と
を備える、課金サーバが提供される。
According to a fifth aspect of the present invention, the processing rule is effective in comparison with a first means for generating a packet processing rule and transmitting it to a communication device, and a statistical value obtained from a processing amount according to the processing rule. Based on the second means for transmitting the determination condition for determining whether or not to the communication device and the predetermined information transmitted by the communication device, the determination condition is updated and transmitted to the communication device. And a control device comprising a third means.
According to a sixth aspect of the present invention,
The control unit generates packet processing rules,
Sending the processing rules to a communication device;
A predetermined determination condition for determining whether or not the processing rule is valid in comparison with a statistical value obtained from a processing amount according to the processing rule, is transmitted to the communication device;
A communication control method is provided in which the determination condition is updated based on predetermined information transmitted by the communication device, and the updated determination condition is transmitted to the communication device.
According to the seventh aspect of the present invention,
To the control device that controls the communication device that processes the packet,
Processing to generate a packet processing rule and send it to the communication device;
Processing for transmitting a predetermined determination condition for determining whether or not the processing rule is valid in comparison with a statistical value obtained from a processing amount according to the processing rule to the communication device;
A process of updating the determination condition based on predetermined information transmitted by the communication device and transmitting it to the communication device;
A program is provided to execute
According to the eighth aspect of the present invention,
A billing server for managing communication device contract information,
A packet processing rule is transmitted to the communication device, and a predetermined determination condition for determining whether the processing rule is valid or not is compared with a statistical value obtained from a processing amount according to the processing rule. A first means for communicating with the transmitting control device;
Second means for receiving information for updating the contract information from the communication device;
A charging server comprising: a third means for transmitting the updated contract information to the control device and causing the control device to update the determination condition in order to cause the control device to update the determination condition; Provided.

本発明によれば、パケットの処理量と所定の判定条件とに基づいて処理規則が有効か否かを決定し、判定条件を更新可能にすることで、パケットの処理量に基づくフロー制御を柔軟に実行できる。   According to the present invention, it is possible to flexibly control flow based on a packet processing amount by determining whether or not a processing rule is valid based on a packet processing amount and a predetermined determination condition and making the determination condition updatable. Can be executed.

一実施形態に係る通信システムの構成例を表した図である。It is a figure showing the example of a structure of the communication system which concerns on one Embodiment. 一実施形態のパケット転送ノードが保持する処理規則の構成例を示す図である。It is a figure which shows the structural example of the process rule which the packet forwarding node of one Embodiment hold | maintains. 一実施形態に係るパケット転送ノードの構成例を表したブロック図である。It is a block diagram showing the example of a structure of the packet forwarding node which concerns on one Embodiment. 一実施形態に係る通信装置の構成例を表したブロック図である。It is a block diagram showing the example of a structure of the communication apparatus which concerns on one Embodiment. 第1の実施形態に係る通信システムの構成例を表した図である。It is a figure showing the example of a structure of the communication system which concerns on 1st Embodiment. 第1の実施形態の制御装置の構成例を表したブロック図である。It is a block diagram showing the example of composition of the control device of a 1st embodiment. 第1の実施形態のパケット転送ノードの構成例を表したブロック図である。It is a block diagram showing the example of a structure of the packet forwarding node of 1st Embodiment. 第1の実施形態のパケット転送ノードが保持するテーブルの構成例を示す図である。It is a figure which shows the structural example of the table which the packet forwarding node of 1st Embodiment hold | maintains. 第1の実施形態に係る通信システムの動作例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the operation example of the communication system which concerns on 1st Embodiment. 第2の実施形態に係る通信システムの構成例を表した図である。It is a figure showing the example of a structure of the communication system which concerns on 2nd Embodiment. 第2の実施形態の通信装置の構成例を表したブロック図である。It is a block diagram showing the example of a structure of the communication apparatus of 2nd Embodiment. 第2の実施形態の通信装置が保持するテーブルの構成例である。It is a structural example of the table which the communication apparatus of 2nd Embodiment hold | maintains. 第2の実施形態に係る通信システムの動作例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the operation example of the communication system which concerns on 2nd Embodiment. 第3の実施形態の制御装置の構成例を表したブロック図である。It is a block diagram showing the example of a structure of the control apparatus of 3rd Embodiment. 第4の実施形態のパケット転送ノードが保持するテーブルの構成例である。It is a structural example of the table which the packet forwarding node of 4th Embodiment hold | maintains. 非特許文献2のオープンフロースイッチが保持するフローエントリの構成例を示す図である。It is a figure which shows the structural example of the flow entry which the open flow switch of a nonpatent literature 2 hold | maintains. 非特許文献2のフローエントリの設定からタイムアウトによる削除までの動作例を説明するためのシーケンス図である。FIG. 11 is a sequence diagram for explaining an operation example from setting of a flow entry to deletion by timeout in Non-Patent Document 2.

はじめに一実施形態の概要について図面を参照して説明する。図1は、一実施形態に係るシステムの構成例を示す図である。システムは、図1に示すように、通信端末30と、通信端末30の通信を実現するパケット転送ノード20−1〜20−3と、パケット転送ノード20を制御する制御装置10とを含む。なお、この概要に付記した図面参照符号は、理解を助けるための一例として各要素に便宜上付記したものであり、本発明を図示の態様に限定することを意図するものではない。   First, an outline of an embodiment will be described with reference to the drawings. FIG. 1 is a diagram illustrating a configuration example of a system according to an embodiment. As shown in FIG. 1, the system includes a communication terminal 30, packet transfer nodes 20-1 to 20-3 that realize communication of the communication terminal 30, and a control device 10 that controls the packet transfer node 20. Note that the reference numerals of the drawings attached to this summary are attached to the respective elements for convenience as an example for facilitating understanding, and are not intended to limit the present invention to the illustrated embodiment.

図2は、図1のパケット転送ノード20が保持する処理規則100の構成例を示す図である。図2は例示であり、処理規則100の構成は、図2の構成例に限定されない。図2に示すように、処理規則100は、マッチングフィールド(Match Field)を有する。パケット転送ノード20は、パケットを受信するとマッチングフィールドを参照して、受信パケットに適合する処理規則100を検索する。パケット転送ノード20は、受信パケットに適合する処理規則100が見つかった場合には、その処理規則100のインストラクション(Instruction)に従ってパケットを処理する。また、パケット転送ノード20は、受信パケットの処理に応じて、処理規則100の統計情報(Counter)を更新する。   FIG. 2 is a diagram showing a configuration example of the processing rule 100 held by the packet forwarding node 20 of FIG. FIG. 2 is an example, and the configuration of the processing rule 100 is not limited to the configuration example of FIG. As shown in FIG. 2, the processing rule 100 has a matching field (Match Field). When receiving the packet, the packet forwarding node 20 refers to the matching field and searches for a processing rule 100 that matches the received packet. When the processing rule 100 that matches the received packet is found, the packet forwarding node 20 processes the packet according to the instruction (Instruction) of the processing rule 100. Further, the packet forwarding node 20 updates the statistical information (Counter) of the processing rule 100 according to the processing of the received packet.

一方、パケット転送ノード20は、受信パケットに適合する処理規則100が見つからなかった場合には、制御装置10に対して処理規則の設定を依頼する。なお、パケット転送ノード20は、制御装置10に対して処理規則を要求する処理内容を規定した処理規則に基づいて、制御装置10に対して処理規則の設定を要求してもよい。   On the other hand, when the processing rule 100 matching the received packet is not found, the packet forwarding node 20 requests the control device 10 to set the processing rule. Note that the packet forwarding node 20 may request the control device 10 to set a processing rule based on the processing rule that defines the processing content for requesting the processing rule from the control device 10.

一実施形態において、処理規則100は、失効条件(Expire Rule)を有する。失効条件は、例えば、その処理規則により処理可能な統計値を示すしきい値が設定される。失効条件は、例えば、その処理規則により処理可能なパケットの数やバイト数である。もちろん、失効条件は、非特許文献2のように、その処理規則の設定後の一定期間の経過、一定期間の該当パケットの不受信を判定するためのタイムアウト値を設定してもよい。   In one embodiment, processing rule 100 has an expiration rule. As the revocation condition, for example, a threshold value indicating a statistical value that can be processed according to the processing rule is set. The revocation condition is, for example, the number of packets or the number of bytes that can be processed according to the processing rule. Of course, as in the case of Non-Patent Document 2, the revocation condition may set a time-out value for determining whether a certain period of time has elapsed after the setting of the processing rule, or that a corresponding packet has not been received for a certain period.

図3は、一実施形態のパケット転送ノード20の構成例を示す図である。パケット転送ノード20は、受信パケットに適合する処理規則を用いてパケットを処理する転送処理部21を備える。転送処理部21は、パケットの受信に応じて、受信パケットに適合する処理規則100をテーブルデータベース(テーブルDB)22から検索し、受信パケットに適合する処理規則100が見つかった場合、その処理規則100のインストラクションにしたがって、受信パケットを処理する。一方、転送処理部21は、受信パケットに適合する処理規則が見つからなかった場合、制御装置10に受信パケットを処理する処理規則を要求する。なお、転送処理部21は、受信パケットに適合する処理規則100に、制御装置10に問い合わせを行う処理内容が規定されていた場合、該処理規則に従って制御装置10に問い合わせを行ってもよい。   FIG. 3 is a diagram illustrating a configuration example of the packet forwarding node 20 according to the embodiment. The packet forwarding node 20 includes a forwarding processing unit 21 that processes a packet using a processing rule that matches the received packet. In response to the reception of the packet, the transfer processing unit 21 searches the table database (table DB) 22 for a processing rule 100 that matches the received packet, and when the processing rule 100 that matches the received packet is found, the processing rule 100 The received packet is processed according to the instructions. On the other hand, when a processing rule that matches the received packet is not found, the transfer processing unit 21 requests the processing rule for processing the received packet from the control device 10. In addition, when the processing content for making an inquiry to the control device 10 is defined in the processing rule 100 that matches the received packet, the transfer processing unit 21 may make an inquiry to the control device 10 according to the processing rule.

転送処理部21は、例えば、非特許文献1、2のオープンフロースイッチと同様の仕組みを用いて実現してもよい。   The transfer processing unit 21 may be realized, for example, using a mechanism similar to the open flow switch of Non-Patent Documents 1 and 2.

通信部25は、パケット転送ノード20に処理規則を設定する制御装置10との通信を実現する手段である。   The communication unit 25 is means for realizing communication with the control device 10 that sets a processing rule in the packet forwarding node 20.

転送処理部21は、パケットの処理に応じて更新される処理規則の統計情報(Counters)に基づいて統計値を計測する。転送処理部21は、所定の処理規則によるパケット処理に対応する統計値を計測する。一実施形態において、統計値は、所定の処理規則により処理されたパケットに対応する通信量である。統計値は、例えば、その処理規則により処理可能なパケットの数又はバイト数である。   The transfer processing unit 21 measures a statistical value based on statistical information (Counters) of processing rules updated according to packet processing. The transfer processing unit 21 measures a statistical value corresponding to packet processing according to a predetermined processing rule. In one embodiment, the statistical value is a traffic corresponding to a packet processed according to a predetermined processing rule. The statistical value is, for example, the number of packets or the number of bytes that can be processed according to the processing rule.

転送処理部21は、複数の処理規則の各々によるパケットの処理量から求められる統計値を計測してもよい。転送処理部21は、パケット転送ノード20が保持している複数の処理規則のうち、所定の条件に合致する処理規則によるパケットの処理量から求められる統計値を計測してもよい。また、転送処理部21は、複数の処理規則の各々によるパケットの処理量から求められる統計値を計測することにより、パケット転送ノード20の通信量を計測することができる。   The transfer processing unit 21 may measure a statistical value obtained from the amount of packets processed by each of a plurality of processing rules. The transfer processing unit 21 may measure a statistical value obtained from a packet processing amount according to a processing rule that matches a predetermined condition among a plurality of processing rules held by the packet transfer node 20. Further, the transfer processing unit 21 can measure the communication amount of the packet forwarding node 20 by measuring a statistical value obtained from the packet processing amount by each of a plurality of processing rules.

パケット転送ノード20は、処理規則を格納するテーブルDB22を備える。テーブルDB22は、例えば、転送処理部21が受信パケットの処理を行う際に参照するテーブルを一つ以上格納可能なデータベースによって構成される。   The packet forwarding node 20 includes a table DB 22 that stores processing rules. The table DB 22 is constituted by, for example, a database that can store one or more tables referred to when the transfer processing unit 21 processes received packets.

パケット転送ノード20は、処理規則を管理する処理規則管理部23を備える。   The packet forwarding node 20 includes a processing rule management unit 23 that manages processing rules.

処理規則管理部23は、失効条件に基づいて処理規則を削除又は失効する。例えば、統計情報(Counters)に示される統計値が前記処理規則の失効条件に設定されたしきい値を超える場合に、当該処理規則を無効にする(例えば、処理規則を削除又は失効させる)。なお、処理規則管理部23は、複数の処理規則の各々によるパケットの処理量から求められた統計値と、各処理規則に対応するそれぞれの失効条件とを比較し、ある失効条件に統計値が合致した場合、その失効条件に対応する処理規則を無効にする(例えば、処理規則を削除又は失効させる)。また、処理規則管理部23は、統計値が失効条件に合致した場合、その失効条件に対応する処理規則が規定するパケット処理を、パケットを廃棄する処理に書き換えてもよい。つまり、処理規則管理部23は、統計値に基づいて、各処理規則が有効か否かを決定する。   The processing rule management unit 23 deletes or expires the processing rule based on the revocation condition. For example, when a statistical value indicated in statistical information (Counters) exceeds a threshold value set in the invalidation condition of the processing rule, the processing rule is invalidated (for example, the processing rule is deleted or invalidated). The processing rule management unit 23 compares the statistical value obtained from the processing amount of the packet by each of the plurality of processing rules with each revocation condition corresponding to each processing rule, and the statistical value is found in a certain revocation condition. If they match, the processing rule corresponding to the revocation condition is invalidated (for example, the processing rule is deleted or expired). Further, when the statistical value matches the revocation condition, the processing rule management unit 23 may rewrite the packet processing defined by the processing rule corresponding to the revocation condition to a process of discarding the packet. That is, the processing rule management unit 23 determines whether each processing rule is valid based on the statistical value.

失効条件管理部24は、例えば、失効条件の更新の指示に基づいて、処理規則の失効条件を更新する。失効条件管理部24は、例えば、その処理規則により処理可能な統計値を示すしきい値を更新する。失効条件管理部24は、例えば、その処理規則により処理可能なパケットの数又はバイト数を更新する。失効条件管理部24は、失効条件が更新された処理規則を制御装置10から受信し、更新された失効条件を含む処理規則をテーブルDB22に設定してもよい。   For example, the revocation condition management unit 24 updates the revocation condition of the processing rule based on an instruction to update the revocation condition. For example, the revocation condition management unit 24 updates a threshold value indicating a statistical value that can be processed according to the processing rule. For example, the revocation condition management unit 24 updates the number of packets or the number of bytes that can be processed according to the processing rule. The revocation condition management unit 24 may receive a processing rule in which the revocation condition is updated from the control device 10 and set the processing rule including the updated revocation condition in the table DB 22.

失効条件管理部24は、処理規則の失効条件が設定されていない場合に、新規に失効条件を設定してもよい。また、失効条件管理部24は、すでに失効した処理規則の失効条件を更新し、その処理規則を有効にして、その処理規則による受信パケットの処理を再開させてもよい。   The revocation condition management unit 24 may newly set a revocation condition when the revocation condition of the processing rule is not set. Further, the revocation condition management unit 24 may update the revocation condition of the processing rule that has already expired, validate the processing rule, and resume processing of the received packet based on the processing rule.

失効条件管理部24は、処理規則の失効条件を更新し、その処理規則の統計情報(Counter)は維持する。つまり、失効条件管理部24は、失効条件が更新されても、失効条件が更新されるまでに計測された統計情報を、更新せずに維持する。よって、転送処理部21は、失効条件が更新されても、統計情報を継続して計測できる。   The revocation condition management unit 24 updates the revocation condition of the processing rule, and maintains statistical information (Counter) of the processing rule. That is, even if the revocation condition is updated, the revocation condition management unit 24 maintains the statistical information measured until the revocation condition is updated without being updated. Therefore, the transfer processing unit 21 can continuously measure statistical information even when the revocation condition is updated.

失効条件管理部24は、例えば、制御装置10から、失効条件の更新の指示を受ける。もちろん、失効条件管理部24に失効条件の更新を指示するのは、制御装置10に限られず、例えば、外部のサーバ(図1に図示しない)であってもよい。失効条件管理部24は、例えば、失効条件が更新された処理規則を制御装置10から受信することで、新たな失効条件をテーブルDB22に設定してもよい。   For example, the revocation condition management unit 24 receives a revocation condition update instruction from the control device 10. Of course, it is not limited to the control device 10 that instructs the revocation condition management unit 24 to update the revocation condition, and may be, for example, an external server (not shown in FIG. 1). The revocation condition management unit 24 may set a new revocation condition in the table DB 22 by receiving, for example, a processing rule with an updated revocation condition from the control device 10.

処理規則管理部23は、更新された失効条件と統計情報とに基づいて、処理規則が有効か否かを決定する。処理規則管理部23は、例えば、失効条件により処理規則が有効ではないと決定した場合、処理規則を削除又は失効する。   The processing rule management unit 23 determines whether or not the processing rule is valid based on the updated revocation condition and statistical information. For example, when the processing rule management unit 23 determines that the processing rule is not valid due to the revocation condition, the processing rule management unit 23 deletes or invalidates the processing rule.

以上のような構成によれば、パケット転送ノード20は、処理規則が有効か否かを決定する失効条件を更新することができる。この結果、パケット転送ノード20は、処理規則の削除又は失効を柔軟に行うことができ、通信量に基づく柔軟なフロー制御を行うことが可能となる。   According to the above configuration, the packet forwarding node 20 can update the revocation condition that determines whether or not the processing rule is valid. As a result, the packet forwarding node 20 can flexibly delete or invalidate the processing rule, and can perform flexible flow control based on the traffic.

パケット転送ノード20が通信量に基づいて処理規則を削除又は失効させる例を示したが、通信端末30が通信量に基づいて処理規則を削除又は失効させてもよい。これは、以下で説明する実施形態でも同様である。なお、通信端末30は、例えば、携帯電話、パーソナルコンピュータ、モバイルルータ等である。本発明は、パケット転送ノード20や通信端末30等の通信装置に適用できる。   Although the example in which the packet forwarding node 20 deletes or invalidates the processing rule based on the traffic volume has been shown, the communication terminal 30 may delete or invalidate the processing rule based on the traffic volume. The same applies to the embodiments described below. Note that the communication terminal 30 is, for example, a mobile phone, a personal computer, a mobile router, or the like. The present invention can be applied to communication devices such as the packet forwarding node 20 and the communication terminal 30.

通信端末30は、例えば、図4の構成例のように、パケット転送ノード20と同様の構成を備える。   The communication terminal 30 has a configuration similar to that of the packet forwarding node 20, for example, as in the configuration example of FIG.

通信端末30は、制御装置10から設定される処理規則100を保持し、当該処理規則100に基づいてパケットを処理する。通信端末30は、失効条件を含む処理規則100を保持し、該失効条件に基づいて処理規則100を削除又は失効させる。   The communication terminal 30 holds the processing rule 100 set from the control device 10 and processes the packet based on the processing rule 100. The communication terminal 30 holds the processing rule 100 including the revocation condition, and deletes or revokes the processing rule 100 based on the revocation condition.

なお、失効条件が処理規則100に含まれている構成例を示したが、失効条件が、処理規則100とは別に、パケット転送ノード20に設定されていてもよい。パケット転送ノード20は、例えば、フローテーブル22とは別に、失効条件を設定するテーブル(図3に図示しない)を備えていてもよい。   Although the configuration example in which the revocation condition is included in the processing rule 100 is shown, the revocation condition may be set in the packet forwarding node 20 separately from the processing rule 100. The packet forwarding node 20 may include, for example, a table (not shown in FIG. 3) for setting a revocation condition separately from the flow table 22.

[第1の実施形態]
第1の実施形態を、図面を参照して説明する。図5は、第1の実施形態におけるシステム構成例を示す図である。第1の実施形態におけるシステムは、図5に示すように、通信端末30と、通信端末30の通信を実現するパケット転送ノード20−1〜20−3と、パケット転送ノード20−1〜20−3の各々を制御する制御装置10とを含む。また、第1の実施形態の通信システムは、サーバ(Server)40と、課金サーバ50とを含む。
[First Embodiment]
A first embodiment will be described with reference to the drawings. FIG. 5 is a diagram illustrating a system configuration example according to the first embodiment. As shown in FIG. 5, the system according to the first embodiment includes a communication terminal 30, packet forwarding nodes 20-1 to 20-3 that realize communication of the communication terminal 30, and packet forwarding nodes 20-1 to 20-. And a control device 10 for controlling each of the three. The communication system according to the first embodiment includes a server 40 and a charging server 50.

課金サーバ50は、第1の実施形態において、通信端末30の通信に関する契約を管理する装置である。課金サーバ50は、例えば、通信端末30の通信量に応じた契約情報を管理する。例えば、通信端末30は、所定の通信量に対応する通信料金を支払って、課金サーバ50と契約しており、所定の通信量を超過して通信する場合は追加の通信料金の支払いが必要であるとする。   The accounting server 50 is a device that manages a contract related to communication of the communication terminal 30 in the first embodiment. For example, the billing server 50 manages contract information according to the communication volume of the communication terminal 30. For example, the communication terminal 30 pays a communication fee corresponding to a predetermined communication amount and contracts with the billing server 50. If communication exceeds the predetermined communication amount, an additional communication fee needs to be paid. Suppose there is.

例えば、通信端末30のユーザは、契約で規定さえた所定の通信量を超えて通信する場合、課金サーバ50に、追加通信量に対応する追加料金を支払う(支払い方法は、プリペイド方式、クレジットカード等、オンライン/オフライン等、いかなる方法でよい。)。課金サーバ50は、追加料金の支払いにより、通信端末30の契約情報を更新し、通信端末30の通信許容量を増やす。   For example, when the user of the communication terminal 30 communicates exceeding a predetermined communication amount specified in the contract, the user pays an additional fee corresponding to the additional communication amount to the charging server 50 (payment method is a prepaid method, a credit card) Any method such as online / offline etc.). The billing server 50 updates the contract information of the communication terminal 30 by paying the additional fee, and increases the communication allowable amount of the communication terminal 30.

課金サーバ50は、通信端末30の通信許容量を減らしてもよい。例えば、課金サーバ50は、通信端末30の通信量の単位時間当たりの増加率が所定のしきい値を上回る場合、通信端末30の通信許容量を減らしてもよい。通信許容量を減らすことにより、課金サーバ50は、通信システムの通信帯域を過剰に占有するユーザ(即ち、ヘビーユーザ)の通信を抑止し、通信システムを安定させることができる。   The accounting server 50 may reduce the communication allowable amount of the communication terminal 30. For example, the billing server 50 may reduce the communication allowable amount of the communication terminal 30 when the rate of increase in the communication amount of the communication terminal 30 per unit time exceeds a predetermined threshold value. By reducing the allowable communication amount, the billing server 50 can suppress communication of a user (that is, a heavy user) who occupies an excessive communication band of the communication system, and can stabilize the communication system.

課金サーバ50は、契約情報が設定又は更新されたことに応じて、その契約情報を制御装置10に通知する。なお、課金サーバ50は、契約情報から新たな失効条件を設定し、設定した失効条件をパケット転送ノード20に直接送信してもよい。   The accounting server 50 notifies the control apparatus 10 of the contract information in response to the contract information being set or updated. The billing server 50 may set a new revocation condition from the contract information and directly transmit the set revocation condition to the packet forwarding node 20.

図6は、図5における制御装置10の構成例を示す図である。制御装置10は、失効条件管理部11と、通信端末位置管理部12と、トポロジ管理部13と、制御メッセージ処理部14と、経路・アクション計算部15と、パケット転送ノード管理部16と、処理規則管理部17と、処理規則データベース18と、ノード通信部19とを含む。   FIG. 6 is a diagram illustrating a configuration example of the control device 10 in FIG. The control device 10 includes an invalidation condition management unit 11, a communication terminal location management unit 12, a topology management unit 13, a control message processing unit 14, a route / action calculation unit 15, a packet forwarding node management unit 16, and a processing A rule management unit 17, a processing rule database 18, and a node communication unit 19 are included.

失効条件管理部11は、例えば、処理規則毎、あるいは通信の送信元と宛先(それぞれMAC(Media Access Control)アドレスやIP(Internet Protocol)アドレス等により管理)との組み合わせ毎に、統計値の上限値(しきい値)を含む失効条件を管理する。なお、送信元と宛先の組み合わせで管理する場合、送信元と宛先のいずれか一方をワイルドカード、すなわち任意のものとしてよい。失効条件としては、上述した統計値のほか、各種タイムアウト値などを設定できるようにしてもよい。例えば、統計値とは別に、タイムアウト値(ハードタイムアウト値、アイドルタイムアウト値)を設定しておけば、統計値が所定のしきい値を超えなくとも、一定時間経過した処理規則を削除させることができる。   For example, the revocation condition management unit 11 sets the upper limit of the statistical value for each processing rule or for each combination of a communication source and destination (each managed by a MAC (Media Access Control) address, IP (Internet Protocol) address, etc.)). Manage revocation conditions including values (thresholds). Note that when managing by a combination of a transmission source and a destination, either the transmission source or the destination may be a wild card, that is, an arbitrary one. As the revocation condition, in addition to the above-described statistical values, various timeout values may be set. For example, if a timeout value (hard timeout value, idle timeout value) is set separately from the statistical value, even if the statistical value does not exceed a predetermined threshold value, a processing rule after a certain period of time can be deleted. it can.

失効条件管理部11は、例えば、課金サーバ50から契約情報が通知されたことに応じて、処理規則データベース18に格納されている処理規則の失効条件を設定又は更新する。   For example, the revocation condition management unit 11 sets or updates the revocation condition of the processing rule stored in the processing rule database 18 in response to the notification of the contract information from the charging server 50.

失効条件管理部11は、例えば、課金サーバ50から通知される契約情報に基づいて、通信端末30が通信可能なデータ量を決定する。失効条件管理部11は、例えば、そのデータ量を100Mbyteと決定する。失効条件管理部11は、決定したデータ量を、処理規則の失効条件に設定する。   For example, the revocation condition management unit 11 determines the amount of data that can be communicated by the communication terminal 30 based on the contract information notified from the charging server 50. For example, the revocation condition management unit 11 determines the data amount as 100 Mbytes. The revocation condition management unit 11 sets the determined data amount as the revocation condition of the processing rule.

失効条件管理部11は、例えば、その処理規則により処理可能な統計値を示すしきい値を更新する。しきい値は、例えば、その処理規則により処理可能なパケットの数又はバイト数である。失効条件管理部11は、例えば、課金サーバ50から契約情報の更新が通知されたことに応じて、契約情報に対応する通信量を処理規則の失効条件として設定する。   For example, the revocation condition management unit 11 updates a threshold value indicating a statistical value that can be processed according to the processing rule. The threshold is, for example, the number of packets or the number of bytes that can be processed according to the processing rule. For example, the revocation condition management unit 11 sets the communication amount corresponding to the contract information as the revocation condition of the processing rule in response to the notification of the update of the contract information from the billing server 50.

失効条件管理部11は、失効条件が複数設定されている場合、複数の失効条件の各々を、別々に更新してもよい。例えば、失効条件として統計値とタイムアウト値との2つが設定されている場合、失効条件管理部11は、統計値又はタイムアウト値だけを更新してもよいし、統計値及びタイムアウト値の両方を更新してもよい。また、失効条件管理部11は、失効条件を更新することに応じて、更新の内容を経路・アクション計算部15に通知する。   When a plurality of revocation conditions are set, the revocation condition management unit 11 may update each of the plurality of revocation conditions separately. For example, when two values, a statistical value and a timeout value, are set as the invalidation condition, the invalidation condition management unit 11 may update only the statistical value or the timeout value, or update both the statistical value and the timeout value. May be. The revocation condition management unit 11 notifies the route / action calculation unit 15 of the contents of the update in response to updating the revocation condition.

通信端末位置管理部12は、通信システムに接続している通信端末30の位置を特定するための情報を管理する。通信端末位置管理部12は、例えば、通信端末30の位置を、通信端末30が接続しているパケット転送ノード20を識別する情報とそのポートの情報によって管理する。   The communication terminal position management unit 12 manages information for specifying the position of the communication terminal 30 connected to the communication system. For example, the communication terminal position management unit 12 manages the position of the communication terminal 30 based on information for identifying the packet forwarding node 20 to which the communication terminal 30 is connected and information on its port.

トポロジ管理部13は、ノード通信部19を介して収集されたパケット転送ノード20の接続関係に基づいてネットワークトポロジ情報を構築する。また、トポロジ情報が変化した場合、トポロジ管理部13が経路・アクション計算部15にトポロジ情報の変化を通知し、経路・アクション計算部15に既存の処理規則の再設定等を行わせるようにしてもよい。   The topology management unit 13 constructs network topology information based on the connection relationship of the packet forwarding nodes 20 collected via the node communication unit 19. When the topology information changes, the topology management unit 13 notifies the route / action calculation unit 15 of the change of the topology information, and causes the route / action calculation unit 15 to reset the existing processing rule. Also good.

制御メッセージ処理部14は、パケット転送ノード20から受信した制御メッセージを解析して、制御装置10内の該当する処理手段に制御メッセージ情報を引き渡す。   The control message processing unit 14 analyzes the control message received from the packet forwarding node 20 and delivers the control message information to the corresponding processing means in the control device 10.

経路・アクション計算部15は、通信端末位置管理部12にて管理されている通信端末30の位置情報とトポロジ管理部13にて管理されているトポロジ情報とに基づいてパケットの転送経路を計算する手段を有する。また、経路・アクション計算部15は、パケット転送ノード管理部16にて管理されている各パケット転送ノード20の情報(例えば、各パケット転送ノード20の能力情報)を参照して、各パケット転送ノード20に実行させる処理内容(アクション)を求める手段として機能する。さらに、経路・アクション計算部15は、失効条件管理部11にて管理されている処理規則毎の失効条件を参照して、各処理規則の失効条件フィールドに設定する値を決定する手段としても機能する。   The route / action calculation unit 15 calculates a packet transfer route based on the location information of the communication terminal 30 managed by the communication terminal location management unit 12 and the topology information managed by the topology management unit 13. Have means. Further, the route / action calculation unit 15 refers to the information of each packet forwarding node 20 managed by the packet forwarding node management unit 16 (for example, capability information of each packet forwarding node 20), and each packet forwarding node It functions as a means for obtaining the processing content (action) to be executed by 20. Further, the route / action calculation unit 15 refers to the revocation condition for each processing rule managed by the revocation condition management unit 11 and functions as means for determining a value to be set in the revocation condition field of each processing rule. To do.

経路・アクション計算部15は、失効条件管理部11が処理規則の失効条件を更新することに応じて、その処理規則がパケット転送ノード20に設定されているか否かを確認する。経路・アクション計算部15は、処理規則がパケット転送ノード20に設定されている場合、その処理規則の失効条件を更新する。一方、経路・アクション計算部15は、処理規則がパケット転送ノード20に設定されていない場合、更新された失効条件を含む処理規則を作成し、作成された処理規則に対応するパケット転送ノード20に通知する。   The route / action calculation unit 15 checks whether or not the processing rule is set in the packet forwarding node 20 in response to the revocation condition management unit 11 updating the revocation condition of the processing rule. When the processing rule is set in the packet forwarding node 20, the route / action calculation unit 15 updates the revocation condition of the processing rule. On the other hand, when the processing rule is not set in the packet forwarding node 20, the route / action calculation unit 15 creates a processing rule including the updated revocation condition, and sends it to the packet forwarding node 20 corresponding to the created processing rule. Notice.

パケット転送ノード管理部16は、管理対象のパケット転送ノード20の各々の能力(例えば、ポートの数や種類、サポートするアクションの種類など)を管理する。   The packet forwarding node management unit 16 manages the capabilities (for example, the number and type of ports, the type of supported action, etc.) of each packet forwarding node 20 to be managed.

処理規則管理部17は、パケット転送ノード20に設定されている処理規則を管理する。処理規則管理部17は、経路・アクション計算部15で計算された結果を処理規則として処理規則データベース18に記憶する。また、処理規則管理部17は、パケット転送ノード20からの処理規則削除通知などに基づき、パケット転送ノード20に設定された処理規則に変更が生じた場合に、処理規則データベース18の内容を更新する。   The processing rule management unit 17 manages processing rules set in the packet forwarding node 20. The processing rule management unit 17 stores the result calculated by the route / action calculation unit 15 in the processing rule database 18 as a processing rule. Further, the processing rule management unit 17 updates the contents of the processing rule database 18 when the processing rule set in the packet forwarding node 20 is changed based on the processing rule deletion notification from the packet forwarding node 20 or the like. .

処理規則データベース18は、少なくとも1つの処理規則を格納する。   The processing rule database 18 stores at least one processing rule.

ノード通信部19は、パケット転送ノード20の各々と通信を行う。本実施形態では、ノード通信部19は、非特許文献2のオープンフロープロトコルを用いてパケット転送ノード20と通信するものとする。ただし、ノード通信部19とパケット転送ノード20との通信プロトコルは、オープンフロープロトコルに限定されるものではない。   The node communication unit 19 communicates with each of the packet forwarding nodes 20. In the present embodiment, it is assumed that the node communication unit 19 communicates with the packet forwarding node 20 using the OpenFlow protocol of Non-Patent Document 2. However, the communication protocol between the node communication unit 19 and the packet forwarding node 20 is not limited to the open flow protocol.

上記のような制御装置10は、例えば、非特許文献2のオープンフローコントローラに、失効条件管理部11を追加し、経路・アクション計算部15が失効条件を含む処理規則を生成するよう変更した構成で実現することも可能である。   The control device 10 as described above is, for example, a configuration in which the revocation condition management unit 11 is added to the OpenFlow controller of Non-Patent Document 2, and the route / action calculation unit 15 is changed to generate a processing rule including a revocation condition. It is also possible to realize with.

図7は、図5におけるパケット転送ノード20の各々の構成例を示す図である。パケット転送ノード20の各々は、転送処理部21と、テーブルデータベース(テーブルDB)22と、処理規則管理部23と、失効条件更新部24と、通信部25とを含む。なお、通信端末30が、パケット転送ノード20と同様の構成を備えてもよい。   FIG. 7 is a diagram illustrating a configuration example of each of the packet forwarding nodes 20 in FIG. Each of the packet forwarding nodes 20 includes a forwarding processing unit 21, a table database (table DB) 22, a processing rule management unit 23, an expiration condition update unit 24, and a communication unit 25. Note that the communication terminal 30 may have the same configuration as the packet forwarding node 20.

転送処理部21は、図7に示すように、テーブル検索部210と、アクション実行部211とを有する。テーブル検索部210は、テーブルDB22に格納されたテーブルから、受信パケットに適合するマッチフィールドを持つ処理規則を検索する。アクション実行部211は、テーブル検索部210にて検索された処理規則のインストラクションフィールドに示す処理内容に従ってパケット処理を行う。   As illustrated in FIG. 7, the transfer processing unit 21 includes a table search unit 210 and an action execution unit 211. The table retrieval unit 210 retrieves a processing rule having a match field that matches the received packet from the table stored in the table DB 22. The action execution unit 211 performs packet processing according to the processing content indicated in the instruction field of the processing rule searched by the table search unit 210.

転送処理部21は、受信パケットに適合するマッチフィールドを持つ処理規則が見つからなかった場合、その旨を処理規則管理部23に通知する。転送処理部21は、受信パケットに適合するマッチフィールドを有する処理規則に、パケットの処理方法として、制御装置10への問い合わせを行うことが規定されていた場合、処理規則管理部23に通知してもよい。処理規則管理部23は、転送処理部21から通知を受け、通信部25を介して制御装置10に問い合わせを行う。   If the processing rule having a match field that matches the received packet is not found, the transfer processing unit 21 notifies the processing rule management unit 23 to that effect. When the processing rule having a match field that matches the received packet stipulates that the inquiry to the control device 10 be made as a packet processing method, the transfer processing unit 21 notifies the processing rule management unit 23. Also good. The processing rule management unit 23 receives a notification from the transfer processing unit 21 and makes an inquiry to the control device 10 via the communication unit 25.

転送処理部21は、パケット処理に応じて、テーブルDB22に登録されている処理規則の統計情報(Counters)を更新する。転送処理部21は、複数の処理規則の各々に対応する統計情報(Counters)から統計値を求めてもよい。例えば、転送処理部21は、複数の処理規則の各々に対応する統計情報を合算して統計値を算出し、処理規則管理部23はこの統計値と各処理規則の失効条件とを比較して各処理規則が有効か否かを判断する。また、例えば、転送処理部21は、テーブルDB22に格納された処理規則のうち、所定の条件に対応する処理規則に対応する統計情報から統計値を算出する。例えば、転送処理部21は、所定のポートから入力されたパケットを処理するための処理規則や、所定のポートへパケットを出力するための処理規則に対応する統計情報から統計値を算出する。   The transfer processing unit 21 updates the processing rule statistical information (Counters) registered in the table DB 22 in accordance with the packet processing. The transfer processing unit 21 may obtain a statistical value from statistical information (Counters) corresponding to each of a plurality of processing rules. For example, the transfer processing unit 21 calculates the statistical value by adding the statistical information corresponding to each of the plurality of processing rules, and the processing rule management unit 23 compares the statistical value with the revocation condition of each processing rule. It is determined whether each processing rule is valid. Further, for example, the transfer processing unit 21 calculates a statistical value from statistical information corresponding to a processing rule corresponding to a predetermined condition among the processing rules stored in the table DB 22. For example, the transfer processing unit 21 calculates a statistical value from statistical information corresponding to a processing rule for processing a packet input from a predetermined port or a processing rule for outputting a packet to a predetermined port.

テーブルDB22は、例えば、転送処理部21が受信パケットの処理を行う際に参照するテーブルを一つ以上格納可能なデータベースによって構成される。   The table DB 22 is constituted by, for example, a database that can store one or more tables referred to when the transfer processing unit 21 processes received packets.

図8は、パケット転送ノード20のテーブルDB22に設定されているテーブルの例である。図8の例では、図5の通信端末30と、サーバ(Server)40間の通信を実現する処理規則が設定されている。例えば、通信端末30からサーバ(Server)40に宛てられたパケットのヘッダフィールドには、送信元IPアドレスとして通信端末30のIPアドレスが設定され、宛先IPアドレスとしてサーバ(Server)40のIPアドレスが設定されている。このため、通信端末30からサーバ(Server)40に宛てられたパケットを受信すると、パケット転送ノード20のテーブル検索部210は、図8のテーブルの上から2番目の処理規則を、受信パケットに適合する処理規則として探し出す。そして、パケット転送ノード20のアクション実行部211は、そのインストラクションフィールドに示された内容に従って、パケット転送ノード20と接続されたポートから当該受信パケットを転送する。なお、パケット転送ノード20は、例えば、受信パケットに対応する処理規則が存在しない場合や処理規則に規定された“Instructions”が制御装置10への問い合わせである場合、制御装置10に対して処理規則の設定を要求する。   FIG. 8 is an example of a table set in the table DB 22 of the packet forwarding node 20. In the example of FIG. 8, a processing rule for realizing communication between the communication terminal 30 of FIG. 5 and the server (Server) 40 is set. For example, in the header field of a packet addressed from the communication terminal 30 to the server (Server) 40, the IP address of the communication terminal 30 is set as the source IP address, and the IP address of the server (Server) 40 is set as the destination IP address. Is set. For this reason, when receiving a packet addressed to the server (Server) 40 from the communication terminal 30, the table search unit 210 of the packet forwarding node 20 adapts the second processing rule from the top of the table of FIG. 8 to the received packet. Search as a processing rule. Then, the action execution unit 211 of the packet forwarding node 20 forwards the received packet from the port connected to the packet forwarding node 20 in accordance with the contents indicated in the instruction field. Note that, for example, when there is no processing rule corresponding to the received packet or when “Instructions” defined in the processing rule is an inquiry to the control device 10, the packet forwarding node 20 sends a processing rule to the control device 10. Request setting of.

同様に、例えば、サーバ(Server)40から通信端末30に宛てられたパケットのヘッダフィールドには、送信元IPアドレスとしてサーバ(Server)40のIPアドレスが設定され、宛先IPアドレスとして通信端末30のIPアドレスが設定されている。このため、サーバ(Server)40から通信端末30に宛てられたパケットを受信すると、パケット転送ノード20のテーブル検索部210は、図8のテーブルの上から1番目の処理規則を、受信パケットに適合する処理規則として探し出す。そして、パケット転送ノード20のアクション実行部211は、そのインストラクションフィールドに示された内容に従って、通信端末30と接続されたポートから当該受信パケットを転送する。なお、パケット転送ノード20は、受信パケットに対応する処理規則が存在しない場合や処理規則に規定された“Instructions”が制御装置10への問い合わせである場合、制御装置10に対して処理規則の設定を要求する。   Similarly, for example, in the header field of a packet addressed to the communication terminal 30 from the server (Server) 40, the IP address of the server (Server) 40 is set as the source IP address, and the destination IP address of the communication terminal 30 is set. An IP address is set. For this reason, when a packet addressed to the communication terminal 30 is received from the server (Server) 40, the table search unit 210 of the packet forwarding node 20 adapts the first processing rule from the top of the table of FIG. 8 to the received packet. Search as a processing rule. Then, the action execution unit 211 of the packet forwarding node 20 forwards the received packet from the port connected to the communication terminal 30 in accordance with the contents indicated in the instruction field. The packet forwarding node 20 sets a processing rule for the control device 10 when there is no processing rule corresponding to the received packet or when “Instructions” defined in the processing rule is an inquiry to the control device 10. Request.

図8の例では、各処理規則の失効条件として、100Mbyte、10Mbyteといった通信量に対応する値(しきい値)が設定されている。なお、図8の例では、処理規則を削除するしきい値となる統計値の単位をバイトで規定しているが、パケット数を用いることも可能である。また、統計情報(Counters)において、ビット等その他の単位で統計情報を管理している場合には、前記ビット等のその他の単位を用いることもできる。   In the example of FIG. 8, values (threshold values) corresponding to the traffic such as 100 Mbytes and 10 Mbytes are set as the revocation conditions for each processing rule. In the example of FIG. 8, the unit of the statistical value that is a threshold value for deleting the processing rule is defined in bytes, but the number of packets can also be used. In addition, in the statistical information (Counters), when the statistical information is managed in other units such as bits, other units such as the bits may be used.

処理規則管理部23は、テーブルDB22に保持されているテーブルを管理する手段である。具体的には、処理規則管理部23は、制御装置10から指示された処理規則をテーブルDB22に登録する。また、処理規則管理部23は、転送処理部21から、新規パケットを受信したことを通知されたことに応じて、制御装置10に対し、受信パケットを処理するための処理規則の設定を要求する。   The processing rule management unit 23 is means for managing the tables held in the table DB 22. Specifically, the processing rule management unit 23 registers the processing rule instructed from the control device 10 in the table DB 22. Also, the processing rule management unit 23 requests the control device 10 to set a processing rule for processing the received packet in response to the notification from the transfer processing unit 21 that a new packet has been received. .

また、処理規則管理部23は、各テーブルに含まれる処理規則の失効条件と統計情報(Counters)とを参照し、統計情報に示された統計値が前記処理規則の失効条件に設定されたしきい値を越える場合に、その処理規則を削除又は失効させる処理を行う。処理規則管理部23は、例えば、図8に示すテーブルの上から1番目の処理規則の統計情報(Counters)が100Mbyteを超えた場合に、当該処理規則を削除する動作を行う。なお、処理規則の統計情報は、その処理規則によるパケットの処理量に応じて更新される。また、処理規則管理部23は、例えば、図8に示すテーブルの上から2番目の処理規則の統計情報(Counters)が10Mbyteを超えた場合に、当該処理規則を削除する動作を行う。なお、処理規則の統計情報は、その処理規則によるパケットの処理量に応じて更新される。処理規則管理部23は、図8に例示されたテーブルの1番目と2番目の処理規則の統計情報から統計値を求め、その統計値と各々の処理規則の失効条件とをそれぞれ比較してもよい。統計値は、例えば、各処理規則の統計情報を合算することで求められる。例えば、求めた統計値が10Mbyteだった場合、統計値は、図8に例示されたテーブルの2番目の処理規則の失効条件に合致する。この場合、テーブルの2番目の処理規則は削除される。   In addition, the processing rule management unit 23 refers to the revocation condition of the processing rule and the statistical information (Counters) included in each table, and the statistical value indicated in the statistical information is set as the revocation condition of the processing rule. When the threshold value is exceeded, the processing rule is deleted or expired. For example, when the statistical information (Counters) of the first processing rule from the top of the table shown in FIG. 8 exceeds 100 Mbytes, the processing rule management unit 23 performs an operation of deleting the processing rule. Note that the statistical information of the processing rule is updated according to the amount of packets processed according to the processing rule. Further, for example, when the statistical information (Counters) of the second processing rule from the top of the table shown in FIG. 8 exceeds 10 Mbytes, the processing rule management unit 23 performs an operation of deleting the processing rule. Note that the statistical information of the processing rule is updated according to the amount of packets processed according to the processing rule. The processing rule management unit 23 obtains a statistical value from the statistical information of the first and second processing rules in the table illustrated in FIG. 8, and compares the statistical value with the revocation condition of each processing rule. Good. The statistical value is obtained, for example, by adding the statistical information of each processing rule. For example, when the calculated statistical value is 10 Mbytes, the statistical value matches the revocation condition of the second processing rule in the table illustrated in FIG. In this case, the second processing rule in the table is deleted.

また、処理規則管理部23は、統計値が失効条件に合致した場合、その失効条件に対応する処理規則が規定するパケット処理を、パケットを廃棄する処理に書き換えてもよい。また、処理規則管理部23は、統計値が失効条件に合致した場合、その失効条件に対応する処理規則が規定するパケット処理に対してトラフィックシェーピングを開始しても良い。トラフィックシェーピングは、例えば、統計値がしきい値を超過した処理規則に対応するパケットフローの転送レートを制御することを意味する。転送レートの制御は、例えば、パケットフローを遅延させる処理や転送レートが所定の値を超えないように制御する処理を意味する。但し、転送レートの制御は、パケットフローを遅延させる処理や転送レートが所定の値を超えないように制御する処理に限定されない。   Further, when the statistical value matches the revocation condition, the processing rule management unit 23 may rewrite the packet processing defined by the processing rule corresponding to the revocation condition to a process of discarding the packet. Further, when the statistical value matches the revocation condition, the processing rule management unit 23 may start traffic shaping for packet processing defined by the processing rule corresponding to the revocation condition. Traffic shaping means, for example, controlling the transfer rate of a packet flow corresponding to a processing rule whose statistical value exceeds a threshold value. The control of the transfer rate means, for example, a process for delaying the packet flow or a process for controlling the transfer rate so as not to exceed a predetermined value. However, the control of the transfer rate is not limited to the process of delaying the packet flow or the process of controlling the transfer rate so as not to exceed a predetermined value.

処理規則管理部23内の失効条件管理部24は、失効条件の更新の指示に基づいて、処理規則の失効条件を更新する。失効条件管理部24は、例えば、制御装置10からの指示により、失効条件として設定されている統計値を更新する。失効条件管理部24は、例えば、図8に示すテーブルの上から1番目の処理規則の失効条件である100Mbyte(しきい値)を、制御装置10からの指示により、200Mbyteに更新する。また、失効条件管理部24は、例えば、図8に示すテーブルの上から2番目の処理規則の失効条件である10Mbyteを、制御装置10からの指示により、20Mbyteに更新する。また、失効条件管理部24は、失効条件がパケットの数で設定されている場合、そのパケットの数を更新する。   The revocation condition management unit 24 in the processing rule management unit 23 updates the revocation condition of the processing rule based on the revocation condition update instruction. For example, the revocation condition management unit 24 updates a statistical value set as the revocation condition in accordance with an instruction from the control device 10. The revocation condition management unit 24 updates, for example, 100 Mbytes (threshold value) that is the revocation condition of the first processing rule from the top of the table shown in FIG. 8 to 200 Mbytes according to an instruction from the control device 10. Further, the revocation condition management unit 24 updates 10 Mbytes, which is the revocation condition of the second processing rule from the top of the table shown in FIG. 8, to 20 Mbytes according to an instruction from the control device 10, for example. In addition, when the revocation condition is set by the number of packets, the revocation condition management unit 24 updates the number of the packets.

失効条件管理部24は、処理規則の失効条件が設定されていない場合に、新規に失効条件を設定してもよい。失効条件管理部24は、例えば、失効条件が設定されていない(例えば失効条件がブランクの)処理規則に対して、失効条件として100Mbyteというしきい値を設定する。また、失効条件管理部24は、すでに失効した処理規則の失効条件を更新し、その処理規則を有効にして、その処理規則による受信パケットの処理を再開させてもよい。   The revocation condition management unit 24 may newly set a revocation condition when the revocation condition of the processing rule is not set. For example, the revocation condition management unit 24 sets a threshold value of 100 Mbytes as a revocation condition for a processing rule in which the revocation condition is not set (for example, the revocation condition is blank). Further, the revocation condition management unit 24 may update the revocation condition of the processing rule that has already expired, validate the processing rule, and resume processing of the received packet based on the processing rule.

失効条件管理部24は、処理規則の失効条件を更新し、その処理規則の統計情報(Counter)は維持する。つまり、失効条件管理部24は、失効条件が更新されても、失効条件が更新されるまでに計測された統計情報を、更新せずに維持する。よって、転送処理部21は、失効条件が更新されても、統計情報を継続して計測できる。   The revocation condition management unit 24 updates the revocation condition of the processing rule, and maintains statistical information (Counter) of the processing rule. That is, even if the revocation condition is updated, the revocation condition management unit 24 maintains the statistical information measured until the revocation condition is updated without being updated. Therefore, the transfer processing unit 21 can continuously measure statistical information even when the revocation condition is updated.

失効条件管理部24は、例えば、制御装置10から、失効条件の更新の指示を受ける。もちろん、失効条件管理部24に失効条件の更新を指示するのは、制御装置10に限られず、例えば、図4に示す課金サーバであってもよいし、他の装置であってもよい。失効条件管理部24は、失効条件が更新された処理規則を制御装置10または課金サーバ50から受信することで、新たな失効条件をテーブルDB22に設定してもよい。   For example, the revocation condition management unit 24 receives a revocation condition update instruction from the control device 10. Of course, it is not limited to the control device 10 that instructs the revocation condition management unit 24 to update the revocation condition. For example, the billing server shown in FIG. 4 or another device may be used. The revocation condition management unit 24 may set a new revocation condition in the table DB 22 by receiving a processing rule with an updated revocation condition from the control device 10 or the accounting server 50.

なお、処理規則管理部23は、失効条件管理部24により失効条件が更新された処理規則について、更新後の失効条件に基づきその処理規則を削除又は失効する。処理規則管理部23は、例えば、図8に示すテーブルの上から1番目の処理規則の失効条件が200Mbyteに更新された場合、統計情報(Counters)が200Mbyteを超えるまで当該処理規則を削除又は失効しない。   Note that the processing rule management unit 23 deletes or invalidates the processing rule whose revocation condition has been updated by the revocation condition management unit 24 based on the renewal condition after the update. For example, when the revocation condition of the first processing rule from the top of the table shown in FIG. 8 is updated to 200 Mbytes, the processing rule management unit 23 deletes or revokes the processing rule until the statistical information (Counters) exceeds 200 Mbytes. do not do.

通信部25は、パケット転送ノード20に処理規則を設定する制御装置10との通信を実現する手段である。第1の実施形態では、通信部25は、非特許文献2のオープンフロープロトコルを用いて制御装置10と通信するものとする。但し、通信部25と制御装置10との通信プロトコルは、オープンフロープロトコルに限定されるものではない。   The communication unit 25 is means for realizing communication with the control device 10 that sets a processing rule in the packet forwarding node 20. In 1st Embodiment, the communication part 25 shall communicate with the control apparatus 10 using the open flow protocol of a nonpatent literature 2. As shown in FIG. However, the communication protocol between the communication unit 25 and the control device 10 is not limited to the OpenFlow protocol.

続いて、本実施形態の動作例について図面を参照して説明する。なお、図9は例示であり、本発明の動作は図9のシーケンスに限定されない。図9は、第1の実施形態に係る通信システムの動作を説明するためのシーケンス図である。また、以下の説明では、パケット転送ノード20には、初期状態において、通信端末30とサーバ(Server)40間の通信を実現する処理規則が設定されていないものとする。   Subsequently, an operation example of the present embodiment will be described with reference to the drawings. FIG. 9 is an example, and the operation of the present invention is not limited to the sequence of FIG. FIG. 9 is a sequence diagram for explaining the operation of the communication system according to the first embodiment. In the following description, it is assumed that the processing rule for realizing communication between the communication terminal 30 and the server (Server) 40 is not set in the packet forwarding node 20 in the initial state.

図9を参照すると、まず、通信端末30は、課金サーバ50と、通信量に応じた契約を行う。課金サーバ50は、通信端末30の契約情報を管理する(図9のS100)。   Referring to FIG. 9, first, the communication terminal 30 makes a contract according to the communication amount with the accounting server 50. The accounting server 50 manages the contract information of the communication terminal 30 (S100 in FIG. 9).

課金サーバ50は、通信端末30の契約情報を制御装置10に通知する(図9のS101)。   The accounting server 50 notifies the control device 10 of the contract information of the communication terminal 30 (S101 in FIG. 9).

通信端末30がサーバ(Server)40宛てのユーザパケットを送信すると(図9のS102)、パケットを受信したパケット転送ノード20−1は、テーブルから受信パケットに適合するマッチフィールドを持つ処理規則を検索する。パケット転送ノード20−1は、パケットに適合する処理規則が見つからない、若しくは、制御装置10への問い合わせを規定する処理規則を検索し、制御装置10に対し、処理規則の設定を要求する(図9のS103;Packet−In)。   When the communication terminal 30 transmits a user packet addressed to the server (Server) 40 (S102 in FIG. 9), the packet forwarding node 20-1 that has received the packet searches the table for a processing rule having a match field that matches the received packet. To do. The packet forwarding node 20-1 finds a processing rule that matches the packet or searches for a processing rule that specifies an inquiry to the control device 10, and requests the control device 10 to set the processing rule (FIG. 9 S103; Packet-In).

前記処理規則の設定要求を受けた制御装置10は、経路・アクション計算部15にて、図8に示すような失効条件付きの処理規則(両方向)を作成し、各パケット転送ノード20に設定する(図9のS104;FlowMod)。ここで、制御装置10は、課金サーバ50から通信された契約情報に基づき、通信端末30が通信可能なデータ量を決定する。制御装置10は、例えば、そのデータ量を100Mbyteと決定する。制御装置10は、決定したデータ量を、処理規則の失効条件に設定する。   Upon receiving the processing rule setting request, the control device 10 creates a processing rule with a revocation condition (both directions) as shown in FIG. 8 in the route / action calculation unit 15 and sets it in each packet forwarding node 20. (S104 in FIG. 9; FlowMod). Here, the control device 10 determines the amount of data that the communication terminal 30 can communicate based on the contract information communicated from the accounting server 50. For example, the control device 10 determines the data amount as 100 Mbytes. The control device 10 sets the determined data amount as a revocation condition of the processing rule.

失効条件管理部11は、課金サーバ50から通知された契約情報に基づいて、受信パケットの送信元である通信端末30と所定の通信相手(例えば、サーバ(Server)40)とが通信可能か否かを判断してもよい。この場合、失効条件管理部11は、通信可能と判断したことに応じて、処理規則を作成する。   The revocation condition management unit 11 determines whether or not the communication terminal 30 that is the transmission source of the received packet and a predetermined communication partner (for example, the server (Server) 40) can communicate based on the contract information notified from the billing server 50. It may be judged. In this case, the revocation condition management unit 11 creates a processing rule in response to determining that communication is possible.

また、制御装置10は、パケット転送ノード20に対し、S103で受信したパケットを戻し、パケット転送ノード20に転送するよう指示する(図9のS105;Packet−Out)。   Further, the control device 10 instructs the packet forwarding node 20 to return the packet received in S103 and forward it to the packet forwarding node 20 (S105 in FIG. 9; Packet-Out).

前記指示に基づいて、パケット転送ノード20−1が、パケット転送ノード20−2にパケットを転送すると、パケット転送ノード20−2、20−3は、それぞれ設定された処理規則に従って、パケットをサーバ(Server)40に転送する(図9のS106)。   When the packet forwarding node 20-1 forwards the packet to the packet forwarding node 20-2 based on the instruction, the packet forwarding nodes 20-2 and 20-3 send the packet to the server (in accordance with the set processing rules). (Server) 40 (S106 in FIG. 9).

パケット転送ノード20−1〜20−3は、それぞれ設定された処理規則に従って、通信端末30とサーバ(Server)40間で送受信されるユーザパケットを転送する(図9のS107)。   The packet forwarding nodes 20-1 to 20-3 forward user packets transmitted / received between the communication terminal 30 and the server (Server) 40 in accordance with the set processing rules (S107 in FIG. 9).

通信端末30は、契約で規定さえた所定の通信量を超えて通信するため、課金サーバ50に、追加通信量に対応する追加料金を支払う(図9のS108)。   Since the communication terminal 30 communicates beyond the predetermined communication amount specified in the contract, the communication terminal 30 pays an additional fee corresponding to the additional communication amount to the billing server 50 (S108 in FIG. 9).

課金サーバ50は、通信端末30が契約を更新したことに応じて、更新後の契約情報を制御装置10に通知する(図9のS109)。   The accounting server 50 notifies the control apparatus 10 of the updated contract information in response to the communication terminal 30 updating the contract (S109 in FIG. 9).

制御装置10は、更新後の契約情報が通知されたことに基づいて、パケット転送ノード20に対して、対応する処理規則の失効条件の更新を指示する。パケット転送ノード20は、失効条件の更新の指示に応じて、処理規則の失効条件を変更する(図9のS110)。なお、制御装置10は、更新された失効条件を含む処理規則をパケット転送ノード20に通知してもよい。   Based on the notification of the updated contract information, the control device 10 instructs the packet forwarding node 20 to update the revocation condition of the corresponding processing rule. The packet forwarding node 20 changes the revocation condition of the processing rule in response to the revocation condition update instruction (S110 in FIG. 9). Note that the control device 10 may notify the packet forwarding node 20 of a processing rule including the updated revocation condition.

その後、パケット転送ノード20は、失効条件が更新された処理規則に従って、パケットを処理する(図9のS111)。   Thereafter, the packet forwarding node 20 processes the packet according to the processing rule with the revocation condition updated (S111 in FIG. 9).

第1の実施形態では、制御装置10は、失効条件の更新の指示として、新たな失効条件を通知する例を用いて説明した。しかし、制御装置10が指示する失効条件の指示は、新たな失効条件に限られず、元々の失効条件と新たな失効条件との差分であってもよい。この場合、パケット転送ノード20は、制御装置から通知された当該差分に基づいて、失効条件を当該差分だけ変更する。   In the first embodiment, the control device 10 has been described using an example of notifying a new revocation condition as an instruction to update the revocation condition. However, the instruction of the revocation condition instructed by the control device 10 is not limited to the new revocation condition, and may be a difference between the original revocation condition and the new revocation condition. In this case, the packet forwarding node 20 changes the revocation condition by the difference based on the difference notified from the control device.

[第2の実施形態]
通信端末30に上記したパケット転送ノードの機能を追加した第2の実施形態について図面を参照して説明する。なお、通信端末30も、上述した通信装置に相当する。例えば、通信端末は、携帯電話、パーソナルコンピュータ、モバイルルータ等の通信機能を有する装置である。図10は、第2の実施形態に係る通信システムの構成例を表した図である。第1の実施形態との相違点は、通信端末30Aの構成である。その他は、第1の実施形態と同等であるため、以下その相違点を中心に説明する。
図11は、通信端末30Aの構成例を表したブロック図である。図11を参照すると、通信端末30Aは、複数のアプリケーション部31−1〜31−nを備える。また、通信端末30Aは、アプリケーション部31−1〜31−nに対して、任意のプロトコルによる通信機能を提供するプロトコルスタック部32を備える。また、通信端末30Aは、プロトコルスタック部32と接続され、上述した第1の実施形態のパケット転送ノード20と同等のパケット処理を行うパケット転送機能部33を備える。
[Second Embodiment]
A second embodiment in which the function of the packet forwarding node described above is added to the communication terminal 30 will be described with reference to the drawings. The communication terminal 30 also corresponds to the communication device described above. For example, the communication terminal is a device having a communication function such as a mobile phone, a personal computer, or a mobile router. FIG. 10 is a diagram illustrating a configuration example of a communication system according to the second embodiment. The difference from the first embodiment is the configuration of the communication terminal 30A. Others are the same as those of the first embodiment, and therefore, the differences will be mainly described below.
FIG. 11 is a block diagram illustrating a configuration example of the communication terminal 30A. Referring to FIG. 11, the communication terminal 30A includes a plurality of application units 31-1 to 31-n. Further, the communication terminal 30A includes a protocol stack unit 32 that provides a communication function based on an arbitrary protocol to the application units 31-1 to 31-n. The communication terminal 30A includes a packet transfer function unit 33 that is connected to the protocol stack unit 32 and performs packet processing equivalent to the packet transfer node 20 of the first embodiment described above.

パケット転送機能部33は、第1の実施形態のパケット転送ノード20と同様に、制御装置10から設定された失効条件付きの処理規則に基づいたパケット処理を行う。パケット転送機能部33は、第1の実施形態のパケット転送ノード20と同様に、転送処理部21と、テーブルデータベース(テーブルDB)22と、処理規則管理部23と、失効条件更新部24と、通信部25を備える。パケット転送機能部33は、プロトコルスタック部32から出力されたパケットの処理及びパケット転送ノード20−1から転送されたユーザトラフィックの処理を行う。なお、このパケット転送機能部33は、通信端末30Aを構成するコンピュータのハードウェア(メモリ、通信手段)を用いて、上述したパケット処理を行うコンピュータプログラムにて実現することもできる。また、このコンピュータプログラムは、通信端末30Aにプレインストールされていてもよいし、図示省略するアプリケーションサーバ等から、ダウンロードしてインストールできるようにしてもよい。   The packet transfer function unit 33 performs packet processing based on a processing rule with a revocation condition set by the control device 10 as in the packet transfer node 20 of the first embodiment. As with the packet transfer node 20 of the first embodiment, the packet transfer function unit 33 includes a transfer processing unit 21, a table database (table DB) 22, a processing rule management unit 23, an expiration condition update unit 24, A communication unit 25 is provided. The packet transfer function unit 33 processes the packet output from the protocol stack unit 32 and the user traffic transferred from the packet transfer node 20-1. The packet transfer function unit 33 can also be realized by a computer program that performs the above-described packet processing by using computer hardware (memory, communication means) constituting the communication terminal 30A. The computer program may be preinstalled in the communication terminal 30A, or may be downloaded and installed from an application server (not shown).

図12は、パケット転送機能部33内部のテーブルDBに設定されているテーブルの具体例である。図12の例では、図11の通信端末30A内のプロトコルスタック部32と、サーバ(Server)40間の通信を実現する処理規則が設定されている。例えば、通信端末30A内のプロトコルスタック部32からサーバ(Server)40に宛てられたパケットのヘッダフィールドには、送信元IPアドレスとして通信端末30AのIPアドレスが設定され、宛先IPアドレスとしてサーバ(Server)40のIPアドレスが設定されている。このため、通信端末30A内のプロトコルスタック部32からサーバ(Server)40に宛てられたパケットを受信すると、パケット転送機能部33内部のテーブル検索部は、図12のテーブルの上から2番目の処理規則を、受信パケットに適合する処理規則として探し出す。そして、パケット転送機能部33内部のアクション実行部は、そのインストラクションフィールドに示された内容に従って、パケット転送ノード20−1と接続されたポートから当該受信パケットを転送する。なお、通信端末30Aは、受信パケットに対応する処理規則が存在しない場合、制御装置10に対して処理規則の設定を要求する。   FIG. 12 is a specific example of a table set in the table DB inside the packet transfer function unit 33. In the example of FIG. 12, a processing rule for realizing communication between the protocol stack unit 32 in the communication terminal 30A of FIG. 11 and the server (Server) 40 is set. For example, the IP address of the communication terminal 30A is set as the source IP address in the header field of the packet addressed to the server (Server) 40 from the protocol stack unit 32 in the communication terminal 30A, and the server (Server) is set as the destination IP address. ) 40 IP addresses are set. Therefore, when a packet addressed to the server (Server) 40 is received from the protocol stack unit 32 in the communication terminal 30A, the table search unit in the packet transfer function unit 33 performs the second processing from the top of the table in FIG. The rule is found as a processing rule that matches the received packet. Then, the action execution unit in the packet transfer function unit 33 transfers the received packet from the port connected to the packet transfer node 20-1 according to the contents indicated in the instruction field. Note that the communication terminal 30A requests the control device 10 to set a processing rule when there is no processing rule corresponding to the received packet.

同様に、例えば、サーバ(Server)40から通信端末30Aに宛てられたパケットのヘッダフィールドには、送信元IPアドレスとしてサーバ(Server)40のIPアドレスが設定され、宛先IPアドレスとして通信端末30AのIPアドレスが設定されている。このため、サーバ(Server)40から通信端末30Aに宛てられたパケットを受信すると、パケット転送機能部33内部のテーブル検索部は、図12のテーブルの上から1番目の処理規則を、受信パケットに適合する処理規則として探し出す。そして、パケット転送機能部33内部のアクション実行部は、そのインストラクションフィールドに示された内容に従って、通信端末30Aのプロトコルスタック部32と接続されたポートから当該受信パケットを転送する。なお、通信端末30Aは、受信パケットに対応する処理規則が存在しない場合、制御装置に対して処理規則の設定を要求する。   Similarly, for example, in the header field of a packet addressed from the server (Server) 40 to the communication terminal 30A, the IP address of the server (Server) 40 is set as the transmission source IP address, and the communication terminal 30A has the destination IP address. An IP address is set. Therefore, when a packet addressed to the communication terminal 30A is received from the server (Server) 40, the table search unit in the packet transfer function unit 33 sets the first processing rule from the top of the table in FIG. Search for matching processing rules. Then, the action execution unit in the packet transfer function unit 33 transfers the received packet from the port connected to the protocol stack unit 32 of the communication terminal 30A according to the contents indicated in the instruction field. Note that the communication terminal 30A requests the control device to set a processing rule when there is no processing rule corresponding to the received packet.

また、図12の例では、第1の実施形態と同様に、各処理規則の失効条件として、100Mbyte、10Mbyteといった値(しきい値)が設定されている。この場合、パケット転送機能部33内部のテーブル管理部は、図11の上から1番目の処理規則の統計情報(Counters)が100Mbyteを超えた場合に、当該処理規則を削除する。また、パケット転送機能部33内部のテーブル管理部は、図12の上から2番目の処理規則の統計情報(Counters)が10Mbyteを超えた場合に、当該処理規則を削除する。   In the example of FIG. 12, as in the first embodiment, values (threshold values) such as 100 Mbytes and 10 Mbytes are set as the revocation conditions for each processing rule. In this case, the table management unit in the packet transfer function unit 33 deletes the processing rule when the statistical information (Counters) of the first processing rule from the top of FIG. 11 exceeds 100 Mbytes. In addition, when the statistical information (Counters) of the second processing rule from the top in FIG. 12 exceeds 10 Mbytes, the table management unit in the packet transfer function unit 33 deletes the processing rule.

また、パケット転送機能部33は、図12のテーブルの1番目と2番目の処理規則の統計情報(Counters)から統計値を求め、その統計値と各々の処理規則の失効条件とをそれぞれ比較してもよい。統計値は、例えば、各処理規則の統計情報を合算することで求められる。例えば、求めた統計値が10Mbyteだった場合、統計値は、図12に例示されたテーブルの2番目の処理規則の失効条件に合致する。この場合、テーブルの2番目の処理規則は削除される。   Further, the packet transfer function unit 33 obtains a statistical value from the statistical information (Counters) of the first and second processing rules in the table of FIG. 12, and compares the statistical value with the revocation condition of each processing rule. May be. The statistical value is obtained, for example, by adding the statistical information of each processing rule. For example, when the calculated statistical value is 10 Mbytes, the statistical value matches the revocation condition of the second processing rule in the table illustrated in FIG. In this case, the second processing rule in the table is deleted.

また、例えば、パケット転送機能部33は、テーブルDBに格納された処理規則のうち、所定の条件に対応する処理規則に対応する統計情報から統計値を算出する。例えば、パケット転送機能部33は、所定のポートから入力されたパケットを処理するための処理規則や、所定のポートへパケットを出力するための処理規則に対応する統計情報(Counters)から統計値を算出する。通信端末30Aが、複数の通信ポート(例えば、3G通信用ポート、WiFi通信用ポート、WiMAX通信用ポート等)を備えている場合、複数の通信ポートのうちの所定の通信ポート(例えば3G通信用ポート)を介してパケットの送受信するための処理規則に対応する統計情報(Counters)から統計値を算出する。   For example, the packet transfer function unit 33 calculates a statistical value from statistical information corresponding to a processing rule corresponding to a predetermined condition among the processing rules stored in the table DB. For example, the packet transfer function unit 33 obtains a statistical value from statistical information (Counters) corresponding to a processing rule for processing a packet input from a predetermined port or a processing rule for outputting a packet to a predetermined port. calculate. When the communication terminal 30A includes a plurality of communication ports (for example, 3G communication port, WiFi communication port, WiMAX communication port, etc.), a predetermined communication port (for example, for 3G communication) among the plurality of communication ports A statistical value is calculated from statistical information (Counters) corresponding to a processing rule for transmitting and receiving a packet via a port.

パケット転送機能部33は、例えば、制御装置10からの失効条件の更新の指示に基づいて、処理規則の失効条件を更新する。パケット転送機能部33内の失効条件管理部は、例えば、図12に示すテーブルの上から1番目の処理規則の失効条件である100Mbyte(しきい値)を、制御装置10からの指示により、200Mbyteに更新する。また、パケット転送機能部33は、例えば、図12に示すテーブルの上から2番目の処理規則の失効条件である10Mbyteを、制御装置10からの指示により、20Mbyteに更新する。また、パケット転送機能部33は、失効条件がパケットの数で設定されている場合、そのパケットの数を更新する。   For example, the packet transfer function unit 33 updates the revocation condition of the processing rule based on the revocation condition update instruction from the control device 10. For example, the revocation condition management unit in the packet transfer function unit 33 sets 100 Mbytes (threshold value), which is the revocation condition of the first processing rule from the top of the table shown in FIG. Update to Further, for example, the packet transfer function unit 33 updates 10 Mbytes, which is the revocation condition of the second processing rule from the top of the table shown in FIG. 12, to 20 Mbytes according to an instruction from the control device 10. Further, when the revocation condition is set by the number of packets, the packet transfer function unit 33 updates the number of the packets.

パケット転送機能部33は、処理規則の失効条件が設定されていない場合に、新規に失効条件を設定してもよい。パケット転送機能部33は、例えば、失効条件が設定されていない(例えば失効条件がブランクの)処理規則に対して、失効条件として100Mbyteというしきい値を設定する。また、パケット転送機能部33は、すでに失効した処理規則の失効条件を更新し、その処理規則を有効にして、その処理規則による受信パケットの処理を再開させてもよい。   The packet transfer function unit 33 may newly set a revocation condition when the revocation condition of the processing rule is not set. For example, the packet transfer function unit 33 sets a threshold value of 100 Mbytes as a revocation condition for a processing rule for which a revocation condition is not set (for example, the revocation condition is blank). Further, the packet transfer function unit 33 may update the revocation condition of the processing rule that has already expired, validate the processing rule, and resume the processing of the received packet according to the processing rule.

パケット転送機能部33は、処理規則の失効条件を更新し、その処理規則の統計情報(Counter)は維持する。つまり、パケット転送機能部33は、失効条件が更新されても、失効条件が更新されるまでに計測された統計情報を、更新せずに維持する。よって、転送処理部21は、失効条件が更新されても、統計情報を継続して計測できる。   The packet transfer function unit 33 updates the revocation condition of the processing rule, and maintains the statistical information (Counter) of the processing rule. That is, even if the revocation condition is updated, the packet transfer function unit 33 maintains the statistical information measured until the revocation condition is updated without being updated. Therefore, the transfer processing unit 21 can continuously measure statistical information even when the revocation condition is updated.

パケット転送機能部33は、例えば、制御装置10から、失効条件の更新の指示を受ける。もちろん、パケット転送機能部33に失効条件の更新を指示するのは、制御装置10に限られず、例えば、課金サーバ50であってもよいし、他の装置であってもよい。   For example, the packet transfer function unit 33 receives an instruction to update the revocation condition from the control device 10. Of course, the instruction to update the revocation condition to the packet transfer function unit 33 is not limited to the control device 10, and may be, for example, the billing server 50 or another device.

なお、パケット転送機能部33は、失効条件が更新された処理規則について、更新後の失効条件に基づきその処理規則を削除又は失効する。パケット転送機能部33は、例えば、図12に示すテーブルの上から1番目の処理規則の失効条件が200Mbyteに更新された場合、統計情報(Counters)が200Mbyteを超えるまで当該処理規則を削除又は失効しない。   Note that the packet transfer function unit 33 deletes or invalidates the processing rule for which the revocation condition has been updated based on the revocation condition after the update. For example, when the invalidation condition of the first processing rule from the top of the table shown in FIG. 12 is updated to 200 Mbytes, the packet transfer function unit 33 deletes or invalidates the processing rule until the statistical information (Counters) exceeds 200 Mbytes. do not do.

以上のような処理規則は、パケット転送ノード20−1〜20−3にも同様に設定されてもよい。   The processing rules as described above may be similarly set in the packet forwarding nodes 20-1 to 20-3.

制御装置10は、処理規則を削除後、通信端末30Aのパケット転送機能部33及びパケット転送ノード20−1〜20−3に、削除した処理規則に対応する後続のパケットを廃棄する新たな処理規則を設定してもよい。これにより、統計値が所定のしきい値を超えたパケットのトラフィックを制限することができる。   After deleting the processing rule, the control device 10 discards the subsequent packet corresponding to the deleted processing rule to the packet transfer function unit 33 and the packet transfer nodes 20-1 to 20-3 of the communication terminal 30A. May be set. Thereby, it is possible to limit the traffic of packets whose statistical values exceed a predetermined threshold.

また、制御装置10は、処理規則の削除後、パケット転送機能部33およびパケット転送ノード20−1〜20−3に、削除した処理規則に対応する後続のパケットの転送方法を規定した新たな処理規則を設定し、更に、パケット転送機能部33とパケット転送ノード20−1〜20−3のうちの所定のノードに対してトラフィックシェーピングの指示をしてもよい。トラフィックシェーピングとは、例えば、統計値がしきい値を超過した処理規則に対応するパケットフローの転送レートを制御することを意味する。転送レートの制御とは、例えば、パケットフローを遅延させる処理や転送レートが所定の値を超えないように制御する処理を意味する。但し、転送レートの制御は、パケットフローを遅延させる処理や転送レートが所定の値を超えないように制御する処理に限定されない。   In addition, after the processing rule is deleted, the control device 10 causes the packet transfer function unit 33 and the packet transfer nodes 20-1 to 20-3 to perform a new process that defines the transfer method of the subsequent packet corresponding to the deleted processing rule. A rule may be set and a traffic shaping instruction may be given to a predetermined node among the packet forwarding function unit 33 and the packet forwarding nodes 20-1 to 20-3. Traffic shaping means, for example, controlling the transfer rate of a packet flow corresponding to a processing rule whose statistical value exceeds a threshold value. The transfer rate control means, for example, a process for delaying the packet flow or a process for controlling the transfer rate so as not to exceed a predetermined value. However, the control of the transfer rate is not limited to the process of delaying the packet flow or the process of controlling the transfer rate so as not to exceed a predetermined value.

制御装置10は、統計値がしきい値を超過した処理規則に対応するパケットフローだけでなく、そのパケットフローに対応する別のパケットフローに対しても転送レートを制御することを所定のノードに指示してもよい。例えば、統計値がしきい値を超過した処理規則に対応するパケットフローが、通信端末30Aからサーバ(Server)40に送信されるフローであり、そのパケットフローに対応する別のパケットフローが、サーバ(Server)40から通信端末30Aに送信されるフローである。   The control device 10 notifies a predetermined node to control the transfer rate not only for the packet flow corresponding to the processing rule whose statistical value exceeds the threshold value but also for another packet flow corresponding to the packet flow. You may instruct. For example, a packet flow corresponding to a processing rule whose statistical value exceeds a threshold is a flow transmitted from the communication terminal 30A to the server (Server) 40, and another packet flow corresponding to the packet flow is a server This is a flow transmitted from (Server) 40 to communication terminal 30A.

続いて、本実施形態の動作について図面を参照して詳細に説明する。図13は、本発明
の第2の実施形態に係る通信システムの動作例を説明するためのシーケンス図である。また、以下の説明では、通信端末30Aのパケット転送機能部33およびパケット転送ノード20−1〜20−3には、初期状態において、通信端末30Aとサーバ(Server)40間の通信を実現する処理規則が設定されていないものとする。
Next, the operation of this embodiment will be described in detail with reference to the drawings. FIG. 13 is a sequence diagram for explaining an operation example of the communication system according to the second embodiment of the present invention. In the following description, the packet transfer function unit 33 and the packet transfer nodes 20-1 to 20-3 of the communication terminal 30A have a process for realizing communication between the communication terminal 30A and the server (Server) 40 in the initial state. It is assumed that no rules are set.

図13を参照すると、まず、通信端末30Aは、課金サーバ50と、通信量に応じた契約を行う。課金サーバ50は、通信端末30Aの契約情報を管理する(図13のS200)。   Referring to FIG. 13, first, the communication terminal 30 </ b> A makes a contract with the accounting server 50 according to the traffic. The accounting server 50 manages the contract information of the communication terminal 30A (S200 in FIG. 13).

課金サーバ50は、通信端末30Aの契約情報を制御装置10に通知する(図13のS201)。   The accounting server 50 notifies the contract information of the communication terminal 30A to the control device 10 (S201 in FIG. 13).

通信端末30Aのパケット転送機能部33が、プロトコルスタック部32からサーバ(Server)40宛てのユーザパケットを受信すると、パケット転送機能部33は、テーブルから受信パケットに適合するマッチフィールドを持つ処理規則を検索する。パケット転送機能部33は、パケットに適合する処理規則が見つからない、若しくは、制御装置10への問い合わせを規定する処理規則を検索し、制御装置10に対し、処理規則の設定を要求する(図13のS202;Packet−In)。   When the packet transfer function unit 33 of the communication terminal 30A receives a user packet addressed to the server (Server) 40 from the protocol stack unit 32, the packet transfer function unit 33 sets a processing rule having a match field that matches the received packet from the table. Search for. The packet transfer function unit 33 searches for a processing rule that does not find a processing rule that matches the packet or specifies an inquiry to the control device 10, and requests the control device 10 to set the processing rule (FIG. 13). S202; Packet-In).

前記処理規則の設定要求を受けた制御装置10は、経路・アクション計算部14にて、図12に示すような失効条件付きの処理規則(両方向)を作成し、パケット転送機能部33に設定する(図13のS203;FlowMod)。ここで、制御装置10は、課金サーバ50から通信された契約情報に基づき、通信端末30Aが通信可能なデータ量を決定する。制御装置10は、例えば、そのデータ量を100Mbyteと決定する。制御装置10は、決定したデータ量を、処理規則の失効条件に設定する。   Upon receiving the processing rule setting request, the control device 10 creates a processing rule with a revocation condition (both directions) as shown in FIG. 12 in the route / action calculation unit 14 and sets it in the packet transfer function unit 33. (S203 in FIG. 13; FlowMod). Here, based on the contract information communicated from billing server 50, control device 10 determines the amount of data that communication terminal 30A can communicate with. For example, the control device 10 determines the data amount as 100 Mbytes. The control device 10 sets the determined data amount as a revocation condition of the processing rule.

失効条件管理部11は、課金サーバ50から通知された契約情報に基づいて、受信パケットの送信元である通信端末30Aと所定の通信相手(例えば、サーバ(Server)40)とが通信可能か否かを判断してもよい。この場合、失効条件管理部11は、通信可能と判断したことに応じて、処理規則を作成する。   The revocation condition management unit 11 determines whether or not the communication terminal 30A that is the transmission source of the received packet and the predetermined communication partner (for example, the server (Server) 40) can communicate based on the contract information notified from the billing server 50. It may be judged. In this case, the revocation condition management unit 11 creates a processing rule in response to determining that communication is possible.

制御装置10は、通信端末30Aのパケット転送機能部33に対し、S202で受信したパケットをパケット転送ノード20に戻し、パケット転送ノード20に転送するよう指示する(図13のS204;Packet−Out)。   The control device 10 instructs the packet transfer function unit 33 of the communication terminal 30A to return the packet received in S202 to the packet transfer node 20 and transfer it to the packet transfer node 20 (S204 in FIG. 13; Packet-Out). .

前記指示に基づいて、通信端末30Aのパケット転送機能部33が、パケット転送ノード20−1にパケットを転送すると、パケット転送ノード20−1〜20−3は、それぞれ設定された処理規則に従って、パケットをサーバ(Server)40に向けて転送する(図13のS205)。   When the packet forwarding function unit 33 of the communication terminal 30A forwards the packet to the packet forwarding node 20-1 based on the instruction, the packet forwarding nodes 20-1 to 20-3 follow the set processing rules. Is transferred to the server (Server) 40 (S205 in FIG. 13).

パケット転送ノード20−1〜20−3は、それぞれ設定された処理規則に従って、通信端末30Aとサーバ(Server)40間で送受信されるユーザパケットを転送する(図13のS206)。   The packet transfer nodes 20-1 to 20-3 transfer user packets transmitted and received between the communication terminal 30A and the server (Server) 40 in accordance with the set processing rules (S206 in FIG. 13).

通信端末30Aは、契約で規定さえた所定の通信量を超えて通信するため、課金サーバ50に、追加通信量に対応する追加料金を支払う(図13のS207)。   The communication terminal 30A pays an additional fee corresponding to the additional communication amount to the charging server 50 in order to communicate exceeding the predetermined communication amount specified in the contract (S207 in FIG. 13).

課金サーバ50は、通信端末30Aが契約を更新したことに応じて、更新後の契約情報を制御装置10に通知する(図13のS208)。   The accounting server 50 notifies the control apparatus 10 of the updated contract information in response to the communication terminal 30A updating the contract (S208 in FIG. 13).

制御装置10は、更新後の契約情報が通知されたことに基づいて、パケット転送ノード20に対して、対応する処理規則の失効条件の更新を指示する。パケット転送ノード20は、失効条件の更新の指示に応じて、処理規則の失効条件を変更する(図13のS209)。なお、制御装置10は、更新された失効条件を含む処理規則をパケット転送ノード20に通知してもよい。   Based on the notification of the updated contract information, the control device 10 instructs the packet forwarding node 20 to update the revocation condition of the corresponding processing rule. The packet forwarding node 20 changes the revocation condition of the processing rule in response to the revocation condition update instruction (S209 in FIG. 13). Note that the control device 10 may notify the packet forwarding node 20 of a processing rule including the updated revocation condition.

その後、パケット転送ノード20は、失効条件が更新された処理規則に従って、パケットを処理する(図13のS210)。   Thereafter, the packet forwarding node 20 processes the packet according to the processing rule with the revocation condition updated (S210 in FIG. 13).

以上のように、本発明は、通信端末30A側に、パケット転送機能部33を内蔵させた構成例でも実現できる。また、本実施形態は、上記した第1の実施形態に比べ、通信端末内部で、パケット廃棄等のフロー制御を行うことが可能となるため、パケット転送ノード20に流れるトラフィックを減らし、パケット転送ノード20および制御装置10の負荷を低減させることができるという効果を奏する。なお、失効条件が処理規則に含まれている構成例を示したが、失効条件が、処理規則とは別に、通信端末30Aに設定されていてもよい。   As described above, the present invention can also be realized by a configuration example in which the packet transfer function unit 33 is built in the communication terminal 30A side. In addition, compared with the first embodiment described above, this embodiment can perform flow control such as packet discard inside the communication terminal, so that the traffic flowing to the packet forwarding node 20 is reduced, and the packet forwarding node 20 and the load on the control device 10 can be reduced. In addition, although the configuration example in which the revocation condition is included in the processing rule is shown, the revocation condition may be set in the communication terminal 30A separately from the processing rule.

[第3の実施形態]
続いて、制御装置の構成例に変更を加えた第3の実施形態について図面を参照して説明する。図14は、第3の実施形態に係る制御装置10Aの構成例を表した図である。第1の実施形態及び第2の実施形態の制御装置との相違点は、失効条件管理部11が契約情報管理部11Aに置き換えられている点である。その他は、第1の実施形態及び第2の実施形態と同等であるため、以下その相違点を中心に説明する。
[Third Embodiment]
Next, a third embodiment in which a configuration example of the control device is changed will be described with reference to the drawings. FIG. 14 is a diagram illustrating a configuration example of a control device 10A according to the third embodiment. The difference from the control devices of the first embodiment and the second embodiment is that the revocation condition management unit 11 is replaced with a contract information management unit 11A. Others are the same as those in the first embodiment and the second embodiment, and thus the differences will be mainly described below.

本実施形態の契約情報管理部11Aは、通信端末30の契約情報を管理し、経路・アクション計算部15からの要求に応じて、該契約情報を参照して失効条件を生成する。また、この契約情報を経路・アクション計算部15に提供し、経路・アクション計算部15が経路計算に契約情報を用いてもよい。例えば、通信端末30のユーザが、10Mbyteを上限としてサーバ(Server)40と通信できるという契約を結んでいる場合、契約情報管理部11Aは、経路・アクション計算部15に、失効条件として10Mbyteを設定した処理規則を作成するよう通知する。なお、この場合、契約情報管理部11Aは、失効条件として10Mbyteを設定した複数の処理規則を作成するように通知してもよい。   The contract information management unit 11A of the present embodiment manages the contract information of the communication terminal 30, and generates a revocation condition with reference to the contract information in response to a request from the route / action calculation unit 15. Alternatively, the contract information may be provided to the route / action calculation unit 15 so that the route / action calculation unit 15 may use the contract information for route calculation. For example, if the user of the communication terminal 30 has a contract that allows communication with the server (Server) 40 with an upper limit of 10 Mbytes, the contract information management unit 11A sets 10 Mbytes as an expiration condition in the route / action calculation unit 15 Notify you to create a processing rule. In this case, the contract information management unit 11A may notify to create a plurality of processing rules in which 10 Mbytes are set as the revocation condition.

また、前記失効条件による処理規則の削除が行われることがなく、タイムアウトや通信端末30からの通信終了通知やログアウト動作等により通信が終了した場合、制御装置10Aが、該当する処理規則の統計情報(Counters)を収集し、契約情報管理部11Aに、通信端末30のユーザの残りの通信可能な統計値を記録するようにしてもよい。   Further, when the processing rule is not deleted due to the revocation condition and communication is terminated due to a timeout, a communication end notification from the communication terminal 30, a logout operation, or the like, the control device 10A provides statistical information on the corresponding processing rule. (Counters) may be collected, and the remaining communicable statistics of the user of the communication terminal 30 may be recorded in the contract information management unit 11A.

以下、本実施形態の動作は、第1、第2の実施形態と同様であるので説明を省略する。   Hereinafter, the operation of the present embodiment is the same as that of the first and second embodiments, and thus the description thereof is omitted.

以上のように、本実施形態によれば、契約情報に基づいて失効条件を柔軟に設定することが可能となる。   As described above, according to the present embodiment, it is possible to flexibly set the revocation condition based on the contract information.

[第4の実施形態]
続いて、第4の実施形態について図面を参照して説明する。上記した第1〜第3の実施形態との相違点は、テーブルが、パケットを処理するために処理規則を格納する第1のテーブルと、その第1のテーブルを参照するために所定の条件を管理する第2のテーブルに分けられている点である。その他は、第1〜第3の実施形態と同等であるため、以下その相違点を中心に説明する。
[Fourth Embodiment]
Next, a fourth embodiment will be described with reference to the drawings. The difference from the first to third embodiments described above is that the table has a first table for storing a processing rule for processing a packet and a predetermined condition for referring to the first table. It is divided into the second table to be managed. Others are the same as those in the first to third embodiments, and thus the differences will be mainly described below.

通信端末30Aのパケット転送機能部33やパケット転送ノード20の転送処理部21は、第2のテーブル(例えば、図15のTable 0)が管理する所定の条件に基づいて、パケットを処理するための処理規則を格納する第1のテーブル(例えば、図15のTable 1)を参照できるか否かを判定する。所定の条件は、例えば、通信量や第1のテーブルに処理規則が設定されてから経過した時間等に基づいて定められる。但し、所定の条件は、通信量や経過時間に限定されない。   The packet transfer function unit 33 of the communication terminal 30A and the transfer processing unit 21 of the packet transfer node 20 are for processing packets based on a predetermined condition managed by the second table (for example, Table 0 in FIG. 15). It is determined whether or not the first table (for example, Table 1 in FIG. 15) storing the processing rule can be referred to. The predetermined condition is determined based on, for example, the amount of communication or the time that has elapsed since the processing rule was set in the first table. However, the predetermined condition is not limited to the communication amount or the elapsed time.

図15は、図11に示すような通信端末30A内にパケット転送機能部33が備えられている構成において、パケット転送機能部33に設定されるテーブルの一例を示す図である。図15の上段のテーブル(Table 0)は、所定の条件(例えば、Table 0の失効条件)として、下段のテーブル(Table 1)に格納された所定の処理規則によるパケットの処理量を管理する。図15では、所定の条件の一例である失効条件として、“100Mbyte”の処理量が規定されている。例えば、パケット転送機能部33は、サーバ(Server)40から通信端末30Aに対して送信されるパケットフローに対応する処理規則(Table 1の1番目のエントリ)と、通信端末30Aからサーバ(Server)40に送信されるパケットフローに対応する処理規則(Table 1の2番目のエントリ)によるパケットの処理量を、統計値(Table 0のCounters)として計測する。なお、統計値の管理対象となる処理規則の選択方法は任意であり、上述のようにパケットフローの宛先・送信元に基づいて選択する方法に限定されない。   FIG. 15 is a diagram illustrating an example of a table set in the packet transfer function unit 33 in a configuration in which the packet transfer function unit 33 is provided in the communication terminal 30A as illustrated in FIG. The upper table (Table 0) in FIG. 15 manages the processing amount of packets according to a predetermined processing rule stored in the lower table (Table 1) as a predetermined condition (for example, an expiration condition of Table 0). In FIG. 15, a processing amount of “100 Mbytes” is defined as an expiration condition that is an example of a predetermined condition. For example, the packet transfer function unit 33 includes a processing rule (first entry of Table 1) corresponding to a packet flow transmitted from the server (Server) 40 to the communication terminal 30A, and the communication terminal 30A to the server (Server). The processing amount of the packet according to the processing rule (second entry of Table 1) corresponding to the packet flow transmitted to 40 is measured as a statistical value (Counters of Table 0). Note that the method for selecting the processing rule to be the statistical value management target is arbitrary, and is not limited to the method for selecting based on the destination / source of the packet flow as described above.

図15の例では、テーブル(Table 0)は、統計値が100Mbyteを超えるまで、図15の下段のテーブル(Table 1)による処理を許容する処理内容(Goto Table 1)が定められた処理規則が設定されている。   In the example of FIG. 15, the table (Table 0) has a processing rule in which processing contents (Goto Table 1) that allow processing by the lower table (Table 1) in FIG. 15 are determined until the statistical value exceeds 100 Mbytes. Is set.

なお、図15の上段のテーブル(Table 0)は、所定の条件として、所定の処理規則が下段のテーブル(Table 1)に設定されてから経過した時間を、統計値として計測してもよい。   The upper table (Table 0) in FIG. 15 may measure, as a predetermined condition, the time that has elapsed since a predetermined processing rule was set in the lower table (Table 1) as a statistical value.

図15の例において、上段のテーブル(Table 0)は、1つのエントリしか設定されていないが、複数のエントリが設定されてもよい。例えば、パケット転送ノード20が複数の通信端末30Aが送受信するパケットの転送を行う場合、パケット転送ノード20のTable 0は、複数の通信端末30Aのそれぞれに対応した複数のエントリを保持してもよい。この場合、各エントリの失効条件には、そのエントリに対応する通信端末30A用の条件が設定されている。また、各エントリの統計値(Counters)には、そのエントリに対応する通信端末30A用の統計値が格納される。パケット転送機能部33は、例えば、パケットフローの送信元アドレスを参照して通信端末30Aを識別して、Table 0の対応するエントリに統計値を格納する。   In the example of FIG. 15, only one entry is set in the upper table (Table 0), but a plurality of entries may be set. For example, when the packet transfer node 20 transfers a packet transmitted / received by a plurality of communication terminals 30A, Table 0 of the packet transfer node 20 may hold a plurality of entries corresponding to each of the plurality of communication terminals 30A. . In this case, a condition for the communication terminal 30A corresponding to the entry is set as the revocation condition of each entry. Further, the statistical value for each communication terminal 30A corresponding to the entry is stored in the statistical value (Counters) of each entry. For example, the packet transfer function unit 33 identifies the communication terminal 30A with reference to the source address of the packet flow, and stores the statistical value in the corresponding entry of Table 0.

一方、図15の下段のテーブル(Table 1)には、一例として、通信端末30A内のプロトコルスタック部32と、サーバ(Server)40間の通信を実現する処理規則が設定されている。なお、図15の下段のテーブル(Table 1)には、失効条件は設定されていない。   On the other hand, in the lower table (Table 1) in FIG. 15, as an example, a processing rule for realizing communication between the protocol stack unit 32 in the communication terminal 30A and the server (Server) 40 is set. Note that the revocation condition is not set in the lower table (Table 1) in FIG.

通信端末30Aのパケット転送機能部33やパケット転送ノード20の処理規則管理部23は、統計値が所定の条件を満たした場合(例えば、処理量が所定のしきい値を超過した場合)、Table 1に格納されている処理規則に対して所定の処理を実行する。例えば、パケット転送機能部33やテーブル管理部12は、Table 1の処理規則を削除する処理、処理規則に規定されたパケットの処理方法をパケットの廃棄に書き換える処理等を実行する。   The packet transfer function unit 33 of the communication terminal 30A and the processing rule management unit 23 of the packet transfer node 20 have the table value when the statistical value satisfies a predetermined condition (for example, when the processing amount exceeds a predetermined threshold). A predetermined process is executed with respect to the process rule stored in 1. For example, the packet transfer function unit 33 and the table management unit 12 execute a process of deleting the processing rule of Table 1 and a process of rewriting the packet processing method defined in the processing rule to a packet discard.

通信端末30Aのパケット転送機能部33やパケット転送ノード20の処理規則管理部23は、例えば、制御装置10からの失効条件の更新の指示に基づいて、処理規則の失効条件を更新する。パケット転送機能部33や処理規則管理部23は、例えば図15の上段のテーブル(Table 0)は、所定の条件(例えば、Table 0の失効条件)を、制御装置10からの指示により更新する。図15の例では、パケット転送機能部33や処理規則管理部23は、図15の上段のテーブル(Table 0)内の失効条件である100Mbyteを、制御装置10からの指示により、200Mbyteに更新する。また、パケット転送機能部33は、失効条件がパケットの数で設定されている場合、そのパケットの数を更新する。   For example, the packet transfer function unit 33 of the communication terminal 30A and the processing rule management unit 23 of the packet transfer node 20 update the revocation condition of the processing rule based on an instruction to update the revocation condition from the control device 10, for example. The packet transfer function unit 33 and the processing rule management unit 23 update, for example, a predetermined condition (for example, a revocation condition of Table 0) in the upper table (Table 0) in FIG. In the example of FIG. 15, the packet transfer function unit 33 and the processing rule management unit 23 update 100 Mbytes, which is the revocation condition in the upper table (Table 0) of FIG. 15, to 200 Mbytes according to an instruction from the control device 10. . Further, when the revocation condition is set by the number of packets, the packet transfer function unit 33 updates the number of the packets.

以上のような2つのテーブルを持つ本実施形態によれば、失効条件が成立した場合であっても、図15の上段のフロー制御用のテーブルから処理規則を削除すればよく、図15の下段のパケット処理用のテーブルを更新する必要がないという利点がある。また、通信端末30Aが契約を更新した場合であっても、図15の上段のフロー制御用のテーブルから処理規則の失効条件を更新すればよく、図15の下段のパケット処理用のテーブルを更新する必要がないという利点がある。これにより、通信端末30A、パケット転送ノード20および制御装置10それぞれの処理規則の管理負荷を低減させることが可能になる。   According to the present embodiment having the two tables as described above, even if the revocation condition is satisfied, the processing rule may be deleted from the upper flow control table in FIG. There is an advantage that it is not necessary to update the packet processing table. Even if the communication terminal 30A updates the contract, the processing rule revocation condition may be updated from the upper flow control table in FIG. 15, and the lower packet processing table in FIG. 15 is updated. There is an advantage that there is no need to do. Thereby, it becomes possible to reduce the management load of the processing rules of the communication terminal 30A, the packet forwarding node 20, and the control device 10.

以上、各実施形態を説明したが、本発明は、上記した実施形態に限定されるものではなく、本発明の基本的技術的思想を逸脱しない範囲で、更なる変形・置換・調整を加えることができる。本発明は、各実施形態を任意に組み合わせた実施形態も含む。   Each embodiment has been described above, but the present invention is not limited to the above-described embodiment, and further modifications, substitutions, and adjustments are made without departing from the basic technical idea of the present invention. Can do. The present invention also includes embodiments in which the embodiments are arbitrarily combined.

例えば、上記した各実施形態で示したパケット転送ノード20、制御装置10、通信端末30、サーバ(Server)40および課金サーバ50の数や接続構成は、本発明を簡単に説明するために示したものであり、これらの数や接続構成は、適宜変更することが可能である。各実施形態は関連技術であるオープンフローを参照しているが、本発明はオープンフローを用いることに限定されない。例えば、オープンフローに限らず、パケットの転送経路を制御装置が集中制御する通信アーキテクチャは、本発明に適用できる。   For example, the numbers and connection configurations of the packet forwarding node 20, the control device 10, the communication terminal 30, the server (Server) 40, and the billing server 50 shown in each of the above embodiments are shown for the purpose of briefly explaining the present invention. These numbers and connection configurations can be changed as appropriate. Each embodiment refers to OpenFlow, which is a related technology, but the present invention is not limited to using OpenFlow. For example, not only the open flow but also a communication architecture in which the control device centrally controls the packet transfer path can be applied to the present invention.

また、上記した実施形態では、処理規則を用いたパケットの転送後に、処理規則の失効条件を用いた処理規則の削除判定を行うものとして説明したが、テーブル管理部が所定の時間間隔で、処理規則の削除判定を行うようにしてもよい。   Further, in the above-described embodiment, it has been described that the processing rule deletion determination using the processing rule revocation condition is performed after the transfer of the packet using the processing rule. However, the table management unit performs processing at a predetermined time interval. A rule deletion determination may be performed.

また、上記した実施形態では、処理規則の失効条件を用いて処理規則を削除するものとして説明したが、処理規則の処理内容をパケット廃棄(Drop)などに書き換えるようにしてもよい。   In the above-described embodiment, the processing rule is deleted using the revocation condition of the processing rule. However, the processing content of the processing rule may be rewritten to packet discard (Drop) or the like.

なお、上記の特許文献および非特許文献の各開示を、本書に引用をもって繰り込むものとする。本発明の全開示(請求の範囲を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態の変更・調整が可能である。また、本発明の請求の範囲の枠内において種々の開示要素の多様な組み合わせ、ないし選択が可能である。すなわち、本発明は、請求の範囲を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。特に、本書に記載した数値範囲については、当該範囲内に含まれる任意の数値ないし小範囲が、別段の記載のない場合でも具体的に記載されているものと解釈されるべきである。   Each disclosure of the above-mentioned patent document and non-patent document is incorporated herein by reference. Within the scope of the entire disclosure (including claims) of the present invention, the embodiment can be changed and adjusted based on the basic technical concept. Various combinations and selections of various disclosed elements are possible within the scope of the claims of the present invention. That is, the present invention of course includes various variations and modifications that could be made by those skilled in the art according to the entire disclosure including the claims and the technical idea. In particular, with respect to the numerical ranges described in this document, any numerical value or small range included in the range should be construed as being specifically described even if there is no specific description.

10、10A 制御装置
11 失効条件管理部
11A 契約情報管理部
12 通信端末位置管理部
13 トポロジ管理部
14 制御メッセージ処理部
15 経路・アクション計算部
16 パケット転送ノード管理部
17 処理規則管理部
18 処理規則データベース
19 ノード通信部
20 20−1、20−2、20−3 パケット転送ノード
21 転送処理部
22 テーブルデータベース(DB)
23 処理規則管理部
24 失効条件管理部
25 通信部
30、30A 通信端末
31−1〜31−N アプリケーション部
32 プロトコルスタック部
33 パケット転送機能部
40 サーバ(Server)
50 課金サーバ
210 テーブル検索部
211 アクション実行部
DESCRIPTION OF SYMBOLS 10, 10A Control apparatus 11 Revocation condition management part 11A Contract information management part 12 Communication terminal position management part 13 Topology management part 14 Control message processing part 15 Path | route / action calculation part 16 Packet forwarding node management part 17 Processing rule management part 18 Processing rule Database 19 Node communication unit 20 20-1, 20-2, 20-3 Packet transfer node 21 Transfer processing unit 22 Table database (DB)
DESCRIPTION OF SYMBOLS 23 Processing rule management part 24 Revocation condition management part 25 Communication part 30, 30A Communication terminal 31-1 to 31-N Application part 32 Protocol stack part 33 Packet transfer function part 40 Server (Server)
50 Billing server 210 Table search unit 211 Action execution unit

Claims (18)

制御装置から設定された処理規則に基づいて、前記処理規則に対応するパケットを処理するパケット処理部と、
前記処理規則による処理量から求められる統計値を計測する転送処理部と、
前記統計値と判定条件とに基づいて、前記処理規則が有効か否かを決定する処理規則管理部と、を備え
前記処理規則管理部は、前記判定条件の更新に応じて、更新された前記判定条件により前記処理規則が有効か否かを決定し、前記処理規則が有効でないと決定した後も、前記処理規則の統計値を維持して、前記統計値の計測を継続させることを特徴とする通信装置。
A packet processing unit for processing a packet corresponding to the processing rule based on the processing rule set by the control device;
A transfer processing unit that measures a statistical value obtained from the processing amount according to the processing rule;
A processing rule management unit that determines whether or not the processing rule is valid based on the statistical value and the determination condition ,
The processing rule management unit determines whether or not the processing rule is valid according to the updated judgment condition in response to the update of the judgment condition, and after determining that the processing rule is not valid, the processing rule while maintaining the statistics, communication apparatus according to claim Rukoto allowed to continue measurement of the statistical value.
前記処理規則管理部は、継続して計測された前記統計値と前記更新された判定条件とに基づいて、前記処理規則が有効か否かを決定する
ことを特徴とする請求項1の通信装置。
The communication device according to claim 1, wherein the processing rule management unit determines whether or not the processing rule is valid based on the statistical value continuously measured and the updated determination condition. .
前記判定条件はしきい値を含み、
前記処理規則管理部は、前記判定条件の更新に応じて、前記しきい値が更新された前記判定条件により、前記処理規則が有効か否かを決定する
ことを特徴とする請求項1または2の通信装置。
The determination condition includes a threshold value,
The processing rule management unit determines whether or not the processing rule is valid according to the determination condition in which the threshold is updated, according to the update of the determination condition. Communication equipment.
前記処理規則管理部は、前記統計値が前記しきい値を超過した処理規則を無効にすることを特徴とする請求項3の通信装置。   The communication apparatus according to claim 3, wherein the processing rule management unit invalidates a processing rule whose statistical value exceeds the threshold value. 前記処理規則管理部は、無効となった前記処理規則に対応するパケットについて、前記制御装置に対して新たな処理規則を要求することを特徴とする請求項4の通信装置。   5. The communication apparatus according to claim 4, wherein the processing rule management unit requests a new processing rule from the control device for a packet corresponding to the invalid processing rule. 前記処理規則管理部は、所定の情報に基づいて更新された前記判定条件により、前記処理規則が有効か否かを決定することを特徴とする請求項1乃至5のいずれかに記載の通信装置。   6. The communication apparatus according to claim 1, wherein the processing rule management unit determines whether the processing rule is valid based on the determination condition updated based on predetermined information. . 前記処理規則管理部は、課金情報に基づいて更新された前記判定条件により、前記処理規則が有効か否かを決定することを特徴とする請求項1乃至6のいずれかに記載の通信装置。   The communication apparatus according to claim 1, wherein the processing rule management unit determines whether or not the processing rule is valid based on the determination condition updated based on billing information. 前記判定条件はしきい値を含み、
前記判定条件は、追加課金により、前記処理規則で許容される処理量が増加するように前記しきい値が更新され、
前記処理規則管理部は、前記統計値が前記しきい値を超過するか否かを監視することを特徴とする請求項1乃至7のいずれかに記載の通信装置。
The determination condition includes a threshold value,
The threshold value is updated so that the amount of processing allowed by the processing rule increases due to additional charging.
The communication apparatus according to claim 1, wherein the processing rule management unit monitors whether or not the statistical value exceeds the threshold value.
通信装置が、制御装置から設定された処理規則に基づいて、前記処理規則に対応するパケットを処理し、
前記処理規則による処理量から求められる統計値を計測し、
前記統計値と判定条件とに基づいて、前記処理規則が有効か否かを決定し、
前記判定条件の更新に応じて、更新された前記判定条件により前記処理規則が有効か否かを決定し、
前記処理規則が有効でないと決定した後も、前記処理規則の統計値を維持して、前記統計値の計測を継続することを特徴とする通信制御方法。
The communication device processes a packet corresponding to the processing rule based on the processing rule set by the control device,
Measure the statistical value obtained from the processing amount by the processing rule,
Based on the statistical value and the determination condition, determine whether the processing rule is valid,
In response to the update of the determination condition, determine whether the processing rule is valid according to the updated determination condition ,
Even after determining that the processing rule is not valid, the communication control method is characterized in that the statistical value of the processing rule is maintained and measurement of the statistical value is continued .
続して計測された前記統計値と前記更新された判定条件とに基づいて、前記処理規則が有効か否かを決定する
ことを特徴とする請求項9の通信制御方法。
Continue to based on said updated determined conditions measured the statistical value, the communication control method according to claim 9, wherein the processing rules to determine valid or not.
前記通信装置が、しきい値を含む前記判定条件の更新に応じて、前記しきい値が更新された前記判定条件により、前記処理規則が有効か否かを決定する
ことを特徴とする請求項9または10の通信制御方法。
The communication device determines whether the processing rule is valid according to the determination condition in which the threshold is updated in response to an update of the determination condition including a threshold. 9 or 10 communication control method.
前記通信装置が、前記統計値が前記しきい値を超過した処理規則を無効にする
ことを特徴とする請求項11の通信制御方法。
12. The communication control method according to claim 11, wherein the communication device invalidates a processing rule in which the statistical value exceeds the threshold value.
前記通信装置が、無効となった前記処理規則に対応するパケットについて、前記制御装置に対して新たな処理規則を要求する
ことを特徴とする請求項12の通信制御方法。
13. The communication control method according to claim 12, wherein the communication device requests a new processing rule from the control device for a packet corresponding to the invalid processing rule.
前記通信装置が、所定の情報に基づいて更新された前記判定条件により、前記処理規則が有効か否かを決定する
ことを特徴とする請求項9乃至13のいずれかに記載の通信制御方法。
The communication control method according to claim 9, wherein the communication apparatus determines whether the processing rule is valid based on the determination condition updated based on predetermined information.
前記通信装置が、課金情報に基づいて更新された前記判定条件により、前記処理規則が有効か否かを決定することを特徴とする請求項9乃至14のいずれかに記載の通信制御方法。   The communication control method according to claim 9, wherein the communication apparatus determines whether the processing rule is valid based on the determination condition updated based on billing information. 前記通信装置が、追加課金により、前記処理規則で許容される処理量が増加するように、前記判定条件に含まれるしきい値を更新し、
前記統計値が前記しきい値を超過するか否かを監視する
ことを特徴とする請求項9乃至15のいずれかに記載の通信制御方法。
The communication device updates the threshold value included in the determination condition so that the amount of processing allowed by the processing rule increases due to additional charging,
16. The communication control method according to claim 9, wherein whether or not the statistical value exceeds the threshold value is monitored.
パケットの処理規則を生成する制御装置と、
通信装置と、を備えた通信システムであって、
前記通信装置は、前記制御装置から設定された処理規則に基づいて、前記処理規則に対応するパケットを処理するパケット処理部と、
前記処理規則による処理量から求められる統計値を計測する転送処理部と、
前記統計値と判定条件とに基づいて、前記処理規則が有効か否かを決定する処理規則管理部と、を備え、
前記処理規則管理部は、前記判定条件の更新に応じて、更新された前記判定条件により前記処理規則が有効か否かを決定し、前記処理規則が有効でないと決定した後も、前記処理規則の統計値を維持して、前記統計値の計測を継続させることを特徴とする通信システム。
A control device for generating packet processing rules;
A communication system comprising: a communication device;
The communication device, based on a processing rule set from the control device, a packet processing unit that processes a packet corresponding to the processing rule;
A transfer processing unit that measures a statistical value obtained from the processing amount according to the processing rule;
A processing rule management unit that determines whether or not the processing rule is valid based on the statistical value and the determination condition,
The processing rule management unit determines whether or not the processing rule is valid according to the updated judgment condition in response to the update of the judgment condition, and after determining that the processing rule is not valid, the processing rule communication system while maintaining the statistics, and wherein the Rukoto allowed to continue measurement of the statistical value.
制御装置から設定された処理規則に基づいて、前記処理規則に対応するパケットを処理する通信装置に、
前記処理規則による処理量から求められる統計値を計測する処理と、
前記統計値と判定条件とに基づいて、前記処理規則が有効か否かを決定する処理と、
前記判定条件の更新に応じて、更新された前記判定条件により前記処理規則が有効か否かを決定する処理と、
前記処理規則が有効でないと決定した後も、前記処理規則の統計値を維持して、前記統計値の計測を継続する処理と、を実行させることを特徴とするプログラム。
Based on a processing rule set by the control device, a communication device that processes a packet corresponding to the processing rule,
A process of measuring a statistical value obtained from a processing amount according to the processing rule;
A process for determining whether or not the processing rule is valid based on the statistical value and the determination condition;
A process of determining whether or not the processing rule is valid according to the updated determination condition in response to the update of the determination condition;
A program for executing a process of maintaining the statistical value of the processing rule and continuing the measurement of the statistical value even after determining that the processing rule is not valid .
JP2014547199A 2012-03-28 2013-03-26 Communication system, control device, communication device, billing server, communication method, and program Active JP6164223B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014547199A JP6164223B2 (en) 2012-03-28 2013-03-26 Communication system, control device, communication device, billing server, communication method, and program

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2012074917 2012-03-28
JP2012074917 2012-03-28
JP2014547199A JP6164223B2 (en) 2012-03-28 2013-03-26 Communication system, control device, communication device, billing server, communication method, and program
PCT/JP2013/002057 WO2013145724A1 (en) 2012-03-28 2013-03-26 Communication system, control apparatus, communication apparatus, accounting server, communication method and program

Publications (2)

Publication Number Publication Date
JP2015515153A JP2015515153A (en) 2015-05-21
JP6164223B2 true JP6164223B2 (en) 2017-07-19

Family

ID=49259023

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014547199A Active JP6164223B2 (en) 2012-03-28 2013-03-26 Communication system, control device, communication device, billing server, communication method, and program

Country Status (2)

Country Link
JP (1) JP6164223B2 (en)
WO (1) WO2013145724A1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8498391B2 (en) * 2002-12-02 2013-07-30 Apple Inc. Methods, systems and program products for supporting prepaid service within a communication network
JP4773387B2 (en) * 2007-03-19 2011-09-14 株式会社日立製作所 Network system
WO2011108205A1 (en) * 2010-03-05 2011-09-09 日本電気株式会社 Communication system, path control apparatus, packet forwarding apparatus and path control method

Also Published As

Publication number Publication date
JP2015515153A (en) 2015-05-21
WO2013145724A1 (en) 2013-10-03

Similar Documents

Publication Publication Date Title
JP5954413B2 (en) COMMUNICATION DEVICE, CONTROL DEVICE, COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD, COMMUNICATION TERMINAL, AND PROGRAM
JP5880560B2 (en) Communication system, forwarding node, received packet processing method and program
JP5967090B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, NODE CONTROL METHOD, AND PROGRAM
JP5800019B2 (en) Communication path control system, path control device, communication path control method, and path control program
JP2013535895A (en) Communication system, node, statistical information collecting apparatus, statistical information collecting method and program
JP5943410B2 (en) COMMUNICATION DEVICE, CONTROL DEVICE, COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD, AND PROGRAM
JP2014161098A (en) Communication system, node, packet transfer method and program
JP5939298B2 (en) Communication terminal, communication method, and communication system
JP6007978B2 (en) COMMUNICATION DEVICE, CONTROL DEVICE, COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD, AND PROGRAM
JP6007977B2 (en) COMMUNICATION DEVICE, CONTROL DEVICE, COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD, AND PROGRAM
JP6044637B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD, AND PROGRAM
WO2014061587A1 (en) Control device, node, communication system, communication method, and program
JP6164223B2 (en) Communication system, control device, communication device, billing server, communication method, and program
JP5916234B2 (en) COMMUNICATION DEVICE, CONTROL DEVICE, COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD, AND PROGRAM
JP5994847B2 (en) COMMUNICATION TERMINAL, COMMUNICATION METHOD, COMMUNICATION SYSTEM AND CONTROL DEVICE
JP2014027696A (en) Communication device, control device, communication system, communication control method and program
JP2015092730A (en) Communication device, control device, communication system, communication control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170403

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: 20170523

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170605

R150 Certificate of patent or registration of utility model

Ref document number: 6164223

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150