JP2018151924A - Edge server, information communication system, component, message processing method, and program - Google Patents
Edge server, information communication system, component, message processing method, and program Download PDFInfo
- Publication number
- JP2018151924A JP2018151924A JP2017048462A JP2017048462A JP2018151924A JP 2018151924 A JP2018151924 A JP 2018151924A JP 2017048462 A JP2017048462 A JP 2017048462A JP 2017048462 A JP2017048462 A JP 2017048462A JP 2018151924 A JP2018151924 A JP 2018151924A
- Authority
- JP
- Japan
- Prior art keywords
- message
- trace
- output information
- component
- trace output
- 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
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本発明は、エッジサーバ、情報通信システム、コンポーネント、メッセージ処理方法、及びプログラムに関し、特に、トレースに関する処理を行うエッジサーバ、情報通信システム、コンポーネント、メッセージ処理方法、及びプログラムに関する。 The present invention relates to an edge server, an information communication system, a component, a message processing method, and a program. In particular, the present invention relates to an edge server, an information communication system, a component, a message processing method, and a program that perform processing related to tracing.
分散コンポーネントIoT(Internet of Things)システムにおいて、各コンポーネントがそれぞれログレベル設定を持つモデルが知られている。このモデルでは、各コンポーネントのログレベルを上げることにより、各コンポーネントが有するログファイルに通過したメッセージの情報を出力することができる。 In a distributed component IoT (Internet of Things) system, a model is known in which each component has a log level setting. In this model, by increasing the log level of each component, it is possible to output information of messages that have passed to the log file that each component has.
分散コンポーネントIoTシステムにおいて、テストや障害解析の目的で、所定のメッセージがどのコンポーネントを通過したか、所定のメッセージがどこまで到達したかのトレースを出力することが求められる。上述のモデルをテストや障害解析に用いる場合、すべてのコンポーネントのログレベルを同時に上げ、且つすべてのコンポーネントのログファイルから目的のID等の識別情報が入ったログメッセージを探して繋ぎ合わせる必要があった。 In the distributed component IoT system, it is required to output a trace of which component a predetermined message has passed and how far the predetermined message has reached for the purpose of testing and failure analysis. When using the above model for testing or failure analysis, it is necessary to increase the log level of all components at the same time, and search for log messages containing identification information such as the target ID from the log files of all components and connect them together. It was.
また、特許文献1には、複数のネットワークエレメントの監視のために、ネットワークエレメントと管理サーバとの間にデータ収集機構を配置した構成が開示されている。 Patent Document 1 discloses a configuration in which a data collection mechanism is arranged between a network element and a management server for monitoring a plurality of network elements.
しかし、特許文献1に開示の構成を用いて、すべてのコンポーネントのすべてのデータをデータ収集機構が監視する場合、データ収集機構が、大量のデバイスから送られた膨大なメッセージのすべてを監視することになり、データ収集機構に負荷が集中してしまうという問題があった。 However, when the data collection mechanism monitors all data of all components using the configuration disclosed in Patent Document 1, the data collection mechanism monitors all of a huge number of messages sent from a large number of devices. As a result, the load is concentrated on the data collection mechanism.
また、IDの他に、メッセージに含まれるデータが特定の条件を満たす場合に、そのデータについてトレースを出力することが想定される。このような場合には、データ収集機構において、大量のデバイスから送られた膨大なメッセージについて、特定の条件を満たすか否かを検査することになるため、データ収集機構の負荷がさらに増大するという問題があった。 In addition to the ID, when the data included in the message satisfies a specific condition, it is assumed that a trace is output for the data. In such a case, the data collection mechanism inspects whether or not a specific condition is satisfied for a huge number of messages sent from a large number of devices, which further increases the load on the data collection mechanism. There was a problem.
本発明は、このような問題点を解決するためになされたものであり、メッセージに関するトレースの出力を効率的に行うことができるエッジサーバ、情報通信システム、コンポーネント、メッセージ処理方法、及びプログラムを提供することを目的とする。 The present invention has been made to solve such a problem, and provides an edge server, an information communication system, a component, a message processing method, and a program capable of efficiently outputting a trace concerning a message. The purpose is to do.
本発明の第1の態様にかかるエッジサーバは、デバイスから送信されたメッセージを受信する受信手段と、前記メッセージが所定の条件に合致するか否かを判定する条件判定手段と、前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込む埋め込み手段と、前記メッセージをバックエンドサービスへ送信する送信手段と、を備えるものである。 The edge server according to the first aspect of the present invention includes: a receiving unit that receives a message transmitted from a device; a condition determining unit that determines whether or not the message meets a predetermined condition; When a predetermined condition is met, an embedding unit that embeds trace output information in the message and a transmitting unit that transmits the message to a back-end service are provided.
本発明の第2の態様にかかる情報通信システムは、エッジサーバと、バックエンドサービスと、を備え、前記エッジサーバは、デバイスから送信されたメッセージを受信する受信手段と、前記メッセージが所定の条件に合致するか否かを判定する条件判定手段と、前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込む埋め込み手段と、前記メッセージを前記バックエンドサービスへ送信する送信手段と、を備え、前記バックエンドサービスは、前記エッジサーバから送信されたメッセージを受信する受信手段と、前記メッセージの転送経路を制御するルーティング手段と、それぞれ異なるサービスロジックを有する複数のコンポーネントと、トレース収集サーバと、を備え、前記コンポーネントは、受け取ったメッセージに前記トレース出力用情報が埋め込まれているか否かを判定し、前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及び自コンポーネントのコンポーネントIDを含むトレースを前記トレース収集サーバへ出力するトレース出力手段を備えるものである。 An information communication system according to a second aspect of the present invention includes an edge server and a back-end service, wherein the edge server receives a message transmitted from a device, and the message has a predetermined condition. A condition determination unit that determines whether or not the message satisfies the condition, an embedding unit that embeds trace output information in the message when the message meets the predetermined condition, and transmits the message to the back-end service. Transmitting means, and the back-end service includes a receiving means for receiving a message transmitted from the edge server, a routing means for controlling a forwarding path of the message, and a plurality of components each having different service logics. A trace collection server, and the component Determines whether the trace output information is embedded in the received message, and when the trace output information is embedded in the message, the trace output information is used to Trace output means for outputting a trace including the component ID of the own component to the trace collection server is provided.
本発明の第3の態様にかかるコンポーネントは、サービスロジックと、トレース出力手段と、を備え、前記トレース出力手段は、受け取ったメッセージにトレース出力用情報が埋め込まれているか否かを判定し、前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及び自コンポーネントのコンポーネントIDを含むトレースをトレース収集サーバへ出力するものである。 A component according to a third aspect of the present invention includes service logic and trace output means, wherein the trace output means determines whether or not trace output information is embedded in the received message, and When the trace output information is embedded in the message, the trace including the message and the component ID of the self component is output to the trace collection server using the trace output information.
本発明の第4の態様にかかるメッセージ処理方法は、デバイスから送信されたメッセージを受信し、前記メッセージが所定の条件に合致するか否かを判定し、前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込み、前記トレース出力用情報が埋め込まれたメッセージをバックエンドサービスへ送信し、前記メッセージが前記所定の条件に合致しない場合に、前記トレース出力用情報が埋め込まれていないメッセージを前記バックエンドサービスへ送信するものである。 A message processing method according to a fourth aspect of the present invention receives a message transmitted from a device, determines whether or not the message meets a predetermined condition, and the message meets the predetermined condition. In this case, the trace output information is embedded in the message, the message in which the trace output information is embedded is transmitted to a back-end service, and when the message does not meet the predetermined condition, the trace output information is A message that is not embedded is transmitted to the back-end service.
本発明の第5の態様にかかるメッセージ処理方法は、エッジサーバから送信されたメッセージを受け取り、サービスロジックに基づく処理を実行し、前記メッセージにトレース出力用情報が埋め込まれているか否かを判定し、前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及びコンポーネントIDを含むトレースをトレース収集サーバへ出力するものである。 A message processing method according to a fifth aspect of the present invention receives a message transmitted from an edge server, executes a process based on service logic, and determines whether or not trace output information is embedded in the message. When the trace output information is embedded in the message, the trace including the message and the component ID is output to the trace collection server using the trace output information.
本発明の第6の態様にかかるプログラムは、デバイスから送信されたメッセージを受信し、前記メッセージが所定の条件に合致するか否かを判定し、前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込み、前記トレース出力用情報が埋め込まれたメッセージをバックエンドサービスへ送信し、前記メッセージが前記所定の条件に合致しない場合に、前記トレース出力用情報が埋め込まれていないメッセージを前記バックエンドサービスへ送信する、メッセージ処理方法をコンピュータに実行させるものである。 The program according to the sixth aspect of the present invention receives a message transmitted from a device, determines whether or not the message meets a predetermined condition, and when the message meets the predetermined condition. The trace output information is embedded in the message, the message in which the trace output information is embedded is transmitted to a back-end service, and the trace output information is embedded when the message does not meet the predetermined condition. A message processing method for transmitting a message that has not been sent to the back-end service is executed by a computer.
本発明の第7の態様にかかるプログラムは、エッジサーバから送信されたメッセージを受け取り、サービスロジックに基づく処理を実行し、前記メッセージにトレース出力用情報が埋め込まれているか否かを判定し、前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及びコンポーネントIDを含むトレースをトレース収集サーバへ出力する、メッセージ処理方法をコンピュータに実行させるものである。 The program according to the seventh aspect of the present invention receives a message transmitted from an edge server, executes a process based on service logic, determines whether or not trace output information is embedded in the message, and When the trace output information is embedded in a message, the trace processing information is output to the trace collection server using the trace output information, and a computer executes a message processing method. is there.
本発明により、メッセージに関するトレースの出力を効率的に行うことができるエッジサーバ、情報通信システム、コンポーネント、メッセージ処理方法、及びプログラムを提供することができる。 According to the present invention, it is possible to provide an edge server, an information communication system, a component, a message processing method, and a program that can efficiently output a trace related to a message.
実施の形態
まず、図1のブロック図を用いて、本発明の実施の形態にかかる情報通信システム100の構成例について説明する。本実施の形態にかかる情報通信システム100は、デバイス1と、エッジネットワーク2と、エッジサーバ10と、広域ネットワーク3と、バックエンドサービス20と、を備えている。
Embodiment First, a configuration example of an
デバイス1は、例えば、無線通信端末、各種センサ等である。なお、図1の例では、3つのデバイス1を示しているが、デバイス1の数は3つに限らない。 The device 1 is, for example, a wireless communication terminal or various sensors. In the example of FIG. 1, three devices 1 are shown, but the number of devices 1 is not limited to three.
デバイス1は、メッセージを生成する。また、デバイス1は、生成されたメッセージを、エッジネットワーク2を介して接続されているエッジサーバ10へ送信する。すなわち、デバイス1は、複数のエッジサーバ10のうち、自身が接続されている1つのエッジサーバ10へメッセージを送信する。
Device 1 generates a message. The device 1 transmits the generated message to the
エッジネットワーク2は、デバイス1とエッジサーバ10とを接続するネットワークである。なお、図1の例では、情報通信システム100が3つのエッジサーバ10を備える構成を示しているが、情報通信システム100が備えるエッジサーバ10の数は3つに限らない。
The edge network 2 is a network that connects the device 1 and the
ここで、図2のブロック図を用いて、エッジサーバ10の構成例について説明する。エッジサーバ10は、受信部11と、条件判定部12と、埋め込み部13と、送信部14と、を備えている。
Here, a configuration example of the
受信部11は、デバイス1から送信されたメッセージを受信する。また、受信部11は、受信されたメッセージを条件判定部12へ出力する。
The
条件判定部12は、受信部11からメッセージを受け取る。また、条件判定部12は、受け取ったメッセージが所定の条件に合致するか否かを判定する。なお、所定の条件とは、例えばメッセージに含まれるデータのタイプやデータの範囲等についての条件である。具体例としては、データのタイプが温度である、データの値が30以上である等の条件である。なお、所定の条件は、設定可能としてもよい。
The
条件判定部12は、受け取ったメッセージが所定の条件に合致する場合、当該メッセージを埋め込み部13へ出力する。また、条件判定部12は、受け取ったメッセージが所定の条件に合致しない場合、当該メッセージを送信部14へ出力する。
The
埋め込み部13は、条件判定部12からメッセージを受け取る。また、埋め込み部13は、受け取ったメッセージにトレース出力用情報を埋め込む。すなわち、埋め込み部13は、受け取ったメッセージが所定の条件に合致する場合に、トレース出力用情報を当該メッセージに埋め込む。なお、トレース出力用情報とは、例えば、バックエンドサービス20におけるトレース収集サーバのURL(Uniform Resource Locator)等のトレースの出力先を示す情報であるがこれに限らない。トレース出力用情報は、バックエンドサービス20にてトレースを出力することを可能にする情報であればどのような情報でもよい。そして、埋め込み部13は、トレース出力用情報が埋め込まれたメッセージを送信部14へ出力する。
The
送信部14は、受け取ったメッセージをバックエンドサービス20へ送信する。すなわち、送信部14は、条件判定部12からメッセージを受け取った場合には、トレース出力用情報が埋め込まれていないメッセージをバックエンドサービス20へ送信する。また、送信部14は、埋め込み部13からメッセージを受け取った場合には、トレース出力用情報が埋め込まれたメッセージをバックエンドサービス20へ送信する。
The
図1に戻り説明を続ける。広域ネットワーク3は、エッジサーバ10とバックエンドサービス20とを接続するネットワークである。エッジサーバ10の送信部14により送信されたメッセージは、広域ネットワーク3を介してバックエンドサービス20に受信される。
Returning to FIG. The wide area network 3 is a network that connects the
続いて、図3のブロック図を用いて、バックエンドサービス20の構成例について説明する。バックエンドサービス20は、受信部21と、ルーティング部22と、コンポーネント23Aと、コンポーネント23Bと、コンポーネント23Cと、トレース収集サーバ26と、を備えている。なお、図3の例では、バックエンドサービス20がコンポーネント23A〜23Cの3つのコンポーネント23を備える構成を示しているが、バックエンドサービス20が備えるコンポーネント23の数は3つに限らない。
Next, a configuration example of the back-
受信部21は、エッジサーバ10の送信部14から送信されたメッセージを受信する。また、受信部21は、受信されたメッセージをルーティング部22へ出力する。
The receiving
ルーティング部22は、受信部21からメッセージを受け取る。また、ルーティング部22は、受け取ったメッセージの転送経路を制御する。具体的には、ルーティング部22は、受け取ったメッセージを、どのコンポーネント23へどのような順番で転送するかについての制御を行う。例えば、ルーティング部22は、ルーティング情報を備えており、そのルーティング情報に基づいて転送経路の制御を行う。以下、コンポーネント23A、コンポーネント23B、コンポーネント23Cの順番でメッセージが転送される例について説明する。ルーティング部22は、メッセージをコンポーネント23Aへ出力する。
The
ここで、図4のブロック図を用いて、コンポーネント23の構成例について説明する。コンポーネント23は、サービスロジック24と、トレース出力部25と、を備えている。
Here, a configuration example of the
コンポーネント23A〜23Cは、それぞれ異なるサービスロジック24を備えている。すなわち、コンポーネント23Aはサービスロジック24Aを備え、コンポーネント23Bはサービスロジック24Bを備え、コンポーネント23Cはサービスロジック24Cを備えている。
Each of the
コンポーネント23A〜23Cが、農場等の農業分野についてのコンポーネントである具体例について説明する。この場合、サービスロジック24Aは、例えば、メッセージに含まれる温度データに関する判定ロジックである。また、サービスロジック24Bは、例えば、メッセージに含まれる湿度データに関する判定ロジックである。また、サービスロジック24Cは、例えば、メッセージに含まれる二酸化炭素データに関する判定ロジックである。例えば、サービスロジック24Aは、メッセージに含まれる温度データが所定の温度以上である場合に、ユーザの無線通信端末等の所定の宛先へ通知する等の処理を行う。また、サービスロジック24Bは、メッセージに含まれる湿度データが所定の湿度以上である場合に、所定の宛先へ通知する等の処理を行う。また、サービスロジック24Cは、メッセージに含まれる二酸化炭素データが所定の二酸化炭素濃度以上である場合に、所定の宛先へ通知する等の処理を行う。
A specific example in which the
トレース出力部25は、受け取ったメッセージにトレース出力用情報が埋め込まれているか否かを判定する。また、トレース出力部25は、メッセージにトレース出力用情報が埋め込まれている場合に、トレース出力用情報を用いて、当該メッセージ及び自コンポーネントのコンポーネントIDを含むトレースをトレース収集サーバ26へ出力する。具体的には、コンポーネント23Aのトレース出力部25は、ルーティング部22から受け取ったメッセージにトレース出力用情報が埋め込まれている場合に、当該メッセージ及びコンポーネント23AのコンポーネントIDを含むトレースをトレース収集サーバ26へ出力する。そして、コンポーネント23Aは、ルーティング部22による転送経路制御により、ルーティング部22から受け取ったメッセージをコンポーネント23Bへ出力する。なお、コンポーネント23Aは、メッセージにトレース出力用情報が埋め込まれていない場合には、トレースの出力を行わずに、ルーティング部22から受け取ったメッセージをコンポーネント23Bへ出力する。
The
コンポーネント23B及びコンポーネント23Cのトレース出力部25は、コンポーネント23Aのトレース出力部25と同様の処理を行う。これにより、メッセージにトレース出力用情報が埋め込まれている場合には、コンポーネント23A、コンポーネント23B、コンポーネント23Cの順番で、メッセージ及びコンポーネント23A〜23CのコンポーネントIDが、トレース収集サーバ26へ出力される。
The
続いて、図5のブロック図を用いて、トレース収集サーバ26の構成例について説明する。トレース収集サーバ26は、トレースファイル27を備えている。
Next, a configuration example of the
トレース収集サーバ26は、コンポーネント23からトレースを取得すると、取得されたトレースをトレースファイル27に書き込む。これにより、メッセージにトレース出力用情報が埋め込まれている場合には、コンポーネント23A、コンポーネント23B、コンポーネント23Cの順番で、メッセージ及びコンポーネント23A〜23CのコンポーネントIDが、トレースファイル27に書き込まれる。このため、トレースファイル27を参照することにより、所定のメッセージがどのコンポーネントを通過したか、所定のメッセージがどのコンポーネントまで到達したかを把握することができる。
When acquiring the trace from the
続いて、図6のフローチャートを用いて、エッジサーバ10の処理例について説明する。
Next, a processing example of the
まず、エッジサーバ10は、デバイス1から送信されたメッセージを受信する(ステップS101)。
First, the
次に、エッジサーバ10は、受信されたメッセージが所定の条件に合致するか否かを判定する(ステップS102)。
Next, the
受信されたメッセージが所定の条件に合致する場合(ステップS102にてYES)、エッジサーバ10は、トレース出力用情報をメッセージに埋め込む(ステップS103)。次に、エッジサーバ10は、メッセージをバックエンドサービス20へ送信する(ステップS104)。すなわち、エッジサーバ10は、トレース出力用情報が埋め込まれたメッセージをバックエンドサービス20へ送信する。
If the received message matches a predetermined condition (YES in step S102), the
他方、受信されたメッセージが所定の条件に合致しない場合(ステップS102にてNO)、ステップS103を介さずにステップS104へ進む。すなわち、受信されたメッセージが所定の条件に合致しない場合(ステップS102にてNO)、エッジサーバ10は、トレース出力用情報が埋め込まれていないメッセージをバックエンドサービス20へ送信する(ステップS104)。
On the other hand, if the received message does not meet the predetermined condition (NO in step S102), the process proceeds to step S104 without going through step S103. That is, when the received message does not meet the predetermined condition (NO in step S102), the
続いて、図7のフローチャートを用いて、コンポーネント23の処理例について説明する。
Next, a processing example of the
まず、コンポーネント23は、エッジサーバ10から送信されたメッセージを受け取る(ステップS201)。
First, the
次に、コンポーネント23は、自コンポーネントが備えているサービスロジックに基づく処理を実行する(ステップS202)。
Next, the
次に、コンポーネント23は、メッセージにトレース出力用情報が埋め込まれているか否かを判定する(ステップS203)。
Next, the
メッセージにトレース出力用情報が埋め込まれている場合(ステップS203にてYES)、コンポーネント23は、トレース出力用情報を用いて、メッセージ及び自コンポーネントのコンポーネントIDを含むトレースをトレース収集サーバ26へ出力する(ステップS204)。
When the trace output information is embedded in the message (YES in step S203), the
他方、メッセージにトレース出力用情報が埋め込まれていない場合(ステップS203にてNO)、コンポーネント23は、トレースをトレース収集サーバ26へ出力せずに終了する。
On the other hand, when the trace output information is not embedded in the message (NO in step S203), the
以上のように、本発明の実施の形態にかかるエッジサーバ10は、デバイス1から送信されたメッセージが所定の条件に合致するか否かを判定する条件判定部12を備える構成としている。また、エッジサーバ10は、メッセージが所定の条件に合致する場合に、トレース出力用情報をメッセージに埋め込む埋め込み部13を備える構成としている。さらに、エッジサーバ10は、メッセージをバックエンドサービス20へ送信する送信部14を備える構成としている。これにより、本実施の形態にかかるエッジサーバ10では、所定の条件に合致するメッセージにトレース出力用情報を埋め込んでバックエンドサービス20へ送信することができる。このため、バックエンドサービス20にて、トレース出力用情報が埋め込まれているメッセージについてのみトレースを出力することができる。すなわち、メッセージに関するトレースの出力を効率的に行うことができる。
As described above, the
また、エッジサーバ10では、所定の条件を設定可能にすることができる。これにより、エッジサーバ10では、所定の条件として、所望の条件を設定することができ、所望の条件に合致するメッセージにトレース出力用情報を埋め込むことができる。すなわち、バックエンドサービス20にて、所望の条件に合致するメッセージに関するトレースを出力することができる。
Further, the
また、本実施の形態にかかるコンポーネント23は、受け取ったメッセージにトレース出力用情報が埋め込まれているか否かを判定し、トレース出力用情報が埋め込まれている場合に、トレース出力用情報を用いて、メッセージ及び自コンポーネントのコンポーネントIDを含むトレースをトレース収集サーバ26へ出力するトレース出力部25を備える構成としている。これにより、バックエンドサービス20では、トレースを出力するための判定として、メッセージにトレース出力用情報が埋め込まれているか否かという単純な判定を用いることができる。すなわち、メッセージに関するトレースの出力を効率的に行うことができる。
In addition, the
また、本実施の形態にかかる情報通信システム100では、対象のデバイス1が接続されたエッジサーバ10でのみメッセージが所定の条件に合致するか否かの判定を行うことができる。このため、情報通信システム100では、トレースの出力による性能への影響を局所化することができる。
Further, in the
上述した実施の形態で述べたエッジサーバ10及びバックエンドサービス20により行われる処理は、エッジサーバ10及びバックエンドサービス20が備えるASIC(Application Specific Integrated Circuit)、DSP(Digital Signal Processor)、MPU(Micro Processing Unit)若しくはCPU(Central Processing Unit)又はこれらの組み合わせを含むコンピュータ・システムを用いて実現することができる。具体的には、ブロック図又はフローチャートを用いて説明したエッジサーバ10及びバックエンドサービス20における各機能部の処理に関する命令群を含むプログラムをコンピュータ・システムに実行させればよい。
The processes performed by the
上述の例において、プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD−ROM(Read Only Memory)、CD−R、CD−R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(Random Access Memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。 In the above example, the program can be stored and supplied to a computer using various types of non-transitory computer readable media. Non-transitory computer readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (for example, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (for example, magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W, semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory)) are included. The program may also be supplied to the computer by various types of transitory computer readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.
以上、実施の形態を参照して本願発明を説明したが、本願発明は上記実施の形態によって限定されるものではない。本願発明の構成や詳細には、発明のスコープ内で当業者が理解し得る様々な変更をすることができる。 Although the present invention has been described with reference to the embodiments, the present invention is not limited to the above embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the invention.
1 デバイス
10 エッジサーバ
11 受信部
12 条件判定部
13 埋め込み部
14 送信部
20 バックエンドサービス
21 受信部
22 ルーティング部
23 コンポーネント
24 サービスロジック
25 トレース出力部
26 トレース収集サーバ
100 情報通信システム
DESCRIPTION OF SYMBOLS 1
Claims (9)
前記メッセージが所定の条件に合致するか否かを判定する条件判定手段と、
前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込む埋め込み手段と、
前記メッセージをバックエンドサービスへ送信する送信手段と、
を備えるエッジサーバ。 Receiving means for receiving a message sent from the device;
Condition determining means for determining whether or not the message meets a predetermined condition;
Embedding means for embedding trace output information in the message when the message matches the predetermined condition;
Transmitting means for transmitting the message to a backend service;
An edge server.
前記エッジサーバは、
デバイスから送信されたメッセージを受信する受信手段と、
前記メッセージが所定の条件に合致するか否かを判定する条件判定手段と、
前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込む埋め込み手段と、
前記メッセージを前記バックエンドサービスへ送信する送信手段と、
を備え、
前記バックエンドサービスは、
前記エッジサーバから送信されたメッセージを受信する受信手段と、
前記メッセージの転送経路を制御するルーティング手段と、
それぞれ異なるサービスロジックを有する複数のコンポーネントと、
トレース収集サーバと、
を備え、
前記コンポーネントは、受け取ったメッセージに前記トレース出力用情報が埋め込まれているか否かを判定し、前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及び自コンポーネントのコンポーネントIDを含むトレースを前記トレース収集サーバへ出力するトレース出力手段を備える、
情報通信システム。 An edge server and a back-end service,
The edge server is
Receiving means for receiving a message sent from the device;
Condition determining means for determining whether or not the message meets a predetermined condition;
Embedding means for embedding trace output information in the message when the message matches the predetermined condition;
Transmitting means for transmitting the message to the backend service;
With
The backend service is
Receiving means for receiving a message transmitted from the edge server;
Routing means for controlling a transfer path of the message;
Multiple components, each with different service logic,
A trace collection server;
With
The component determines whether the trace output information is embedded in the received message.When the trace output information is embedded in the message, the component uses the trace output information, and A trace output means for outputting a trace including a message and a component ID of the component to the trace collection server;
Information communication system.
前記トレース出力手段は、受け取ったメッセージにトレース出力用情報が埋め込まれているか否かを判定し、前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及び自コンポーネントのコンポーネントIDを含むトレースをトレース収集サーバへ出力する、
コンポーネント。 Service logic and trace output means,
The trace output means determines whether or not the trace output information is embedded in the received message, and when the trace output information is embedded in the message, the trace output information is used, Outputting a trace including the message and the component ID of the component to the trace collection server;
component.
前記メッセージが所定の条件に合致するか否かを判定し、
前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込み、前記トレース出力用情報が埋め込まれたメッセージをバックエンドサービスへ送信し、
前記メッセージが前記所定の条件に合致しない場合に、前記トレース出力用情報が埋め込まれていないメッセージを前記バックエンドサービスへ送信する、
メッセージ処理方法。 Receive messages sent from the device,
Determining whether the message meets a predetermined condition;
When the message matches the predetermined condition, the trace output information is embedded in the message, and the message in which the trace output information is embedded is transmitted to a back-end service,
When the message does not meet the predetermined condition, a message in which the trace output information is not embedded is transmitted to the backend service.
Message processing method.
サービスロジックに基づく処理を実行し、
前記メッセージにトレース出力用情報が埋め込まれているか否かを判定し、
前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及びコンポーネントIDを含むトレースをトレース収集サーバへ出力する、
メッセージ処理方法。 Receives messages sent from edge servers,
Perform processing based on service logic,
It is determined whether or not trace output information is embedded in the message,
When the trace output information is embedded in the message, the trace including the message and the component ID is output to the trace collection server using the trace output information.
Message processing method.
前記メッセージが所定の条件に合致するか否かを判定し、
前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込み、前記トレース出力用情報が埋め込まれたメッセージをバックエンドサービスへ送信し、
前記メッセージが前記所定の条件に合致しない場合に、前記トレース出力用情報が埋め込まれていないメッセージを前記バックエンドサービスへ送信する、
メッセージ処理方法をコンピュータに実行させるプログラム。 Receive messages sent from the device,
Determining whether the message meets a predetermined condition;
When the message matches the predetermined condition, the trace output information is embedded in the message, and the message in which the trace output information is embedded is transmitted to a back-end service,
When the message does not meet the predetermined condition, a message in which the trace output information is not embedded is transmitted to the backend service.
A program that causes a computer to execute a message processing method.
サービスロジックに基づく処理を実行し、
前記メッセージにトレース出力用情報が埋め込まれているか否かを判定し、
前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及びコンポーネントIDを含むトレースをトレース収集サーバへ出力する、
メッセージ処理方法をコンピュータに実行させるプログラム。
Receives messages sent from edge servers,
Perform processing based on service logic,
It is determined whether or not trace output information is embedded in the message,
When the trace output information is embedded in the message, the trace including the message and the component ID is output to the trace collection server using the trace output information.
A program that causes a computer to execute a message processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017048462A JP6915318B2 (en) | 2017-03-14 | 2017-03-14 | Edge servers, information communication systems, components, message processing methods, and programs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017048462A JP6915318B2 (en) | 2017-03-14 | 2017-03-14 | Edge servers, information communication systems, components, message processing methods, and programs |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018151924A true JP2018151924A (en) | 2018-09-27 |
JP6915318B2 JP6915318B2 (en) | 2021-08-04 |
Family
ID=63680502
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017048462A Active JP6915318B2 (en) | 2017-03-14 | 2017-03-14 | Edge servers, information communication systems, components, message processing methods, and programs |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6915318B2 (en) |
-
2017
- 2017-03-14 JP JP2017048462A patent/JP6915318B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP6915318B2 (en) | 2021-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9337649B2 (en) | Fault processing system | |
US10019255B1 (en) | Incremental software deployment in a service environment | |
CN106502874A (en) | A kind of call chain tracking | |
US9929930B2 (en) | Reducing an amount of captured network traffic data to analyze | |
JP2018503307A5 (en) | ||
US11740997B2 (en) | Method and apparatus for debugging a device | |
CN113014640B (en) | Request processing method, request processing device, electronic equipment and storage medium | |
US11121912B2 (en) | Method and apparatus for processing information | |
JP6915318B2 (en) | Edge servers, information communication systems, components, message processing methods, and programs | |
JP2012150665A (en) | Terminal station device | |
JP6364727B2 (en) | Information processing system, distributed processing method, and program | |
CN107483294B (en) | Method and device for monitoring network request | |
CN112445504A (en) | Equipment firmware upgrading method, device and system | |
JP6421866B1 (en) | Sensor management unit, sensor device, sensor management method, and sensor management program | |
JP6610081B2 (en) | Service cooperation management system, apparatus, method and program | |
KR20160077145A (en) | Information feedback method and network node | |
US11082484B2 (en) | Load balancing system | |
JP6869883B2 (en) | Management equipment, management programs, management methods and communication systems | |
JP6595960B2 (en) | Network monitoring apparatus, network monitoring method, and network monitoring program | |
US10230460B2 (en) | Method and optical link management function for obtaining optical power level for an optical link | |
JP2016539543A (en) | Resource state acquisition method, apparatus and system, and computer storage medium | |
JP6149416B2 (en) | Service bus device, service bus device control method, message transmission / reception system, and program | |
WO2016199432A1 (en) | Service control device, service control method, and recording medium | |
US9813540B2 (en) | Method of computing statistical vehicle data using mobile terminal and apparatus for performing the same | |
JP2016158084A (en) | Data collection method, data collection system and communication device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200205 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200929 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20201027 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201222 |
|
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: 20210615 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210628 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6915318 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |