JP2007334724A - Process with message bus and control system - Google Patents

Process with message bus and control system Download PDF

Info

Publication number
JP2007334724A
JP2007334724A JP2006167184A JP2006167184A JP2007334724A JP 2007334724 A JP2007334724 A JP 2007334724A JP 2006167184 A JP2006167184 A JP 2006167184A JP 2006167184 A JP2006167184 A JP 2006167184A JP 2007334724 A JP2007334724 A JP 2007334724A
Authority
JP
Japan
Prior art keywords
message
component
message bus
communication
bus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006167184A
Other languages
Japanese (ja)
Inventor
Yuichi Sakuraba
祐一 櫻庭
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2006167184A priority Critical patent/JP2007334724A/en
Publication of JP2007334724A publication Critical patent/JP2007334724A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve problems that each application is executed in different process, so that distribution of resources to each process and its verification become difficult, to impair real-time property. <P>SOLUTION: A component having predetermined functions, a name service component, and a communication component perform communication through a message bus, and the communication to the outside is performed through the communication component. These components are applicable to a control system. Since the interface between the components and the message bus are simplified, the performance is increased, a real-time property is secured, and an existing package can be used by preparing a wrapper. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、リアルタイム性を損なうことなく、効率的な処理を行うことができるプロセスおよびこのプロセスを用いた制御システムに関するものである。   The present invention relates to a process capable of performing efficient processing without impairing real-time performance, and a control system using this process.

制御システムでは、本来の制御動作だけでなく、データ収集やデータ解析、機器管理などを行うの多くの機能ブロックが並行して実行されている。これらの機能ブロックのそれぞれは単一のアプリケーションとして構築され、アプリケーション間の連携が必要な場合は、アプリケーション間通信を行って、相互に情報を交換しながら処理を実行する。   In the control system, not only the original control operation but also many functional blocks for performing data collection, data analysis, device management and the like are executed in parallel. Each of these functional blocks is constructed as a single application. When cooperation between applications is necessary, communication between applications is performed, and processing is performed while exchanging information with each other.

図5に、このような制御システムの概要図を示す。図5において、11〜15はそれぞれアプリケーションであり、機能ブロックとして動作している。例えば、アプリケーション11は制御動作を実行し、アプリケーション12はデータ収集、アプリケーション13はデータ解析を行う。各アプリケーションは別プロセスとして動作している。   FIG. 5 shows a schematic diagram of such a control system. In FIG. 5, reference numerals 11 to 15 denote applications, which operate as functional blocks. For example, the application 11 executes a control operation, the application 12 performs data collection, and the application 13 performs data analysis. Each application is operating as a separate process.

与えられた目的を達成するためには、各アプリケーションは連携して動作しなければならない。そのため、アプリケーション11〜15間で通信を行って情報を交換し、連携して動作するようにしている。
特開2001−125872号公報
In order to achieve a given purpose, each application must work together. Therefore, communication is performed between the applications 11 to 15 to exchange information and to operate in cooperation.
Japanese Patent Laid-Open No. 2001-125872

しかしながら、各アプリケーションを別プロセスとして実行するためには、これらのアプリケーションにリソースを配分しなければならない。しかし、アプリケーションの数が多くなると、各アプリケーションに十分なリソースを配分することが難しくなり、結果としてアプリケーションのパフォーマンスを十分に引き出すことが難しくなるという課題があった。   However, in order to execute each application as a separate process, resources must be allocated to these applications. However, when the number of applications increases, it becomes difficult to allocate sufficient resources to each application, and as a result, there is a problem that it is difficult to sufficiently extract the performance of the application.

また、各アプリケーションを組み合わせた場合の動作を検証しなければならないが、アプリケーションの数が多くなると組合せの数が膨大になり、全てを網羅した検証を行うことが困難になるという課題もあった。   In addition, it is necessary to verify the operation when the applications are combined. However, when the number of applications increases, the number of combinations becomes enormous, and there is a problem that it is difficult to verify all of them.

また、統一したシステム構築法がないために、ライブラリの活用やモジュールの再利用が行われ難くなって開発効率が低下してしまうという課題もあった。   In addition, since there is no unified system construction method, it is difficult to use libraries and reuse modules, resulting in a reduction in development efficiency.

