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 PDF

Info

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
Application number
JP2017048462A
Other languages
Japanese (ja)
Other versions
JP6915318B2 (en
Inventor
圭祐 梶ヶ谷
Keisuke Kajigaya
圭祐 梶ヶ谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2017048462A priority Critical patent/JP6915318B2/en
Publication of JP2018151924A publication Critical patent/JP2018151924A/en
Application granted granted Critical
Publication of JP6915318B2 publication Critical patent/JP6915318B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an edge server capable of efficiently outputting a trace relating to a message.SOLUTION: This edge server 10 comprises: a receiving part 11 for receiving a message transmitted from a device 1; a condition determination part 12 for determining whether or not the message is matched with a prescribed condition; an embedding part 13 for embedding trace outputting information in the message when the message is matched with the prescribed condition; and a transmission part 14 for transmitting the message to a back end service 20.SELECTED DRAWING: Figure 2

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.

特開2000−324137号公報JP 2000-324137 A

しかし、特許文献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.

本発明の実施の形態にかかる情報通信システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the information communication system concerning embodiment of this invention. 本発明の実施の形態にかかるエッジサーバの構成例を示すブロック図である。It is a block diagram which shows the structural example of the edge server concerning embodiment of this invention. 本発明の実施の形態にかかるバックエンドサービスの構成例を示すブロック図である。It is a block diagram which shows the structural example of the back end service concerning embodiment of this invention. 本発明の実施の形態にかかるコンポーネントの構成例を示すブロック図である。It is a block diagram which shows the structural example of the component concerning embodiment of this invention. 本発明の実施の形態にかかるトレース収集サーバの構成例を示すブロック図である。It is a block diagram which shows the structural example of the trace collection server concerning embodiment of this invention. 本発明の実施の形態にかかるエッジサーバの処理例を示すフローチャートである。It is a flowchart which shows the process example of the edge server concerning embodiment of this invention. 本発明の実施の形態にかかるコンポーネントの処理例を示すフローチャートである。It is a flowchart which shows the process example of the component concerning embodiment of this invention.

実施の形態
まず、図1のブロック図を用いて、本発明の実施の形態にかかる情報通信システム100の構成例について説明する。本実施の形態にかかる情報通信システム100は、デバイス1と、エッジネットワーク2と、エッジサーバ10と、広域ネットワーク3と、バックエンドサービス20と、を備えている。
Embodiment First, a configuration example of an information communication system 100 according to an embodiment of the present invention will be described using the block diagram of FIG. The information communication system 100 according to the present embodiment includes a device 1, an edge network 2, an edge server 10, a wide area network 3, and a backend service 20.

デバイス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 edge server 10 connected via the edge network 2. That is, the device 1 transmits a message to one edge server 10 to which the device 1 is connected among the plurality of edge servers 10.

エッジネットワーク2は、デバイス1とエッジサーバ10とを接続するネットワークである。なお、図1の例では、情報通信システム100が3つのエッジサーバ10を備える構成を示しているが、情報通信システム100が備えるエッジサーバ10の数は3つに限らない。   The edge network 2 is a network that connects the device 1 and the edge server 10. In the example of FIG. 1, the information communication system 100 includes the three edge servers 10. However, the number of the edge servers 10 included in the information communication system 100 is not limited to three.

ここで、図2のブロック図を用いて、エッジサーバ10の構成例について説明する。エッジサーバ10は、受信部11と、条件判定部12と、埋め込み部13と、送信部14と、を備えている。   Here, a configuration example of the edge server 10 will be described with reference to the block diagram of FIG. The edge server 10 includes a reception unit 11, a condition determination unit 12, an embedding unit 13, and a transmission unit 14.

受信部11は、デバイス1から送信されたメッセージを受信する。また、受信部11は、受信されたメッセージを条件判定部12へ出力する。   The receiving unit 11 receives a message transmitted from the device 1. In addition, the reception unit 11 outputs the received message to the condition determination unit 12.

条件判定部12は、受信部11からメッセージを受け取る。また、条件判定部12は、受け取ったメッセージが所定の条件に合致するか否かを判定する。なお、所定の条件とは、例えばメッセージに含まれるデータのタイプやデータの範囲等についての条件である。具体例としては、データのタイプが温度である、データの値が30以上である等の条件である。なお、所定の条件は、設定可能としてもよい。   The condition determination unit 12 receives a message from the reception unit 11. In addition, the condition determination unit 12 determines whether the received message meets a predetermined condition. The predetermined condition is a condition regarding, for example, the type of data included in the message and the data range. Specific examples include conditions such that the data type is temperature and the data value is 30 or more. Note that the predetermined condition may be settable.

条件判定部12は、受け取ったメッセージが所定の条件に合致する場合、当該メッセージを埋め込み部13へ出力する。また、条件判定部12は、受け取ったメッセージが所定の条件に合致しない場合、当該メッセージを送信部14へ出力する。   The condition determination unit 12 outputs the message to the embedding unit 13 when the received message matches a predetermined condition. In addition, the condition determination unit 12 outputs the message to the transmission unit 14 when the received message does not meet a predetermined condition.

埋め込み部13は、条件判定部12からメッセージを受け取る。また、埋め込み部13は、受け取ったメッセージにトレース出力用情報を埋め込む。すなわち、埋め込み部13は、受け取ったメッセージが所定の条件に合致する場合に、トレース出力用情報を当該メッセージに埋め込む。なお、トレース出力用情報とは、例えば、バックエンドサービス20におけるトレース収集サーバのURL(Uniform Resource Locator)等のトレースの出力先を示す情報であるがこれに限らない。トレース出力用情報は、バックエンドサービス20にてトレースを出力することを可能にする情報であればどのような情報でもよい。そして、埋め込み部13は、トレース出力用情報が埋め込まれたメッセージを送信部14へ出力する。   The embedding unit 13 receives a message from the condition determining unit 12. The embedding unit 13 embeds trace output information in the received message. That is, the embedding unit 13 embeds the trace output information in the message when the received message matches a predetermined condition. The trace output information is, for example, information indicating a trace output destination such as a URL (Uniform Resource Locator) of the trace collection server in the back-end service 20, but is not limited thereto. The trace output information may be any information as long as it enables the backend service 20 to output a trace. Then, the embedding unit 13 outputs the message in which the trace output information is embedded to the transmitting unit 14.

送信部14は、受け取ったメッセージをバックエンドサービス20へ送信する。すなわち、送信部14は、条件判定部12からメッセージを受け取った場合には、トレース出力用情報が埋め込まれていないメッセージをバックエンドサービス20へ送信する。また、送信部14は、埋め込み部13からメッセージを受け取った場合には、トレース出力用情報が埋め込まれたメッセージをバックエンドサービス20へ送信する。   The transmission unit 14 transmits the received message to the backend service 20. That is, when the transmission unit 14 receives a message from the condition determination unit 12, the transmission unit 14 transmits a message in which the trace output information is not embedded to the back-end service 20. Further, when receiving a message from the embedding unit 13, the transmitting unit 14 transmits a message in which the trace output information is embedded to the back-end service 20.

図1に戻り説明を続ける。広域ネットワーク3は、エッジサーバ10とバックエンドサービス20とを接続するネットワークである。エッジサーバ10の送信部14により送信されたメッセージは、広域ネットワーク3を介してバックエンドサービス20に受信される。   Returning to FIG. The wide area network 3 is a network that connects the edge server 10 and the back-end service 20. The message transmitted by the transmission unit 14 of the edge server 10 is received by the back end service 20 via the wide area network 3.

続いて、図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-end service 20 will be described using the block diagram of FIG. The back-end service 20 includes a receiving unit 21, a routing unit 22, a component 23A, a component 23B, a component 23C, and a trace collection server 26. In the example of FIG. 3, the back end service 20 includes a configuration including the three components 23 A to 23 C. However, the number of the components 23 included in the back end service 20 is not limited to three.

受信部21は、エッジサーバ10の送信部14から送信されたメッセージを受信する。また、受信部21は、受信されたメッセージをルーティング部22へ出力する。   The receiving unit 21 receives a message transmitted from the transmitting unit 14 of the edge server 10. In addition, the reception unit 21 outputs the received message to the routing unit 22.

ルーティング部22は、受信部21からメッセージを受け取る。また、ルーティング部22は、受け取ったメッセージの転送経路を制御する。具体的には、ルーティング部22は、受け取ったメッセージを、どのコンポーネント23へどのような順番で転送するかについての制御を行う。例えば、ルーティング部22は、ルーティング情報を備えており、そのルーティング情報に基づいて転送経路の制御を行う。以下、コンポーネント23A、コンポーネント23B、コンポーネント23Cの順番でメッセージが転送される例について説明する。ルーティング部22は、メッセージをコンポーネント23Aへ出力する。   The routing unit 22 receives a message from the receiving unit 21. The routing unit 22 controls the transfer path of the received message. Specifically, the routing unit 22 controls which component 23 the received message is transferred in what order. For example, the routing unit 22 includes routing information, and controls the transfer path based on the routing information. Hereinafter, an example in which messages are transferred in the order of the component 23A, the component 23B, and the component 23C will be described. The routing unit 22 outputs the message to the component 23A.

ここで、図4のブロック図を用いて、コンポーネント23の構成例について説明する。コンポーネント23は、サービスロジック24と、トレース出力部25と、を備えている。   Here, a configuration example of the component 23 will be described with reference to the block diagram of FIG. The component 23 includes a service logic 24 and a trace output unit 25.

コンポーネント23A〜23Cは、それぞれ異なるサービスロジック24を備えている。すなわち、コンポーネント23Aはサービスロジック24Aを備え、コンポーネント23Bはサービスロジック24Bを備え、コンポーネント23Cはサービスロジック24Cを備えている。   Each of the components 23A to 23C includes a different service logic 24. That is, the component 23A includes a service logic 24A, the component 23B includes a service logic 24B, and the component 23C includes a service logic 24C.

コンポーネント23A〜23Cが、農場等の農業分野についてのコンポーネントである具体例について説明する。この場合、サービスロジック24Aは、例えば、メッセージに含まれる温度データに関する判定ロジックである。また、サービスロジック24Bは、例えば、メッセージに含まれる湿度データに関する判定ロジックである。また、サービスロジック24Cは、例えば、メッセージに含まれる二酸化炭素データに関する判定ロジックである。例えば、サービスロジック24Aは、メッセージに含まれる温度データが所定の温度以上である場合に、ユーザの無線通信端末等の所定の宛先へ通知する等の処理を行う。また、サービスロジック24Bは、メッセージに含まれる湿度データが所定の湿度以上である場合に、所定の宛先へ通知する等の処理を行う。また、サービスロジック24Cは、メッセージに含まれる二酸化炭素データが所定の二酸化炭素濃度以上である場合に、所定の宛先へ通知する等の処理を行う。   A specific example in which the components 23A to 23C are components in the agricultural field such as a farm will be described. In this case, the service logic 24A is, for example, determination logic related to temperature data included in the message. The service logic 24B is determination logic related to humidity data included in the message, for example. The service logic 24C is determination logic related to carbon dioxide data included in the message, for example. For example, when the temperature data included in the message is equal to or higher than a predetermined temperature, the service logic 24A performs processing such as notifying a predetermined destination such as a user's wireless communication terminal. Further, the service logic 24B performs processing such as notifying a predetermined destination when the humidity data included in the message is equal to or higher than the predetermined humidity. Further, the service logic 24C performs processing such as notifying a predetermined destination when the carbon dioxide data included in the message is equal to or higher than a predetermined carbon dioxide concentration.

トレース出力部25は、受け取ったメッセージにトレース出力用情報が埋め込まれているか否かを判定する。また、トレース出力部25は、メッセージにトレース出力用情報が埋め込まれている場合に、トレース出力用情報を用いて、当該メッセージ及び自コンポーネントのコンポーネントIDを含むトレースをトレース収集サーバ26へ出力する。具体的には、コンポーネント23Aのトレース出力部25は、ルーティング部22から受け取ったメッセージにトレース出力用情報が埋め込まれている場合に、当該メッセージ及びコンポーネント23AのコンポーネントIDを含むトレースをトレース収集サーバ26へ出力する。そして、コンポーネント23Aは、ルーティング部22による転送経路制御により、ルーティング部22から受け取ったメッセージをコンポーネント23Bへ出力する。なお、コンポーネント23Aは、メッセージにトレース出力用情報が埋め込まれていない場合には、トレースの出力を行わずに、ルーティング部22から受け取ったメッセージをコンポーネント23Bへ出力する。   The trace output unit 25 determines whether or not the trace output information is embedded in the received message. In addition, when the trace output information is embedded in the message, the trace output unit 25 outputs the trace including the message and the component ID of the self component to the trace collection server 26 using the trace output information. Specifically, the trace output unit 25 of the component 23A, when the trace output information is embedded in the message received from the routing unit 22, displays the trace including the message and the component ID of the component 23A on the trace collection server 26. Output to. Then, the component 23A outputs the message received from the routing unit 22 to the component 23B by the transfer path control by the routing unit 22. If the trace output information is not embedded in the message, the component 23A outputs the message received from the routing unit 22 to the component 23B without outputting the trace.

コンポーネント23B及びコンポーネント23Cのトレース出力部25は、コンポーネント23Aのトレース出力部25と同様の処理を行う。これにより、メッセージにトレース出力用情報が埋め込まれている場合には、コンポーネント23A、コンポーネント23B、コンポーネント23Cの順番で、メッセージ及びコンポーネント23A〜23CのコンポーネントIDが、トレース収集サーバ26へ出力される。   The trace output unit 25 of the component 23B and the component 23C performs the same processing as the trace output unit 25 of the component 23A. Thus, when the trace output information is embedded in the message, the message and the component IDs of the components 23A to 23C are output to the trace collection server 26 in the order of the component 23A, the component 23B, and the component 23C.

続いて、図5のブロック図を用いて、トレース収集サーバ26の構成例について説明する。トレース収集サーバ26は、トレースファイル27を備えている。   Next, a configuration example of the trace collection server 26 will be described using the block diagram of FIG. The trace collection server 26 includes a trace file 27.

トレース収集サーバ26は、コンポーネント23からトレースを取得すると、取得されたトレースをトレースファイル27に書き込む。これにより、メッセージにトレース出力用情報が埋め込まれている場合には、コンポーネント23A、コンポーネント23B、コンポーネント23Cの順番で、メッセージ及びコンポーネント23A〜23CのコンポーネントIDが、トレースファイル27に書き込まれる。このため、トレースファイル27を参照することにより、所定のメッセージがどのコンポーネントを通過したか、所定のメッセージがどのコンポーネントまで到達したかを把握することができる。   When acquiring the trace from the component 23, the trace collection server 26 writes the acquired trace in the trace file 27. Thus, when the trace output information is embedded in the message, the message and the component IDs of the components 23A to 23C are written in the trace file 27 in the order of the component 23A, the component 23B, and the component 23C. For this reason, by referring to the trace file 27, it is possible to grasp which component the predetermined message has passed and which component the predetermined message has reached.

続いて、図6のフローチャートを用いて、エッジサーバ10の処理例について説明する。   Next, a processing example of the edge server 10 will be described using the flowchart of FIG.

まず、エッジサーバ10は、デバイス1から送信されたメッセージを受信する(ステップS101)。   First, the edge server 10 receives a message transmitted from the device 1 (step S101).

次に、エッジサーバ10は、受信されたメッセージが所定の条件に合致するか否かを判定する(ステップS102)。   Next, the edge server 10 determines whether or not the received message meets a predetermined condition (step S102).

受信されたメッセージが所定の条件に合致する場合(ステップS102にてYES)、エッジサーバ10は、トレース出力用情報をメッセージに埋め込む(ステップS103)。次に、エッジサーバ10は、メッセージをバックエンドサービス20へ送信する(ステップS104)。すなわち、エッジサーバ10は、トレース出力用情報が埋め込まれたメッセージをバックエンドサービス20へ送信する。   If the received message matches a predetermined condition (YES in step S102), the edge server 10 embeds the trace output information in the message (step S103). Next, the edge server 10 transmits a message to the backend service 20 (step S104). That is, the edge server 10 transmits a message in which the trace output information is embedded to the backend service 20.

他方、受信されたメッセージが所定の条件に合致しない場合(ステップ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 edge server 10 transmits a message in which the trace output information is not embedded to the backend service 20 (step S104).

続いて、図7のフローチャートを用いて、コンポーネント23の処理例について説明する。   Next, a processing example of the component 23 will be described using the flowchart of FIG.

まず、コンポーネント23は、エッジサーバ10から送信されたメッセージを受け取る(ステップS201)。   First, the component 23 receives a message transmitted from the edge server 10 (step S201).

次に、コンポーネント23は、自コンポーネントが備えているサービスロジックに基づく処理を実行する(ステップS202)。   Next, the component 23 executes a process based on the service logic included in the component (step S202).

次に、コンポーネント23は、メッセージにトレース出力用情報が埋め込まれているか否かを判定する(ステップS203)。   Next, the component 23 determines whether or not trace output information is embedded in the message (step S203).

メッセージにトレース出力用情報が埋め込まれている場合(ステップS203にてYES)、コンポーネント23は、トレース出力用情報を用いて、メッセージ及び自コンポーネントのコンポーネントIDを含むトレースをトレース収集サーバ26へ出力する(ステップS204)。   When the trace output information is embedded in the message (YES in step S203), the component 23 outputs the trace including the message and the component ID of the component itself to the trace collection server 26 using the trace output information. (Step S204).

他方、メッセージにトレース出力用情報が埋め込まれていない場合(ステップS203にてNO)、コンポーネント23は、トレースをトレース収集サーバ26へ出力せずに終了する。   On the other hand, when the trace output information is not embedded in the message (NO in step S203), the component 23 ends without outputting the trace to the trace collection server 26.

以上のように、本発明の実施の形態にかかるエッジサーバ10は、デバイス1から送信されたメッセージが所定の条件に合致するか否かを判定する条件判定部12を備える構成としている。また、エッジサーバ10は、メッセージが所定の条件に合致する場合に、トレース出力用情報をメッセージに埋め込む埋め込み部13を備える構成としている。さらに、エッジサーバ10は、メッセージをバックエンドサービス20へ送信する送信部14を備える構成としている。これにより、本実施の形態にかかるエッジサーバ10では、所定の条件に合致するメッセージにトレース出力用情報を埋め込んでバックエンドサービス20へ送信することができる。このため、バックエンドサービス20にて、トレース出力用情報が埋め込まれているメッセージについてのみトレースを出力することができる。すなわち、メッセージに関するトレースの出力を効率的に行うことができる。   As described above, the edge server 10 according to the embodiment of the present invention is configured to include the condition determination unit 12 that determines whether or not the message transmitted from the device 1 matches a predetermined condition. The edge server 10 includes an embedding unit 13 that embeds trace output information in a message when the message matches a predetermined condition. Furthermore, the edge server 10 is configured to include a transmission unit 14 that transmits a message to the back-end service 20. As a result, the edge server 10 according to the present embodiment can embed the trace output information in a message that matches a predetermined condition and transmit it to the back-end service 20. For this reason, the backend service 20 can output a trace only for the message in which the trace output information is embedded. That is, it is possible to efficiently output a trace related to a message.

また、エッジサーバ10では、所定の条件を設定可能にすることができる。これにより、エッジサーバ10では、所定の条件として、所望の条件を設定することができ、所望の条件に合致するメッセージにトレース出力用情報を埋め込むことができる。すなわち、バックエンドサービス20にて、所望の条件に合致するメッセージに関するトレースを出力することができる。   Further, the edge server 10 can set a predetermined condition. As a result, the edge server 10 can set a desired condition as the predetermined condition, and can embed the trace output information in a message that matches the desired condition. That is, the back-end service 20 can output a trace related to a message that meets a desired condition.

また、本実施の形態にかかるコンポーネント23は、受け取ったメッセージにトレース出力用情報が埋め込まれているか否かを判定し、トレース出力用情報が埋め込まれている場合に、トレース出力用情報を用いて、メッセージ及び自コンポーネントのコンポーネントIDを含むトレースをトレース収集サーバ26へ出力するトレース出力部25を備える構成としている。これにより、バックエンドサービス20では、トレースを出力するための判定として、メッセージにトレース出力用情報が埋め込まれているか否かという単純な判定を用いることができる。すなわち、メッセージに関するトレースの出力を効率的に行うことができる。   In addition, the component 23 according to the present embodiment determines whether or not the trace output information is embedded in the received message. If the trace output information is embedded, the component 23 uses the trace output information. The trace output unit 25 outputs the trace including the message and the component ID of the component itself to the trace collection server 26. As a result, the back-end service 20 can use a simple determination as to whether or not the trace output information is embedded in the message as the determination for outputting the trace. That is, it is possible to efficiently output a trace related to a message.

また、本実施の形態にかかる情報通信システム100では、対象のデバイス1が接続されたエッジサーバ10でのみメッセージが所定の条件に合致するか否かの判定を行うことができる。このため、情報通信システム100では、トレースの出力による性能への影響を局所化することができる。   Further, in the information communication system 100 according to the present embodiment, it is possible to determine whether or not a message meets a predetermined condition only at the edge server 10 to which the target device 1 is connected. For this reason, in the information communication system 100, the influence on the performance by the output of the trace can be localized.

上述した実施の形態で述べたエッジサーバ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 edge server 10 and the back-end service 20 described in the above-described embodiment are ASIC (Application Specific Integrated Circuit), DSP (Digital Signal Processor), MPU (Micro) included in the edge server 10 and the back-end service 20. It can be realized using a computer system including a processing unit (CPU), a central processing unit (CPU), or a combination thereof. Specifically, the computer system may execute a program including a group of instructions related to processing of each functional unit in the edge server 10 and the back-end service 20 described with reference to the block diagram or the flowchart.

上述の例において、プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(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 Device 10 Edge server 11 Reception part 12 Condition determination part 13 Embedding part 14 Transmission part 20 Back end service 21 Reception part 22 Routing part 23 Component 24 Service logic 25 Trace output part 26 Trace collection server 100 Information communication system

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.
前記トレース出力用情報は、トレースの出力先を示す情報である、請求項1に記載のエッジサーバ。   The edge server according to claim 1, wherein the trace output information is information indicating a trace output destination. 前記所定の条件は設定可能である、請求項1又は2に記載のエッジサーバ。   The edge server according to claim 1, wherein the predetermined condition can be set. エッジサーバと、バックエンドサービスと、を備え、
前記エッジサーバは、
デバイスから送信されたメッセージを受信する受信手段と、
前記メッセージが所定の条件に合致するか否かを判定する条件判定手段と、
前記メッセージが前記所定の条件に合致する場合に、トレース出力用情報を前記メッセージに埋め込む埋め込み手段と、
前記メッセージを前記バックエンドサービスへ送信する送信手段と、
を備え、
前記バックエンドサービスは、
前記エッジサーバから送信されたメッセージを受信する受信手段と、
前記メッセージの転送経路を制御するルーティング手段と、
それぞれ異なるサービスロジックを有する複数のコンポーネントと、
トレース収集サーバと、
を備え、
前記コンポーネントは、受け取ったメッセージに前記トレース出力用情報が埋め込まれているか否かを判定し、前記メッセージに前記トレース出力用情報が埋め込まれている場合に、前記トレース出力用情報を用いて、前記メッセージ及び自コンポーネントのコンポーネント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.
JP2017048462A 2017-03-14 2017-03-14 Edge servers, information communication systems, components, message processing methods, and programs Active JP6915318B2 (en)

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)

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