JP2018124830A - Message transfer and aggregation device, and message transfer and aggregation method - Google Patents
Message transfer and aggregation device, and message transfer and aggregation method Download PDFInfo
- Publication number
- JP2018124830A JP2018124830A JP2017016996A JP2017016996A JP2018124830A JP 2018124830 A JP2018124830 A JP 2018124830A JP 2017016996 A JP2017016996 A JP 2017016996A JP 2017016996 A JP2017016996 A JP 2017016996A JP 2018124830 A JP2018124830 A JP 2018124830A
- Authority
- JP
- Japan
- Prior art keywords
- message
- application
- reply
- aggregation
- transfer
- 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.)
- Granted
Links
Images
Abstract
Description
本発明は、メッセージ転送及び集約装置、並びにメッセージ転送及び集約方法に関する。特に、本発明は、アプリケーションからのメッセージに対して、複数の端末からアプリケーションにデータを送信する形態(例えば、端末がアプリケーションに応答するシチュエーション)において、アプリケーションと端末間のメッセージを効率的に転送するための手法に関する。 The present invention relates to a message transfer and aggregation device, and a message transfer and aggregation method. In particular, the present invention efficiently transfers a message between an application and a terminal in a form in which data is transmitted from a plurality of terminals to the application in response to a message from the application (for example, a situation in which the terminal responds to the application). It is related to the technique.
インターネット上のトラヒックは、ファイル転送等の大きなデータで構成されていたが、近年は、センサデバイスから送信されたり、センサデバイスに向けて送信されたりする、極めて小さなデータが混在している。このような極小データが断続的に大量に流入すると、データ処理能力の制約により、ネットワーク全体の通信性能が低下するという問題がある。 Traffic on the Internet is composed of large data such as file transfer, but in recent years, extremely small data that is transmitted from the sensor device or transmitted toward the sensor device is mixed. When such extremely small data flows intermittently in large quantities, there is a problem that the communication performance of the entire network deteriorates due to restrictions on data processing capability.
『センサデバイスに向けて送信される』というようなケースにおいては、メッセージ転送技術が提案されている(非特許文献1参照)。図1に示すように、センサデバイスのような端末をゲートウェイ装置に複数収容し、アプリケーションが複数メッセージを一つにまとめて(中身は複数のメッセージで構成される)、ゲートウェイ装置宛に送信することにより、ゲートウェイ装置が端末へのメッセージを振り分ける。 In the case of “sent toward the sensor device”, a message transfer technique has been proposed (see Non-Patent Document 1). As shown in FIG. 1, a plurality of terminals such as sensor devices are accommodated in a gateway device, and an application collects a plurality of messages into one (the contents are composed of a plurality of messages) and transmits them to the gateway device. Thus, the gateway device distributes the message to the terminal.
また、『センサデバイスから送信される』というようなケースにおいては、メッセージ集約技術が提案されている(非特許文献2参照)。図2に示すように、この技術では、まず、ネットワークのエッジに配置されている装置に、データの待機可能時間に基づく集約期間を予め設定する。そして、その設定期間内に転送されてきた様々なデータを集約し、転送する。これにより、データ処理の負荷を軽減し、ネットワーク全体の通信性能の低下抑制を図っている。 In a case of “sent from a sensor device”, a message aggregation technique has been proposed (see Non-Patent Document 2). As shown in FIG. 2, in this technique, first, an aggregation period based on a data waiting time is set in advance in a device arranged at the edge of the network. Then, various data transferred within the set period are aggregated and transferred. As a result, the data processing load is reduced, and the reduction in communication performance of the entire network is attempted.
非特許文献1のメッセージ転送技術は、前述のとおり、それぞれの端末に異なる動作をさせる場合、個々の端末に向けたメッセージを一つのデータにまとめただけである。すなわち、ゲートウェイ装置に収容されている端末の接続構成を意識したメッセージ送信となっている。したがって、メッセージを送信したい端末の数が増加すると、メッセージの容量自体が膨大になってしまう。
As described above, in the message transfer technique of Non-Patent
より効率的にメッセージを送信するためには、端末の接続構成を意識することなく、メッセージを送信する必要がある。 In order to transmit a message more efficiently, it is necessary to transmit the message without being aware of the connection configuration of the terminal.
非特許文献2のメッセージ集約技術では、待機可能時間のみを考慮して集約しているため、集約されたデータには、様々な宛先のものが混在する。したがって、集約したままの状態で送信先まで転送することはできない。すなわち、転送の途中で、再び元通りの状態に分解する手間がかかってしまう。 In the message aggregation technique of Non-Patent Document 2, the aggregation is performed taking into consideration only the waiting time, and therefore, aggregated data includes various destinations. Therefore, it cannot be transferred to the transmission destination in a state of being aggregated. That is, in the middle of the transfer, it takes time to disassemble the original state again.
より効率的にデータを転送するには、送信先まで分解せずに転送できるようにデータを集約することが望ましい。すなわち、送信先やデータ自体の特性に応じて、データを分類して集約することにより、転送の途中で分解することを要さずに送信先まで転送できるように集約する必要がある。 In order to transfer data more efficiently, it is desirable to aggregate the data so that the data can be transferred without being disassembled. That is, according to the characteristics of the transmission destination and the data itself, it is necessary to classify and aggregate the data so that the data can be transferred to the transmission destination without being decomposed during the transfer.
本発明は、アプリケーションからのメッセージに対して、複数の端末から送信元のアプリケーションにデータを送信する形態(端末がアプリケーションに応答するシチュエーション)において、アプリケーションと端末間のメッセージ転送を効率化することを目的とする。 The present invention improves the efficiency of message transfer between an application and a terminal in a form in which data is transmitted from a plurality of terminals to a transmission source application (a situation in which the terminal responds to the application) in response to a message from the application. Objective.
本発明の一形態に係るメッセージ転送及び集約装置は、
アプリケーションから送信されるアプリケーションメッセージを受信して複数の端末に転送し、当該複数の端末から送信される返信メッセージを受信して当該アプリケーションに転送するメッセージ転送及び集約装置であって、
アプリケーションメッセージを受信するアプリケーションメッセージ受信部と、
前記アプリケーションメッセージの内容に基づいて、前記アプリケーションメッセージの送信先端末を判定するアプリケーションメッセージ宛先判定部と、
前記アプリケーションメッセージを前記送信先端末に転送するアプリケーションメッセージ転送部と、
前記送信先端末から送信される返信メッセージを受信する返信メッセージ受信部と、
前記受信した返信メッセージを集約した集約メッセージを生成する返信メッセージ集約部と、
前記集約メッセージを前記アプリケーションに転送する集約メッセージ転送部と、
を有する。
A message transfer and aggregation device according to an aspect of the present invention is provided.
A message transfer and aggregation device that receives an application message transmitted from an application and transfers it to a plurality of terminals, receives a reply message transmitted from the plurality of terminals, and transfers the message to the application,
An application message receiver for receiving application messages;
An application message destination determination unit that determines a destination terminal of the application message based on the content of the application message;
An application message transfer unit that transfers the application message to the destination terminal;
A reply message receiver for receiving a reply message transmitted from the destination terminal;
A reply message aggregating unit that generates an aggregate message in which the received reply messages are aggregated;
An aggregate message transfer unit for transferring the aggregate message to the application;
Have
また、本発明の一形態に係るメッセージ転送及び集約方法は、
アプリケーションから送信されるアプリケーションメッセージを受信して複数の端末に転送し、当該複数の端末から送信される返信メッセージを受信して当該アプリケーションに転送するメッセージ転送及び集約装置におけるメッセージ転送及び集約方法であって、
アプリケーションメッセージを受信するステップと、
前記アプリケーションメッセージの内容に基づいて、前記アプリケーションメッセージの送信先端末を判定するステップと、
前記アプリケーションメッセージを前記送信先端末に転送するステップと、
前記送信先端末から送信される返信メッセージを受信するステップと、
前記受信した返信メッセージを集約した集約メッセージを生成するステップと、
前記集約メッセージを前記アプリケーションに転送するステップと、
を有する。
The message transfer and aggregation method according to an aspect of the present invention includes:
This is a message transfer and aggregation method in a message transfer and aggregation device that receives an application message transmitted from an application and transfers it to a plurality of terminals, receives a reply message transmitted from the plurality of terminals and transfers it to the application. And
Receiving an application message;
Determining a destination terminal of the application message based on the content of the application message;
Transferring the application message to the destination terminal;
Receiving a reply message transmitted from the destination terminal;
Generating an aggregate message that aggregates the received reply messages;
Forwarding the aggregate message to the application;
Have
本発明によれば、アプリケーションからのメッセージに対して、複数の端末から送信元のアプリケーションにデータを送信する形態(端末がアプリケーションに応答するシチュエーション)において、アプリケーションと端末間のメッセージ転送を効率化することが可能になる。 According to the present invention, in a mode in which data is transmitted from a plurality of terminals to a transmission source application in response to a message from an application (a situation in which the terminal responds to the application), message transfer between the application and the terminal is made efficient It becomes possible.
以下、図面を参照して本発明の実施例について説明する。 Embodiments of the present invention will be described below with reference to the drawings.
<通信システムの全体構成>
図3に、本発明の実施例に係る通信システムの全体構成を示す。本発明の実施例に係る通信システムは、メッセージ転送・集約装置100と、アプリケーション200と、複数の端末300とを有する。メッセージ転送・集約装置100、アプリケーション200及び複数の端末300は、通信ネットワークによりそれぞれ接続されている。
<Overall configuration of communication system>
FIG. 3 shows the overall configuration of a communication system according to an embodiment of the present invention. The communication system according to the embodiment of the present invention includes a message transfer /
アプリケーション200は、端末300に対してメッセージを送信したり、端末300からのメッセージを受信したりするアプリケーションである。一般的には、アプリケーション200は、コンピュータ等にインストールされ、アプリケーション200のサービスは、サービス事業者によって提供される。アプリケーション200は、通信ネットワークを介して端末と通信を行う。
The
通信ネットワークは、メッセージ転送・集約装置100とアプリケーション200と端末300とを接続するネットワークであり、例えば、TCP/IP(Transmission Control Protocol/Internet Protocol)のプロトコルスタックをサポートするネットワークである。
The communication network is a network that connects the message transfer /
メッセージ転送・集約装置100は、アプリケーション200から送信されるメッセージ(以下、アプリケーションメッセージとする)を受信して複数の端末300に転送し、複数の端末300から返信されるメッセージ(以下、返信メッセージとする)を受信してアプリケーション200に転送する装置である。メッセージ転送・集約装置100は、返信メッセージを集約して端末300に転送することができる(以下では、集約した返信メッセージを、集約メッセージとする)。詳細については後述する。
The message transfer /
端末300は、アプリケーション200からメッセージを受信したり、アプリケーション200にメッセージを送信したりする端末である。端末300は、通信ネットワークを介してアプリケーション200と通信を行う。
The terminal 300 is a terminal that receives a message from the
図4に、本発明の実施例に係る通信システムにおけるメッセージ転送・集約の概要を示す。図4において、説明の便宜上、処理フローの各ステップに番号を振り分け、ステップの順に処理フローを説明するが、特に矛盾がない限り、並行処理を行うことも可能である。 FIG. 4 shows an outline of message transfer / aggregation in the communication system according to the embodiment of the present invention. In FIG. 4, for convenience of explanation, numbers are assigned to each step of the processing flow, and the processing flow is described in the order of steps. However, parallel processing can be performed as long as there is no particular contradiction.
アプリケーション200は、端末構成を意識する必要なく、アプリケーションメッセージをメッセージ転送・集約装置100に送信する(S110)。メッセージ転送・集約装置100は、アプリケーションメッセージの内容に基づいて、そのアプリケーションメッセージの送信先端末300を判定し、送信先端末の一覧を作成する(S120)。メッセージ転送・集約装置100は、それぞれの端末300にアプリケーションメッセージを転送する(S130)。端末300が返信メッセージを送信すると(S140)、メッセージ転送・集約装置100は、返信メッセージをバッファリングする。メッセージ転送・集約装置100は、返信メッセージを受信した端末300と、送信先端末の一覧とを照合し、全端末300から返信メッセージを受信した場合、送信元であるアプリケーションメッセージに対する返信メッセージを集約する(S150)。そして、メッセージ転送・集約装置100は、集約メッセージをアプリケーション200に転送する(S160)。
The
<メッセージ転送・集約装置の機能構成>
図5に、メッセージ転送・集約装置100の機能構成例を示す。メッセージ転送・集約装置100は、通信機能部110とメッセージ処理部120とを含む。メッセージ転送・集約装置100の機能は主に2つの機能部とそこに分類される機能部とを含むが、これ以外の機能/構成を排除するものではない。また、実装上の観点からは、これらの機能部は一つのノードとして実装されている必要もない。他の機能部から共通的に利用される通信部を除き、これらにも実装上の制約等はない。
<Functional configuration of message transfer / aggregation device>
FIG. 5 shows a functional configuration example of the message transfer /
通信機能部110は、アプリケーションメッセージや返信メッセージを受信するメッセージ受信機能を有する。また、通信機能部110は、アプリケーションメッセージを端末300に転送し、返信メッセージや集約メッセージをアプリケーション200に転送するメッセージ転送機能を有する。
The
便宜上、通信機能部110は、アプリケーションメッセージ受信部111と、アプリケーションメッセージ転送部112と、返信メッセージ受信部113と、返信メッセージ転送部114と、集約メッセージ転送部115とに分類される。アプリケーションメッセージ受信部111は、アプリケーション200から送信されるアプリケーションメッセージを受信する。アプリケーションメッセージ転送部112は、アプリケーションメッセージを送信先端末に転送する。返信メッセージ受信部113は、アプリケーションメッセージの送信先端末から送信される返信メッセージを受信する。返信メッセージ転送部114は、返信メッセージをアプリケーション200に転送する。集約メッセージ転送部115は、集約メッセージをアプリケーション200に転送する。
For convenience, the
メッセージ処理部120は、メッセージ解析部121と、アプリケーションメッセージ宛先判定部122と、アプリケーションメッセージ送信先端末一覧作成部123と、返信メッセージ集約ルール抽出部124と、返信メッセージ集約要否判定部125と、返信メッセージバッファリング部126と、返信メッセージ集約部127と、アプリケーションメッセージ送信先端末DB(データベース)128と、返信メッセージ集約ルールDB129とを含む。
The
メッセージ解析部121は、アプリケーションメッセージ又は返信メッセージの内容を解析する。アプリケーションメッセージ宛先判定部122は、解析されたアプリケーションメッセージの内容と、アプリケーションメッセージ送信先端末DB128の情報に基づいて、そのアプリケーションメッセージの送信先端末を判定する。アプリケーションメッセージ送信先端末DB128は、解析されたアプリケーションメッセージの内容に応じて、そのアプリケーションメッセージをどの端末に送信すればよいか、という情報を保持するデータベースである。すなわち、アプリケーションメッセージ送信先端末DB128には、アプリケーションメッセージの内容と送信先端末との対応関係が記憶されており、アプリケーションメッセージ宛先判定部122は、アプリケーションメッセージ送信先端末DB128を参照して、アプリケーションメッセージの内容に対応する送信先端末を判定する。アプリケーションメッセージ送信先端末一覧作成部123は、アプリケーションメッセージの送信先端末の一覧を作成する。
The
返信メッセージ集約ルール抽出部124は、送信先端末一覧に記録される端末からの返信メッセージ内容の組み合わせに応じて、どのように集約するか、という集約ルールを返信メッセージ集約ルールDB129から抽出する。返信メッセージ集約ルールDB129は、送信先端末一覧に記録される端末からの返信メッセージ内容の組み合わせに応じて、どのように集約するか、という集約ルールを保持するデータベースである。
The reply message aggregation
返信メッセージ集約要否判定部125は、返信メッセージの内容と、返信メッセージ集約ルールDB129から抽出された情報に基づいて、その返信メッセージを集約対象とするか判定する。
Based on the content of the reply message and the information extracted from the reply message
返信メッセージバッファリング部126は、返信メッセージ集約要否判定部125の結果に基づいて、送信先端末一覧の各端末からの返信メッセージをバッファリングする。なお、どの端末から返信メッセージを受信するかはアプリケーションメッセージ送信先端末一覧作成部123において作成された送信先端末の一覧によっても把握できるため、返信メッセージバッファリング部126は、送信先端末の一覧に含まれる全ての端末から返信メッセージを受信するまで、集約対象の返信メッセージをバッファリングすることとしてもよい。
The reply
返信メッセージ集約部127は、集約対象の返信メッセージを集約した集約メッセージを生成する。返信メッセージ集約部127は、送信先端末の一覧に含まれる全ての端末から返信メッセージを受信した場合、返信メッセージバッファリング部126でバッファリングされている返信メッセージを1つのメッセージに集約する。上記のように、返信メッセージ集約ルールDB129には、送信先端末からの返信メッセージの内容の組み合わせに応じた集約メッセージの内容が記憶されている。返信メッセージ集約部127は、返信メッセージ集約ルールDB129を参照して、集約対象の返信メッセージの内容に対応する集約メッセージを生成する。
The reply
<メッセージ転送・集約装置における処理フロー>
図6〜図9を参照して、メッセージ転送・集約装置100における処理フロー及び具体例について説明する。
<Processing flow in message transfer / aggregation device>
A processing flow and a specific example in the message transfer /
図6は、アプリケーションメッセージ転送までの典型的な処理フローの例である。ここでは、通信機能部110に関する処理は一般的な通信の処理に関わるものであるため省略している。
FIG. 6 is an example of a typical processing flow up to application message transfer. Here, processing related to the
まず、アプリケーションメッセージ受信部111は、アプリケーション200からアプリケーションメッセージを受信する(S210)。 First, the application message receiving unit 111 receives an application message from the application 200 (S210).
メッセージ解析部121はアプリケーションメッセージの内容を解析し(S220)、アプリケーションメッセージ宛先判定部122は、アプリケーションメッセージの内容とアプリケーションメッセージ送信先端末DB128の情報に基づいて、このアプリケーションメッセージをどの端末に転送すればよいか判定する(S230)。本実施例では、図8に示すような、アプリケーションメッセージの件名に基づいて、端末を判定することを例に挙げる。アプリケーションメッセージ送信先端末DB128には、例えば、アプリケーションメッセージの件名に「all」が含まれている場合には、端末a〜端末cの全てにアプリケーションメッセージを送信し、アプリケーションメッセージの件名に「case1」が含まれている場合には、端末a及び端末bにアプリケーションメッセージを送信する、という情報が予め設定される。なお、端末の判定には、アプリケーションメッセージの件名だけでなく、アプリケーションメッセージの他の情報が用いられてもよい。
The
次に、返信メッセージ集約要否判定部125は、アプリケーションメッセージの内容と、返信メッセージ集約ルールDB129の情報に基づいて、このアプリケーションメッセージに関する返信メッセージを集約するか判定する(S240)。本実施例では、図9に示すような、アプリケーションメッセージの件名に基づく集約ルールの有無で判定することを例に挙げる。返信メッセージ集約ルールDB129には、例えば、アプリケーションメッセージの件名に「all」が含まれており、端末a〜端末cの全てから「OK」という返信メッセージを受信した場合には、「OK」という集約メッセージにし、アプリケーションメッセージの件名に「all」が含まれており、端末a〜端末cのいずれかから「NG」という返信メッセージを受信した場合又は端末a〜端末cのいずれかから返信メッセージを受信しない場合には、「NG」という集約メッセージにする、という情報が予め設定される。返信メッセージを集約しない場合(S240:NO)は、アプリケーションメッセージを転送することになるが(S270)、本実施例では、このフローは考慮しない。
Next, the reply message aggregation
次に、アプリケーションメッセージ送信先端末一覧作成部123は、アプリケーションメッセージ送信先端末一覧を作成する(S250)。本実施例では、図8で示したようなアプリケーションメッセージ送信先端末DB128から引用する。例えば、アプリケーションメッセージの件名に「all」が含まれている場合には、端末a〜端末cの全てを送信先端末一覧に設定する。
Next, the application message destination terminal
次に、返信メッセージ集約ルール抽出部124は、アプリケーションメッセージ送信先端末一覧に基づいて、返信メッセージ集約ルールを抽出する(S260)。本実施例では、図9で示したような返信メッセージ集約ルールDB129から引用する。例えば、アプリケーションメッセージの件名に「all」が含まれている場合には、「all」に対応する返信メッセージ集約ルールを抽出する。
Next, the reply message aggregation
アプリケーションメッセージ転送部112は、アプリケーションメッセージ送信先端末一覧に基づいて、アプリケーションメッセージをそれぞれの端末に転送する(S270)。
The application
図7は、返信メッセージ受信後のメッセージ集約の典型的な処理フローの例である。図6と同様に、通信機能部110に関する処理は一般的な通信の処理に関わるものであるため省略している。
FIG. 7 is an example of a typical processing flow of message aggregation after receiving a reply message. Similar to FIG. 6, the processing related to the
返信メッセージ受信部113は、端末300から、アプリケーション200からのメッセージに基づく返信メッセージを送信する(S310)。メッセージ解析部121は返信メッセージの内容を解析し(S320)、返信メッセージ集約要否判定部125は、返信メッセージの内容と返信メッセージ集約ルールDB129の情報に基づいて、この返信メッセージを集約するか判定する(S330)。返信メッセージを集約しない場合(S330:NO)は、返信メッセージを転送することになるが(S340)、本実施例では、このフローは考慮しない。
The reply
返信メッセージバッファリング部126は、送信先端末一覧の全端末から返信メッセージを受信するまでバッファリングする(S350)。送信先端末一覧の全端末から返信メッセージを受信した後(S360)、返信メッセージ集約部127は、集約ルールに基づいて、返信メッセージを一つのメッセージに集約する(S370)。集約メッセージ転送部115は、集約メッセージをアプリケーションに転送する(S380)。
The reply
<ハードウェア構成例>
図10に、本発明の実施例に係るメッセージ転送・集約装置100のハードウェア構成例を示す。メッセージ転送・集約装置100は、CPU(Central Processing Unit)151等のプロセッサ、RAM(Random Access Memory)やROM(Read Only Memory)等のメモリ装置152、ハードディスク等の記憶装置153等から構成されたコンピュータでもよい。例えば、メッセージ転送・集約装置100の機能及び処理は、記憶装置153又はメモリ装置152に格納されているデータやプログラムをCPU151が実行することによって実現される。また、メッセージ転送・集約装置100に必要な情報は、入出力インタフェース装置154から入力され、メッセージ転送・集約装置100において求められた結果は、入出力インタフェース装置154から出力されてもよい。
<Hardware configuration example>
FIG. 10 shows a hardware configuration example of the message transfer /
<本発明の実施例の効果>
本発明の実施例によれば、アプリケーションからのメッセージに対して、複数の端末から送信元のアプリケーションにデータを送信する形態(端末がアプリケーションに応答するシチュエーション)において、アプリケーションと端末間のメッセージ転送を効率化することが可能になる。
<Effect of the embodiment of the present invention>
According to the embodiment of the present invention, in a mode in which data is transmitted from a plurality of terminals to a transmission source application (situation in which the terminal responds to the application) in response to a message from the application, message transfer between the application and the terminal is performed. It becomes possible to improve efficiency.
アプリケーションはメッセージ転送・集約装置宛にメッセージを送信すればよく、通信システム配下に収容される端末の接続構成を意識する必要はない。メッセージ転送・集約装置は、アプリケーションメッセージの内容に基づいて、そのアプリケーションメッセージの送信先端末を判定し、それぞれの端末にアプリケーションメッセージを転送することができる。 The application only needs to transmit a message to the message transfer / aggregation device, and does not need to be aware of the connection configuration of terminals accommodated under the communication system. The message transfer / aggregation apparatus can determine the destination terminal of the application message based on the content of the application message and transfer the application message to each terminal.
また、メッセージ転送・集約装置は送信元であるアプリケーションメッセージに対する、端末からの返信メッセージのみを集約して転送する。上記のようにアプリケーションメッセージは、メッセージ転送・集約装置宛に送信されることになるため、返信メッセージを集約した状態でアプリケーションに転送することが可能になる。 Further, the message transfer / aggregation apparatus aggregates and transfers only the reply messages from the terminals in response to the application message as the transmission source. As described above, since the application message is transmitted to the message transfer / aggregation device, it is possible to transfer the reply message to the application in a state of being aggregated.
<補足>
説明の便宜上、本発明の実施例に係るメッセージ転送・集約装置は機能的なブロック図を用いて説明しているが、本発明の実施例に係るメッセージ転送・集約装置は、ハードウェア、ソフトウェア又はそれらの組み合わせで実現されてもよい。例えば、本発明の実施例は、コンピュータに対して本発明の実施例に係るメッセージ転送・集約装置の機能を実現させるプログラム、コンピュータに対して本発明の実施例に係る方法の各手順を実行させるプログラム等により、実現されてもよい。また、各機能部が必要に応じて組み合わせて使用されてもよい。また、本発明の実施例に係る方法は、実施例に示す順序と異なる順序で実施されてもよい。
<Supplement>
For convenience of explanation, the message transfer / aggregation apparatus according to the embodiment of the present invention is described using a functional block diagram. However, the message transfer / aggregation apparatus according to the embodiment of the present invention may be hardware, software, or A combination thereof may be realized. For example, the embodiment of the present invention causes a computer to execute the function of the message transfer / aggregation apparatus according to the embodiment of the present invention, and causes the computer to execute each procedure of the method according to the embodiment of the present invention. It may be realized by a program or the like. In addition, the functional units may be used in combination as necessary. In addition, the method according to the embodiment of the present invention may be performed in an order different from the order shown in the embodiment.
以上、アプリケーションからのメッセージに対して、複数の端末から送信元のアプリケーションにデータを送信する形態(端末がアプリケーションに応答するシチュエーション)において、アプリケーションと端末間のメッセージ転送を効率化するための手法について説明したが、本発明は、上記の実施例に限定されることなく、特許請求の範囲内において、種々の変更・応用が可能である。 As described above, in the form of transmitting data from a plurality of terminals to a transmission source application in response to a message from the application (a situation in which the terminal responds to the application), a method for improving the efficiency of message transfer between the application and the terminal As described above, the present invention is not limited to the above-described embodiments, and various modifications and applications are possible within the scope of the claims.
100 メッセージ転送・集約装置
110 通信機能部
111 アプリケーションメッセージ受信部
112 アプリケーションメッセージ転送部
113 返信メッセージ受信部
114 返信メッセージ転送部
115 集約メッセージ転送部
120 メッセージ処理部
121 メッセージ解析部
122 アプリケーションメッセージ宛先判定部
123 アプリケーションメッセージ送信先端末一覧作成部
124 返信メッセージ集約ルール抽出部
125 返信メッセージ集約要否判定部
126 返信メッセージバッファリング部
127 返信メッセージ集約部
128 アプリケーションメッセージ送信先端末DB
129 返信メッセージ集約ルールDB
DESCRIPTION OF
129 Reply message aggregation rule DB
Claims (5)
アプリケーションメッセージを受信するアプリケーションメッセージ受信部と、
前記アプリケーションメッセージの内容に基づいて、前記アプリケーションメッセージの送信先端末を判定するアプリケーションメッセージ宛先判定部と、
前記アプリケーションメッセージを前記送信先端末に転送するアプリケーションメッセージ転送部と、
前記送信先端末から送信される返信メッセージを受信する返信メッセージ受信部と、
前記受信した返信メッセージを集約した集約メッセージを生成する返信メッセージ集約部と、
前記集約メッセージを前記アプリケーションに転送する集約メッセージ転送部と、
を有するメッセージ転送及び集約装置。 A message transfer and aggregation device that receives an application message transmitted from an application and transfers it to a plurality of terminals, receives a reply message transmitted from the plurality of terminals, and transfers the message to the application,
An application message receiver for receiving application messages;
An application message destination determination unit that determines a destination terminal of the application message based on the content of the application message;
An application message transfer unit that transfers the application message to the destination terminal;
A reply message receiver for receiving a reply message transmitted from the destination terminal;
A reply message aggregating unit that generates an aggregate message in which the received reply messages are aggregated;
An aggregate message transfer unit for transferring the aggregate message to the application;
A message transfer and aggregation device.
前記送信先端末の一覧に含まれる全ての端末から返信メッセージを受信するまで、前記返信メッセージをバッファリングする返信メッセージバッファリング部と、
を更に有し、
前記返信メッセージ集約部は、前記送信先端末の一覧に含まれる全ての端末から返信メッセージを受信した場合、前記返信メッセージバッファリング部でバッファリングされている返信メッセージを集約する、請求項1に記載のメッセージ転送及び集約装置。 An application message destination terminal list creation unit for creating a list of destination terminals of the application message;
A reply message buffering unit that buffers the reply message until receiving reply messages from all terminals included in the list of destination terminals;
Further comprising
The reply message aggregating unit aggregates the reply messages buffered by the reply message buffering unit when receiving reply messages from all terminals included in the list of destination terminals. Message transfer and aggregation device.
前記アプリケーションメッセージ宛先判定部は、前記アプリケーションメッセージ送信先端末記憶部を参照して、前記アプリケーションメッセージの内容に対応する送信先端末を判定する、請求項1又は2に記載のメッセージ転送及び集約装置。 An application message destination terminal storage unit that stores the correspondence between the contents of the application message and the destination terminal;
The message transfer and aggregation device according to claim 1, wherein the application message destination determination unit determines a transmission destination terminal corresponding to the content of the application message with reference to the application message transmission destination terminal storage unit.
前記返信メッセージ集約部は、前記返信メッセージ集約ルール記憶部を参照して、前記受信した返信メッセージの内容に対応する集約メッセージを生成する、請求項1乃至3のうちいずれか1項に記載のメッセージ転送及び集約装置。 A reply message aggregation rule storage unit that stores the contents of the aggregate message according to the combination of the contents of the reply message from the destination terminal;
The message according to any one of claims 1 to 3, wherein the reply message aggregating unit generates an aggregated message corresponding to the content of the received reply message with reference to the reply message aggregation rule storage unit. Transfer and aggregation device.
アプリケーションメッセージを受信するステップと、
前記アプリケーションメッセージの内容に基づいて、前記アプリケーションメッセージの送信先端末を判定するステップと、
前記アプリケーションメッセージを前記送信先端末に転送するステップと、
前記送信先端末から送信される返信メッセージを受信するステップと、
前記受信した返信メッセージを集約した集約メッセージを生成するステップと、
前記集約メッセージを前記アプリケーションに転送するステップと、
を有するメッセージ転送及び集約方法。 This is a message transfer and aggregation method in a message transfer and aggregation device that receives an application message transmitted from an application and transfers it to a plurality of terminals, receives a reply message transmitted from the plurality of terminals and transfers it to the application. And
Receiving an application message;
Determining a destination terminal of the application message based on the content of the application message;
Transferring the application message to the destination terminal;
Receiving a reply message transmitted from the destination terminal;
Generating an aggregate message that aggregates the received reply messages;
Forwarding the aggregate message to the application;
A message transfer and aggregation method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017016996A JP6682459B2 (en) | 2017-02-01 | 2017-02-01 | Message transfer and aggregation device, and message transfer and aggregation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017016996A JP6682459B2 (en) | 2017-02-01 | 2017-02-01 | Message transfer and aggregation device, and message transfer and aggregation method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018124830A true JP2018124830A (en) | 2018-08-09 |
JP6682459B2 JP6682459B2 (en) | 2020-04-15 |
Family
ID=63109715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017016996A Active JP6682459B2 (en) | 2017-02-01 | 2017-02-01 | Message transfer and aggregation device, and message transfer and aggregation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6682459B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004139586A (en) * | 2002-09-24 | 2004-05-13 | Ricoh Co Ltd | Mediation device, communication system, method for controlling mediation device, program and recording medium |
JP2004140818A (en) * | 2002-09-24 | 2004-05-13 | Ricoh Co Ltd | Mediator, communication system, control method for mediator, program, and recording medium |
JP2005259106A (en) * | 2004-02-09 | 2005-09-22 | Ricoh Co Ltd | Mediating device, distributed processing system, data transfer method, program, and recording medium |
US20060085498A1 (en) * | 2004-09-17 | 2006-04-20 | Hiroyuki Matsushima | Intermediary apparatus, distributed processing system, data-transfer method, program and recording medium |
JP2015106392A (en) * | 2013-12-03 | 2015-06-08 | 日本電信電話株式会社 | Message distribution system, message distribution method, and message distribution program |
-
2017
- 2017-02-01 JP JP2017016996A patent/JP6682459B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004139586A (en) * | 2002-09-24 | 2004-05-13 | Ricoh Co Ltd | Mediation device, communication system, method for controlling mediation device, program and recording medium |
JP2004140818A (en) * | 2002-09-24 | 2004-05-13 | Ricoh Co Ltd | Mediator, communication system, control method for mediator, program, and recording medium |
JP2005259106A (en) * | 2004-02-09 | 2005-09-22 | Ricoh Co Ltd | Mediating device, distributed processing system, data transfer method, program, and recording medium |
US20060085498A1 (en) * | 2004-09-17 | 2006-04-20 | Hiroyuki Matsushima | Intermediary apparatus, distributed processing system, data-transfer method, program and recording medium |
JP2015106392A (en) * | 2013-12-03 | 2015-06-08 | 日本電信電話株式会社 | Message distribution system, message distribution method, and message distribution program |
Also Published As
Publication number | Publication date |
---|---|
JP6682459B2 (en) | 2020-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107342952B (en) | Service link selection control method and equipment | |
US8677011B2 (en) | Load distribution system, load distribution method, apparatuses constituting load distribution system, and program | |
US11743328B2 (en) | Computer-implemented system and method for propagation and communication of data in a network such as a blockchain network | |
US20150295785A1 (en) | Resource Subscription Method and Device | |
CN106612284B (en) | Streaming data transmission method and device | |
US10148565B2 (en) | OPENFLOW communication method and system, controller, and service gateway | |
US20140222960A1 (en) | Method and Apparatus for Rapid Data Distribution | |
CN105262836A (en) | Information push method of server and push information reception method of client | |
WO2023221452A1 (en) | Packet processing system and method, device, and storage medium | |
CN105141603A (en) | Communication data transmission method and system | |
US20150067066A1 (en) | Provisioning Communication Services using Proxy Server in a Cloud | |
US8650313B2 (en) | Endpoint discriminator in network transport protocol startup packets | |
US9400547B2 (en) | Processing device and method thereof | |
WO2017005118A1 (en) | Method, device, terminal and server for maintaining communication connection | |
CN108924773B (en) | Message processing method and device | |
CN111095893B (en) | Conditional routing apparatus and method | |
CN114051030B (en) | Communication method, communication device, intelligent community system and storage medium | |
JP5674179B1 (en) | Apparatus and method for efficient network address translation and application level gateway processing | |
JP2018124830A (en) | Message transfer and aggregation device, and message transfer and aggregation method | |
CN112202914B (en) | Message pushing method and device | |
WO2017157127A1 (en) | Access record passing back method, device and system | |
CN115514799A (en) | TCP connection method, system, network device and storage medium | |
CN106487890A (en) | A kind of cross-node communication network requesting method based on XMPP | |
CN112532534B (en) | Data transmission method, device and computer readable storage medium | |
CN115665042B (en) | Data processing method, device, user plane functional entity and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20181128 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190807 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191001 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20191031 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20200324 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200325 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6682459 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |