JP6915318B2 - Edge servers, information communication systems, components, message processing methods, and programs - Google Patents
Edge servers, information communication systems, components, message processing methods, and programs Download PDFInfo
- Publication number
- JP6915318B2 JP6915318B2 JP2017048462A JP2017048462A JP6915318B2 JP 6915318 B2 JP6915318 B2 JP 6915318B2 JP 2017048462 A JP2017048462 A JP 2017048462A JP 2017048462 A JP2017048462 A JP 2017048462A JP 6915318 B2 JP6915318 B2 JP 6915318B2
- Authority
- JP
- Japan
- Prior art keywords
- message
- trace
- output information
- trace output
- embedded
- 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.)
- Active
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、エッジサーバ、情報通信システム、コンポーネント、メッセージ処理方法、及びプログラムに関し、特に、トレースに関する処理を行うエッジサーバ、情報通信システム、コンポーネント、メッセージ処理方法、及びプログラムに関する。 The present invention relates to an edge server, an information communication system, a component, a message processing method, and a program, and more particularly 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 in which each component has its own log level setting is known. In this model, by raising the log level of each component, it is possible to output the information of the passed message to the log file of each component.
分散コンポーネントIoTシステムにおいて、テストや障害解析の目的で、所定のメッセージがどのコンポーネントを通過したか、所定のメッセージがどこまで到達したかのトレースを出力することが求められる。上述のモデルをテストや障害解析に用いる場合、すべてのコンポーネントのログレベルを同時に上げ、且つすべてのコンポーネントのログファイルから目的のID等の識別情報が入ったログメッセージを探して繋ぎ合わせる必要があった。 In a 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 or failure analysis. When using the above model for testing and failure analysis, it is necessary to raise the log level of all components at the same time, and search the log files of all components for log messages containing identification information such as the target ID and connect them. rice field.
また、特許文献1には、複数のネットワークエレメントの監視のために、ネットワークエレメントと管理サーバとの間にデータ収集機構を配置した構成が開示されている。 Further, 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 the data of all the components by using the configuration disclosed in Patent Document 1, the data collection mechanism monitors all of the huge messages sent from a large number of devices. Therefore, there was a problem that the load was 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 that data. In such a case, the data collection mechanism checks 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 related to a message. The purpose is to do.
本発明の第1の態様にかかるエッジサーバは、デバイスから送信されたメッセージを受信する受信手段と、前記メッセージが所定の条件に合致するか否かを判定する条件判定手段と、前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込む埋め込み手段と、前記メッセージをバックエンドサービスへ送信する送信手段と、を備えるものである。 The edge server according to the first aspect of the present invention includes a receiving means for receiving a message transmitted from a device, a condition determining means for determining whether or not the message meets a predetermined condition, and the message. It includes an embedding means for embedding trace output information in the message when a predetermined condition is met, and a transmitting means for transmitting the message to a back-end service.
本発明の第2の態様にかかる情報通信システムは、エッジサーバと、バックエンドサービスと、を備え、前記エッジサーバは、デバイスから送信されたメッセージを受信する受信手段と、前記メッセージが所定の条件に合致するか否かを判定する条件判定手段と、前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込む埋め込み手段と、前記メッセージを前記バックエンドサービスへ送信する送信手段と、を備え、前記バックエンドサービスは、前記エッジサーバから送信されたメッセージを受信する受信手段と、前記メッセージの転送経路を制御するルーティング手段と、それぞれ異なるサービスロジックを有する複数のコンポーネントと、トレース収集サーバと、を備え、前記コンポーネントは、受け取ったメッセージに前記トレース出力用情報が埋め込まれているか否かを判定し、前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及び自コンポーネントのコンポーネントIDを含むトレースを前記トレース収集サーバへ出力するトレース出力手段を備えるものである。 The information communication system according to the second aspect of the present invention includes an edge server and a back-end service, the edge server includes a receiving means for receiving a message transmitted from a device, and the message is a predetermined condition. A condition determining means for determining whether or not the message matches, an embedding means for embedding trace output information in the message when the message matches the predetermined condition, and transmitting the message to the back-end service. The back-end service includes a transmitting means, a receiving means for receiving a message transmitted from the edge server, a routing means for controlling a forwarding route of the message, and a plurality of components having different service logics. , And the trace collection server, the component determines whether or not the trace output information is embedded in the received message, and if the trace output information is embedded in the message, the above. It is provided with a trace output means for outputting a trace including the message and the component ID of its own component to the trace collection server by using the trace output information.
本発明の第3の態様にかかるコンポーネントは、サービスロジックと、トレース出力手段と、を備え、前記トレース出力手段は、受け取ったメッセージにトレース出力用情報が埋め込まれているか否かを判定し、前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及び自コンポーネントのコンポーネントIDを含むトレースをトレース収集サーバへ出力するものである。 The component according to the third aspect of the present invention includes a service logic and a trace output means, and the trace output means determines whether or not trace output information is embedded in the received message, and the above-mentioned When the trace output information is embedded in the message, the trace including the message and the component ID of the own component is output to the trace collection server by using the trace output information.
本発明の第4の態様にかかるメッセージ処理方法は、デバイスから送信されたメッセージを受信し、前記メッセージが所定の条件に合致するか否かを判定し、前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込み、前記トレース出力用情報が埋め込まれたメッセージをバックエンドサービスへ送信し、前記メッセージが前記所定の条件に合致しない場合に、前記トレース出力用情報が埋め込まれていないメッセージを前記バックエンドサービスへ送信するものである。 The message processing method according to the fourth aspect of the present invention receives the message transmitted from the device, determines whether or not the message meets a predetermined condition, and the message matches 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 the back-end service, and when the message does not meet the predetermined condition, the trace output information is used. It sends an unembedded message to the backend service.
本発明の第5の態様にかかるメッセージ処理方法は、エッジサーバから送信されたメッセージを受け取り、サービスロジックに基づく処理を実行し、前記メッセージにトレース出力用情報が埋め込まれているか否かを判定し、前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及びコンポーネントIDを含むトレースをトレース収集サーバへ出力するものである。 The message processing method according to the fifth aspect of the present invention receives a message transmitted from an edge server, executes processing 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 output information is used to output the trace including the message and the component ID to the trace collection server.
本発明の第6の態様にかかるプログラムは、デバイスから送信されたメッセージを受信し、前記メッセージが所定の条件に合致するか否かを判定し、前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込み、前記トレース出力用情報が埋め込まれたメッセージをバックエンドサービスへ送信し、前記メッセージが前記所定の条件に合致しない場合に、前記トレース出力用情報が埋め込まれていないメッセージを前記バックエンドサービスへ送信する、メッセージ処理方法をコンピュータに実行させるものである。 The program according to the sixth aspect of the present invention receives the message transmitted from the 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 the back-end service, and when the message does not meet the predetermined conditions, the trace output information is embedded. It causes a computer to execute a message processing method of sending an unemployed message to the back-end service.
本発明の第7の態様にかかるプログラムは、エッジサーバから送信されたメッセージを受け取り、サービスロジックに基づく処理を実行し、前記メッセージにトレース出力用情報が埋め込まれているか否かを判定し、前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及びコンポーネントIDを含むトレースをトレース収集サーバへ出力する、メッセージ処理方法をコンピュータに実行させるものである。 The program according to the seventh aspect of the present invention receives the message transmitted from the edge server, executes the process based on the service logic, determines whether or not the trace output information is embedded in the message, and determines whether or not the trace output information is embedded in the message. When the trace output information is embedded in the message, the computer is made to execute a message processing method that outputs the trace including the message and the component ID to the trace collection server by using the trace output information. be.
本発明により、メッセージに関するトレースの出力を効率的に行うことができるエッジサーバ、情報通信システム、コンポーネント、メッセージ処理方法、及びプログラムを提供することができる。 INDUSTRIAL APPLICABILITY 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 capable of efficiently outputting a trace related to a message.
実施の形態
まず、図1のブロック図を用いて、本発明の実施の形態にかかる情報通信システム100の構成例について説明する。本実施の形態にかかる情報通信システム100は、デバイス1と、エッジネットワーク2と、エッジサーバ10と、広域ネットワーク3と、バックエンドサービス20と、を備えている。
Embodiment First, a configuration example of the
デバイス1は、例えば、無線通信端末、各種センサ等である。なお、図1の例では、3つのデバイス1を示しているが、デバイス1の数は3つに限らない。 The device 1 is, for example, a wireless communication terminal, various sensors, and the like. 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. Further, the device 1 transmits the generated message to the
エッジネットワーク2は、デバイス1とエッジサーバ10とを接続するネットワークである。なお、図1の例では、情報通信システム100が3つのエッジサーバ10を備える構成を示しているが、情報通信システム100が備えるエッジサーバ10の数は3つに限らない。
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へ出力する。
When the received message matches a predetermined condition, 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に受信される。
The explanation will be continued by 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つに限らない。
Subsequently, 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を備えている。
The
コンポーネント23A〜23Cが、農場等の農業分野についてのコンポーネントである具体例について説明する。この場合、サービスロジック24Aは、例えば、メッセージに含まれる温度データに関する判定ロジックである。また、サービスロジック24Bは、例えば、メッセージに含まれる湿度データに関する判定ロジックである。また、サービスロジック24Cは、例えば、メッセージに含まれる二酸化炭素データに関する判定ロジックである。例えば、サービスロジック24Aは、メッセージに含まれる温度データが所定の温度以上である場合に、ユーザの無線通信端末等の所定の宛先へ通知する等の処理を行う。また、サービスロジック24Bは、メッセージに含まれる湿度データが所定の湿度以上である場合に、所定の宛先へ通知する等の処理を行う。また、サービスロジック24Cは、メッセージに含まれる二酸化炭素データが所定の二酸化炭素濃度以上である場合に、所定の宛先へ通知する等の処理を行う。
Specific examples 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を備えている。
Subsequently, a configuration example of the
トレース収集サーバ26は、コンポーネント23からトレースを取得すると、取得されたトレースをトレースファイル27に書き込む。これにより、メッセージにトレース出力用情報が埋め込まれている場合には、コンポーネント23A、コンポーネント23B、コンポーネント23Cの順番で、メッセージ及びコンポーネント23A〜23CのコンポーネントIDが、トレースファイル27に書き込まれる。このため、トレースファイル27を参照することにより、所定のメッセージがどのコンポーネントを通過したか、所定のメッセージがどのコンポーネントまで到達したかを把握することができる。
When the
続いて、図6のフローチャートを用いて、エッジサーバ10の処理例について説明する。
Subsequently, a processing example of the
まず、エッジサーバ10は、デバイス1から送信されたメッセージを受信する(ステップS101)。
First, the
次に、エッジサーバ10は、受信されたメッセージが所定の条件に合致するか否かを判定する(ステップS102)。
Next, the
受信されたメッセージが所定の条件に合致する場合(ステップS102にてYES)、エッジサーバ10は、トレース出力用情報をメッセージに埋め込む(ステップS103)。次に、エッジサーバ10は、メッセージをバックエンドサービス20へ送信する(ステップS104)。すなわち、エッジサーバ10は、トレース出力用情報が埋め込まれたメッセージをバックエンドサービス20へ送信する。
When 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の処理例について説明する。
Subsequently, 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, in the
また、本実施の形態にかかるコンポーネント23は、受け取ったメッセージにトレース出力用情報が埋め込まれているか否かを判定し、トレース出力用情報が埋め込まれている場合に、トレース出力用情報を用いて、メッセージ及び自コンポーネントのコンポーネントIDを含むトレースをトレース収集サーバ26へ出力するトレース出力部25を備える構成としている。これにより、バックエンドサービス20では、トレースを出力するための判定として、メッセージにトレース出力用情報が埋め込まれているか否かという単純な判定を用いることができる。すなわち、メッセージに関するトレースの出力を効率的に行うことができる。
Further, 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 processing 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 medium. Non-transitory computer-readable media include various types of tangible storage media. Examples of non-temporary computer-readable media include magnetic recording media (eg, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (eg, 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 transient computer readable medium. Examples of temporary computer-readable media include electrical, optical, 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 above 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 within the scope of the invention in the configuration and details of the invention of the present application.
1 デバイス
10 エッジサーバ
11 受信部
12 条件判定部
13 埋め込み部
14 送信部
20 バックエンドサービス
21 受信部
22 ルーティング部
23 コンポーネント
24 サービスロジック
25 トレース出力部
26 トレース収集サーバ
100 情報通信システム
1
Claims (10)
前記メッセージが所定の条件に合致するか否かを判定する条件判定手段と、
前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込む埋め込み手段と、
前記メッセージをバックエンドサービスへ送信する送信手段と、
を備え、
前記トレース出力用情報は、トレースの出力先を示す情報である、
エッジサーバ。 Receiving means to receive messages sent from the device,
A condition determining means for determining whether or not the message meets a predetermined condition,
An embedding means for embedding trace output information in the message when the message meets the predetermined conditions.
A means of transmitting the message to the back-end service and
Equipped with a,
The trace output information is information indicating a trace output destination.
Edge server.
前記メッセージが所定の条件に合致するか否かを判定する条件判定手段と、 A condition determining means for determining whether or not the message meets a predetermined condition,
前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込む埋め込み手段と、 An embedding means for embedding trace output information in the message when the message meets the predetermined conditions.
前記メッセージを、トレース収集サーバ及び複数のコンポーネントを含むバックエンドサービスへ送信する送信手段と、 A means of transmitting the message to a trace collection server and a back-end service including a plurality of components.
を備え、 With
前記トレース出力用情報は、前記複数のコンポーネントのそれぞれにおいて、前記トレース収集サーバにトレースを出力するか否かの判定に用いられる、 The trace output information is used in each of the plurality of components to determine whether or not to output a trace to the trace collection server.
エッジサーバ。 Edge server.
前記エッジサーバは、
デバイスから送信されたメッセージを受信する受信手段と、
前記メッセージが所定の条件に合致するか否かを判定する条件判定手段と、
前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込む埋め込み手段と、
前記メッセージを前記バックエンドサービスへ送信する送信手段と、
を備え、
前記バックエンドサービスは、
前記エッジサーバから送信されたメッセージを受信する受信手段と、
前記メッセージの転送経路を制御するルーティング手段と、
それぞれ異なるサービスロジックを有する複数のコンポーネントと、
トレース収集サーバと、
を備え、
前記コンポーネントは、受け取ったメッセージに前記トレース出力用情報が埋め込まれているか否かを判定し、前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及び自コンポーネントのコンポーネントIDを含むトレースを前記トレース収集サーバへ出力するトレース出力手段を備える、
情報通信システム。 It has an edge server and a back-end service.
The edge server
Receiving means to receive messages sent from the device,
A condition determining means for determining whether or not the message meets a predetermined condition,
An embedding means for embedding trace output information in the message when the message meets the predetermined conditions.
A transmission means for transmitting the message to the back-end service, and
With
The back-end service
A receiving means for receiving the message transmitted from the edge server, and
A routing means that controls the transfer route of the message, and
With multiple components, each with a different service logic
Trace collection server and
With
The component 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 to describe the above. A trace output means for outputting a trace including a message and a component ID of its own component to the trace collection server is provided.
Information communication system.
前記トレース出力手段は、受け取ったメッセージにトレース出力用情報が埋め込まれているか否かを判定し、前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及び自コンポーネントのコンポーネントIDを含むトレースをトレース収集サーバへ出力する、
コンポーネント。 With 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 to determine whether or not the trace output information is embedded in the message. Output the trace including the above message and the component ID of the own component to the trace collection server.
component.
前記メッセージが所定の条件に合致するか否かを判定し、
前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込み、前記トレース出力用情報が埋め込まれたメッセージをバックエンドサービスへ送信し、
前記メッセージが前記所定の条件に合致しない場合に、前記トレース出力用情報が埋め込まれていないメッセージを前記バックエンドサービスへ送信し、
前記トレース出力用情報は、トレースの出力先を示す情報である、
メッセージ処理方法。 Receive the message sent from the device and
It is determined whether or not the message meets a predetermined condition, and it is determined.
When the message meets the predetermined conditions, the trace output information is embedded in the message, and the message in which the trace output information is embedded is transmitted to the 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 back-end service.
The trace output information is information indicating a trace output destination.
Message processing method.
前記メッセージが所定の条件に合致するか否かを判定し、 It is determined whether or not the message meets a predetermined condition, and it is determined.
前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込み、前記トレース出力用情報が埋め込まれたメッセージを、トレース収集サーバ及び複数のコンポーネントを含むバックエンドサービスへ送信し、 When the message meets the predetermined conditions, the trace output information is embedded in the message, and the message in which the trace output information is embedded is transmitted to the trace collection server and the back-end service including a plurality of components. ,
前記メッセージが前記所定の条件に合致しない場合に、前記トレース出力用情報が埋め込まれていないメッセージを前記バックエンドサービスへ送信し、 When the message does not meet the predetermined condition, a message in which the trace output information is not embedded is transmitted to the back-end service.
前記トレース出力用情報は、前記複数のコンポーネントのそれぞれにおいて、前記トレース収集サーバにトレースを出力するか否かの判定に用いられる、 The trace output information is used in each of the plurality of components to determine whether or not to output a trace to the trace collection server.
メッセージ処理方法。 Message processing method.
サービスロジックに基づく処理を実行し、
前記メッセージにトレース出力用情報が埋め込まれているか否かを判定し、
前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及びコンポーネントIDを含むトレースをトレース収集サーバへ出力する、
メッセージ処理方法。 Receive the message sent from the edge server
Execute processing based on service logic,
It is determined whether or not the trace output information is embedded in the message, and it is determined.
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 by using the trace output information.
Message processing method.
前記メッセージが所定の条件に合致するか否かを判定し、
前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込み、前記トレース出力用情報が埋め込まれたメッセージをバックエンドサービスへ送信し、
前記メッセージが前記所定の条件に合致しない場合に、前記トレース出力用情報が埋め込まれていないメッセージを前記バックエンドサービスへ送信する、
メッセージ処理方法をコンピュータに実行させ、
前記トレース出力用情報は、トレースの出力先を示す情報である、
プログラム。 Receive the message sent from the device and
It is determined whether or not the message meets a predetermined condition, and it is determined.
When the message meets the predetermined conditions, the trace output information is embedded in the message, and the message in which the trace output information is embedded is transmitted to the back-end service.
When the message does not meet the predetermined condition, the message in which the trace output information is not embedded is transmitted to the back-end service.
Let the computer execute the message processing method
The trace output information is information indicating a trace output destination.
program.
サービスロジックに基づく処理を実行し、
前記メッセージにトレース出力用情報が埋め込まれているか否かを判定し、
前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及びコンポーネントIDを含むトレースをトレース収集サーバへ出力する、
メッセージ処理方法をコンピュータに実行させるプログラム。 Receive the message sent from the edge server
Execute processing based on service logic,
It is determined whether or not the trace output information is embedded in the message, and it is determined.
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 by 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 JP2018151924A (en) | 2018-09-27 |
JP6915318B2 true 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 |
---|---|
JP2018151924A (en) | 2018-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2020510331A5 (en) | ||
CN106502874A (en) | A kind of call chain tracking | |
US9337649B2 (en) | Fault processing system | |
KR20170121242A (en) | Identity authentication methods, devices and systems | |
JP2023503701A (en) | POSITIONING INFORMATION PROCESSING METHOD, DEVICE AND STORAGE MEDIUM | |
JP2019515595A (en) | Data transmission method, apparatus and system | |
JP6153639B2 (en) | Protocol automatic setting method for PLC system | |
JP6915318B2 (en) | Edge servers, information communication systems, components, message processing methods, and programs | |
JP2019215880A5 (en) | IoT system | |
WO2015114713A1 (en) | Communication system, common service control apparatus, data collection method, and non-transitory computer readable medium | |
JP2012150665A (en) | Terminal station device | |
JP6364727B2 (en) | Information processing system, distributed processing method, and program | |
CN112445504A (en) | Equipment firmware upgrading method, device and system | |
CN107493308B (en) | Method and device for sending message and distributed equipment cluster system | |
WO2019031161A1 (en) | Sensor management unit, sensor device, sensor management method, and sensor management program | |
JP6610081B2 (en) | Service cooperation management system, apparatus, method and program | |
US11082484B2 (en) | Load balancing system | |
JP2007281783A (en) | Communication control method, and communication control unit | |
US20160337218A1 (en) | Method and system of monitoring network | |
JP6720120B2 (en) | Storage device, file writing method, and program | |
JP6149416B2 (en) | Service bus device, service bus device control method, message transmission / reception system, and program | |
US10230460B2 (en) | Method and optical link management function for obtaining optical power level for an optical link | |
JP5596718B2 (en) | Signal processing allocation determination device and signal processing allocation determination method | |
KR102201528B1 (en) | Information Age based Scheduling Method and System for Wireless Power Transfer IoT Networks | |
JP5119185B2 (en) | Communication terminal, data inspection server, and data inspection system |
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 |