また、アプリケーション間通信もアプリケーション毎に規定しなければならないために通信手法を統一することが難しくなり、また通信の負荷が増大して、制御システムに求められるリアルタイム性が損なわれるという課題もあった。   In addition, since communication between applications must be specified for each application, it is difficult to unify communication methods, and there is a problem that the real-time property required for the control system is impaired due to an increase in communication load. .

さらに、制御システムが複数のプロセスに分かれているので、トランザクションやログの管理が複雑になり、またシステム管理が難しくなってしまうという課題もあった。   Furthermore, since the control system is divided into a plurality of processes, the management of transactions and logs becomes complicated, and the system management becomes difficult.

従って本発明の目的は、機能ブロックをコンポーネントとして構築し、これらのコンポーネントをメッセージバスで接続した単位を1つのプロセスとすることにより、リアルタイム性を損なうことがないメッセージバスを有するプロセス、およびこのプロセスを用いた制御システムを提供することにある。   Accordingly, an object of the present invention is to provide a process having a message bus that does not impair the real-time property by constructing a functional block as a component and connecting the components by a message bus as one process, and this process It is to provide a control system using the.

このような課題を達成するために、本発明のうち請求項1記載の発明は、
送信先の宛先情報および送信元の情報が添付されたメッセージを伝達するメッセージバスと、
所定の機能を有し、前記メッセージバスを介して情報を交換するコンポーネントと、
前記コンポーネントの情報が登録され、問い合わせに応じてこの登録された情報を前記メッセージバスを介して問い合わせ元に送信する名前サービスコンポーネントと、
前記メッセージバスを介して前記コンポーネントと情報を交換し、外部との通信を仲介する通信コンポーネントと、
を具備したものである。リアルタイム性を確保できる。
In order to achieve such a problem, the invention according to claim 1 of the present invention is:
A message bus that conveys a message with destination information and destination information attached;
A component having a predetermined function and exchanging information via the message bus;
Information of the component is registered, and a name service component that transmits the registered information to the inquiry source via the message bus in response to an inquiry;
A communication component that exchanges information with the component via the message bus and mediates communication with the outside;
Is provided. Real-time performance can be secured.

請求項2記載の発明は、請求項1記載の発明において、
前記メッセージは非同期メッセージであることを特徴としたものである。通信のパフォーマンスが向上する。
The invention according to claim 2 is the invention according to claim 1,
The message is an asynchronous message. Communication performance is improved.

請求項3記載の発明は、請求項1記載の発明において、
前記メッセージは同期メッセージであり、この同期メッセージを受け取ったコンポーネントは返信メッセージを送信し、前記同期メッセージを送信したコンポーネントは、この返信メッセージを受け取るまで処理を中断するようにしたものである。相手側が受け取ったことを確認できるので、確実に通信できる。
The invention according to claim 3 is the invention according to claim 1,
The message is a synchronous message, and the component that has received the synchronous message transmits a reply message, and the component that has transmitted the synchronous message suspends processing until the reply message is received. Because the other party can confirm that it has been received, it can communicate reliably.

請求項4記載の発明は、請求項1乃至請求項3いずれかに記載の発明において、
システムの一部として常駐し、ネットワークを通じたサービスを一元管理するラッパを用いて、既存のパッケージを取り込むようにしたものである。既存のパッケージを活用できる。
The invention according to claim 4 is the invention according to any one of claims 1 to 3,
It uses a wrapper that resides as part of the system and centrally manages services over the network, and incorporates existing packages. Existing packages can be used.

請求項5記載の発明は、請求項1乃至請求項4いずれかに記載の発明において、
前記通信コンポーネントは、SOAP(Simple Object Access Protocol)を用いて外部と通信するようにしたものである。Webサービスを活用できる。
The invention according to claim 5 is the invention according to any one of claims 1 to 4,
The communication component communicates with the outside using SOAP (Simple Object Access Protocol). Web services can be used.

