JP2019128716A - Information processing device, data distributing system, and program - Google Patents
Information processing device, data distributing system, and program Download PDFInfo
- Publication number
- JP2019128716A JP2019128716A JP2018008958A JP2018008958A JP2019128716A JP 2019128716 A JP2019128716 A JP 2019128716A JP 2018008958 A JP2018008958 A JP 2018008958A JP 2018008958 A JP2018008958 A JP 2018008958A JP 2019128716 A JP2019128716 A JP 2019128716A
- Authority
- JP
- Japan
- Prior art keywords
- processing
- request
- processing request
- information
- execution device
- 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
Links
Images
Abstract
Description
本発明は、情報処理装置、データ配信システムおよびプログラムに関する。 The present invention relates to an information processing apparatus, a data distribution system, and a program.
特許文献1、2には、分散型ネットワークのコア内のルータにおいて、サービス品質保証を行ったうえで、例えばビデオ、音楽、ソフトウェア等のデジタルコンテンツを配信する配信サービスが開示されている。 Patent Documents 1 and 2 disclose a distribution service that distributes digital content such as video, music, and software, for example, after guaranteeing service quality at a router in the core of a distributed network.
本発明の目的は、受信した処理要求に基づいて処理を実行する処理実行装置に処理要求を送信して特定の処理を実行する際に、送信しようとする処理要求が処理実行装置において現時点で実行可能なことを確認してから送信を行うことが可能な情報処理装置、データ配信システムおよびプログラムを提供することである。 An object of the present invention is to transmit a processing request to a processing execution apparatus that executes processing based on a received processing request and to execute a specific processing, the processing request to be transmitted is currently executed in the processing execution apparatus An object is to provide an information processing apparatus, a data distribution system, and a program capable of performing transmission after confirming the possibility.
[情報処理装置]
請求項1に係る本発明は、ある特定の処理内容を実行するための第1の処理要求を、受信した処理要求に基づいて処理を実行する処理実行装置に送信しようとする際に、前記第1の処理要求よりも処理負荷が小さな第2の処理要求を前記処理実行装置に送信する第1の送信手段と、
前記処理実行装置における前記第2の処理要求に対する処理結果が正常に得られた場合に、前記第1の処理要求を前記処理実行装置に送信する第2の送信手段とを備えた情報処理装置である。
[Information processing device]
The present invention according to claim 1 is that, when a first processing request for executing a specific processing content is to be transmitted to a processing execution apparatus that executes processing based on the received processing request, First transmission means for transmitting a second processing request having a processing load smaller than that of the first processing request to the processing execution device;
An information processing apparatus comprising: second transmission means for transmitting the first processing request to the processing execution apparatus when processing results for the second processing request in the processing execution apparatus are normally obtained; is there.
請求項2に係る本発明は、前記第2の処理要求が、実行すべき処理内容が前記第1の処理要求と同じ又は類似する処理要求である請求項1記載の情報処理装置である。 The present invention according to claim 2 is the information processing apparatus according to claim 1, wherein the second processing request is a processing request whose processing content to be executed is the same as or similar to the first processing request.
請求項3に係る本発明は、前記第2の処理要求が、処理対象データが含まれない模擬的な処理要求である請求項2記載の情報処理装置である。 The present invention according to claim 3 is the information processing apparatus according to claim 2, wherein the second processing request is a simulated processing request that does not include processing target data.
請求項4に係る本発明は、前記第1の送信手段が、前記第1の処理要求の処理負荷が予め設定された値よりも大きい場合に、前記第1の処理要求を送信する前に前記第2の処理要求を送信する請求項1から3のいずれか記載の情報処理装置である。 According to a fourth aspect of the present invention, the first transmitting unit transmits the first processing request before transmitting the first processing request when a processing load of the first processing request is larger than a preset value. The information processing apparatus according to claim 1, wherein the information processing apparatus transmits a second processing request.
請求項5に係る本発明は、前記第1の送信手段が、前記第1の処理要求の処理負荷が予め設定された値よりも小さい場合、前記第1の処理要求を送信する前に前記第2の処理要求を送信せずに前記第1の処理要求を送信する請求項1から3のいずれか記載の情報処理装置である。 According to a fifth aspect of the present invention, when the first transmission unit has a processing load of the first processing request smaller than a preset value, the first transmission unit transmits the first processing request before transmitting the first processing request. The information processing apparatus according to any one of claims 1 to 3, wherein the first processing request is transmitted without transmitting the second processing request.
請求項6に係る本発明は、前記第1の送信手段が、現在時刻が予め設定された時間帯に含まれる場合に、前記第1の処理要求を送信する前に前記第2の処理要求を送信する請求項1から3のいずれか記載の情報処理装置である。 According to a sixth aspect of the present invention, when the first transmission means includes the second processing request before transmitting the first processing request when the current time is included in a preset time zone. The information processing apparatus according to claim 1, which transmits the information processing apparatus.
請求項7に係る本発明は、前記第1の送信手段が、前記第1の処理要求と処理内容が同じ又は類似する処理要求に対する処理結果が正常に得られなかった旨の情報が過去の処理結果の履歴情報に含まれる場合に、前記第1の処理要求を送信する前に前記第2の処理要求を送信する請求項1から3のいずれか記載の情報処理装置である。 According to a seventh aspect of the present invention, in the first transmission unit, information indicating that a processing result for a processing request having the same or similar processing content as the first processing request has not been normally obtained is a past process. 4. The information processing apparatus according to claim 1, wherein the second processing request is transmitted before the first processing request is transmitted when included in the history information of the result. 5.
請求項8に係る本発明は、前記第2の送信手段が、前記第2の処理要求に対する処理が正常に実行された旨の応答が予め設定された時間以内に取得できなかった場合、処理結果が正常に得られなかったと判定する請求項1から7のいずれか記載の情報処理装置である。 The present invention according to claim 8 is the processing result when the second transmission means can not acquire a response to the effect that the processing for the second processing request has been normally executed within a preset time. The information processing apparatus according to claim 1, wherein the information processing apparatus determines that the error has not been normally obtained.
請求項9に係る本発明は、前記第1の送信手段が、前記第2の処理要求に対する処理結果が得られない場合、予め設定された時間後に前記第2の処理要求を再送信する請求項1から7のいずれか記載の情報処理装置である。 The present invention according to claim 9 is characterized in that the first transmission means retransmits the second processing request after a preset time when a processing result for the second processing request is not obtained. The information processing apparatus according to any one of 1 to 7.
請求項10に係る本発明は、前記第2の送信手段が、前記第2の処理要求の送信回数が予め設定された回数を超えた場合、処理結果が正常に得られなかったと判定する請求項9記載の情報処理装置である。 According to a tenth aspect of the present invention, the second transmission means determines that the processing result has not been normally obtained when the number of transmissions of the second processing request exceeds a preset number. 9 is the information processing apparatus described in 9;
請求項11に係る本発明は、前記第1および第2の送信手段が、Pub/Sub型のデータ配信を行う通信プロトコルを介して処理実行装置に処理要求を送信する請求項1から10のいずれか記載の情報処理装置である。
The present invention according to
請求項12に係る本発明は、前記第1および第2の送信手段が、画像データ、音声データおよびテキストデータのうちのいずれかのデータを処理対象データとする処理要求を送信する請求項1から11のいずれか記載の情報処理装置である。
In the present invention according to
[データ配信システム]
請求項13に係る本発明は、受信した処理要求に基づいて処理を実行する処理実行装置と、
前記処理実行装置に対して実行可能な処理要求を配信するサーバ装置と、
ある特定の処理内容を実行するための第1の処理要求を、前記処理実行装置に送信しようとする際に、前記第1の処理要求よりも処理負荷が小さな第2の処理要求を前記処理実行装置に送信する第1の送信手段と、前記処理実行装置における前記第2の処理要求に対する処理結果が正常に得られた場合に、前記第1の処理要求を前記処理実行装置に送信する第2の送信手段とを備えた情報処理装置とを有するデータ配信システムである。
[Data distribution system]
According to a thirteenth aspect of the present invention, there is provided a process execution device that executes a process based on a received process request;
A server device for distributing an executable processing request to the processing execution device;
When a first processing request for executing a specific processing content is to be transmitted to the processing execution device, the second processing request having a processing load smaller than the first processing request is executed A first transmission unit for transmitting to the device, and a second processing for transmitting the first processing request to the processing execution device when a processing result for the second processing request in the processing execution device is obtained normally And a data distribution system having an information processing apparatus including the transmission means.
[プログラム]
請求項14に係る本発明は、ある特定の処理内容を実行するための第1の処理要求を、受信した処理要求に基づいて処理を実行する処理実行装置に送信しようとする際に、前記第1の処理要求よりも処理負荷が小さな第2の処理要求を前記処理実行装置に送信する第1の送信ステップと、
前記処理実行装置における前記第2の処理要求に対する処理結果が正常に得られた場合に、前記第1の処理要求を前記処理実行装置に送信する第2の送信ステップとをコンピュータに実行させるためのプログラムである。
[program]
According to the fourteenth aspect of the present invention, when the first processing request for executing a specific processing content is transmitted to a processing execution device that executes processing based on the received processing request, the first processing request is transmitted. A first transmission step of transmitting a second processing request having a processing load smaller than that of the first processing request to the processing execution device;
For causing a computer to execute a second transmission step of transmitting the first processing request to the processing execution device when processing results for the second processing request in the processing execution device are obtained normally. It is a program.
請求項1に係る本発明によれば、受信した処理要求に基づいて処理を実行する処理実行装置に処理要求を送信して特定の処理を実行する際に、送信しようとする処理要求が処理実行装置において現時点で実行可能なことを確認してから送信を行うことが可能な情報処理装置を提供することができる。 According to the first aspect of the present invention, when a processing request is transmitted to a processing execution apparatus that executes processing based on the received processing request and a specific processing is executed, the processing request to be transmitted is processed. It is possible to provide an information processing apparatus capable of performing transmission after confirming that the apparatus can be executed at present.
請求項2に係る本発明によれば、受信した処理要求に基づいて処理を実行する処理実行装置に処理要求を送信して特定の処理を実行する際に、送信しようとする処理要求が処理実行装置において現時点で実行可能なことを確認してから送信を行うことが可能な情報処理装置を提供することができる。 According to the second aspect of the present invention, when a processing request is transmitted to a processing execution apparatus that executes processing based on the received processing request and a specific processing is executed, the processing request to be transmitted is executed. It is possible to provide an information processing apparatus capable of performing transmission after confirming that the apparatus can be executed at present.
請求項3に係る本発明によれば、受信した処理要求に基づいて処理を実行する処理実行装置に処理要求を送信して特定の処理を実行する際に、送信しようとする処理要求が処理実行装置において現時点で実行可能なことを確認してから送信を行うことが可能な情報処理装置を提供することができる。 According to the third aspect of the present invention, when a processing request is transmitted to a processing execution apparatus that executes processing based on the received processing request and a specific processing is executed, the processing request to be transmitted is executed. It is possible to provide an information processing apparatus capable of performing transmission after confirming that the apparatus can be executed at present.
請求項4に係る本発明によれば、処理実行装置において現時点で処理の実行ができないにもかかわらず、処理負荷の大きな処理要求を処理実行装置に送信してしまうことを防ぐことが可能な情報処理装置を提供することができる。 According to the fourth aspect of the present invention, information that can prevent transmission of a processing request with a large processing load to the processing execution device even though the processing execution device can not execute processing at this point A processing device can be provided.
請求項5に係る本発明によれば、処理実行装置において現時点で処理の実行ができないにもかかわらず、処理負荷の大きな処理要求を処理実行装置に送信してしまうことを防ぐことが可能な情報処理装置を提供することができる。 According to the fifth aspect of the present invention, information that can prevent transmission of a processing request with a large processing load to the processing execution device even though the processing execution device can not execute processing at this point A processing device can be provided.
請求項6に係る本発明によれば、現在時刻が、処理要求の処理の実行が不可能な可能性がある時間帯に含まれる場合のみ、第2の処理要求を送信することが可能な情報処理装置を提供することができる。 According to the sixth aspect of the present invention, the information capable of transmitting the second processing request only when the current time is included in a time zone in which processing of the processing request may not be possible. A processing device can be provided.
請求項7に係る本発明によれば、過去の処理結果の履歴情報において処理結果が正常に得られなかったことがある第1の処理要求を送信しようとする場合のみ、第2の処理要求を送信することが可能な情報処理装置を提供することができる。 According to the seventh aspect of the present invention, the second processing request is issued only when the first processing request for which the processing result has not been normally obtained in the history information of the past processing result is to be transmitted. An information processing apparatus capable of transmitting can be provided.
請求項8に係る本発明によれば、受信した処理要求に基づいて処理を実行する処理実行装置に処理要求を送信して特定の処理を実行する際に、送信しようとする処理要求が処理実行装置において現時点で実行可能なことを確認してから送信を行うことが可能な情報処理装置を提供することができる。 According to the present invention of claim 8, when a processing request is transmitted to a processing execution device that executes processing based on the received processing request and a specific processing is executed, the processing request to be transmitted is executed. It is possible to provide an information processing apparatus capable of performing transmission after confirming that the apparatus can be executed at present.
請求項9に係る本発明によれば、受信した処理要求に基づいて処理を実行する処理実行装置に処理要求を送信して特定の処理を実行する際に、送信しようとする処理要求が処理実行装置において現時点で実行可能なことを確認してから送信を行うことが可能な情報処理装置を提供することができる。 According to the ninth aspect of the present invention, when a processing request is transmitted to a processing execution apparatus that executes processing based on the received processing request and a specific processing is executed, the processing request to be transmitted is processed. It is possible to provide an information processing apparatus capable of performing transmission after confirming that the apparatus can be executed at the present time.
請求項10に係る本発明によれば、受信した処理要求に基づいて処理を実行する処理実行装置に処理要求を送信して特定の処理を実行する際に、送信しようとする処理要求が処理実行装置において現時点で実行可能なことを確認してから送信を行うことが可能な情報処理装置を提供することができる。 According to the tenth aspect of the present invention, when a processing request is transmitted to a processing execution device that executes processing based on the received processing request and a specific processing is executed, the processing request to be transmitted is executed. It is possible to provide an information processing apparatus capable of performing transmission after confirming that the apparatus can be executed at present.
請求項11に係る本発明によれば、受信した処理要求に基づいて処理を実行する処理実行装置に対してPub/Sub型のデータ配信を行う通知プロトコルを介して、処理要求を送信して特定の処理を実行する際に、送信しようとする処理要求が処理実行装置において現時点で実行可能なことを確認してから送信を行うことが可能な情報処理装置を提供することができる。
According to the present invention as set forth in
請求項12に係る本発明によれば、受信した処理要求に基づいて処理を実行する処理実行装置に対して、画像データ、音声データおよびテキストデータのうちのいずれかのデータに対する処理要求を送信して特定の処理を実行する際に、送信しようとする処理要求が処理実行装置において現時点で実行可能なことを確認してから送信を行うことが可能な情報処理装置を提供することができる。 According to the twelfth aspect of the present invention, a processing request for any one of image data, audio data, and text data is transmitted to a processing execution device that executes processing based on the received processing request. Thus, when executing a specific process, it is possible to provide an information processing apparatus capable of performing transmission after confirming that a process request to be transmitted is currently executable in the process execution apparatus.
請求項13に係る本発明によれば、受信した処理要求に基づいて処理を実行する処理実行装置に処理要求を送信して特定の処理を実行する際に、送信しようとする処理要求が処理実行装置において現時点で実行可能なことを確認してから送信を行うことが可能なデータ配信システムを提供することができる。 According to the thirteenth aspect of the present invention, when a processing request is transmitted to a processing execution apparatus that executes processing based on the received processing request and a specific processing is executed, the processing request to be transmitted is executed. It is possible to provide a data delivery system capable of confirming that the device is currently executable before transmission.
請求項14に係る本発明によれば、受信した処理要求に基づいて処理を実行する処理実行装置に処理要求を送信して特定の処理を実行する際に、送信しようとする処理要求が処理実行装置において現時点で実行可能なことを確認してから送信を行うことが可能なプログラムを提供することができる。 According to the fourteenth aspect of the present invention, when a processing request is transmitted to a processing execution apparatus that executes processing based on the received processing request and a specific processing is executed, the processing request to be transmitted is processed. It is possible to provide a program capable of performing transmission after confirming that the apparatus can be executed at the present time.
次に、本発明の実施の形態について図面を参照して詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings.
図1は本発明の一実施形態のデータ配信システムのシステム構成を示す図である。 FIG. 1 is a diagram showing a system configuration of a data delivery system according to an embodiment of the present invention.
本発明の一実施形態のデータ配信システムは、図1に示されるように、ネットワーク30により相互に接続された複数のデータ処理サーバ10、複数のクライアント端末20、および配信サーバ40により構成される。
As shown in FIG. 1, the data delivery system according to an embodiment of the present invention includes a plurality of
複数のクライアント端末20は、それぞれ、画像データ、音声データおよびテキストデータ等に対して特定の処理の実行を要求する処理要求(リクエスト)を生成して送信する情報処理装置である。
Each of the plurality of
配信サーバ40は、クライアント端末20からの処理要求を受信して、受信した処理要求を、複数のデータ処理サーバ10のうちのその処理要求を実行可能なデータ処理サーバ10に対して配信するサーバ装置である。
The
データ処理サーバ10は、受信した処理要求に基づいて処理を実行する処理実行装置であり、それぞれ、画像データ、音声データ、テキストデータ等の各種データに対する処理を実行可能に構成されている。
The
例えば、あるデータ処理サーバ10は、画像データに対するある画像処理を実行可能に構成され、他のデータ処理サーバ10は、音声データに対して音声認識処理を実行可能に構成されている。また、データ処理サーバ10が実行可能な他の処理内容としては、テキストデータに対するキーワード抽出処理や、画像データに対する文字認識処理や、画像データから特徴的なキーフレームを抽出する処理等の様々な処理内容がある。
For example, a certain
なお、本実施形態のデータ配信システムでは、クライアント端末20、配信サーバ40、データ処理サーバ10との間では、Pub/Sub型(パブリッシュ/サブスクライブ型:出版/購読型)のデータ配信を行うMQTT(Message Queue Telemetry Transport)という通信プロトコルを介して、処理要求というメッセージを送受信している。
In the data delivery system of this embodiment, the MQTT performs Pub / Sub type (publish / subscribe type: publication / subscribe type) data delivery between the
このような本実施形態のデータ配信システムにおける処理要求(メッセージ)の送受信方法の概念図を図2に示す。 FIG. 2 shows a conceptual diagram of a method for transmitting / receiving a processing request (message) in the data distribution system of this embodiment.
図2に示されるデータ配信システムでは、Pub/Sub型メッセージングモデルの形態でクライアント端末20とデータ処理サーバ10間で処理要求の送受信が行われている。
In the data distribution system shown in FIG. 2, processing requests are transmitted and received between the
ここで、クライアント端末20は、処理要求を発行するパブリッシャー(出版者)として機能する。また、配信サーバ40は、クライアント端末20からの処理要求を、その処理要求を実行可能なデータ処理サーバ10に配信するブローカとして機能する。さらに、データ処理サーバ10は、配信サーバ40から、自装置において処理を実行可能な処理要求のみを受信するサブスクライバー(購読者)として機能する。
Here, the
なお、このようなPub/Sub型メッセージングモデルとして機能する本実施形態のデータ配信システムにおける処理要求の送受信方法の概念について図2を参照して説明する。 The concept of the processing request transmission / reception method in the data distribution system of this embodiment functioning as such a Pub / Sub type messaging model will be described with reference to FIG.
先ず、複数のデータ処理サーバ10は、それぞれ、自装置において処理を実行可能な処理要求の種類の情報をフィルタとして配信サーバ40に登録する。
First, each of the plurality of
そして、クライアント端末20が、処理内容を特定した処理要求が配信サーバ40に送信すると、配信サーバ40では、データ処理サーバ10が登録したフィルタに合致した処理要求を、そのデータ処理サーバ10に送信する。
When the
このような処理が行われることにより、クライアント端末20では、生成した処理要求をどのデータ処理サーバ10に送信すべきかを特定することなく、生成された処理要求は、その処理要求を実行可能なデータ処理サーバ10に送信されることになる。
By performing such processing, in the
また、データ処理サーバ10においてもクラインアント端末20に関する知識を必要とすることなく、自装置が実行可能な処理要求を受信することが可能となる。
Also, the
つまり、クライアント端末20とデータ処理サーバ10がお互いの情報を保持することなく、クライアント端末20において生成された生成された処理要求は、その処理要求を実行可能なデータ処理サーバ10に適切に配信されることになる。
That is, without the
なお、受信した処理要求を実行したデータ処理サーバ10では、受信した処理要求の実行が完了すると、その処理結果を、受信した処理要求を生成したクライアント端末20に応答メッセージとして返信する。なお、この応答メッセージを返信する際には、データ処理サーバ10はパブリッシャー(出版者)として機能し、クライアント端末20は、サブスクライバー(購読者)として機能する。
When the execution of the received processing request is completed, the
ここで、クライアント端末20では、データ処理サーバ10からの応答メッセージを受信して、生成した処理要求の完了を把握することになる。
Here, the
しかし、クライアント端末20から送信しようとする処理要求の処理を実行するデータ処理サーバ10が、処理負荷の大きな他の処理要求を実行中であるような場合、クライアント端末20からそのデータ処理サーバ10に処理要求を送信したとしても、処理実行待ちとなってしまう場合がある。このような場合、クライアント端末20から処理要求を送信したとしても、処理が完了した旨の応答メッセージをしばらくの間受信することができない。
However, when the
また、複数のデータ処理サーバ10の中に、送信しようとする処理要求を実行可能なデータ処理サーバ10が1台も存在しない場合、そもそも処理要求を配信サーバ40に対して送信したとしても、その処理要求が実行されることはない。
Further, when there is no
このような場合、クライアント端末20では、処理要求を送信したにもかかわらず、送信した処理要求に対する処理が意図した時間以内に完了しないと、タイムアウトとなってしまう。すると、クライン端末20では、送信した処理要求が正常に処理されていないと判定して、再度同じ処理内容の処理要求を再送信してしまう場合がある。
In such a case, although the
しかし、データ処理サーバ10が処理要求を実行可能な状態でない場合に、再度同じ処理内容の処理要求を送信したとしても、ネットワーク30等の通信回線の容量を無駄に消費するだけとなってしまう。
However, when the
そこで、本実施形態のデータ配信システムでは、後述するような処理を行うことにより、データ処理サーバ10に対して処理要求を送信して特定の処理を実行する際に、送信しようとする処理要求がデータ処理サーバ10において現時点で実行可能なことを確認してから送信を行うことにより、上述したような無駄の発生を防ぐようにしている。
Therefore, in the data distribution system according to the present embodiment, the processing request to be transmitted is sent to the
次に、本実施形態のデータ配信システムにおけるクライアント端末20のハードウェア構成を図3に示す。
Next, the hardware configuration of the
クライアント端末20は、図3に示されるように、CPU11、メモリ12、ハードディスクドライブ(HDD)等の記憶装置13、ネットワーク30を介して外部の装置等との間でデータの送信及び受信を行う通信インタフェース(IF)14、タッチパネル又は液晶ディスプレイ並びにキーボードを含むユーザインタフェース(UI)装置15を有する。これらの構成要素は、制御バス16を介して互いに接続されている。
As shown in FIG. 3, the
CPU11は、メモリ12または記憶装置13に格納された制御プログラムに基づいて所定の処理を実行して、クライアント端末20の動作を制御する。なお、本実施形態では、CPU11は、メモリ12または記憶装置13内に格納された制御プログラムを読み出して実行するものとして説明するが、当該プログラムをCD−ROM等の記憶媒体に格納してCPU11に提供することも可能である。
The
図4は、上記の制御プログラムが実行されることにより実現されるクライアント端末20の機能構成を示すブロック図である。
FIG. 4 is a block diagram showing a functional configuration of the
本実施形態のクライアント端末20は、図4に示されるように、処理要求送信部31と、制御部32と、表示部33と、データ格納部34と、操作入力部35とを備えている。
As shown in FIG. 4, the
処理要求送信部31は、クライアント端末20において生成された処理要求を、上述したようなPub/Sub型のデータ配信を行う通信プロトコルを介して、処理実行装置であるデータ処理サーバ10に処理要求を送信する。例えば、処理要求送信部31は、画像データ、音声データおよびテキストデータのうちのいずれかのデータを処理対象データとする処理要求を送信する。
The processing
表示部33は、制御部32により制御され、ユーザに各種情報を表示する。操作入力部35は、ユーザにより行われた各種操作情報を入力する。
The
制御部32は、操作入力部35から入力された各種操作情報に基づいて、処理要求を送信する処理や、送信した処理要求に対する処理結果を表示部33に表示する等の各種制御を行っている。データ格納部34は、生成された処理要求を一時的に格納したり、各種データを格納する。
Based on various operation information input from the
処理要求送信部31は、ある特定の処理内容を実行するための処理要求(第1の処理要求)をデータ処理サーバ10に送信しようとする際に、この処理要求よりも処理負荷が小さなダミー処理要求(第2の処理要求)をデータ処理サーバ10に送信する。そして、処理要求送信部31は、データ処理サーバ10におけるダミー処理要求に対する処理結果が正常に得られた場合に、送信しようとしていた処理要求をデータ処理サーバ10に送信する。
When the process
ここで、ダミー処理要求とは、実行すべき処理内容が送信しようとする処理要求と同じ又は類似する処理要求である。例えば、ダミー処理要求とは、処理対象データが含まれない模擬的な処理要求である。つまり、ダミー処理要求とは、実際に送信しようとする処理要求を現時点においてデータ処理サーバ10のいずれかにおいて処理可能であるか否かを確認するための確認用の処理要求である。
Here, the dummy process request is a process request that is the same as or similar to the process request to be transmitted. For example, the dummy processing request is a simulated processing request that does not include processing target data. That is, the dummy processing request is a confirmation processing request for confirming whether or not the processing request to be actually transmitted can be processed at any one of the
例えば、実際に送信しようとする処理要求が、ある画像データと、その画像データに対する圧縮処理であった場合、ダミー処理要求は、処理対象の画像データが全く含まれずに処理内容が圧縮処理である処理要求や、処理対象の画像データをデータ量の小さい仮の画像データとする処理要求等を用いることができる。 For example, when the processing request to be actually transmitted is a certain image data and the compression processing for the image data, the dummy processing request does not include the processing target image data at all, and the processing content is the compression processing. For example, a processing request or a processing request for processing image data to be processed as temporary image data with a small data amount can be used.
なお、処理要求送信部31は、全ての処理要求を送信する前にダミー処理要求を常に送信するのではなく、ある条件に合致する処理要求を送信しようとする場合にのみダミー処理要求を事前に送信するようにしても良い。
The processing
例えば、処理要求送信部31は、実際に送信しようとする処理要求の処理負荷が予め設定された値よりも大きい場合に、その処理要求を送信する前にダミー処理要求を送信する。つまり、処理要求送信部31は、実際に送信しようとする処理要求の処理負荷が予め設定された値よりも小さい場合、その処理要求を送信する前にダミー処理要求を送信せずに、実際に送信しようとしていた処理要求をそのまま送信する。
For example, when the processing load of a processing request to be actually transmitted is larger than a preset value, the processing
また、処理要求送信部31は、現在時刻が予め設定された時間帯に含まれる場合に、実際に送信しようとする処理要求を送信する前にダミー処理要求を送信するようにしても良い。このようにする理由は、例えば、特定の時間帯はネットワーク30等の通信回線が混雑するような場合、処理要求送信部31は、その時間帯に処理要求を送信しようとする場合のみ、事前にダミー処理要求を送信して、通信回線の混雑により処理要求のデータ処理サーバ10への送信が問題無く行われることを確認する。
In addition, when the current time is included in a preset time zone, the processing
また、処理要求送信部31は、実際に送信しようとする処理要求と処理内容が同じ又は類似する処理要求に対する処理結果が正常に得られなかった旨の情報が過去の処理結果の履歴情報に含まれる場合に、その処理要求を送信する前にダミー処理要求を送信するようにしても良い。
In addition, the processing
具体的には、過去送信した処理要求の処理結果の履歴情報をデータ格納部34に格納しておき、制御部32は、処理要求送信部31を介して処理要求を送信しようとする場合、その処理要求と処理内容が同じ又は類似する処理要求の処理結果を、履歴情報を参照することにより取得する。そして、制御部32は、取得した履歴情報を参照して、送信しようとする処理要求と同じ又は類似する処理要求が過去においてエラーとなっていた場合には、その処理要求の送信前にダミー処理要求を送信して、送信しようとする処理要求をデータ処理サーバ10が処理可能であるか否かの事前確認を行う。
Specifically, when the history information of the processing result of the processing request transmitted in the past is stored in the
なお、送信した処理要求に対する処理結果が正常に得られたか否かを判定する方法としては様々な方法が存在する。 There are various methods for determining whether or not the processing result for the transmitted processing request has been normally obtained.
例えば、処理要求送信部31は、ダミー処理要求に対する処理が正常に実行された旨の応答が予め設定された時間以内に取得できなかった場合、処理結果が正常に得られなかったと判定する。
For example, when a response to the effect that the processing for the dummy processing request has been successfully executed can not be acquired within a preset time, the processing
また、処理要求送信部31は、ダミー処理要求に対する処理結果が得られない場合、予め設定された時間後にダミー処理要求を再送信し、ダミー処理要求の送信回数が予め設定された回数を超えた場合、処理結果が正常に得られなかったと判定するようにしても良い。
In addition, when the processing result for the dummy processing request is not obtained, the processing
次に、本実施形態のデータ配信システムにおけるクライアント端末20の動作について詳細に説明する。
Next, the operation of the
図5は、クライアント端末20の動作を説明するためのフローチャートである。なお、図5のフローチャートでは、送信しようとする処理要求の処理負荷が所定の値よりも大きい場合にのみ、ダミー処理要求を送信する場合について説明する。
FIG. 5 is a flowchart for explaining the operation of the
先ず、制御部32は、データ処理サーバ10に送信しようとする処理要求の処理負荷が所定の値よりも大きいか否かを判定する(ステップS101)。
ここで、送信しようとする処理要求の処理負荷が所定の値よりも大きくない場合(ステップS101においてno)、処理要求送信部31は、送信しようとしていた処理要求をそのまま配信サーバ40に送信する(ステップS107)。
First, the
Here, when the processing load of the processing request to be transmitted is not larger than the predetermined value (No in step S101), the processing
そして、送信しようとする処理要求の処理負荷が所定の値よりも大きい場合(ステップS101においてyes)、処理要求送信部31は、その処理要求よりも処理負荷の軽いダミー処理要求を配信サーバ40に送信する(ステップS102)。
Then, when the processing load of the processing request to be transmitted is larger than the predetermined value (yes in step S101), the processing
そして、制御部32は、送信したダミー処理要求に対する処理結果をデータ処理サーバ10から受信すると(ステップS103)、受信した処理結果が期待した処理結果であるか否かを判定する(ステップS104)。
Then, when the processing result for the transmitted dummy processing request is received from the data processing server 10 (step S103), the
ここで、期待した処理結果が得られたか否かとは、例えば、ダミー処理要求を送信してから予め設定された時間以内に、予定していた処理結果が得られたか否か等により判定される。 Here, whether or not the expected processing result is obtained is determined based on, for example, whether or not the scheduled processing result is obtained within a preset time after transmitting the dummy processing request. .
そして、受信した処理結果が期待した処理結果でない場合(ステップS104においてno)、処理要求送信部31は、送信回数が所定回数以上となるまでダミー処理要求の送信を繰り返す(ステップS105)。そして、ダミー処理要求の送信回数が所定回数以上となった場合(ステップS105においてyes)、制御部32は、表示部33等を介してユーザにエラー報告を行う(ステップS106)。
Then, when the received processing result is not the expected processing result (No in step S104), the processing
なお、ここで所定回数は複数回とする必要はなく、所定回数を1回することにより、一度でもダミー処理要求に対する処理結果が期待した処理結果でない場合には、エラー報告が行われる。 Here, the predetermined number of times does not have to be a plurality of times, and by making the predetermined number of times once, an error report is performed if the processing result for the dummy processing request is not the expected processing result even once.
また、受信した処理結果が期待した処理結果である場合(ステップS104においてyes)、処理要求送信部31は、最初に送信しようとしていた処理要求を配信サーバ40に送信する(ステップS107)。
If the received processing result is the expected processing result (yes in step S104), the processing
そして、制御部32は、送信した処理要求に対する処理結果を受信して(ステップS108)、受信した処理結果が期待した処理結果であった場合(ステップS109においてyes)、その処理結果を表示部33に表示する等によりユーザに報告する(ステップS110)。
Then, the
なお、受信した処理結果が期待した処理結果でなかった場合(ステップS109においてno、制御部32は、その処理結果を表示部33に表示する等によりユーザにエラー報告を行う(ステップS106)。
When the received processing result is not the expected processing result (No in step S109, the
10 データ処理サーバ
11 CPU
12 メモリ
13 記憶装置
14 通信インタフェース(IF)
15 ユーザインタフェース(UI)装置
16 制御バス
20 クライアント端末
30 ネットワーク
31 処理要求送信部
32 制御部
33 表示部
34 データ格納部
35 操作入力部
40 配信サーバ
10
12
DESCRIPTION OF
Claims (14)
前記処理実行装置における前記第2の処理要求に対する処理結果が正常に得られた場合に、前記第1の処理要求を前記処理実行装置に送信する第2の送信手段と、
を備えた情報処理装置。 When trying to transmit a first process request for executing a specific process content to a process execution device that executes a process based on the received process request, the process load is higher than that of the first process request. First transmission means for transmitting a small second processing request to the process execution device;
Second transmitting means for transmitting the first processing request to the processing execution device when the processing result for the second processing request in the processing execution device is normally obtained;
An information processing apparatus comprising:
前記処理実行装置に対して実行可能な処理要求を配信するサーバ装置と、
ある特定の処理内容を実行するための第1の処理要求を、前記処理実行装置に送信しようとする際に、前記第1の処理要求よりも処理負荷が小さな第2の処理要求を前記処理実行装置に送信する第1の送信手段と、前記処理実行装置における前記第2の処理要求に対する処理結果が正常に得られた場合に、前記第1の処理要求を前記処理実行装置に送信する第2の送信手段とを備えた情報処理装置と、
を有するデータ配信システム。 A processing execution device that executes processing based on the received processing request;
A server device for distributing an executable processing request to the processing execution device;
When a first processing request for executing a specific processing content is to be transmitted to the processing execution device, the second processing request having a processing load smaller than the first processing request is executed A first transmission unit for transmitting to the device, and a second processing for transmitting the first processing request to the processing execution device when a processing result for the second processing request in the processing execution device is obtained normally An information processing apparatus comprising:
A data distribution system.
前記処理実行装置における前記第2の処理要求に対する処理結果が正常に得られた場合に、前記第1の処理要求を前記処理実行装置に送信する第2の送信ステップと、
をコンピュータに実行させるためのプログラム。 When trying to transmit a first process request for executing a specific process content to a process execution device that executes a process based on the received process request, the process load is higher than that of the first process request. A first transmission step of transmitting a small second processing request to the processing execution device;
A second transmission step of transmitting the first processing request to the processing execution device when the processing result for the second processing request in the processing execution device is obtained normally;
A program that causes a computer to execute.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018008958A JP2019128716A (en) | 2018-01-23 | 2018-01-23 | Information processing device, data distributing system, and program |
US16/243,418 US20190230190A1 (en) | 2018-01-23 | 2019-01-09 | Information processing apparatus, data distribution system and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018008958A JP2019128716A (en) | 2018-01-23 | 2018-01-23 | Information processing device, data distributing system, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019128716A true JP2019128716A (en) | 2019-08-01 |
Family
ID=67472214
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018008958A Pending JP2019128716A (en) | 2018-01-23 | 2018-01-23 | Information processing device, data distributing system, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2019128716A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005339287A (en) * | 2004-05-27 | 2005-12-08 | Fujitsu Ltd | Program execution system, central apparatus, program execution method and computer program |
US20150362619A1 (en) * | 2011-10-11 | 2015-12-17 | Saudi Arabian Oil Company | High performance and grid computing with fault tolerant data distributors quality of service |
-
2018
- 2018-01-23 JP JP2018008958A patent/JP2019128716A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005339287A (en) * | 2004-05-27 | 2005-12-08 | Fujitsu Ltd | Program execution system, central apparatus, program execution method and computer program |
US20150362619A1 (en) * | 2011-10-11 | 2015-12-17 | Saudi Arabian Oil Company | High performance and grid computing with fault tolerant data distributors quality of service |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11290555B2 (en) | Push notification delivery system | |
CN109474688B (en) | Method, device, equipment and medium for sending instant communication network request message | |
WO2019237586A1 (en) | Method and apparatus for managing scheduled tasks, computer device and storage medium | |
CN110851253B (en) | Remote operation and maintenance method, system, storage medium and electronic equipment | |
CN109729040B (en) | Method, apparatus and computer readable medium for selection of a protocol | |
CN110781373B (en) | List updating method and device, readable medium and electronic equipment | |
CN113220435A (en) | Task processing method and related product | |
US20230362122A1 (en) | Watermark-based message queue | |
US20090156162A1 (en) | Communication system, communication terminal, server, communication method to be used therein and program therefor | |
JP2005521945A (en) | Optimal server in common work queue environment | |
CN112965673A (en) | Content printing method, device, equipment and storage medium | |
CN110083768B (en) | Information sharing method, device, equipment and medium | |
JP2006243985A (en) | Message notification system and method, and server used therefor | |
US9679262B2 (en) | Image index routing | |
US10944631B1 (en) | Network request and file transfer prioritization based on traffic elasticity | |
CN115022106B (en) | Group information processing method, device, equipment and medium | |
JP2019128716A (en) | Information processing device, data distributing system, and program | |
CN113553206B (en) | Data event execution method and device, electronic equipment and computer readable medium | |
CN113079085B (en) | Business service interaction method, business service interaction device, business service interaction equipment and storage medium | |
CN105978853B (en) | Session scheduling method, scheduling server and terminal | |
CN110324370B (en) | Method and device for pushing data to client by server | |
JP2019128746A (en) | Information processing device, and system and program for distributing data | |
US20190230190A1 (en) | Information processing apparatus, data distribution system and computer readable medium | |
CN113766437B (en) | Short message sending method and device | |
CN114900489B (en) | Message processing method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20201102 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20201218 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20211018 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20211102 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20220419 |