JP2017162433A - Information processor - Google Patents

Information processor Download PDF

Info

Publication number
JP2017162433A
JP2017162433A JP2016152402A JP2016152402A JP2017162433A JP 2017162433 A JP2017162433 A JP 2017162433A JP 2016152402 A JP2016152402 A JP 2016152402A JP 2016152402 A JP2016152402 A JP 2016152402A JP 2017162433 A JP2017162433 A JP 2017162433A
Authority
JP
Japan
Prior art keywords
value
parallel processes
threshold
processing
determination unit
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.)
Withdrawn
Application number
JP2016152402A
Other languages
Japanese (ja)
Inventor
博資 山口
Hirosuke Yamaguchi
博資 山口
優心 池内
Yushin Ikeuchi
優心 池内
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.)
MUFG Bank Ltd
Original Assignee
Bank of Tokyo Mitsubishi UFJ Trust Co
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 Bank of Tokyo Mitsubishi UFJ Trust Co filed Critical Bank of Tokyo Mitsubishi UFJ Trust Co
Publication of JP2017162433A publication Critical patent/JP2017162433A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an information processor which can prevent more system failures of systems including an own system caused by excessive use of the hardware resources of the own system.SOLUTION: The information processor according to an embodiment of the present invention includes: a storage unit for storing at least one of the threshold value of the states of the hardware resources including a processor and a storage device, the number of parallel processing, and the number of processing control cases; a state amount acquisition part for acquiring the state amount of the hardware resources; a determination unit for determining whether the relation between at least one of the acquired state amounts and the threshold value stored in the storage unit satisfies a predetermined condition; and a control unit for changing at least one of the numbers of the parallel processing and the processing control cases when the determination unit has determined that the condition is satisfied.SELECTED DRAWING: Figure 1

Description

本発明は、情報処理装置に関する。本発明は、特に、ハードウェアリソースの使用率に基づき、自動的に処理能力を制御する情報処理装置に関する。   The present invention relates to an information processing apparatus. In particular, the present invention relates to an information processing apparatus that automatically controls processing capacity based on the usage rate of hardware resources.

決済系システムにおいては、外部からの決済件数を見積もること困難である。例えば、他の金融機関が処理能力を向上させると、外部からの決済件数が上がるが、他の金融機関の処理能力を知ることは困難だからである。   In a payment system, it is difficult to estimate the number of external payments. For example, if other financial institutions improve their processing capabilities, the number of external payments increases, but it is difficult to know the processing capabilities of other financial institutions.

また、世の中の動向により、決済件数そのものが変動することがある。例えば、他の金融機関の決済系システムに障害が生じて決済をすることができない場合、決済を代わりに行わざるを得ないことがある。   In addition, the number of payments themselves may fluctuate due to trends in the world. For example, when a payment system of another financial institution has failed and payment cannot be made, payment may have to be made instead.

このように決済件数が想定以上に増加した場合に、プログラム等の並行処理数(多重度)や処理能力を向上させると、CPUの使用率が高騰したり、メモリの使用率が高騰したりするなどハードウェアリソースの使用状況が高騰し、システムダウンするおそれがある。   When the number of payments increases more than expected, increasing the number of parallel processes (multiplicity) and processing capacity of programs, etc., increases the CPU usage rate and the memory usage rate. There is a risk that the usage of hardware resources will soar and the system will go down.

従来、このような問題に対し、負荷分散機能、キューイング機能、ログ機能などの送受信機能を部品化し、各機能を動的に追加、削除可能とし、CPU、メモリ、ハードディスクなどのハードウェアリソースの予め設定した最大閾値と使用状況を元に最小閾値を自動的に調整し、送受信機能の予め設定した使用条件と使用状況と合わせて、送受信機能を自動的に追加、削除することにより、リソースのバランスの取れたシステム間連携を可能にする技術が提供されている(特許文献1)。   Conventionally, for such problems, transmission / reception functions such as load balancing function, queuing function, log function, etc. are made into parts, and each function can be added and deleted dynamically, and hardware resources such as CPU, memory, hard disk, etc. By automatically adjusting the minimum threshold based on the preset maximum threshold and usage status, and automatically adding / deleting the transmission / reception function according to the preset usage conditions and usage status of the transmission / reception function, There has been provided a technology that enables balanced coordination between systems (Patent Document 1).

特開2006−252087号公報JP 2006-252087 A

本発明の目的は、自システムのハードウェアリソースの使用率が高騰し、自システム以外も含めたシステムがシステムダウンすることをより回避することができる情報処理装置を提供するところにある。   An object of the present invention is to provide an information processing apparatus that can further prevent a system including a system other than the own system from going down due to an increase in the usage rate of hardware resources of the own system.

また、ネットワーク経由でデータが送受信されるシステムにおいて、システム全体としての処理の平滑化を図ることを課題とする。   Another object of the present invention is to smooth the processing of the entire system in a system in which data is transmitted and received via a network.

本発明の一実施形態によれば、処理装置と記憶装置とを含むハードウェアリソースの状態の閾値、並行処理数の値及び処理制御件数の値のうち少なくともいずれかの一つの値を記憶する記憶部と、前記ハードウェアリソースの状態量を取得する状態量取得部と、前記取得される状態量の少なくとも一つが前記記憶部に記憶される閾値との関係で所定の条件を満たすかどうかを判定する判定部と、前記判定部が前記所定の条件を満たすと判定する場合に、少なくとも並行処理数の値及び前記処理制御件数の値のいずれか一つの値を変動させる制御部と、を備える情報処理装置が提供される。   According to one embodiment of the present invention, a memory that stores at least one of a threshold value of a state of a hardware resource including a processing device and a storage device, a value of the number of parallel processes, and a value of the number of process control cases A state quantity acquisition unit that acquires a state quantity of the hardware resource, and whether or not at least one of the acquired state quantities satisfies a predetermined condition in accordance with a threshold stored in the storage unit And a control unit that fluctuates at least one of the value of the number of parallel processes and the value of the number of process control cases when the determination unit determines that the predetermined condition is satisfied. A processing device is provided.

前記所定の条件を満たすこととは、前記取得される状態量の少なくとも一つが前記記憶部に記憶される閾値を超えることであり、前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶部に記憶される閾値を超えると判定する場合に、少なくとも前記並行処理数の値及び前記処理制御件数の値のいずれか一つの値を減らしてもよい。   Satisfying the predetermined condition means that at least one of the acquired state quantities exceeds a threshold stored in the storage unit, and the control unit When it is determined that at least one exceeds the threshold stored in the storage unit, at least one of the value of the number of parallel processes and the value of the number of process control cases may be reduced.

前記所定の条件を満たすこととは、前記取得される状態量の少なくとも一つが前記記憶部に記憶される閾値を下回ることであり、前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶部に記憶される閾値を下回ると判定する場合に、少なくとも前記並行処理数の値及び前記処理制御件数の値のいずれか一つの値を増やしてもよい。   Satisfying the predetermined condition means that at least one of the acquired state quantities falls below a threshold stored in the storage unit, and the control unit When it is determined that at least one is below the threshold stored in the storage unit, at least one of the value of the number of parallel processes and the value of the number of process control cases may be increased.

前記判定部が前記取得される状態量が前記記憶部に記憶される閾値を超えないと判定する場合に、スリープ処理を行うスリープ処理部と、をさらに備えてもよい。   When the determination unit determines that the acquired state quantity does not exceed the threshold value stored in the storage unit, the determination unit may further include a sleep processing unit that performs a sleep process.

前記並行処理数の値に応じて前記電文を処理する電文処理部と、前記判定部が前記取得される状態量が前記記憶部に記憶される閾値を超えないと判定する場合に、前記並行処理数の値及び前記処理制御件数の値に基づき処理間隔を算出する処理間隔算出部と、前記電文処理部が前記電文を処理するのに要した所要処理時間を測定する所要処理時間測定部と、をさらに備え、前記スリープ処理部は、前記処理間隔が前記所要処理時間よりも大きい場合には、前記処理間隔と前記所要処理時間との差の時間の間、スリープ処理を行ってもよい。   The message processing unit that processes the message according to the value of the number of parallel processes, and the parallel processing when the determination unit determines that the acquired state quantity does not exceed a threshold stored in the storage unit A processing interval calculation unit that calculates a processing interval based on a value of the number and the number of processing control cases, a required processing time measurement unit that measures a required processing time required for the message processing unit to process the message, The sleep processing unit may perform sleep processing during a difference between the processing interval and the required processing time when the processing interval is greater than the required processing time.

前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記並行処理数の値が所定の値よりも大きいときは、前記並行処理数の値を減らし、前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記並行処理数の値が前記所定の値以下であるときで、前記処理制御件数の値が所定の値以上のときは、前記処理制御件数の値を減らしてもよい。   When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, the value of the number of parallel processes is greater than a predetermined value , Reducing the value of the number of parallel processes, and when the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, When the value is less than or equal to the predetermined value and the value of the number of process control cases is greater than or equal to a predetermined value, the value of the number of process control cases may be reduced.

前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記処理制御件数の値が所定の値よりも大きいときは、前記処理制御件数の値を減らし、前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記処理制御件数の値が前記所定の値以下であるときで、前記並行処理数の値が所定の値以上のときは、前記並行処理数の値を減らしてもよい。   When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, the value of the number of process control cases is greater than a predetermined value , Reducing the value of the number of processing control cases, the control unit, when the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, When the value is less than or equal to the predetermined value and the value of the number of parallel processes is greater than or equal to a predetermined value, the value of the number of parallel processes may be reduced.

前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記並行処理数の値が所定の値よりも大きく、かつ、前記処理制御件数の値が所定の値よりも大きいときは、前記処理制御件数の値を減らしてもよい。   When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, the value of the number of parallel processes is greater than a predetermined value, and When the value of the number of process control cases is larger than a predetermined value, the value of the number of process control cases may be reduced.

前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記並行処理数の値が所定の値よりも大きく、かつ、前記処理制御件数の値が所定の値よりも大きいときは、前記並行処理数の値を減らしてもよい。   When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, the value of the number of parallel processes is greater than a predetermined value, and When the value of the number of process control cases is larger than a predetermined value, the value of the number of parallel processes may be reduced.

前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記取得される状態量が第1閾値未満のときは、前記並行処理数の値及び前記処理制御件数の値を維持し、前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記取得される状態量が前記第1閾値以上で第2閾値未満のときは、前記並行処理数の値を減らし、前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記取得される状態量が前記第2閾値以上で、前記処理制御件数の値が所定の値よりも大きい時は、前記処理制御件数の値を減らしてもよい。   When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, and the acquired state quantity is less than a first threshold, When maintaining the value of the number of parallel processes and the value of the number of process control cases, the control unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device In addition, when the acquired state quantity is greater than or equal to the first threshold value and less than the second threshold value, the value of the number of parallel processes is reduced, and the control unit determines that the determination unit is at least one of the obtained state quantities. If the acquired state quantity is greater than or equal to the second threshold and the value of the number of process control cases is greater than a predetermined value, the process control The number of cases may be reduced

本発明の一実施形態によれば、コンピュータを、処理装置と記憶装置とを含むハードウェアリソースの状態の閾値、並行処理数の値及び処理制御件数の値のうち少なくともいずれか一つの値を記憶する記憶部と、前記ハードウェアリソースの状態量を取得する状態量取得部と、前記取得される状態量の少なくとも一つが前記記憶部に記憶される閾値を超えるかどうかを判定する判定部と、前記判定部が前記取得される状態量の少なくとも一つが前記記憶部に記憶される閾値を超えると判定する場合に、少なくとも前記並行処理数の値または前記処理制御件数の値のいずれか一つの値を減らす制御部と、を備える情報処理装置として機能させるプログラムが提供される。   According to one embodiment of the present invention, the computer stores at least one of a threshold value of a hardware resource state including a processing device and a storage device, a value of the number of parallel processes, and a value of the number of process control cases. A storage unit, a state quantity acquisition unit that acquires a state quantity of the hardware resource, a determination unit that determines whether at least one of the acquired state quantities exceeds a threshold stored in the storage unit, When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage unit, at least one of the value of the number of parallel processes or the value of the number of process control cases There is provided a program that causes an information processing device to function as an information processing device.

本発明によれば、自システムのハードウェアリソースの使用率が高騰し、自システム以外も含めたシステムがシステムダウンすることをより回避することができる情報処理装置を提供することができる。   According to the present invention, it is possible to provide an information processing apparatus that can further prevent a system including a system other than the own system from going down due to an increase in the usage rate of the hardware resources of the own system.

本発明によれば、ネットワーク経由でデータが送受信されるシステムにおいて、システム全体としての処理の平滑化を図ることができる。   According to the present invention, in a system in which data is transmitted and received via a network, it is possible to smooth the processing as the entire system.

本発明の一実施形態に係る情報処理装置を説明するための概念図である。It is a conceptual diagram for demonstrating the information processing apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係る情報処理装置の記憶装置を説明するための概念図である。It is a conceptual diagram for demonstrating the memory | storage device of the information processing apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係る情報処理装置の処理プロセスを示すためのフローである。It is a flow for showing the processing process of the information processor concerning one embodiment of the present invention. 本発明の他の実施形態に係る情報処理装置の処理プロセスを示すためのフローである。It is a flow for showing the processing process of the information processor concerning other embodiments of the present invention. 本発明の他の実施形態に係る情報処理装置の処理プロセスを示すためのフローである。It is a flow for showing the processing process of the information processor concerning other embodiments of the present invention. 本発明の他の実施形態に係る情報処理装置の処理プロセスを示すためのフローである。It is a flow for showing the processing process of the information processor concerning other embodiments of the present invention. 本発明の他の実施形態に係る情報処理装置の処理プロセスを示すためのフローである。It is a flow for showing the processing process of the information processor concerning other embodiments of the present invention. 本発明の他の実施形態に係る情報処理装置の記憶装置を説明するための概念図である。It is a conceptual diagram for demonstrating the memory | storage device of the information processing apparatus which concerns on other embodiment of this invention. 本発明の他の実施形態に係る情報処理装置の処理プロセスを示すためのフローである。It is a flow for showing the processing process of the information processor concerning other embodiments of the present invention. 本発明の他の実施形態に係る情報処理装置の処理プロセスを示すためのフローである。It is a flow for showing the processing process of the information processor concerning other embodiments of the present invention.

以下、本発明の一実施形態について、図面を参照しながら詳細に説明する。以下に示す実施形態は本発明の実施形態の一例であって、本発明はこれらの実施形態に限定されるものではない。なお、本実施形態で参照する図面において、同一部分または同様な機能を有する部分には同一の符号または類似の符号(数字の後にA、Bなどを付しただけの符号)を付し、その繰り返しの説明は省略する場合がある。また、図面の寸法比率は説明の都合上実際の比率とは異なったり、構成の一部が図面から省略されたりする場合がある。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. The following embodiments are examples of the embodiments of the present invention, and the present invention is not limited to these embodiments. Note that in the drawings referred to in this embodiment, the same portion or a portion having a similar function is denoted by the same reference symbol or a similar reference symbol (a reference symbol simply including A, B, etc. after a number) and repeated. The description of may be omitted. In addition, the dimensional ratio in the drawing may be different from the actual ratio for convenience of explanation, or a part of the configuration may be omitted from the drawing.

<第1実施形態>
[情報処理装置の構成]
図1を用いて、情報処理装置1の概要を説明する。図1は、本発明の一実施形態に係る情報処理装置を説明するための概念図である。
<First Embodiment>
[Configuration of information processing device]
The outline of the information processing apparatus 1 will be described with reference to FIG. FIG. 1 is a conceptual diagram for explaining an information processing apparatus according to an embodiment of the present invention.

情報処理装置1は、接続するユーザ端末30a、30b、サーバ33それぞれがネットワーク27を介して接続する。なお、ユーザ端末の区別が不要な場合には、「ユーザ端末30」と表記する。   In the information processing apparatus 1, the user terminals 30 a and 30 b to be connected and the server 33 are connected via the network 27. In addition, when it is not necessary to distinguish between user terminals, “user terminal 30” is used.

ここで、ネットワーク27は、例えば、LAN(ローカルエリアネットワーク)やインターネット等のネットワークであり、無線/有線回線、専用回線等を問わず、ユーザ端末30がワークフロー情報処理装置1に接続可能なネットワーク環境が適用される。   Here, the network 27 is a network such as a LAN (local area network) or the Internet, for example, and a network environment in which the user terminal 30 can connect to the workflow information processing apparatus 1 regardless of a wireless / wired line, a dedicated line, or the like. Applies.

また、ユーザ端末30は、多機能携帯電話、携帯電話やPDA(Personal Digital Assistant)等の移動通信端末装置、パーソナルコンピュータなどの通信機能及び演算機能を備えた情報処理端末装置等が含まれる。また、情報処理装置1が提供する画面を表示する表示制御機能としてブラウザを備え、CPU、メモリ及び情報処理装置1との間の通信制御を遂行する通信制御部等を含む。さらに、マウスやキーボード、タッチパネル等の操作入力装置及び表示装置を備えることができる。   The user terminal 30 includes a multi-function mobile phone, a mobile communication terminal device such as a mobile phone and a PDA (Personal Digital Assistant), an information processing terminal device having a communication function and a calculation function such as a personal computer. In addition, a browser is provided as a display control function for displaying a screen provided by the information processing apparatus 1, and includes a CPU, a memory, and a communication control unit that performs communication control with the information processing apparatus 1. Furthermore, an operation input device such as a mouse, a keyboard, and a touch panel, and a display device can be provided.

情報処理装置1は、処理装置10と記憶装置20とを備える。そして、処理装置10は、管理部11、電文処理部12、状態量取得部13、判定部14、制御部15、処理間隔算出部16、所要時間測定部17及びスリープ処理部18を備える。記憶装置20についての詳細は後述する。   The information processing apparatus 1 includes a processing device 10 and a storage device 20. The processing device 10 includes a management unit 11, a message processing unit 12, a state quantity acquisition unit 13, a determination unit 14, a control unit 15, a processing interval calculation unit 16, a required time measurement unit 17, and a sleep processing unit 18. Details of the storage device 20 will be described later.

管理部11は、電文(メッセージ)を受信し管理する。この例では、管理部11は、キュー機能を有する。電文処理部12は、管理部11から電文を取得し、並行処理数(多重度)の値に応じて、電文を処理する。ここで、並行処理数とは、複数のプログラム、ジョブ、スレッド又はプロセスなどを実行する場合に、同時に並行して実行するプログラム、ジョブ、スレッド又はプロセスなどの数をいう。   The management unit 11 receives and manages messages (messages). In this example, the management unit 11 has a queue function. The message processing unit 12 acquires a message from the management unit 11 and processes the message according to the value of the number of parallel processes (multiplicity). Here, the number of parallel processes refers to the number of programs, jobs, threads, processes, etc. that are executed concurrently in parallel when a plurality of programs, jobs, threads, processes, etc. are executed.

状態量取得部13は、各ハードウェアリソースの状態量を取得する。すなわち、状態量取得部13は、CPUの使用率、メモリの使用率などの情報を取得する。そして、判定部14は、状態量取得部13が取得するCPU使用率またはメモリ使用率の少なくとも一つが記憶装置20に記憶される閾値を超えるかどうかを判定する。そして、制御部15は、判定部14が取得される状態量の少なくとも一つが記憶装置20に記憶される閾値を超えると判定する場合に、少なくとも並行処理数の値または処理制御件数の値のいずれか一つの値を減らす。   The state quantity acquisition unit 13 acquires the state quantity of each hardware resource. That is, the state quantity acquisition unit 13 acquires information such as a CPU usage rate and a memory usage rate. Then, the determination unit 14 determines whether at least one of the CPU usage rate or the memory usage rate acquired by the state quantity acquisition unit 13 exceeds a threshold stored in the storage device 20. Then, when the control unit 15 determines that at least one of the state quantities acquired by the determination unit 14 exceeds the threshold stored in the storage device 20, either the value of the number of parallel processes or the value of the number of process control cases Or reduce one value.

処理間隔算出部16は、判定部14が取得される状態量が記憶装置20に記憶される閾値を超えないと判定する場合に、並行処理数の値及び処理制御件数の値に基づき処理間隔を算出する。具体的には、処理間隔(ミリ秒)は、1000÷処理制御件数(件数/秒)×並行処理数によって算出される。ここで、停止時間(ミリ秒)は、(処理間隔−所要処理時間)によって算出される。   When the determination unit 14 determines that the state quantity acquired by the determination unit 14 does not exceed the threshold stored in the storage device 20, the processing interval calculation unit 16 sets the processing interval based on the value of the number of parallel processes and the value of the number of process control cases. calculate. Specifically, the processing interval (milliseconds) is calculated by 1000 ÷ processing control number (number of cases / second) × number of parallel processes. Here, the stop time (milliseconds) is calculated by (processing interval−required processing time).

