JP6559094B2 - Communication event processing apparatus, communication event processing program, and communication event processing method - Google Patents

Communication event processing apparatus, communication event processing program, and communication event processing method Download PDF

Info

Publication number
JP6559094B2
JP6559094B2 JP2016114312A JP2016114312A JP6559094B2 JP 6559094 B2 JP6559094 B2 JP 6559094B2 JP 2016114312 A JP2016114312 A JP 2016114312A JP 2016114312 A JP2016114312 A JP 2016114312A JP 6559094 B2 JP6559094 B2 JP 6559094B2
Authority
JP
Japan
Prior art keywords
time
communication
communication event
response
event
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.)
Expired - Fee Related
Application number
JP2016114312A
Other languages
Japanese (ja)
Other versions
JP2017220046A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2016114312A priority Critical patent/JP6559094B2/en
Publication of JP2017220046A publication Critical patent/JP2017220046A/en
Application granted granted Critical
Publication of JP6559094B2 publication Critical patent/JP6559094B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Bus Control (AREA)
  • Information Transfer Systems (AREA)

Description

この発明は、通信イベント処理装置、通信イベント処理プログラム及び通信イベント処理方法に関する。   The present invention relates to a communication event processing apparatus, a communication event processing program, and a communication event processing method.

複数の通信先とそれらを監視する監視センタがインターネットなどのネットワークを介して接続しているシステムの通信機能に関する。   The present invention relates to a communication function of a system in which a plurality of communication destinations and a monitoring center that monitors them are connected via a network such as the Internet.

このシステムの概要を簡単に説明する。通信機能は、監視センタ内が提供するアプリケーションからの要求に応じて、通信先に機器制御や情報収集などの処理を要求する通信イベントを送信する。通信先は通信イベントを受信すると、要求された処理を実施し、その結果を応答データとして監視センタに返す。監視センタの通信機能は、通信先から受信した応答データ毎の処理を実施する。通信先や提供するサービスの追加に伴い、監視センタが処理する通信イベントが増加すると、通信イベントの送信処理が追い付かなくなるため、監視センタは、送信待ちの通信イベントを一時的に貯め、優先度の高い通信イベントから順に制御を行う。本発明は、さらに優先度が同一の通信イベントに対する優先制御方法を対象とする。   An outline of this system will be briefly described. The communication function transmits a communication event requesting processing such as device control and information collection to the communication destination in response to a request from an application provided in the monitoring center. When the communication destination receives the communication event, it performs the requested processing and returns the result to the monitoring center as response data. The communication function of the monitoring center performs processing for each response data received from the communication destination. If the number of communication events processed by the monitoring center increases due to the addition of communication destinations and services to be provided, the transmission process of communication events will not catch up, so the monitoring center temporarily stores communication events waiting for transmission, Control in order from the highest communication event. The present invention is further directed to a priority control method for communication events having the same priority.

優先度が同一の通信イベントの優先制御の従来方法として、通信イベントの登録順に実施する方法が提案されている(特許文献1)。この方法は、パケットやプロセスの処理など、一つ一つの処理にかかる時間が同程度かつ小さい場合に有効な手法である。
しかし、通信先毎に、監視センタとの物理的な距離や、管理する機器・情報の数が異なるため、同じ優先度の通信イベントでも、監視センタから通信イベントを送信後、通信先で処理を行い、監視センタに戻ってくるまでの時間(以降、応答時間と呼ぶ)も異なる。そのため、一つ一つの処理にかかる時間を考慮せず順番に処理する従来手法では、処理時間が長い通信先への通信イベントの送信が、通信イベント毎に要求される制限時間に間に合わないことがある。
As a conventional method for priority control of communication events having the same priority, a method of performing communication events in the order of registration has been proposed (Patent Document 1). This method is effective when the time required for each process, such as packet and process processes, is about the same and small.
However, because the physical distance to the monitoring center and the number of devices and information to be managed are different for each communication destination, even if the communication event has the same priority, it is processed at the communication destination after sending the communication event from the monitoring center. The time taken to return to the monitoring center (hereinafter referred to as response time) is also different. Therefore, in the conventional method of processing in order without considering the time required for each processing, transmission of a communication event to a communication destination with a long processing time may not be in time for the time limit required for each communication event. is there.

そこで、送信完了時刻までに最も時間的な余裕がないデータを優先的に処理する方法が提案されている(特許文献2)。この方法は、通信イベントの要求発生時刻から、ユーザやデータ毎に予め設定された許容遅延時間を加算することにより、データの送信完了時刻を計算し、現在時刻から最も近い(猶予時間が短い)データにリソースを優先的に割り当てる方法である。これにより、処理時間が長い通信先への通信イベントも、予め設定した許容遅延時間の範囲で、通信イベント毎に要求される制限時間に間に合うよう処理が可能となる。   Therefore, a method for preferentially processing data that has the least time before the transmission completion time has been proposed (Patent Document 2). This method calculates the data transmission completion time by adding an allowable delay time preset for each user or data from the communication event request occurrence time, and is closest to the current time (the grace time is short). This is a method for preferentially allocating resources to data. As a result, a communication event for a communication destination having a long processing time can be processed in time for the time limit required for each communication event within a preset allowable delay time range.

特開平2−28730号公報Japanese Patent Laid-Open No. 2-28730 国際公開第2005−032075号パンフレットInternational Publication No. 2005-032075 Pamphlet

しかし、特許文献2では、許容遅延時間に予め設定された固定値を利用するため、ネットワークの遅延や通信先の処理時間など、通信先の環境の変化に対応できない。例えば、応答時間が許容遅延時間より大きくなると制限時間に間に合わなくなり、応答時間が許容遅延時間より小さくなると実際は他に優先制御すべき通信イベントよりも先に処理してしまい、結果、他の通信イベントが間に合わなくなるといった問題が発生しうる。   However, since Patent Document 2 uses a fixed value set in advance for the allowable delay time, it cannot cope with changes in the communication destination environment such as network delay and communication destination processing time. For example, if the response time becomes larger than the allowable delay time, the time limit will not be met, and if the response time becomes smaller than the allowable delay time, it will actually be processed before other communication events that should be prioritized, resulting in other communication events. The problem of not being in time can occur.

そこで、本発明は、通信先の環境の変化に対応可能な、通信イベントの優先制御方式の提供を目的とする。   Accordingly, an object of the present invention is to provide a communication event priority control system that can cope with changes in the communication destination environment.

この発明の通信イベント処理装置は、
通信先となる通信先装置に対して処理を要求する複数の通信イベントの通信イベントごとに、通信イベントの送信を要求する要求時刻に対して、通信イベントの種別毎に設定された制限時間を加算し、通信イベントの種別毎に設定された予備時間を減算し、同じ通信先装置に送信された同じ種別の以前の通信イベントの送信時刻から、以前の通信イベントに応答して前記通信先装置から返信された応答データの受信時刻までの時間である応答時間を減算することにより、通信イベントを前記通信先装置に送信すべき時刻を示す送信期限時刻を計算するスケジュール部と、
通信部と、
前記通信部を用いて、送信期限時刻の早い順に通信イベントを前記通信先装置に送信する管理部と
を備える。
The communication event processing apparatus of the present invention
For each communication event of multiple communication events that request processing to the communication destination device that is the communication destination, the time limit set for each type of communication event is added to the request time for requesting transmission of the communication event. From the transmission destination device in response to the previous communication event, from the transmission time of the previous communication event of the same type transmitted to the same communication destination device, subtract the reserve time set for each type of communication event A schedule unit for calculating a transmission deadline time indicating a time at which a communication event should be transmitted to the communication destination device by subtracting a response time which is a time until a reception time of the returned response data;
A communication department;
And a management unit that transmits a communication event to the communication destination device in order from the earliest transmission time limit using the communication unit.

本発明の通信イベント処理装置は、送信期限時刻を計算するスケジュール部と、送信期限時刻の早い順に通信イベントを通信先装置に送信する管理部とを備えた。よって、本発明によれば、通信先の環境の変化に対応可能な通信イベントの優先制御方式を提供できる。   The communication event processing device according to the present invention includes a scheduling unit that calculates a transmission deadline time, and a management unit that transmits communication events to the communication destination device in order of the transmission deadline time. Therefore, according to the present invention, it is possible to provide a communication event priority control method that can cope with changes in the communication destination environment.

実施の形態1の図で、通信イベント処理装置100−1の構成図。FIG. 3 is a diagram of the first embodiment and is a configuration diagram of a communication event processing apparatus 100-1. 実施の形態1の図で、通信イベント処理装置100−1のハードウェア構成図。FIG. 3 is a diagram illustrating the hardware configuration of the communication event processing apparatus 100-1 according to the first embodiment. 実施の形態1の図で、図1の機能部と図2のハードウェア構成との対応を示す図。FIG. 3 is a diagram of the first embodiment, and illustrates a correspondence between the functional unit in FIG. 1 and the hardware configuration in FIG. 2. 実施の形態1の図で、スケジュール部4が管理する通信イベント管理テーブル4−1を示す図。The figure of Embodiment 1, The figure which shows the communication event management table 4-1 which the schedule part 4 manages. 実施の形態1の図で、送信期限時刻T(2)を表す図。The figure of Embodiment 1 is a figure showing transmission deadline time T (2). 実施の形態1の図で、応答時間調整部8が管理する応答時間管理テーブル4−2を示す図。The figure of Embodiment 1, The figure which shows the response time management table 4-2 which the response time adjustment part 8 manages. 実施の形態1の図で、通信イベント受付部1のフローチャート。FIG. 3 is a flowchart of the communication event reception unit 1 in the first embodiment. 実施の形態1の図で、通信イベント分離部2のフローチャート。5 is a flowchart of the communication event separation unit 2 in the diagram of the first embodiment. 実施の形態1の図で、通信イベント蓄積部3−1等のフローチャート。FIG. 3 is a flowchart of the communication event accumulation unit 3-1 and the like in the diagram of the first embodiment. 実施の形態1の図で、スケジュール部4のフローチャート。FIG. 5 is a flowchart of the schedule unit 4 in the first embodiment. 実施の形態1の図で、通信イベント管理部5のフローチャート。FIG. 3 is a flowchart of the communication event management unit 5 in the first embodiment. 実施の形態1の図で、通信イベント送信部6のフローチャート。FIG. 5 is a flowchart of the communication event transmission unit 6 in the first embodiment. 実施の形態1の図で、応答データ受信部7のフローチャート。FIG. 4 is a flowchart of the response data receiving unit 7 in the first embodiment. 実施の形態1の図で、応答時間調整部8のフローチャート。FIG. 6 is a flowchart of the response time adjustment unit 8 in the diagram of the first embodiment. 実施の形態1の図で、通信イベント処理装置100−1のハードウェア構成を示す図。The figure of Embodiment 1, The figure which shows the hardware constitutions of the communication event processing apparatus 100-1. 実施の形態1の図で、通信イベント400が応答制限時刻T(3)に間に合わない状態を示す図。The figure of Embodiment 1 is a figure which shows the state from which the communication event 400 is not in time for response time limit T (3). 実施の形態2の図で、通信イベント処理装置100−2の構成図。FIG. 5 is a diagram of the second embodiment and is a configuration diagram of a communication event processing apparatus 100-2. 実施の形態2の図で、応答データ受信部7aのフローチャート。FIG. 10 is a flowchart of the response data receiving unit 7a in the second embodiment. 実施の形態2の図で、監視部9−1のフローチャート。FIG. 9 is a flowchart of the monitoring unit 9-1 in the second embodiment. 実施の形態3の図で、通信イベント処理装置100−3の構成図。FIG. 5 is a diagram of the third embodiment, and is a configuration diagram of a communication event processing device 100-3. 実施の形態3の図で、遅延回数テーブル4−3を示す図。FIG. 10 is a diagram of the third embodiment, and shows a delay number table 4-3. 実施の形態3の図で、監視部9−2のメインフローのフローチャート。FIG. 10 is a flowchart of the main flow of the monitoring unit 9-2 in the third embodiment. 実施の形態3の図で、ステップS27の詳細フローチャート。FIG. 12 is a detailed flowchart of step S27 in the third embodiment. 実施の形態3の図で、ステップS33の詳細フローチャート。FIG. 14 is a detailed flowchart of step S33 in the third embodiment. 実施の形態3の図で、ステップS39の詳細フローチャート。FIG. 14 is a detailed flowchart of step S39 in the third embodiment. 実施の形態3の図で、図22〜図23をまとめたフローチャート。FIG. 24 is a flowchart of FIGS. 22 to 23 in the third embodiment. 実施の形態4の図で、通信イベント処理装置100−4の構成図。FIG. 10 is a diagram of the fourth embodiment, and is a configuration diagram of a communication event processing device 100-4. 実施の形態4の図で、予測部9−3のフローチャート。FIG. 10 is a diagram of the fourth embodiment, and is a flowchart of the prediction unit 9-3.

以下、本発明の実施の形態について、図を用いて説明する。なお、各図中、同一または相当する部分には、同一符号を付している。実施の形態の説明において、同一または相当する部分については、説明を適宜省略または簡略化する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In addition, the same code | symbol is attached | subjected to the part which is the same or it corresponds in each figure. In the description of the embodiments, the description of the same or corresponding parts will be omitted or simplified as appropriate.

以下の実施の形態では、下記の(1)〜(6)のような、要求時刻T(1)、制限時間t1等の時刻、時間が登場する。本明細書では、「時刻」とは時間の流れの中のある一点を意味し、「時間」とは時刻と時刻との間の幅を持つ時を意味する。
(1)要求時刻T(1)、
(2)送信期限時刻T(2)
(3)応答制限時刻T(3)
(4)制限時間t1、
(5)予備時間t2、
(6)前回応答時間t3、
In the following embodiments, times and times such as request time T (1) and time limit t1 appear as in the following (1) to (6). In this specification, “time” means a certain point in the flow of time, and “time” means time having a width between time.
(1) Request time T (1),
(2) Transmission deadline time T (2)
(3) Response time limit T (3)
(4) Time limit t1,
(5) Preliminary time t2,
(6) Last response time t3,

実施の形態1.
図1は、実施の形態1の通信イベント処理装置100−1の機能構成図である。通信イベント処理装置100−1は、上位アプリケーション実行装置200、通信先装置300に接続している。上位アプリケーション実行装置200は、上位アプリケーションを実行するコンピュータである。上位アプリケーション実行装置200は、以下、上位アプリ200と記す。通信先装置300は、上位アプリ200から送信された通信イベントを処理し、通信イベントに対する応答データを返信する装置である。通信先装置300は、以下、通信先300と記す。
Embodiment 1 FIG.
FIG. 1 is a functional configuration diagram of the communication event processing apparatus 100-1 according to the first embodiment. The communication event processing apparatus 100-1 is connected to the upper application execution apparatus 200 and the communication destination apparatus 300. The host application execution device 200 is a computer that executes a host application. The upper application execution apparatus 200 is hereinafter referred to as an upper application 200. The communication destination device 300 is a device that processes a communication event transmitted from the upper application 200 and returns response data for the communication event. The communication destination device 300 is hereinafter referred to as a communication destination 300.

通信イベント処理装置100−1は、通信イベント受付部1、通信イベント分離部2、通信イベント蓄積部3−1、3−2、3−3、・・・、スケジュール部4、通信イベント管理部5、通信イベント送信部6、応答データ受信部7、応答時間調整部8を備えている。通信イベント蓄積部3は通信イベント400の優先度毎に形成される。
「優先度」とは、通信先装置に要求する処理の優先順位を示す情報である。
The communication event processing device 100-1 includes a communication event receiving unit 1, a communication event separating unit 2, a communication event accumulating unit 3-1, 3-2, 3-3,..., A scheduling unit 4, and a communication event managing unit 5. , A communication event transmitting unit 6, a response data receiving unit 7, and a response time adjusting unit 8. The communication event accumulation unit 3 is formed for each priority of the communication event 400.
The “priority” is information indicating the priority of processing requested to the communication destination device.

(1)通信イベント受付部1は、上位アプリ200から通信イベント400を受け付ける。「通信イベント400」とは、通信先300に対して何らかの処理を要求するリクエストである。通信イベント400には、
(a)通信先300を示す通信先401、
(b)優先度402、
(c)その通信イベントの種別403、
が含まれる。
(d)また通信イベント400には、要求時刻404が含まれる。
(2)通信イベント分離部2は、通信イベント400に設定された優先度402に応じて、通信イベント400を通信イベント蓄積部3−1、3−2、3−3、・・・に振り分ける。
(3)通信イベント蓄積部3−1、3−2、3−3、・・・は、通信イベント分離部2から受信した通信イベント400を通信イベント管理部5から要求されるまで保持する。
(4)スケジュール部4は、同じ優先度402の通信イベント400について、通信イベント400に設定されている制限時間に処理を完了させるために、最も猶予時間の少ない通信イベント400の順に並び替えた通信イベント400のリストを作成し、通信イベント管理部5に通知する。
(5)通信イベント管理部5は、スケジュール部4から得た通信イベント400のリストの順番に通信イベント蓄積部3−1、3−2、3−3、・・・から通信イベント400を取得し、順番に通信イベント送信部6に渡す。
(6)通信イベント送信部6は、通信イベント管理部5から受け取った通信イベント400を順番に通信先300に送信する。
(7)応答データ受信部7は、送信した通信イベント400に対して通信先300から返信された応答データ500を受信し、上位アプリ200に送信すると共に、応答時間調整部8に通知する。
(8)応答時間調整部8は、通信イベント400の送信から応答データ500の受信までの応答時間t3を、スケジュール部4の管理する後述の応答時間管理テーブル4−2に反映する。
(1) The communication event reception unit 1 receives a communication event 400 from the upper application 200. The “communication event 400” is a request for requesting the communication destination 300 for some processing. Communication event 400 includes
(A) a communication destination 401 indicating the communication destination 300;
(B) priority 402,
(C) Type 403 of the communication event,
Is included.
(D) The communication event 400 includes a request time 404.
(2) The communication event separation unit 2 distributes the communication event 400 to the communication event storage units 3-1, 3-2, 3-3,... According to the priority 402 set for the communication event 400.
(3) The communication event accumulation units 3-1, 3-2, 3-3,... Hold the communication event 400 received from the communication event separation unit 2 until requested by the communication event management unit 5.
(4) The scheduling unit 4 rearranges the communication events 400 having the same priority 402 in the order of the communication events 400 having the shortest grace time in order to complete the processing within the time limit set in the communication event 400. A list of events 400 is created and notified to the communication event management unit 5.
(5) The communication event management unit 5 acquires the communication events 400 from the communication event storage units 3-1, 3-2, 3-3,... In the order of the list of communication events 400 obtained from the schedule unit 4. In order, the data is transmitted to the communication event transmitting unit 6.
(6) The communication event transmission unit 6 sequentially transmits the communication event 400 received from the communication event management unit 5 to the communication destination 300.
(7) The response data receiving unit 7 receives the response data 500 returned from the communication destination 300 in response to the transmitted communication event 400, transmits the response data 500 to the upper application 200, and notifies the response time adjusting unit 8 of the response data.
(8) The response time adjustment unit 8 reflects the response time t3 from the transmission of the communication event 400 to the reception of the response data 500 in a response time management table 4-2 (described later) managed by the scheduling unit 4.

図2は、通信イベント処理装置100−1のハードウェア構成図である。通信イベント処理装置100−1は、コンピュータである。通信イベント処理装置100−1は、CPU(Central Processing Unit)11、ROM(Read Only Memory)12、RAM(Random Access Memory)13、HDD(Hard Disc Drive)14を接続したHDDコントローラ15、通信手段であるネットワークコントローラ16、入力手段として利用するマウス18、キーボード19、及び、ディスプレイ20が接続された入出力コントローラ17が、内部のバス21に接続して構成される。上位アプリ200や通信先300も図2と同様の構成である。ネットワークコントローラ16は、通信装置である。   FIG. 2 is a hardware configuration diagram of the communication event processing apparatus 100-1. The communication event processing apparatus 100-1 is a computer. The communication event processing apparatus 100-1 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, an HDD (Hard Disc Drive) 14 connected HDD, and a communication means. A network controller 16, a mouse 18 used as input means, a keyboard 19, and an input / output controller 17 connected to a display 20 are connected to an internal bus 21. The upper application 200 and the communication destination 300 have the same configuration as in FIG. The network controller 16 is a communication device.

図3は、図1の機能部と図2のハードウェア構成の対応を示す図である。図3ではネットワークコントローラ16は、NW/CNT16と記載している。通信イベント受付部1、通信イベント送信部6、応答データ受信部7は、NW/CNT16で実現される。通信イベント蓄積部3−1、3−2、・・・はCPU11とRAM13で実現される。通信イベント分離部2、通信イベント管理部5、応答時間調整部8はCPU11で実現される。またスケジュール部4はCPU11とRAM13で実現されるが、具体的には、スケジュール部4の通信イベント管理テーブル4−1、応答時間管理テーブル4−2がRAM13で実現される。   FIG. 3 is a diagram showing the correspondence between the functional units in FIG. 1 and the hardware configuration in FIG. In FIG. 3, the network controller 16 is described as NW / CNT16. The communication event reception unit 1, the communication event transmission unit 6, and the response data reception unit 7 are realized by the NW / CNT 16. The communication event storage units 3-1, 3-2,... Are realized by the CPU 11 and the RAM 13. The communication event separation unit 2, the communication event management unit 5, and the response time adjustment unit 8 are realized by the CPU 11. The schedule unit 4 is realized by the CPU 11 and the RAM 13. Specifically, the communication event management table 4-1 and the response time management table 4-2 of the schedule unit 4 are realized by the RAM 13.

CPU11によって実現される通信イベント処理装置100−1の機能を、通信イベント処理装置100−1の「部」の機能という。具体的には、「部」の機能は、図3に示すように、通信イベント蓄積部3−1,3−2等、通信イベント分離部2、スケジュール部4、通信イベント管理部5、応答時間調整部8の機能である。通信イベント処理装置100−1の「部」の機能は、ソフトウェアで実現される。図2にはROM12、RAM13、HDD14を示すが、これらを総称して「記憶装置」という。HDD14は補助記憶装置と呼ばれる場合もある。   The function of the communication event processing apparatus 100-1 realized by the CPU 11 is referred to as a “unit” function of the communication event processing apparatus 100-1. Specifically, as shown in FIG. 3, the function of “unit” includes communication event storage units 3-1 and 3-2, communication event separation unit 2, schedule unit 4, communication event management unit 5, response time. This is a function of the adjustment unit 8. The function of “unit” of the communication event processing apparatus 100-1 is realized by software. FIG. 2 shows the ROM 12, the RAM 13, and the HDD 14, which are collectively referred to as “storage device”. The HDD 14 may be called an auxiliary storage device.

HDD14には、通信イベント処理装置100−1の「部」の機能を実現するプログラムが記憶されている。このプログラムは、RAM13にロードされ、CPU11に読み込まれ、CPU11によって実行される。HDD14には、OS(Operating・System)も記憶されている。OSの少なくとも一部がRAM13にロードされ、CPU11はOSを実行しながら、通信イベント処理装置100−1の「部」の機能を実現するプログラムを実行する。   The HDD 14 stores a program that realizes the function of the “unit” of the communication event processing apparatus 100-1. This program is loaded into the RAM 13, read into the CPU 11, and executed by the CPU 11. The HDD 14 also stores an OS (Operating System). At least a part of the OS is loaded into the RAM 13, and the CPU 11 executes a program that realizes the function of the “unit” of the communication event processing apparatus 100-1 while executing the OS.

(通信イベント管理テーブル4−1)
図4は、スケジュール部4が通信イベント400のリストを作成するために管理する通信イベント管理テーブル4−1を示す。スケジュール部4は、通信イベント400の優先度毎に、通信イベント管理テーブル4−1を持つ。図4の(a)(b)(c)は、通信イベント管理テーブル4−1の時間的な経緯の状態を示す。
また図4の(d)は、スケジュール部4の使用する予備時間及び制限時間の情報である。予備時間及び制限時間の情報はテーブル形式であり、HDD14に格納されている。予備時間及び制限時間のレコードは、「通信先及び通信イベント種別」の組ごとに登録されている。通信イベント管理テーブル4−1の一つのレコードが、一つの通信イベント400である。図4の通信イベント管理テーブル4−1では、レコードの「通信先」及び「要求時刻」から通信イベント400を識別できる。また、例えば「通信先」の列の左に、通信イベント400を識別する「通信イベント」の列を設けて識別子を登録して、通信イベント400を識別してもよい。
通信イベント管理テーブル4−1は、
(1)通信先、
(2)要求時刻T(1)、
(3)制限時間t1、
(4)予備時間t2、
(5)前回応答時間t3、
(6)送信期限時刻T(2)
を管理する。送信期限時刻T(2)の「10:00:05」は「時:分:秒」を示す。
(Communication event management table 4-1)
FIG. 4 shows a communication event management table 4-1 managed by the schedule unit 4 to create a list of communication events 400. The schedule unit 4 has a communication event management table 4-1 for each priority of the communication event 400. (A), (b), and (c) of FIG. 4 show the time history of the communication event management table 4-1.
Further, (d) in FIG. 4 is information on the spare time and the time limit used by the schedule unit 4. The information on the preliminary time and the time limit is in a table format and is stored in the HDD 14. A record of spare time and time limit is registered for each set of “communication destination and communication event type”. One record of the communication event management table 4-1 is one communication event 400. In the communication event management table 4-1 in FIG. 4, the communication event 400 can be identified from the “communication destination” and “request time” of the record. For example, the communication event 400 may be identified by providing a “communication event” column for identifying the communication event 400 on the left side of the “communication destination” column and registering an identifier.
The communication event management table 4-1
(1) Communication destination,
(2) Request time T (1),
(3) Time limit t1,
(4) Preliminary time t2,
(5) Last response time t3,
(6) Transmission deadline time T (2)
Manage. “10:00:05” of the transmission deadline time T (2) indicates “hour: minute: second”.

通信イベント分離部2が、通信イベント管理テーブル4−1のレコードを登録する。
通信イベント分離部2は、通信イベント受付部1から通信イベントを受け取った際(後述のS03)に、通信イベント管理テーブル4−1にデータと登録する。
「通信先」には、通信先300を識別する識別子が登録される。
「要求時刻T(1)」には、通信イベント要求部1が通信イベント400を受け付けた時刻が登録される。
「制限時間t1」と「予備時間t2」とは、通信イベント毎に予め設定されている値を登録する。「制限時間t1」とは、通信イベント400に対する応答データ500を上位アプリ200に返すまでの時間である。「予備時間t2」とは、通信先300の状況により発生する応答時間t3のバラツキを吸収するための時間として設定された時間である。
「前回応答時間t3」とは、同じ種別の通信イベントを前回送信した際の応答時間500を登録である。「前回応答時間t3」は、通信イベント分離部2が、後述する応答時間管理テーブル4−2から取得する。
「送信期限時刻T(2)」は、制限時間t1、予備時間t2、前回応答時間t3を考慮した、通信イベント送信の期限となる時刻を表す。送信期限時刻T(2)は、通信イベントの要求時刻T(1)に制限時間t1を加算し、予備時間t2、前回応答時間t3を減算した結果である。
つまり、
送信期限時刻T(2)=
要求時刻T(1)+制限時間t1−予備時間t2−前回応答時間t3
である。
図5は、送信期限時刻T(2)を表す図である。送信期限時刻T(2)が現在時刻に近いほど、通信イベント400に設定された制限時間t1内に処理を完了させるための余裕時間が少ないと言える。
The communication event separation unit 2 registers the record of the communication event management table 4-1.
When receiving a communication event from the communication event receiving unit 1 (S03 described later), the communication event separating unit 2 registers the data in the communication event management table 4-1.
In the “communication destination”, an identifier for identifying the communication destination 300 is registered.
In “request time T (1)”, the time at which the communication event request unit 1 receives the communication event 400 is registered.
As “limit time t1” and “preliminary time t2”, values set in advance for each communication event are registered. The “time limit t1” is the time until response data 500 for the communication event 400 is returned to the upper application 200. The “preliminary time t2” is a time set as a time for absorbing variations in the response time t3 that occurs depending on the status of the communication destination 300.
“Previous response time t3” is registration of response time 500 when the same type of communication event was transmitted last time. The “previous response time t3” is acquired by the communication event separation unit 2 from a response time management table 4-2 described later.
“Transmission deadline time T (2)” represents the time when the communication event transmission is due, taking into account the time limit t1, the spare time t2, and the previous response time t3. The transmission deadline time T (2) is a result of adding the time limit t1 to the request time T (1) of the communication event and subtracting the preliminary time t2 and the previous response time t3.
That means
Transmission deadline time T (2) =
Request time T (1) + time limit t1-preliminary time t2-previous response time t3
It is.
FIG. 5 is a diagram showing the transmission deadline time T (2). It can be said that the closer the transmission deadline time T (2) is to the current time, the less time is required for completing the processing within the time limit t1 set in the communication event 400.

図6は、応答時間調整部8が管理する、応答時間管理テーブル4−2である。応答時間管理テーブル4−2では、「通信先」、「通信イベント種別」、「応答時間」が管理される。応答時間管理テーブル4−2のレコードは、応答データ受信部7から応答データ500を受信するたびに更新される。
「通信先、通信イベント種別」の組が初めての応答データを受信する場合は、応答時間調整部8は、その応答データのレコードを追加する。
(a)通信イベント管理テーブル4−1と同様に、「通信先」には、通信先300を識別する識別子を登録する。
(b)「通信イベント種別」には、受信した応答データ500に対応する通信イベント400の種別を登録する。
(c)「応答時間」には、受信した応答データ500に対応する通信イベント400の送信時刻から、その応答データ500の受信までにかかった時間を登録する。つまり「応答時間」とは、通信イベント400を通信先300に送信した時刻から、通信イベントに対応する通信先300からの応答データ500が受信された時刻までの時間である。スケジュール部4が「通信先」と「通信イベント種別」とを通信イベント管理テーブル4−1に入力すると、応答時間管理テーブル4−2において対応する「応答時間」をスケジュール部4へ返す。
FIG. 6 is a response time management table 4-2 managed by the response time adjustment unit 8. In the response time management table 4-2, “communication destination”, “communication event type”, and “response time” are managed. The record of the response time management table 4-2 is updated every time the response data 500 is received from the response data receiving unit 7.
When the first set of “communication destination, communication event type” receives response data, the response time adjustment unit 8 adds a record of the response data.
(A) Similarly to the communication event management table 4-1, an identifier for identifying the communication destination 300 is registered in “communication destination”.
(B) In the “communication event type”, the type of the communication event 400 corresponding to the received response data 500 is registered.
(C) In “response time”, the time taken from the transmission time of the communication event 400 corresponding to the received response data 500 to the reception of the response data 500 is registered. That is, the “response time” is the time from the time when the communication event 400 is transmitted to the communication destination 300 to the time when the response data 500 from the communication destination 300 corresponding to the communication event is received. When the schedule unit 4 inputs “communication destination” and “communication event type” to the communication event management table 4-1, the corresponding “response time” is returned to the schedule unit 4 in the response time management table 4-2.

また、図4では、
「10:00:00」になる直前の状態(上段)、
「10:00:00」に「通信先1」に対する通信イベントが登録された状態(中段)、
「10:00:10」に「通信先2」に対する通信イベントが登録された状態(下段)の通信イベント管理テーブル4−1の内容を表している。
「10:00:00」直前は通信先A、通信先Bに向けた通信イベント400の他、分かりにくくなるため図4には記載していないが、通信先Aの前、通信先Aと通信先Bの間、通信先Bの後には多数の通信イベント400が登録されている状態とする。
ここで、「10:00:00」に「通信先1」向けの通信イベント400が登録されたとする。
In FIG.
The state just before “10:00: 00” (upper row),
A state in which a communication event for “communication destination 1” is registered at “10:00: 00” (middle row),
The contents of the communication event management table 4-1 in a state where a communication event for “communication destination 2” is registered at “10:00:10” (lower row) are shown.
The communication event 400 directed to the communication destination A and communication destination B immediately before “10:00: 00” is not shown in FIG. 4 because it becomes difficult to understand, but communication with the communication destination A before the communication destination A is performed. During the destination B, a number of communication events 400 are registered after the destination B.
Here, it is assumed that the communication event 400 for “communication destination 1” is registered at “10:00:00”.

その際、
(1)通信イベント管理テーブル4−1の「通信先」は、通信イベント400に付与されている通信先401を利用する。
(2)「要求時刻T(1)」は、現在時刻である「10:00:00」を利用する。
(3)「制限時間t1、予備時間t2」は、予め通信イベントの種別毎に決定している値(図4の(d))を利用する。
図4では、
通信イベントの種別=T01、
制限時間t1=60sec、
予備時間t2=10secを
利用している。
(4)「前回応答時間t3」は、図6の応答時間管理テーブル4−2から「通信先」と「通信イベント種別」に対応する応答時間t3を取得して利用する。
(5)「送信期限時刻T(2)」は、
上記のように、
送信期限時刻T(2)=
要求時刻T(1)+制限時間t1−予備時間t2−前回応答時間t3
が登録される。その結果、「通信先1」向けの通信イベント400の送信期限時刻T(2)は、「10:00:30」となり、通信先Aや通信先Bよりも送信までの余裕があることから、送信順位はA、B、1の順となる。
that time,
(1) The “communication destination” of the communication event management table 4-1 uses the communication destination 401 assigned to the communication event 400.
(2) “Request time T (1)” uses “10:00: 00”, which is the current time.
(3) As the “limit time t1, spare time t2”, values determined in advance for each type of communication event ((d) in FIG. 4) are used.
In FIG.
Communication event type = T01,
Time limit t1 = 60 sec,
The spare time t2 = 10 sec is used.
(4) “Previous response time t3” is obtained by using the response time t3 corresponding to “communication destination” and “communication event type” from the response time management table 4-2 in FIG.
(5) “Transmission deadline time T (2)”
As described above,
Transmission deadline time T (2) =
Request time T (1) + time limit t1-preliminary time t2-previous response time t3
Is registered. As a result, the transmission deadline time T (2) of the communication event 400 for “communication destination 1” is “10:00:30”, and there is more room for transmission than the communication destination A or communication destination B. The transmission order is A, B, 1 in this order.

ここで、さらに、「10:00:10」に「通信先2」に対する通信イベント400が登録されたとする。この時点で、「通信先A」に向けた通信イベント400は送信されているものとする。この時、「通信先2」の「前回応答時間t3」を図6の応答時間管理テーブル4−2から取得する。「通信先」の「前回応答時間t3」は40secであるので、「送信期限時刻T(2)」は「10:00:20」となり、スケジュール部4のソートにより、送信順位は、B、2、1の順となる。   Here, it is further assumed that a communication event 400 for “communication destination 2” is registered at “10:00:10”. At this time, it is assumed that the communication event 400 for “communication destination A” has been transmitted. At this time, “previous response time t3” of “communication destination 2” is acquired from the response time management table 4-2 in FIG. Since “previous response time t3” of “communication destination” is 40 sec, “transmission deadline time T (2)” is “10:00:20”, and the transmission order is B, 2 by sorting of the schedule unit 4. 1 in this order.

このように、実施の形態1では、同一の優先度の通信イベント400を、送信期限時刻T(2)が現在時刻に近いものから順に処理することで、応答時間の変化に対応可能な優先制御を実現する。   Thus, in the first embodiment, priority control that can cope with a change in response time by processing the communication events 400 of the same priority in order from the transmission deadline time T (2) closer to the current time. Is realized.

***動作の説明***
次に、図7〜12を用いて、実施の形態1の動作について説明する。
*** Explanation of operation ***
Next, the operation of the first embodiment will be described with reference to FIGS.

(通信イベント受付部1)
図7は、通信イベント受付部1のフローチャートである。上位アプリ200が通信先300に対して通信イベント400を送信する度に、通信イベント受付部1は下記動作を実行する。
ステップS01において、通信イベント受付部1は、上位アプリ200から、通信イベント400を受け付ける。
ステップS02において、通信イベント受付部1は、通信イベント400を通信イベント分離部2に送付する
(Communication event reception part 1)
FIG. 7 is a flowchart of the communication event reception unit 1. Each time the higher-level application 200 transmits a communication event 400 to the communication destination 300, the communication event reception unit 1 performs the following operation.
In step S <b> 01, the communication event receiving unit 1 receives a communication event 400 from the upper application 200.
In step S02, the communication event receiving unit 1 sends the communication event 400 to the communication event separating unit 2.

(通信イベント分離部2)
図8は、通信イベント分離部2のフローチャートである。通信イベント受付部1から通信イベントを受信する度に、通信イベント分離部2は下記動作を実行する。
ステップS03において、通信イベント分離部2は、通信イベント400に付与されている、通信先401、優先度402、通信イベント種別403、要求時刻404の情報を、スケジュール部4に通知する。
ステップS04において、通信イベント分離部2は、通信イベント400に付与された優先度に対応する通信イベント蓄積部3に、通信イベント400を登録する。
(Communication event separation unit 2)
FIG. 8 is a flowchart of the communication event separation unit 2. Each time a communication event is received from the communication event receiving unit 1, the communication event separating unit 2 performs the following operation.
In step S <b> 03, the communication event separation unit 2 notifies the schedule unit 4 of information on the communication destination 401, the priority 402, the communication event type 403, and the request time 404 given to the communication event 400.
In step S04, the communication event separation unit 2 registers the communication event 400 in the communication event storage unit 3 corresponding to the priority assigned to the communication event 400.

(通信イベント蓄積部)
図9は、通信イベント蓄積部3−1、3−2、3−3、・・のフローチャートである。通信イベント分離部2から通信イベント400を登録された後、通信イベント蓄積部3−1等は、通信イベント管理部5から通信イベント要求の取得要求がある度に、下記動作を実行する。
ステップS05において、通信イベント蓄積部3−1、3−2、3−3、・・は、通信イベント管理部5から要求された通信イベント400を、通信イベント管理部5に送信する。
(Communication event storage unit)
FIG. 9 is a flowchart of the communication event accumulation units 3-1, 3-2, 3-3,. After the communication event 400 is registered from the communication event separation unit 2, the communication event accumulation unit 3-1 performs the following operation every time there is a communication event request acquisition request from the communication event management unit 5.
In step S05, the communication event storage units 3-1, 3-2, 3-3,... Transmit the communication event 400 requested from the communication event management unit 5 to the communication event management unit 5.

(スケジュール部4)
スケジュール部4は、通信先装置に対して処理を要求する複数の通信イベント400の通信イベントごとに、通信イベント400の送信を要求する要求時刻T(1)に対して、通信イベントの種別毎に設定された制限時間t1を加算し、通信イベントの種別毎に設定された予備時間t2を減算し、同じ通信先装置に送信された同じ種別の以前の通信イベント400の送信時刻から、以前の通信イベント400に応答して通信先装置から返信された応答データ500の受信時刻までの時間である応答時間t3を減算することにより、通信イベントを通信先装置に送信すべき時刻を示す送信期限時刻T(2)を計算する。スケジュール部4が計算した送信期限時刻T(2)は、管理部である通信イベント管理部5が、通信部である通信イベント送信部6を用いて、送信期限時刻T(2)の早い順に通信イベント400を通信先300に送信することに使用される。
(Schedule part 4)
For each communication event type of communication event 400, the scheduling unit 4 performs the communication event 400 for each type of communication event 400 with respect to the request time T (1) for requesting transmission of the communication event 400. The set time limit t1 is added, the preliminary time t2 set for each type of communication event is subtracted, and the previous communication event 400 of the same type transmitted to the same communication destination device is transmitted from the previous communication event 400. By subtracting a response time t3 that is a time until the reception time of the response data 500 returned from the communication destination device in response to the event 400, a transmission time limit T indicating the time at which the communication event should be transmitted to the communication destination device. (2) is calculated. The transmission time limit T (2) calculated by the scheduling unit 4 is communicated by the communication event management unit 5 serving as the management unit in the order of the transmission time limit T (2) using the communication event transmission unit 6 serving as the communication unit. Used to transmit the event 400 to the communication destination 300.

