Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5149932B2 - Order placing device, order placing method and program thereof - Google Patents
[go: Go Back, main page]

JP5149932B2 - Order placing device, order placing method and program thereof - Google Patents

Order placing device, order placing method and program thereof Download PDF

Info

Publication number
JP5149932B2
JP5149932B2 JP2010079386A JP2010079386A JP5149932B2 JP 5149932 B2 JP5149932 B2 JP 5149932B2 JP 2010079386 A JP2010079386 A JP 2010079386A JP 2010079386 A JP2010079386 A JP 2010079386A JP 5149932 B2 JP5149932 B2 JP 5149932B2
Authority
JP
Japan
Prior art keywords
order
session
network device
established
input
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
JP2010079386A
Other languages
Japanese (ja)
Other versions
JP2011210155A (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.)
NTT Inc
NTT Inc USA
Original Assignee
Nippon Telegraph and Telephone Corp
NTT Inc USA
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 Nippon Telegraph and Telephone Corp, NTT Inc USA filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2010079386A priority Critical patent/JP5149932B2/en
Publication of JP2011210155A publication Critical patent/JP2011210155A/en
Application granted granted Critical
Publication of JP5149932B2 publication Critical patent/JP5149932B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、IP(Internet Protocol)網を構成する装置へのオーダ投入技術に関する。   The present invention relates to a technology for placing an order in an apparatus constituting an IP (Internet Protocol) network.

通信インフラの拡大に伴って、ネットワークを構成する装置(例えば、ルータ等のネットワーク装置)の数が増加している。加入者に対する新規サービスの設定や解除は、ネットワーク装置にオーダを投入することによって実施されており、サービスの多様化や加入者の増大はオーダ投入の機会を増やす要因となっている。また、通信インフラの品質維持に関わる装置管理もオーダ投入により実施されており、円滑なネットワーク管理のためにオーダの投入の効率化の重要性が高まっている。ここで、サービスに関する内容を各ネットワーク装置に設定する技術としてサービスアクティベーションがある。近年、このサービスアクティベーションにおいて、設定内容のうち、サービスに依存する部分をモジュールごとに切り出し、モジュールの入れ替えにより各種サービスに柔軟に対応する技術が提案されている(非特許文献1参照)。   With the expansion of communication infrastructure, the number of devices (for example, network devices such as routers) constituting a network is increasing. Setting and cancellation of new services for subscribers are performed by placing orders in network devices, and diversification of services and increase in subscribers increase the opportunity for order entry. In addition, device management related to maintaining the quality of communication infrastructure is implemented by order entry, and the importance of efficient order entry is increasing for smooth network management. Here, there is a service activation as a technique for setting contents related to a service in each network device. In recent years, in this service activation, a technique has been proposed in which a part depending on a service among setting contents is cut out for each module and various services are flexibly handled by replacing the modules (see Non-Patent Document 1).

NTT技術ジャーナル、「ネットワークサービスを支えるサービスアクティベーション技術」、[online]、[平成20年6月24日検索]、インターネット、<URL:http://www.ntt.co.jp/journal/0508/files/jn200508018.pdf >NTT Technology Journal, “Service Activation Technology that Supports Network Services”, [online], [Search June 24, 2008], Internet, <URL: http://www.ntt.co.jp/journal/0508 /files/jn200508018.pdf>

しかし、非特許文献1に記載の技術では、システムが、ネットワーク装置に1オーダずつTelnetセッションを確立して投入する方式がとられている。この方式では、ネットワーク装置に複数のオーダを一度に投入することによるオーダの競合の問題(複数のオーダ同士が干渉する問題)は発生しないが、オーダの投入効率は必ずしもよくないという問題がある。そこで、本発明は、前記した問題を解決し、ネットワーク装置へのオーダの投入効率を向上させることを目的とする。   However, the technique described in Non-Patent Document 1 employs a system in which a system establishes and enters a Telnet session for each network device one order at a time. In this method, there is no problem of order conflict caused by placing a plurality of orders in the network device at the same time (problem in which a plurality of orders interfere with each other), but the order placing efficiency is not necessarily good. Accordingly, an object of the present invention is to solve the above-described problems and improve the efficiency of order placement into a network device.

前記した課題を解決するため、通信網に設置される1以上のネットワーク装置へのオーダを投入するオーダ投入装置を、外部装置から、ネットワーク装置へ投入する一連のオーダをその投入順に受け付ける入力部と、入力されたオーダを、そのオーダの投入先のネットワーク装置それぞれについて、そのネットワーク装置へオーダを投入するときの優先度ごとのキューに分けて蓄積するキュー部と、記憶部と、投入制御部により通知されたネットワーク装置のセッション状態に基づきセッション管理情報を更新するセッション管理部と、ネットワーク装置との間でのセッションの確立および切断を行い、キュー部に蓄積されたオーダを、このオーダの投入先となるネットワーク装置との間で確立されたセッションを用いて投入し、ネットワーク装置のセッション状態をセッション管理部へ通知し、投入したオーダをオーダ情報に記録する投入制御部とを備える構成とした。この記憶部は、(1)ネットワーク装置との間に確立されたセッションごとに、当該セッションにより接続されるネットワーク装置の識別情報、当該セッションにより投入されたオーダのオーダID、当該セッションが確立中であるか否か、および、当該セッションによりネットワーク装置へオーダを処理中であるか否かを示したセッション管理情報と、(2)確立されたセッションにより投入されたオーダと、そのオーダのオーダIDと対応付けて示したオーダ情報と、(3)同じネットワーク装置において、前回投入したオーダの処理が終了していない状態で次のオーダを投入すると競合するオーダの組み合わせを示した競合オーダ情報とを記憶する。そして、この投入制御部は、キュー部に蓄積されたオーダのうち優先度の高いオーダのキューに蓄積されたオーダから優先的にオーダを取得し、セッション管理情報、オーダ情報および競合オーダ情報を参照して、(1)キュー部から取得したオーダの投入先のネットワーク装置に処理中のオーダがないとき、ネットワーク装置との間に新たなセッションを確立し、その確立したセッションを用いてオーダを投入する。一方、(2)キュー部から取得したオーダの投入先のネットワーク装置に処理中のオーダがある場合において、(2-1)処理中のオーダが、取得したオーダと競合するオーダではないとき、投入制御部は、ネットワーク装置との間に新たなセッションを確立し、または、既に当該ネットワーク装置との間に確立されたセッションを用いてオーダを投入する。さらに、(2)キュー部から取得したオーダの投入先のネットワーク装置に処理中のオーダがある場合において、(2-2)処理中のオーダが、取得したオーダと競合するオーダであるとき、投入制御部は、処理中のオーダの処理が終了するのを待って、ネットワーク装置との間に新たなセッションを確立し、または、既に当該ネットワーク装置との間に確立されたセッションを用いてオーダを投入する。   In order to solve the above-mentioned problem, an input unit that inputs an order to one or more network devices installed in a communication network, and an input unit that receives, from the external device, a series of orders to be input to the network device in the order of input The queue unit that stores the input order separately for each network device to which the order is to be placed is divided into queues for each priority when the order is placed into the network device, the storage unit, and the input control unit. The session management unit that updates the session management information based on the notified session status of the network device, establishes and disconnects the session between the network device, and the order stored in the queue unit is the destination of the order. Using a session established with the network device to be The session status of the device and notifies the session management unit, and a configuration and a input control unit that records put the order to the order information. This storage unit (1) for each session established with a network device, the identification information of the network device connected by the session, the order ID of the order entered by the session, the session is being established Session management information indicating whether or not there is an order being processed to the network device by the session, (2) an order placed by the established session, and an order ID of the order Corresponding order information and (3) competing order information indicating a combination of orders competing when the next order is placed in the same network device when the processing of the previously placed order is not completed. To do. Then, the input control unit obtains an order preferentially from the orders stored in the high priority order queue among the orders stored in the queue unit, and refers to the session management information, the order information and the competitive order information. (1) When there is no order being processed in the network device to which the order obtained from the queue unit is placed, a new session is established with the network device, and the order is placed using the established session. To do. On the other hand, (2) when there is an order being processed in the network device to which the order acquired from the queue part is input, (2-1) input when the order being processed is not an order competing with the acquired order The control unit establishes a new session with the network device, or inputs an order using a session already established with the network device. Furthermore, (2) when there is an order being processed in the network device to which the order obtained from the queue part is placed, (2-2) when the order being processed is an order that conflicts with the obtained order The control unit waits for the processing of the order being processed to end, establishes a new session with the network device, or places an order using a session already established with the network device. throw into.