請求項6記載の発明は、請求項1乃至請求項5いずれかに記載の発明において、
前記メッセージバスはトランザクション処理および/またはログ処理の管理を行うようにしたものである。これらの処理が簡単にできる。
The invention according to claim 6 is the invention according to any one of claims 1 to 5,
The message bus manages transaction processing and / or log processing. These processes can be easily performed.

請求項7記載の発明は、請求項1乃至請求項6いずれかに記載の発明において、
前記通信コンポーネントを複数個具備したものである。複数の通信方式に対応できる。
The invention according to claim 7 is the invention according to any one of claims 1 to 6,
A plurality of communication components are provided. It can support multiple communication methods.

請求項8記載の発明は、
制御システムに前記プロセスを少なくとも1つ内蔵するようにしたものである。リアルタイム性が重要視される制御システムに用いて好適である。
The invention described in claim 8
At least one of the processes is built in the control system. It is suitable for use in control systems where real-time performance is important.

以上説明したことから明らかなように、本発明によれば次のような効果がある。
請求項1,2、3、4、5、6および7の発明によれば、所定の機能を有するコンポーネント、名前サービスコンポーネント、通信コンポーネントがメッセージバスを介して通信を行うと共に、外部への通信は通信コンポーネントを介して行うようにした。また、制御システムに適用するようにした。
As is apparent from the above description, the present invention has the following effects.
According to the first, second, third, fourth, fifth, sixth and seventh aspects, the component having a predetermined function, the name service component, and the communication component communicate via the message bus, and communication to the outside is performed. It was done via the communication component. It was also applied to the control system.

コンポーネントとメッセージバス間のインターフェイスが単純になるので、パフォーマンスが向上し、リアルタイム性能を確保することができるという効果がある。また、ラッパを作成することにより、容易に既存のライブラリやアプリケーションをメッセージバスに接続することができるという効果もある。   Since the interface between the component and the message bus is simplified, there is an effect that performance is improved and real-time performance can be secured. Further, by creating a wrapper, there is an effect that an existing library or application can be easily connected to the message bus.

また、コンポーネントとメッセージバス間のインターフェイスが簡単になり、かつメッセージバスとのインターフェイス機能、ログ機能などを共通化することができるので、開発効率が向上するという効果もある。また、コンポーネントが同じインターフェイスを有しているので、コンポーネントへのリソース配分、状況把握、動的なコンポーネントの追加・削除などの管理が簡単になるという効果もある。   In addition, the interface between the component and the message bus can be simplified, and the interface function with the message bus, the log function, and the like can be shared, so that the development efficiency can be improved. In addition, since the components have the same interface, there is an effect that management such as resource allocation to the components, grasping of the situation, and dynamic addition / deletion of components is simplified.

さらに、コンポーネント間の全ての通信がメッセージバスを通過するので、トランザクション処理やログ処理が簡単にできるという効果もある。   Further, since all communication between components passes through the message bus, there is an effect that transaction processing and log processing can be easily performed.

以下本発明を図面を用いて詳細に説明する。図1は本発明に係るメッセージバスを有するプロセスの一実施例を示す構成図である。図1において、20はプロセスであり、コンポーネント21〜24、名前サービスコンポーネント25、通信コンポーネント26、メッセージバス27で構成される。コンポーネント21〜24、名前サービスコンポーネント25、通信コンポーネント26はそれぞれメッセージバス27に接続するためのインターフェイスを内蔵している。   Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a process having a message bus according to the present invention. In FIG. 1, reference numeral 20 denotes a process, which includes components 21 to 24, a name service component 25, a communication component 26, and a message bus 27. Each of the components 21 to 24, the name service component 25, and the communication component 26 has an interface for connecting to the message bus 27.

30はプロセスであり、コンポーネント31〜34、名前サービスコンポーネント35、通信コンポーネント36、メッセージバス37で構成される。コンポーネント31〜34、名前サービスコンポーネント35、通信コンポーネント36はそれぞれメッセージバス37に接続するためのインターフェイスを内蔵している。   A process 30 includes components 31 to 34, a name service component 35, a communication component 36, and a message bus 37. The components 31 to 34, the name service component 35, and the communication component 36 each have an interface for connecting to the message bus 37.

40は通信バスであり、通信コンポーネント26と36に接続される。プロセス20と30は、この通信バス40を介して情報を交換する。また、この通信バス40を介して図示しない他のシステムやアプリケーションと情報を交換する。なお、この実施例では2つのプロセス20、30を通信バス40で接続しているが、3つ以上のプロセスを接続することもできる。また、各プロセスに内蔵するコンポーネントの数は、任意に選択することができる。   A communication bus 40 is connected to the communication components 26 and 36. Processes 20 and 30 exchange information via this communication bus 40. Also, information is exchanged with other systems and applications (not shown) via the communication bus 40. In this embodiment, the two processes 20 and 30 are connected by the communication bus 40, but three or more processes may be connected. Further, the number of components incorporated in each process can be arbitrarily selected.

コンポーネント21〜24は所定の機能を実現するためのソフトウエアモジュールである。これらのコンポーネント21〜24が実現する機能は任意に選択できるが、コンポーネント同士の依存性ができるだけ少なくなるように、各コンポーネントが実現する機能を切り分ける。   The components 21 to 24 are software modules for realizing a predetermined function. Although the function which these components 21-24 implement | achieve can be selected arbitrarily, the function which each component implement | achieves is separated so that the dependence between components may be reduced as much as possible.

コンポーネント21〜24、名前サービスコンポーネント25、通信コンポーネント26は、メッセージバス27を介してメッセージを交換する。これらのコンポーネントは、メッセージ27を介して全ての情報交換を行う。メッセージバス27は受け渡す情報をDTO(Data Transfer Object)にまとめて交換する。そのため、異なるマシン上に分散配置されているオブジェクト間でデータをやりとりするORB(Object Request Broker)とは異なり、そのインターフェイスはシンプルかつ単一なものになる。なお、メッセージバス27はソフトウエア的なバスであり、必ずしもハードウエア的な通信路を有していない。   The components 21 to 24, the name service component 25, and the communication component 26 exchange messages via the message bus 27. These components exchange all information via messages 27. The message bus 27 exchanges information to be transferred in a DTO (Data Transfer Object). Therefore, unlike an ORB (Object Request Broker) that exchanges data between objects distributed on different machines, the interface is simple and single. The message bus 27 is a software bus and does not necessarily have a hardware communication path.

メッセージバス27上を流れるメッセージには同期メッセージと非同期メッセージがある。また、送信するコンテンツに発信元と宛先を追加し、同期メッセージ/非同期メッセージ/同期メッセージの返信を区別するための設定を行う。コンテンツはXML(eXtensible Markup Language)で記述してもよいが、バイナリデータとすることもできる。   The message flowing on the message bus 27 includes a synchronous message and an asynchronous message. In addition, a sender and a destination are added to the content to be transmitted, and a setting for distinguishing between a synchronous message / asynchronous message / synchronous message reply is made. The content may be described in XML (eXtensible Markup Language), but may be binary data.

名前サービスコンポーネント25は、コンポーネントの名前解決を行うためのコンポーネントである。あるコンポーネントが同じプロセス内の他のコンポーネントと情報の交換を行う場合、相手側コンポーネントに関する情報を知る必要があるが、この情報を提供するコンポーネントである。   The name service component 25 is a component for performing component name resolution. When a component exchanges information with other components in the same process, it needs to know information about the counterpart component, but it is the component that provides this information.

通信コンポーネント26は、他のプロセスと通信を行うためのコンポーネントである。コンポーネント21〜24が他のプロセスと情報交換する必要が生じたときは、この通信コンポーネントを介して行う。そのため、コンポーネント21〜24はプロセス20の外部に対応する通信モジュールを内蔵しなくても、宛先を変えるだけで他のプロセスのコンポーネントと通信することができる。   The communication component 26 is a component for communicating with other processes. When the components 21 to 24 need to exchange information with other processes, the communication is performed through the communication component. Therefore, even if the components 21 to 24 do not include a communication module corresponding to the outside of the process 20, the components 21 to 24 can communicate with components of other processes only by changing the destination.