図10は、スケジュール部4のフローチャートである。通信イベント分離部2から通信イベントの情報である通信先401、優先度402、通信イベント種別403、要求時刻404を取得する度に、以下動作を実行する。
ステップS06において、スケジュール部4は、通信イベント分離部2から取得した通信先401、通信イベント種別403の情報を利用し、応答時間管理テーブル4−2から、対応する応答時間t3を取得する。さらに、HDD14に格納されている、「通信先、通信イベント種別」の組毎に設定されている「制限時間t1、予備時間t2」を利用して、通信イベント400が「要求時刻T(1)+制限時間t1」に間に合うための送信期限時刻T(2)を以下の式で算出する。ここで、要求時刻T(1)は、通信イベントの受付時刻とする。通信イベント受付部1が通信イベント400にタイムスタンプとして受付時刻を付与する。
送信期限時刻T(2)=要求時刻T(1)+制限時間t1−予備時間t2−前回応答時間t3
ステップS07において、スケジュール部4は、通信イベント400の優先度に応じた通信イベント管理テーブル4−1に、通信イベント400のレコードを登録する。
ステップS08において、スケジュール部4は、通信イベント管理テーブル4−1を送信期限時刻T(2)の早い順に並び替え、この並び替えたリストを生成する。この並び替えは、通信イベント400に設定された制限時間t1内に処理を完了させるための余裕時間の少ない順に並び替えることを意味する。このリストは、図4の通信イベント管理テーブル4−1が相当する。
ステップS09において、スケジュール部4は、通信イベント400のリストを、通信イベント管理部5に通知する。
FIG. 10 is a flowchart of the schedule unit 4. Each time the communication destination 401, the priority 402, the communication event type 403, and the request time 404, which are communication event information, are acquired from the communication event separation unit 2, the following operation is executed.
In step S06, the schedule unit 4 uses the information on the communication destination 401 and the communication event type 403 acquired from the communication event separation unit 2, and acquires the corresponding response time t3 from the response time management table 4-2. Furthermore, using the “limit time t1, spare time t2” set for each set of “communication destination, communication event type” stored in the HDD 14, the communication event 400 is “request time T (1)”. The transmission deadline time T (2) in time for “+ time limit t1” is calculated by the following equation. Here, the request time T (1) is the reception time of the communication event. The communication event reception unit 1 gives the reception time to the communication event 400 as a time stamp.
Transmission time limit T (2) = request time T (1) + time limit t1-preliminary time t2-previous response time t3
In step S07, the schedule unit 4 registers a record of the communication event 400 in the communication event management table 4-1 corresponding to the priority of the communication event 400.
In step S08, the schedule unit 4 rearranges the communication event management table 4-1 in ascending order of the transmission deadline time T (2), and generates this rearranged list. This rearrangement means rearrangement in ascending order of time for completing the processing within the time limit t1 set in the communication event 400. This list corresponds to the communication event management table 4-1 in FIG.
In step S09, the schedule unit 4 notifies the communication event management unit 5 of a list of communication events 400.

(通信イベント管理部5)
図11は、通信イベント管理部5のフローチャートである。スケジュール部4から通信イベントのリストを取得する度に、以下動作を実行する。
ステップS10において、通信イベント管理部5は、スケジュール部4から取得した通信イベントのリストの順(送信期限時刻T(2)の早い順)に、通信イベント400の優先度に対応する通信イベント蓄積部3−1、3−2、3−3、・・から通信イベント400を取得し、通信イベント送信部6に送信する。
(Communication Event Manager 5)
FIG. 11 is a flowchart of the communication event management unit 5. Every time a list of communication events is acquired from the schedule unit 4, the following operation is executed.
In step S <b> 10, the communication event management unit 5 sets the communication event storage unit corresponding to the priority of the communication event 400 in the order of the communication event list acquired from the schedule unit 4 (in order of the transmission deadline time T (2)). The communication event 400 is acquired from 3-1, 3-2, 3-3,... And transmitted to the communication event transmission unit 6.

(通信イベント送信部6)
図12は、通信イベント送信部6のフローチャートである。通信イベント管理部5から通信イベント400を受信する度に、以下の動作を実行する。
ステップS11において、通信イベント送信部6は、通信イベント管理部5から通信イベント400を受信した順に、通信先300へ送信する。
(Communication event transmitter 6)
FIG. 12 is a flowchart of the communication event transmission unit 6. Each time the communication event 400 is received from the communication event management unit 5, the following operation is executed.
In step S <b> 11, the communication event transmission unit 6 transmits the communication event 400 to the communication destination 300 in the order in which the communication event 400 is received from the communication event management unit 5.

(応答データ受信部7)
図13は、応答データ受信部7のフローチャートである。通信先300から応答データ500を受信する度に、以下動作を実行する。
ステップS12において、応答データ受信部7は、通信先300から応答データ500受信する。
ステップS13において、応答データ受信部7は、応答データ500を上位アプリ200に送信する。
ステップS14において、応答データ受信部7は、応答時間調整部8に応答データ500の受信時刻を通知する。
(Response data receiving unit 7)
FIG. 13 is a flowchart of the response data receiving unit 7. Every time response data 500 is received from the communication destination 300, the following operation is executed.
In step S <b> 12, the response data receiving unit 7 receives the response data 500 from the communication destination 300.
In step S <b> 13, the response data receiving unit 7 transmits the response data 500 to the upper application 200.
In step S <b> 14, the response data receiving unit 7 notifies the response time adjusting unit 8 of the reception time of the response data 500.

(応答時間調整部8)
図14は、応答時間調整部8のフローチャートである。応答データ受信部7から応答データの受信時刻を取得する度に、以下動作を実行する。
(Response time adjustment unit 8)
FIG. 14 is a flowchart of the response time adjustment unit 8. Each time the response data reception time is acquired from the response data receiving unit 7, the following operation is executed.

ステップS15において、応答時間調整部8は、応答データ受信部7から得た応答データ500の受信時刻から通信イベント400の送信時刻を減算し、応答時間を算出する。
ステップS16において、応答時間調整部8は、ステップS15で算出した応答時間を用いて、応答時間管理テーブル4−2で該当するレコード(「通信先」及び「通信イベント種別」が同じ)の応答時間t3を、算出した応答時間に書き換える。あるいはレコードが新規登録のため応答時間t3が未登録であれば登録する。
In step S <b> 15, the response time adjustment unit 8 subtracts the transmission time of the communication event 400 from the reception time of the response data 500 obtained from the response data reception unit 7 to calculate the response time.
In step S16, the response time adjustment unit 8 uses the response time calculated in step S15, and the response time of the corresponding record in the response time management table 4-2 ("communication destination" and "communication event type" are the same). Rewrite t3 to the calculated response time. Alternatively, if the record is new registration and the response time t3 is unregistered, the record is registered.

***実施の形態1の効果***
実施の形態1の通信イベント処理装置100−1によれば、予備時間t2と、ネットワーク遅延や通信先装置の処理時間の増加などにより変更する応答時間とを利用して、優先度の同じ通信イベント400の送信順番を決定する。これにより、制限時間t1に間に合わない通信イベント400を減らすことができるので、システムの信頼性を向上できる。
*** Effects of Embodiment 1 ***
According to the communication event processing apparatus 100-1 of the first embodiment, the communication event having the same priority is used by using the standby time t2 and the response time that is changed due to an increase in the processing time of the network delay or the communication destination apparatus. 400 transmission order is determined. As a result, communication events 400 that do not meet the time limit t1 can be reduced, and the reliability of the system can be improved.

なお、実施の形態1では前回の応答時間を使用しているが、前々回(2回前)、3回前等の応答時間を用いてもよい。ただし、前回の応答時間を用いることが好ましい。つまり、実施の形態1で説明したように、スケジュール部4は、同じ通信先装置に送信された同じ種別の以前の通信イベントとして、前回に送信された通信イベントを用いることが好ましい。   Although the previous response time is used in the first embodiment, response times such as two times before (two times before) and three times before may be used. However, it is preferable to use the previous response time. That is, as described in the first embodiment, it is preferable that the schedule unit 4 uses the communication event transmitted last time as the previous communication event of the same type transmitted to the same communication destination device.

***他の構成***
図15は、通信イベント処理装置100−1のハードウェア構成を示す図である。
*** Other configurations ***
FIG. 15 is a diagram illustrating a hardware configuration of the communication event processing apparatus 100-1.

図15は、処理回路99を示す図である。本実施の形態では通信イベント処理装置100−1の「部」の機能はソフトウェアで実現されるが、変形例として、通信イベント処理装置100−1の「部」の機能がハードウェアで実現されてもよい。つまり、処理回路99によって、前述したCPU11として示す通信イベント処理装置100−1の「部」の機能、及びROM12、RAM13、HDD14を含む「記憶装置」の機能を実現する。処理回路99は信号線99aに接続している。処理回路99は、通信イベント処理装置100−1の「部」の機能及び「記憶装置」の機能を実現する専用の電子回路である。処理回路99は、具体的には、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ロジックIC、GA(Gate・Array)、ASIC(Application・Specific・Integrated・Circuit)、又は、FPGA(Field−Programmable・Gate・Array)である。   FIG. 15 is a diagram showing the processing circuit 99. In the present embodiment, the function of “unit” of communication event processing apparatus 100-1 is realized by software, but as a modification, the function of “part” of communication event processing apparatus 100-1 is realized by hardware. Also good. That is, the processing circuit 99 realizes the function of “unit” of the communication event processing apparatus 100-1 shown as the CPU 11 and the function of “storage device” including the ROM 12, RAM 13, and HDD 14. The processing circuit 99 is connected to the signal line 99a. The processing circuit 99 is a dedicated electronic circuit that realizes the function of “unit” and the function of “storage device” of the communication event processing apparatus 100-1. Specifically, the processing circuit 99 includes a single circuit, a composite circuit, a programmed processor, a processor programmed in parallel, a logic IC, a GA (Gate Array), an ASIC (Application Specific Integrated Circuit), or , FPGA (Field-Programmable Gate Gate Array).

通信イベント処理装置100−1は、処理回路99を代替する複数の処理回路を備えていてもよい。これら複数の処理回路により、全体として、通信イベント処理装置100−1の「部」の機能が実現される。それぞれの処理回路は、処理回路99と同じように、専用の電子回路である。   The communication event processing apparatus 100-1 may include a plurality of processing circuits that replace the processing circuit 99. As a whole, the function of “unit” of the communication event processing apparatus 100-1 is realized by the plurality of processing circuits. Each processing circuit, like the processing circuit 99, is a dedicated electronic circuit.

別の変形例として、通信イベント処理装置100−1の機能がソフトウェアとハードウェアとの組合せで実現されてもよい。すなわち、通信イベント処理装置100−1の一部の機能が専用のハードウェアで実現され、残りの機能がソフトウェアで実現されてもよい。   As another modification, the function of the communication event processing apparatus 100-1 may be realized by a combination of software and hardware. That is, some functions of the communication event processing apparatus 100-1 may be realized by dedicated hardware, and the remaining functions may be realized by software.

CPU11、「ROM12、RAM13、HDD14等の記憶装置」及び処理回路99を、総称して「プロセッシングサーキットリ」という。つまり、通信イベント処理装置100−1の「部」の機能及び記憶装置は、プロセッシングサーキットリにより実現される。   The CPU 11, the “storage device such as the ROM 12, the RAM 13, and the HDD 14” and the processing circuit 99 are collectively referred to as “processing circuit”. That is, the function and storage device of the “unit” of the communication event processing device 100-1 are realized by the processing circuitry.

「部」を「工程」又は「手順」又は「処理」に読み替えてもよい。また、「部」の機能をファームウェアで実現してもよい。つまり、通信イベント処理装置100−1の動作は通信イベント処理プログラム、通信イベント処理方法として把握できる。また、「部」の機能は、通信イベント処理プログラムを格納する記録媒体して実現することもできる。   “Part” may be read as “step” or “procedure” or “processing”. Further, the function of “unit” may be realized by firmware. That is, the operation of the communication event processing apparatus 100-1 can be grasped as a communication event processing program and a communication event processing method. Further, the function of “unit” can also be realized as a recording medium for storing a communication event processing program.

実施の形態2.
実施の形態1よれば、通信先300の応答時間の変化に応じた通信イベント400の優先制御ができる。しかし、応答時間の変化量△tが予備時間t2を超えてしまうと、通信イベント400が、以下に示す応答制限時刻T(3)に間に合わなくなる。そこで、実施の形態2では,応答時間の変化量△tに応じて、次回の予備時間t2を調整する機能を追加する。
Embodiment 2. FIG.
According to the first embodiment, priority control of the communication event 400 can be performed in accordance with the change in the response time of the communication destination 300. However, if the change amount Δt of the response time exceeds the preliminary time t2, the communication event 400 will not be in time for the response limit time T (3) shown below. Therefore, in the second embodiment, a function of adjusting the next preliminary time t2 according to the change amount Δt of the response time is added.

