JP2006338264A - Task assignment device and task assignment method - Google Patents

Task assignment device and task assignment method Download PDF

Info

Publication number
JP2006338264A
JP2006338264A JP2005161366A JP2005161366A JP2006338264A JP 2006338264 A JP2006338264 A JP 2006338264A JP 2005161366 A JP2005161366 A JP 2005161366A JP 2005161366 A JP2005161366 A JP 2005161366A JP 2006338264 A JP2006338264 A JP 2006338264A
Authority
JP
Japan
Prior art keywords
task
information processing
amount
calculation
time
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.)
Pending
Application number
JP2005161366A
Other languages
Japanese (ja)
Inventor
Kazuaki Minami
見並  一明
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.)
Toyota Motor Corp
Toyota InfoTechnology Center Co Ltd
Original Assignee
Toyota Motor Corp
Toyota InfoTechnology Center Co Ltd
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 Toyota Motor Corp, Toyota InfoTechnology Center Co Ltd filed Critical Toyota Motor Corp
Priority to JP2005161366A priority Critical patent/JP2006338264A/en
Publication of JP2006338264A publication Critical patent/JP2006338264A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology for assigning a task by considering time to be spent until a processing result is acquired, in a distributed processing system. <P>SOLUTION: In the distributed processing system in which a plurality of information processors are connected through a communication network, a task assignment device for assigning a task to the information processor is provided with: a computing resource storage means for storing the computing power, communication overhead time and data transfer speed of the plurality of information processors; a task information acquisition part for acquiring a computing amount necessary for execution of a requested task and a transfer data amount generated when the task is assigned to the information processor; and a task assignment destination deciding means for deciding the information processor to which the task should be assigned based on information about an information processor stored in the computing resource storage means, and the computing amount for the task and the data transfer amount acquired by the task information acquisition means. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、通信ネットワークで接続された分散処理システムにおいてタスクを割当てる技術に関する。   The present invention relates to a technique for assigning tasks in a distributed processing system connected by a communication network.

複数のコンピュータがネットワークによって接続された分散処理システムでは、実行する処理を複数の部分(タスク)に分割し、これらのコンピュータが並列的に処理している。この際、各コンピュータにタスクを適切に振り分けることで、演算資源を効率的に利用することができ、したがって、システム全体の負荷分散および処理速度の高速化が可能となる。これは、特許文献1に記載のように、各コンピュータの負荷状況を把握し、最も負荷の低いコンピュータに対してタスクを実行させることによって実現されている。
特開平11−3323号公報 特開2003−298599号公報
In a distributed processing system in which a plurality of computers are connected by a network, a process to be executed is divided into a plurality of parts (tasks), and these computers perform processing in parallel. At this time, by appropriately assigning the tasks to the respective computers, it is possible to efficiently use the computing resources, and therefore, it is possible to distribute the load of the entire system and increase the processing speed. As described in Patent Document 1, this is realized by grasping the load status of each computer and causing a computer having the lowest load to execute a task.
Japanese Patent Laid-Open No. 11-3323 JP 2003-298599 A

しかしながら、上記のような従来技術の場合、各コンピュータの負荷状況(CPU処理能力、空きメモリ容量等)のみを基準にタスクの割当先を決定しているため、実際に最も早く処理が完了するコンピュータにタスクが割当てられない場合があるという問題点があった。   However, in the case of the prior art as described above, since the task assignment destination is determined based only on the load status (CPU processing capacity, free memory capacity, etc.) of each computer, the computer that completes the process most quickly. There was a problem that tasks could not be assigned to.

すなわち、各コンピュータはネットワークを介して接続されており、タスクを実行するには必要に応じてこのネットワークを通じてデータやプログラム等を転送する必要がある。したがって、例えば、大量のデータを通信しなければならないときに、プロセッサの処理速度は速いがデータ転送速度の遅い通信路に接続されているコンピュータにタスクを割当てると、処理結果を取得するまでに時間がかかってしまうという問題があった。   That is, each computer is connected via a network, and in order to execute a task, it is necessary to transfer data, a program, etc. through this network as needed. Therefore, for example, when a large amount of data has to be communicated, if a task is assigned to a computer connected to a communication path having a high processor processing speed but a low data transfer speed, it takes time to obtain a processing result. There was a problem that it took.

このように、従来の技術では、割当先のコンピュータでの処理時間が短くなるようにタスクが割当てられており、割当から処理結果を取得できるまでの時間は考慮されていなかった。   As described above, in the conventional technique, tasks are allocated so that the processing time in the allocation destination computer is shortened, and the time until the processing result can be acquired from the allocation is not considered.

これは特に、分散処理システムを、処理時間保証に対する要求が厳しいリアルタイム用途に使用する場合に問題となる。   This is particularly a problem when the distributed processing system is used for real-time applications where the demand for processing time guarantee is severe.

本発明は上記実情に鑑みてなされたものであって、その目的とするところは、分散処理システムにおいて、処理結果を取得するまでの時間を考慮してタスクを割当てる技術を提供することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a technique for assigning tasks in consideration of the time until a processing result is acquired in a distributed processing system.

上記目的を達成するために本発明は、以下のような構成をとる。   In order to achieve the above object, the present invention has the following configuration.

本発明に係るタスク割当装置は、複数の情報処理装置が通信ネットワークで接続された分散処理システムにおいて、実行を依頼されたタスクを情報処理装置に割当てるタスク割当装置である。タスク割当装置は、タスクの実行依頼を受け付け、このタスクを実行すべき情報処理装置を決定しタスクを割当てる。タスク割当装置は、タスクを割当てた情報処理装置に対しタスクを転送し、情報処理装置からの処理結果を受け取る。そして処理結果を得た後に依頼元に対して処理結果を送信する。   A task assignment device according to the present invention is a task assignment device that assigns a task requested to be executed to an information processing device in a distributed processing system in which a plurality of information processing devices are connected via a communication network. The task assignment device receives a task execution request, determines an information processing device to execute the task, and assigns the task. The task assignment device transfers the task to the information processing device to which the task is assigned, and receives a processing result from the information processing device. Then, after obtaining the processing result, the processing result is transmitted to the request source.

本発明にかかるタスク割当装置は、演算資源記憶手段とタスク情報取得手段とタスク割当先決定手段とを有する。   The task allocation device according to the present invention includes a computing resource storage unit, a task information acquisition unit, and a task allocation destination determination unit.

演算資源記憶手段は、システム内の複数の情報処理装置(演算資源)の演算能力、通信オーバヘッド時間およびデータ転送速度を記憶する。   The computing resource storage means stores computing capacity, communication overhead time, and data transfer rate of a plurality of information processing devices (computing resources) in the system.

情報処理装置の演算能力は、例えば、CPU(中央演算処理装置)が単位時間当たりに行える計算量をあらわす情報や、CPUの使用率や、使用可能メモリ容量や、その他演算処理に影響のある情報や、これらの組み合わせを使用することができる。また、CPUが単位時間当たりに行える計算量としては、MIPS(Million Instructions Per Second)などの数値や、CPUの種類やその動作周波数などを用いることができる。   The computing power of the information processing device is, for example, information indicating the amount of calculation that can be performed by the CPU (central processing unit) per unit time, the CPU usage rate, the usable memory capacity, and other information that affects computation processing. Or a combination of these can be used. Further, as a calculation amount that can be performed by the CPU per unit time, a numerical value such as MIPS (Million Instructions Per Second), a type of CPU, an operating frequency thereof, and the like can be used.

通信オーバヘッド時間は、通信を開始する命令を実行してから実際に通信が開始されるまでにかかる時間であり、送信しようとする転送データ量に無関係の時間である。   The communication overhead time is the time taken from the execution of a command to start communication to the actual start of communication, and is irrelevant to the amount of transfer data to be transmitted.

データ転送速度は、単位時間当たりに転送することのできるデータ量である。   The data transfer rate is the amount of data that can be transferred per unit time.

タスク情報取得手段は、依頼されたタスクの実行に必要な演算量およびタスクを情報処理装置に割当てたときに発生する転送データ量を取得する。タスクの実行に必要な演算量とは、タスクが割当てられた情報処理装置で行われる演算量である。タスクを情報処理装置に割当てたときに発生する転送データ量とは、タスクを情報処理装置に割当てたときにその情報処理装置に送信するデータやプログラムのデータ量である。また、タスクの実行完了後に情報処理装置からタスク割当装置に送信される処理結果のデータ量を含むものであっても良い。   The task information acquisition means acquires a calculation amount necessary for executing the requested task and a transfer data amount generated when the task is assigned to the information processing apparatus. The amount of computation required for executing a task is the amount of computation performed by the information processing apparatus to which the task is assigned. The amount of transfer data generated when a task is assigned to an information processing device is the amount of data or program data transmitted to the information processing device when a task is assigned to the information processing device. Further, it may include a data amount of a processing result transmitted from the information processing apparatus to the task assignment apparatus after completion of the task execution.

タスクの演算量および転送データ量は、タスク割当装置にタスクの実行が依頼されるときに同時に通知されても良いし、タスク自身の中に記録されていても良い。   The task calculation amount and the transfer data amount may be notified at the same time when the task allocation device is requested to execute the task, or may be recorded in the task itself.

タスク割当先決定手段は、タスクの実行を依頼されたときに、演算資源記憶手段に記憶された情報処理装置に関する情報と、タスク情報取得手段によって取得されたタスクの演算量および転送データ量とに基づいて、タスクを割当てる情報処理装置を決定する。この際、最も早く処理結果が得られる情報処理装置にタスクを割当てても良いし、タスクの実行完了までの制限時間(デッドライン)が決められている場合には時間内に処理を終了することのできる情報処理装置のうちの適当なものにタスクを割当てても良い。   The task allocation destination determining means, when requested to execute the task, includes information related to the information processing device stored in the computing resource storage means, and the task computation amount and transfer data amount obtained by the task information obtaining means. Based on this, an information processing apparatus to which a task is assigned is determined. At this time, the task may be assigned to the information processing apparatus that can obtain the processing result earliest, and if the time limit (deadline) until the task execution is completed is determined, the processing should be completed within the time. A task may be assigned to an appropriate information processing apparatus capable of processing.

このように、本発明に係るタスク割当装置は、各情報処理装置について演算能力と、通信オーバヘッド時間およびデータ転送速度の通信に関わる情報とを記憶し、これらとタスクの演算量および転送データ量とに基づいてタスクを割当てる情報処理装置を決定するため、単に演算に要する時間だけではなく通信時間をも含むタスクの割当から処理結果取得までの時間を考慮して、タスクの割当先を決定することが可能となる。   As described above, the task assignment device according to the present invention stores the calculation capability and information related to communication of the communication overhead time and the data transfer rate for each information processing device, and the task calculation amount and the transfer data amount. In order to determine the information processing device to which tasks are allocated based on the task, the task allocation destination is determined in consideration of the time from task allocation including not only the time required for computation but also communication time to acquisition of processing results. Is possible.

また、通信処理にかかる時間を、転送データ量に拘らず各情報処理装置ごとに一定である通信オーバヘッド時間と、実際のデータ転送にかかる時間(転送データ量とデータ転送速度)に分けて見積もることができるため、より正確な評価をすることが可能である。   Estimate the time required for communication processing by dividing it into communication overhead time that is constant for each information processing device regardless of the amount of transfer data and time required for actual data transfer (transfer data amount and data transfer speed). Therefore, it is possible to make a more accurate evaluation.

また、本発明におけるタスク割当先決定手段は、演算資源記憶手段に記憶されている情報処理装置の演算能力、通信オーバヘッド時間およびデータ転送速度と、タスクの演算量および転送データ量とを変数とする評価関数によって各情報処理装置のタスク処理能力を
評価し、このタスク処理能力に基づいてタスクを割当てる情報処理装置を決定しても良い。
Further, the task assignment destination determining means in the present invention uses the computing capacity, communication overhead time and data transfer speed of the information processing apparatus stored in the computing resource storage means, and the task computation amount and the transfer data amount as variables. The task processing capability of each information processing device may be evaluated using an evaluation function, and an information processing device to which a task is assigned may be determined based on the task processing capability.

タスク処理能力とは、情報処理装置の演算処理に関する能力だけでなく、情報処理装置との間での通信処理に関する能力も含めた処理能力のことであり、タスクを割当ててから処理結果を得るまでの間の全ての処理を如何に早く行えるかを表すものである。   Task processing capability is processing capability that includes not only the processing capability of the information processing device but also the capability of communication processing with the information processing device. From task assignment to obtaining processing results It expresses how quickly all the processes during the period can be performed.

このように評価関数を用いることにより、タスクの割当先を決定することが容易となる。   By using the evaluation function in this way, it becomes easy to determine the task assignment destination.

また、本発明におけるタスク割当先決定手段は、演算能力および演算量から演算時間を推定し、通信オーバヘッド時間、データ転送速度および転送データ量から通信時間を推定し、演算時間と通信時間の和をタスク処理能力とする評価関数を用いることも好ましい。   The task assignment destination determining means in the present invention estimates the calculation time from the calculation capability and the calculation amount, estimates the communication time from the communication overhead time, the data transfer rate and the transfer data amount, and calculates the sum of the calculation time and the communication time. It is also preferable to use an evaluation function for task processing capability.

演算能力と演算量から演算時間を推定することができる。また、転送データ量とデータ転送速度からデータの転送に要する時間を推定でき、これに通信オーバヘッド時間を加えることで通信時間を推定することができる。   The calculation time can be estimated from the calculation capability and the calculation amount. Further, the time required for data transfer can be estimated from the transfer data amount and the data transfer rate, and the communication time can be estimated by adding the communication overhead time.

そしてこれらの和を情報処理装置の有するタスク処理能力とする評価関数を用いる。すなわち、上記和が小さいほどタスク処理能力が高いということになる。   An evaluation function that uses the sum of these as the task processing capability of the information processing apparatus is used. That is, the task processing capability is higher as the sum is smaller.

このようにタスクを割当ててから処理結果を得るまでの時間を予測してタスクを割当てる情報処理装置を決定するため、最も早く処理が完了する情報処理装置にタスクを割当てることが可能となる。   As described above, since the information processing device to which the task is assigned is determined by predicting the time from the task assignment to the processing result being obtained, the task can be assigned to the information processing device that completes the processing earliest.

また、本発明におけるタスク割当先決定手段は、タスク情報取得手段が取得したタスクの演算量と転送データ量のうちどちらがタスクの処理結果を得るまでの時間に与える影響が大きいか判断する。つまり、依頼されたタスクが、演算量が多く演算に要する時間が長いのか、転送データ量が多く通信に要する時間が長いのかを判断する。そして、演算量が与える影響度が大きいと判断したときは、演算能力の重み付けを大きくした評価関数を用い、転送データ量が与える影響度が大きいと判断したときは、通信オーバヘッド時間およびデータ転送速度の重み付けを大きくした評価関数を用いることが好ましい。   In addition, the task assignment destination determination unit according to the present invention determines which of the task calculation amount and the transfer data amount acquired by the task information acquisition unit has a greater influence on the time until the task processing result is obtained. That is, it is determined whether the requested task has a large calculation amount and a long time required for calculation, or a large amount of transfer data and a long time required for communication. When it is determined that the degree of influence of the calculation amount is large, an evaluation function with a large calculation capacity weight is used. When it is determined that the amount of influence of the transfer data amount is large, the communication overhead time and the data transfer rate are determined. It is preferable to use an evaluation function in which the weighting is increased.

ここで、上記の判断は、例えば、転送データ量が所定の閾値以上であるか否かで判断することができる。つまり、転送データ量が閾値以上であれば、転送データ量が与える影響度が大きいと判断し、転送データ量が閾値未満であれば、演算量が与える影響度が大きいと判断する。   Here, the above determination can be made based on, for example, whether or not the transfer data amount is equal to or greater than a predetermined threshold. That is, if the transfer data amount is equal to or greater than the threshold value, it is determined that the influence level of the transfer data amount is large. If the transfer data amount is less than the threshold value, it is determined that the influence amount of the calculation amount is large.