所要処理時間測定部17は、電文処理部12が電文を処理するのに要した所要処理時間を測定する。また、スリープ処理部18は、処理間隔が所要処理時間よりも大きい場合には、処理間隔と所要処理時間との差の時間の間、スリープ処理を行う。   The required processing time measuring unit 17 measures the required processing time required for the message processing unit 12 to process the message. In addition, when the processing interval is larger than the required processing time, the sleep processing unit 18 performs the sleep processing during the difference between the processing interval and the required processing time.

[記憶装置の構成]
図2を用いて、記憶装置20について説明する。図2は、本発明の一実施形態に係る情報処理装置の記憶装置を説明するための概念図である。
[Configuration of storage device]
The storage device 20 will be described with reference to FIG. FIG. 2 is a conceptual diagram for explaining a storage device of the information processing apparatus according to the embodiment of the present invention.

記憶装置20は、並行処理数テーブル200、処理制御件数テーブル210、メモリ使用率テーブル220、CPU使用率テーブル230及び時刻記憶部240を備える。   The storage device 20 includes a parallel processing number table 200, a process control number table 210, a memory usage rate table 220, a CPU usage rate table 230, and a time storage unit 240.

並行処理数テーブル200は、初期設定値201、閾値203、減算値205、現在値207を保持する。この例では、初期設定値201は、「5」で、閾値203は、「3」で、減算値205は、「1」で、現在値207は、「4」である。初期設定値201、閾値203、減算値205の値は、この例の値に限定されるものではなく、それぞれ設定によって変更することが可能である。   The parallel processing number table 200 holds an initial setting value 201, a threshold value 203, a subtraction value 205, and a current value 207. In this example, the initial setting value 201 is “5”, the threshold value 203 is “3”, the subtraction value 205 is “1”, and the current value 207 is “4”. The values of the initial setting value 201, the threshold value 203, and the subtraction value 205 are not limited to the values in this example, and can be changed depending on the settings.

処理制御件数テーブル210は、初期設定値211、閾値213、減算値215、現在値217を保持する。この例では、初期設定値211は、「20」で、閾値213は、「3」で、減算値215は、「2」で、現在値217は、「18」である。初期設定値211、閾値213、減算値215は、この例の値に限定されるものではなく、それぞれ設定によって変更することが可能である。   The process control number table 210 holds an initial setting value 211, a threshold value 213, a subtraction value 215, and a current value 217. In this example, the initial setting value 211 is “20”, the threshold value 213 is “3”, the subtraction value 215 is “2”, and the current value 217 is “18”. The initial setting value 211, the threshold value 213, and the subtraction value 215 are not limited to the values in this example, and can be changed by setting.

メモリ使用率テーブル220は、閾値221を保持する。この例では、閾値221は、「80(%)」である。また、CPU使用率テーブル230は、閾値231を保持する。この例では、閾値231は、「80(%)」である。   The memory usage rate table 220 holds a threshold value 221. In this example, the threshold value 221 is “80 (%)”. The CPU usage rate table 230 holds a threshold value 231. In this example, the threshold 231 is “80 (%)”.

時刻記憶部240は、各トランザクションの開始時刻と終了時刻(コミット処理完了時刻)とを記憶する。具体的には、時刻記憶部240は、各トランザクションの発生時とコミット処理完了時に時刻印(タイムスタンプ)を取得し、このタイムスタンプを記憶する。   The time storage unit 240 stores the start time and end time (commit processing completion time) of each transaction. Specifically, the time storage unit 240 acquires a time stamp (time stamp) when each transaction occurs and when the commit process is completed, and stores the time stamp.

[情報処理装置の処理プロセス]
図3を用いて、情報処理装置1の処理プロセスを説明する。図3は、本発明の一実施形態に係る情報処理装置の処理プロセスを示すためのフローである。
[Processing of information processing equipment]
A processing process of the information processing apparatus 1 will be described with reference to FIG. FIG. 3 is a flow for illustrating a processing process of the information processing apparatus according to the embodiment of the present invention.

状態量取得部13は、各ハードウェアリソースの状態量を取得する(S101)。すなわち、状態量取得部13は、CPUの使用率、メモリの使用率などの情報を取得する。   The state quantity acquisition unit 13 acquires the state quantity of each hardware resource (S101). That is, the state quantity acquisition unit 13 acquires information such as a CPU usage rate and a memory usage rate.

次に、判定部14は、状態量取得部13が取得するCPU使用率またはメモリ使用率の少なくとも一つが記憶装置20に記憶される閾値を超えるかどうかを判定する(S102)。ここでは、CPU使用率を用いて説明するが、CPU使用率ではなく、メモリ使用率を判定の対象としてもよいし、CPU使用率及びメモリ使用率の両方を判定の対象としてもよい。   Next, the determination unit 14 determines whether at least one of the CPU usage rate or the memory usage rate acquired by the state quantity acquisition unit 13 exceeds a threshold stored in the storage device 20 (S102). Here, the description will be made using the CPU usage rate, but not the CPU usage rate but the memory usage rate may be determined, or both the CPU usage rate and the memory usage rate may be determined.

CPU使用率が記憶装置20に記憶される閾値を超えている場合で、しかも、並行処理数>nを満たすとき(S103でYesの場合)には、制御部15は、並行処理数の値を1減らす(S104)。ここで、nは、並行処理数テーブル200が保持する閾値203の値であって、この例では、3である。並行処理数の値を1減らすということは、減算値205が「1」であることを意味する。並行処理数の初期設定値201が「5」で、閾値203が「3」で、減算値205が「1」の場合に、並行処理数の値を1回減算すると、図2に示すように、並行処理数の現在値207は、「5」から「4」に更新される。   When the CPU usage rate exceeds the threshold value stored in the storage device 20, and when the number of parallel processes> n is satisfied (Yes in S103), the control unit 15 sets the value of the number of parallel processes. Decrease by 1 (S104). Here, n is the value of the threshold 203 held in the parallel processing number table 200 and is 3 in this example. Decreasing the value of the number of parallel processes by 1 means that the subtraction value 205 is “1”. When the initial value 201 of the parallel processing number is “5”, the threshold 203 is “3”, and the subtraction value 205 is “1”, the value of the parallel processing number is subtracted once, as shown in FIG. The current value 207 of the number of parallel processes is updated from “5” to “4”.

並行処理数の値を1減らしても、CPU使用率が記憶装置20に記憶される閾値を超えている場合で、しかも多重度がまだ閾値nを超えるときには、再度多重度の値を1減らす。この動作は、並行処理数の値を1減らしても、CPU使用率が記憶装置20に記憶される閾値を超えている場合で、しかも並行処理数がまだ閾値nを超えるとき限り、ループする。この例では、更新された並行処理数の現在値207が「4」であり、並行処理数の閾値203の値「3」を超えていることから、現在値207は、「1」減算され、「3」に更新される。   Even if the value of the number of parallel processes is reduced by 1, if the CPU usage rate exceeds the threshold stored in the storage device 20 and the multiplicity still exceeds the threshold n, the multiplicity value is decreased by 1 again. Even if the value of the number of parallel processes is reduced by 1, this operation loops only when the CPU usage rate exceeds the threshold stored in the storage device 20 and only when the number of parallel processes still exceeds the threshold n. In this example, since the updated current value 207 of the number of parallel processes is “4” and exceeds the value “3” of the threshold 203 of the number of parallel processes, the current value 207 is subtracted by “1”, It is updated to “3”.

この例では、並行処理数の減算値205は「1」であるが、これに限定されるものではなく、2以上であってもよい。ただし、並行処理数の減算値205の値が1よりも大きくなると、並行処理数の値の閾値203の値も大きくなる。並行処理数の現在値207が減算されて更新されたときに「1」を下回ることはありえないからである。   In this example, the subtraction value 205 of the number of parallel processes is “1”, but is not limited to this and may be two or more. However, when the value of the subtraction value 205 for the number of parallel processes becomes larger than 1, the value of the threshold 203 for the value of the number of parallel processes also increases. This is because when the current value 207 of the number of parallel processes is subtracted and updated, it cannot fall below “1”.

記憶装置20は、制御部15が並行処理数の値を1減らすと、並行処理数の現在値207の値を「1」減らして、これを更新して記憶する。具体的には、記憶装置20は、制御部15が並行処理数の値を1減らすと、並行処理数の現在値207の値を、「5」から「1」減らして、「4」に更新して記憶する。なお、制御部15が並行処理数の値を未だ減らしていない場合、並行処理数の現在値207は、並行処理数の初期設定値201と同じになる。   When the control unit 15 decrements the value of the number of parallel processes by 1, the storage device 20 decrements the value of the current value 207 of the number of parallel processes by “1”, and updates and stores it. Specifically, when the control unit 15 decreases the value of the number of parallel processes by 1, the storage device 20 updates the value of the current value 207 of the number of parallel processes by “1” from “5” to “4”. And remember. If the control unit 15 has not yet reduced the value of the number of parallel processes, the current value 207 of the number of parallel processes is the same as the initial value 201 of the number of parallel processes.

他方、CPU使用率が記憶装置20に記憶される閾値を超えている場合で、並行処理数≦nのとき(S103でNoの場合)には、処理制御件数≧mを満たすとき(S105でYesの場合)に、処理制御件数を2減らす(S106)。ここで、mは、処理制御件数の値の閾値であって、この例では、3である。処理制御件数の値を2減らすということは、処理制御件数の減算値215が「2」であることを意味する。処理制御件数の初期設定値211が「20」で、閾値213が「3」で、減算値215が「2」の場合に、処理制御件数の値を1回減算すると、図2に示すように、処理制御件数の現在値217は、「20」から「18」に更新される。   On the other hand, when the CPU usage rate exceeds the threshold stored in the storage device 20 and the number of parallel processes ≦ n (in the case of No in S103), when the number of process control ≧ m is satisfied (Yes in S105) ), The number of processing control cases is reduced by 2 (S106). Here, m is a threshold value of the value of the number of process control cases, and is 3 in this example. Decreasing the value of the number of processing control cases by 2 means that the subtraction value 215 of the number of processing control cases is “2”. When the initial value 211 of the process control number is “20”, the threshold 213 is “3”, and the subtraction value 215 is “2”, the value of the process control number is subtracted once, as shown in FIG. The current value 217 of the number of process control cases is updated from “20” to “18”.

処理制御件数の値を2減らしても、CPU使用率が記憶装置20に記憶される閾値を超えている場合で、並行処理数≦nのとき(S103でNoの場合)で、処理制御件数≧mを満たすとき(S105でYesの場合)には、再度処理制御件数の値を2減らす。この動作は、処理制御件数の値を2減らしても、CPU使用率が記憶装置20に記憶される閾値を超えている場合で、並行処理数≦nのとき(S103でNoの場合)で、処理制御件数≧mを満たすとき(S105でYesの場合)である限り、ループする。この例では、更新された処理制御件数の現在値217が「18」であり、処理制御件数の閾値213の値「3」を超えていることから、現在値217は、「2」減算され、「16」に更新される。   Even if the value of the number of process control cases is reduced by 2, when the CPU usage rate exceeds the threshold stored in the storage device 20 and the number of parallel processes ≦ n (in the case of No in S103), the number of process control cases ≧ When m is satisfied (Yes in S105), the value of the number of process control cases is decreased by 2 again. This operation is performed when the CPU usage rate exceeds the threshold stored in the storage device 20 even when the value of the number of process control cases is reduced by 2 and when the number of parallel processes ≦ n (in the case of No in S103). As long as the number of process control cases ≧ m is satisfied (in the case of Yes in S105), a loop is performed. In this example, the current value 217 of the updated number of processing control cases is “18”, which exceeds the value “3” of the threshold value 213 of the number of processing control cases. Therefore, “2” is subtracted from the current value 217, It is updated to “16”.

なお、処理制御件数の現在値217が更新されて1を下回ることはありえないから、減算値215が2である場合には、処理制御件数の値の閾値213は3以上である必要がある。減算値215が4である場合には、処理制御件数の値の閾値213は、5以上である必要がある。   Since the current value 217 of the number of process control cases cannot be updated and falls below 1, when the subtraction value 215 is 2, the threshold value 213 of the value of the process control number needs to be 3 or more. When the subtraction value 215 is 4, the threshold value 213 of the value of the number of processing control needs to be 5 or more.

CPU使用率が記憶装置20に記憶される閾値を超えている場合で、並行処理数≦nのとき(S103でNoの場合)で、処理制御件数<mのとき(S105でNoの場合)には、プロセスの実行を停止する(S113)。   When the CPU usage rate exceeds the threshold stored in the storage device 20, when the number of parallel processes ≦ n (in the case of No in S103) and when the number of processing control <m (in the case of No in S105) Stops the execution of the process (S113).

CPU使用率が記憶装置20に記憶される閾値以下の場合(S102でNoの場合)には、処理間隔算出部16は、処理制御件数の現在値217及び並行処理数の現在値207を取得し、これらの値に基づき処理間隔を算出する(S107)。処理間隔(ミリ秒)は、1000÷処理制御件数×並行処理数によって算出される。ここで、処理制御件数の単位は、「件数/秒」である。   When the CPU usage rate is equal to or less than the threshold value stored in the storage device 20 (No in S102), the processing interval calculation unit 16 acquires the current value 217 of the number of process control cases and the current value 207 of the number of parallel processes. The processing interval is calculated based on these values (S107). The processing interval (milliseconds) is calculated by 1000 ÷ number of processing control times × number of parallel processes. Here, the unit of the number of process control cases is “number of cases / second”.

次に、管理部11に未決の電文が存在する場合(S108でYesの場合)には、電文処理部12は、管理部11から未決の電文を取得し(S109)、並行処理数の現在値217の値に応じて処理を実行する(S110)。   Next, when there is an undecided message in the management unit 11 (Yes in S108), the message processing unit 12 acquires an undecided message from the management unit 11 (S109), and the current value of the number of parallel processes Processing is executed according to the value of 217 (S110).

所要処理時間測定部17は、電文処理部12が実際に電文を処理するのに要した所要処理時間を測定する。具体的には、記憶部240に記憶されたコミット処理完了時刻と開始時刻との差から、所要処理時間を算出する。処理間隔算出部16が算出した処理間隔が、所要処理時間測定部17が測定した所要処理時間よりも大きい場合(S111でYesの場合)には、スリープ処理部18は、処理間隔と所要処理時間との差の時間(停止時間)の間、スリープ処理を行う(S112)。ここで、停止時間(ミリ秒)は、(処理間隔−所要処理時間)によって算出される。   The required processing time measurement unit 17 measures the required processing time required for the message processing unit 12 to actually process the message. Specifically, the required processing time is calculated from the difference between the commit processing completion time stored in the storage unit 240 and the start time. When the processing interval calculated by the processing interval calculation unit 16 is larger than the required processing time measured by the required processing time measurement unit 17 (Yes in S111), the sleep processing unit 18 sets the processing interval and the required processing time. The sleep process is performed during the difference time (stop time) (S112). Here, the stop time (milliseconds) is calculated by (processing interval−required processing time).

他方、処理間隔算出部16が算出した処理間隔が、所要処理時間測定部17が測定した所要処理時間以下の場合(S111でNoの場合)、すなわち、停止時間が0以下の場合、次の電文処理を即時に実行する。   On the other hand, if the processing interval calculated by the processing interval calculation unit 16 is equal to or shorter than the required processing time measured by the required processing time measurement unit 17 (No in S111), that is, if the stop time is 0 or less, the next message Perform processing immediately.

管理部11に未決の電文が存在しない場合(S108でNoの場合)、処理対象が存在しないため、終了する。   If there is no pending message in the management unit 11 (No in S108), the processing ends because there is no processing target.

本実施形態では、自システムにおけるCPU使用率などハードウェアリソースの使用率が閾値を超える場合に、自動的に並行処理数の値や処理制御件数の値を制御することによって、CPU使用率を閾値以下にした上で、管理部(キュー)に存在する未決の電文を処理することができる。したがって、本実施形態では、自システムにおけるCPU使用率などハードウェアリソースの使用状況が高騰した場合に当該ハードウェアリソースの使用率を抑制し、自システム以外も含めたシステムがシステムダウンする、またはシステムリソースの逼迫等による故障等の不具合が生ずるといった事態を回避することができるという効果を奏する。また、本実施形態では、自システムのハードウェアリソースの使用率に基づき、自動的に処理能力を制御することができる情報処理装置を提供することができるという効果を奏する。   In this embodiment, when the usage rate of hardware resources such as the CPU usage rate in the own system exceeds the threshold value, the CPU usage rate is set to the threshold value by automatically controlling the value of the number of parallel processes and the number of process control cases. Based on the following, it is possible to process a pending message existing in the management unit (queue). Therefore, in this embodiment, when the usage status of hardware resources such as the CPU usage rate in the own system soars, the usage rate of the hardware resource is suppressed, and the system including the system other than the own system goes down, or the system There is an effect that it is possible to avoid a situation in which a failure such as a failure due to resource tightness occurs. In addition, the present embodiment has an effect that it is possible to provide an information processing apparatus that can automatically control the processing capability based on the usage rate of the hardware resource of its own system.

従来技術では、送信システムと受信システムの連携を前提とするリソースの調整であり、送信システムや受信システムといった個別のシステムのリソースに着目するものでない。他方、本実施形態では、個別のシステムのリソースの使用状況に着目している。そのため、本実施形態では、個別のシステムの並行処理数の値や処理制御件数の値を制御することによって、自システムにおけるCPU使用率などハードウェアリソースの使用状況が高騰した場合に当該ハードウェアリソースの使用率を抑制し、自システム以外も含めたネットワークシステムがシステムダウンする、またはシステムリソースの逼迫等による故障等の不具合が生ずるといった事態を回避することができるという効果を奏する。   In the prior art, the resource adjustment is based on the cooperation between the transmission system and the reception system, and does not focus on the resources of individual systems such as the transmission system and the reception system. On the other hand, in the present embodiment, attention is paid to the resource usage status of individual systems. Therefore, in this embodiment, when the usage status of the hardware resource such as the CPU usage rate in the own system rises by controlling the value of the number of parallel processes and the number of process control cases of the individual system, the hardware resource It is possible to reduce the usage rate of the network system and to avoid a situation in which the network system including the system other than the own system goes down or a failure such as a failure due to tight system resources occurs.

本実施形態では、処理制御件数テーブル210を設け、これが初期設定値211、減算値215等を保持する。そして、処理間隔は、1000÷処理制御件数×並行処理数によって算出される。そのため、処理制御件数を設定することによって、処理間隔を調整することができるという効果を奏する。また、本実施形態では、スリープ処理部18が、処理間隔が所要処理時間よりも大きい場合には、処理間隔と所要処理時間との差の時間の間、スリープ処理を行う。そのため、処理制御件数を一定にすると、処理間隔を一定に調整することができるという効果を奏する。このように自システムにおいて、スリープ処理を行うと、他システムが自システムからデータを受信する場合、他システムにおいてデータの滞留が生じにくくなる。そのため、ネットワーク経由でデータが送受信されるシステムにおいて、システム全体としての処理の平滑化を図ることができる。すなわち、システム間連携するシステムにおけるデータ流量の制御を効率的に行うことができ、システム全体としての処理およびハードウェアリソース使用の平滑化を実現することができるという効果を奏する。   In the present embodiment, a processing control number table 210 is provided, which holds an initial setting value 211, a subtraction value 215, and the like. The processing interval is calculated by 1000 ÷ processing control number × parallel processing number. Therefore, there is an effect that the processing interval can be adjusted by setting the number of processing control cases. In the present embodiment, when the processing interval is larger than the required processing time, the sleep processing unit 18 performs the sleep processing for the time difference between the processing interval and the required processing time. Therefore, when the number of processing control cases is made constant, the processing interval can be adjusted to be constant. In this way, when the sleep process is performed in the own system, when the other system receives data from the own system, the data is less likely to stay in the other system. Therefore, in a system in which data is transmitted / received via a network, the processing of the entire system can be smoothed. That is, it is possible to efficiently control the data flow rate in the system that cooperates between the systems, and it is possible to realize the processing of the entire system and smoothing of the use of hardware resources.

<第2実施形態>
図4を用いて、第2実施形態に係る情報処理装置の処理プロセスを説明する。本実施形態に係る情報処理装置の処理プロセスは、第1実施形態に係る情報処理装置の処理プロセスと概ね同じである。本実施形態では、ステップS203、S204、S205、S206が第1実施形態のステップS103、S104、S105、S106と異なる。ここでは、第1実施形態に係る情報処理装置の処理プロセスと異なる点について詳細に説明する。
Second Embodiment
A processing process of the information processing apparatus according to the second embodiment will be described with reference to FIG. The processing process of the information processing apparatus according to the present embodiment is substantially the same as the processing process of the information processing apparatus according to the first embodiment. In the present embodiment, steps S203, S204, S205, and S206 are different from steps S103, S104, S105, and S106 of the first embodiment. Here, differences from the processing process of the information processing apparatus according to the first embodiment will be described in detail.

判定部14が、状態量取得部13が取得するCPU使用率またはメモリ使用率の少なくとも一つが記憶装置20に記憶される閾値を超えるかどうかを判定し(S202)、これを超える場合、処理制御件数>mを満たすかどうかが判定される(S203)。この例では、CPU使用率を用いて説明する。   The determination unit 14 determines whether at least one of the CPU usage rate or the memory usage rate acquired by the state quantity acquisition unit 13 exceeds a threshold stored in the storage device 20 (S202). It is determined whether or not the number of cases> m is satisfied (S203). In this example, description will be made using the CPU usage rate.

CPU使用率が記憶装置20に記憶される閾値を超えている場合で、しかも、処理制御件数>mを満たすとき(S203でYesの場合)には、制御部15は、処理制御件数の値を2減らす(S204)。   When the CPU usage rate exceeds the threshold stored in the storage device 20 and when the number of processing control cases> m is satisfied (in the case of Yes in S203), the control unit 15 sets the value of the number of processing control cases. 2 is reduced (S204).

他方、CPU使用率が記憶装置20に記憶される閾値を超えている場合で、処理制御件数>mを満たさないとき(S203でNoの場合)には、並行処理数≧2を満たすかどうかが判定される(S205)。CPU使用率が記憶装置20に記憶される閾値を超えている場合で、処理制御件数>mを満たさないとき(S203でNoの場合)で、並行処理数≧2を満たすとき(S205でYesの場合)には、制御部15は、並行処理数の値を1減らす(S206)。   On the other hand, when the CPU usage rate exceeds the threshold value stored in the storage device 20 and the number of processing control items> m is not satisfied (in the case of No in S203), whether or not the number of parallel processings ≧ 2 is satisfied. It is determined (S205). When the CPU usage rate exceeds the threshold stored in the storage device 20, when the number of process control items> m is not satisfied (in the case of No in S203), when the number of parallel processes ≧ 2 is satisfied (Yes in S205) In the case), the control unit 15 decreases the value of the number of parallel processes by 1 (S206).

本実施形態でも、第1実施形態と同じ効果を奏する。   This embodiment also has the same effect as the first embodiment.

<第3実施形態>
図5を用いて、第3実施形態に係る情報処理装置の処理プロセスを説明する。本実施形態に係る情報処理装置の処理プロセスは、第2実施形態に係る情報処理装置の処理プロセスと概ね同じである。本実施形態では、ステップS303が第1実施形態のステップS203と異なる。ここでは、第2実施形態に係る情報処理装置の処理プロセスと異なる点について詳細に説明する。
<Third Embodiment>
A processing process of the information processing apparatus according to the third embodiment will be described with reference to FIG. The processing process of the information processing apparatus according to the present embodiment is substantially the same as the processing process of the information processing apparatus according to the second embodiment. In the present embodiment, step S303 is different from step S203 of the first embodiment. Here, differences from the processing process of the information processing apparatus according to the second embodiment will be described in detail.

判定部14が、状態量取得部13が取得するCPU使用率またはメモリ使用率の少なくとも一つが記憶装置20に記憶される閾値を超えるかどうかを判定し(S302)、これを超える場合、並行処理数>nを満たし、かつ、処理制御件数>mを満たすかどうかが判定される(S303)。この例では、CPU使用率を用いて説明する。   The determination unit 14 determines whether at least one of the CPU usage rate or the memory usage rate acquired by the state quantity acquisition unit 13 exceeds a threshold stored in the storage device 20 (S302). It is determined whether or not the number> n is satisfied and the number of processing control cases> m is satisfied (S303). In this example, description will be made using the CPU usage rate.

CPU使用率が記憶装置20に記憶される閾値を超えている場合で、しかも、並行処理数>nを満たし、かつ、処理制御件数>mを満たすとき(S303でYesの場合)には、制御部15は、処理制御件数の値を2減らす(S304)。   When the CPU usage rate exceeds the threshold stored in the storage device 20, and when the number of parallel processes> n is satisfied and the number of process control cases> m is satisfied (in the case of Yes in S303), control is performed. The unit 15 decreases the value of the number of process control cases by 2 (S304).

他方、CPU使用率が記憶装置20に記憶される閾値を超えている場合で、並行処理数>n、かつ、処理制御件数>mの条件を満たさないとき(S303でNoの場合)には、並行処理数≧2を満たすかどうかが判定される(S305)。   On the other hand, when the CPU usage rate exceeds the threshold stored in the storage device 20 and the conditions of the number of parallel processes> n and the number of process control> m are not satisfied (in the case of No in S303), It is determined whether or not the number of parallel processes ≧ 2 is satisfied (S305).

本実施形態でも、第1実施形態と同じ効果を奏する。   This embodiment also has the same effect as the first embodiment.

<第4実施形態>
図6を用いて、第4実施形態に係る情報処理装置の処理プロセスを説明する。本実施形態に係る情報処理装置の処理プロセスは、第1実施形態に係る情報処理装置の処理プロセスと概ね同じである。本実施形態では、ステップS403が第1実施形態のステップS103と異なる。ここでは、第1実施形態に係る情報処理装置の処理プロセスと異なる点について詳細に説明する。
<Fourth embodiment>
A processing process of the information processing apparatus according to the fourth embodiment will be described with reference to FIG. The processing process of the information processing apparatus according to the present embodiment is substantially the same as the processing process of the information processing apparatus according to the first embodiment. In the present embodiment, step S403 is different from step S103 of the first embodiment. Here, differences from the processing process of the information processing apparatus according to the first embodiment will be described in detail.

判定部14が、状態量取得部13が取得するCPU使用率またはメモリ使用率の少なくとも一つが記憶装置20に記憶される閾値を超えるかどうかを判定し(S402)、これを超える場合、並行処理数>nを満たし、かつ、処理制御件数>mを満たすかどうかが判定される(S403)。この例では、CPU使用率を用いて説明する。   The determination unit 14 determines whether at least one of the CPU usage rate or the memory usage rate acquired by the state quantity acquisition unit 13 exceeds a threshold stored in the storage device 20 (S402). It is determined whether or not the number> n is satisfied and the number of process control cases> m is satisfied (S403). In this example, description will be made using the CPU usage rate.

CPU使用率が記憶装置20に記憶される閾値を超えている場合で、しかも、並行処理数>nを満たし、かつ、処理制御件数>mを満たすとき(S403でYesの場合)には、制御部15は、並行処理数の値を1減らす(S404)。   When the CPU usage rate exceeds the threshold stored in the storage device 20, and when the number of parallel processes> n is satisfied and the number of process control cases> m is satisfied (in the case of Yes in S403), control is performed. The unit 15 decrements the value of the number of parallel processes by 1 (S404).

他方、CPU使用率が記憶装置20に記憶される閾値を超えている場合で、並行処理数>n、かつ、処理制御件数>mの条件を満たさないとき(S403でNoの場合)には、処理制御件数≧3を満たすかどうかが判定される(S405)。   On the other hand, when the CPU usage rate exceeds the threshold stored in the storage device 20 and the condition of the number of parallel processes> n and the number of process control cases> m is not satisfied (in the case of No in S403), It is determined whether or not the number of process control cases ≧ 3 is satisfied (S405).

本実施形態でも、第1実施形態と同じ効果を奏する。   This embodiment also has the same effect as the first embodiment.

<第5実施形態>
図7を用いて、第5実施形態に係る情報処理装置の処理プロセスを説明する。本実施形態に係る情報処理装置の処理プロセスは、第1実施形態に係る情報処理装置の処理プロセスと概ね同じである。本実施形態では、ステップS502、503が第1実施形態のステップS102と異なる。ここでは、第1実施形態に係る情報処理装置の処理プロセスと異なる点について詳細に説明する。
<Fifth Embodiment>
A processing process of the information processing apparatus according to the fifth embodiment will be described with reference to FIG. The processing process of the information processing apparatus according to the present embodiment is substantially the same as the processing process of the information processing apparatus according to the first embodiment. In the present embodiment, steps S502 and 503 are different from step S102 of the first embodiment. Here, differences from the processing process of the information processing apparatus according to the first embodiment will be described in detail.

本実施形態では、第1実施形態と異なり、メモリ使用率テーブル220は、閾値221のほかに、第2閾値、第3閾値を保持する。ここで、第2閾値は、異常値を意味し、第3閾値は危険値を意味してもよい。この例では、閾値が80(%)で、第2閾値が85(%)で、第3閾値が90(%)である。また、この例では、メモリ使用率テーブル220は、3つの閾値を保持するが、3つ以外の複数であってもよい。   In this embodiment, unlike the first embodiment, the memory usage rate table 220 holds a second threshold value and a third threshold value in addition to the threshold value 221. Here, the second threshold value may mean an abnormal value, and the third threshold value may mean a dangerous value. In this example, the threshold value is 80 (%), the second threshold value is 85 (%), and the third threshold value is 90 (%). In this example, the memory usage rate table 220 holds three threshold values, but may be a plurality other than three.

判定部14が、状態量取得部13が取得するCPU使用率またはメモリ使用率の少なくとも一つが記憶装置20に記憶される閾値を超えるかどうかを判定する(S502)。この例では、CPU使用率を用いて説明すると、判定部14が、状態量取得部13が取得するCPU使用率が記憶装置20に記憶される閾値80(%)を超えるかどうかを判定する。   The determination unit 14 determines whether at least one of the CPU usage rate or the memory usage rate acquired by the state quantity acquisition unit 13 exceeds a threshold stored in the storage device 20 (S502). In this example, the description will be made using the CPU usage rate. The determination unit 14 determines whether the CPU usage rate acquired by the state quantity acquisition unit 13 exceeds the threshold 80 (%) stored in the storage device 20.

CPU使用率が閾値80(%)を超え(S502でYesの場合)、かつ、第2閾値85(%)よりも小さい場合には、S501に戻る処理をする。すなわち、CPU使用率が第2閾値85(%)よりも小さい場合には、時間の経過によりCPU使用率が閾値より小さくなる可能性があり、しかも、危険値との差はいまだあることから、即時に並行処理数の値や処理制御件数の値を減らさなくても、システムダウンするおそれが危険値の場合よりも低い。そこで、CPU使用率が第2閾値85(%)よりも小さい場合には、並行処理数の値や処理制御件数の値を減らすことなく保留とする処理を行うのである。   If the CPU usage rate exceeds the threshold value 80 (%) (Yes in S502) and is smaller than the second threshold value 85 (%), the process returns to S501. That is, when the CPU usage rate is smaller than the second threshold value 85 (%), the CPU usage rate may become smaller than the threshold value as time elapses, and there is still a difference from the dangerous value. Even if you do not immediately reduce the value of the number of parallel processes or the number of process control cases, the risk of system down is lower than in the case of a dangerous value. Therefore, when the CPU usage rate is smaller than the second threshold value 85 (%), the process of holding is performed without reducing the value of the number of parallel processes and the value of the number of process control cases.

他方、CPU使用率が閾値80(%)を超え(S502でYesの場合)、かつ、第2閾値85(%)以上で第3閾値90(%)よりも小さい場合には、処理制御件数≧3を満たすかどうかを判定する(S506)。また、CPU使用率が閾値80(%)を超え(S502でYesの場合)、かつ、第3閾値90(%)以上である場合には、並行処理数>nを満たすかどうかを判定する(S504)。   On the other hand, if the CPU usage rate exceeds the threshold value 80 (%) (Yes in S502) and is greater than or equal to the second threshold value 85 (%) and smaller than the third threshold value 90 (%), the number of process control items ≧ 3 is determined (S506). If the CPU usage rate exceeds the threshold 80 (%) (Yes in S502) and is equal to or greater than the third threshold 90 (%), it is determined whether or not the number of parallel processes> n is satisfied ( S504).

本実施形態でも、第1実施形態と同じ効果を奏する。   This embodiment also has the same effect as the first embodiment.

本実施形態では、CPU使用率などハードウェアリソースの閾値を複数設定することにより、閾値に応じた処理の選択肢を増加させている。したがって、本実施形態では、CPU使用率などハードウェアリソースに応じた、より柔軟な処理を行うことができるという効果を奏する。   In the present embodiment, by setting a plurality of hardware resource thresholds such as CPU usage rate, processing options corresponding to the thresholds are increased. Therefore, in this embodiment, there exists an effect that a more flexible process according to hardware resources, such as CPU usage rate, can be performed.

<第6実施形態>
図8から図10を用いて、第6実施形態に係る情報処理装置について説明する。第6実施形態に係る情報処理装置について、第1実施形態に係る情報処理装置と異なる点のみ説明し、重複する点については説明を省略する。
<Sixth Embodiment>
The information processing apparatus according to the sixth embodiment will be described with reference to FIGS. The information processing apparatus according to the sixth embodiment will be described only with respect to differences from the information processing apparatus according to the first embodiment, and description of overlapping points will be omitted.

[記憶装置の構成]
本実施形態に係る情報処理装置の記憶装置20Aは、第1実施形態の情報処理装置1の記憶装置20と異なる。図8は、本発明の他の実施形態に係る情報処理装置の記憶装置を説明するための概念図である。
[Configuration of storage device]
The storage device 20A of the information processing device according to the present embodiment is different from the storage device 20 of the information processing device 1 of the first embodiment. FIG. 8 is a conceptual diagram for explaining a storage device of an information processing apparatus according to another embodiment of the present invention.

記憶装置20Aは、並行処理数テーブル(図示せず)、処理制御件数テーブル(図示せず)、メモリ使用率テーブル220、CPU使用率テーブル230及び時刻記憶部(図示せず)を備える点において、記憶装置20と同じである。もっとも、メモリ使用率テーブル220及びCPU使用率テーブル230が記憶する内容が異なる。   The storage device 20A includes a parallel processing number table (not shown), a processing control number table (not shown), a memory usage rate table 220, a CPU usage rate table 230, and a time storage unit (not shown). This is the same as the storage device 20. However, the contents stored in the memory usage rate table 220 and the CPU usage rate table 230 are different.

メモリ使用率テーブル220は、上限閾値221及び下限閾値223を記憶する。この例では、上限閾値221は、「80(%)」で、下限閾値223は、「60(%)」ある。同様に、CPU使用率テーブル230は、上限閾値231及び下限閾値233を記憶する。この例では、上限閾値231は、「80(%)」で、下限閾値233は、「60(%)」ある。   The memory usage rate table 220 stores an upper limit threshold 221 and a lower limit threshold 223. In this example, the upper limit threshold 221 is “80 (%)”, and the lower limit threshold 223 is “60 (%)”. Similarly, the CPU usage rate table 230 stores an upper limit threshold value 231 and a lower limit threshold value 233. In this example, the upper threshold 231 is “80 (%)” and the lower threshold 233 is “60 (%)”.

[情報処理装置の処理プロセス]
図9及び図10を用いて、本実施形態に係る情報処理装置の処理プロセスを説明する。図9及び図10は、本発明の他の実施形態に係る情報処理装置の処理プロセスを示すためのフローである。
[Processing of information processing equipment]
A processing process of the information processing apparatus according to the present embodiment will be described with reference to FIGS. 9 and 10. FIG. 9 and FIG. 10 are flowcharts for illustrating the processing process of the information processing apparatus according to another embodiment of the present invention.

状態量取得部13は、各ハードウェアリソースの状態量を取得する(S601)。すなわち、状態量取得部13は、CPUの使用率、メモリの使用率などの情報を取得する。この例では、状態量取得部13は、CPU使用率の情報を取得する。以下の説明では、CPU使用率の取得を前提とした説明をする。   The state quantity acquisition unit 13 acquires the state quantity of each hardware resource (S601). That is, the state quantity acquisition unit 13 acquires information such as a CPU usage rate and a memory usage rate. In this example, the state quantity acquisition unit 13 acquires information on the CPU usage rate. In the following explanation, explanation is given on the assumption that the CPU usage rate is acquired.

次に、判定部14は、状態量取得部13が取得するCPU使用率が記憶装置20Aに記憶される上限閾値である80%を超えるかどうかを判定する(S602)。   Next, the determination unit 14 determines whether or not the CPU usage rate acquired by the state quantity acquisition unit 13 exceeds 80%, which is an upper limit threshold value stored in the storage device 20A (S602).

CPU使用率が上限閾値である80%を超える場合(S602でYesの場合)で、かつ、並行処理数の値が並行処理数の初期設定値201より大きい場合(S603でYesの場合)には、制御部15は、並行処理数の値を初期設定値201に戻した上で、かつ、「1」減らす(S604)。具体的には、並行処理数の値が「8」で、並行処理数の初期設定値201が「5」の場合には、並行処理数の値は「4」になる。   When the CPU usage rate exceeds 80% which is the upper limit threshold value (in the case of Yes in S602) and the value of the number of parallel processes is larger than the initial value 201 of the number of parallel processes (in the case of Yes in S603) Then, the control unit 15 returns the value of the number of parallel processes to the initial setting value 201 and decreases “1” (S604). Specifically, when the value of the number of parallel processes is “8” and the initial setting value 201 of the number of parallel processes is “5”, the value of the number of parallel processes is “4”.

他方、CPU使用率が上限閾値である80%を超える場合(S602でYesの場合)で、かつ、並行処理数の値が並行処理数の初期設定値201以下の場合(S603でNoの場合)で、しかも、並行処理数の値が「2」以上の場合(S605でYesの場合)には、制御部15は、並行処理数の値を「1」減らす。具体的には、並行処理数の値が「5」で、並行処理数の初期設定値201が「5」の場合には、制御部15は、並行処理数の値を「4」にする。並行処理数の値が「4」で、並行処理数の初期設定値201が「5」の場合には、制御部15は、並行処理数の値を「3」にする。なお、S605でNoの場合には、プロセスの実行を停止する(S607)。   On the other hand, when the CPU usage rate exceeds the upper threshold value of 80% (Yes in S602) and the value of the number of parallel processes is equal to or less than the initial value 201 of the number of parallel processes (No in S603). In addition, when the value of the number of parallel processes is “2” or more (Yes in S605), the control unit 15 decreases the value of the number of parallel processes by “1”. Specifically, when the value of the number of parallel processes is “5” and the initial setting value 201 of the number of parallel processes is “5”, the control unit 15 sets the value of the number of parallel processes to “4”. When the value of the number of parallel processes is “4” and the initial value 201 of the number of parallel processes is “5”, the control unit 15 sets the value of the number of parallel processes to “3”. In the case of No in S605, the process execution is stopped (S607).

上記のとおり、S603でYesの場合には、制御部15は、並行処理数の値を初期設定値201に戻した上で、かつ、「1」減らしている(S604)。CPU使用率が上限閾値を超えている場合には、CPU使用率を下げる必要性及び緊急性があることから、並行処理数の値を「1」ずつ減らすのではなく、並行処理数の初期設定値201まで戻すことによって、可能な限り速くCPU使用率が上限閾値を超えない状態にすることができるという効果を奏する。また、並行処理数の初期設定値201まで戻した上で、さらに並行処理数の値を「1」減らすのは、その他の場合(S603でNoの場合で、かつ、S605でYesの場合)との平仄をとるためである。   As described above, in the case of Yes in S603, the control unit 15 returns the value of the number of parallel processes to the initial setting value 201 and decreases “1” (S604). If the CPU usage rate exceeds the upper threshold, there is a necessity and urgency to lower the CPU usage rate, so the value of the number of parallel processes is not reduced by “1”, but the initial setting of the number of parallel processes By returning to the value 201, there is an effect that the CPU usage rate does not exceed the upper limit threshold as quickly as possible. Moreover, after returning to the initial value 201 of the number of parallel processes, the value of the number of parallel processes is further decreased by “1” in other cases (in the case of No in S603 and Yes in S605). This is because of

CPU使用率が上限閾値以下の場合(S602でNoの場合)には、判定部14は、キューに電文が滞留しているかどうかを判定する(S608)。ここで、キューに電文が滞留している状態とは、1度のサイクル(例えば、1秒間の処理サイクル)で処理しきれない量の電文がキューに存在する状態をいう。具体的には、判定部14は、「電文滞留件数>処理制御件数」となっているかどうかを判定する。   When the CPU usage rate is equal to or lower than the upper limit threshold value (No in S602), the determination unit 14 determines whether or not a message remains in the queue (S608). Here, the state in which the message stays in the queue refers to a state in which an amount of messages that cannot be processed in one cycle (for example, a processing cycle of one second) exists in the queue. Specifically, the determination unit 14 determines whether or not “number of staying messages> number of processing controls”.