図16は、応答時間の変化量△tが予備時間t2を超えて、通信イベント400が、
要求時刻T(1)+制限時間t1=応答制限時刻T(3)
の式で得られる、応答制限時刻T(3)に間に合わなくなる状態を示す。
FIG. 16 shows that the change amount Δt of the response time exceeds the reserve time t2, and the communication event 400 is
Request time T (1) + time limit t1 = response time limit T (3)
The state obtained by the equation (2) is not in time for the response limit time T (3).

図17は実施の形態2の通信イベント処理装置100−2の機能構成図である。実施の形態1の通信イベント処理装置100−1の応答データ受信部7を、予備時間調整部9への処理を追加した応答データ受信部7aに変更し、予備時間調整部9を追加した。応答データ受信部7aは、通信先300へ送信された通信イベント400に対して、通信先300から返信された応答データ500の通知を、応答時間調整部8に加え、予備時間調整部9−1にも通知する。予備時間調整部9は、応答時間変化量監視部9−1(以下、監視部9−1と記す)を備えており、応答時間の変化量△tが、予め設定した予備時間t2の最小値(以下、予備minと記す)よりも大きい場合、応答時間の変化量△tを次回の予備時間t2として、スケジュール部4に反映する。   FIG. 17 is a functional configuration diagram of the communication event processing apparatus 100-2 according to the second embodiment. The response data receiving unit 7 of the communication event processing apparatus 100-1 according to the first embodiment is changed to a response data receiving unit 7a to which processing for the preliminary time adjusting unit 9 is added, and the preliminary time adjusting unit 9 is added. In response to the communication event 400 transmitted to the communication destination 300, the response data receiving unit 7 a adds a notification of the response data 500 returned from the communication destination 300 to the response time adjustment unit 8, and reserve time adjustment unit 9-1 Also notify. The standby time adjustment unit 9 includes a response time change amount monitoring unit 9-1 (hereinafter referred to as a monitoring unit 9-1), and the response time change amount Δt is a minimum value of the preset standby time t2. If it is greater than (hereinafter referred to as reserve min), the change amount Δt of the response time is reflected in the schedule unit 4 as the next reserve time t2.

つまり、スケジュール部4の有する通信イベント管理テーブル4−1は、複数の通信イベント400の通信イベントごとに、送信期限時刻T(2)が対応付けられた通信イベント管理情報である。予備時間調整部9は、同じ通信先装置に送信された同じ種別の2つの通信イベントの応答時間の差分を示す応答時間の変化量△tを監視し、応答時間の変化量△tの値に基づいて、次回の予備時間t2を算出する。そして、予備時間調整部9は、次回の予備時間t2を用いて、通信イベント管理テーブル4−1の通信イベントごとに、次回の送信期限時刻T(2)を算出し、通信イベント管理テーブル4−1を更新する。   That is, the communication event management table 4-1 included in the schedule unit 4 is communication event management information in which the transmission deadline time T (2) is associated with each communication event of the plurality of communication events 400. The standby time adjustment unit 9 monitors the response time variation Δt indicating the difference between the response times of two communication events of the same type transmitted to the same communication destination device, and sets the response time variation Δt to a value. Based on this, the next preliminary time t2 is calculated. Then, the spare time adjustment unit 9 calculates the next transmission deadline time T (2) for each communication event in the communication event management table 4-1, using the next spare time t2, and the communication event management table 4- 1 is updated.

ハードウェア構成については、実施の形態1と同じである。   The hardware configuration is the same as in the first embodiment.

次に、図18〜図19を用いて、通信イベント処理装置100−2について説明する。実施の形態1と同じ機能については、同じ動作をするため説明を省き、追加・変更した応答データ受信部7aと監視部9−1の動作のみ説明する。   Next, the communication event processing apparatus 100-2 will be described with reference to FIGS. The same functions as those of the first embodiment are not described because they perform the same operations, and only the operations of the added / changed response data receiving unit 7a and the monitoring unit 9-1 are described.

図18は、応答データ受信部7aのフローチャートである。通信先300から応答データ500を受信する度に動作する。ステップS12〜ステップS14は、実施の形態1と同じであるため説明を省く。   FIG. 18 is a flowchart of the response data receiving unit 7a. It operates every time response data 500 is received from the communication destination 300. Steps S12 to S14 are the same as those in the first embodiment, and thus description thereof is omitted.

ステップS17において、応答データ受信部7aは、予備時間調整部9に応答データの受信時刻を通知し、処理を終了する。   In step S17, the response data receiving unit 7a notifies the standby time adjusting unit 9 of the reception time of the response data, and ends the process.

図19は、監視部9−1のフローチャートである。予備時間調整部9が、応答データ受信部7aから応答データの受信時刻を取得する度に、以下の動作を実行する。   FIG. 19 is a flowchart of the monitoring unit 9-1. Each time the spare time adjustment unit 9 acquires the reception time of the response data from the response data reception unit 7a, the following operation is executed.

ステップS18において、監視部9−1は、応答データ受信部7aから得た応答データ500の受信時刻から通信イベント400の送信時刻を減算し、応答時間を算出する。
ステップS19において、監視部9−1は、ステップS18で算出した応答時間と応答時間管理テーブル4−2に登録されている前回応答時間t3との差から、応答時間の変化量△tを算出する
ステップS20において、監視部9−1は、ステップS19で算出した応答時間の変化量△tと、通信先300と通信イベント種別毎に決められている予備minを比較する。
つまり、図16の変化量△tと、「予備min」とを比較する。応答時間の変化量△tが「予備min」より大きければ、処理はステップS21へ、そうでなければ、ステップS22に遷移する。
ステップS21において、監視部9−1は、実績値である応答時間の変化量△tが想定する予備時間よりも大きいことから、次回の予備時間t2を応答時間の変化量△tとして、通信イベント管理テーブル4−1の通信イベントごとに、次回の送信期限時刻T(2)を再計算し、通信イベント管理テーブル4−1の予備時間t2および送信期限時刻T(2)を更新する。また、通信イベント管理テーブル4−1に新たにレコードを追加する場合、スケジュール部4は、この新たな予備時間t2、つまり変化量△tを使用する。
In step S18, the monitoring unit 9-1 subtracts the transmission time of the communication event 400 from the reception time of the response data 500 obtained from the response data reception unit 7a to calculate a response time.
In step S19, the monitoring unit 9-1 calculates the change amount Δt of the response time from the difference between the response time calculated in step S18 and the previous response time t3 registered in the response time management table 4-2. In step S20, the monitoring unit 9-1 compares the change amount Δt of the response time calculated in step S19 with the spare min determined for each communication destination 300 and each communication event type.
That is, the amount of change Δt in FIG. 16 is compared with “preliminary min”. If the change amount Δt in response time is larger than “preliminary min”, the process proceeds to step S21; otherwise, the process proceeds to step S22.
In step S21, since the change amount Δt of the response time, which is the actual value, is larger than the assumed reserve time, the monitoring unit 9-1 uses the next reserve time t2 as the change amount Δt of the response time as a communication event. For each communication event in the management table 4-1, the next transmission deadline time T (2) is recalculated, and the spare time t2 and the transmission deadline time T (2) in the communication event management table 4-1 are updated. When a new record is added to the communication event management table 4-1, the schedule unit 4 uses this new spare time t 2, that is, the change amount Δt.

ステップS22において、監視部9−1は、応答時間の変化量△tが想定する予備時間t2minの範囲であることから、次回の予備時間t2を予備minとして次回の送信期限時刻T(2)を再計算する。そして、通信イベント管理テーブル4−1の予備時間t2および送信期限時刻T(2)を更新する。また通信イベント管理テーブル4−1に新たにレコードを追加する場合、スケジュール部4は、この新たな予備時間t2、つまり予備minを使用する。   In step S22, since the change amount Δt of the response time is in the range of the assumed spare time t2min, the monitoring unit 9-1 sets the next spare time t2 as the spare min and sets the next transmission deadline time T (2). Recalculate. Then, the spare time t2 and the transmission deadline time T (2) in the communication event management table 4-1 are updated. When a new record is added to the communication event management table 4-1, the schedule unit 4 uses this new spare time t2, that is, the spare min.

***実施の形態2の効果***
実施の形態2の通信イベント処理装置100−2によれば、応答時間の変化量△tが、予め通信先300との通信で想定する冗長時間である、予備時間t2より大きくなった場合でも、図16に示すように、次回の予備時間t2を応答時間の変化量△tに合わせることができる。それにより、実施の形態1よりも、制限時間t1に間に合わない通信イベントが減り、システムの信頼性を向上させることができる。
*** Effects of Embodiment 2 ***
According to the communication event processing apparatus 100-2 of the second embodiment, even when the change amount Δt of the response time is larger than the standby time t2, which is a redundant time assumed in advance for communication with the communication destination 300, As shown in FIG. 16, the next preliminary time t2 can be matched with the change amount Δt of the response time. As a result, communication events that do not meet the time limit t1 can be reduced as compared with the first embodiment, and the reliability of the system can be improved.

実施の形態3.
実施の形態2により、通信先300の応答時間や、応答時間の変化量△tに応じた通信イベント400の優先制御ができるようになる。しかし、応答時間の変化量△tが前回の応答時間の変化量△tよりも大きくなり続けると、予備時間t2の調整が追い付かず、通信イベント400が連続して遅延してしまう。そこで、連続して通信イベントが遅延する場合を応答時間の変化量の増加が続いている状態と判断し、予備時間t2を大幅に増加する機能を追加する。
Embodiment 3 FIG.
According to the second embodiment, priority control of the communication event 400 according to the response time of the communication destination 300 and the change amount Δt of the response time can be performed. However, if the change amount Δt of the response time continues to be larger than the change amount Δt of the previous response time, the adjustment of the standby time t2 cannot catch up and the communication event 400 is continuously delayed. In view of this, when the communication event is continuously delayed, it is determined that the amount of change in the response time continues to increase, and a function for significantly increasing the standby time t2 is added.

「遅延」とは、通信イベント400に対応する応答データ500の受信が間に合わないことを意味する。具体的には、図16に示すように、通信イベント400について、その通信イベント400の応答データ500の受信時刻が、その通信イベント400の応答制限時刻T(3)(要求時刻T(1)+制限時間t1)の後になることをいう。
図20は、実施の形態3の通信イベント処理装置100−3の機能構成図である。実施の形態2の通信イベント処理装置100−2のスケジュール部4に応答データ連続遅延回数管理テーブル4−3(以下、遅延回数テーブル4−3と以記す)を追加し、予備時間調整部9の中身を応答データ連続遅延回数監視部9−2(以下、監視部9−2と記す)に変更したものである。
“Delay” means that the response data 500 corresponding to the communication event 400 cannot be received in time. Specifically, as shown in FIG. 16, for the communication event 400, the reception time of the response data 500 of the communication event 400 is the response time limit T (3) (request time T (1) + of the communication event 400. This is after the time limit t1).
FIG. 20 is a functional configuration diagram of the communication event processing apparatus 100-3 according to the third embodiment. A response data continuous delay count management table 4-3 (hereinafter referred to as delay count table 4-3) is added to the schedule section 4 of the communication event processing apparatus 100-2 of the second embodiment. The content is changed to a response data continuous delay count monitoring unit 9-2 (hereinafter referred to as a monitoring unit 9-2).

予備時間調整部9の監視部9−2は、同じ通信先装置に送信された同じ種別の複数の通信イベントの各通信イベントの応答データの受信時刻を監視し、各通信イベントの応答データの受信時刻が、送信要求時刻T(1)に制限時間t1を加算した時刻である応答制限時刻T(3)よりも連続して後になり、かつ、連続して後になる回数が閾値を超えるか判定する。監視部9−2は、閾値を超える場合に、予備時間を変更し、変更した予備時間を用いて、通信イベント管理テーブル4−1の通信イベントごとの送信期限時刻T(2)を再計算する。以下に詳細を説明する。   The monitoring unit 9-2 of the standby time adjusting unit 9 monitors the reception time of response data of each communication event of a plurality of communication events of the same type transmitted to the same communication destination device, and receives the response data of each communication event. It is determined whether the number of times that are continuously after and continuously after the response limit time T (3), which is a time obtained by adding the limit time t1 to the transmission request time T (1), exceeds a threshold value. . When the threshold value is exceeded, the monitoring unit 9-2 changes the spare time, and recalculates the transmission deadline time T (2) for each communication event in the communication event management table 4-1, using the changed spare time. . Details will be described below.

図21は、遅延回数テーブル4−3を表している。遅延回数テーブル4−3は、「通信先、通信イベント」の組ごとに、応答データ連続遅延回数(D)(以下、連続遅延回数(D)と記す)と、変化量連続安定回数(S)(以下、連続安定回(S)と記す)を管理する。連続遅延回数(D)は、「通信先、通信イベント種別」毎の応答データが連続で遅延した回数を指し、遅延しなかった場合は0に設定される。連続で遅延した場合は、応答時間の変化量△tが常に大きくなっており、実施の形態2のように前回の応答時間の変化量△tを利用するのでは対応できないほど、通信先300の環境が悪化し続けていることを表する。連続遅延回数(D)の値が閾値Dlimitを超えると、監視部9−2は次回の予備時間t2を大きくとる遅延モードに遷移する。連続安定回数(S)は、遅延モード中に応答時間の変化量△が予備minを連続で下回った回数を指す。この値が大きくなることは、通信先の環境が安定してきたことを表し、S値が閾値Slimitを超えると、通信先の環境が安定したと判断し、監視部9−2は遅延モードを解除する。また、監視部9−2は、遅延モードの開始/解除のチェック、遅延モード/非遅延モード時の予備時間を調整する機能を持ち、その結果を通信イベント管理テーブル4−1に反映する。 FIG. 21 shows a delay count table 4-3. The delay count table 4-3 includes response data continuous delay count (D) (hereinafter referred to as continuous delay count (D)) and change amount continuous stable count (S) for each set of “communication destination, communication event”. (Hereinafter referred to as continuous stable times (S)) is managed. The number of continuous delays (D) indicates the number of times response data for each “communication destination, communication event type” is continuously delayed, and is set to 0 when there is no delay. In the case of continuous delay, the change amount Δt of the response time is always large, and the communication destination 300 cannot be handled by using the previous change amount Δt of response time as in the second embodiment. Indicates that the environment continues to deteriorate. When the value of the number of continuous delays (D) exceeds the threshold value D limit , the monitoring unit 9-2 transitions to a delay mode in which the next spare time t2 is increased. The number of times of continuous stabilization (S) indicates the number of times that the change amount Δ of the response time continuously falls below the preliminary min during the delay mode. An increase in this value indicates that the communication destination environment has become stable. If the S value exceeds the threshold value S limit , it is determined that the communication destination environment is stable, and the monitoring unit 9-2 sets the delay mode. To release. The monitoring unit 9-2 has a function of checking start / release of the delay mode and adjusting a spare time in the delay mode / non-delay mode, and reflects the result in the communication event management table 4-1.

ハードウェア構成については、実施の形態1および2と同じである。   The hardware configuration is the same as in the first and second embodiments.

次に、図22〜21を用いて、実施の形態3の通信イベント処理装置100−3の動作について説明する。実施の形態1や2と同じ機能については、同じ動作をするため説明を省き、追加・変更した監視部9−2のみ説明する。   Next, the operation of the communication event processing apparatus 100-3 according to the third embodiment will be described with reference to FIGS. The same functions as those in the first and second embodiments will not be described because they perform the same operation, and only the added / changed monitoring unit 9-2 will be described.

図22は、監視部9−2のメインフローのフローチャートである。応答データ受信部7aから応答データの受信時刻を取得する度に、図22の動作を実行する。
図23は、図22のステップS27の内容を示すフローチャートである。
図24は、図22のステップS33の内容を示すフローチャートである。
図25は、図23のステップS39のフローチャートである。
図26は、図22のS27,S33、S39に図23〜図25を反映した図である。図26を参照して説明する。
FIG. 22 is a flowchart of the main flow of the monitoring unit 9-2. Every time the reception time of response data is acquired from the response data receiving unit 7a, the operation of FIG. 22 is executed.
FIG. 23 is a flowchart showing the contents of step S27 of FIG.
FIG. 24 is a flowchart showing the contents of step S33 of FIG.
FIG. 25 is a flowchart of step S39 in FIG.
FIG. 26 is a diagram reflecting FIGS. 23 to 25 in S27, S33, and S39 of FIG. This will be described with reference to FIG.

ステップS23において、監視部9−2は、ステップS18と同様に応答時間を算出し、さらに、算出した応答時間からステップS19と同様に応答時間の変化量△tを算出する。
ステップS24において、監視部9−2は、現在のモードが遅延モードであるかどうかを確認する。遅延モードであれば、ステップS27の「遅延モード解除チェックフロー」に進み、遅延モード解除できかを確認する。遅延モードでなければ(S24:NO)、処理はステップS33の「遅延モードチェックフロー」に進み、監視部9−2は遅延モードを開始できるかを確認する。ステップS27,ステップS33の実施後は、処理はステップS25へ遷移する。ステップS27、ステップS33については後述する。
In step S23, the monitoring unit 9-2 calculates a response time in the same manner as in step S18, and further calculates a response time variation Δt from the calculated response time in the same manner as in step S19.
In step S24, the monitoring unit 9-2 checks whether or not the current mode is the delay mode. If it is the delay mode, the process proceeds to the “delay mode release check flow” in step S27 to check whether the delay mode can be released. If not in the delay mode (S24: NO), the process proceeds to “delay mode check flow” in step S33, and the monitoring unit 9-2 confirms whether the delay mode can be started. After performing Step S27 and Step S33, the process proceeds to Step S25. Steps S27 and S33 will be described later.

ステップS25において、監視部9−2は、ステップS27およびステップS33のフローを実施した結果、遅延モードであれば(S25:YES)、ステップS39に進む。S39では、遅延モード時の予備時間調整フローで予備時間t2を調整する。遅延モードでなければ(S25:NO)、監視部9−2は、ステップS26で次回の予備時間t2を調整する。ステップS39,ステップS26が終了すると、処理を終了する。   In step S25, if the monitoring unit 9-2 performs the flow of steps S27 and S33 and is in the delay mode (S25: YES), the process proceeds to step S39. In S39, the reserve time t2 is adjusted by the reserve time adjustment flow in the delay mode. If not in the delay mode (S25: NO), the monitoring unit 9-2 adjusts the next standby time t2 in step S26. When step S39 and step S26 are finished, the processing is finished.

ステップS26では、監視部9−2は、実施の形態2のステップS21と同様に、予備時間t2を応答時間の変化量△tとして送信期限時刻T(2)を算出する。そして、監視部9−2は、通信イベント管理テーブル4−2の予備時間t2および送信期限時刻T(2)を更新する。またスケジュール部4は、新たに通信イベント管理テーブル4−1にレコードを登録する場合は、ステップS26で決定された予備時間t2を用いて送信期限時刻T(2)を計算する。   In step S26, the monitoring unit 9-2 calculates the transmission deadline time T (2) using the standby time t2 as the response time variation Δt, as in step S21 of the second embodiment. Then, the monitoring unit 9-2 updates the standby time t2 and the transmission deadline time T (2) in the communication event management table 4-2. Further, when newly registering a record in the communication event management table 4-1, the schedule unit 4 calculates the transmission deadline time T (2) using the spare time t <b> 2 determined in step S <b> 26.

図23を参照して、ステップS27の内容を説明する。 The contents of step S27 will be described with reference to FIG.

ステップS28において、監視部9−2は、応答時間の変化量△tと、予め設定されている予備minを比較する。応答時間の変化量△tが予備minより小さい場合はステップS29に、そうでない場合はステップS32に遷移する。
ステップS29では、監視部9−2は、連続安定回数(S)を1増やす。ステップS29に進む場合は、
応答時間の変化量△t<予備min
であるが、ステップS28で判定された変化量△tが、予備時間t2の設定時に想定した応答時間の変化量△tの範囲内であることを意味し、通信先の環境が安定に向かっていることを意味する。そのため、ステップS29では、
応答時間の変化量△t<予備min
の場合には、遅延回数テーブル4−3の連続安定回数(S)を1増やす。そして、Slimit回よりも多く遅延が連続した場合に安定したと判断する。
In step S28, the monitoring unit 9-2 compares the change amount Δt of the response time with a preset spare min. If the change amount Δt of the response time is smaller than the reserve min, the process proceeds to step S29, and if not, the process proceeds to step S32.
In step S29, the monitoring unit 9-2 increases the number of continuous stable times (S) by one. When proceeding to step S29,
Change amount of response time Δt <preliminary min
However, it means that the change amount Δt determined in step S28 is within the range of the response time change amount Δt assumed when the standby time t2 is set, and the environment of the communication destination is stabilized. Means that Therefore, in step S29,
Change amount of response time Δt <preliminary min
In this case, the continuous stable frequency (S) in the delay frequency table 4-3 is increased by one. Then, it is determined that the delay is stable when the delay continues more than S limit times.

ステップS30において、監視部9−2は、通信先300の環境が安定したか判断するため、連続安定回数(S)と、安定を判定する閾値(Slimit)とを比較する。
連続安定回数S>閾値(Slimit
の場合はステップS31に遷移し、
連続安定回数S≦閾値(Slimit
の場合は、遅延モードは解除せずに遅延モード解除チェックを終了する。
In step S30, the monitoring unit 9-2 compares the number of continuous stable times (S) with a threshold value (S limit ) for determining stability in order to determine whether the environment of the communication destination 300 is stable.
Number of continuous stable times S> threshold (S limit )
In this case, the process proceeds to step S31.
Number of continuous stable times S ≦ threshold (S limit )
In this case, the delay mode cancellation check is terminated without canceling the delay mode.

ステップS31において、監視部9−2は、遅延モードを解除し、遅延モード解除チェックを終了する。
ステップS32において、監視部9−2は、連続安定回数(S)を0に戻し、遅延モードを解除せずに遅延モード解除チェックを終了する。
これは、
応答時間の変化量△t>予備min
の場合、予備時間t2の設定時に想定した応答時間の変化量の範囲外であることから、通信先300の環境が安定していない可能性が大きいためである。
In step S31, the monitoring unit 9-2 cancels the delay mode and ends the delay mode cancel check.
In step S32, the monitoring unit 9-2 returns the continuous stable count (S) to 0, and ends the delay mode cancellation check without canceling the delay mode.
this is,
Change amount of response time Δt> preliminary min
This is because there is a high possibility that the environment of the communication destination 300 is not stable because it is outside the range of the change amount of the response time assumed at the time of setting the standby time t2.

図24を参照して、ステップS33の内容を説明する。   The contents of step S33 will be described with reference to FIG.

ステップS34において、監視部9−2は、通信イベントの応答データの受信時刻から、今回の通信イベントが遅延したかどうかを判断する。つまり図16で示したように、監視部9−2は、その通信イベント400の応答データ500の受信時刻が、その通信イベント400の応答制限時刻T(3)の後か判定する。遅延の場合はステップS35に、遅延でない場合はステップS38に遷移する。   In step S34, the monitoring unit 9-2 determines whether or not the current communication event is delayed from the reception time of the response data of the communication event. That is, as illustrated in FIG. 16, the monitoring unit 9-2 determines whether the reception time of the response data 500 of the communication event 400 is after the response limit time T (3) of the communication event 400. If it is a delay, the process proceeds to step S35. If it is not a delay, the process proceeds to step S38.

ステップS35において、監視部9−2は、回数管理テーブル4−3の連続遅延回数(D)の値を1増やし、ステップS36に遷移する。
ステップS36において、監視部9−2は、連続遅延回数Dと、遅延モードに遷移するための閾値Dlimitを比較する。
連続遅延回数D>閾値Dlimit
の場合はステップS37に遷移して、遅延モードが開始しフローを終了する。
連続遅延回数D≦閾値Dlimit
の場合はフローを終了する。
In step S35, the monitoring unit 9-2 increases the value of the number of continuous delays (D) in the number management table 4-3 by 1, and proceeds to step S36.
In step S36, the monitoring unit 9-2 compares the number of consecutive delays D with the threshold value D limit for transitioning to the delay mode.
Number of continuous delays D> threshold D limit
In this case, the process proceeds to step S37, the delay mode starts and the flow ends.
Number of continuous delays D ≦ threshold D limit
In the case of, the flow ends.

ステップS38において、監視部9−2は、遅延が発生しなかったので、遅延回数テーブル4−3の連続遅延回数(D)の値を0に戻し、フローを終了する。   In step S38, since no delay has occurred, the monitoring unit 9-2 returns the value of the continuous delay number (D) in the delay number table 4-3 to 0 and ends the flow.

図25を参照して、ステップS39の内容を説明する。   The contents of step S39 will be described with reference to FIG.

ステップS40において、監視部9−2は、遅延回数テーブル4−3の連続遅延回数(D)の値を取得し、1より大きいか(連続して発生しているか)を確認する。大きい場合はステップS41に、そうでない場合はステップS44に遷移する。   In step S40, the monitoring unit 9-2 acquires the value of the continuous delay number (D) in the delay number table 4-3, and confirms whether it is greater than 1 (occurs continuously). If larger, the process proceeds to step S41, and if not, the process proceeds to step S44.

ステップS44において、監視部9−2は、遅延が発生しなくても予備時間t2を遅延モード時の最大値に設定する。これは遅延モード時の開始時は通信先300が不安定であり、安定するまでは応答時間が激しく変動する可能性があるためである。   In step S44, the monitoring unit 9-2 sets the standby time t2 to the maximum value in the delay mode even if no delay occurs. This is because the communication destination 300 is unstable at the start of the delay mode, and the response time may fluctuate drastically until it stabilizes.

ステップS41において、監視部9−2は、以下の式で予備時間t2を算出する。ここでDの値は、連続遅延回数でない、任意の値を利用してもよい。
予備時間t2=応答時間の変化量×D
In step S41, the monitoring unit 9-2 calculates the preliminary time t2 using the following equation. Here, any value other than the number of continuous delays may be used as the value of D.
Preliminary time t2 = change in response time × D

ステップS42において、監視部9−2は、S41で求めた予備時間と、補助記憶装置に「通信先オ及び通信イベント種別」に対応付けて格納している予備時間の最大値(以下、予備maxと記す)とを比較する。
S41で求めた予備時間>予備max
の場合はステップS43に進む。
S41で求めた予備時間≦予備max
の場合はフローを終了する。
In step S42, the monitoring unit 9-2 determines the spare time obtained in S41 and the maximum spare time (hereinafter referred to as spare max) stored in the auxiliary storage device in association with “communication destination and communication event type”. Compare with).
Preliminary time obtained in S41> Preliminary max
In this case, the process proceeds to step S43.
Preliminary time calculated in S41 ≦ preliminary max
In the case of, the flow ends.

ステップS43において、監視部9−2は、予備maxを予備時間t2に更新する。そして、予備maxを用いて通信イベント管理テーブル4−1の送信期限時刻T(2)を再計算し、更新した予備時間t2、再計算した送信期限時刻T(2)で、通信イベント管理テーブル4−1のレコードを更新する。また、スケジュール部4は、通信イベント管理テーブル4−1に新規に登録されるレコードには、更新された予備時間t2を用いる。   In step S43, the monitoring unit 9-2 updates the reserve max to the reserve time t2. Then, the transmission deadline time T (2) of the communication event management table 4-1 is recalculated using the spare max, and the communication event management table 4 is updated with the updated spare time t2 and the recalculated transmission deadline time T (2). -1 record is updated. The schedule unit 4 uses the updated spare time t2 for a record newly registered in the communication event management table 4-1.

***実施の形態3の効果***
実施の形態3の通信イベント処理装置100−3によれば、応答時間の変化量が毎回増加し続けるような場合においても、予備時間t2を大きく設定することで、通信イベントが間に合う可能性を上げることができる。それにより、実施の形態2よりも、制限時間t1に間に合わない通信イベントが減り、システムの信頼性を向上させることができる。
*** Effects of Embodiment 3 ***
According to the communication event processing apparatus 100-3 of the third embodiment, even when the change amount of the response time continues to increase every time, the possibility that the communication event is in time is increased by setting the reserve time t2 large. be able to. As a result, communication events that do not meet the time limit t1 can be reduced as compared with the second embodiment, and the reliability of the system can be improved.

実施の形態4.
実施の形態2や実施の形態3により、応答時間の変化量に応じた通信イベントの優先制御ができるようになる。しかし、応答時間の変化量に対応するまでに、通信イベントが遅延してしまうという課題がある。実施の形態4は、この課題の対策として、遅延していない状態での応答時間の変化量から、次回の予備時間t2を調整する機能を追加する。
Embodiment 4 FIG.
According to the second embodiment and the third embodiment, priority control of communication events according to the amount of change in response time can be performed. However, there is a problem that the communication event is delayed until the change amount of the response time is dealt with. In the fourth embodiment, as a countermeasure for this problem, a function for adjusting the next preliminary time t2 from the amount of change in the response time in a non-delayed state is added.

図27は、実施の形態4の通信イベント処理装置100−4の機能構成図である。通信イベント処理装置100−4は、通信イベント処理装置100−2の予備時間調整部9の中身を通信先環境予測部9−3(以下、予測部9−3と記す)に変更したものである。予測部9−3は、応答時間の変化量が、予め設定した予備minに近づいたことを検出すると、次回の予備時間t2を増加させて、急な応答時)の増加に対しても対応する。   FIG. 27 is a functional configuration diagram of the communication event processing apparatus 100-4 according to the fourth embodiment. The communication event processing device 100-4 is obtained by changing the contents of the standby time adjustment unit 9 of the communication event processing device 100-2 to a communication destination environment prediction unit 9-3 (hereinafter referred to as prediction unit 9-3). . When the predicting unit 9-3 detects that the amount of change in the response time has approached the preset spare min, the predicting unit 9-3 increases the next spare time t2 to cope with an increase in a sudden response). .