この判断の結果、転送データ量の影響度が大きいと判断された場合には、通信オーバヘッド時間およびデータ転送速度に大きく重み付けし、演算能力に小さく重み付けして割当先を決定しても良く、データ転送速度のみに基づいて(つまり、演算能力の重み付けが0として)割当先の情報処理装置を決定しても良い。演算量の影響度が大きいと判断された場合には、演算能力に大きく重み付けし、通信オーバヘッド時間およびデータ転送速度に小さく重み付けして割当先を決定しても良く、演算能力のみに基づいて(つまり、データ転送速度の重み付けが0として)割当先の情報処理装置を決定しても良い。   As a result of this determination, when it is determined that the degree of influence of the transfer data amount is large, the allocation overhead may be determined by weighting the communication overhead time and the data transfer speed with a large weight and the calculation capacity with a small weight. The information processing apparatus to be assigned may be determined based only on the transfer speed (that is, the calculation capacity is weighted to 0). When it is determined that the degree of influence of the calculation amount is large, the calculation capacity may be heavily weighted, and the allocation destination may be determined by weighting the communication overhead time and the data transfer speed smallly. In other words, the information processing apparatus to which the data is assigned may be determined (with the data transfer rate weighted to 0).

このように、演算量の多いタスクか通信量の多いタスクかを判別し、異なる評価関数を用いることで、タスクの種類に応じた割当先を容易に決定することが可能となる。   In this way, it is possible to easily determine the assignment destination according to the type of task by determining whether the task has a large amount of computation or a task having a large amount of communication and uses a different evaluation function.

本発明は、移動端末である情報処理装置が無線通信ネットワークによって接続された分
散処理システムに対して適用された場合に有効性がより発揮される。無線通信では、電波状況により通信オーバヘッド時間やデータ転送速度が変わるため、これらの情報をタスクの割当先の決定に用いる重要性が増すからである。
The present invention is more effective when applied to a distributed processing system in which an information processing apparatus that is a mobile terminal is connected by a wireless communication network. This is because in wireless communication, the communication overhead time and data transfer speed vary depending on the radio wave condition, so that the importance of using these pieces of information for determining task assignment destinations increases.

また、本発明に係るタスク割当装置は、情報処理装置通信する際の通信オーバヘッド時間およびデータ転送速度を定期的に測定する演算資源監視手段を有することも好ましい。そして、演算資源監視手段は、演算資源記憶手段に記憶されている通信オーバヘッド時間およびデータ転送速度を更新する。   In addition, the task assignment device according to the present invention preferably includes a computing resource monitoring unit that periodically measures a communication overhead time and a data transfer rate when communicating with the information processing device. The computing resource monitoring unit updates the communication overhead time and the data transfer rate stored in the computing resource storage unit.

通信オーバヘッド時間およびデータ転送速度の測定は、実際にデータを送信して測定しても良く、電波強度やエラー率を測定することにより推定しても良い。   The measurement of the communication overhead time and the data transfer rate may be performed by actually transmitting data, or may be estimated by measuring the radio wave intensity or the error rate.

このように、通信オーバヘッド時間およびデータ転送速度を測定することにより、電波状況の変化に応じた通信オーバヘッド時間およびデータ転送速度の変化を適切に把握することが可能となる。したがって、タスクの割当先決定においてより正確な判断が可能となる。   As described above, by measuring the communication overhead time and the data transfer rate, it is possible to appropriately grasp the change in the communication overhead time and the data transfer rate according to the change in the radio wave condition. Therefore, a more accurate determination can be made in determining the task assignment destination.

また、タスクの優先度を考慮してタスクの割当先を決定することも好ましい。タスクの優先度は次のように割当先決定の際に考慮される。本発明におけるタスクには、それぞれ優先度が付されており、演算資源記憶手段は、情報処理装置にすでに割当てられているタスクの優先度を記憶する。そして、タスク割当先決定手段は、依頼されたタスクの優先度と、情報処理装置にすでに割当てられているタスクの優先度とを考慮して、依頼されたタスクを割当てる情報処理装置を決定する。   It is also preferable to determine the task assignment destination in consideration of the task priority. The priority of the task is considered when determining the assignment destination as follows. Each task in the present invention is given a priority, and the computing resource storage means stores the priority of the task already assigned to the information processing apparatus. Then, the task assignment destination determination means determines the information processing apparatus to which the requested task is assigned in consideration of the priority of the requested task and the priority of the task already assigned to the information processing apparatus.

このように優先度を用いることで、重要なタスクを早く処理する優先制御が可能となる。この際、依頼されたタスクより低い優先度のタスクが割当てられている情報処理装置もしくはタスクが割当てられていない情報処理装置にタスクを割当てることで、タスクを割当てた情報処理装置においてタスクがすぐに処理されることが保証される。   By using the priority in this way, priority control for quickly processing important tasks becomes possible. At this time, by assigning a task to an information processing device to which a task having a lower priority than the requested task is assigned or to an information processing device to which no task is assigned, the task is immediately executed in the information processing device to which the task is assigned. Guaranteed to be processed.

本発明に係るタスク割当方法は、複数の情報処理装置が通信ネットワークで接続された分散処理システムにおいて、タスクを情報処理装置に割当てるタスク割当方法である。本発明に係るタスク割当方法は、複数の情報処理装置の演算能力、通信オーバヘッド時間およびデータ転送速度を記憶する演算資源記憶手段を有するタスク割当装置が、依頼されたタスクの実行に必要な演算量およびタスクを情報処理装置に割当てたときに発生する転送データ量を取得するステップと、前記演算資源記憶手段に記憶された情報処理装置に関する情報と、前記取得するステップによって取得されたタスクの演算量および転送データ量とに基づいて、タスクを割当てる情報処理装置を決定するステップとを含む。   The task assignment method according to the present invention is a task assignment method for assigning a task to an information processing device in a distributed processing system in which a plurality of information processing devices are connected via a communication network. The task allocation method according to the present invention includes a calculation resource required for execution of a requested task by a task allocation device having calculation resource storage means for storing the calculation capability, communication overhead time, and data transfer rate of a plurality of information processing devices. And a step of acquiring a transfer data amount generated when the task is assigned to the information processing device, information on the information processing device stored in the calculation resource storage means, and a calculation amount of the task acquired by the acquiring step And determining an information processing apparatus to which a task is assigned based on the transfer data amount.

本発明によれば、分散処理システムにおいて処理結果を取得するまでの時間を考慮してタスクを割当てることが可能となる。   According to the present invention, it is possible to assign tasks in consideration of the time until a processing result is acquired in a distributed processing system.

以下に図面を参照して、この発明の好適な実施の形態を例示的に詳しく説明する。   Exemplary embodiments of the present invention will be described in detail below with reference to the drawings.

ここでは、具体例として、路車間通信を使用して車両に搭載した車載端末から、基地局側に設置されたタスク割当装置にタスクを依頼する例を挙げる。   Here, as a specific example, an example in which a task is requested from a vehicle-mounted terminal mounted on a vehicle using road-to-vehicle communication to a task allocation device installed on the base station side will be described.

<システム構成>
図1は本実施形態のシステム構成を示す図である。路側に設置された基地局1にはLA
Nを介してタスク割当装置2、依頼されたタスクを実行するサーバD,Eが接続されている。基地局1の通信可能エリア内に車両A,B,Cが存在し、各車両には車載端末3a,3b,3cがそれぞれ搭載されている。各車両の車載端末は、タスクの実行を基地局1を介してタスク割当装置2に依頼する。また、車載端末3a,3b,3cも、タスク割当装置2からタスクを割当てられ、そのタスクを実行する。
<System configuration>
FIG. 1 is a diagram showing a system configuration of the present embodiment. The base station 1 installed on the roadside has LA
Via N, the task assignment device 2 and servers D and E for executing the requested task are connected. Vehicles A, B, and C exist within the communicable area of the base station 1, and vehicle-mounted terminals 3a, 3b, and 3c are mounted on the vehicles, respectively. The in-vehicle terminal of each vehicle requests the task assignment device 2 to execute the task via the base station 1. The in-vehicle terminals 3a, 3b, and 3c are also assigned tasks from the task assignment device 2 and execute the tasks.

図2は、タスク割当装置2の構成を示す概要図である。タスク割当装置2は、演算資源監視部11、演算資源記憶部14、タスク管理部15、タスク情報取得部16およびタスク割当先決定部17を含む。   FIG. 2 is a schematic diagram showing the configuration of the task assignment device 2. The task assignment device 2 includes a computation resource monitoring unit 11, a computation resource storage unit 14, a task management unit 15, a task information acquisition unit 16, and a task assignment destination determination unit 17.

演算資源監視部11は、システム内の演算資源(ここでは車載端末3a,3b,3cおよびサーバD,E)についての情報を監視する。演算資源監視部11が監視する情報は、各演算資源の演算能力に関する情報およびタスク割当装置2と演算資源との間の通信に関わる情報である。これらの情報は、各演算資源が定期的に演算資源監視部11に通知する構成をとっても良く、演算資源監視部11側から各演算資源に対して問い合わせを行う構成をとっても良い。   The computing resource monitoring unit 11 monitors information about computing resources in the system (in this case, the in-vehicle terminals 3a, 3b, 3c and the servers D, E). The information monitored by the computing resource monitoring unit 11 is information related to the computing capability of each computing resource and information related to communication between the task allocation device 2 and the computing resource. These pieces of information may take a configuration in which each computing resource periodically notifies the computing resource monitoring unit 11 or may make a configuration in which an inquiry is made to each computing resource from the computing resource monitoring unit 11 side.

演算資源監視部11が取得した情報は、演算資源記憶部14に記憶される。図3は、演算資源記憶部14が有する各演算資源の情報を記憶したテーブルを示す図である。   Information acquired by the computing resource monitoring unit 11 is stored in the computing resource storage unit 14. FIG. 3 is a diagram showing a table storing information of each computing resource that the computing resource storage unit 14 has.

本実施形態において、演算資源の演算能力は、CPU能力21とCPUにかかる負荷(CPU空き率22)とによって管理される。CPU能力21は、各演算資源の有するCPUが単位時間当たりに行える演算の量に比例する点数(スコア)によって管理される。このCPU能力21はCPUに負荷がかからない状態での演算能力であるため、このCPU能力21とCPU空き率22とから、タスク割当時における各演算装置の実質的な演算能力を求めることができる。   In the present embodiment, the computing capacity of the computing resource is managed by the CPU ability 21 and the load on the CPU (CPU availability 22). The CPU capability 21 is managed by a score (score) that is proportional to the amount of calculation that the CPU of each calculation resource can perform per unit time. Since the CPU capability 21 is a calculation capability in a state where no load is applied to the CPU, the substantial calculation capability of each arithmetic device at the time of task allocation can be obtained from the CPU capability 21 and the CPU vacancy rate 22.

通信オーバヘッド時間23は、タスク割当装置2と演算資源との間で通信を行う際に、送信命令を指示してから実際に通信が開始されるまでに要する時間である。通信オーバヘッド時間23は、送信するデータ量に影響を受けない値である。通信オーバヘッド時間23は、例えば、送信元の端末が送信を指示した時刻と、受信先の端末が受信処理を開始した時刻との差分として求めることができる。   The communication overhead time 23 is a time required from when a transmission command is instructed to when communication is actually started when communication is performed between the task assignment device 2 and the computing resource. The communication overhead time 23 is a value that is not affected by the amount of data to be transmitted. The communication overhead time 23 can be obtained, for example, as a difference between the time when the transmission source terminal instructs transmission and the time when the reception destination terminal starts reception processing.

データ転送速度24は、タスク割当装置2と演算資源との間で通信を行う際に単位時間当たりに送信することのできるデータ量である。データ転送速度24は、例えば、過去に送信した単位時間当たりのデータ量から求めたり、定期的に一定長のデータを送信して、このデータを送信するのに要する時間を測定することによって求めたり、空き時間にある程度まとまった容量のデータを送信して、このデータを送信するのに要する時間を測定することによって求めることができる。   The data transfer rate 24 is the amount of data that can be transmitted per unit time when communication is performed between the task assignment device 2 and the computing resource. For example, the data transfer rate 24 is obtained from the amount of data per unit time transmitted in the past, or is obtained by periodically transmitting data of a certain length and measuring the time required to transmit this data. It can be obtained by transmitting a certain amount of data in the idle time and measuring the time required to transmit this data.

優先度25は、演算資源に現在割当てられているタスクの優先度であり、ここでは数字が小さいほど優先度の高いタスクである。タスクが割当てられていない演算装置には、優先度についての情報は記憶されない。   The priority 25 is the priority of the task currently assigned to the computing resource. Here, the smaller the number, the higher the priority. Information about priority is not stored in a computing device to which no task is assigned.

タスク管理部15は、依頼元からのタスクの実行依頼の受付、タスクの受信、演算資源へのタスクの転送、演算資源からのタスクの処理結果の受け取り、依頼元への処理結果の送信を行う。   The task management unit 15 receives a task execution request from the request source, receives the task, transfers the task to the computation resource, receives the task processing result from the computation resource, and transmits the processing result to the request source. .

タスク情報取得部16は、依頼されたタスクの実行に必要な演算量、および演算資源との間で発生する転送データ量を取得する。演算量と、演算資源記憶部14が記憶している
演算資源の演算能力とから、演算に要する時間を見積もることが可能である。
The task information acquisition unit 16 acquires a calculation amount necessary for executing the requested task and a transfer data amount generated between the calculation resources. The time required for calculation can be estimated from the calculation amount and the calculation capability of the calculation resource stored in the calculation resource storage unit 14.

演算資源との間で発生する転送データ量は、タスクを転送する際に発生する通信量と、処理結果を受け取る際に発生する通信量の合計である。転送データ量と、演算資源記憶部12が記憶している演算資源との間の転送速度とから通信に要する時間を見積もることが可能である。   The amount of transfer data generated between the computing resources is the total of the communication amount generated when transferring a task and the communication amount generated when receiving a processing result. It is possible to estimate the time required for communication from the transfer data amount and the transfer speed between the calculation resources stored in the calculation resource storage unit 12.

タスク割当先決定部17は、演算資源記憶部14に記憶された情報およびタスク情報取得部16が取得したタスクに関する情報に基づいて、タスク管理部15が依頼を受け付けたタスクの割当先を決定する。割当先決定の処理については後述する。   The task assignment destination determination unit 17 determines the assignment destination of the task for which the task management unit 15 has accepted the request, based on the information stored in the computing resource storage unit 14 and the information on the task acquired by the task information acquisition unit 16. . The allocation destination determination process will be described later.

<タスク>
本実施形態で実行が依頼されるタスクとしては、例えば経路探索処理などがある。経路探索処理は、一般道優先や所要時間優先の複数にタスクに分けたり、中間地点を指定して区間ごとに経路探索を行うタスクに分けたりすることができる。タスクの分割は、車載端末(ナビゲーションシステム)側で行っても良いし、タスク割当装置2内のタスク管理部15で行っても良い。本実施形態においては、車載端末側でタスクを分割して、それぞれのタスクについてタスク割当装置2に対して実行を依頼するものとする。
<Task>
Examples of tasks requested to be executed in the present embodiment include a route search process. The route search processing can be divided into a plurality of tasks of general road priority and required time priority, or can be divided into tasks for performing route search for each section by designating an intermediate point. The division of tasks may be performed on the in-vehicle terminal (navigation system) side, or may be performed by the task management unit 15 in the task assignment device 2. In this embodiment, it is assumed that tasks are divided on the in-vehicle terminal side and the task allocation device 2 is requested to execute each task.

<処理フロー>
タスク割当装置2にタスクの実行が依頼されてからタスクが演算資源に割当てるまでの処理の流れを図4のフローチャートを用いて説明する。
<Processing flow>
The flow of processing from when a task is requested to be executed by the task assignment device 2 until the task is assigned to a computing resource will be described with reference to the flowchart of FIG.

まずステップS101で、タスク管理部15がタスクの依頼を受け付ける。次にステップS102で、タスク情報取得部16が、依頼されたタスクの演算量および転送データ量とを取得する。   First, in step S101, the task management unit 15 receives a task request. In step S102, the task information acquisition unit 16 acquires the requested task calculation amount and transfer data amount.

ステップS103で、タスク割当先決定部17が演算資源記憶部14に記憶された各演算資源に関する情報とタスク情報取得部16が取得した演算量および転送データ量とに基づいて、タスクを割当てる演算資源を決定する。   In step S103, the task assignment destination determination unit 17 assigns a task based on the information on each computation resource stored in the computation resource storage unit 14, and the computation amount and transfer data amount obtained by the task information acquisition unit 16. To decide.

ステップS104で、タスク管理部15が割当先の演算資源に対してタスクを転送する。   In step S104, the task management unit 15 transfers the task to the calculation resource to which the task is assigned.

<割当先決定処理>
ステップS103でタスク割当先決定部17が行う、タスクの割当先の決定処理について説明する。
<Assignee determination process>
A task assignment destination determination process performed by the task assignment destination determination unit 17 in step S103 will be described.

本実施形態においては、演算資源記憶部14に記憶された演算資源の演算能力、通信オーバヘッド時間およびデータ転送速度と、タスク情報取得部16が取得したタスクの演算量および転送データ量とを変数とする評価関数を用いて、各演算資源のタスク処理能力を評価する。本実施形態における評価関数では、タスクを演算資源に割当ててから処理結果が得られるまでの時間を演算資源のタスク処理能力とする。   In the present embodiment, the computing capacity, communication overhead time, and data transfer rate of the computing resource stored in the computing resource storage unit 14, and the task computation amount and transfer data amount acquired by the task information acquisition unit 16 are used as variables. The task processing capability of each computing resource is evaluated using the evaluation function to be performed. In the evaluation function in this embodiment, the time from when a task is assigned to a computing resource until a processing result is obtained is defined as the task processing capability of the computing resource.

本実施形態では、以下の評価関数によって、演算資源のタスク処理能力を評価する。
(タスク処理能力)=(演算量)/(演算能力)+(通信オーバヘッド時間)+(転送データ量)/(データ転送速度)
In the present embodiment, the task processing capability of the computing resource is evaluated using the following evaluation function.
(Task processing capacity) = (computation amount) / (computation capacity) + (communication overhead time) + (transfer data amount) / (data transfer speed)

図5は上記の評価関数を概念的に説明する図である。まず、タスクの演算量と演算資源の演算能力とから演算に要する時間を見積もることが可能である。本実施形態においては
、演算資源の演算能力を、CPUの処理能力とCPUの負荷(空きCPU率)とで把握しているため、タスク割当時点での各演算資源の演算能力として、CPUの処理能力に空きCPU率を乗じたものを使用する。また、CPUの処理能力はスコアによって把握されており、所定のスコアを有するCPUの処理できる演算量はあらかじめ分かるので、タスクの実行に要する演算量からタスクの演算に要する時間を見積もることが可能である。
FIG. 5 conceptually illustrates the above evaluation function. First, it is possible to estimate the time required for calculation from the calculation amount of the task and the calculation capability of the calculation resource. In this embodiment, since the computing power of computing resources is grasped by the CPU processing capacity and the CPU load (free CPU ratio), the CPU processing is calculated as the computing capacity of each computing resource at the time of task allocation. Use capacity multiplied by free CPU rate. In addition, the processing capacity of the CPU is grasped by the score, and the amount of computation that can be processed by the CPU having a predetermined score is known in advance, so it is possible to estimate the time required for task computation from the amount of computation required for task execution. is there.

また、転送データ量と転送速度に基づいて、データの転送に要する時間を見積もる。この転送時間と、通信を行う際に発生する通信オーバヘッド時間とを加えることで、通信時間を見積もる。   Further, the time required for data transfer is estimated based on the transfer data amount and the transfer speed. The communication time is estimated by adding the transfer time and the communication overhead time generated when performing communication.

このように算出した演算時間と通信時間とを加えることで、タスクの転送から結果取得までに要する処理時間を求めることが可能である。本実施形態における評価関数ではこの処理時間を、各演算資源のタスク処理能力とし、処理時間の小さいものほどタスク処理能力が大きいものとする。   By adding the calculation time and communication time calculated in this way, it is possible to obtain the processing time required from task transfer to result acquisition. In the evaluation function according to the present embodiment, this processing time is the task processing capability of each computing resource, and the task processing capability is greater as the processing time is shorter.

また、演算資源記憶部14は、各演算資源に割当てられているタスクの優先度を記憶しており、依頼されたタスクの優先度以上の優先度が割当てられている演算資源にはタスクの割当を行わない。タスクを割当ててもすぐには実行されないからである。   The computing resource storage unit 14 stores the priority of the task assigned to each computing resource, and task assignment is assigned to a computing resource to which a priority higher than the priority of the requested task is assigned. Do not do. This is because even if a task is assigned, it is not executed immediately.

タスク割当先決定部17は、依頼されたタスクの優先度未満のタスクが割当てられている演算資源もしくはタスクが割当てられていない演算資源のうち、上記で算出したタスク処理能力が最も大きい演算資源にタスクを割当てるよう決定する。ただし、必ずしもタスク処理能力が最大の演算資源にタスクを割当てる必要はなく、タスクの処理完了までの制限時間(デッドライン)が決められている場合には、この制限時間以内に処理を完了できる演算資源であればいずれの演算資源にタスクを割当てても良い。   The task assignment destination determination unit 17 selects the computation resource having the largest task processing capacity calculated above from among the computation resources to which a task having a priority lower than the requested task is assigned or to which the task is not assigned. Decide to assign tasks. However, it is not always necessary to assign a task to a computing resource with the maximum task processing capacity. If a time limit (deadline) until task processing is completed is determined, processing that can complete processing within this time limit A task may be assigned to any computing resource as long as it is a resource.

このように本実施形態におけるタスク割当装置2は、タスクを割当てる演算資源(情報処理装置)を決定する際に、演算に要する時間と通信に要する時間とを総合した時間に基づいて割当先を決定するため、タスクを割当ててから処理結果を得られるまでの時間が最短となる演算資源にタスクを割当てることが可能となる。   As described above, the task assignment device 2 according to the present embodiment determines the assignment destination based on the total time of the time required for calculation and the time required for communication when determining the calculation resource (information processing device) to which the task is assigned. Therefore, it is possible to assign a task to a computing resource that takes the shortest time from assigning a task to obtaining a processing result.

また、通信時間の算出において、転送データ量に依らない通信オーバヘッド時間と、転送データ量に比例するデータ転送速度とに分けて算出するので、より正確な通信時間を算出することができる。例えば、転送データ量が少ない場合には通信オーバヘッド時間が相対的に重要になり、転送データ量が多い場合にはデータ転送速度が相対的に重要になる。   Further, since the communication time is calculated separately for the communication overhead time that does not depend on the transfer data amount and the data transfer rate that is proportional to the transfer data amount, a more accurate communication time can be calculated. For example, when the amount of transferred data is small, the communication overhead time is relatively important, and when the amount of transferred data is large, the data transfer rate is relatively important.

また、本実施形態における分散処理システムは無線通信を用いた移動端末(車載端末)により構成されているため、端末の移動に伴い電波状況が常時変化する。演算資源監視部11が、通信オーバヘッド時間やデータ転送速度を監視するため、通信状況に応じた割当が可能となる。   In addition, since the distributed processing system according to the present embodiment is configured by a mobile terminal (on-vehicle terminal) using wireless communication, the radio wave condition constantly changes as the terminal moves. Since the computing resource monitoring unit 11 monitors the communication overhead time and the data transfer rate, the allocation according to the communication status becomes possible.

<変形例>
(割当先決定処理の変形例)
本実施形態におけるタスク割当先決定部17は、上記のような割当先決定方法のほかに、依頼されたタスクが演算量の多いタスクか通信量の多いタスクかを判断して、異なる評価関数を使用する方法を用いても良い。
<Modification>
(Modification of assignment destination determination process)
In addition to the assignment destination determination method as described above, the task assignment destination determination unit 17 in this embodiment determines whether the requested task is a task with a large amount of computation or a task with a large amount of communication, and determines a different evaluation function. The method used may be used.

すなわち、評価関数として以下の関数を用い、重み付けパラメータであるpおよびqをタスクの種類に応じて異なる値を使用する。
(タスク処理能力)=pC(演算量,演算能力)+qT(転送データ量,通信オーバヘッ
ド時間,データ転送速度)
ここで、Cは演算量と演算能力から演算に関する能力(演算時間)を評価する関数、Tは転送データ量、通信オーバヘッド時間およびデータ転送速度から通信に関する能力(通信時間)を評価する関数であり、pおよびqは重み付けパラメータである。
That is, the following functions are used as evaluation functions, and different values are used for the weighting parameters p and q depending on the type of task.
(Task processing capacity) = pC (computation amount, computation ability) + qT (transfer data amount, communication overhead time, data transfer rate)
Here, C is a function for evaluating the capability (calculation time) related to calculation from the calculation amount and calculation capability, and T is a function for evaluating the capability (communication time) related to communication from the transfer data amount, communication overhead time, and data transfer speed. , P and q are weighting parameters.

タスクの特性の解析は、例えば、通信量が所定の閾値以上であるか否かを判断し、所定の閾値以上であれば通信量の多いタスクとみなし、閾値未満であれば演算量の多いタスクとみなすことができる。   Task characteristic analysis is performed, for example, by determining whether or not the communication amount is equal to or greater than a predetermined threshold value. Can be considered.

そして、演算量の多いタスクの場合には、CPUの処理能力とCPU空き率の重み付けを大きくし、転送速度と通信オーバヘッド時間の重み付けを小さくする評価関数を用いる。通信量の多いタスクの場合には、転送速度と通信オーバヘッド時間の重み付けを大きくし、CPUの処理能力とCPU空き率の重み付けを小さくする評価関数を用いる。   In the case of a task with a large amount of computation, an evaluation function is used that increases the weighting of the CPU processing capacity and the CPU vacancy rate and decreases the weighting of the transfer speed and the communication overhead time. In the case of a task with a large amount of communication, an evaluation function is used that increases the weighting of the transfer speed and the communication overhead time and decreases the weighting of the CPU processing capacity and the CPU idle rate.

また、演算量の多いタスクの場合には、転送速度等への重み付けをなくし、CPUの処理能力とCPU空き率とを乗じた値をタスク処理能力とする評価関数を用いても良い。通信量の多いタスクの場合には、CPU処理能力等への重み付けをなくし、転送速度と通信オーバヘッド時間に基づいた値をタスク処理能力とする評価関数を用いても良い。   In the case of a task with a large amount of calculation, an evaluation function may be used in which the weighting of the transfer rate is eliminated and the task processing capability is a value obtained by multiplying the CPU processing capability and the CPU vacancy rate. In the case of a task with a large amount of communication, an evaluation function may be used in which the CPU processing capacity is not weighted and the task processing capacity is a value based on the transfer speed and communication overhead time.

このような処理により割当先を決定することで、簡単な処理によってタスクの特性に応じた評価を行うことができる。   By determining the assignment destination by such processing, it is possible to perform evaluation according to the characteristics of the task by simple processing.

(演算資源の監視方法の変形例)
本実施形態においては、演算能力としてCPUの処理能力および負荷のみを用いたが、例えば、演算資源の使用可能メモリ量とタスク実行に要するメモリ量とを取得し、これらの情報も加味して割当先を決定しても良い。また、その他のリソースを考慮して割当先を決定しても良い。
(Variation of monitoring method for computing resources)
In this embodiment, only the processing power and load of the CPU are used as computing power. However, for example, the available memory amount of computing resources and the memory amount required for task execution are acquired, and these information is also taken into account for allocation. The destination may be determined. Further, the allocation destination may be determined in consideration of other resources.

また、本実施形態においては、通信オーバヘッド時間やデータ転送速度は、演算資源監視部11が実測によって測定しているが、各演算装置が有するOSや使用機器毎にあらかじめ定められた値を用いても良い。これは、通信状況が安定しているときには、測定を省くことができるため効率的になるという利点がある。   In the present embodiment, the communication resource monitoring unit 11 measures the communication overhead time and the data transfer rate by actual measurement. However, the communication overhead time and the data transfer rate are determined using predetermined values for each OS and each device used. Also good. This has the advantage of being efficient because the measurement can be omitted when the communication situation is stable.

(システム構成の変形例)
本実施形態において基地局1は1つであり、車両A,B,Cは基地局1の通信可能エリア内に存在したが、図6に示すように複数の基地局1a,1b,1cが存在しそれらがネットワークを介して存在するようなシステム構成であっても構わない。
(Modification of system configuration)
In this embodiment, there is one base station 1 and the vehicles A, B, and C exist within the communicable area of the base station 1, but a plurality of base stations 1a, 1b, and 1c exist as shown in FIG. However, the system configuration may be such that they exist via a network.

このように複数の基地局がそれぞれネットワークで接続されることで、基地局の通信可能エリアを実質的に拡げたことになり、広範囲に及ぶシステムを構築することができる。   By connecting a plurality of base stations through the network in this way, the communicable area of the base station is substantially expanded, and a system covering a wide range can be constructed.

また、本実施形態においてはシステム内にタスク割当装置2が1つしか存在しなかったが、複数存在しても良い。例えば、図7に示すように基地局がなく各端末が自律的にネットワークを形成するアドホックネットワークにおいては、各端末(車両A,B,C)がそれぞれタスク割当装置2a,2b,2cを有することが好ましい。   In the present embodiment, only one task allocation device 2 exists in the system, but a plurality of task allocation devices 2 may exist. For example, as shown in FIG. 7, in an ad hoc network in which each terminal autonomously forms a network without a base station, each terminal (vehicles A, B, C) has task allocation devices 2a, 2b, 2c, respectively. Is preferred.

車両A,B,Cは車車間通信により、各車両が有する車載端末3a,3b,3cの演算能力などの情報を互いに通知する。そして、車載端末からタスクを依頼するときは、自車が有するタスク割当装置に対して依頼を行う。   Vehicles A, B, and C notify each other of information such as the computing capabilities of in-vehicle terminals 3a, 3b, and 3c possessed by each vehicle through inter-vehicle communication. And when requesting a task from the in-vehicle terminal, the request is made to the task assignment device of the own vehicle.

この際、このシステムは車車間通信のみでなく、さらに基地局との間の通信も行うことができ基地局側にタスクの演算を行えるサーバがあることも好ましい。この場合、一般的に車載端末は演算能力は低いが通信コストが低い演算資源であり、サーバは演算能力は高いが通信コストも高い演算資源といえる。したがって、このように多様な演算資源が混在する環境においては、各車両のタスク割当装置がタスクの特性に応じて適切な割当先を決定することの重要性が高まる。   At this time, it is preferable that this system not only performs inter-vehicle communication but also has a server capable of performing communication with the base station and performing task calculations on the base station side. In this case, the in-vehicle terminal is generally a computing resource with low computing capacity but low communication cost, and the server is a computing resource with high computing capacity but high communication cost. Therefore, in such an environment where various computing resources are mixed, it is important that the task assignment device of each vehicle determines an appropriate assignment destination according to the task characteristics.

本実施形態におけるシステム構成を示す概要図である。It is a schematic diagram which shows the system configuration | structure in this embodiment. 本実施形態におけるタスク割当装置の構成を示す図である。It is a figure which shows the structure of the task assignment apparatus in this embodiment. 本実施形態における演算資源についての情報を記憶したテーブルの例を示す図である。It is a figure which shows the example of the table which memorize | stored the information about the calculation resource in this embodiment. 本実施形態におけるタスクの割当先を決定する処理を示すフローチャート図である。It is a flowchart figure which shows the process which determines the allocation destination of the task in this embodiment. 本実施形態における各演算資源の処理能力の算出方法を説明する図である。It is a figure explaining the calculation method of the processing capacity of each computing resource in this embodiment. 本実施形態におけるシステム構成を示す概要図である。It is a schematic diagram which shows the system configuration | structure in this embodiment. 本実施形態におけるシステム構成を示す概要図である。It is a schematic diagram which shows the system configuration | structure in this embodiment.

符号の説明Explanation of symbols

A,B,C 車両
D,E サーバ
1 基地局
2,2a,2b,2c タスク割当装置
3a,3b,3c 車載端末
11 演算資源監視部
14 演算資源記憶部
15 タスク管理部
16 タスク情報取得部
17 タスク割当先決定部
A, B, C Vehicle D, E Server 1 Base station 2, 2a, 2b, 2c Task allocation device 3a, 3b, 3c In-vehicle terminal 11 Computing resource monitoring unit 14 Computing resource storage unit 15 Task management unit 16 Task information obtaining unit 17 Task assignment destination determination section

Claims (8)

複数の情報処理装置が通信ネットワークで接続された分散処理システムにおいて、タスクを前記情報処理装置に割当てるタスク割当装置であって、
前記複数の情報処理装置の演算能力、通信オーバヘッド時間およびデータ転送速度を記憶する演算資源記憶手段と、
依頼されたタスクの実行に必要な演算量および該タスクを前記情報処理装置に割当てたときに発生する転送データ量を取得するタスク情報取得手段と、
前記演算資源記憶手段に記憶された前記情報処理装置に関する情報と、前記タスク情報取得手段によって取得された前記タスクの演算量および転送データ量とに基づいて、前記タスクを割当てる情報処理装置を決定するタスク割当先決定手段と、
を有するタスク割当装置。
In a distributed processing system in which a plurality of information processing devices are connected via a communication network, a task assignment device that assigns a task to the information processing device,
Computing resource storage means for storing computing power, communication overhead time and data transfer rate of the plurality of information processing devices;
Task information acquisition means for acquiring the amount of calculation required for execution of the requested task and the amount of transfer data generated when the task is assigned to the information processing device;
The information processing device to which the task is assigned is determined based on the information related to the information processing device stored in the computing resource storage unit and the calculation amount and transfer data amount of the task acquired by the task information acquisition unit. A task assignment destination determination means;
A task allocation device having:
前記タスク割当先決定手段は、前記情報処理装置の前記演算能力、前記通信オーバヘッド時間および前記データ転送速度と、前記タスクの前記演算量および前記転送データ量とを変数とする評価関数によって各情報処理装置のタスク処理能力を評価し、該タスク処理能力に基づいて前記タスクを割当てる情報処理装置を決定する
ことを特徴とする請求項1に記載のタスク割当装置。
The task assignment destination determining means is configured to perform each information processing by an evaluation function using the calculation capability of the information processing apparatus, the communication overhead time and the data transfer rate, and the calculation amount and the transfer data amount of the task as variables. The task assignment device according to claim 1, wherein the task processing capability of the device is evaluated, and an information processing device to which the task is assigned is determined based on the task processing capability.
前記タスク割当先決定手段は、前記演算能力および前記演算量から演算時間を推定し、前記通信オーバヘッド時間、前記データ転送速度および前記転送データ量から通信時間を推定し、演算時間と通信時間の和を前記タスク処理能力とする評価関数を用いる
ことを特徴とする請求項2に記載のタスク割当装置。
The task allocation destination determining means estimates a calculation time from the calculation capability and the calculation amount, estimates a communication time from the communication overhead time, the data transfer rate, and the transfer data amount, and calculates a sum of the calculation time and the communication time. The task allocation apparatus according to claim 2, wherein an evaluation function having the task processing capability as an evaluation function is used.
前記タスク割当先決定手段は、タスクの前記演算量および前記転送データ量のうちどちらがタスクの処理結果を得るまでの時間に与える影響が大きいか判断し、前記演算量が与える影響度が大きいと判断したときは、前記演算能力の重み付けを大きくした評価関数を用い、前記転送データ量が与える影響度が大きいと判断したときは、前記通信オーバヘッド時間および前記データ転送速度の重み付けを大きくした評価関数を用いる
ことを特徴とする請求項2に記載のタスク割当装置。
The task allocation destination determining means determines which of the calculation amount and transfer data amount of the task has a large influence on the time until the task processing result is obtained, and determines that the influence amount of the calculation amount is large. When the evaluation function with the increased weight of the computing capacity is used, and when it is determined that the degree of influence of the transfer data amount is large, the evaluation function with the increased weight of the communication overhead time and the data transfer rate is The task assignment device according to claim 2, wherein the task assignment device is used.
前記通信ネットワークは無線通信ネットワークである
ことを特徴とする請求項1〜4のいずれかに記載のタスク割当装置。
The task assignment apparatus according to claim 1, wherein the communication network is a wireless communication network.
前記情報処理装置と通信する際の通信オーバヘッド時間およびデータ転送速度を定期的に測定し、前記演算資源記憶手段に記憶されている通信オーバヘッド時間およびデータ転送速度を更新する演算資源監視手段を有する
ことを特徴とする請求項1〜5のいずれかに記載のタスク割当装置。
Computation resource monitoring means for periodically measuring communication overhead time and data transfer speed when communicating with the information processing apparatus and updating the communication overhead time and data transfer speed stored in the computation resource storage means The task assignment device according to claim 1, wherein:
タスクには、それぞれ優先度が付されており、
前記演算資源記憶手段は、前記情報処理装置にすでに割当てられているタスクの優先度を記憶し、
前記タスク割当先決定手段は、依頼されたタスクを割当てる情報処理装置を決定する際に、依頼されたタスクの優先度と、前記情報処理装置にすでに割当てられているタスクの優先度とを考慮する
ことを特徴とする請求項1〜6のいずれかに記載のタスク割当装置。
Each task has a priority,
The computing resource storage means stores the priority of a task already assigned to the information processing apparatus,
The task assignment destination determination means considers the priority of the requested task and the priority of the task already assigned to the information processing device when determining the information processing device to which the requested task is assigned. The task assignment device according to claim 1, wherein the task assignment device is a device.
複数の情報処理装置が通信ネットワークで接続された分散処理システムにおいて、タスクを前記情報処理装置に割当てるタスク割当方法であって、
前記複数の情報処理装置の演算能力、通信オーバヘッド時間およびデータ転送速度を記
憶する演算資源記憶手段を有するタスク割当装置が、
依頼されたタスクの実行に必要な演算量および該タスクを前記情報処理装置に割当てたときに発生する転送データ量を取得するステップと、
前記演算資源記憶手段に記憶された前記情報処理装置に関する情報と、前記取得するステップにおいて取得された前記タスクの前記演算量および前記転送データ量とに基づいて、前記タスクを割当てる情報処理装置を決定するステップと、
を含むタスク割当方法。
In a distributed processing system in which a plurality of information processing devices are connected via a communication network, a task assignment method for assigning a task to the information processing device,
A task allocation device having computing resource storage means for storing computing power, communication overhead time and data transfer rate of the plurality of information processing devices,
Obtaining a calculation amount necessary for executing the requested task and a transfer data amount generated when the task is allocated to the information processing device;
The information processing device to which the task is allocated is determined based on the information regarding the information processing device stored in the computing resource storage unit and the calculation amount and the transfer data amount of the task acquired in the acquiring step. And steps to
Task assignment method including
JP2005161366A 2005-06-01 2005-06-01 Task assignment device and task assignment method Pending JP2006338264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005161366A JP2006338264A (en) 2005-06-01 2005-06-01 Task assignment device and task assignment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005161366A JP2006338264A (en) 2005-06-01 2005-06-01 Task assignment device and task assignment method

Publications (1)

Publication Number Publication Date
JP2006338264A true JP2006338264A (en) 2006-12-14

Family

ID=37558778

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005161366A Pending JP2006338264A (en) 2005-06-01 2005-06-01 Task assignment device and task assignment method

Country Status (1)

Country Link
JP (1) JP2006338264A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009217300A (en) * 2008-03-06 2009-09-24 Hitachi Ltd Load distribution control method in heterogeneous computing system
WO2011080809A1 (en) * 2009-12-29 2011-07-07 株式会社 東芝 Server
US8219997B2 (en) 2006-11-10 2012-07-10 International Business Machines Corporation Execution the job that is divided into job tasks based on the estimated completion time
CN102567118A (en) * 2011-12-22 2012-07-11 深圳市赛格导航科技股份有限公司 Distributed computing system and method based on GPS operation system
WO2012108057A1 (en) * 2011-02-10 2012-08-16 富士通株式会社 Communication device and method of communication
CN101256516B (en) * 2007-02-28 2013-05-08 Sap股份公司 Distribution of data and task instances in grid environments
JP2017111727A (en) * 2015-12-18 2017-06-22 トヨタ自動車株式会社 Calculation resource provision method and calculation resource provision system
JP2018014107A (en) * 2016-07-22 2018-01-25 タタ コンサルタンシー サービシズ リミテッドTATA Consultancy Services Limited Approximate computing for application performance in heterogeneous systems
JP2018129027A (en) * 2017-02-08 2018-08-16 エーオー カスペルスキー ラボAO Kaspersky Lab System and method for executing anti-virus scan of web page
US10095555B2 (en) 2015-07-31 2018-10-09 Honda Motor Co., Ltd. Task control system
US10437589B2 (en) 2016-05-27 2019-10-08 Honda Motor Co., Ltd. Distributed processing control system and distributed processing control method
CN111427758A (en) * 2020-03-17 2020-07-17 北京百度网讯科技有限公司 Task calculation amount determining method and device and electronic equipment
JP2020160661A (en) * 2019-03-26 2020-10-01 本田技研工業株式会社 Management server and program
CN114510002A (en) * 2020-11-17 2022-05-17 丰田自动车株式会社 Information processing device, information processing method, recording medium having information processing program recorded thereon, and information processing system
CN115344389A (en) * 2022-08-22 2022-11-15 南方电网科学研究院有限责任公司 Communication task allocation method and device among computing nodes in electromagnetic transient simulation
US11609793B2 (en) 2019-08-16 2023-03-21 Samsung Electronics Co., Ltd. Electronic apparatus determining GPUs in a network for effective data learning and method for controlling thereof
WO2023238563A1 (en) * 2022-06-09 2023-12-14 住友電気工業株式会社 Resource allocation method and device, and computer program
JP7439691B2 (en) 2020-08-05 2024-02-28 株式会社豊田中央研究所 Information processing device and program

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8219997B2 (en) 2006-11-10 2012-07-10 International Business Machines Corporation Execution the job that is divided into job tasks based on the estimated completion time
CN101256516B (en) * 2007-02-28 2013-05-08 Sap股份公司 Distribution of data and task instances in grid environments
JP2009217300A (en) * 2008-03-06 2009-09-24 Hitachi Ltd Load distribution control method in heterogeneous computing system
WO2011080809A1 (en) * 2009-12-29 2011-07-07 株式会社 東芝 Server
JPWO2011080809A1 (en) * 2009-12-29 2013-05-09 株式会社東芝 server
US9241295B2 (en) 2011-02-10 2016-01-19 Fujitsu Limited Communication apparatus and communication method
WO2012108057A1 (en) * 2011-02-10 2012-08-16 富士通株式会社 Communication device and method of communication
JPWO2012108057A1 (en) * 2011-02-10 2014-07-03 富士通株式会社 Communication device and communication method
JP5725043B2 (en) * 2011-02-10 2015-05-27 富士通株式会社 Communication device and communication method
CN102567118A (en) * 2011-12-22 2012-07-11 深圳市赛格导航科技股份有限公司 Distributed computing system and method based on GPS operation system
US10095555B2 (en) 2015-07-31 2018-10-09 Honda Motor Co., Ltd. Task control system
JP2017111727A (en) * 2015-12-18 2017-06-22 トヨタ自動車株式会社 Calculation resource provision method and calculation resource provision system
US10437589B2 (en) 2016-05-27 2019-10-08 Honda Motor Co., Ltd. Distributed processing control system and distributed processing control method
JP2018014107A (en) * 2016-07-22 2018-01-25 タタ コンサルタンシー サービシズ リミテッドTATA Consultancy Services Limited Approximate computing for application performance in heterogeneous systems
JP2018129027A (en) * 2017-02-08 2018-08-16 エーオー カスペルスキー ラボAO Kaspersky Lab System and method for executing anti-virus scan of web page
JP2020160661A (en) * 2019-03-26 2020-10-01 本田技研工業株式会社 Management server and program
JP7049288B2 (en) 2019-03-26 2022-04-06 本田技研工業株式会社 Management server and programs
US11609793B2 (en) 2019-08-16 2023-03-21 Samsung Electronics Co., Ltd. Electronic apparatus determining GPUs in a network for effective data learning and method for controlling thereof
CN111427758A (en) * 2020-03-17 2020-07-17 北京百度网讯科技有限公司 Task calculation amount determining method and device and electronic equipment
JP7439691B2 (en) 2020-08-05 2024-02-28 株式会社豊田中央研究所 Information processing device and program
CN114510002A (en) * 2020-11-17 2022-05-17 丰田自动车株式会社 Information processing device, information processing method, recording medium having information processing program recorded thereon, and information processing system
JP7371609B2 (en) 2020-11-17 2023-10-31 トヨタ自動車株式会社 Information processing device, information processing method, information processing program, and information processing system
WO2023238563A1 (en) * 2022-06-09 2023-12-14 住友電気工業株式会社 Resource allocation method and device, and computer program
CN115344389A (en) * 2022-08-22 2022-11-15 南方电网科学研究院有限责任公司 Communication task allocation method and device among computing nodes in electromagnetic transient simulation
CN115344389B (en) * 2022-08-22 2024-01-23 南方电网科学研究院有限责任公司 Communication task allocation method and device between computing nodes in electromagnetic transient simulation

Similar Documents

Publication Publication Date Title
JP2006338264A (en) Task assignment device and task assignment method
Feng et al. AVE: Autonomous vehicular edge computing framework with ACO-based scheduling
Adhikary et al. Quality of service aware reliable task scheduling in vehicular cloud computing
JP2014209311A (en) Data collection management system, data collection management method, terminal and management device
JP4611853B2 (en) Distributed processing system, in-vehicle terminal, and base station
CN113992691B (en) Method, device and equipment for distributing edge computing resources and storage medium
US20220050725A1 (en) Method for managing computing capacities in a network with mobile participants
JP6640025B2 (en) Distributed processing control system and distributed processing control method
Shekhar et al. URMILA: Dynamically trading-off fog and edge resources for performance and mobility-aware IoT services
JP2007087273A (en) Distributed processing system and onboard terminal
US20130060832A1 (en) Method and device for agile computing
KR102287566B1 (en) Method for executing an application on a distributed system architecture
Nguyen et al. Flexible computation offloading in a fuzzy-based mobile edge orchestrator for IoT applications
Gong et al. Computation offloading-based task scheduling in the vehicular communication environment for computation-intensive vehicular tasks
Al-hammadi et al. Collaborative computation offloading for scheduling emergency tasks in SDN-based mobile edge computing networks
JP2010280356A (en) Onboard system, and load distribution method
JP6690546B2 (en) Communication system, communication device, communication method, and recording medium
JP4707505B2 (en) Distributed processing system, in-vehicle terminal, and management node determination method in distributed processing system
JP2008077281A (en) Superscheduler, job request method and superscheduler program
Zhao et al. Optimizing allocation and scheduling of connected vehicle service requests in cloud/edge computing
JPWO2010110216A1 (en) Mobile terminal, server, connection control method and connection control program for mobile terminal
CN102200928A (en) Computation resource control apparatus, computation resource control method, and non-transitory computer-readable recording medium
JP5045576B2 (en) Multiprocessor system and program execution method
JP5227275B2 (en) File transfer system
Mekala et al. ASXC $^{2} $ approach: A service-X cost optimization strategy based on edge orchestration for IIoT

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070801

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090416

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090714

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20091117