また、本発明は、通信網に設置される1以上のネットワーク装置へのオーダを投入するため、(1)ネットワーク装置との間に確立されたセッションごとに、当該セッションにより接続されるネットワーク装置の識別情報、当該セッションにより投入されたオーダのオーダID、当該セッションが確立中であるか否か、および、当該セッションによりネットワーク装置へオーダを処理中であるか否かを示したセッション管理情報と、(2)確立されたセッションにより投入されたオーダと、そのオーダのオーダIDと対応付けて示したオーダ情報と、(3)同じネットワーク装置において、前回投入したオーダの処理が終了していない状態で次のオーダを投入すると競合するオーダの組み合わせを示した競合オーダ情報とを記憶する記憶部を備えるオーダ投入装置が、以下の処理を行う方法とした。すなわち、オーダ投入装置が、外部装置から、ネットワーク装置へ投入する一連のオーダをその投入順に受け付けるステップと、入力されたオーダを、そのオーダの投入先のネットワーク装置それぞれについて、そのネットワーク装置へオーダを投入するときの優先度ごとのキューに分けてキュー部に蓄積するステップと、キュー部に蓄積されたオーダのうち優先度の高いオーダのキューに蓄積されたオーダから優先的にオーダを取得するステップと、ネットワーク装置との間でのセッションの確立を行い、取得したオーダを、このオーダの投入先となるネットワーク装置との間で確立されたセッションを用いて投入するステップと、ネットワーク装置のセッション状態に基づきセッション管理情報を更新するステップと、投入したオーダをオーダ情報に記録するステップとを実行する。そして、オーダ投入装置は、この取得したオーダをこのオーダの投入先となるネットワーク装置との間で確立されたセッションを用いて投入するステップにおいて、以下の処理を行う。つまり、オーダ投入装置は、セッション管理情報、オーダ情報および競合オーダ情報を参照して、(1)キュー部から取得したオーダの投入先のネットワーク装置に処理中のオーダがないとき、ネットワーク装置との間に新たなセッションを確立し、その確立したセッションを用いてオーダを投入する。一方、(2)キュー部から取得したオーダの投入先のネットワーク装置に処理中のオーダがある場合において、(2-1)処理中のオーダが、取得したオーダと競合するオーダではないとき、オーダ投入装置は、ネットワーク装置との間に新たなセッションを確立し、または、既に当該ネットワーク装置との間に確立されたセッションを用いてオーダを投入する。さらに、(2)キュー部から取得したオーダの投入先のネットワーク装置に処理中のオーダがある場合において、(2-2)処理中のオーダが、取得したオーダと競合するオーダであるとき、オーダ投入装置は、処理中のオーダの処理が終了するのを待って、ネットワーク装置との間に新たなセッションを確立し、または、既に当該ネットワーク装置との間に確立されたセッションを用いてオーダを投入する。   In addition, since the present invention places an order to one or more network devices installed in the communication network, (1) for each session established with the network device, the network device connected by the session Identification information, an order ID of an order placed by the session, session management information indicating whether the session is being established, and whether an order is being processed to the network device by the session; (2) The order entered by the established session, the order information associated with the order ID of the order, and (3) In the same network device, the processing of the previously placed order has not been completed. A storage unit for storing competing order information indicating a combination of competing orders when the next order is input Obtaining order release device, and the method performs the following processing. That is, the order input device receives a series of orders to be input from the external device to the network device in the order of input, and the input order is ordered to the network device for each network device to which the order is input. A step of storing in the queue part by dividing into queues for each priority at the time of input, and a step of acquiring an order with priority from the orders stored in the queue of the higher priority order among the orders stored in the queue part And establishing a session with the network device, inputting the acquired order using a session established with the network device to which the order is to be entered, and the session status of the network device To update the session management information based on the And a step of recording the over header information. Then, the order entry device performs the following processing in the step of placing the acquired order using a session established with the network device to which the order is placed. That is, the order placement device refers to the session management information, the order information, and the competitive order information. (1) When there is no order being processed in the network device that is the order placement destination acquired from the queue unit, In the meantime, a new session is established, and an order is placed using the established session. On the other hand, (2) when there is an order being processed in the network device to which the order acquired from the queue part is placed, (2-1) when the order being processed is not an order competing with the acquired order, The input device establishes a new session with the network device, or inputs an order using a session already established with the network device. Further, (2) when there is an order being processed in the network device to which the order acquired from the queue part is placed, (2-2) when the order being processed is an order that conflicts with the acquired order The input device waits for the processing of the order being processed to end, and establishes a new session with the network device, or uses the session already established with the network device to place an order. throw into.

また、本発明のオーダ投入装置の競合オーダ情報に示される競合するオーダの組み合わせは、ネットワーク装置のコンフィグの保存を指示するオーダと、コンフィグの書き換えを指示するオーダとの組み合わせである。   The competing order combination indicated in the competing order information of the order entry device of the present invention is a combination of an order for instructing saving of the configuration of the network device and an order for instructing rewriting of the configuration.

このようにすることで、オーダ投入装置は、ネットワーク装置に対し複数のセッションを確立してオーダを投入したり、既に確立されたセッションを用いてオーダを連続投入すしたりすることができる。これにより、オーダ投入装置は、ネットワーク装置に対し効率よくオーダを投入することができる。また、オーダ投入装置は、オーダのうち、優先度の高いオーダから優先的にネットワーク装置へ投入できる。よって、緊急度の高いオーダ、例えば、試験用オーダ(例えば、「ping」や「traceroot」等)を優先的にネットワーク装置へ投入できる。ここで、オーダ投入装置は、選択したオーダの投入先のネットワーク装置に投入中のオーダについて、オーダ情報を参照して、この選択したオーダと競合しないことを確認してから、投入する。よって、オーダ投入装置は、同じネットワーク装置に投入するオーダ同士の競合が発生しないようにできる。なお、オーダは、例えば、ネットワーク装置のコンフィグ(設定)の書き換えを示すオーダや、コンフィグのセーブ(保存)を指示するオーダや、コンフィグの読み出しを指示するオーダ等である。   In this way, the order placement device can establish a plurality of sessions with the network device and place orders, or can continuously place orders using already established sessions. As a result, the order entry device can efficiently place an order with respect to the network device. Further, the order entry device can preferentially enter the network device from the order of higher priority among the orders. Therefore, a highly urgent order, for example, a test order (for example, “ping” or “traceroot”) can be preferentially input to the network device. Here, the order placement device refers to the order information for the order being placed in the network device that is the placement destination of the selected order, and after confirming that it does not conflict with the selected order, places the order placement device. Therefore, the order entry devices can prevent competition between orders placed in the same network device. The order is, for example, an order indicating rewriting of the configuration (setting) of the network device, an order for instructing saving of the configuration, an order for instructing reading of the configuration, or the like.

また、本発明のオーダ投入装置の投入制御部は、セッションごとに、当該セッションによるネットワーク装置への接続開始からの経過時間を、セッション管理情報に記録する。そして、投入制御部は、セッション管理情報を参照し、当該セッションによるネットワーク装置への接続開始からの経過時間が所定の時間を超えたとき、当該セッションを切断する。   In addition, the input control unit of the order input device of the present invention records the elapsed time from the start of connection to the network device by the session in the session management information for each session. Then, the input control unit refers to the session management information, and disconnects the session when the elapsed time from the start of connection to the network device by the session exceeds a predetermined time.