判定部14がキューに電文が滞留していると判定した場合(S608でYesの場合)で、かつ、CPU使用率が下限閾値を下回っている場合(S611でYesの場合)には、制御部15は、並行処理数の値を「1」上げて、S613に進む。他方、判定部14がキューに電文が滞留していると判定した場合(S608でYesの場合)で、かつ、CPU使用率が下限閾値以上の場合(S611でNoの場合)には、並行処理数の値は維持したままで、S613に進む。キューに電文が滞留している場合には、電文の滞留を減らす必要があるため、並行処理数の値を上げる必要性がある。もっとも、CPU使用率が下限閾値以上の場合に並行処理数の値を上げると、CPU使用率が上昇し上限閾値を超えるおそれがある。S611、S612のような処理をすることによって、電文の滞留を減らす必要性とCPU使用率が上限閾値を超えないようにする要請との調和を図ることができるという効果を奏する。   If the determination unit 14 determines that a message is staying in the queue (Yes in S608) and the CPU usage rate is below the lower threshold (Yes in S611), the control unit 15 increments the value of the number of parallel processes by “1”, and proceeds to S613. On the other hand, if the determination unit 14 determines that the message is staying in the queue (Yes in S608) and the CPU usage rate is equal to or higher than the lower limit threshold (No in S611), parallel processing While maintaining the value of the number, the process proceeds to S613. When a message stays in the queue, it is necessary to increase the value of the number of parallel processes because it is necessary to reduce the stay of the message. However, if the value of the number of parallel processes is increased when the CPU usage rate is equal to or higher than the lower limit threshold, the CPU usage rate may increase and exceed the upper limit threshold. By performing the processes as in S611 and S612, there is an effect that it is possible to achieve harmony between the necessity of reducing the stay of the message and the request that the CPU usage rate does not exceed the upper limit threshold.

判定部14がキューに電文が滞留していないと判定した場合(S608でNoの場合)で、かつ、並行処理数の値が並行処理数の初期設定値より下回っている場合(S609でYesの場合)には、並行処理数の値を初期設定値に戻し(S610)、S613に進む。他方、判定部14がキューに電文が滞留していないと判定した場合(S608でNoの場合)で、かつ、並行処理数の値が並行処理数の初期設定値以上の場合(S609でNoの場合)には、並行処理数の値は維持したまま、S613に進む。キューに電文が滞留していない場合には、電文の処理が滞りなく行われているため、あえて並行処理数の値を上げる必要性はない。もっとも、できる限り、並行処理数の値を初期設定値にしたいとの要請から、並行処理数の値が低い場合には、初期設定値に戻す処理(S610)を行っている。   When the determination unit 14 determines that the message is not retained in the queue (in the case of No in S608), and the value of the number of parallel processes is lower than the initial setting value of the number of parallel processes (Yes in S609) In the case), the value of the number of parallel processes is returned to the initial setting value (S610), and the process proceeds to S613. On the other hand, when the determination unit 14 determines that the message is not staying in the queue (No in S608) and the value of the number of parallel processes is equal to or greater than the initial setting value of the number of parallel processes (No in S609). In the case), the process proceeds to S613 while maintaining the value of the number of parallel processes. When a message does not stay in the queue, the message processing is performed without delay, so there is no need to increase the value of the number of parallel processes. Of course, as much as possible, a request to set the value of the number of parallel processes to the initial setting value is performed, and when the value of the number of parallel processes is low, a process of returning to the initial setting value is performed (S610).

続いて、処理間隔算出部16は、処理制御件数の現在値217及び並行処理数の現在値207を取得し、これらの値に基づき処理間隔を算出する(S613)。 次に、管理部11に未決の電文が存在する場合(S614でYesの場合)には、電文処理部12は、管理部11から未決の電文を取得し(S615)、並行処理数の現在値217の値に応じて処理を実行する(S616)。   Subsequently, the processing interval calculation unit 16 acquires the current value 217 of the number of process control cases and the current value 207 of the number of parallel processes, and calculates the processing interval based on these values (S613). Next, when there is an undecided message in the management unit 11 (Yes in S614), the message processing unit 12 acquires an undecided message from the management unit 11 (S615), and the current value of the number of parallel processes Processing is executed according to the value of 217 (S616).

所要処理時間測定部17は、電文処理部12が実際に電文を処理するのに要した所要処理時間を測定する。処理間隔算出部16が算出した処理間隔が、所要処理時間測定部17が測定した所要処理時間よりも大きい場合(S617でYesの場合)には、スリープ処理部18は、処理間隔と所要処理時間との差の時間(停止時間)の間、スリープ処理を行い(S618)、S601に戻る。他方、処理間隔算出部16が算出した処理間隔が、所要処理時間測定部17が測定した所要処理時間以下の場合(S618でNoの場合)、S601に戻る。   The required processing time measurement unit 17 measures the required processing time required for the message processing unit 12 to actually process the message. When the processing interval calculated by the processing interval calculation unit 16 is larger than the required processing time measured by the required processing time measurement unit 17 (Yes in S617), the sleep processing unit 18 sets the processing interval and the required processing time. The sleep process is performed during the difference time (stop time) (S618), and the process returns to S601. On the other hand, when the processing interval calculated by the processing interval calculation unit 16 is equal to or shorter than the required processing time measured by the required processing time measurement unit 17 (No in S618), the process returns to S601.

本実施形態でも、上記の効果に加えて、第1実施形態と同じ効果を奏する。   In this embodiment, in addition to the above effects, the same effects as in the first embodiment can be obtained.

<変形例>
第6実施形態では、CPU使用率が上限閾値を超えた場合(S602でYesの場合)における処理は、S604、S606のとおり、並行処理数を減らすという処理である。他方、CPU使用率が下限閾値を下回る場合(S611でYesの場合)、S612のとおり、並行処理数を増やすという処理である。すなわち、S604、S605、S612において、いずれも並行処理数を対象としている。
<Modification>
In the sixth embodiment, the process when the CPU usage rate exceeds the upper limit threshold value (in the case of Yes in S602) is a process of reducing the number of parallel processes as in S604 and S606. On the other hand, when the CPU usage rate falls below the lower limit threshold value (in the case of Yes in S611), it is a process of increasing the number of parallel processes as in S612. That is, in S604, S605, and S612, all deal with the number of parallel processes.

もっとも、第6実施形態におけるS604の代わりに、「処理制御件数を初期設定値に戻し、かつ、「2」減らす」とするか、「並行処理数を初期設定値に戻し、かつ、「1」減らす。また、処理制御件数を初期設定値に戻し、かつ、「2」減らす」とすることも可能である。同様に、第6実施形態におけるS606の代わりに、「処理制御件数を「2」減らす」とするか、「並行処理数を「1」減らす。また、処理制御件数を「2」減らす」とすることも可能である。この場合には、S605の分岐条件も減らす対象に応じて変わる。さらに、第6実施形態におけるS611の代わりに、「処理制御件数を「2」上げる」とするか、「並行処理数を「1」上げる。また、処理制御件数を「2」上げる」とすることも可能である。   However, instead of S604 in the sixth embodiment, “return the number of process control cases to the initial setting value and reduce“ 2 ”” or “return the parallel processing number to the initial setting value and“ 1 ”. cut back. It is also possible to return the number of process control cases to the initial setting value and “decrease by 2”. Similarly, instead of S606 in the sixth embodiment, “the number of process control cases is reduced by“ 2 ”” or “the number of parallel processes is reduced by“ 1 ”. It is also possible to reduce the number of process control cases by “2”. In this case, the branch condition in S605 also changes depending on the target to be reduced. Further, instead of S611 in the sixth embodiment, “the number of process control cases is increased by“ 2 ”” or “the number of parallel processes is increased by“ 1 ”. It is also possible to increase the number of process control cases by “2”.

以上のように、CPU使用率が上限閾値を超えた場合(S602でYesの場合)における処理は3通りあり、CPU使用率が下限閾値を下回る場合(S611でYesの場合)における処理も3通りあることから、合計すると9通りの処理の方法がある。第6実施形態の処理方法を除くと、8通りの処理方法がある。これら8通りの処理方法であっても、第6実施形態と同じ効果を奏する。9通りの処理方法は、用いるシステムの特性に応じて、適宜変更することが可能である。   As described above, there are three types of processing when the CPU usage rate exceeds the upper limit threshold value (in the case of Yes in S602), and three types of processing when the CPU usage rate falls below the lower limit threshold value (in the case of Yes in S611). Therefore, there are nine processing methods in total. Excluding the processing method of the sixth embodiment, there are eight processing methods. Even with these eight processing methods, the same effects as in the sixth embodiment can be obtained. The nine processing methods can be appropriately changed according to the characteristics of the system to be used.

なお、本発明は上記の実施形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。   Note that the present invention is not limited to the above-described embodiment, and can be modified as appropriate without departing from the spirit of the present invention.

1:情報処理装置 10:処理装置 11:管理部 12:電文処理部
13:状態量取得部 14:判定部 15:制御部
16:処理間隔算出部 17:所要処理時間測定部
18:スリープ処理部 20:記憶装置
200:並行処理数テーブル 201:並行処理数の初期設定値
203:並行処理数の閾値 205:並行処理数の減算値 207:並行処理数の現在値
210:処理制御件数テーブル 211:処理制御件数の初期設定値
213:処理制御件数の閾値 215:処理制御件数の減算値
217:処理制御件数の現在値 220:メモリ使用率テーブル
221:メモリ使用率の閾値 230:CPU使用率テーブル
231:CPU使用率の閾値
1: Information processing device 10: Processing device 11: Management unit 12: Message processing unit 13: State quantity acquisition unit 14: Determination unit 15: Control unit 16: Processing interval calculation unit 17: Required processing time measurement unit 18: Sleep processing unit 20: Storage device 200: Parallel processing count table 201: Initial value of parallel processing count 203: Parallel processing count threshold value 205: Parallel processing count subtraction value 207: Parallel processing count current value 210: Processing control count table 211: Initial value 213 of the number of processing control cases: Threshold value of the number of processing control cases 215: Subtraction value of the number of processing control cases 217: Current value of the number of processing control cases 220: Memory usage rate table 221: Memory usage rate threshold value 230: CPU usage rate table 231 : CPU usage threshold

Claims (11)

処理装置と記憶装置とを含むハードウェアリソースの状態の閾値、並行処理数の値及び処理制御件数の値のうち少なくともいずれかの一つの値を記憶する記憶部と、
前記ハードウェアリソースの状態量を取得する状態量取得部と、
前記取得される状態量の少なくとも一つが前記記憶部に記憶される閾値との関係で所定の条件を満たすかどうかを判定する判定部と、
前記判定部が前記所定の条件を満たすと判定する場合に、少なくとも並行処理数の値及び前記処理制御件数の値のいずれか一つの値を変動させる制御部と、
を備える情報処理装置。
A storage unit that stores at least one of a threshold value of a hardware resource state including a processing device and a storage device, a value of the number of parallel processes, and a value of the number of process control cases;
A state quantity acquisition unit for acquiring a state quantity of the hardware resource;
A determination unit that determines whether at least one of the acquired state quantities satisfies a predetermined condition in relation to a threshold value stored in the storage unit;
When the determination unit determines that the predetermined condition is satisfied, a control unit that varies at least one of the value of the number of parallel processes and the value of the number of process control cases,
An information processing apparatus comprising:
前記所定の条件を満たすこととは、前記取得される状態量の少なくとも一つが前記記憶部に記憶される閾値を超えることであり、
前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶部に記憶される閾値を超えると判定する場合に、少なくとも前記並行処理数の値及び前記処理制御件数の値のいずれか一つの値を減らすことを特徴とする請求項1に記載の情報処理装置。
Satisfying the predetermined condition is that at least one of the acquired state quantities exceeds a threshold stored in the storage unit,
When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage unit, at least the value of the number of parallel processes and the value of the number of process control cases The information processing apparatus according to claim 1, wherein any one value is reduced.
前記所定の条件を満たすこととは、前記取得される状態量の少なくとも一つが前記記憶部に記憶される閾値を下回ることであり、
前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶部に記憶される閾値を下回ると判定する場合に、少なくとも前記並行処理数の値及び前記処理制御件数の値のいずれか一つの値を増やすことを特徴とする請求項1に記載の情報処理装置。
Satisfying the predetermined condition means that at least one of the acquired state quantities is below a threshold value stored in the storage unit,
When the determination unit determines that at least one of the acquired state quantities is below a threshold stored in the storage unit, at least the value of the number of parallel processes and the value of the number of process control cases The information processing apparatus according to claim 1, wherein any one value is increased.
前記判定部が前記取得される状態量が前記記憶部に記憶される閾値を超えないと判定する場合に、スリープ処理を行うスリープ処理部と、
をさらに備える請求項2に記載の情報処理装置。
A sleep processing unit that performs a sleep process when the determination unit determines that the acquired state quantity does not exceed a threshold stored in the storage unit;
The information processing apparatus according to claim 2, further comprising:
前記並行処理数の値に応じて前記電文を処理する電文処理部と、
前記判定部が前記取得される状態量が前記記憶部に記憶される閾値を超えないと判定する場合に、前記並行処理数の値及び前記処理制御件数の値に基づき処理間隔を算出する処理間隔算出部と、
前記電文処理部が前記電文を処理するのに要した所要処理時間を測定する所要処理時間測定部と、をさらに備え、
前記スリープ処理部は、前記処理間隔が前記所要処理時間よりも大きい場合には、前記処理間隔と前記所要処理時間との差の時間の間、スリープ処理を行うことを特徴とする請求項4に記載の情報処理装置。
A message processing unit that processes the message according to the value of the number of parallel processes;
A processing interval for calculating a processing interval based on the value of the number of parallel processes and the value of the number of process control cases when the determination unit determines that the acquired state quantity does not exceed a threshold stored in the storage unit A calculation unit;
A required processing time measuring unit that measures the required processing time required for the message processing unit to process the message; and
5. The sleep processing unit according to claim 4, wherein when the processing interval is larger than the required processing time, the sleep processing unit performs a sleep processing for a time difference between the processing interval and the required processing time. The information processing apparatus described.
前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記並行処理数の値が所定の値よりも大きいときは、前記並行処理数の値を減らし、
前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記並行処理数の値が前記所定の値以下であるときで、前記処理制御件数の値が所定の値以上のときは、前記処理制御件数の値を減らすことを特徴とする請求項2に記載の情報処理装置。
When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, the value of the number of parallel processes is greater than a predetermined value , Reduce the value of the number of parallel processes,
When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, the value of the number of parallel processes is equal to or less than the predetermined value The information processing apparatus according to claim 2, wherein when the value of the number of process control cases is equal to or greater than a predetermined value, the value of the number of process control cases is reduced.
前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記処理制御件数の値が所定の値よりも大きいときは、前記処理制御件数の値を減らし、
前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記処理制御件数の値が前記所定の値以下であるときで、前記並行処理数の値が所定の値以上のときは、前記並行処理数の値を減らすことを特徴とする請求項2に記載の情報処理装置。
When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, the value of the number of process control cases is greater than a predetermined value , Reduce the value of the number of process control cases,
When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, the value of the number of process control cases is equal to or less than the predetermined value The information processing apparatus according to claim 2, wherein when the value of the number of parallel processes is equal to or greater than a predetermined value, the value of the number of parallel processes is reduced.
前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記並行処理数の値が所定の値よりも大きく、かつ、前記処理制御件数の値が所定の値よりも大きいときは、前記処理制御件数の値を減らすことを特徴とする請求項2に記載の情報処理装置。   When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, the value of the number of parallel processes is greater than a predetermined value, and The information processing apparatus according to claim 2, wherein when the value of the number of processing control cases is larger than a predetermined value, the value of the number of processing control cases is reduced. 前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記並行処理数の値が所定の値よりも大きく、かつ、前記処理制御件数の値が所定の値よりも大きいときは、前記並行処理数の値を減らすことを特徴とする請求項2に記載の情報処理装置。   When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, the value of the number of parallel processes is greater than a predetermined value, and The information processing apparatus according to claim 2, wherein when the value of the number of process control cases is larger than a predetermined value, the value of the number of parallel processes is reduced. 前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記取得される状態量が第1閾値未満のときは、前記並行処理数の値及び前記処理制御件数の値を維持し、
前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記取得される状態量が前記第1閾値以上で第2閾値未満のときは、前記並行処理数の値を減らし、
前記制御部は、前記判定部が前記取得される状態量の少なくとも一つが前記記憶装置に記憶される閾値を超えると判定する場合に、前記取得される状態量が前記第2閾値以上で、前記処理制御件数の値が所定の値よりも大きい時は、前記処理制御件数の値を減らすことを特徴とする請求項2に記載の情報処理装置。
When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, and the acquired state quantity is less than a first threshold, Maintain the value of the number of parallel processes and the value of the number of process control cases,
When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, the acquired state quantity is equal to or greater than the first threshold and is second. When it is less than the threshold, the value of the number of parallel processes is reduced,
When the determination unit determines that at least one of the acquired state quantities exceeds a threshold stored in the storage device, the acquired state quantity is equal to or greater than the second threshold, The information processing apparatus according to claim 2, wherein when the value of the number of process control cases is larger than a predetermined value, the value of the number of process control cases is reduced.
コンピュータを、
処理装置と記憶装置とを含むハードウェアリソースの状態の閾値、並行処理数の値及び処理制御件数の値のうち少なくともいずれか一つの値を記憶する記憶部と、
前記ハードウェアリソースの状態量を取得する状態量取得部と、
前記取得される状態量の少なくとも一つが前記記憶部に記憶される閾値との関係で所定の条件を満たすかどうかを判定する判定部と、
前記判定部が前記所定の条件を満たすと判定する場合に、少なくとも並行処理数の値及び前記処理制御件数の値のいずれか一つの値を変動させる制御部と、
を備える情報処理装置として機能させるプログラム。
Computer
A storage unit that stores at least one of a threshold value of a state of hardware resources including a processing device and a storage device, a value of the number of parallel processes, and a value of the number of process control cases;
A state quantity acquisition unit for acquiring a state quantity of the hardware resource;
A determination unit that determines whether at least one of the acquired state quantities satisfies a predetermined condition in relation to a threshold value stored in the storage unit;
When the determination unit determines that the predetermined condition is satisfied, a control unit that varies at least one of the value of the number of parallel processes and the value of the number of process control cases,
A program that functions as an information processing apparatus.
JP2016152402A 2016-03-02 2016-08-03 Information processor Withdrawn JP2017162433A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016040227 2016-03-02
JP2016040227 2016-03-02

Publications (1)

Publication Number Publication Date
JP2017162433A true JP2017162433A (en) 2017-09-14

Family

ID=59857173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016152402A Withdrawn JP2017162433A (en) 2016-03-02 2016-08-03 Information processor

Country Status (1)

Country Link
JP (1) JP2017162433A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05173807A (en) * 1991-12-20 1993-07-13 Nec Corp Job schedule system
JP2008282138A (en) * 2007-05-09 2008-11-20 Matsushita Electric Ind Co Ltd Information processor and power control method
JP2009026221A (en) * 2007-07-23 2009-02-05 Hitachi Ltd Business process operation management system, method, process operation management device, and its program
JP2009223689A (en) * 2008-03-17 2009-10-01 Internatl Business Mach Corp <Ibm> Apparatus and method for controlling number of tasks, and computer program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05173807A (en) * 1991-12-20 1993-07-13 Nec Corp Job schedule system
JP2008282138A (en) * 2007-05-09 2008-11-20 Matsushita Electric Ind Co Ltd Information processor and power control method
JP2009026221A (en) * 2007-07-23 2009-02-05 Hitachi Ltd Business process operation management system, method, process operation management device, and its program
JP2009223689A (en) * 2008-03-17 2009-10-01 Internatl Business Mach Corp <Ibm> Apparatus and method for controlling number of tasks, and computer program

Similar Documents

Publication Publication Date Title
US20150277956A1 (en) Virtual machine control method, apparatus, and medium
EP4113290A1 (en) Micro-service configuration method and apparatus, electronic device, system, and storage medium
CN111324471B (en) Service adjustment method, device, equipment and storage medium
US10642585B1 (en) Enhancing API service schemes
CN114095438B (en) Data transmission method, apparatus, device, storage medium and computer program product
CN114500339B (en) Node bandwidth monitoring method and device, electronic equipment and storage medium
CN111798167B (en) Warehouse replenishment method and device
JP6058571B2 (en) Necessary personnel number calculation device, necessary personnel number calculation method and program
CN113342517A (en) Resource request forwarding method and device, electronic equipment and readable storage medium
CN113761856A (en) Data processing method and device
US10862829B2 (en) Capacity-based scaling of queue-based services
JP2011013716A (en) Device and method for processor sizing, information processing program
US20130103456A1 (en) Method, system and program storage device for production planning
CN114143196B (en) Instance configuration updating method, device, equipment, storage medium and program product
JP2017162433A (en) Information processor
CN112667368A (en) Task data processing method and device
CN113900731B (en) Request processing method, device, equipment and storage medium
US9465715B2 (en) Optimizing the number of shared processes executing in a computer system
CN114048010A (en) Method, device, equipment and storage medium for controlling service timeout time
CN114612212A (en) Business processing method, device and system based on risk control
TWI573018B (en) Information processing device and information processing method
WO2021124083A1 (en) Optimization constraint adaptation for long-term target achievement
CN114138397B (en) Page display method and device, electronic equipment and storage medium
JP2015132926A (en) Estimation device, estimation system, estimation method, and program
CN114546852B (en) Performance test method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170815

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20170911