通信コンポーネント26は複数個用いることができる。これらの複数の通信コンポーネントをSOAP(Simple Object Access Protocol)やCOBRA(Common Object Request Broker Architecture)等のプロトコルに対応させることにより、様々な通信をサポートすることができる。   A plurality of communication components 26 can be used. By making these plural communication components correspond to protocols such as SOAP (Simple Object Access Protocol) and COBRA (Common Object Request Broker Architecture), various communications can be supported.

プロセス30は、コンポーネント31〜34で実現する機能は異なるが、プロセス20と同じ構成を有している。すなわち、コンポーネント31〜34、名前サービスコンポーネント35、通信コンポーネント36は、DTOを用いたメッセージバス37を介して情報交換を行い、名前サービスコンポーネント35で名前解決を行う。また、他のプロセスと情報交換する必要が生じたときは、通信コンポーネント36を介して行う。   The process 30 has the same configuration as the process 20 although the functions realized by the components 31 to 34 are different. That is, the components 31 to 34, the name service component 35, and the communication component 36 exchange information via the message bus 37 using DTO, and the name service component 35 performs name resolution. Further, when it becomes necessary to exchange information with another process, it is performed via the communication component 36.

メッセージバス27、37では情報交換の際に通信が行われないので、通信遅延やネットワークの障害などに起因する遅延が発生しない。また、個々のコンポーネントのリアルタイム性がそのままプロセスのリアルタイム性として換算することができるので、プロセスのリアルタイム性を高く保つことができる。   Since message buses 27 and 37 do not communicate during information exchange, no delays due to communication delays or network failures occur. In addition, since the real-time property of each component can be directly converted into the real-time property of the process, the real-time property of the process can be kept high.

また、全てのコンポーネント間通信はメッセージバスを通るので、メッセージバスでトランザクション処理やログ処理の管理を行うことができる。   Further, since all inter-component communication passes through the message bus, transaction processing and log processing can be managed by the message bus.

図2に、コンポーネントをメッセージバスに接続する手順を示す。なお、プロセス20について説明するが、プロセス30でも同じである。図2において、工程(P2−1)で名前サービスコンポーネント25に接続するコンポーネントを登録する。登録処理の終了後、工程(P2−2)でこの名前サービスコンポーネント25からメッセージバス27の参照を受け取る。そして、工程(P2−3)で、メッセージバス27の参照に対して、接続するコンポーネントのメッセージハンドラを登録する。これにより、コンポーネントはメッセージバス27を用いてメッセージを配信することができる。   FIG. 2 shows a procedure for connecting components to the message bus. Although the process 20 will be described, the process 30 is the same. In FIG. 2, a component to be connected to the name service component 25 is registered in step (P2-1). After completion of the registration process, a message bus 27 reference is received from the name service component 25 in step (P2-2). In step (P2-3), the message handler of the component to be connected is registered with respect to the message bus 27 reference. Thus, the component can distribute the message using the message bus 27.

コンポーネントの接続はプロセスの起動時だけでなく、実行中であっても動的に接続することができる。また、既存のライブラリやアプリケーションをメッセージバス27に接続するときは、ラッパ(wrapper)を用いる。ラッパはシステムの一部として常駐し、ネットワークを通じたサービスを一元管理するソフトウエアである。メッセージバス27へのインターフェイスは単一なので、ラッパを作成することは簡単である。   Components can be connected dynamically not only at process startup but also during execution. In addition, when an existing library or application is connected to the message bus 27, a wrapper is used. The wrapper is software that resides as part of the system and centrally manages services over the network. Since there is a single interface to the message bus 27, it is easy to create a wrapper.

図3に、コンポーネントをメッセージバスから切り離す手順を示す。なお、プロセス20について説明するが、プロセス30でも同じである。図3において、工程(P3−1)で、削除するコンポーネントについて、名前サービスコンポーネント25の登録を削除する。そして、工程(P3−2)で同じコンポーネントについて、メッセージバス27への登録を削除する。   FIG. 3 shows a procedure for disconnecting components from the message bus. Although the process 20 will be described, the process 30 is the same. In FIG. 3, in the step (P3-1), the registration of the name service component 25 is deleted for the component to be deleted. In step (P3-2), the registration to the message bus 27 is deleted for the same component.

次に、工程(P3−3)で、配信されていないメッセージの中で、削除したコンポーネント宛のメッセージがあるとそれを削除し、送信元にエラーメッセージを送信する。そして、工程(P3−4)で、削除したコンポーネントからの返信を待っているコンポーネントを探し、このコンポーネントにエラーメッセージを送信する。これによって、コンポーネントは安全にメッセージバス27から切り離される。   Next, in step (P3-3), if there is a message addressed to the deleted component among the messages that have not been distributed, it is deleted and an error message is transmitted to the transmission source. In step (P3-4), a component waiting for a reply from the deleted component is searched for, and an error message is transmitted to this component. This ensures that the component is safely disconnected from the message bus 27.

図4に、コンポーネント間でメッセージをやりとりする手順を示す。なお、プロセス20について説明するが、プロセス30でも同じである。図4において、工程(P4−1)で、送信するコンポーネントは送信したいコンポーネントの宛先情報を名前サービスコンポーネントから取得する。そして、工程(P4−2)で、メッセージを作成して、取得した宛先情報をこのメッセージの宛先に、自身の宛先情報を送信元にセットする。   FIG. 4 shows a procedure for exchanging messages between components. Although the process 20 will be described, the process 30 is the same. In FIG. 4, in the step (P4-1), the component to be transmitted acquires the destination information of the component to be transmitted from the name service component. In step (P4-2), a message is created, and the acquired destination information is set as the destination of this message, and its own destination information is set as the source.

次に、工程(P4−3)でメッセージのコンテンツ(本体部分)を作成し、工程(P4−4)で作成したメッセージをメッセージバス27に送信する。メッセージバス27は、工程(P4−5)でメッセージの宛先を参照して、宛先コンポーネントのメッセージハンドラにこのメッセージを配信する。   Next, message content (main body part) is created in step (P4-3), and the message created in step (P4-4) is transmitted to the message bus 27. The message bus 27 refers to the destination of the message in step (P4-5) and delivers this message to the message handler of the destination component.

なお、メッセージのやりとりは同期型、非同期型のどちらでも行うことができるが、同期型の場合は、送信元コンポーネントがメッセージバス27にメッセージを送信すると、返信メッセージが到着するまで送信元コンポーネントの処理がブロックされる。送信先コンポーネントが返信メッセージを作成してメッセージバス27に送信し、メッセージバス27がこの返信メッセージを送信元コンポーネントに配信すると、ブロックされていた処理が再開される。   Messages can be exchanged either synchronously or asynchronously. In the synchronous type, when the transmission source component sends a message to the message bus 27, processing of the transmission source component is performed until a reply message arrives. Is blocked. When the destination component creates a reply message and sends it to the message bus 27 and the message bus 27 delivers the reply message to the source component, the blocked processing is resumed.

なお、制御システムでは制御データを保存するデータベースや解析を行うパッケージが個々に存在する。通常はこれらのデータベースやパッケージはそれぞれ別プロセスとして動作しているが、これらのデータベースやパッケージをコンポーネント化することにより、同一プロセスに取り込むことができる。また、ラッパを用いることにより、既存のパッケージをプロセスに取り込むこともできる。そのため、パフォーマンスを十分引き出すことができ、且つリアルタイム性を確保することができる。   In the control system, there are individual databases for storing control data and packages for performing analysis. Normally, these databases and packages operate as separate processes, but these databases and packages can be incorporated into the same process by componentizing them. Also, by using a wrapper, an existing package can be taken into the process. Therefore, it is possible to sufficiently draw out performance and secure real-time performance.

最近の制御システムでは、MES(Manufacturing Execution System、製造実行システム)、やERP(Enterprise Resource Planning、企業資源計画システム)と接続することが増加している。これらMESやERPとのやりとりでは、Webサービスが多く用いられる。通信コンポーネントをSOAPに対応させることにより、個々のコンポーネントをSOAPに対応させなくても、これらのシステムと容易に接続することができる。メッセージバスのインターフェイスはWebサービスの定義に準拠するので、WSDL(Web Services Description Language)を自動生成することできる。   In recent control systems, connection with MES (Manufacturing Execution System) and ERP (Enterprise Resource Planning) is increasing. Web services are often used for these exchanges with MES and ERP. By making the communication component compatible with SOAP, each component can be easily connected to these systems without making it compatible with SOAP. Since the interface of the message bus conforms to the definition of the Web service, WSDL (Web Services Description Language) can be automatically generated.

本発明の一実施例を示す構成図である。It is a block diagram which shows one Example of this invention. コンポーネントをメッセージバスに接続する手順を示すフローチャートである。It is a flowchart which shows the procedure which connects a component to a message bus. コンポーネントをメッセージバスから切り離す手順を示すフローチャートである。It is a flowchart which shows the procedure which isolate | separates a component from a message bus. コンポーネント間の通信手順を示すフローチャートである。It is a flowchart which shows the communication procedure between components. 従来の制御システムの概要図である。It is a schematic diagram of the conventional control system.

符号の説明Explanation of symbols

20、30 プロセス
21〜24、31〜34 コンポーネント
25、35 名前サービスコンポーネント
26、36 通信コンポーネント
27、37 メッセージバス
40 通信バス
20, 30 Processes 21-24, 31-34 Component 25, 35 Name service component 26, 36 Communication component 27, 37 Message bus 40 Communication bus

Claims (8)

送信先の宛先情報および送信元の情報が添付されたメッセージを伝達するメッセージバスと、
所定の機能を有し、前記メッセージバスを介して情報を交換するコンポーネントと、
前記コンポーネントの情報が登録され、問い合わせに応じてこの登録された情報を前記メッセージバスを介して問い合わせ元に送信する名前サービスコンポーネントと、
前記メッセージバスを介して前記コンポーネントと情報を交換し、外部との通信を仲介する通信コンポーネントと、
を具備したことを特徴とするメッセージバスを有するプロセス。
A message bus that conveys a message with destination information and destination information attached;
A component having a predetermined function and exchanging information via the message bus;
Information of the component is registered, and a name service component that transmits the registered information to the inquiry source via the message bus in response to an inquiry;
A communication component that exchanges information with the component via the message bus and mediates communication with the outside;
A process having a message bus.
前記メッセージは非同期メッセージであることを特徴とする請求項1記載のメッセージバスを有するプロセス。   The process having a message bus according to claim 1, wherein the message is an asynchronous message. 前記メッセージは同期メッセージであり、この同期メッセージを受け取ったコンポーネントは返信メッセージを送信し、前記同期メッセージを送信したコンポーネントは、この返信メッセージを受け取るまで処理を中断するようにしたことを特徴とする請求項1記載のメッセージバスを有するプロセス。   The message is a synchronous message, and a component that has received the synchronous message transmits a reply message, and the component that has transmitted the synchronous message suspends processing until the reply message is received. A process having a message bus according to Item 1. システムの一部として常駐し、ネットワークを通じたサービスを一元管理するラッパを用いて、既存のパッケージを取り込むようにしたことを特徴とする請求項1乃至請求項3いずれかに記載のメッセージバスを有するプロセス。   The message bus according to any one of claims 1 to 3, wherein an existing package is fetched by using a wrapper that is resident as a part of the system and centrally manages services through a network. process. 前記通信コンポーネントは、SOAP(Simple Object Access Protocol)を用いて外部と通信するようにしたことを特徴とする請求項1乃至請求項4いずれかに記載のメッセージバスを有するプロセス。   5. The process having a message bus according to claim 1, wherein the communication component communicates with the outside using SOAP (Simple Object Access Protocol). 前記メッセージバスはトランザクション処理および/またはログ処理の管理を行うようにしたことを特徴とする請求項1乃至請求項5いずれかに記載のメッセージバスを有するプロセス。   6. The process having a message bus according to claim 1, wherein the message bus manages transaction processing and / or log processing. 前記通信コンポーネントを複数個有することを特徴とする請求項1乃至請求項6いずれかに記載のメッセージバスを有するプロセス。   The process having a message bus according to any one of claims 1 to 6, comprising a plurality of the communication components. 前記プロセスを少なくとも1つ内蔵したことを特徴とする制御システム。
A control system comprising at least one of the processes.
JP2006167184A 2006-06-16 2006-06-16 Process with message bus and control system Pending JP2007334724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006167184A JP2007334724A (en) 2006-06-16 2006-06-16 Process with message bus and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006167184A JP2007334724A (en) 2006-06-16 2006-06-16 Process with message bus and control system

Publications (1)

Publication Number Publication Date
JP2007334724A true JP2007334724A (en) 2007-12-27

Family

ID=38934135

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006167184A Pending JP2007334724A (en) 2006-06-16 2006-06-16 Process with message bus and control system

Country Status (1)

Country Link
JP (1) JP2007334724A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010055141A (en) * 2008-08-26 2010-03-11 Nec Corp Web service system and web service providing method
CN107219833A (en) * 2017-06-20 2017-09-29 上海第二工业大学 A kind of cold rolling grinding roller intelligent plant manufacturing monitoring system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07262025A (en) * 1994-03-18 1995-10-13 Fujitsu Ltd Execution control system
JPH10133888A (en) * 1996-09-03 1998-05-22 Fujitsu Ltd Soft parts combining control device and method therefor
JP2001014155A (en) * 1999-07-01 2001-01-19 Japan Radio Co Ltd Controller for executing software parts
JP2006107301A (en) * 2004-10-08 2006-04-20 Canon Inc Extension controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07262025A (en) * 1994-03-18 1995-10-13 Fujitsu Ltd Execution control system
JPH10133888A (en) * 1996-09-03 1998-05-22 Fujitsu Ltd Soft parts combining control device and method therefor
JP2001014155A (en) * 1999-07-01 2001-01-19 Japan Radio Co Ltd Controller for executing software parts
JP2006107301A (en) * 2004-10-08 2006-04-20 Canon Inc Extension controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010055141A (en) * 2008-08-26 2010-03-11 Nec Corp Web service system and web service providing method
CN107219833A (en) * 2017-06-20 2017-09-29 上海第二工业大学 A kind of cold rolling grinding roller intelligent plant manufacturing monitoring system

Similar Documents

Publication Publication Date Title
EP3138003B1 (en) System and method for supporting a bypass-domain model and a proxy model and updating service information for across-domain messaging in a transactional middleware machine environment
US8122427B2 (en) Decentralized system services
JP5956565B2 (en) System and method for providing a messaging application program interface
CN107590072B (en) Application development and test method and device
US7274706B1 (en) Methods and systems for processing network data
US20060247057A1 (en) Logic Interface Engine System and Method
WO2021042840A1 (en) Data processing method and apparatus, server, and computer-readable storage medium
US7363355B2 (en) Transparent disconnected services discovery and use
CN106790084A (en) A kind of heterogeneous resource integrated framework and its integrated approach based on ICE middlewares
US20110131288A1 (en) Load-Balancing In Replication Engine of Directory Server
US9537940B2 (en) Exchange of information between processing servers
JP2007334724A (en) Process with message bus and control system
CN111447273A (en) Cloud processing system and data processing method based on cloud processing system
CN111866157B (en) Cloud service gateway and cloud service internal and external request format conversion method
JP2008310475A (en) Workflow cooperation method, workflow cooperation program, and workflow connector
KR100641095B1 (en) Resource adapter in sdr system
WO2023238284A1 (en) Management system, management method, and management program
CN110784532B (en) Bidirectional data synchronization method and system
US20220311672A1 (en) Communication system comprising a plurality of processors and at least one switch, and associated communication method
CN115361298A (en) Service management method based on data subscription and distribution network
CN116962547A (en) MQ-based dynamic data gateway communication method
CN116954877A (en) Distributed resource sharing method and related device
CN117014450A (en) Block chain-based data processing method and related products
CN112433758A (en) Method, system, device and storage medium for calling platform function
CN116346886A (en) Middleware-based Internet of things equipment connection and data processing method and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081210

A977 Report on retrieval

Effective date: 20100617

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100622

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100819

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101224