このようにすることで、オーダ投入装置が、特定のネットワーク装置に長時間接続してしまうことを抑制できる。これにより、オーダの投入対象のネットワーク装置間でオーダ投入数の偏りが発生しにくくなる。   By doing so, it is possible to prevent the order entry device from connecting to a specific network device for a long time. As a result, it is difficult for the order input number to be biased among the network devices to which the order is to be input.

また、本発明のオーダ投入装置の投入制御部は、セッションごとに、当該セッションによるネットワーク装置への投入オーダ数を、セッション管理情報における当該セッションのセッション状態に記録し、セッション管理情報を参照し、当該セッションによるネットワーク装置への投入オーダ数が所定の数を超えたとき、当該セッションを切断する。   Further, the input control unit of the order input device of the present invention records, for each session, the number of input orders to the network device by the session in the session state of the session in the session management information, and refers to the session management information, When the number of orders placed on the network device by the session exceeds a predetermined number, the session is disconnected.

このようにすることで、オーダ投入装置が、特定のネットワーク装置に多数のオーダを投入することを防止できる。これにより、オーダの投入対象とするネットワーク装置間でオーダ投入数の偏りが発生しにくくなる。   By doing so, it is possible to prevent the order placement device from placing a large number of orders on a specific network device. As a result, it is less likely that the order number will be biased among the network devices to be ordered.

また、本発明のオーダ投入装置の投入制御部は、ネットワーク装置との間に新たなセッションを確立する場合において、セッション管理情報を参照して、新たなセッションを確立すると、以下の処理を行う。すなわち、投入制御部は、当該オーダ投入装置がネットワーク装置それぞれとの間に確立中のセッション数の合計値が、当該オーダ投入装置が確立可能なセッション数の最大値を超えるとき、確立中のセッションのいずれかが切断されてから、新たなセッションを確立する。   In addition, when establishing a new session with a network device, the entry control unit of the order entry device of the present invention performs the following processing when a new session is established with reference to the session management information. That is, when the total number of sessions established between the order entry device and each network device exceeds the maximum number of sessions that can be established by the order entry device, the entry control unit A new session is established after either of them is disconnected.

このようにすることで、オーダ投入装置は、セッションリソースが限られている場合でも、ネットワーク装置へ効率よくオーダを投入することができる。   In this way, the order entry device can efficiently place an order in the network device even when session resources are limited.

また、本発明は、オーダ投入方法をコンピュータであるオーダ投入装置に実行させるためのプログラムとした。   Further, the present invention provides a program for causing an order placement apparatus, which is a computer, to execute an order placement method.

このようなプログラムによれば、一般的なコンピュータに本発明のオーダ投入方法を実行させることができる。   According to such a program, it is possible to cause a general computer to execute the order placing method of the present invention.

本発明によれば、ネットワーク装置へのオーダの投入効率を向上させることができる。   According to the present invention, it is possible to improve the efficiency of order entry into a network device.

本実施の形態のオーダ投入システムの処理概要を概念的に示した図である。It is the figure which showed notionally the process outline | summary of the order injection | throwing-in system of this Embodiment. 図1のオーダ投入システムの構成例を示した図である。It is the figure which showed the example of a structure of the order insertion system of FIG. 本実施の形態のオーダを例示した図である。It is the figure which illustrated the order of this embodiment. 図1のセッション管理情報を例示した図である。It is the figure which illustrated the session management information of FIG. 図1のオーダ投入装置の処理手順を示した図である。It is the figure which showed the process sequence of the order injection | throwing-in apparatus of FIG.

以下、本発明の実施の形態のオーダ投入システムを説明する。なお、ここでは、オーダの投入対象のネットワーク装置は、IP網に用いられるルータである場合を例に説明する。まず、オーダ投入システムの扱うオーダについて説明する。オーダは、ルータへ投入する一連のコマンドであり、例えば、(1)ルータのConfiguration(コンフィグ)の書き換えのオーダ、(2)コンフィグのセーブ(保存)のオーダ、(3)コンフィグの読み出しのオーダ等である。このうち、ルータに複数のセッションを確立し、オーダを投入すると、ルータ内での処理が正常に行われないこともある。つまり、オーダ同士で競合してしまうおそれがある。例えば、ルータに、コンフィグのセーブのオーダを投入中にコンフィグの書き換えのオーダを投入すると正常にセーブが行われないこともある。一方、コンフィグのセーブのオーダと、コンフィグの読み出しのオーダとは、競合が発生しない。このように、ルータに投入するオーダには、同じルータに投入すると競合するオーダの組み合わせと、競合しないオーダの組み合わせとがある。   The order entry system according to the embodiment of the present invention will be described below. Here, a case will be described as an example where the network device to be ordered is a router used for an IP network. First, the order handled by the order entry system will be described. The order is a series of commands input to the router. For example, (1) order for rewriting the router configuration, (2) order for saving the configuration, (3) order for reading the configuration, etc. It is. Among these, if a plurality of sessions are established in the router and an order is entered, processing in the router may not be performed normally. In other words, there is a risk that orders may compete with each other. For example, if a configuration rewrite order is input to the router while a configuration save order is input, the save may not be performed normally. On the other hand, there is no conflict between the config save order and the config read order. As described above, the orders to be entered into the router include a combination of orders that conflict when placed in the same router and a combination of orders that do not conflict.

ここで、オーダ投入装置は、投入効率を向上させるため、1つのルータに1以上のセッションを確立してオーダを投入したり、確立済みのセッションを用いてオーダを連続投入したりするが、このとき、ルータに投入しようとするオーダについて、そのルータで処理中のオーダと競合しないように制御する。   Here, in order to improve the input efficiency, the order input device establishes one or more sessions in one router and inputs orders, or continuously inputs orders using established sessions. At this time, the order to be entered into the router is controlled so as not to conflict with the order being processed by the router.

このオーダ投入装置の処理概要を、図1を用いて説明する。なお、オーダ投入装置10と、オーダ投入対象であるルータ(ネットワーク装置)20それぞれとの間で確立するセッション数の合計値の最大値(セッションリソース)は予め決められているものとする。   An outline of processing of this order entry device will be described with reference to FIG. It is assumed that the maximum value (session resource) of the total number of sessions established between the order entry device 10 and each router (network device) 20 that is the order entry target is determined in advance.

オーダ投入装置10は、上位システム30から、各ルータ20へ投入するオーダ群の入力を受け付けると、そのオーダ群を、投入先のルータ20(例えば、ルータ20A,20B)ごとに分ける。そして、この分けたオーダ群を、その優先度に応じて分ける。例えば、オーダ群を、その種別に応じて、緊急オーダと通常オーダとに分ける。このような処理を、オーダ群の投入先のルータ20ごとに行う。次に、このオーダ投入装置10の投入制御部124は、キュー部122に蓄積されたオーダをルータ20へ投入するが、緊急オーダ(優先度の高いオーダから)から優先的に選択する。   When the order entry device 10 receives an input of an order group to be entered into each router 20 from the host system 30, the order entry device 10 divides the order group for each of the placement destination routers 20 (for example, routers 20A and 20B). Then, the divided order group is divided according to the priority. For example, the order group is divided into an emergency order and a normal order according to the type. Such processing is performed for each router 20 that is the destination of the order group. Next, the input control unit 124 of the order input device 10 inputs the orders stored in the queue unit 122 to the router 20, but preferentially selects from the emergency orders (from the order with higher priority).

そして、投入制御部124は、(1)選択したオーダの投入先のルータ(対象ルータ)との間に確立済みのセッションを、セッション管理情報131から検索する。このセッション管理情報131は、セッションIDごとに、当該セッションにより接続されるルータ20のルータID、セッション状態(セッション確立中か、オーダ投入中か、セッション未確立か)、オーダ投入中であれば、そのオーダのオーダID等を示した情報である。   Then, the input control unit 124 searches the session management information 131 for a session that has been established with the router (target router) to which the selected order is input (1). The session management information 131 includes, for each session ID, the router ID of the router 20 connected by the session, the session state (whether the session is established, the order is being placed, or the session is not established), and the order is being placed. This is information indicating the order ID of the order.

そして、投入制御部124は、(2)対象ルータとの間にセッション確立中であり、かつ、対象ルータにオーダ投入中であれば、その投入中のオーダのオーダIDを、オーダ情報132から取得する。次に、(3)投入制御部124は、オーダIDをもとに、オーダ情報132から、対象ルータへ投入中のオーダを検索し、その検索したオーダと、選択したオーダとの競合性を判定する。つまり、投入制御部124は、これからルータ20に投入しようとするオーダが、ルータ20に投入中のオーダと競合するか否かを判定する。ここで、競合していなければ、投入制御部124は、現在確立中のセッション、または、セッションリソースに余裕があれば、新たなセッションを確立し、選択したオーダをルータ20へ投入する。なお、オーダ同士が競合していれば、投入制御部124は、ルータ20でのオーダの処理が終了した後、選択したオーダを投入する。   Then, if the session is established with the target router (2) and the order is being placed in the target router, the placement control unit 124 acquires the order ID of the order being placed from the order information 132. To do. Next, (3) based on the order ID, the input control unit 124 searches the order information 132 for the order being input to the target router, and determines the competition between the searched order and the selected order. To do. That is, the input control unit 124 determines whether an order to be input to the router 20 from now on conflicts with an order being input to the router 20. Here, if there is no conflict, the input control unit 124 establishes a new session if there is room in the currently established session or session resources, and inputs the selected order to the router 20. If the orders compete with each other, the input control unit 124 inputs the selected order after the order processing in the router 20 is completed.

このようにすることで、オーダ投入装置10は、同じルータ20に対し、1以上のセッションを確立して並列にオーダを投入したり、1つのセッションを用いてオーダを連続投入したりするときに、ルータ20で処理中のオーダとの競合が発生しないようにできる。これにより、オーダ投入装置10は、効率よくオーダ投入を行うことができる。   By doing in this way, the order entry device 10 establishes one or more sessions for the same router 20 and inputs orders in parallel, or when the orders are continuously input using one session. The contention with the order being processed by the router 20 can be prevented from occurring. Thereby, the order placement apparatus 10 can perform order placement efficiently.

<構成>
次に、図2を用いて、本実施の形態のオーダ投入システムの構成例を説明する。オーダ投入システムは、ルータ(装置)20へのオーダを出力する上位システム30(30A,30B,30C)と、この上位システム30からのオーダを受信し、ルータ20へ投入するオーダ投入装置10と、このオーダ群の投入先の装置であるルータ20(20A,20B,20C)とを含んで構成される。なお、この上位システム(外部装置)30は、例えば、オーダ投入装置10へオーダを出力するコンピュータにより実現される。また、ルータ20は、IP網等の通信網に設置されるルータである。図2におけるオーダ投入装置10は、既に投入制御部124により、ルータ20(20A〜20C)との間にセッションを確立しているものとする。そして、各セッションがどのルータ20と確立されているか、そのセッションが確立中か否か、セッション確立中のルータ20において、オーダを投入中であるか否か等をセッション管理情報131に記録しているものとする。
<Configuration>
Next, a configuration example of the order entry system according to the present embodiment will be described with reference to FIG. The order entry system includes a host system 30 (30A, 30B, 30C) that outputs an order to the router (device) 20, and an order entry device 10 that receives the order from the host system 30 and inputs the order to the router 20. It includes a router 20 (20A, 20B, 20C) which is a device to which this order group is placed. The host system (external device) 30 is realized by, for example, a computer that outputs an order to the order input device 10. The router 20 is a router installed in a communication network such as an IP network. The order entry device 10 in FIG. 2 has already established a session with the router 20 (20A to 20C) by the entry control unit 124. The session management information 131 records which router 20 each session is established with, whether the session is being established, whether an order is being entered in the router 20 that is establishing a session, and the like. It shall be.

このようなオーダ投入装置10の構成を詳細に説明する。オーダ投入装置10の構成はは、大きく、入力部11、処理部12、記憶部13および出力部14に分けられる。   The configuration of such an order entry device 10 will be described in detail. The configuration of the order entry device 10 is roughly divided into an input unit 11, a processing unit 12, a storage unit 13, and an output unit 14.

入力部11は、上位システム30から、1以上のオーダを受け取る。処理部12は、このオーダ投入装置10全体の制御を司り、主に、キュー部122に蓄積されたオーダの投入制御を行う。記憶部13は、このセッションの選択時に参照されるセッション管理情報131、オーダ情報132等を記憶する。出力部14は、ルータ20へオーダを出力する。   The input unit 11 receives one or more orders from the host system 30. The processing unit 12 controls the entire order placement apparatus 10, and mainly performs order placement control stored in the queue unit 122. The storage unit 13 stores session management information 131, order information 132, and the like that are referred to when this session is selected. The output unit 14 outputs the order to the router 20.

入力部11および出力部14は、外部装置(上位システム30やルータ20)との間でデータの入出力を行うための入出力インタフェースや通信インタフェースから構成される。また、処理部12は、このオーダ投入装置10が備えるCPU(Central Processing Unit)によるプログラム実行処理や、専用回路等により実現される。さらに、記憶部13は、RAM(Random Access Memory)、ROM(Read Only Memory)、HDD(Hard Disk Drive)、フラッシュメモリ等の記憶媒体から構成される。なお、オーダ投入装置10をプログラム実行処理により実現する場合、記憶部13には、このオーダ投入装置10の機能を実現するためのオーダ投入プログラムが記憶される。   The input unit 11 and the output unit 14 include an input / output interface and a communication interface for inputting / outputting data to / from an external device (the host system 30 or the router 20). The processing unit 12 is realized by a program execution process by a CPU (Central Processing Unit) included in the order entry device 10 or a dedicated circuit. Further, the storage unit 13 includes a storage medium such as a random access memory (RAM), a read only memory (ROM), a hard disk drive (HDD), and a flash memory. When the order placement device 10 is realized by program execution processing, the storage unit 13 stores an order placement program for realizing the function of the order placement device 10.

ここで、オーダ投入装置10が、上位システム30から受け取るオーダを説明する。図3に示すように、オーダは、オーダの投入先であるルータ20のルータID(例えば、IPアドレス)と、1以上のコマンドが含まれる。ここでのオーダ種別は、例えば、そのオーダが、緊急オーダか、通常オーダかという種別が示される。図3に例示するオーダは、IPアドレス「10.10.10.11」のルータ20に対し、「aaaaaaaaa」と「bbbbbbbbb」というコマンドを投入し、これらの種別はいずれも「緊急(緊急オーダ)」であることを示す。   Here, the order received by the order placement apparatus 10 from the host system 30 will be described. As shown in FIG. 3, the order includes a router ID (for example, IP address) of the router 20 to which the order is placed and one or more commands. The order type here indicates, for example, a type indicating whether the order is an emergency order or a normal order. In the order illustrated in FIG. 3, commands “aaaaaaaaa” and “bbbbbbbbbb” are input to the router 20 with the IP address “10.10.10.11”, and these types are both “emergency (emergency order)”. Indicates.

図2の入力部11は、上位システム30からこのオーダの入力を受け付けると、処理部12へ出力する。   When the input unit 11 in FIG. 2 receives the input of this order from the host system 30, the input unit 11 outputs it to the processing unit 12.

処理部12は、変換部120と、キューイング部121と、キュー部122と、セッション管理部123と、投入制御部124とを含んで構成される。   The processing unit 12 includes a conversion unit 120, a queuing unit 121, a queue unit 122, a session management unit 123, and an input control unit 124.

変換部120は、上位システム30から入力されたオーダを、ルータ20で処理可能なオーダに変換する。   The conversion unit 120 converts the order input from the host system 30 into an order that can be processed by the router 20.

キューイング部121は、変換部120で変換されたオーダを、このオーダの投入先のルータ20ごとに分ける。そして、このルータ20ごとに分けられたオーダについて、優先度に応じて分ける。例えば、キューイング部121は、オーダの種別(例えば、緊急オーダか通常オーダか)を判断し、緊急オーダについては、優先度の高いオーダとしてキュー部122の緊急オーダキューに蓄積し、通常オーダについては、比較的優先度の低いオーダとしてキュー部122の通常オーダキューに蓄積する。   The queuing unit 121 divides the order converted by the conversion unit 120 for each router 20 to which the order is input. The order divided for each router 20 is divided according to the priority. For example, the queuing unit 121 determines the type of order (for example, emergency order or normal order), and the emergency order is stored in the emergency order queue of the queue unit 122 as a high priority order. Are stored in the normal order queue of the queue unit 122 as orders of relatively low priority.

キュー部122は、ルータ20ごとに、このルータ20へのオーダを、緊急オーダキューおよび通常オーダキューに分けて蓄積する領域を備える。また、このキュー部122は、例えば、このオーダ投入装置10の備えるRAM等の半導体メモリ上に形成される。   The queue unit 122 includes an area for storing the orders to the router 20 separately for each router 20 into an emergency order queue and a normal order queue. In addition, the queue unit 122 is formed on a semiconductor memory such as a RAM provided in the order placement device 10, for example.

セッション管理部123は、投入制御部124から、ルータ20との間に確立されたセッションの状態を示す情報を受信し、セッション管理情報131に記録する。   The session management unit 123 receives information indicating the state of the session established with the router 20 from the input control unit 124 and records it in the session management information 131.

投入制御部124は、キュー部122のうち緊急オーダキュー(優先度の高いキュー)に蓄積されたオーダから優先的にオーダを取得する。そして、このオーダの投入対象のルータ20との間でセッションの確立および切断や、確立されたセッションを用いたオーダ投入を行う。ここでのオーダ投入は、セッション管理情報131、オーダ情報132および競合オーダ情報133を参照して、競合するオーダを同じルータ20に投入しないようにする。また、投入制御部124は、セッションの確立や切断、オーダ投入を行ったとき、または、そのオーダ投入後、投入先のルータ20においてオーダの処理が完了したとき、その状態をセッション状態としてセッション管理部123へ出力する。この投入制御部124の処理の詳細はフローチャートを用いて後記する。また、投入制御部124は、ルータ20にオーダを投入すると、そのオーダをオーダIDと対応付けてオーダ情報133に記録する。なお、この投入制御部124は、ルータ20との間に新たなセッションを確立する場合において、セッション管理情報131を参照して、新たなセッションを確立してしまうと、当該オーダ投入装置がルータ20それぞれとの間に確立中のセッション数の合計値が、当該オーダ投入装置10が確立可能なセッション数の最大値を超えるか否かを判断する。そして、投入制御部124は、当該オーダ投入装置10が確立可能なセッション数の最大値を超えると判断したとき、確立中のセッションのいずれかが切断されてから、新たなセッションを確立する。   The input control unit 124 preferentially acquires orders from the orders stored in the emergency order queue (high priority queue) in the queue unit 122. Then, establishment and disconnection of a session with the order entry router 20 and order entry using the established session are performed. In order entry here, the session management information 131, the order information 132, and the competing order information 133 are referred to, so that the competing orders are not placed in the same router 20. Also, the input control unit 124 performs session management by setting the state as a session state when establishing or disconnecting a session, placing an order, or after completing the order processing in the destination router 20 after placing the order. Output to the unit 123. Details of the processing of the input control unit 124 will be described later using a flowchart. In addition, when placing an order in the router 20, the entry control unit 124 records the order in association with the order ID in the order information 133. Note that, when establishing a new session with the router 20, the entry control unit 124 refers to the session management information 131 and establishes a new session. It is determined whether the total value of the number of sessions established with each exceeds the maximum number of sessions that can be established by the order entry device 10. When determining that the order input device 10 exceeds the maximum number of sessions that can be established, the input control unit 124 establishes a new session after one of the established sessions is disconnected.

記憶部13は、セッション管理情報131、オーダ情報132および競合オーダ情報133を記憶する。   The storage unit 13 stores session management information 131, order information 132, and competing order information 133.

このセッション管理情報131は、ルータ20との間に確立されたセッションの状態を示す情報である。図4に示すように、例えば、セッション管理情報131は、セッションIDごとに、そのセッションのセッション状態(例えば、セッション確立中か、オーダ投入中(オーダ処理中)か、セッション未確立か等)、投入したオーダの識別情報であるオーダID、当該セッションにより投入されたオーダ数である連続投入オーダ数等が記録された情報である。なお、このセッション管理情報131は、ルータ20との間に確立中の合計セッション数、このオーダ投入装置10が確立する最大セッション数の情報もさらに含む。このセッション管理情報131は、投入制御部124がオーダ投入に用いるセッションを選択するときに参照される。   The session management information 131 is information indicating the state of a session established with the router 20. As shown in FIG. 4, for example, the session management information 131 includes, for each session ID, the session state of the session (for example, whether the session is being established, the order is being placed (in order processing), or the session is not established) This is information in which the order ID, which is identification information of the placed order, and the number of consecutive placed orders, which is the number of orders placed by the session, are recorded. The session management information 131 further includes information on the total number of sessions established with the router 20 and the maximum number of sessions established by the order placement apparatus 10. The session management information 131 is referred to when the input control unit 124 selects a session used for order input.

オーダ情報132は、ルータ20へ投入済みのオーダのオーダIDごとに、そのオーダの中身を示した情報である。このオーダ情報132は、投入制御部124が、ルータ20で処理中のオーダと、これから投入しようとするオーダとが競合するか否かを判定するときに参照される。   The order information 132 is information indicating the contents of the order for each order ID of the order that has been put into the router 20. The order information 132 is referred to when the input control unit 124 determines whether or not the order being processed in the router 20 and the order to be input compete with each other.

競合オーダ情報133は、同じルータ20に並列して、または連続して投入すると競合してしまうおそれがあるオーダの種類の組み合わせを示した情報である。この組み合わせは、例えば、コンフィグのセーブのオーダと、コンフィグの書き換えのオーダという組み合わせである。この競合オーダ情報133も、投入制御部124が、ルータ20で処理中のオーダと、これから投入しようとするオーダとが競合するか否かを判定するときに参照される。   The competing order information 133 is information indicating a combination of order types that may conflict if they are input in parallel or continuously to the same router 20. This combination is, for example, a combination of a configuration save order and a configuration rewrite order. The contention order information 133 is also referred to when the input control unit 124 determines whether or not the order being processed by the router 20 and the order to be input will compete.

図2の出力部14は、投入制御部124から出力されたオーダをルータ20へ投入する。   The output unit 14 in FIG. 2 inputs the order output from the input control unit 124 to the router 20.

<処理手順>
次に、図1および図2を参照しつつ、図5を用いてオーダ投入装置10の処理手順を説明する。図2のオーダ投入装置10の入力部11は、上位システム30からオーダの入力を受け付ける。そして、入力部11は、このオーダを、変換部120は、このオーダを、ルータ20で利用可能な形式に変換し、キューイング部121へ出力する。キューイング部121は、変換部120で変換されたオーダを、投入先のルータ20ごとに分ける。そして、このルータ20ごとに分けられたオーダについて、優先度ごとに分ける。例えば、緊急オーダを優先度の高いオーダとするとき、キューイング部121は、オーダの種別(緊急オーダか通常オーダか)を判断し、緊急オーダについては、キュー部122の緊急オーダキューとして蓄積し、通常オーダについては、キュー部122の通常オーダキューとして蓄積しておく。
<Processing procedure>
Next, with reference to FIGS. 1 and 2, the processing procedure of the order making apparatus 10 will be described with reference to FIG. The input unit 11 of the order placement apparatus 10 in FIG. 2 receives an order input from the host system 30. Then, the input unit 11 converts this order, and the conversion unit 120 converts this order into a format that can be used by the router 20, and outputs it to the queuing unit 121. The queuing unit 121 divides the order converted by the conversion unit 120 for each router 20 that is the input destination. The order divided for each router 20 is divided for each priority. For example, when an emergency order is a high priority order, the queuing unit 121 determines the type of the order (emergency order or normal order), and the emergency order is stored as an emergency order queue of the queue unit 122. The normal order is stored as a normal order queue of the queue unit 122.

そして、投入制御部124は、キュー部122の緊急オーダキューから優先的にオーダを選択すると(図5のS1)、まず、このオーダの対象ルータとの間に新たなセッションを確立する(S2)。なお、新たなセッションの確立にあたり、投入制御部124は、セッション管理情報131に示される現在のセッション数の合計値を参照し、余分なセッションリソースがなければ、セッションの空きが出るまで待つ。そして、投入制御部124は、確立したセッションを用いて、出力部14経由で、オーダ投入を行う(S3)。そして、投入制御部124は、セッション状態をセッション管理部123へ送信し、セッション管理部123は、セッション管理情報131を更新する(S4)。また、投入制御部124は、ルータ20にオーダを投入すると、そのオーダをオーダIDと対応付けてオーダ情報132に記録する。   When the input control unit 124 preferentially selects an order from the emergency order queue of the queue unit 122 (S1 in FIG. 5), first, a new session is established with the target router of this order (S2). . When establishing a new session, the input control unit 124 refers to the total value of the current number of sessions indicated in the session management information 131, and waits for a free session if there is no extra session resource. Then, the input control unit 124 performs order input via the output unit 14 using the established session (S3). Then, the input control unit 124 transmits the session state to the session management unit 123, and the session management unit 123 updates the session management information 131 (S4). In addition, when placing an order in the router 20, the entry control unit 124 records the order in association with the order ID in the order information 132.

次に、投入制御部124は、セッション管理情報131を参照して、対象ルータへの連続オーダ投入数が所定の閾値を超えているか否かを判定し(S5)、対象ルータへの連続オーダ投入数が所定の閾値を超えていれば(S5のYes)、その対象ルータとの間に確立されたセッションを切断する(S6)。そして、投入制御部124は、セッション管理部123へセッション切断のセッション状態を出力する。このようにセッションの切断をすることで、オーダ投入装置10が、特定のルータ20に連続して多数のオーダを投入するのを抑止できる。よって、ルータ20間でオーダ投入数の偏りが発生しにくくなる。S6の後、セッション管理部123は、出力されたセッション状態に基づきセッション管理情報131を更新する(S7)。   Next, the input control unit 124 refers to the session management information 131 to determine whether or not the number of consecutive order inputs to the target router exceeds a predetermined threshold (S5), and input the continuous orders to the target router. If the number exceeds the predetermined threshold (Yes in S5), the session established with the target router is disconnected (S6). Then, the input control unit 124 outputs the session state of session disconnection to the session management unit 123. By disconnecting the session in this way, it is possible to prevent the order placement apparatus 10 from placing a large number of orders in succession on a specific router 20. Therefore, it is difficult for the order number to be biased between the routers 20. After S6, the session management unit 123 updates the session management information 131 based on the output session state (S7).

一方、S5において、投入制御部124が対象ルータへの連続オーダ投入数が所定の閾値以下であり(S5のNo)、かつ、S3で投入したオーダの投入先と同じルータ20へのオーダがキュー部122にあるとき(S8のYes)、そのオーダをキュー部122から取得して、処理をS9へ進める。一方、同じ対象ルータへのオーダがキュー部122にないとき(S8のNo)、処理をS6へ進める。   On the other hand, in S5, the order control unit 124 has the number of consecutive orders placed in the target router equal to or smaller than a predetermined threshold (No in S5), and the order to the same router 20 as the order placed in S3 is queued. When it is in the unit 122 (Yes in S8), the order is acquired from the queue unit 122, and the process proceeds to S9. On the other hand, when there is no order for the same target router in the queue unit 122 (No in S8), the process proceeds to S6.

S8でYesだったとき、投入制御部124は、セッション管理情報131、オーダ情報132および競合オーダ情報133を参照して、キュー部122から取得したオーダが、対象ルータで処理中のオーダと競合するか否かを判定する(S9)。具体的には、投入制御部124は、セッション管理情報131から、キュー部122から取得したオーダの対象ルータに関するセッション情報を読み出す。そして、この対象ルータにおいて処理中のオーダがあれば、投入制御部124は、オーダ情報132から、そのオーダの内容を読み出す。そして、その読み出したオーダの内容(種類)と、キュー部122から取得したオーダとの組み合わせが、競合オーダ情報133に記載される組み合わせであるとき、キュー部122から取得したオーダを、対象ルータにおけるオーダと競合するオーダと判定する(S9のYes)。そして、投入制御部124は、対象ルータにおいてオーダの処理が終了するのを待って(S10)、S11へ処理を進める。   When the result in S8 is Yes, the input control unit 124 refers to the session management information 131, the order information 132, and the conflicting order information 133, and the order acquired from the queue unit 122 competes with the order being processed by the target router. It is determined whether or not (S9). Specifically, the input control unit 124 reads from the session management information 131 the session information regarding the order target router acquired from the queue unit 122. If there is an order being processed in the target router, the input control unit 124 reads the contents of the order from the order information 132. When the combination of the content (type) of the read order and the order acquired from the queue unit 122 is a combination described in the competitive order information 133, the order acquired from the queue unit 122 is stored in the target router. It is determined that the order is in competition with the order (Yes in S9). Then, the input control unit 124 waits for the order processing to be completed in the target router (S10), and proceeds to S11.

一方、(1)キュー部122から取得したオーダの対象ルータにおいて処理中のオーダがないとき、または、(2)キュー部122から取得したオーダと、対象ルータにおいて処理中のオーダとの組み合わせが、競合オーダ情報133に記載される組み合わせではないとき、投入制御部124は、キュー部122から取得したオーダを、対象ルータにおけるオーダと競合しないオーダと判定する(S9のNo)。そして、処理をS11へ進める。   On the other hand, (1) when there is no order being processed in the target router of the order acquired from the queue unit 122, or (2) a combination of the order acquired from the queue unit 122 and the order being processed in the target router is When the combination is not described in the competing order information 133, the input control unit 124 determines that the order acquired from the queue unit 122 is an order that does not compete with the order in the target router (No in S9). Then, the process proceeds to S11.

S11において、投入制御部124は、セッション管理情報131を参照して、続けてオーダを投入できるセッションがあるか否かを判定する(S11)。例えば、投入制御部124が、キュー部122から取得したオーダの対象ルータについて、セッション管理情報131を参照して、既に確立済みのセッションがあり、かつ、この対象ルータにおいて処理中のオーダがないことを確認すると、この対象ルータに、続けてオーダを投入できるセッションがあると判定する(S11のYes)。そして、S3へ戻る。   In S11, the input control unit 124 refers to the session management information 131 and determines whether there is a session in which an order can be subsequently input (S11). For example, referring to the session management information 131 for the order target router acquired by the input control unit 124 from the queue unit 122, there is an already established session, and there is no order being processed in the target router. Is confirmed, it is determined that there is a session in which the order can be subsequently placed in this target router (Yes in S11). Then, the process returns to S3.

一方、セッション管理情報131を参照して、対象ルータに確立中のセッションがないとき、または、確立中のセッションはあるが、対象ルータにおいてオーダの処理中(オーダを投入中)のとき、投入制御部124は、続けてオーダを投入できるセッションはないと判定する(S11のNo)。そして、S2へ戻る。   On the other hand, referring to the session management information 131, when there is no session established in the target router, or there is a session established, but the order is being processed in the target router (order is being placed), the placement control is performed. The unit 124 determines that there is no session in which an order can be subsequently input (No in S11). Then, the process returns to S2.

このようにすることで、オーダ投入装置10は、対象ルータについて競合するオーダが処理中か否かを判断して、その対象ルータに、オーダを並列投入したり、同じセッションを用いてオーダを連続投入したりする。よって、オーダ投入装置10は、対象ルータに対し効率よくオーダを投入できる。   By doing in this way, the order placement device 10 determines whether or not a competing order is being processed for the target router, and places the order in parallel to the target router, or continues the orders using the same session. Or throw it in. Therefore, the order entry device 10 can efficiently place an order with respect to the target router.

なお、オーダ投入装置10の投入制御部124は、当該セッションによるルータ20への接続開始からの経過時間を、セッション管理情報131に記録する。そして、投入制御部124は、このセッション管理情報131を参照し、当該セッションによるルータ20への経過時間が所定の時間を超えたとき、このルータ20とのセッションを切断してもよい。このようにすることで、オーダ投入装置10が、特定のルータ20に長時間接続することを防止できる。つまり、このオーダ投入システムのルータ20間でオーダ投入数の偏りが発生しにくくなる。   Note that the entry control unit 124 of the order entry device 10 records the elapsed time from the start of connection to the router 20 by the session in the session management information 131. Then, the input control unit 124 may refer to the session management information 131 and disconnect the session with the router 20 when the elapsed time to the router 20 by the session exceeds a predetermined time. By doing in this way, it is possible to prevent the order making apparatus 10 from connecting to the specific router 20 for a long time. That is, it is difficult for the order entry number to be biased between the routers 20 of this order entry system.

10 オーダ投入装置
11 入力部
12 処理部
13 記憶部
14 出力部
20(20A,20B,20C) ルータ
30 上位システム
120 変換部
121 キューイング部
122 キュー部
123 セッション管理部
124 投入制御部
131 セッション管理情報
132 オーダ情報
133 競合オーダ情報
DESCRIPTION OF SYMBOLS 10 Order injection apparatus 11 Input part 12 Processing part 13 Storage part 14 Output part 20 (20A, 20B, 20C) Router 30 Host system 120 Conversion part 121 Queuing part 122 Queue part 123 Session management part 124 Input control part 131 Session management information 132 Order information 133 Competitor order information

Claims (7)

通信網に設置される1以上のネットワーク装置へのオーダを投入するオーダ投入装置であって、
外部装置から、前記ネットワーク装置へ投入する一連のオーダをその投入順に受け付ける入力部と、
前記入力されたオーダを、そのオーダの投入先の前記ネットワーク装置それぞれについて、そのネットワーク装置へオーダを投入するときの優先度ごとのキューに分けて蓄積するキュー部と、
(1)前記ネットワーク装置との間に確立されたセッションごとに、当該セッションにより接続されるネットワーク装置の識別情報、当該セッションにより投入されたオーダのオーダID、当該セッションが確立中であるか否か、および、当該セッションにより前記ネットワーク装置へオーダを処理中であるか否かを示したセッション管理情報と、(2)前記確立されたセッションにより投入されたオーダと、そのオーダのオーダIDとを対応付けて示したオーダ情報と、(3)同じネットワーク装置において、前回投入したオーダの処理が終了していない状態で次のオーダを投入すると競合するオーダの組み合わせを示した競合オーダ情報とを記憶する記憶部と、
投入制御部により通知された前記ネットワーク装置のセッション状態に基づき前記セッション管理情報を更新するセッション管理部と、
前記ネットワーク装置との間でのセッションの確立および切断を行い、前記キュー部に蓄積されたオーダを、このオーダの投入先となるネットワーク装置との間で確立されたセッションを用いて投入し、前記ネットワーク装置のセッション状態を前記セッション管理部へ通知し、前記投入したオーダを前記オーダ情報に記録する前記投入制御部とを備え、
前記投入制御部は、
前記キュー部に蓄積されたオーダのうち優先度の高いオーダのキューに蓄積されたオーダから優先的にオーダを取得し、
前記セッション管理情報、オーダ情報および競合オーダ情報を参照して、
(1)前記キュー部から取得したオーダの投入先のネットワーク装置に処理中のオーダがないとき、前記ネットワーク装置との間に新たなセッションを確立し、その確立したセッションを用いてオーダを投入し、
(2)前記キュー部から取得したオーダの投入先のネットワーク装置に処理中のオーダがある場合において、
(2−1)前記処理中のオーダが、前記取得したオーダと競合するオーダではないとき、前記ネットワーク装置との間に新たなセッションを確立し、または、既に当該ネットワーク装置との間に確立されたセッションを用いてオーダを投入し、
(2−2)前記処理中のオーダが、前記取得したオーダと競合するオーダであるとき、前記処理中のオーダの処理が終了するのを待って、前記ネットワーク装置との間に新たなセッションを確立し、または、既に当該ネットワーク装置との間に確立されたセッションを用いてオーダを投入することを特徴とするオーダ投入装置。
An order entry device for placing an order to one or more network devices installed in a communication network,
An input unit that receives a series of orders to be input from the external device to the network device in the order of input,
A queue unit for storing the input order separately for each of the network devices to which the order is to be placed and divided into queues for each priority when ordering the network device;
(1) For each session established with the network device, the identification information of the network device connected by the session, the order ID of the order placed by the session, whether or not the session is being established And session management information indicating whether or not an order is being processed to the network device by the session, and (2) the order placed by the established session and the order ID of the order And (3) competing order information indicating a combination of competing orders when the next order is placed in the same network device when the processing of the previously placed order is not completed. A storage unit;
A session management unit that updates the session management information based on the session state of the network device notified by the input control unit;
Establishing and disconnecting a session with the network device, placing the order stored in the queue unit using a session established with the network device to which the order is placed, and Notifying the session state of the session state of the network device, the input control unit for recording the input order in the order information,
The input control unit
The order is preferentially acquired from the orders stored in the high priority order queue among the orders stored in the queue part,
With reference to the session management information, order information and competing order information,
(1) When there is no order being processed in the network device to which the order obtained from the queue unit is placed, a new session is established with the network device, and the order is placed using the established session. ,
(2) In the case where there is an order being processed in the network device to which the order acquired from the queue unit is placed,
(2-1) When the order being processed is not an order competing with the acquired order, a new session is established with the network device or has already been established with the network device. Order using the session,
(2-2) When the order being processed is an order competing with the acquired order, a new session is established with the network device after waiting for the processing of the order being processed to end. An order entry device characterized in that an order is entered using a session established with the network device already established.
前記競合するオーダの組み合わせは、
前記ネットワーク装置のコンフィグの保存を指示するオーダと、前記コンフィグの書き換えを指示するオーダとの組み合わせであることを特徴とする請求項1に記載のオーダ投入装置。
The competing order combinations are:
2. The order entry device according to claim 1, wherein the order entry device is a combination of an order for instructing storage of the configuration of the network device and an order for instructing rewriting of the configuration.
前記投入制御部は、
前記セッションごとに、当該セッションによるネットワーク装置への接続開始からの経過時間を、前記セッション管理情報に記録し、
前記セッション管理情報を参照し、当該セッションによるネットワーク装置への接続開始からの経過時間が所定の時間を超えたとき、当該セッションを切断することを特徴とする請求項1または請求項2に記載のオーダ投入装置。
The input control unit
For each session, the elapsed time from the start of connection to the network device by the session is recorded in the session management information,
The session is disconnected when the elapsed time from the start of connection to the network device by the session exceeds a predetermined time with reference to the session management information. Order input device.
前記投入制御部は、
前記セッションごとに、当該セッションによるネットワーク装置への投入オーダ数を、前記セッション管理情報における当該セッションのセッション状態に記録し、
前記セッション管理情報を参照し、当該セッションによるネットワーク装置への投入オーダ数が所定の数を超えたとき、当該セッションを切断することを特徴とする請求項1または請求項2に記載のオーダ投入装置。
The input control unit
For each session, record the number of orders placed into the network device by the session in the session state of the session in the session management information,
3. The order entry device according to claim 1, wherein the session management information is referred to and the session is disconnected when the number of input orders to the network device by the session exceeds a predetermined number. .
前記投入制御部は、
前記ネットワーク装置との間に新たなセッションを確立する場合において、前記セッション管理情報を参照して、前記新たなセッションを確立すると、当該オーダ投入装置がネットワーク装置それぞれとの間に確立中のセッション数の合計値が、当該オーダ投入装置が確立可能なセッション数の最大値を超えるとき、
前記確立中のセッションのいずれかが切断されてから、前記新たなセッションを確立することを特徴とする請求項3または請求項4に記載のオーダ投入装置。
The input control unit
When establishing a new session with the network device, referring to the session management information and establishing the new session, the number of sessions that the order placement device is establishing with each network device. When the total value exceeds the maximum number of sessions that the order entry device can establish,
5. The order entry apparatus according to claim 3, wherein the new session is established after any of the established sessions is disconnected.
通信網に設置される1以上のネットワーク装置へのオーダを投入するため、(1)前記ネットワーク装置との間に確立されたセッションごとに、当該セッションにより接続されるネットワーク装置の識別情報、当該セッションにより投入されたオーダのオーダID、当該セッションが確立中であるか否か、および、当該セッションにより前記ネットワーク装置へオーダを処理中であるか否かを示したセッション管理情報と、(2)前記確立されたセッションにより投入されたオーダと、そのオーダのオーダIDとを対応付けて示したオーダ情報と、(3)同じネットワーク装置において、前回投入したオーダの処理が終了していない状態で次のオーダを投入すると競合するオーダの組み合わせを示した競合オーダ情報とを記憶する記憶部を備えるオーダ投入装置が、
外部装置から、前記ネットワーク装置へ投入する一連のオーダをその投入順に受け付けるステップと、
前記入力されたオーダを、そのオーダの投入先の前記ネットワーク装置それぞれについて、そのネットワーク装置へオーダを投入するときの優先度ごとのキューに分けてキュー部に蓄積するステップと、
前記キュー部に蓄積されたオーダのうち優先度の高いオーダのキューに蓄積されたオーダから優先的にオーダを取得するステップと、
前記ネットワーク装置との間でのセッションの確立を行い、前記取得したオーダを、このオーダの投入先となるネットワーク装置との間で確立されたセッションを用いて投入するステップと、
前記ネットワーク装置のセッション状態に基づき前記セッション管理情報を更新するステップと、
前記投入したオーダを前記オーダ情報に記録するステップとを実行し、
前記取得したオーダをこのオーダの投入先となるネットワーク装置との間で確立されたセッションを用いて投入するステップにおいて、前記セッション管理情報、オーダ情報および競合オーダ情報を参照して、
(1)前記キュー部から取得したオーダの投入先のネットワーク装置に処理中のオーダがないとき、前記ネットワーク装置との間に新たなセッションを確立し、その確立したセッションを用いてオーダを投入し、
(2)前記キュー部から取得したオーダの投入先のネットワーク装置に処理中のオーダがある場合において、
(2−1)前記処理中のオーダが、前記取得したオーダと競合するオーダではないとき、前記ネットワーク装置との間に新たなセッションを確立し、または、既に当該ネットワーク装置との間に確立されたセッションを用いてオーダを投入し、
(2−2)前記処理中のオーダが、前記取得したオーダと競合するオーダであるとき、前記処理中のオーダの処理が終了するのを待って、前記ネットワーク装置との間に新たなセッションを確立し、または、既に当該ネットワーク装置との間に確立されたセッションを用いてオーダを投入することを特徴とするオーダ投入方法。
In order to place an order for one or more network devices installed in a communication network, (1) for each session established with the network device, identification information of the network device connected by the session, the session (2) the session management information indicating the order ID of the order entered in step 1, whether the session is being established, and whether the order is being processed by the session to the network device; Order information in which the order entered by the established session is associated with the order ID of the order, and (3) in the same network device, the processing of the next order has not been completed. A storage unit is provided for storing competing order information indicating combinations of competing orders when an order is placed. That order release device,
Receiving a series of orders to be input from the external device to the network device in the order of input;
The input order is stored in a queue unit for each of the network devices to which the order is placed, and is divided into queues for each priority when placing orders into the network device;
Obtaining a priority order from an order stored in a queue of an order having a high priority among orders stored in the queue unit;
Establishing a session with the network device, and placing the acquired order using a session established with the network device to which the order is placed;
Updating the session management information based on a session state of the network device;
Recording the placed order in the order information; and
In the step of inputting the acquired order using a session established with the network device that is the input destination of this order, referring to the session management information, the order information, and the competing order information,
(1) When there is no order being processed in the network device to which the order obtained from the queue unit is placed, a new session is established with the network device, and the order is placed using the established session. ,
(2) In the case where there is an order being processed in the network device to which the order acquired from the queue unit is placed,
(2-1) When the order being processed is not an order competing with the acquired order, a new session is established with the network device or has already been established with the network device. Order using the session,
(2-2) When the order being processed is an order competing with the acquired order, a new session is established with the network device after waiting for the processing of the order being processed to end. An order entry method characterized in that an order is placed using a session established with the network device already established.
請求項6に記載のオーダ投入方法を、コンピュータである前記オーダ投入装置に実行させるためのプログラム。   A program for causing the order entry device, which is a computer, to execute the order entry method according to claim 6.
JP2010079386A 2010-03-30 2010-03-30 Order placing device, order placing method and program thereof Active JP5149932B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010079386A JP5149932B2 (en) 2010-03-30 2010-03-30 Order placing device, order placing method and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010079386A JP5149932B2 (en) 2010-03-30 2010-03-30 Order placing device, order placing method and program thereof

Publications (2)

Publication Number Publication Date
JP2011210155A JP2011210155A (en) 2011-10-20
JP5149932B2 true JP5149932B2 (en) 2013-02-20

Family

ID=44941114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010079386A Active JP5149932B2 (en) 2010-03-30 2010-03-30 Order placing device, order placing method and program thereof

Country Status (1)

Country Link
JP (1) JP5149932B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0934813A (en) * 1995-07-17 1997-02-07 Fujitsu Ltd Agent system
JP3937371B2 (en) * 1998-05-08 2007-06-27 富士通株式会社 Competition control method and competition control system
JP5118577B2 (en) * 2008-08-15 2013-01-16 日本電信電話株式会社 Command input device, command input system, command input method and program thereof

Also Published As

Publication number Publication date
JP2011210155A (en) 2011-10-20

Similar Documents

Publication Publication Date Title
US9392081B2 (en) Method and device for sending requests
CN103281257B (en) A kind of protocol message processing method and equipment
CN113347673A (en) Method and equipment for PDU session management, node association and UPF discovery
CN104320347B (en) A kind of method and apparatus for actively updating LLDP
CN109995649B (en) Method and device for acquiring cross-domain link
CN107959702B (en) Routing method and device
JP5118577B2 (en) Command input device, command input system, command input method and program thereof
CN105591892B (en) A kind of starting method and apparatus of smooth restarting process
JP5149932B2 (en) Order placing device, order placing method and program thereof
JP2011233021A (en) Information communication system, node device, information processing method, and information processing program
JP5513999B2 (en) Order placing device, order placing method and program thereof
US20130114603A1 (en) Method for diverting packet multiple times, apparatus and system
JP5144589B2 (en) Command input device, command input system, command input method and command input program
CN102752189A (en) Method and equipment for processing message
CN113839999A (en) Multi-cluster-based device callback distribution method, system, device and storage medium
US20160057063A1 (en) Transfer device, control device and communication method
JP2009296222A (en) Application storage path management system, and method thereof
CN113099504B (en) Communication method and related device of wireless self-organizing network
JP5240048B2 (en) Client device and control method thereof
JP5282048B2 (en) Switch, interface information creation method and program thereof
JP2008271041A (en) Communication apparatus performing network selection, connection and service execution by service identifier, method thereof and program thereof
JP5108866B2 (en) Network management apparatus and network management method
JP2008206028A (en) Function distributed communication apparatus, component element coupling control method, and program
JP6569565B2 (en) Management device, distribution destination registration method, and distribution destination registration program
JP5975752B2 (en) Node management apparatus, node management method, and program

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110825

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121121

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121130

R150 Certificate of patent or registration of utility model

Ref document number: 5149932

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151207

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350