ハードウェア構成については、これまでの実施の形態と同じである。   The hardware configuration is the same as in the previous embodiments.

次に、図28を用いて通信イベント処理装置100−4の動作を説明する。これまでと同様に、同じ動作をする機能については説明を省き、追加した予測部9−3の動作のみ説明する。
図28は、予測部9−3のフローチャートである。応答データ受信部7aから応答データ500の受信時刻を取得する度に、予測部9−3は以下の動作を実行する。
Next, operation | movement of the communication event processing apparatus 100-4 is demonstrated using FIG. As before, the description of the function that performs the same operation will be omitted, and only the operation of the added prediction unit 9-3 will be described.
FIG. 28 is a flowchart of the prediction unit 9-3. Each time the reception time of the response data 500 is acquired from the response data reception unit 7a, the prediction unit 9-3 performs the following operation.

ステップS23において、予測部9−3は、ステップS23と同様に、通信イベント400の応答時間と、応答時間の変化量を算出する
ステップS45において、予測部9−3は、ステップS23で算出した通信イベントの応答時間の変化量△tと、予め設定した予備minに、0より大きく1以下の値を取る変数αを掛けた値である予備min×αとを比較する。例えばα=0.5とした場合、応答時間の変化量△tが予備minの半分より大きいかどうかをチェックすることになる。大きければステップS46に、そうでない場合はステップS47に遷移する。
In step S23, the prediction unit 9-3 calculates the response time of the communication event 400 and the change amount of the response time in the same manner as in step S23. In step S45, the prediction unit 9-3 calculates the communication calculated in step S23. The amount of change Δt in the response time of the event is compared with a reserve min × α that is a value obtained by multiplying a preset reserve min by a variable α that is greater than 0 and less than or equal to 1. For example, when α = 0.5, it is checked whether or not the change amount Δt of the response time is larger than half of the reserve min. If it is larger, the process proceeds to step S46, and if not, the process proceeds to step S47.

ステップS46において、次回の予備時間t2を今回の予備時間t2のβ倍に設定する。
変化量△t>予備min×α
の場合は、このまま通信先300の環境が悪化する場合、遅延が発生すると考えられるためである。ここで、βは任意の値を設定可能である。そして、予測部9−3は次回の予備時間t2を用いて送信期限時刻T(2)を算出し、通信イベント管理テーブル4−1の予備時間t2および送信期限時刻T(2)を更新する。
またスケジュール部4は、通信イベント管理テーブル4−1に新規に登録されるレコードには、更新された予備時間t2を用いる。
In step S46, the next preliminary time t2 is set to β times the current preliminary time t2.
Change amount Δt> preliminary min × α
This is because a delay is considered to occur when the environment of the communication destination 300 deteriorates as it is. Here, an arbitrary value can be set for β. Then, the prediction unit 9-3 calculates the transmission deadline time T (2) using the next spare time t2, and updates the spare time t2 and the transmission deadline time T (2) in the communication event management table 4-1.
The schedule unit 4 uses the updated spare time t2 for a record newly registered in the communication event management table 4-1.

ステップS47において、予測部9−3は、次回の予備時間t2を予備minに設定する。これは、
応答時間の変化量△t≦「予備min×α」(α:0より大きく1以下)
の場合、通信先300の環境が安定していると考えられるからである
In step S47, the prediction unit 9-3 sets the next spare time t2 to the spare min. this is,
Change amount of response time Δt ≦ “preliminary min × α” (α: greater than 0 and 1 or less)
In this case, it is considered that the environment of the communication destination 300 is stable.

***実施の形態4の効果****
通信イベント処理装置100−4によれば、予備minの一定割合を超えるという前兆を検出し、予備時間t2を大きくすることで、応答時間が急に大きくなった場合でも遅延する通信イベントを減らすことができ、システムの信頼性を向上させることができる。
*** Effects of Embodiment 4 ***
According to the communication event processing apparatus 100-4, by detecting a precursor that the predetermined ratio of the reserve min is exceeded and increasing the reserve time t2, it is possible to reduce communication events that are delayed even when the response time suddenly increases. And the reliability of the system can be improved.

以上、本発明の実施の形態について説明したが、これらの実施の形態のうち、2つ以上を組み合わせて実施しても構わない。あるいは、これらの実施の形態のうち、1つを部分的に実施しても構わない。あるいは、これらの実施の形態のうち、2つ以上を部分的に組み合わせて実施しても構わない。なお、本発明は、これらの実施の形態に限定されるものではなく、必要に応じて種々の変更が可能である。   As mentioned above, although embodiment of this invention was described, you may implement in combination of 2 or more among these embodiment. Alternatively, one of these embodiments may be partially implemented. Alternatively, two or more of these embodiments may be partially combined. In addition, this invention is not limited to these embodiment, A various change is possible as needed.

D 連続遅延回数、S 連続安定回数、100−1,100−2,100−3,100−4 通信イベント処理装置、200 上位アプリ、300 通信先、1 通信イベント受付部、2 通信イベント分離部、3−1,3−2,3−3 通信イベント蓄積部、4 スケジュール部、4−1 通信イベント管理テーブル、4−2 応答時間管理テーブル、4−3 遅延回数テーブル、5 通信イベント管理部、6 通信イベント送信部、7 応答データ受信部、8 応答時間調整部、9 予備時間調整部、9−1,9−2 監視部、9−3 予測部、11 CPU、12 ROM、13 RAM、14 HDD、15 HDDコントローラ、16 ネットワークコントローラ、17 入出力コントローラ、18
マウス、19 キーボード、20 ディスプレイ。
D continuous delay times, S continuous stable times, 100-1, 100-2, 100-3, 100-4 communication event processing device, 200 upper application, 300 communication destination, 1 communication event reception unit, 2 communication event separation unit, 3-1, 3-2, 3-3 communication event storage unit, 4 schedule unit, 4-1 communication event management table, 4-2 response time management table, 4-3 delay count table, 5 communication event management unit, 6 Communication event transmission unit, 7 response data reception unit, 8 response time adjustment unit, 9 standby time adjustment unit, 9-1, 9-2 monitoring unit, 9-3 prediction unit, 11 CPU, 12 ROM, 13 RAM, 14 HDD , 15 HDD controller, 16 Network controller, 17 Input / output controller, 18
Mouse, 19 keyboard, 20 display.

Claims (8)

通信先となる通信先装置に対して処理を要求するためにアプリケーション実行装置から送信された複数の通信イベントの通信イベントごとに、通信イベントの送信を要求する要求時刻に対して、通信イベントの種別毎に設定された時間であり、通信イベントに対する応答データを前記アプリケーション実行装置に返すまでの時間である制限時間を加算し、通信イベントの種別毎に設定され、同じ通信先装置に送信された同じ種別の以前の通信イベントの送信時刻から、以前の通信イベントに応答して前記通信先装置から返信された応答データの受信時刻までの時間である応答時間のばらつきを吸収する予備時間を減算し、さらに、前記応答時間を減算することにより、通信イベントを前記通信先装置に送信すべき時刻を示す送信期限時刻を計算すると共に、複数の通信イベントの通信イベントごとに、送信期限時刻が対応付けられた通信イベント管理情報を有するスケジュール部と、
通信部と、
前記通信部を用いて、送信期限時刻の早い順に通信イベントを前記通信先装置に送信する管理部と
同じ通信先装置に送信された同じ種別の2つの通信イベントの応答時間の差分を示す応答時間変化量を監視し、応答時間変化量の値に基づいて予備時間の長さを大きくし、大きくした予備時間を用いて、通信イベント管理情報の通信イベントごとの送信期限時刻を再計算する予備時間調整部を備える通信イベント処理装置。
The type of communication event for the request time for requesting transmission of a communication event for each communication event of a plurality of communication events transmitted from the application execution device to request processing to the communication destination device that is the communication destination The same time set for each type of communication event and sent to the same communication destination device, adding a time limit that is a time set for each response time to return response data for the communication event to the application execution device From the transmission time of the previous communication event of the type, subtract the reserve time to absorb the variation in response time, which is the time until the reception time of the response data returned from the communication destination device in response to the previous communication event , Furthermore, by subtracting the response time, a total of the transmission deadline time indicating the time to transmit a communication event to the communication destination device While, for each communication event of a plurality of communication events, and a scheduling part having a communication event management information transmission deadline time is associated,
A communication department;
Using the communication unit, a management unit that transmits communication events to the communication destination device in order of early transmission time limit ; and
The response time change amount indicating the difference between the response times of two communication events of the same type transmitted to the same communication destination device is monitored, and the length of the standby time is increased and increased based on the response time change amount value. A communication event processing apparatus comprising a spare time adjustment unit that recalculates a transmission deadline time for each communication event of communication event management information using the spare time .
通信先となる通信先装置に対して処理を要求するためにアプリケーション実行装置から送信された複数の通信イベントの通信イベントごとに、通信イベントの送信を要求する要求時刻に対して、通信イベントの種別毎に設定された時間であり、通信イベントに対する応答データを前記アプリケーション実行装置に返すまでの時間である制限時間を加算し、
通信イベントの種別毎に設定され、同じ通信先装置に送信された同じ種別の以前の通信イベントの送信時刻から、以前の通信イベントに応答して前記通信先装置から返信された応答データの受信時刻までの時間である応答時間のばらつきを吸収する予備時間を減算し、さらに、前記応答時間を減算することにより、通信イベントを前記通信先装置に送信すべき時刻を示す送信期限時刻を計算するスケジュール部と、
通信部と、
前記通信部を用いて、送信期限時刻の早い順に通信イベントを前記通信先装置に送信する管理部と
を備えると共に、
前記スケジュール部は、
同じ通信先装置に送信された同じ種別の以前の通信イベントとして、前回に送信された通信イベントを用いる通信イベント処理装置。
The type of communication event for the request time for requesting transmission of a communication event for each communication event of a plurality of communication events transmitted from the application execution device to request processing to the communication destination device that is the communication destination It is a time set for each time, and adds a time limit that is a time until response data for a communication event is returned to the application execution device ,
The reception time of response data returned from the communication destination device in response to the previous communication event from the transmission time of the previous communication event of the same type set for each communication event type and transmitted to the same communication destination device A schedule for calculating a transmission deadline time indicating a time at which a communication event is to be transmitted to the communication destination device by subtracting a preliminary time for absorbing a variation in response time, which is a time until, and further subtracting the response time And
A communication department;
Using said communication unit, and a management unit to be transmitted to the communication destination device communication events are listed in the ascending order of transmit time limit Rutotomoni,
The schedule part
A communication event processing apparatus using a communication event transmitted last time as a previous communication event of the same type transmitted to the same communication destination apparatus.
前記予備時間調整部は、
同じ通信先装置に送信された同じ種別の複数の通信イベントの各通信イベントの応答データの受信時刻を監視し、各通信イベントの応答データの受信時刻が、要求時刻に制限時間を加算した時刻である応答制限時刻よりも連続して後になり、かつ、連続して後になる回数が閾値を超える場合に、予備時間の長さを大きくし、大きくした予備時間を用いて、通信イベント管理情報の通信イベントごとの送信期限時刻を再計算する請求項に記載の通信イベント処理装置。
The preliminary time adjustment unit includes:
The reception time of response data of each communication event of a plurality of communication events of the same type transmitted to the same communication destination device is monitored, and the reception time of the response data of each communication event is a time obtained by adding a time limit to the request time. only after continuously than is the response time limit, and, if the number made after continuously exceeds a threshold, increasing the length of the preliminary time, using a reserve time is increased, the communication of the communication event management information The communication event processing apparatus according to claim 1 , wherein the transmission deadline time for each event is recalculated.
前記複数の通信イベントの各通信イベントは、
通信先装置に要求する処理の優先順位を示す優先度が同じである請求項1から請求項のいずれか一項に記載の通信イベント処理装置。
Each communication event of the plurality of communication events is:
The communication event processing device according to any one of claims 1 to 3 , wherein the priorities indicating the priority of processing requested to the communication destination device are the same.
通信装置を有するコンピュータに、
通信先となる通信先装置に対して処理を要求するためにアプリケーション実行装置から送信された複数の通信イベントの通信イベントごとに、通信イベントの送信を要求する要求時刻に対して、通信イベントの種別毎に設定された時間であり、通信イベントに対する応答データを前記アプリケーション実行装置に返すまでの時間である制限時間を加算し、通信イベントの種別毎に設定され、同じ通信先装置に送信された同じ種別の以前の通信イベントの送信時刻から、以前の通信イベントに応答して前記通信先装置から返信された応答データの受信時刻までの時間である応答時間のばらつきを吸収する予備時間を減算し、さらに、前記応答時間を減算することにより、通信イベントを前記通信先装置に送信すべき時刻を示す送信期限時刻を計算する処理と、
前記通信装置を用いて、送信期限時刻の早い順に通信イベントを前記通信先装置に送信する処理と
を実行させると共に、
さらに、
同じ通信先装置に送信された同じ種別の2つの通信イベントの応答時間の差分を示す応答時間変化量を監視し、応答時間変化量の値に基づいて予備時間の長さを大きくし、大きくした予備時間を用いて、複数の通信イベントの通信イベントごとに、送信期限時刻が対応付けられた通信イベント管理情報の通信イベントごとの送信期限時刻を再計算する処理、
を実行させるための通信イベント処理プログラム。
In a computer having a communication device,
The type of communication event for the request time for requesting transmission of a communication event for each communication event of a plurality of communication events transmitted from the application execution device to request processing to the communication destination device that is the communication destination The same time set for each type of communication event and sent to the same communication destination device, adding a time limit that is a time set for each response time to return response data for the communication event to the application execution device From the transmission time of the previous communication event of the type, subtract the reserve time to absorb the variation in response time, which is the time until the reception time of the response data returned from the communication destination device in response to the previous communication event , Furthermore, by subtracting the response time, a total of the transmission deadline time indicating the time to transmit a communication event to the communication destination device And the process of,
The communication device is used to execute a process of transmitting a communication event to the communication destination device in order of early transmission time limit , and
further,
The response time change amount indicating the difference between the response times of two communication events of the same type transmitted to the same communication destination device is monitored, and the length of the standby time is increased and increased based on the response time change amount value. A process of recalculating the transmission deadline time for each communication event of the communication event management information associated with the transmission deadline time for each communication event of a plurality of communication events using the spare time,
Communication event processing program to execute .
通信装置を有するコンピュータに、
通信先となる通信先装置に対して処理を要求するためにアプリケーション実行装置から送信された複数の通信イベントの通信イベントごとに、通信イベントの送信を要求する要求時刻に対して、通信イベントの種別毎に設定された時間であり、通信イベントに対する応答データを前記アプリケーション実行装置に返すまでの時間である制限時間を加算し、通信イベントの種別毎に設定され、同じ通信先装置に送信された同じ種別の以前の通信イベントの送信時刻から、以前の通信イベントに応答して前記通信先装置から返信された応答データの受信時刻までの時間である応答時間のばらつきを吸収する予備時間を減算し、さらに、前記応答時間を減算することにより、通信イベントを前記通信先装置に送信すべき時刻を示す送信期限時刻を計算する処理と、
前記通信装置を用いて、送信期限時刻の早い順に通信イベントを前記通信先装置に送信する処理と、
を実行させると共に、
前記送信期限時刻を計算する処理では、
同じ通信先装置に送信された同じ種別の以前の通信イベントとして、前回に送信された通信イベントを用いる通信イベントプログラム。
In a computer having a communication device,
The type of communication event for the request time for requesting transmission of a communication event for each communication event of a plurality of communication events transmitted from the application execution device to request processing to the communication destination device that is the communication destination The same time set for each type of communication event and sent to the same communication destination device, adding a time limit that is a time set for each response time to return response data for the communication event to the application execution device From the transmission time of the previous communication event of the type, subtract the reserve time to absorb the variation in response time, which is the time until the reception time of the response data returned from the communication destination device in response to the previous communication event , Furthermore, by subtracting the response time, a total of the transmission deadline time indicating the time to transmit a communication event to the communication destination device And the process of,
Using the communication device, a process of transmitting communication events to the communication destination device in order of early transmission time limit;
Together to the execution,
In the process of calculating the transmission deadline time,
A communication event program that uses a communication event transmitted last time as a previous communication event of the same type transmitted to the same communication destination device .
通信装置を有するコンピュータが、
通信先となる通信先装置に対して処理を要求するためにアプリケーション実行装置から送信された複数の通信イベントの通信イベントごとに、通信イベントの送信を要求する要求時刻に対して、通信イベントの種別毎に設定された時間であり、通信イベントに対する応答データを前記アプリケーション実行装置に返すまでの時間である制限時間を加算し、通信イベントの種別毎に設定され、同じ通信先装置に送信された同じ種別の以前の通信イベントの送信時刻から、以前の通信イベントに応答して前記通信先装置から返信された応答データの受信時刻までの時間である応答時間のばらつきを吸収する予備時間を減算し、さらに、前記応答時間を減算することにより、通信イベントを前記通信先装置に送信すべき時刻を示す送信期限時刻を計算する処理と
前記通信装置を用いて、送信期限時刻の早い順に通信イベントを前記通信先装置に送信すると処理と、
を実行し、
さらに、
同じ通信先装置に送信された同じ種別の2つの通信イベントの応答時間の差分を示す応答時間変化量を監視し、応答時間変化量の値に基づいて予備時間の長さを大きくし、大きくした予備時間を用いて、複数の通信イベントの通信イベントごとに、送信期限時刻が対応付けられた通信イベント管理情報の通信イベントごとの送信期限時刻を再計算する処理、
を実行する通信イベント処理方法。
A computer having a communication device
The type of communication event for the request time for requesting transmission of a communication event for each communication event of a plurality of communication events transmitted from the application execution device to request processing to the communication destination device that is the communication destination The same time set for each type of communication event and sent to the same communication destination device, adding a time limit that is a time set for each response time to return response data for the communication event to the application execution device From the transmission time of the previous communication event of the type, subtract the reserve time to absorb the variation in response time, which is the time until the reception time of the response data returned from the communication destination device in response to the previous communication event , Furthermore, by subtracting the response time, a total of the transmission deadline time indicating the time to transmit a communication event to the communication destination device And the process of,
Using the communication device, processing to transmit a communication event to the communication destination device in order of early transmission time limit ,
Run
further,
The response time change amount indicating the difference between the response times of two communication events of the same type transmitted to the same communication destination device is monitored, and the length of the standby time is increased and increased based on the response time change amount value. A process of recalculating the transmission deadline time for each communication event of the communication event management information associated with the transmission deadline time for each communication event of a plurality of communication events using the spare time,
Communication event processing method to execute .
通信装置を有するコンピュータが、
通信先となる通信先装置に対して処理を要求するためにアプリケーション実行装置から送信された複数の通信イベントの通信イベントごとに、通信イベントの送信を要求する要求時刻に対して、通信イベントの種別毎に設定された時間であり、通信イベントに対する応答データを前記アプリケーション実行装置に返すまでの時間である制限時間を加算し、通信イベントの種別毎に設定され、同じ通信先装置に送信された同じ種別の以前の通信イベントの送信時刻から、以前の通信イベントに応答して前記通信先装置から返信された応答データの受信時刻までの時間である応答時間のばらつきを吸収する予備時間を減算し、さらに、前記応答時間を減算することにより、通信イベントを前記通信先装置に送信すべき時刻を示す送信期限時刻を計算する処理と
前記通信装置を用いて、送信期限時刻の早い順に通信イベントを前記通信先装置に送信すると処理とを実行すると共に、
前記送信期限時刻を計算する処理では、
同じ通信先装置に送信された同じ種別の以前の通信イベントとして、前回に送信された通信イベントを用いる通信イベント処理方法。
A computer having a communication device
The type of communication event for the request time for requesting transmission of a communication event for each communication event of a plurality of communication events transmitted from the application execution device to request processing to the communication destination device that is the communication destination The same time set for each type of communication event and sent to the same communication destination device, adding a time limit that is a time set for each response time to return response data for the communication event to the application execution device From the transmission time of the previous communication event of the type, subtract the reserve time to absorb the variation in response time, which is the time until the reception time of the response data returned from the communication destination device in response to the previous communication event , Furthermore, by subtracting the response time, a total of the transmission deadline time indicating the time to transmit a communication event to the communication destination device And the process of,
Using the communication device, executing a process when transmitting a communication event to the communication destination device in order of early transmission time limit ,
In the process of calculating the transmission deadline time,
A communication event processing method using a communication event transmitted last time as a previous communication event of the same type transmitted to the same communication destination device .
JP2016114312A 2016-06-08 2016-06-08 Communication event processing apparatus, communication event processing program, and communication event processing method Expired - Fee Related JP6559094B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016114312A JP6559094B2 (en) 2016-06-08 2016-06-08 Communication event processing apparatus, communication event processing program, and communication event processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016114312A JP6559094B2 (en) 2016-06-08 2016-06-08 Communication event processing apparatus, communication event processing program, and communication event processing method

Publications (2)

Publication Number Publication Date
JP2017220046A JP2017220046A (en) 2017-12-14
JP6559094B2 true JP6559094B2 (en) 2019-08-14

Family

ID=60656205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016114312A Expired - Fee Related JP6559094B2 (en) 2016-06-08 2016-06-08 Communication event processing apparatus, communication event processing program, and communication event processing method

Country Status (1)

Country Link
JP (1) JP6559094B2 (en)

Also Published As

Publication number Publication date
JP2017220046A (en) 2017-12-14

Similar Documents

Publication Publication Date Title
US9967196B2 (en) Systems and/or methods for resource use limitation in a cloud environment
US8275787B2 (en) System for managing data collection processes
JP6881575B2 (en) Resource allocation systems, management equipment, methods and programs
US9319281B2 (en) Resource management method, resource management device, and program product
CN108881348B (en) Service quality control method and device and storage server
US8966086B2 (en) License redistributing method, moderator and license controlling system thereof
JP5822125B2 (en) Service cooperation apparatus, service cooperation method, and service cooperation program
JP5609730B2 (en) Information processing program and method, and transfer processing apparatus
US20120158451A1 (en) Dispatching Tasks in a Business Process Management System
JP2010238051A (en) Load balancing program and load balancing apparatus
US20210336886A1 (en) Network devices in duty cycle limited networks
JP7079998B1 (en) Cluster capacity expansion method and equipment
EP2637097A1 (en) Differentiated service-based graceful degradation layer
CN101908004A (en) Promote the apparatus and method that request is carried out
CN113260985A (en) Point-to-point application layer distributed mesh routing
JP6559094B2 (en) Communication event processing apparatus, communication event processing program, and communication event processing method
WO2019230576A1 (en) Resource reservation management device and resource reservation management method
US20180173473A1 (en) Method for operating a print server for digital high-capacity printing systems
EP3485618B1 (en) Device and method for managing end-to-end connections
JP6232698B2 (en) Network switching device, task moving method, and task moving program
WO2009113172A1 (en) Job assigning device, and control program and control method for job assigning device
JP6059259B2 (en) Computer system and computer resource allocation method
JP6659047B2 (en) Communication network system, route control device, route control method, and route control program
JP2017083935A (en) Information processor, cluster system, clustering method, and program
JP5715458B2 (en) Information processing system and mediation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180703

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190409

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190603

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190716

R150 Certificate of patent or registration of utility model

Ref document number: 6559094

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees