JP7276838B2 - System, system control method, computer program used for system control, and its recording medium - Google Patents

System, system control method, computer program used for system control, and its recording medium Download PDF

Info

Publication number
JP7276838B2
JP7276838B2 JP2019123695A JP2019123695A JP7276838B2 JP 7276838 B2 JP7276838 B2 JP 7276838B2 JP 2019123695 A JP2019123695 A JP 2019123695A JP 2019123695 A JP2019123695 A JP 2019123695A JP 7276838 B2 JP7276838 B2 JP 7276838B2
Authority
JP
Japan
Prior art keywords
processing
mec
terminal
container
child terminal
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
Application number
JP2019123695A
Other languages
Japanese (ja)
Other versions
JP2021009604A5 (en
JP2021009604A (en
Inventor
智 高橋
アントワン ソバージュ
洋祐 垣内
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.)
Latona Inc
Original Assignee
Latona Inc
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 Latona Inc filed Critical Latona Inc
Priority to JP2019123695A priority Critical patent/JP7276838B2/en
Priority to PCT/JP2020/016779 priority patent/WO2021002084A1/en
Publication of JP2021009604A publication Critical patent/JP2021009604A/en
Publication of JP2021009604A5 publication Critical patent/JP2021009604A5/ja
Application granted granted Critical
Publication of JP7276838B2 publication Critical patent/JP7276838B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]

Description

本発明は、コンテナオーケストレーション技術を利用したエッジシステム、エッジシステムの制御方法、エッジシステムの制御に用いるコンピュータプログラム、及び、その記録媒体に関する。 The present invention relates to an edge system using container orchestration technology, an edge system control method, a computer program used for controlling the edge system, and a recording medium thereof.

工場や建設現場等のローカル環境において、所定の作業を行う作業機器に関連する情報をセンサにより取得し、取得されたセンサ情報の監視や、センサ情報に基づいた作業機器の制御を、ネットワーク側、すなわちクラウドから行うシステムが知られている。しかしながら、この種のシステムにおいて作業機器やセンサの数が多数となると、センサ情報のデータ量や処理負荷の増大に伴い、ネットワーク負荷の増大、処理時間の遅延の問題が生じる。また、情報セキュリティ等の懸念も存在する。そこで、センサ情報の処理をネットワークの末端(エッジ)であるローカル環境、例えば、工場内などにおいて行うエッジシステムが検討されている。 In a local environment such as a factory or construction site, sensors acquire information related to work equipment that performs predetermined work, monitor the acquired sensor information, and control the work equipment based on the sensor information. Systems that operate from the cloud are known. However, when the number of working devices and sensors increases in this type of system, the problem of increased network load and processing time delay arises as the amount of sensor information data and processing load increase. There are also concerns about information security. Therefore, an edge system that processes sensor information in a local environment, such as a factory, which is the terminal (edge) of the network, is being studied.

一方、ローカル環境においてセンサ情報の取得や解析などを行う技術が近年注目されており、エッジコンピューティング又はMEC(Mobile Edge Computing)等と呼ばれている。このとき、ローカル環境に配置される機器は、エッジ端末又はMEC等と呼ばれる場合がある。ところで、エッジ端末において、多数の機能を実現しようとすると、ホストPCにインストールされたOS(オペレーションシステム)上において、複数のアプリケーションを動作させることとなる。しかしながら、複数のアプリケーションを同時に動作させる場合には、OSにおけるシステムリソースをアプリケーション間で共有する必要があるため、OS毎にアプリケーションの設計を変更しなければならず、開発負担が大きい。 On the other hand, a technique for acquiring and analyzing sensor information in a local environment has been attracting attention in recent years, and is called edge computing or MEC (Mobile Edge Computing). At this time, the device arranged in the local environment may be called an edge terminal, MEC, or the like. By the way, in order to realize many functions in the edge terminal, it is necessary to operate a plurality of applications on an OS (Operating System) installed in the host PC. However, when a plurality of applications are operated at the same time, it is necessary to share the system resources of the OS between the applications. Therefore, the application design must be changed for each OS, which increases the development burden.

そこで、エッジ端末のOS上で論理的な区間を作り、その区画内で、アプリケーション本体に加えてアプリケーションの動作に必要な環境をまとめたコンテナアプリケーションを展開(デプロイ)する技術が知られている。この技術によれば、OS上のリソースを論理的に分離して複数のコンテナに使用させることができる。そのため、アプリケーションの設計のOS依存性が低減し、システム開発の負担を軽減することができる。このようなコンテナ技術は、OS上にインストールされるコンテナ管理ソフトによって実現される。コンテナ管理ソフトの一例として、Dockerなどがあげられる(例として、特許文献1)。 Therefore, a technique is known in which a logical section is created on the OS of the edge terminal, and a container application, in which the application main body and the environment necessary for the operation of the application are put together, is deployed within the section. According to this technology, resources on the OS can be logically separated and used by multiple containers. Therefore, the OS dependence of application design can be reduced, and the burden of system development can be reduced. Such container technology is realized by container management software installed on the OS. An example of container management software is Docker (Patent Document 1, for example).

近年、コンテナ技術の進化や、システムの冗長化の要望に伴って、ネットワーク接続、記憶領域、及び、ホストPCの設定が複雑化しており、複数のコンテナアプリケーションをスケジューリングする必要性が高まっている。そこで、これらの設定を自動的に行いコンテナアプリケーションの管理を統合的に行うオーケストレーションツールの開発が進められている。 In recent years, with the evolution of container technology and the demand for system redundancy, network connections, storage areas, and settings of host PCs have become more complicated, increasing the need to schedule multiple container applications. Therefore, the development of an orchestration tool that automatically configures these settings and manages container applications in an integrated manner is underway.

オーケストレーションツールが用いられることにより、複数のコンテナアプリケーションのデプロイ、実行、管理及びスケジューリングなどを容易に行うことができるため、さらにシステム開発の負担が軽減されている。コンテナオーケストレーションツールとしては、Kubernetes、Apache Mesosなどが知られる。 By using an orchestration tool, it is possible to easily deploy, execute, manage, and schedule multiple container applications, further reducing the burden of system development. Kubernetes, Apache Mesos, etc. are known as container orchestration tools.

国際公開第2018/003020号WO2018/003020

上述の技術的背景の下、工場内等の所定のローカル環境において、作業機器の操作やセンサ情報の解析などのため、複数のエッジ端末を用いてエッジシステムを構成することが検討されている。しかしながら、工場内等のローカル環境においては、コスト等の観点から、必ずしもセンサや作業機器のそれぞれに対して同程度の能力をもった端末を用いることができるとは限らない。その場合、システム全体としての効率性は低下する。 Under the above-mentioned technical background, in a predetermined local environment such as a factory, it is being considered to configure an edge system using a plurality of edge terminals for operation of work equipment, analysis of sensor information, and the like. However, in a local environment such as in a factory, it is not always possible to use terminals having the same level of capability for each of the sensors and work equipment from the viewpoint of cost and the like. In that case, the efficiency of the system as a whole decreases.

また、この種のシステムに対しては、ハードウェア等への依存性の少ないコンテナオーケストレーション技術を用いることが有効と考えられるものの、そのアーキテクチャの設計論は未だ途上である。 Also, for this type of system, it is considered effective to use container orchestration technology, which is less dependent on hardware, etc., but the design theory of its architecture is still under development.

本発明は、上述の技術的背景に鑑みてなされたものであり、その目的とすることころは、様々な能力の端末により構成される場合であっても、高い処理効率を有するシステムを提供することにある。 The present invention has been made in view of the above technical background, and its object is to provide a system having high processing efficiency even when configured with terminals of various capabilities. That's what it is.

上述の課題は、以下の構成を有するシステム等により解決することができる。 The above problems can be solved by a system or the like having the following configuration.

すなわち、本発明の一態様に係るシステムは、オーケストレーション技術により論理的に割り当てたハードウェアリソースを用いてコンテナを動作させる複数の端末を階層的に接続し通信可能に構成して成るシステムであって、前記複数の端末のうちの一の端末である親端末は、前記親端末より下位に配置されて接続された子端末の処理状態を監視する、処理状態監視部と、前記子端末上の処理状態が所定の条件を満たす場合に、前記子端末において行われるべき処理の一部又は全体を前記親端末において代替的に実行する、代替実行処理部と、を備えている。 In other words, a system according to an aspect of the present invention is a system configured to hierarchically connect and communicate with a plurality of terminals that operate containers using hardware resources logically allocated by orchestration technology. a parent terminal, which is one of the plurality of terminals; an alternative execution processing unit that causes the parent terminal to alternatively execute part or all of the processing to be performed in the child terminal when a processing state satisfies a predetermined condition.

本発明の一態様によれば、端末間において処理状態の監視がなされ、所定の条件を満たす場合には処理が代替実行される。そのため、様々な能力の端末から成る場合であっても高い処理効率を有するシステムを提供することができる。 According to one aspect of the present invention, processing states are monitored between terminals, and processing is alternatively executed when a predetermined condition is satisfied. Therefore, it is possible to provide a system with high processing efficiency even when terminals with various capabilities are used.

図1は、第1実施形態に係るエッジシステムを備える監視システムの構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a monitoring system having an edge system according to the first embodiment. 図2は、エッジシステムのブロック図である。FIG. 2 is a block diagram of an edge system. 図3は、エッジシステムの機能を説明するためのブロック図である。FIG. 3 is a block diagram for explaining the functions of the edge system. 図4は、MECのハードウェア構成図である。FIG. 4 is a hardware configuration diagram of the MEC. 図5は、MECのソフトウェア構成図である。FIG. 5 is a software configuration diagram of the MEC. 図6は、オーケストレーションツールが用いられる場合のMECのソフトウェア構成図である。FIG. 6 is a software configuration diagram of MEC when an orchestration tool is used. 図7は、クラスタの概略構成図である。FIG. 7 is a schematic configuration diagram of a cluster. 図8は、処理情報を示すテーブルである。FIG. 8 is a table showing processing information. 図9は、リソース管理処理を示すフローチャートである。FIG. 9 is a flowchart showing resource management processing. 図10は、代替実行先におけるポッドの代替実行処理を示すフローチャートである。FIG. 10 is a flowchart illustrating pod alternative execution processing at the alternative execution destination. 図11は、代替実行元におけるポッドの代替実行処理を示すフローチャートである。FIG. 11 is a flowchart illustrating pod alternative execution processing in an alternative execution source. 図12は、第2実施形態のエッジシステムのブロック図である。FIG. 12 is a block diagram of the edge system of the second embodiment. 図13は、エッジシステムの機能を説明するためのブロック図である。FIG. 13 is a block diagram for explaining the functions of the edge system. 図14は、応用例である第1適用例のエッジシステムの概略構成図である。FIG. 14 is a schematic configuration diagram of an edge system of a first application example, which is an application example. 図15は、他の応用例である第2適用例のエッジシステムの概略構成図である。FIG. 15 is a schematic configuration diagram of an edge system of a second application example, which is another application example.

以下、図面を参照して、本発明の第1実施形態について説明する。 A first embodiment of the present invention will be described below with reference to the drawings.

(第1実施形態)
図1は、本発明の実施形態に係るエッジシステムを備える監視システムの構成を示すブロック図である。この図に示されるように、監視システム100において、ローカル環境11に設けられたエッジシステム10は、WAN(Wide Area Network)13に接続され、WAN13を介してターミナル14及び、イメージレジストリ15と通信可能に構成されている。
(First embodiment)
FIG. 1 is a block diagram showing the configuration of a monitoring system having an edge system according to an embodiment of the invention. As shown in this figure, in a monitoring system 100, an edge system 10 provided in a local environment 11 is connected to a WAN (Wide Area Network) 13 and can communicate with a terminal 14 and an image registry 15 via the WAN 13. is configured to

エッジシステム10は、一例として、工場や建設現場などのローカル環境11において、製造工程や建設工程などの監視をするとともに、これらの工程に用いられる作業機器を制御するシステムである。エッジシステム10は、通信や制御などの複数の機能を実現する複合機12により構成され、本実施形態においては、複合機12A~12Dによって構成されている。また、エッジシステム10は、無線通信又は有線通信によりWAN13と接続される。なお、WAN13は、その一部または全部が移動体通信ネットワークにより構成されてもよい。 The edge system 10 is, for example, a system that monitors manufacturing processes, construction processes, and the like in a local environment 11 such as a factory or a construction site, and controls work equipment used in these processes. The edge system 10 is composed of a multifunction machine 12 that realizes a plurality of functions such as communication and control, and in this embodiment, it is composed of multifunction machines 12A to 12D. Also, the edge system 10 is connected to the WAN 13 by wireless communication or wired communication. The WAN 13 may be configured partially or wholly by a mobile communication network.

後述のように、複合機12A~12Dは、センサにより取得されたセンサ情報を処理するMECを有する。なお、MECは、エッジ端末の一例であって、コンテナオーケストレーション技術を用いて制御されるコンテナにより、作業機器の制御やセンサ情報の収集などを行う。 As will be described later, the MFPs 12A-12D have MECs that process sensor information acquired by sensors. Note that the MEC is an example of an edge terminal, and controls work equipment and collects sensor information by a container controlled using container orchestration technology.

エッジシステム10においては、親機である第1世代の第1複合機12Aに対して、子機となる第2世代の第2複合機12B、及び、第3複合機12Cが接続され、さらに、第2複合機12Bには孫機である第3世代の第4複合機12Dが接続されている。 In the edge system 10, a second generation second multifunction device 12B and a third multifunction device 12C, which are child devices, are connected to a first generation multifunction device 12A, which is a parent device. A third-generation fourth multifunction peripheral 12D, which is a grandchild machine, is connected to the second multifunction peripheral 12B.

なお、本実施形態においては、親機、子機、及び、孫機の3世代の複合機12によってエッジシステム10が構成される例を説明するが、任意の世代数の複合機12によってエッジシステム10を構成してもよい。また、エッジシステム10を構成する複合機12の数も任意である。また、以下において、第1複合機12A、第2複合機12B、第3複合機12C、及び、第4複合機12Dについて、構成を区別する必要がない場合には、これらを総称して複合機12と称する。なお、他の構成についても同様であり、同じ構成が複数あり、それらの構成を区別する必要がない場合には、複数の構成を総称して添え字を省略して記載する。 In the present embodiment, an example in which the edge system 10 is configured by three generations of multifunction peripherals 12 including a parent machine, a child machine, and a grandchild machine will be described. 10 may be configured. Also, the number of multi-function machines 12 constituting the edge system 10 is arbitrary. Further, hereinafter, when there is no need to distinguish between the configurations of the first multifunction machine 12A, the second multifunction machine 12B, the third multifunction machine 12C, and the fourth multifunction machine 12D, these multifunction machines are collectively referred to as multifunction machines. 12. The same applies to other configurations, and when there are multiple identical configurations and there is no need to distinguish between them, the multiple configurations will be generically described with suffixes omitted.

また、本実施形態においては、イメージレジストリ15は、WAN13を介してネットワーク上に存在することとしたが、このような構成に限定されない。従って、イメージレジストリ15は、ローカル環境11であるエッジシステム10内に設けられてもよく、例えば、MEC内に配置されてもよい。 Also, in the present embodiment, the image registry 15 is assumed to exist on the network via the WAN 13, but the configuration is not limited to this. Accordingly, the image registry 15 may be provided within the local environment 11, the edge system 10, and may be located within the MEC, for example.

WAN13には、ターミナル14、及び、イメージレジストリ15が接続される。エッジシステム10、ターミナル14、及び、イメージレジストリ15は、WAN13を介して相互に通信できる。 A terminal 14 and an image registry 15 are connected to the WAN 13 . Edge system 10 , terminal 14 and image registry 15 can communicate with each other via WAN 13 .

ターミナル14は、ディスプレイ、CPU(Central Processing Unit)及びGPU(Graphics Processing Unit)、メモリ、ネットワークインターフェースなどを備える機器であり、WAN13を介してエッジシステム10と接続され、エッジシステム10から送信される監視結果を表示する。ターミナル14は、例えば、パーソナルコンピュータ、スマートフォン、及び、タブレット端末などの表示部を備える情報端末である。 The terminal 14 is a device including a display, a CPU (Central Processing Unit) and a GPU (Graphics Processing Unit), a memory, a network interface, etc. The terminal 14 is connected to the edge system 10 via the WAN 13 and receives monitoring data transmitted from the edge system 10. View results. The terminal 14 is, for example, an information terminal having a display unit such as a personal computer, a smart phone, and a tablet terminal.

イメージレジストリ15は、一例としては汎用的なデータサーバである。後述のように、エッジシステム10を構成する複合機12の一部であるMECにおいては、コンテナオーケストレーション技術を用いてコンテナが実行されており、イメージレジストリ15には、MECにデプロイされるコンテナのイメージが記憶されている。 Image registry 15 is, for example, a general-purpose data server. As will be described later, in the MEC, which is a part of the multi-function device 12 that configures the edge system 10, containers are executed using container orchestration technology, and the image registry 15 contains information about containers to be deployed in the MEC. image is stored.

イメージレジストリ15に記憶されているコンテナのイメージは、WAN13、及び、移動体通信ネットワークを介してエッジシステム10へと送信されて、複合機12のMECにおいてデプロイされる。 The container image stored in the image registry 15 is transmitted to the edge system 10 via the WAN 13 and mobile communication network and deployed in the MEC of the multifunction machine 12 .

図2は、エッジシステム10の詳細を示す図である。 FIG. 2 is a diagram showing details of the edge system 10. As shown in FIG.

複合機12Aは、センサ情報の取得や管理を行うMEC21Aを有している。 The multi-function device 12A has an MEC 21A that acquires and manages sensor information.

MEC21Aは、CPU及びGPU、メモリ、及び、ネットワークインターフェースなどを備える機器であり、記憶されたプログラムを実行可能に構成されている。MEC21Aは、汎用的なコンピュータを用いて構成してもよいし、専用端末であってもよい。 The MEC 21A is a device that includes a CPU and GPU, a memory, a network interface, etc., and is configured to be able to execute stored programs. The MEC 21A may be configured using a general-purpose computer, or may be a dedicated terminal.

MEC21Aには、OS(Operating System)上に、コンテナオーケストレーションを実現するミドルウェアがインストールされている。そして、MEC21Aにおいては、所定の機能を実現するコンテナがデプロイされる。なお、MEC21Aについては、後に、図4を用いてハードウェアの構成を、図5を用いてソフトウェアの構成を説明する。 In the MEC 21A, middleware for realizing container orchestration is installed on an OS (Operating System). Then, in the MEC 21A, a container that implements a predetermined function is deployed. As for the MEC 21A, the hardware configuration will be described later with reference to FIG. 4, and the software configuration will be described later with reference to FIG.

MEC21Aは、主に、ローカル環境11内の他の複合機12B~12Dが備える作業機器22B~22Dの制御情報や、センサ23B~23Dにより取得されるセンサ情報などについて監視や機械学習などを行う。MEC21Aは、無線通信又は有線通信を介して、監視結果や機械学習により得られる学習済みモデルなどを、ターミナル14へ送信する。また、後述のように、MEC21Aは、他のMEC21B~21Dの間におけるリソースの分配を行う。 The MEC 21A mainly performs monitoring and machine learning of control information of the work machines 22B to 22D provided in the other multifunction machines 12B to 12D in the local environment 11 and sensor information acquired by the sensors 23B to 23D. The MEC 21A transmits monitoring results, learned models obtained by machine learning, and the like to the terminal 14 via wireless or wired communication. Also, as will be described later, the MEC 21A distributes resources among the other MECs 21B-21D.

複合機12Bは、MEC21Bに加えて、作業機器22B、及び、センサ23Bを備える。作業機器22Bは、ローカル環境11内における製造工程や建設工程の1つまたは複数において用いられる機器であり、例えば、工場におけるロボットアームや建設現場におけるトラック等の中・大型機器から、半導体基板から成るディスプレイモジュール等の小型機器まで様々である。センサ23Bは、作業機器22Bに直接又は間接的に関連する情報を取得する機器であり、例えば、カメラや赤外線センサなどである。センサ23Bは、取得したセンサ情報をMEC21Bに出力する。 The multifunction device 12B includes a working device 22B and a sensor 23B in addition to the MEC 21B. The work equipment 22B is equipment used in one or more of the manufacturing process and the construction process within the local environment 11. For example, the work equipment 22B may be a robot arm in a factory, a truck in a construction site, or other medium-sized or large equipment, or may be made of a semiconductor substrate. There are various types, including small devices such as display modules. The sensor 23B is a device that acquires information directly or indirectly related to the work device 22B, such as a camera or an infrared sensor. The sensor 23B outputs the acquired sensor information to the MEC 21B.

MEC21Bは、主に、センサ23Bにより取得されるセンサ情報、及び、作業機器22Bの制御情報について解析及び機械学習を行う。MEC21Bは、さらに、自律的に、または、他のMEC21やターミナル14からの指示に応じて作業機器22Bを制御してもよい。そして、MEC21Bは、センサ情報を用いた監視結果や機械学習の成果物である学習済みモデルなどを、第1複合機12Aへと送信する。 The MEC 21B mainly performs analysis and machine learning on sensor information acquired by the sensor 23B and control information of the work equipment 22B. MEC 21B may also control work equipment 22B autonomously or in response to instructions from other MEC 21 or terminal 14 . Then, the MEC 21B transmits the monitoring result using the sensor information, the learned model that is the product of machine learning, and the like to the first multifunction device 12A.

複合機12Cは、複合機12Bと同様に、MEC21C、作業機器22C、センサ23Cを備え、MEC21Cにおいては、作業機器22Cの制御やセンサ23Cによるセンサ情報の取得などが行われる。なお、複合機12Dも、複合機12B、12Cと同様に構成される。なお、複合機12A~12Dにおいては、複合機12だけでなく、MEC21Aは第1世代の親機、MEC21B、22Cは第2世代の子機、MEC21Dは第3世代の孫機に相当することになり、互いに連携して処理を行う。 Like the multifunction machine 12B, the multifunction machine 12C includes a MEC 21C, a work machine 22C, and a sensor 23C. The MEC 21C controls the work machine 22C and acquires sensor information from the sensor 23C. The MFP 12D is configured similarly to the MFPs 12B and 12C. Note that the MEC 21A corresponds to the first generation base machine, the MEC 21B and 22C to the second generation slave machines, and the MEC 21D to the third generation grandchild machine, in addition to the multifunction machine 12 in the multifunction machines 12A to 12D. and cooperate with each other to perform processing.

図3は、エッジシステム10の機能を説明するためのブロック図である。 FIG. 3 is a block diagram for explaining the functions of the edge system 10. As shown in FIG.

この図に示されるように、エッジシステム10は、点線で示されるローカル環境11において、二点鎖線で示され、MEC21A~21Dにより構成される情報処理系統31を備える。すなわち、情報処理系統31においては、エッジシステム10における具体的なセンサ情報や機械学習に関する学習済みモデルなどの情報処理が行われる。 As shown in this figure, the edge system 10 includes an information processing system 31 indicated by a two-dot chain line and configured by MECs 21A to 21D in a local environment 11 indicated by a dotted line. That is, in the information processing system 31, information processing such as specific sensor information in the edge system 10 and trained models related to machine learning is performed.

情報処理系統31においては、第1世代のMEC21Aと、第2世代のMEC21B、21Cと、第3世代のMEC21Dとが階層化されて構成される。各世代のMEC21は、それぞれの世代間で協働した情報処理ができるように構成されるとともに、第2世代のMEC21B、21Cのような同世代のMEC21間では相互に協働して情報処理ができるよう可能に構成される。 In the information processing system 31, a first generation MEC 21A, second generation MECs 21B and 21C, and a third generation MEC 21D are hierarchically configured. The MECs 21 of each generation are configured so that information processing can be performed in cooperation with each other, and the MECs 21 of the same generation such as the MECs 21B and 21C of the second generation can perform information processing in cooperation with each other. configured to allow

MEC21A~21Dは、基本的なハードウェア構成は同じであるが、同一である必要はなく、処理能力や記憶容量などは異なってもよい。本実施形態においては、MEC21Aは、情報処理能力が高く、記憶容量が大きいものが選択され、MEC21B、21Cは、情報処理能力及び記憶容量が中型のものが選択され、MEC21Dは、情報処理能力及び記憶容量が小型のものが選択される。 Although the MECs 21A to 21D have the same basic hardware configuration, they do not need to be the same, and may differ in processing capability, storage capacity, and the like. In this embodiment, the MEC 21A is selected to have high information processing capability and large storage capacity, the MECs 21B and 21C are selected to have medium information processing capability and storage capacity, and the MEC 21D is selected to have information processing capability and storage capacity. The one with the small storage capacity is selected.

図4は、MEC21のハードウェア構成図である。 FIG. 4 is a hardware configuration diagram of the MEC 21. As shown in FIG.

MEC21は、全体を制御するCPU及びGPU等により構成される制御部41と、ROM(Read Only Memory)、RAM(Random Access Memory)、ハードディスク又はストレージ等により構成され、プログラムや各種のデータ等を記憶する記憶部42と、外部機器とのデータの入出力を行う入出力ポート43と、他のMEC21と通信を行う通信部44と、ディスプレイ、LED、又はスピーカ等からなりデータに応じた表示を行う表示部45と、外部からの入力を受け付ける入力部46と、を備える。制御部41、記憶部42、入出力ポート43、通信部44、表示部45、及び、入力部46は、バス接続により互いに通信可能に構成されている。なお、このハードウェア構成は、FPGA等のハードウェア回路により実現してもよい。 The MEC 21 is composed of a control unit 41 composed of a CPU, a GPU, etc. for overall control, a ROM (Read Only Memory), a RAM (Random Access Memory), a hard disk or a storage, etc., and stores programs, various data, and the like. an input/output port 43 for inputting/outputting data to/from an external device; a communication unit 44 for communicating with another MEC 21; It has a display unit 45 and an input unit 46 that receives input from the outside. The control unit 41, the storage unit 42, the input/output port 43, the communication unit 44, the display unit 45, and the input unit 46 are configured to communicate with each other through bus connection. Note that this hardware configuration may be realized by a hardware circuit such as an FPGA.

なお、上述のようにMEC21A~21Dは同一のハードウェア構成となっていない。MEC21Aは、制御部41の情報処理能力が高く、かつ、記憶部42の容量が大きく、MEC21B、22Cは、制御部41の情報処理能力、及び、記憶部42の容量は中程度である。MEC21Dは、制御部41の情報処理能力が低く、かつ、記憶部42の容量が小さい。 Note that the MECs 21A to 21D do not have the same hardware configuration as described above. The MEC 21A has a high information processing capability of the control unit 41 and a large capacity of the storage unit 42, and the MECs 21B and 22C have an intermediate information processing capability of the control unit 41 and a medium capacity of the storage unit 42. The MEC 21D has a low information processing capability of the control unit 41 and a small capacity of the storage unit 42 .

図5は、MEC21のソフトウェア構成図である。 FIG. 5 is a software configuration diagram of the MEC 21. As shown in FIG.

MEC21は、ハードウェア51の上に、オペレーションシステム(OS)52がインストールされている。オペレーションシステム52においては、汎用ミドルウェア53に加えて、コンテナエンジン54、及び、コンテナエンジン54とともに動作するオーケストレーションツール55がインストールされている。 The MEC 21 has an operating system (OS) 52 installed on hardware 51 . In addition to general-purpose middleware 53 , a container engine 54 and an orchestration tool 55 operating together with the container engine 54 are installed in the operating system 52 .

MEC21においては、コンテナエンジン54、及び、オーケストレーションツール55によって、コンテナ56のデプロイ及び実行がなされる。コンテナ56には、所定の機能を実現するアプリケーション(APL)57に加えて、コンテナエンジン54の動作仕様に従うミドルウェア(MW)58が含まれる。なお、ミドルウェア58は、ライブラリなどを含んでもよい。 In the MEC 21 , containers 56 are deployed and executed by container engines 54 and orchestration tools 55 . The container 56 includes middleware (MW) 58 that conforms to the operation specifications of the container engine 54 in addition to an application (APL) 57 that implements a predetermined function. Note that the middleware 58 may include a library and the like.

ハードウェア51は、図4に示されたハードウェア構成を備える。これらのハードウェア51のリソースを用いて、MEC21は所定の動作を行うことができる。 The hardware 51 has the hardware configuration shown in FIG. Using these hardware 51 resources, the MEC 21 can perform predetermined operations.

オペレーションシステム52は、MEC21におけるソフトウェア構成の基本システムである。オペレーションシステム52によって、MEC21の全体の動作が制御される。 The operating system 52 is a basic software configuration system in the MEC 21 . The operation system 52 controls the overall operation of the MEC 21 .

汎用ミドルウェア53は、一般に、オペレーションシステム52のベンダーなどにより提供される機能ブロックであり、図4に示された通信部44による通信機能や、表示部45による表示動作、入力部46からの入力制御などの、基本的な動作を実現するための機能ブロックである。 The general-purpose middleware 53 is generally a functional block provided by the vendor of the operating system 52, etc., and performs the communication functions of the communication unit 44 shown in FIG. It is a functional block for realizing basic operations such as

コンテナエンジン54は、オペレーションシステム52にインストールされるミドルウェアの1つであって、コンテナ56を動作させるエンジンである。詳細には、コンテナエンジン54は、コンテナ56内のミドルウェア58に含まれる設定ファイルなどに基づいて、ハードウェア51及びオペレーションシステム52のリソースをコンテナ56へ割り当てる。 The container engine 54 is one of middleware installed in the operating system 52 and is an engine that operates the container 56 . Specifically, the container engine 54 allocates the resources of the hardware 51 and the operating system 52 to the container 56 based on the configuration files and the like included in the middleware 58 within the container 56 .

オーケストレーションツール55は、コンテナエンジン54に対してハードウェア51などのリソースの割り当てを行わせる機能ブロックである。オーケストレーションツール55によって、1つ又は複数のコンテナ56がポッド(図5において不図示)と称される単位にまとめられ、各ポッドが論理的に異なるエリアであるノード(図5において不図示)にデプロイされる。オーケストレーションツール55による動作の詳細については、後に図6を用いて説明する。 The orchestration tool 55 is a functional block that causes the container engine 54 to allocate resources such as the hardware 51 . An orchestration tool 55 organizes one or more containers 56 into units called pods (not shown in FIG. 5), and each pod is assigned to a node (not shown in FIG. 5), which is a logically different area. Deployed. Details of the operation of the orchestration tool 55 will be described later with reference to FIG.

コンテナ56は、所定の機能を実現するアプリケーション57だけでなく、ライブラリなどのミドルウェア58を含む。コンテナ56は、コンテナエンジン54によって割り当てられたハードウェア51及びオペレーションシステム52のリソースを用いて動作する。コンテナエンジン54によるコンテナ56へのリソースの割り当ては、コンテナ56内のミドルウェア58に含まれる設定ファイルなどに基づいて行われる。このように、リソース管理がコンテナエンジン54によって保証されるため、コンテナ56の動作の環境依存性を低下させることができる。 The container 56 includes middleware 58 such as a library as well as an application 57 that implements a predetermined function. The container 56 operates using the hardware 51 and operating system 52 resources allocated by the container engine 54 . Allocation of resources to the container 56 by the container engine 54 is performed based on a setting file or the like included in the middleware 58 in the container 56 . In this way, resource management is guaranteed by the container engine 54, thus making the operation of the container 56 less environment dependent.

図6は、オーケストレーションツール55が用いられる場合のコンテナ56の動作環境となるMEC21の概略構成図である。なお、上述のようにMEC21のハードウェア構成は、それぞれのMEC21A~21Dにおいて異なるため、この図に示されるコンテナ56の数などは一例である。 FIG. 6 is a schematic configuration diagram of the MEC 21 that serves as an operating environment for the container 56 when the orchestration tool 55 is used. As described above, the hardware configuration of the MEC 21 is different for each of the MECs 21A to 21D, so the number of containers 56 and the like shown in this figure is an example.

オーケストレーションツール55は、コンテナエンジン54が割り当てるハードウェアリソースを管理する。オーケストレーションツール55により管理される論理的な空間は、クラスタと称される。本実施形態においては、オーケストレーションツール55は、MEC21A~21Dのハードウェアリソースを用いてクラスタを形成する。 Orchestration tool 55 manages the hardware resources allocated by container engine 54 . A logical space managed by the orchestration tool 55 is called a cluster. In this embodiment, the orchestration tool 55 forms a cluster using the hardware resources of the MECs 21A-21D.

オーケストレーションツール55は、コンテナ56の実行環境の管理を、ノード61と称される単位で行う。同時に、オーケストレーションツール55によって、ノード61の全体の動作を管理するマスタ62が設けられる。 The orchestration tool 55 manages the execution environment of the container 56 in units called nodes 61 . At the same time, the orchestration tool 55 provides a master 62 that manages the overall operation of the nodes 61 .

ノード61においては、この図の例においては、2つのポッド611がデプロイされている。ポッド611は、複数のコンテナ56からなる所定のサービスを実現する機能ブロックであり、この図の例では、ポッド611は、2つのコンテナ56を有する。ポッド611は、オーケストレーションツール55によってコンテナ56を管理する単位となる。ノード61内におけるポッド611の全体の動作は、ポッド管理ライブラリ612により制御される。 In the node 61, two pods 611 are deployed in the example of this figure. A pod 611 is a functional block that implements a predetermined service made up of a plurality of containers 56 , and in the example of this figure, the pod 611 has two containers 56 . A pod 611 is a unit for managing the container 56 by the orchestration tool 55 . The overall operation of pod 611 within node 61 is controlled by pod management library 612 .

ポッド管理ライブラリ612は、論理的に割り当てられたハードウェアリソースをポッド611(コンテナ56)に使用させるためのコンテナランタイム6121、マスタ62からの制御を受け付けるエージェント6122、及び、ポッド611間やノード61とマスタ62との間などの通信を行うネットワーク(NW)プロキシ6123などを有する。このような構成を備えるポッド管理ライブラリ612によって、ポッド611は、同一のノード61内のポッド611や、他のノード61のポッド611などと相互に通信しながら、ハードウェアリソースを用いて、所定の機能を実現する。 The pod management library 612 includes a container runtime 6121 for allowing the pods 611 (containers 56) to use logically allocated hardware resources, an agent 6122 for receiving control from the master 62, It has a network (NW) proxy 6123 or the like that performs communication with the master 62 or the like. By means of the pod management library 612 having such a configuration, the pods 611 communicate with the pods 611 within the same node 61, the pods 611 of other nodes 61, and the like, and use hardware resources to perform predetermined operations. Realize the function.

マスタ62は、ポッド611のデプロイを行うアプリサーバ621、アプリサーバ621によるコンテナ56のデプロイ状況を管理するマネージャ622、いずれのノード61にコンテナ56を配置するかを決定するスケジューラ623、及び、データの共有を行うデータ共有部624などを含む。なお、マスタ62は、各ノード61における処理負荷が一定となるようにポッド611の削除やデプロイを行うことができるので、高メンテナンス性を実現することができる。 The master 62 includes an application server 621 that deploys the pods 611, a manager 622 that manages the deployment status of the containers 56 by the application server 621, a scheduler 623 that determines which node 61 the container 56 is to be placed on, and data distribution. A data sharing unit 624 for sharing is included. Note that the master 62 can delete and deploy the pods 611 so that the processing load on each node 61 is constant, so high maintainability can be achieved.

図7は、MEC21A~21Dにより構成されるクラスタの概略構成図である。 FIG. 7 is a schematic configuration diagram of a cluster composed of MECs 21A to 21D.

前述のように、MEC21A~21Dには、それぞれにおいて、コンテナエンジン54(図7において不図示)、及び、オーケストレーションツール55(図7において不図示)がインストールされている。そのため、MEC21A~21Dのハードウェアリソースを用いて、1つのクラスタが形成される。そして、そのクラスタ内においては、1つのマスタ62と複数のノード61とが構成され、ノード61においては、複数のコンテナ56(図7において不図示)からなるポッド611が実行される。なお、MEC21Aは第1世代の親機、MEC21B、21Cは第2世代の子機、MEC21Dは第3世代の孫機である。 As described above, each of the MECs 21A-21D has a container engine 54 (not shown in FIG. 7) and an orchestration tool 55 (not shown in FIG. 7) installed. Therefore, one cluster is formed using the hardware resources of the MECs 21A to 21D. In the cluster, one master 62 and a plurality of nodes 61 are configured, and the nodes 61 execute pods 611 composed of a plurality of containers 56 (not shown in FIG. 7). The MEC 21A is a first generation parent device, the MEC 21B and 21C are second generation child devices, and the MEC 21D is a third generation grandchild device.

MEC21Aにおいては、マスタ62が設けられるとともに、1つのノード61Aが設けられる。 The MEC 21A is provided with a master 62 and one node 61A.

マスタ62においては、オーケストレーションツール55により実現される機能によってリソース管理が行われる。このようなオーケストレーションツール55を用いたリソース管理は、マスタ62による各ポッド611の制御状況などに応じて行われる。なお、一般に、コンテナオーケストレーション技術を用いる場合における複数の端末におけるリソース管理は、オーケストレーション技術を提供するミドルウェアにおいて行われる。しかしながら、ミドルウェアにおけるリソース管理は、端末における実際の処理状態を十分に考慮していない。本実施形態においては、後述するように、管理ポッド6111による監視と代替処理が行われるので、より適切なリソース管理が実現される。 In the master 62, resource management is performed by functions implemented by the orchestration tool 55. FIG. Such resource management using the orchestration tool 55 is performed according to the control status of each pod 611 by the master 62 and the like. In general, resource management in a plurality of terminals when container orchestration technology is used is performed by middleware that provides orchestration technology. However, resource management in middleware does not fully consider the actual processing state in the terminal. In this embodiment, as will be described later, monitoring and substitution processing are performed by the management pod 6111, so more appropriate resource management is realized.

ノード61Aにおいては、1つの管理ポッド6111と、所定の機能の実現を行う処理ポッド6112Aとが設けられている。 The node 61A is provided with one management pod 6111 and a processing pod 6112A that implements predetermined functions.

管理ポッド6111は、MEC21A~21Dにおける処理負荷の状況に応じて処理ポッド6112のリソース管理を行う。ここで、処理負荷とは、例えば、各MEC21の制御部(CPU、GPU等)における処理の負荷、記憶部(各種メモリ、ストレージ等)の容量、又は接続されるネットワークの負荷などを含む。管理ポッド6111によるリソース管理は、マスタ62によるオーケストレーション技術を用いたリソース管理とは異なり、MEC21のそれぞれにおいて直接的に観測された情報処理が行われている状況に応じて行われる。なお、MEC21において観測される情報処理が行われている状況は、処理情報としてまとめられる。 The management pod 6111 manages the resources of the processing pod 6112 according to the processing load status of the MECs 21A-21D. Here, the processing load includes, for example, the processing load on the control unit (CPU, GPU, etc.) of each MEC 21, the capacity of the storage unit (various memories, storages, etc.), or the load on the connected network. Resource management by the management pod 6111 differs from resource management using orchestration technology by the master 62, and is performed according to the information processing conditions directly observed in each of the MECs 21. FIG. It should be noted that the status of information processing observed in the MEC 21 is summarized as processing information.

詳細には、MEC21A以外のMEC21B~21Dには、監視ポッド6113が1つずつ設けられており、管理ポッド6111は、他のMEC21の監視ポッド6113から受信する処理情報に基づいて、ある処理ポッド6112の処理を他の処理ポッド6112に代替的に行わせることで、リソース管理を行う。なお、当該リソース管理については、後に図9を用いて、詳細に説明する。また、管理ポッド6111が管理を行う対象となるポッドは、同一のMEC21A内に配置されていてもよい。 Specifically, each of the MECs 21B to 21D other than the MEC 21A is provided with one monitoring pod 6113, and the management pod 6111 receives processing information from the monitoring pod 6113 of the other MEC 21. Resource management is performed by causing another processing pod 6112 to alternatively perform the processing of . The resource management will be explained later in detail with reference to FIG. Moreover, the pods to be managed by the management pod 6111 may be arranged in the same MEC 21A.

第1処理ポッド6112Aには、MEC21B~21Dにおける複合機12B~12Dにより取得されるセンサ情報の解析や機械学習などの所定の機能を実現するために、所定のコンテナがデプロイされる。 Predetermined containers are deployed in the first processing pod 6112A in order to implement predetermined functions such as analysis of sensor information acquired by the multifunction machines 12B-12D in the MECs 21B-21D and machine learning.

MEC21Bにおいては、ハードウェア処理能力が中程度であり、3つのノード61Bが構成され、それぞれのノード61Bにおいて2つずつポッド611がデプロイされるので、MEC21Bにおいては計6つのポッド611がデプロイされる。詳細には、1つのノード61Bにおいては、監視ポッド6113Bと、第1処理ポッド6112Bが設けられ、他の2つのノード61Bにおいては、さらに、第2~第5処理ポッド6112Bが設けられている。 In the MEC 21B, the hardware processing power is medium, three nodes 61B are configured, and two pods 611 are deployed in each node 61B, so a total of six pods 611 are deployed in the MEC 21B. . Specifically, one node 61B is provided with a monitoring pod 6113B and a first processing pod 6112B, and the other two nodes 61B are further provided with second to fifth processing pods 6112B.

監視ポッド6113Bは、自身が設けられるMEC21Bの負荷状態と、MEC21Bにおける第1~第5処理ポッド6112Bの情報処理が行われている状況を示す処理情報とを、MEC21Aの管理ポッド6111へと送信する。監視ポッド6113Bが送信する処理情報については、後に図8を用いて説明する。 The monitoring pod 6113B transmits, to the management pod 6111 of the MEC 21A, the load state of the MEC 21B in which it is provided and the processing information indicating the information processing status of the first to fifth processing pods 6112B in the MEC 21B. . Processing information transmitted by the monitoring pod 6113B will be described later with reference to FIG.

MEC21Cにおいては、ハードウェア処理能力が中程度であるが、冗長性を確保するために、MEC21Bよりも少ない2つのノード61Cが構成され、それぞれのノード61Bにおいて、2つずつ処理ポッド6112Bがデプロイされる。そして、1つのノード61Cにおいて監視ポッド6113Bと、第1処理ポッド6112Cが設けられ、その他のノード61Cにおいて、第2、第3処理ポッド6112Cが設けられている。 In the MEC 21C, the hardware processing capacity is moderate, but in order to ensure redundancy, two nodes 61C, which are fewer than the MEC 21B, are configured, and two processing pods 6112B are deployed in each node 61B. be. One node 61C is provided with a monitoring pod 6113B and a first processing pod 6112C, and the other node 61C is provided with second and third processing pods 6112C.

MEC21Dにおいては、ハードウェア処理能力が比較的低いため、1つのノード61Dが構成され、そのノード61Dにおいて、監視ポッド6113Dと、第1処理ポッド6112Dとが設けられている。 Since the MEC 21D has a relatively low hardware processing capability, one node 61D is configured, and the node 61D is provided with a monitoring pod 6113D and a first processing pod 6112D.

図8は、管理ポッド6111が監視ポッド6113B~6113Cから受信するMEC21B~21Dの処理情報を示す表である。この表によれば、処理情報は、各MEC21のハードウェアの処理負荷と、第1~第5処理ポッド6112Bの代替可否の状態をあわせて処理情報とにより構成される。 FIG. 8 is a table showing processing information of MEC 21B-21D received by management pod 6111 from monitoring pods 6113B-6113C. According to this table, the processing information is composed of the processing load of the hardware of each MEC 21 and the state of whether or not the first to fifth processing pods 6112B can be replaced.

例えば、MEC21Bにおいて、第1、第2処理ポッド6112Bは、作業機器22Bの現在または直後の工程に直接影響があるものであるため、自身とは異なるMEC21A、22C、及び、22Dにおいて代替できない(代替不可)と判断される。また、第3~第5処理ポッド6112Bは、センサ23Bにより取得されるセンサ情報の解析や、作業機器22Bの制御に関する機械学習を行うものであるため、親機であるMEC21Aにて代替的に実行可(MEC21Aで代替可)と判断される。 For example, in the MEC 21B, the first and second processing pods 6112B directly affect the current or immediately following process of the work equipment 22B, so they cannot be replaced in the MECs 21A, 22C, and 22D that are different from themselves (alternative not possible). Further, since the third to fifth processing pods 6112B perform analysis of sensor information acquired by the sensor 23B and machine learning related to the control of the work equipment 22B, the MEC 21A, which is the master device, executes the processing instead. It is determined to be possible (substitutable by MEC21A).

なお、図下方に示されるように、MEC21Dに関して、第1処理ポッド6112Dは、「MEC21A,22Bにて代替可」となる。これは、MEC21Dは第3世代であるため、第1世代であるMEC21A、及び、第2世代であるMEC21Bのいずれかにおいて代替的に実行が可能であることを示す。 Incidentally, as shown in the lower part of the drawing, regarding the MEC 21D, the first processing pod 6112D is "substituteable by the MECs 21A and 22B". This indicates that since the MEC 21D is the third generation, it can alternatively be executed in either the first generation MEC 21A or the second generation MEC 21B.

このように、MEC21B~21Dに設けられる監視ポッド6113B~6113Dは、MEC21の処理負荷と、処理ポッド6112についての他のMEC21での代替的な実行の可否を示す情報とを含む処理情報を生成する。そして、MEC21Aの管理ポッド6111は、MEC21B~22Cの監視ポッド6113B~6113Dから送信される処理情報に応じて、MEC21B~21Cにおける処理ポッド6112の他のMEC21での代替的な実行を行うことにより、リソースの配分を行う。 In this way, the monitoring pods 6113B to 6113D provided in the MECs 21B to 21D generate processing information including the processing load of the MEC 21 and information indicating whether the processing pod 6112 can be alternatively executed in another MEC 21. . Then, the management pod 6111 of the MEC 21A alternately executes the processing pod 6112 of the MECs 21B-21C in another MEC 21 according to the processing information transmitted from the monitoring pods 6113B-6113D of the MECs 21B-22C. Allocate resources.

図9は、管理ポッド6111が行うリソース管理処理を示すフローチャートである。 FIG. 9 is a flowchart showing resource management processing performed by the management pod 6111. As shown in FIG.

ステップS91において、管理ポッド6111は、MEC21B~21Dの監視ポッド6113B~6113Dから、MEC21B~21Dの処理情報(図8)を受信する。そして、管理ポッド6111は、次にステップS92の処理を行う。 In step S91, the management pod 6111 receives the processing information (FIG. 8) of the MECs 21B-21D from the monitoring pods 6113B-6113D of the MECs 21B-21D. The management pod 6111 then performs the process of step S92.

ステップS92において、管理ポッド6111は、処理情報に基づいて、MEC21B~21Dのうち処理負荷が所定の閾値を超えたMEC21があるか否かを判定する。処理負荷が所定の負荷閾値を超えたMEC21がある場合には(S92:Yes)、管理ポッド6111は、次にステップS93の処理を行う。処理負荷が負荷閾値を超えたMEC21がない場合には(S92:No)、管理ポッド6111は、リソース管理処理を終了する。 In step S92, the management pod 6111 determines whether or not there is an MEC 21 whose processing load exceeds a predetermined threshold among the MECs 21B to 21D, based on the processing information. If there is an MEC 21 whose processing load exceeds the predetermined load threshold (S92: Yes), the management pod 6111 next performs the process of step S93. If there is no MEC 21 whose processing load exceeds the load threshold (S92: No), the management pod 6111 terminates resource management processing.

なお、ステップS92の判定に用いられる負荷閾値は、マスタ62においてコンテナオーケストレーション技術を用いて行われるリソース管理に用いられる基準よりも低いものとする。このようにすることで、MEC21B~21Dの実際の処理負荷に応じたリソース管理を行うことができる。 It should be noted that the load threshold used for the determination in step S92 is assumed to be lower than the standard used for resource management performed in the master 62 using container orchestration technology. By doing so, resource management can be performed according to the actual processing load of the MECs 21B to 21D.

ステップS93において、管理ポッド6111は、処理情報に基づいて、処理負荷が負荷閾値を超えたMEC21において実行されている処理ポッド6112の代替可否の状態を確認する。 In step S93, based on the processing information, the management pod 6111 confirms whether or not the processing pod 6112 running in the MEC 21 whose processing load exceeds the load threshold can be replaced.

そして、管理ポッド6111は、処理ポッド6112のうち、他のMEC21において代替的に実行可能な処理ポッド6112があるか否かを判定する。他のMEC21において代替的に実行可能な処理ポッド6112がある場合には(S93:Yes)、管理ポッド6111は、次にステップS94の処理を行う。全ての処理ポッド6112が「代替不可」であり、他のMEC21において代替的に実行可能な処理ポッド6112がない場合には(S93:No)、管理ポッド6111は、リソース管理処理を終了する。 Then, the management pod 6111 determines whether or not there is a processing pod 6112 that can be alternatively executed in another MEC 21 among the processing pods 6112 . If there is a processing pod 6112 that can be alternatively executed in another MEC 21 (S93: Yes), the management pod 6111 then performs the processing of step S94. If all the processing pods 6112 are "non-substitutable" and there are no processing pods 6112 that can be alternatively executed in another MEC 21 (S93: No), the management pod 6111 terminates resource management processing.

ステップS94において、管理ポッド6111は、他のMEC21において代替的に実行可能な処理ポッド6112を削除するとともに、削除した処理ポッド6112と同一の処理を実行可能な処理ポッド6112を実現するプログラムを、処理情報に示された代替先のMEC21のノード61において代替実行する。なお、処理ポッド6112を削除することに代えて処理ポッド6112を再起動し所定の待機状態としてもよい。 In step S94, the management pod 6111 deletes the processing pod 6112 that can alternatively be executed in another MEC 21, and processes the program that realizes the processing pod 6112 that can execute the same processing as the deleted processing pod 6112. Alternate execution is performed in the node 61 of the alternate destination MEC 21 indicated in the information. Instead of deleting the processing pod 6112, the processing pod 6112 may be restarted and put into a predetermined standby state.

図10は、図9のステップS94における、処理ポッド6112の代替実行処理を示すフローチャートである。なお、処理ポッド6112の代替実行は、管理ポッド6111が主体となって行われる。 FIG. 10 is a flow chart showing alternative execution processing of the processing pod 6112 in step S94 of FIG. Note that the alternative execution of the processing pod 6112 is mainly performed by the management pod 6111 .

ステップS101において、親機であるMEC21Aにおける管理ポッド6111は、初期設定を行うことで、処理ポッド6112Aの代替実行処理を開始させる。 In step S101, the management pod 6111 in the MEC 21A, which is the parent device, performs initial settings to start the alternative execution process of the processing pod 6112A.

ステップS102において、管理ポッド6111は、子機であるMEC21Bの処理ポッド6112Bに代替実行を指示する。なお、この代替実行の指示においては、代替実行を行う処理ポッド6112Bと、その代替実行をさせるMEC21Aとが示されている。 In step S102, the management pod 6111 instructs the processing pod 6112B of the MEC 21B, which is a child device, to perform alternative execution. It should be noted that, in this alternate execution instruction, the processing pod 6112B that performs the alternate execution and the MEC 21A that performs the alternate execution are indicated.

ステップS103において、管理ポッド6111は、代替実行の指示に応じてMEC21Bから送信される処理ポッド6112Bの処理中データを受信すると、その処理中データを処理ポッド6112Aへと記憶させる。 In step S103, when the management pod 6111 receives the processing-in-progress data of the processing pod 6112B transmitted from the MEC 21B in response to the alternate execution instruction, it stores the processing-in-progress data in the processing pod 6112A.

ステップS104において、管理ポッド6111は、処理ポッド6112Aに対して、受信した子機であるMEC21Bにおける処理中データを用いて、処理を開始させる。このようにして、親機MEC21Aにおける処理ポッド6112Aにおける代替実行が行われる。 In step S104, the management pod 6111 causes the processing pod 6112A to start processing using the received in-process data in the MEC 21B, which is the child device. In this manner, alternate execution in the processing pod 6112A in the master MEC 21A is performed.

図11は、図9のステップS94における、代替実行元である子機であるMEC21Bにおける処理ポッド6112Bの代替実行処理を示すフローチャートである。 FIG. 11 is a flow chart showing the alternative execution processing of the processing pod 6112B in the MEC 21B, which is the child device that is the alternative execution source, in step S94 of FIG.

ステップS111において、子機であるMEC21Bにおいて、監視ポッド6113Bは、図10のステップS102に示されるように、親機であるMEC21Aから、子機であるMEC21Bの処理ポッド6112Bに代替実行の指示を受信する。なお、上述のように、この代替実行の指示には、代替実行を行う処理ポッド6112Bと、その代替的に実行可能させるMEC21Aとが示されている。 In step S111, the monitoring pod 6113B in the MEC 21B, which is a child device, receives an alternative execution instruction from the MEC 21A, which is a parent device, to the processing pod 6112B of the MEC 21B, which is a child device, as shown in step S102 in FIG. do. As described above, the alternative execution instruction indicates the processing pod 6112B that performs the alternative execution and the MEC 21A that is made alternatively executable.

ステップS112において、監視ポッド6113Bは、代替実行の指示に応じて、代替実行の対象である処理ポッド6112Bに対して、処理を停止すると、ステップS113において、処理中データを、親機であるMEC21Aに送信する。なお、この処理中データがMEC21Aに受信されると、図10のステップS103の処理が行われる。 In step S112, the monitoring pod 6113B stops the processing of the processing pod 6112B, which is the target of alternative execution, in response to the alternative execution instruction. Send. Note that when the MEC 21A receives this in-process data, the process of step S103 in FIG. 10 is performed.

このように、子機であるMEC21Bの処理負荷が高い場合には、処理ポッド6112Bによる処理中のデータを親機であるMEC21Aに送信するデータ連携を行った上で、処理ポッド6112Bによる処理を、MEC21Aの処理ポッド6112Aに実行させることができる。このようにして、親機であるMEC21Aと子機であるMEC21Bとの間におけるリソース管理を適切に行うことができる。 In this way, when the processing load of the MEC 21B, which is a slave device, is high, after performing data linkage to transmit the data being processed by the processing pod 6112B to the MEC 21A, which is the parent device, the processing by the processing pod 6112B is It can be executed by processing pod 6112A of MEC 21A. In this way, resource management can be appropriately performed between the MEC 21A, which is the parent device, and the MEC 21B, which is the child device.

なお、上述の例においては、MEC21Aの管理ポッド6111が、MEC21Bの処理ポッド6112Bを、自身(MEC21A)において代替的に実行する例について説明したが、これに限らない。例えば、MEC21Cのノード61Cなどに実行させてもよい。このように構成することで、親機と子機との間に限らず、子機同士や、子機と孫機との間でもリソース管理を適切に行うことができるので、エッジシステム10の設計の自由度を向上させることができる。 In the above example, the management pod 6111 of the MEC 21A alternatively executes the processing pod 6112B of the MEC 21B itself (MEC 21A), but the present invention is not limited to this. For example, it may be executed by the node 61C of the MEC 21C. By configuring in this way, resource management can be appropriately performed not only between the master device and the slave device, but also between the slave devices and between the slave device and the grandchild device. degree of freedom can be improved.

本実施形態によれば、以下の効果を得ることができる。 According to this embodiment, the following effects can be obtained.

本実施形態のエッジシステム10において、親機である第1複合機12Aが有するMEC21Aは、子機である第2複合機12Bが有するMEC21Bと比較すると処理能力が高い。このような場合において、比較的処理能力の低いMEC21Bにおいて、処理負荷が高くなり処理がオーバーフローするおそれがある。コンテナオーケストレーション技術を用いた制御がなされる場合には、このリソース管理はマスタ62側で行われるが、マスタ62で管理する情報に基づいて行われているに過ぎず、実際のMEC21の情報処理の状態に応じていないことがある。 In the edge system 10 of the present embodiment, the MEC 21A of the first MFP 12A, which is the parent device, has higher processing capability than the MEC 21B of the second MFP 12B, which is the child device. In such a case, the MEC 21B, which has a relatively low processing capacity, may have a high processing load and may overflow. When the control using the container orchestration technology is performed, this resource management is performed on the master 62 side, but it is performed only based on the information managed by the master 62, and the actual information processing of the MEC 21 is performed. may not be in accordance with the state of

これに対して、本実施形態においては、子機であるMEC21Bは、監視ポッド6113Bによって、自身が配置されたMEC21Bの処理状態を監視し、監視結果である処理情報を親機であるMEC21Aの管理ポッド6111に送信する。MEC21Aは、管理ポッド6111によって、受信した処理情報に基づいてMEC21Bの情報処理の負荷状態について所定の条件判定を行う。そして、MEC21Aは、MEC21Bが所定の条件を満たす場合には、MEC21Bの処理ポッド6112Bによる処理中のデータをMEC21Bの処理ポッド6112Bに送信するデータ連携を行った上で、MEC21Bにおいて行われる予定であった処理の一部または全部をMEC21Aにおいて代替的に実行することで、親機であるMEC21Aと子機であるMEC21Bとの間におけるリソース管理を行う。 On the other hand, in this embodiment, the MEC 21B, which is a child device, monitors the processing state of the MEC 21B in which it is arranged by the monitoring pod 6113B, and sends the processing information, which is the monitoring result, to the MEC 21A, which is a parent device. Send to pod 6111 . The MEC 21A uses the management pod 6111 to determine a predetermined condition regarding the information processing load state of the MEC 21B based on the received processing information. Then, when MEC 21B satisfies a predetermined condition, MEC 21A performs data linkage to transmit the data being processed by processing pod 6112B of MEC 21B to processing pod 6112B of MEC 21B, and is scheduled to be performed in MEC 21B. The resource management between the MEC 21A, which is the parent device, and the MEC 21B, which is the child device, is performed by alternatively executing part or all of the processing described above in the MEC 21A.

このように構成することにより、MEC21Bが情報処理することが困難である時には、MEC21Bの処理ポッド6112Bの処理の一部をMEC21Aにおいて代替的に実行することができるので、適切にリソース管理が行われてMEC21Bの処理を滞りなく行うことができる。そのため、全てのMEC21を処理能力が高いハードウェア構成のものを用いる必要性が低くなり、エッジシステム10の設計の自由度が向上するとともに、一部のMEC21Bのハードウェア構成を簡素化できるので、コストの低減を図ることができる。 With this configuration, when it is difficult for the MEC 21B to process information, a part of the processing of the processing pod 6112B of the MEC 21B can be alternatively executed in the MEC 21A, so resource management can be appropriately performed. Therefore, the processing of the MEC 21B can be performed smoothly. Therefore, the need to use a hardware configuration with high processing capability for all the MECs 21 is reduced, the degree of freedom in designing the edge system 10 is improved, and the hardware configuration of some of the MECs 21B can be simplified. Cost can be reduced.

また、コンテナオーケストレーション技術においては、マスタ62側において把握している処理ポッド6112の動作状況に基づいてリソース管理が行われる。これに対して、本実施形態においては、管理ポッド6111により行われるリソース管理は、個々のMEC21の処理負荷や、処理ポッド6112の代替実行の可否などの実際の処理状態に応じてリソース管理がなされており、エッジシステム10の実稼動状態に適した適切なリソース管理を行うことができる。 Further, in the container orchestration technology, resource management is performed based on the operation status of the processing pods 6112 grasped by the master 62 side. On the other hand, in this embodiment, the resource management performed by the management pod 6111 is performed according to the processing load of each MEC 21 and the actual processing state such as whether or not the processing pod 6112 can be alternatively executed. It is possible to perform appropriate resource management suitable for the actual operating state of the edge system 10 .

さらに、本実施形態のエッジシステム10によれば、子機である監視ポッド6113Bにより生成される処理情報は、MEC21Bの処理負荷を含む。そのため、親機であるMEC21Aは、管理ポッド6111によって、処理情報に示されるMEC21Bの処理負荷に基づいて、MEC21Bが情報処理することが困難であるか否かを判定する。そして、MEC21Aは、MEC21Bが情報処理することが困難であると判断する場合には、MEC21Bの処理ポッド6112Bの一部または全部をMEC21Aにて代替的に実行することで、リソース管理を行う。このように構成することで、MEC21Bの実際の情報処理が行われている状態に応じてMEC21Bが情報処理することが困難であるか否かを判断することができるため、より適切なリソース管理を行うことがきる。 Furthermore, according to the edge system 10 of this embodiment, the processing information generated by the monitoring pod 6113B, which is a child device, includes the processing load of the MEC 21B. Therefore, the MEC 21A, which is the master device, uses the management pod 6111 to determine whether or not it is difficult for the MEC 21B to process information based on the processing load of the MEC 21B indicated in the processing information. When the MEC 21A determines that it is difficult for the MEC 21B to process information, the MEC 21A performs resource management by alternatively executing part or all of the processing pod 6112B of the MEC 21B. By configuring in this way, it is possible to determine whether or not it is difficult for the MEC 21B to process information according to the state in which the MEC 21B is actually performing information processing. can do

さらに、本実施形態のエッジシステム10によれば、子機である監視ポッド6113Bにより生成される処理情報は、処理ポッド6112BがMEC21Aにおいて代替的に実行可能か否かを示す処理情報を含む。そのため、親機であるMEC21Aは、管理ポッド6111によって、MEC21Bが情報処理することが困難であると判断する場合には、処理情報に示される処理ポッド6112Bの代替可否の情報に基づいて、MEC21Bの処理ポッド6112Bの一部または全部を代替先となりうるMEC21Aにおいて代替的に実行する。 Furthermore, according to the edge system 10 of the present embodiment, the processing information generated by the monitoring pod 6113B, which is a child device, includes processing information indicating whether the processing pod 6112B can alternatively be executed in the MEC 21A. Therefore, when the MEC 21A, which is the parent device, determines that it is difficult for the MEC 21B to process information based on the management pod 6111, the MEC 21B can be replaced based on the information indicating whether the processing pod 6112B can be replaced, which is indicated in the processing information. Some or all of the processing pod 6112B is alternatively executed in the MEC 21A, which may be an alternative destination.

MEC21Bにおいて実行されている処理ポッド6112の中には、その稼動状況によってはMEC21Bにて実行されることが必須のものや、他のMEC21にて代替的に実行可能なものがある。そこで、代替的に実行可能な処理ポッド6112Bを、MEC21Aにおいて代替的に実行することにより、処理ポッド6112の処理に影響を与えることなくリソース管理を行うことができる。 Among the processing pods 6112 running on the MEC 21B, there are those that must be run on the MEC 21B and those that can be run on another MEC 21 instead. Therefore, by alternatively executing the alternatively executable processing pod 6112B in the MEC 21A, resource management can be performed without affecting the processing of the processing pod 6112. FIG.

さらに、本実施形態のエッジシステム10によれば、子機であるMEC21Bは、監視ポッド6113Bによって、処理ポッド6112Bの稼動状況に応じて、処理ポッド6112がMEC21Aにおいて代替的に実行可能か否かを示す処理情報を生成する。例えば、処理ポッド6112Bが、作業機器22Bの現在の作業工程と直接的に関係ない処理を行うものであれば、他のMEC21において代替的に実行可能と判定する。このように構成することで、処理ポッド6112Bの個々の稼動状況がより適切に考慮されながら、エッジシステム10のリソース管理を行うことができる。 Furthermore, according to the edge system 10 of the present embodiment, the MEC 21B, which is a child device, uses the monitoring pod 6113B to determine whether the processing pod 6112 can alternatively be executed in the MEC 21A according to the operating status of the processing pod 6112B. Generate the processing information shown. For example, if the processing pod 6112B performs processing that is not directly related to the current work process of the work equipment 22B, it is determined that the other MEC 21 can alternatively execute the processing. By configuring in this way, the resource management of the edge system 10 can be performed while the operating status of each processing pod 6112B is appropriately considered.

さらに、本実施形態のエッジシステム10によれば、MEC21Aは、管理ポッド6111によって、MEC21Dの処理ポッド6112Dの一部または全部を、MEC21Cにおいて代替的に実行してもよい。このように、処理ポッド6112Dの代替的な実行を、エッジシステム10を構成する任意のMEC21において行うことができるので、設計の自由度の向上を図ることができる。 Furthermore, according to the edge system 10 of this embodiment, the management pod 6111 of the MEC 21A may alternatively execute some or all of the processing pods 6112D of the MEC 21D in the MEC 21C. In this way, the alternative execution of the processing pod 6112D can be performed in any MEC 21 that constitutes the edge system 10, so that the degree of freedom in design can be improved.

(第2実施形態)
第2実施形態は、各MEC21間においてデータ連携や代替的な処理の実行が行われる点において第1実施形態と同様である。しかしながら、第2実施形態においては、複合機12が、さらに移動体通信ネットワーク等に利用可能な基地局121を有する。すなわち、各MEC21が、基地局121を介して相互に通信する例について説明する。なお、第1の実施形態と同一又は略同一の構成については同一の符号が付されている点に留意されたい。
(Second embodiment)
The second embodiment is similar to the first embodiment in that data linkage and execution of alternative processing are performed between the MECs 21 . However, in the second embodiment, the multi-function device 12 further has a base station 121 that can be used for a mobile communication network or the like. That is, an example in which each MEC 21 communicates with each other via the base station 121 will be described. Note that the same or substantially the same configuration as in the first embodiment is assigned the same reference numerals.

図12は、エッジシステム10の詳細を示す図である。 FIG. 12 is a diagram showing details of the edge system 10. As shown in FIG.

複合機12Aは、MEC21Aに加えて、移動体通信ネットワークと通信可能な基地局121Aをさらに有している。複合機12Aは、移動体通信ネットワークと通信可能な基地局121Aと、センサ情報の取得や管理を行うMEC21Aとを有しており、基地局121AとMEC21Aとは、シリアル通信などによって互いに通信可能に構成されている。なお、基地局121Aは、比較的大型であり、ローカル環境11における移動体通信ネットワークの全体を制御できる。 In addition to the MEC 21A, the MFP 12A further has a base station 121A capable of communicating with a mobile communication network. The MFP 12A has a base station 121A capable of communicating with a mobile communication network and an MEC 21A that acquires and manages sensor information. It is configured. The base station 121A is relatively large and can control the entire mobile communication network in the local environment 11. FIG.

複合機12Bは、MEC21B、作業機器22B、及び、センサ23Bに加えて、基地局121Bを有している。同様に、複合機12C、及び、複合機12Dは、それぞれ、基地局121C、及び、121Dをさらに備える。なお、基地局121B、及び、121Cは、中型であり、基地局121Dは、小型であるものとする。 The MFP 12B has a base station 121B in addition to the MEC 21B, work equipment 22B, and sensor 23B. Similarly, the MFPs 12C and 12D further include base stations 121C and 121D, respectively. It is assumed that the base stations 121B and 121C are medium-sized, and the base station 121D is small-sized.

ここで、複合機12が有する基地局121は、それぞれにおいて、比較的帯域の高い周波数の信号を用いるとともに、複数のアンテナ素子を用いて指向性を持たせた通信(ビームフォーミング)を行うことができる。そのため、ローカル環境11においては、基地局121間においてビームフォーミングを用いた移動体通信が可能なシステムが構成される。基地局121がビームフォーミングによる通信を行うことにより、通信対象に対する指向性が高まるので、複合機12間においては低遅延かつ大容量のネットワークが構成できる。なお、ビームフォーミングを用いずにLAN等を介して通常の無線通信を行ってもよい。 Here, each of the base stations 121 of the MFP 12 can use a signal of a relatively high frequency band and perform communication (beamforming) with directivity using a plurality of antenna elements. can. Therefore, in the local environment 11, a system is configured in which mobile communication using beamforming between the base stations 121 is possible. Since the base station 121 performs communication by beamforming, the directivity to the communication target is increased, so that a low-delay and large-capacity network can be configured between the multifunction devices 12 . Note that normal wireless communication may be performed via a LAN or the like without using beamforming.

図13は、エッジシステム10の機能を説明するためのブロック図である。 FIG. 13 is a block diagram for explaining the functions of the edge system 10. As shown in FIG.

この図に示されるように、本実施形態に係るエッジシステム10は、二点鎖線で示され、MEC21A~21Dにより構成される情報処理系統31に加えて、一点鎖線で示され、基地局121A~121Dを含む移動体通信ネットワークにより構成される通信処理系統131を備える。情報処理系統31におけるセンサ情報や学習済みモデルなどの具体的情報の通信処理は主に移動体通信ネットワークを介して行われる。 As shown in this figure, the edge system 10 according to the present embodiment is indicated by a two-dot chain line, and in addition to an information processing system 31 composed of MECs 21A to 21D, is indicated by a one-dot chain line, and base stations 121A to 121D. A communication processing system 131 configured by a mobile communication network including 121D is provided. Communication processing of specific information such as sensor information and learned models in the information processing system 31 is mainly performed via a mobile communication network.

通信処理系統131は、第1世代の基地局121Aと、第2世代の基地局121B、121Cと、第3世代の基地局121Dとが階層化されて構成される。第1世代の基地局121Aは、エッジシステム10において最上位に位置しており、大容量通信が可能である。 The communication processing system 131 is hierarchically configured with a first generation base station 121A, second generation base stations 121B and 121C, and a third generation base station 121D. The first-generation base station 121A is positioned at the highest level in the edge system 10 and is capable of high-capacity communication.

そのため、基地局121Aは比較的サイズが大型で大容量のものが選択される。また、第2世代の基地局121B、121Cや、第3世代の基地局121Dは、それぞれ、作業機器22B、22C、及び、22Dなどと一体となって、複合機12B、12C、及び、12Dを構成する。作業機器22B、22Cがトラックなどのように大型機器である場合には、基地局121B、121Cは、処理能力が中程度でサイズが中型のものが選択される。作業機器22Dがドローンのような小型機器である場合には、基地局121Dは、処理能力が低いがサイズが小型のものが選択される。 Therefore, the base station 121A is selected to have a relatively large size and large capacity. The second generation base stations 121B and 121C and the third generation base station 121D are integrated with the work machines 22B, 22C and 22D, respectively, to operate the multifunction machines 12B, 12C and 12D. Configure. If the work machines 22B and 22C are large machines such as trucks, the base stations 121B and 121C are selected to have medium processing power and medium size. If the work device 22D is a small device such as a drone, the base station 121D is selected to have a low processing capacity but a small size.

このように構成される第2実施形態のエッジシステム10によれば、各複合機12に備えられた基地局121を介して相互に通信が可能であるので、低遅延かつ大容量の通信が実現でき、より信頼性の高いデータ連携を行うことができる。従って、各MEC21間における処理の代替的実行がより高い信頼性の下に行われることとなる。 According to the edge system 10 of the second embodiment configured as described above, since mutual communication is possible via the base station 121 provided in each multifunction machine 12, low-delay and large-capacity communication is realized. This enables more reliable data linkage. Therefore, alternative execution of processing between each MEC 21 is performed with higher reliability.

上述の実施形態においては、親子関係は固定的なものとして説明した。しかしながら、本発明はこのような構成に限定されない。従って、例えば、デプロイを再度行うことにより親子関係を動的に変更してもよい。なお、このとき、必ずしも親となるMEC21の能力が子となるMEC21よりも高いことを要しない。 In the above-described embodiment, the parent-child relationship has been described as fixed. However, the invention is not limited to such a configuration. Therefore, for example, the parent-child relationship may be dynamically changed by re-deploying. At this time, it is not always required that the ability of the parent MEC 21 is higher than that of the child MEC 21 .

また、以上の実施形態においては、MEC21、作業機器22、各種センサ23を含む複合機を用いて説明を行った。しかしながら、本発明はそのような構成に限定されない。従って、例えば、MEC21のみによりシステムを構成してもよいし、MEC21と他の装置(基地局121、作業機器22、各種センサ23等)との任意の組合せからなる複合機を用いてシステムを構成してもよい。 Further, in the above embodiment, a multi-function machine including the MEC 21, the work equipment 22, and various sensors 23 has been described. However, the invention is not limited to such configurations. Therefore, for example, the system may be configured with only the MEC 21, or the system may be configured using a multi-function machine comprising an arbitrary combination of the MEC 21 and other devices (base station 121, work equipment 22, various sensors 23, etc.). You may

(第1適用例)
第1適用例においては、エッジシステム10の工場への応用例を説明する。
(First application example)
In the first application example, an application example of the edge system 10 to a factory will be described.

図14は、エッジシステム10を工場内において自動運転されるフォークリフトシステムへと応用した適用例の概略構成図である。この例において、ローカル環境11は、工場内に相当する。 FIG. 14 is a schematic configuration diagram of an application example in which the edge system 10 is applied to a forklift system automatically operated in a factory. In this example, the local environment 11 corresponds to the inside of a factory.

エッジシステム10は、階層構造を有しており、一台の親世代となる複合機12Aの下に、二台の子世代となる複合機12B(MEC21B)、複合機12Cが接続され、MEC21Bの下に四台の孫世代となる複合機12D、12E及び2台の作業機器22F、22Gが接続されている。なお、いずれのMEC21にもコンテナオーケストレーションツールがインストールされている。 The edge system 10 has a hierarchical structure. Under one parent-generation multifunction device 12A, two child-generation multifunction devices 12B (MEC 21B) and 12C are connected. Four grandchild multifunction devices 12D and 12E and two work devices 22F and 22G are connected below. A container orchestration tool is installed in each MEC 21 .

複合機12Aは、比較的に大型の基地局121Aと親世代のMEC21Aとを有しており主にシステム外との通信や高次の制御を行う。 The MFP 12A has a relatively large base station 121A and a parent generation MEC 21A, and mainly performs communication with the outside of the system and high-order control.

子世代の複合機12B(MEC21B)は、複合機12AのMEC21A、孫世代のMEC21D、21E及び孫世代のフォークリフト22F、22Gと接続されている。フォークリフト22F、22Gは、MEC21Bにより制御され自動運転により移動する。なお、MEC21Bは上述の実施形態のように孫世代のMEC21D、21Eの負荷状態を監視している。 The child generation multifunction machine 12B (MEC 21B) is connected to the MEC 21A of the multifunction machine 12A, grandchild generation MECs 21D and 21E, and grandchild generation forklifts 22F and 22G. The forklifts 22F and 22G are controlled by the MEC 21B and move by automatic operation. Note that the MEC 21B monitors the load states of the grandchild MECs 21D and 21E as in the above-described embodiment.

複合機12Cは、自動運転により移動するフォークリフトに相当する。複合機12Cは、比較的に小型の基地局121Cと、子世代のMEC21Cと、作業機器22Cとしてのフォークリフトと、動作や姿勢の検出等に用いられる各種のセンサ23Cを備えている。 The multifunction device 12C corresponds to a forklift that moves by automatic operation. The multi-function device 12C includes a relatively small base station 121C, a child-generation MEC 21C, a forklift as a work machine 22C, and various sensors 23C used to detect movement and posture.

複合機12D、12Eは、工場内を監視するカメラ23D、23Eと、カメラ23D、23Eから取得された情報の処理を行う孫世代のMEC21D、21Eとを備えている。 The MFPs 12D and 12E are provided with cameras 23D and 23E for monitoring the inside of the factory, and grandchild generation MECs 21D and 21E for processing information acquired from the cameras 23D and 23E.

また、このとき、MEC21の情報処理能力は様々であるが、上の世代程、情報処理能力の高いMEC21が使用されている。 Also, at this time, the information processing capability of the MEC 21 varies, but the higher the generation, the higher the information processing capability of the MEC 21 is used.

このような状態において、エッジシステム10が稼働し、例えば、孫世代のMEC21Dの処理負荷が上昇し所定の閾値を超えると、子世代の複合機12B(MEC21B)は、処理の可否につき確認した上で、本来孫世代のMEC21Dにて行われる予定であった処理を代替的に行う。 In such a state, when the edge system 10 operates and, for example, the processing load of the grandchild generation MEC 21D increases and exceeds a predetermined threshold, the child generation MFP 12B (MEC 21B) confirms whether or not the processing can be performed. , the processing that was originally scheduled to be performed by the MEC 21D of the grandchild generation is performed instead.

このような構成によれば、様々な能力のMEC21から成る場合であっても高い効率性を有する工場向けのエッジシステムを提供することができる。 With such a configuration, it is possible to provide an edge system for a factory with high efficiency even when composed of MECs 21 of various capacities.

(第2適用例)
第2適用例においては、エッジシステム10の工場への応用例を説明する。
(Second application example)
In the second application example, an application example of the edge system 10 to a factory will be described.

図15は、エッジシステム10の工場への応用した適用例の概略構成図である。この例において、ローカル環境11は、工場に相当する。 FIG. 15 is a schematic configuration diagram of an application example in which the edge system 10 is applied to a factory. In this example, the local environment 11 corresponds to a factory.

この例においては、複合機12A、12Bは、固定型の基地局121を備えているものとする。また、複合機12C、12Eは、それぞれ、作業機器22C、22Eを備えず、センサ23C、23Dのみが監視カメラとして機能する。複合機12D、12Fは、それぞれ、作業機器22D、22Fはドローンであり、多機能センサであるセンサ23D、23Fを有する。 In this example, the multifunction machines 12A and 12B are assumed to have a fixed base station 121. FIG. Moreover, the multi-function machines 12C and 12E do not have the working devices 22C and 22E, respectively, and only the sensors 23C and 23D function as surveillance cameras. The multi-function devices 12D and 12F are drones, respectively, and have sensors 23D and 23F, which are multifunctional sensors.

この例に示されるように、複合機12A、12Bが第1世代であり、複合機12C~12Eが第2世代である。複合機12Fは、第2世代の複合機12Bと、第3世代の複合機12Dと接続される。なお、いずれの複合機12にもコンテナオーケストレーションツールがインストールされている。 As shown in this example, MFPs 12A and 12B are first generation, and MFPs 12C-12E are second generation. The multifunction machine 12F is connected to the second generation multifunction machine 12B and the third generation multifunction machine 12D. A container orchestration tool is installed in each multi-function device 12 .

ここで、複合機12D、12Fは、ドローンである作業機器22D、22Fが移動しながらセンサ情報を収集するため、センサ情報のデータ量や解析の処理負荷が高くなる。しかしながら、複合機12D、12Fは軽量化が必要であるので、MEC21D、21Fは小型で処理能力の低いものを用いる必要がある。そこで、MEC21D、21Fにおいて実行中の処理ポッド6112D、6112Fの処理を、他のMEC21で代替的に実行することで、リソース管理が行われ、エッジシステム10を安定的に運用することができる。 Here, the MFPs 12D and 12F collect sensor information while the working devices 22D and 22F, which are drones, move, so the amount of sensor information data and the processing load for analysis increase. However, since the MECs 12D and 12F need to be lightweight, it is necessary to use small MECs 21D and 21F with low processing capability. Therefore, the processing of the processing pods 6112D and 6112F being executed in the MECs 21D and 21F is alternatively executed by other MECs 21, whereby resource management is performed and the edge system 10 can be stably operated.

以上、本発明の実施形態について説明したが、上記実施形態は本発明の適用例の一部を示したに過ぎず、本発明の技術的範囲を上記実施形態の具体的構成に限定する趣旨ではない。 Although the embodiments of the present invention have been described above, the above embodiments merely show a part of application examples of the present invention, and the technical scope of the present invention is not limited to the specific configurations of the above embodiments. do not have.

10 エッジシステム
11 ローカル環境
12 複合機
15 イメージレジストリ
21 MEC(エッジ端末)
22 作業機器
23 センサ
61 ノード
62 マスタ
611 ポッド
6111 管理ポッド
6112 処理ポッド
6113 監視ポッド
121 基地局
100 監視システム
10 edge system 11 local environment 12 compound machine 15 image registry 21 MEC (edge terminal)
22 working equipment 23 sensor 61 node 62 master 611 pod 6111 management pod 6112 processing pod 6113 monitoring pod 121 base station 100 monitoring system

Claims (12)

オーケストレーション技術により論理的に割り当てたハードウェアリソースを用いてコンテナを動作させる複数の端末を階層的に接続し通信可能に構成して成り、前記オーケストレーション技術により前記複数の端末にまたがって生成されるコンテナの実行環境の管理が可能なシステムであって、
前記複数の端末のうちの一の端末である親端末は、
前記親端末より下位に配置されて接続された子端末の処理状態を監視し、コンテナにより実現される、処理状態監視部と、
前記子端末上の処理状態が所定の条件を満たす場合に、前記子端末において行われるべき処理の一部又は全体を前記親端末において代替的に実行し、コンテナにより実現される、代替実行処理部と、を備える、システム。
A plurality of terminals that operate containers using hardware resources logically allocated by orchestration technology are hierarchically connected and configured to be communicable , and generated across the plurality of terminals by the orchestration technology A system that can manage the execution environment of a container that
A parent terminal, which is one of the plurality of terminals,
a processing state monitoring unit that monitors a processing state of a child terminal that is placed below and connected to the parent terminal and that is realized by a container;
When the processing state on the child terminal satisfies a predetermined condition, the parent terminal alternatively executes part or all of the processing to be performed on the child terminal, and the alternative execution processing unit is realized by a container. and a system comprising:
前記処理状態監視部は、
前記子端末の処理負荷状態を監視する負荷状態監視部を備え、
前記所定の条件は、前記子端末の処理負荷が所定の閾値を超えることである、請求項1に記載のシステム。
The processing state monitoring unit
A load state monitoring unit for monitoring the processing load state of the child terminal,
2. The system according to claim 1, wherein said predetermined condition is that the processing load of said child terminal exceeds a predetermined threshold.
前記処理負荷状態は、前記子端末のハードウェアの稼働率である、請求項2に記載のシステム。 3. The system according to claim 2, wherein said processing load state is an operating rate of hardware of said child terminal. 前記子端末は、さらに、
前記親端末により代替的な処理が実行される場合には、代替実行された処理に関連するコンテナの動作を制御するコンテナ制御部を備える、請求項1に記載のシステム。
The child terminal further
2. The system according to claim 1, further comprising a container control unit that, when the parent terminal executes an alternative process, controls an operation of a container related to the alternatively executed process.
前記子端末は、さらに、
前記親端末による代替的な処理に必要なデータを前記親端末へと送信するデータ送信部を備える、請求項1に記載のシステム。
The child terminal further
2. The system according to claim 1, further comprising a data transmission unit that transmits data necessary for alternative processing by said parent terminal to said parent terminal.
前記親端末は、さらに、
前記子端末にて行われるべき処理を前記親端末により代替的に実行することの可否に関する情報を保持する情報保持部を備える、請求項1に記載のシステム。
The parent terminal further
2. The system according to claim 1, further comprising an information holding unit that holds information about whether or not said parent terminal can alternatively execute a process that should be performed by said child terminal.
前記子端末は、さらに、センサを備え、
前記子端末は、
前記センサから取得される情報を処理するセンサ情報処理部を備える、請求項1に記載のシステム。
The child terminal further comprises a sensor,
The child terminal is
The system according to claim 1, comprising a sensor information processing section that processes information acquired from the sensor.
前記子端末は、さらに、作業機器を備え、
前記子端末は、
前記作業機器を制御する作業機器制御部を備える、請求項1に記載のシステム。
The child terminal further includes a work device,
The child terminal is
2. The system according to claim 1, comprising a work equipment control unit that controls the work equipment.
前記親端末は、さらに、第1の基地局を備え、
前記子端末は、さらに、第2の基地局を備え、
前記親端末と前記子端末の間の通信は、前記第1の基地局と前記第2の基地局を介して行われる、請求項1に記載のシステム。
The parent terminal further comprises a first base station,
The child terminal further comprises a second base station,
The system according to claim 1, wherein communication between said parent terminal and said child terminal is performed via said first base station and said second base station.
オーケストレーション技術により論理的に割り当てたハードウェアリソースを用いてコンテナを動作させる複数の端末を階層的に接続し通信可能に構成して成り、前記オーケストレーション技術により前記複数の端末にまたがって生成されるコンテナの実行環境の管理が可能なシステムの制御方法であって、
前記複数の端末のうちの一の端末である親端末は、
前記親端末より下位に配置されて接続された子端末の処理状態を監視する、処理状態監視ステップと、
前記子端末上の処理状態が所定の条件を満たす場合に、前記子端末において行われるべき処理の一部又は全体を前記親端末において代替的に実行する、代替実行処理ステップと、を実行し、
前記処理状態監視ステップ及び前記代替実行処理ステップを実行するアプリケーションは、前記コンテナにより実現される、システムの制御方法。
A plurality of terminals that operate containers using hardware resources logically allocated by orchestration technology are hierarchically connected and configured to be communicable , and generated across the plurality of terminals by the orchestration technology A method of controlling a system capable of managing the execution environment of a container , comprising:
A parent terminal, which is one of the plurality of terminals,
a processing status monitoring step of monitoring a processing status of a child terminal arranged below and connected to the parent terminal;
an alternative execution processing step of alternatively executing part or all of the processing to be performed in the child terminal in the parent terminal when the processing state in the child terminal satisfies a predetermined condition;
A system control method, wherein an application that executes the processing state monitoring step and the alternative execution processing step is realized by the container.
オーケストレーション技術により論理的に割り当てたハードウェアリソースを用いてコンテナを動作させる複数の端末を階層的に接続し通信可能に構成して成り、前記オーケストレーション技術により前記複数の端末にまたがって生成されるコンテナの実行環境の管理が可能なシステムの制御に用いられるコンピュータプログラムであって、
前記複数の端末のうちの一の端末である親端末に、
前記親端末より下位に配置されて接続された子端末の処理状態を監視する、処理状態監視ステップと、
前記子端末上の処理状態が所定の条件を満たす場合に、前記子端末において行われるべき処理の一部又は全体を前記親端末において代替的に実行する、代替実行処理ステップと、を実行させ、
前記処理状態監視ステップ及び前記代替実行処理ステップを実行するアプリケーションは、前記コンテナにより実現される、コンピュータプログラム。
A plurality of terminals that operate containers using hardware resources logically allocated by orchestration technology are hierarchically connected and configured to be communicable , and generated across the plurality of terminals by the orchestration technology A computer program used to control a system capable of managing the execution environment of a container that
to the parent terminal, which is one of the plurality of terminals,
a processing status monitoring step of monitoring a processing status of a child terminal arranged below and connected to the parent terminal;
an alternative execution processing step of alternatively executing part or all of the processing to be performed in the child terminal in the parent terminal when the processing state in the child terminal satisfies a predetermined condition;
A computer program, wherein an application that executes the processing state monitoring step and the alternative execution processing step is realized by the container.
オーケストレーション技術により論理的に割り当てたハードウェアリソースを用いてコンテナを動作させる複数の端末を階層的に接続し通信可能に構成して成り、前記オーケストレーション技術により前記複数の端末にまたがって生成されるコンテナの実行環境の管理が可能なシステムの制御に用いられるコンピュータプログラムを格納した記録媒体であって、
前記複数の端末のうちの一の端末である親端末に、
前記親端末より下位に配置されて接続された子端末の処理状態を監視する、処理状態監視ステップと、
前記子端末上の処理状態が所定の条件を満たす場合に、前記子端末において行われるべき処理の一部又は全体を前記親端末において代替的に実行する、代替実行処理ステップと、を実行させ、
前記処理状態監視ステップ及び前記代替実行処理ステップを実行するアプリケーションは、前記コンテナにより実現される、コンピュータプログラムを格納した記録媒体。
A plurality of terminals that operate containers using hardware resources logically allocated by orchestration technology are hierarchically connected and configured to be communicable , and generated across the plurality of terminals by the orchestration technology A recording medium storing a computer program used for controlling a system capable of managing the execution environment of a container ,
to the parent terminal, which is one of the plurality of terminals,
a processing status monitoring step of monitoring a processing status of a child terminal arranged below and connected to the parent terminal;
an alternative execution processing step of alternatively executing part or all of the processing to be performed in the child terminal in the parent terminal when the processing state in the child terminal satisfies a predetermined condition;
A recording medium storing a computer program, wherein an application that executes the processing state monitoring step and the alternative execution processing step is implemented by the container.
JP2019123695A 2019-07-02 2019-07-02 System, system control method, computer program used for system control, and its recording medium Active JP7276838B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019123695A JP7276838B2 (en) 2019-07-02 2019-07-02 System, system control method, computer program used for system control, and its recording medium
PCT/JP2020/016779 WO2021002084A1 (en) 2019-07-02 2020-04-16 System and method of controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019123695A JP7276838B2 (en) 2019-07-02 2019-07-02 System, system control method, computer program used for system control, and its recording medium

Publications (3)

Publication Number Publication Date
JP2021009604A JP2021009604A (en) 2021-01-28
JP2021009604A5 JP2021009604A5 (en) 2022-07-08
JP7276838B2 true JP7276838B2 (en) 2023-05-18

Family

ID=74100992

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019123695A Active JP7276838B2 (en) 2019-07-02 2019-07-02 System, system control method, computer program used for system control, and its recording medium

Country Status (2)

Country Link
JP (1) JP7276838B2 (en)
WO (1) WO2021002084A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2022158346A1 (en) 2021-01-25 2022-07-28
JP7399427B2 (en) * 2021-03-05 2023-12-18 ソフトバンク株式会社 Server and container systems

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006018600A (en) 2004-07-01 2006-01-19 Ntt Docomo Inc Server system, communication terminal for use therewith, and communication server
JP2014524096A (en) 2011-07-26 2014-09-18 ネブラ,インコーポレイティド System and method for cloud computing
WO2017168999A1 (en) 2016-03-31 2017-10-05 ソニー株式会社 Wireless communication device, server, and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006018600A (en) 2004-07-01 2006-01-19 Ntt Docomo Inc Server system, communication terminal for use therewith, and communication server
JP2014524096A (en) 2011-07-26 2014-09-18 ネブラ,インコーポレイティド System and method for cloud computing
WO2017168999A1 (en) 2016-03-31 2017-10-05 ソニー株式会社 Wireless communication device, server, and method

Also Published As

Publication number Publication date
JP2021009604A (en) 2021-01-28
WO2021002084A1 (en) 2021-01-07

Similar Documents

Publication Publication Date Title
US10606660B1 (en) Planned cloud resource management
CN109976774B (en) Block link point deployment method, device, equipment and storage medium
US11003423B2 (en) System and method for autowiring of a microservice architecture
US9940125B1 (en) Generating upgrade recommendations for modifying heterogeneous elements of information technology infrastructure
US20190149361A1 (en) Intelligent gateway configuration for internet-of-things networks
JP7276838B2 (en) System, system control method, computer program used for system control, and its recording medium
WO2018108001A1 (en) System and method to handle events using historical data in serverless systems
CN113971095A (en) KUBERNETES application program interface in extended process
US11385887B2 (en) Multi-mission configurable spacecraft system
JP6477266B2 (en) Dump management apparatus, dump management program, and dump management method
EP4293987A1 (en) Information processing method based on internet-of-things device, and related device and storage medium
US20190114168A1 (en) Framework for supporting multiple analytic runtimes
De Benedetti et al. JarvSis: a distributed scheduler for IoT applications
US20220116289A1 (en) Adaptive cloud autoscaling
CN113204353B (en) Big data platform assembly deployment method and device
WO2021002085A1 (en) Edge system, and method for controlling edge system
CN112148439B (en) Task processing method, device, equipment and storage medium
CN109525443B (en) processing method and device for distributed pre-acquisition communication link and computer equipment
CN112039985A (en) Heterogeneous cloud management method and system
US11271990B2 (en) Allocation of digital resources within a local, modular computer network (edge cloud)
WO2020001427A1 (en) Analysis task execution method, apparatus and system, and electronic device
CN115357433A (en) Database backup method, device, equipment and storage medium under container environment
CN115878121A (en) Terminal code increment compiling method, system, device, server and storage medium
CN113986662A (en) Edge cluster monitoring method and system
WO2021002086A1 (en) Edge system, and method for controlling edge system

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20190702

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20211228

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20220126

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220630

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220630

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20220630

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220921

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20221118

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230120

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: 20230420

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230426

R150 Certificate of patent or registration of utility model

Ref document number: 7276838

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150