Information processing apparatus, determination method, and determination program

JP2024128396AInactive Publication Date: 2024-09-24OMRON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023037352
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Benefits of technology

【0020】 本技術によれば、制御システムに適したアプリケーションの配置先を決定するための方法を提供する。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024128396000001
    Figure 2024128396000001
Patent Text Reader

Abstract

To provide a method for determining the arrangement destination of an application suitable for a control system.SOLUTION: An information processing apparatus is provided, which is directed to a control system that can arrange an application in any one of a plurality of nodes. The information processing apparatus includes: a first acquisition unit that acquires first attribute information set to each of the plurality of nodes; a second acquisition unit that acquires second attribute information set to the application; and a determination unit that determines a node to be the arrangement destination of the application on the basis of the first attribute information and the second attribute information.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present technology relates to an information processing device, a determination method, and a determination program. [Background technology]

[0002] In the field of industrial automation, efforts to link operational technology (OT), which controls the operation of industrial systems, with information technology (IT), which processes information, are gaining momentum. For example, it is expected that data collected by control devices will be analyzed using artificial intelligence (AI).

[0003] In an environment where OT and IT work together, various software such as software for OT and software for IT run, and there are also multiple hardware resources to run the software.

[0004] For this reason, it is necessary to optimize which hardware resource each piece of software is to be executed on.

[0005] For example, Japanese Patent Application Publication No. 2020-137073 (Patent Document 1) discloses an application placement device capable of optimally placing applications on network nodes. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] JP 2020-137073 A Summary of the Invention [Problem to be solved by the invention]

[0007] The above-mentioned prior art is an optimization assuming a VN (Virtual Network), and is not intended for a PLC (Programmable Logic Controller) network used in the field of industrial automation.

[0008] The present technology provides a method for determining a suitable location for an application in a control system. [Means for solving the problem]

[0009] According to one embodiment, there is provided an information processing device for a control system capable of placing an application in any one of a plurality of nodes, the information processing device including a first acquisition unit that acquires first attribute information set in each of the plurality of nodes, a second acquisition unit that acquires second attribute information set in the application, and a determination unit that determines the node in which the application is to be placed based on the first attribute information and the second attribute information.

[0010] According to this configuration, the first attribute information set for each of the multiple nodes and the second attribute information set for the application include settings specific to the target control system, and the placement destination of the application can be determined based on these specific settings. This makes it possible to determine the placement destination of the application that is suitable for the control system, not just based on the size of the load.

[0011] The first attribute information may include a role set for each node. The second attribute information may include a role set for the application. The determination unit may determine a node corresponding to the first attribute information having the same role as the role of the second attribute information as a node to be placed. According to this configuration, a node having the same role as the role of the application can be determined as a placement destination. This makes it possible to determine an appropriate placement destination in the control system.

[0012] The first attribute information may include a load tolerance indicating how high a load each node can tolerate when executing an application. The second attribute information may include a load magnitude generated when executing the application. The determination unit may determine, as a placement destination node, a node corresponding to the first attribute having a load tolerance that can tolerate the load magnitude of the second attribute information. With this configuration, it is possible to prevent a node that cannot withstand a load required for executing an application from being determined as a placement destination.

[0013] The information processing device may further include a third acquisition unit that acquires data accessed by the application. The determination unit may determine the node to be the placement destination based on information of the node that holds the data accessed by the application. With this configuration, it is possible to determine the optimal node as the placement destination based on the data accessed by the application.

[0014] The determination unit may determine a priority node, which is a node that must be given priority in order for the application to access required data, and determine the node to be the placement destination based on the priority node. With this configuration, the placement destination node can be determined based on the priority node. This makes it possible to determine an appropriate node as the placement destination from the perspective of data access by the application.

[0015] The determination unit may determine the priority node based on at least one of the node that holds the data corresponding to the strictest requirement among the time requirements, the node that has the smallest statistical value of the time requirements set for each data, and the node that has the largest amount of data per unit time calculated based on the time requirements set for each data and the data amount of each data. With this configuration, the priority node can be determined quantitatively.

[0016] The determination unit may determine, as the node to be the placement destination, either the priority node or a node that is temporally closest to the priority node. With this configuration, it is possible to determine an appropriate node as the placement destination based on the priority node.

[0017] The information processing apparatus may further include a placement unit that places the application in the placement destination in accordance with a user operation. With this configuration, the application can be placed in the determined placement destination.

[0018] According to another embodiment, in a control system capable of placing an application in any one of a plurality of nodes, a determination method for determining a node in which an application is to be placed is provided, The determination method includes the steps of acquiring first attribute information set in each of the plurality of nodes, acquiring second attribute information set in the application, and determining the node in which the application is to be placed based on the first attribute information and the second attribute information.

[0019] According to yet another embodiment, in a control system capable of placing an application in any one of a plurality of nodes, there is provided a determination program for determining a node in which an application is to be placed. The determination program causes a computer to execute the steps of acquiring first attribute information set in each of the plurality of nodes, acquiring second attribute information set in the application, and determining the node in which the application is to be placed based on the first attribute information and the second attribute information. Effect of the Invention

[0020] According to the present technology, a method for determining a placement destination of an application suitable for a control system is provided. [Brief description of the drawings]

[0021] [Figure 1] 1 is a schematic diagram showing an example of the overall configuration of a control system according to the present embodiment; [Diagram 2] FIG. 2 is a schematic diagram showing an example of a hardware configuration of a development support device according to the present embodiment. [Diagram 3]It is a schematic diagram showing a hardware configuration example of a control processing unit and an information processing unit according to this embodiment. [Figure 4] It is a schematic diagram showing another overall configuration example of a control system according to this embodiment. [Diagram 5] It is a diagram showing an example of attribute information set in a node included in the control system shown in FIG. 4. [Figure 6] It is a diagram for explaining a process of arranging an application in the control system shown in FIG. 4. [Figure 7] It is a flowchart showing an example of a process in which a development support device according to this embodiment determines a placement destination of an application. [Figure 8] It is a diagram for explaining a process of determining a placement destination based on data accessed by an application. [Figure 9] It is a diagram for explaining an example of a process in which a development support device according to this embodiment determines a priority node. [Figure 10] It is a flowchart showing another example of a process in which a development support device according to this embodiment determines a placement destination of an application. [Figure 11] It is a schematic diagram showing a software configuration example of a development support device according to this embodiment.

Embodiments for Carrying Out the Invention

[0022] The embodiments will be described in detail with reference to the drawings. For the same or corresponding parts in the drawings, the same reference numerals are given and the description thereof will not be repeated.

[0023] <A. Application Examples> First, an example of a scenario to which this technology is applied will be described.

[0024] FIG. 1 is a schematic diagram showing an overall configuration example of a control system 1 according to this embodiment. Referring to FIG. 1, the control system 1 includes a plurality of control devices 10-1, 10-2, 10-3 (hereinafter, may also be collectively referred to as "control device 10"), and a development support device 100.

[0025] Each of control devices 10-1 to 10-3 includes control processing units 200-1 to 200-3 (hereinafter sometimes collectively referred to as "control processing units 200") and information processing units 300-1 to 300-3 (hereinafter sometimes collectively referred to as "information processing units 300").

[0026] The control processing unit 200 provides an OT function that controls the operation of the industrial system. The information processing unit 300 provides an IT function that is in charge of information processing.

[0027] The control processing units 200 are electrically connected to each other via a control system network 4. Each of the control processing units 200 is connected to a sensor 40 and an actuator 42 via a field bus 2. Each of the control processing units 200 collects sensing data from the sensor 40 and provides commands to the actuator 42.

[0028] The control processing unit 200 and the information processing unit 300 are electrically connected via an internal bus 50. In the control system 1, the internal bus 50 has a higher communication speed than the control network 4. The internal bus 50 may be realized using, for example, PCI Express.

[0029] Each of the control processing units 200 holds input data including sensing data collected from the sensors 40, output data including command values ​​given to the actuators 42, and internal data used in the control calculations. These data are managed as variables 250.

[0030] In the control system 1, each of the information processing units 300 can arbitrarily access data (variables 250) held by each of the control processing units 200. For example, each piece of data included in the variables 250 is managed so that it can be uniquely identified in the control system 1. By managing the data using a unique variable name, the application 400 can access data required for processing no matter which information processing unit 300 it is being executed on. In other words, the control system 1 provides an environment in which the same application 400 can be executed on any information processing unit 300.

[0031] For example, by using the OPU-UA architecture, the information processing unit 300 (and the application 400 executed on the information processing unit 300) can arbitrarily access data (variables 250) held by each of the control processing units 200.

[0032] The development support device 100 is an example of an information processing device, and supports the determination of an information processing unit 300 as a placement destination of one or more applications 400. The development support device 100 may further provide an environment for developing the application 400 (for example, an integrated development environment including an editor, a compiler, etc.).

[0033] The development support device 100 according to this embodiment supports the determination of the placement destination of the application 400. More specifically, the development support device 100 determines the placement destination based on attribute information set for the placement destination candidates of the application and attribute information set for the application. The development support device 100 also determines the placement destination based on a device that holds data required for execution of the application 400 and an access route to the device. The configuration and method for supporting the determination of the placement destination will be described in detail below.

[0034] In this specification, the unit of resources constituting the control system 1 may also be referred to as a "node". A "node" may be independent hardware such as the control processing unit 200 and the information processing unit 300 described above, or may be virtualized logical computing resources. A "node" includes the information processing unit 300 where the application 400 is to be placed, and the control processing unit 200 and the information processing unit 300 that hold data (variables) accessed by the application 400.

[0035] Thus, the development support device 100 is directed to the control system 1 in which the application 400 can be placed in any one of a plurality of nodes.

[0036] <B. Hardware Configuration Example> Next, a hardware configuration example of the control system 1 according to the present embodiment will be described.

[0037] (b1: Development Support Device 100) FIG. 2 is a schematic diagram showing a hardware configuration example of the development support device 100 according to the present embodiment. Referring to FIG. 2, the development support device 100 includes a processor 102, a memory 104, a storage 106, an input unit 108, an output unit 110, and a communication interface 112. The development support device 100 may be a computer such as a general-purpose PC (Personal Computer), for example.

[0038] The processor 102 reads out the program stored in the storage 106, expands it in the memory 104, and executes it to realize the processing as described later.

[0039] The storage 106 is a recording medium that non-transitorily stores a computer-readable program, and stores, for example, an OS (Operating System) 120, a development program 122, and a placement destination determination program 124. The storage 106 may store other necessary programs than the programs shown in FIG. 2.

[0040] The OS 120 includes computer readable instructions for implementing basic processing. The development program 122 includes computer readable instructions for processing for developing the application 400. The placement destination determination program 124 corresponds to a determination program, and includes computer readable instructions for processing for determining the placement destination of the application 400.

[0041] The programs executed by the development support device 100 may be installed via a computer-readable recording medium (e.g., optical media), or may be installed by downloading from a server device on a network. Furthermore, the functions provided by the development support device 100 may be realized by utilizing some of the modules provided by the OS 120.

[0042] The input unit 108 includes an interface circuit with an input device (such as a keyboard or a mouse) that accepts a user operation, or may include the input device itself.

[0043] The output unit 110 includes an interface circuit with an output device (such as a display) that outputs the processing result of the processor, or may include the output device itself.

[0044] The communication interface 112 is, for example, a Universal Serial Bus (USB) interface, and mediates data transmission with the control device 10 (the development support device 100 or the control processing unit 200). The communication interface 112 may be a network interface for connecting to the control system network 4.

[0045] (b2: control processing unit 200 and information processing unit 300) FIG. 3 is a schematic diagram showing an example of the hardware configuration of the control processing unit 200 and the information processing unit 300 according to the present embodiment.

[0046] Referring to FIG. 3, the control processing unit 200 includes a processor 202 , a memory 204 , a storage 206 , an internal bus interface 208 , and a field bus interface 210 .

[0047] The processor 202 reads out a program stored in the storage 206, deploys it in the memory 204, and executes it to realize control calculations for controlling the operation of the industrial system.

[0048] The storage 206 is a recording medium that non-transiently stores computer-readable programs, and stores, for example, a system program 212 and a user program 214. The storage 206 may store necessary programs other than the programs shown in FIG.

[0049] The system program 212 includes computer readable instructions for implementing basic processes for implementing control operations, and the user program 214 includes computer readable instructions for implementing control operations for controlling the operation of the industrial system.

[0050] The internal bus interface 208 exchanges data with other units including the information processing unit 300 via the internal bus 50 .

[0051] The field bus interface 210 exchanges data with the sensors 40 and actuators 42 via the field bus 2 .

[0052] The information processing unit 300 includes a processor 302 , a memory 304 , a storage 306 , an internal bus interface 308 , and a communication interface 310 .

[0053] The processor 302 reads out a program stored in the storage 306, expands it in the memory 304, and executes it to realize control calculations for controlling the operation of the industrial system.

[0054] Storage 306 is a recording medium that non-transitorily stores computer-readable programs, and stores, for example, system program 312 and application 400. Storage 306 may store necessary programs other than the programs shown in FIG. 3.

[0055] System program 312 includes computer-readable instructions for realizing an environment for executing application 400.

[0056] Internal bus interface 308 exchanges data with other units including control processing unit 200 via internal bus 50.

[0057] Communication interface 310 exchanges data with any information processing device (for example, development support device 100, etc.).

[0058] (b3: Others) FIGS. 2 and 3 show configuration examples in which functions necessary for a processor to execute a program are provided, but some or all of these provided functions may be implemented using dedicated hardware circuits (for example, ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array), etc.).

[0059] <C. Determination Process of Placement Destination Based on Attribute Information> Next, the determination process of the placement destination based on the attribute information set in control system 1 according to the present embodiment will be described.

[0060] In this specification, "attribute information" is any information given to nodes that are candidates for the placement destination of application 400. A plurality of attribute information may be given to one node. Examples of attribute information include the role set for each node, specifications (such as processor capabilities and memory capacity), load tolerance, placement location (network layer), and the like.

[0061] Fig. 4 is a schematic diagram showing another example of the overall configuration of the control system 1 according to the present embodiment. Fig. 4 illustrates a hierarchically configured control system 1. More specifically, the control system 1 includes a control network 4, an information network 6, and a higher-level network 8.

[0062] The control network 4 is connected to control devices 10-1 to 10-4 (for convenience, they are referred to as "PLC"). The information network 6 is connected to control processing devices 20-1 to 20-3 (hereinafter, they may be collectively referred to as "control processing devices 20") (for convenience, they are referred to as "control processing PC"). The higher level network 8 is connected to information processing devices 30-1 and 30-2 (hereinafter, they may be collectively referred to as "information processing devices 30") (for convenience, they are referred to as "information processing PC").

[0063] The load tolerance of each node is an index indicating how high a load the node can tolerate when executing the application 400. The load tolerance may be calculated based on the processor capacity and memory capacity implemented in each node, for example. The processor capacity may be expressed as a relative value to a reference processor.

[0064] For example, the closer a node is located to the higher-level network 8, the greater its load capacity. However, when determining where to place an application, it is preferable to take other factors into consideration in addition to the load capacity.

[0065] Based on the attribute information set in the application 400, the development support device 100 according to this embodiment extracts, as candidates, nodes included in the control system 1 that match the attribute information set in the application 400, and determines a placement destination from among the extracted candidates.

[0066] FIG. 5 is a diagram showing an example of attribute information set for the nodes included in the control system 1 shown in FIG.

[0067] 5, attribute information 500 includes, for example, node position 510, name 520, role 530, specs 540, and load capacity 550 for each node.

[0068] Role 530 includes information indicating what kind of processing each node is responsible for in control system 1. Role 530 includes, for example, four sub-items 531 to 534. Sub-items corresponding to one or more roles set for each node are checked. Specification 540 includes sub-item 541 indicating processor capacity and sub-item 542 indicating memory capacity.

[0069] The attribute information 500 may be stored in the development support device 100, or may be managed by a device other than the development support device 100. In addition, the user may input the contents of the attribute information 500 each time.

[0070] Note that the attribute information shown in FIG. 5 is an example, and any items may be included in the attribute information.

[0071] 4 and 5, the attribute information includes a role set for each node. As an example, the control system 1 includes a group 70 in which "machine control" is set as a role, a group 71 in which "machine information collection" is set as a role, a group 72 in which "line control" is set as a role, and a group 73 in which "data processing" is set as a role.

[0072] When the placement destination of the application 400 is determined in a state in which attribute information has been assigned to each node, the attribute information is also set for the application 400.

[0073] Fig. 6 is a diagram for explaining the process of arranging the application 400 in the control system 1 shown in Fig. 4. With reference to Fig. 6, the process of arranging the applications 400-1 to 400-6 will be illustrated.

[0074] Attribute information 450-1 to 450-5 (hereinafter sometimes collectively referred to as “attribute information 450”) is set for applications 400-1 to 400-6, respectively. Each of attribute information 450-1 to 450-5 includes the magnitude of the load generated when each application 400 is executed, and the role set for each application 400.

[0075] For example, the load generated during execution of the application 400-1 is set to "heavy," and the role is set to "data processing." In this case, multiple nodes included in the group 73, which has "data processing" set as attribute information, are candidates for placement. Among these candidates, the information processing device 30-2 that can handle the "heavy" load is determined as the placement destination.

[0076] Furthermore, the load generated during execution of the application 400-4 is set to "small," and the role is set to "machine information collection." In this case, multiple nodes included in the group 71, which has "machine information collection" set as attribute information, are candidates for placement. All of these candidates can handle a "small" load. Factors described below are taken into consideration, and the control device 10-4 is selected as the placement destination of the application 400-4.

[0077] Similarly, for the other applications 400, the placement destinations are determined based on the attribute information set for each node and the attribute information set for the application 400.

[0078] The load generated during execution of application 400 may be calculated based on, for example, processor usage time and memory usage. The processor usage time may be a relative value to a reference processor. In the above example, one of three values ​​("large", "medium", and "small") is set for the load generated during execution of application 400, but values ​​with more levels may be set.

[0079] 7 is a flowchart showing an example of a process in which development support device 100 according to the present embodiment determines a placement destination of application 400. Each step shown in FIG. 7 may be realized by processor 102 of development support device 100 executing placement destination determination program 124.

[0080] 7, the development support device 100 acquires attribute information set for one or more nodes that are candidate placement destinations (step S100), and acquires attribute information set for the application 400 to be placed (step S102). Note that steps S100 and S102 may be performed in any order. Steps S100 and S102 may be performed in parallel. In this way, the development support device 100 acquires attribute information set for each of the multiple nodes, and acquires attribute information set for the application 400.

[0081] The development support device 100 determines whether or not there is a node, among one or more nodes of the placement destination candidates, to which the same role as the role of the attribute information set in the application 400 to be placed is set (step S104).

[0082] If there is no node to which the same role is set (NO in step S104), the development support device 100 notifies the user that there is no deployment destination for the application 400 (step S106), and the process then ends.

[0083] If there are nodes to which the same role is set (YES in step S104), the development support device 100 determines whether or not there is a node among the nodes to which the same role is set whose load tolerance is sufficient to handle the load that occurs when the application 400 to be deployed is executed (step S108).

[0084] If there is no node that can handle the load (NO in step S108), the development support device 100 notifies the user that there is no deployment destination for the application 400 (step S106), and the process then ends.

[0085] If a node capable of handling the load exists (YES in step S108), the development support device 100 judges whether there is one node capable of handling the load (step S110). If there is one node capable of handling the load (YES in step S110), the development support device 100 determines that node as the placement destination of the application 400 (step S112). Then, the process ends.

[0086] If there are multiple nodes that can handle the load (NO in step S110), the development support device 100 determines the node to be the placement destination based on the data accessed by the application 400 (step S20). Details of the process of determining the placement destination based on the data accessed by the application 400 will be described later.

[0087] In this way, the development support device 100 determines the node on which the application 400 is to be placed based on the attribute information (first attribute information) set for each of the multiple nodes and the attribute information (second attribute information) set for the application 400.

[0088] More specifically, the development support device 100 determines a node corresponding to attribute information 500 (first attribute information) having the same role as the role of attribute information (second attribute information) set in the application 400, as a node to which the application 400 will be placed. Furthermore, the development support device 100 determines a node corresponding to attribute information 500 (first attribute information) having a load tolerance that can tolerate the load magnitude of the attribute information (second attribute information) set in the application 400, as a node to which the application 400 will be placed.

[0089] Note that the development support device 100 may automatically place the application 400 at the determined placement destination, or may place it according to a user operation. For example, the development support device 100 may present the determined placement destination to the user, and the user may instruct whether to approve the presented placement destination.

[0090] The process shown in FIG. 7 may be repeated as many times as the number of applications 400 to be placed. Also, each time a new application 400 is generated in the development support device 100, the process shown in FIG. 7 may be executed.

[0091] Furthermore, even when re - placing the application 400 already placed on any node, the process shown in FIG. 7 may be executed.

[0092] For example, in an IT - oriented network, the placement destination of an application is often determined based on the load (the load tolerance of the node and the load generated during the execution of the application). On the other hand, in a control system, each node has a role set as described above. If the placement destination is determined only based on the load, there is a possibility that the role set for the node where the application is executed does not match the role of the application.

[0093] In the present embodiment, when determining the placement destination of an application, attribute information including the role of the application is referred to, so the placement destination of the application 400 can be optimized.

[0094] Note that the role included in the attribute information of the application 400 needs to match one of the roles set for the nodes. Therefore, the roles set for the nodes and / or the roles set for the application 400 may not be arbitrarily set, but may be selected from a plurality of prepared options.

[0095] <D. Determination process of placement destination based on data accessed by application 400> Next, a process for determining the placement destination based on the data accessed by the application 400 will be described.

[0096] Fig. 8 is a diagram for explaining the process of determining the placement destination based on the data accessed by the application 400. Fig. 8 shows, as an example, an example in which the application 400 is placed in the information processing unit 300-1.

[0097] 8, the application 400 accesses the variable 250 of the control processing unit 200-3 during execution. In this case, data indicating the value of the variable 250 of the control processing unit 200-3 is transferred from the control processing unit 200-3 to the control processing unit 200-1 via the control system network 4, and is further transferred to the information processing unit 300-1 via the internal bus 50. Since the communication speed of the control system network 4 is slower than that of the internal bus 50, when the application 400 is executed by the information processing unit 300-1, the access performance to the necessary variable 250 may be restricted. As a result, the execution speed of the application 400 is slow, and a delay in processing may occur.

[0098] 8, it is considered more preferable to place the application 400 in the information processing unit 300-3 rather than in the information processing unit 300-1. The information processing unit 300-3 is connected to the control processing unit 200-3 via the internal bus 50, and the application 400 is executed in the information processing unit 300-3, thereby making it possible to speed up access to the variable 250 of the control processing unit 200-3.

[0099] It is preferable that each application 400 is placed in an appropriate information processing unit 300 depending on the number of variables accessed by the application 400, the number and network locations of the control processing units 200 that hold the accessed variables, the frequency (or period) at which the application 400 accesses the variables, etc. By optimizing the placement destination of the application 400, it is possible to prevent processing delays of the application 400.

[0100] When determining the placement destination based on the data accessed by the application 400, information on the data required when the application 400 is executed and information on the data held by each node are required.

[0101] The development support device 100 determines the placement location of the application 400 based on the access speed and frequency of data access by the application 400.

[0102] Here, the communication speed in the control system 1 will be described.

[0103] For example, when an application 400 accesses certain data, the time required for access increases in the following order:

[0104] (1) Data held by the node on which application 400 is deployed (no communication with other nodes is required) (2) Data held by the node on which the application 400 is placed and the node connected via the internal bus 50 (communication on the internal bus 50) (3) Data held by a node connected to the same network (such as the control network 4, the information network 6, or the higher-level network 8) as the node on which the application 400 is placed (communication on the same network) (4) Data held by a node connected to a network (such as the control network 4, the information network 6, or the higher-level network 8) different from the node where the application 400 is located (communication across multiple networks) In the control system 1, since the communication speeds between the nodes are not the same, it is necessary to evaluate the time required for accessing each piece of data accessed by the application 400. Any method may be adopted to evaluate the time required for access.

[0105] In this embodiment, the development support device 100 determines a node that must be given priority in order for the application 400 to access necessary data (hereinafter, also referred to as a "priority node"). Then, the development support device 100 determines a node as a placement destination of the application 400 based on the priority node. More specifically, the development support device 100 determines either the determined priority node or a node that is closest in time to the priority node as a placement destination of the application 400.

[0106] The priority node and the placement destination can be determined according to the following concept.

[0107] When the application 400 performs variable access with high access frequency or high time accuracy requirements, and the variables to be accessed are held in the same node, the node that holds the variable is determined as the priority node. One or more nodes with the shortest access time to the determined priority node are determined as candidates for placement.

[0108] When the application 400 performs variable access with high access frequency or high demand for time accuracy, and the variables to be accessed are distributed and stored in multiple nodes, a priority node is determined based on the access frequency to each variable, the amount of communication, etc. One or more nodes with the shortest access time to the determined priority node are determined as candidates for placement.

[0109] When multiple nodes are determined as placement destinations, the placement destination determination process may be performed on these placement destinations based on the attribute information described above.

[0110] Furthermore, if the application 400 has a high access frequency, requires high time accuracy, or does not access variables, the placement destination may be determined by any method.

[0111] 9 is a diagram for explaining an example of a process in which the development support device 100 according to the present embodiment determines a priority node. With reference to Fig. 9, it is assumed that two nodes (node ​​X1 (information processing unit 300X1) and node X2 (information processing unit 300X2)) exist as candidates for the placement destination of the application 400.

[0112] The application 400 accesses variables held by node A (control processing unit 200A) and node B (control processing unit 200B). More specifically, the application 400 accesses variables a1 to a3 held by node A and variables b1 to b5 held by node B.

[0113] A time requirement is set for access to a variable by application 400. The time requirement may be, for example, an access frequency (every XX ms, a minimum interval of XX ms, etc.) or time accuracy (allowable delay time of XX ms, etc.). Fig. 9 shows an example in which an access frequency is set for each variable.

[0114] The development support device 100 determines which of node A and node B is the priority node. As a method for determining the priority node, for example, the following three viewpoints can be given.

[0115] 1. A node that holds a variable corresponding to the strictest time requirement (for example, minimum access frequency or minimum time accuracy) is determined as a priority node.

[0116] 2. The node that has the smallest statistical value (for example, median or average value) of the time requirement set for each variable to be accessed is determined as the priority node.

[0117] 3. The node with the largest amount of data per unit time calculated based on the variables to be accessed and the time requirement is determined as the priority node. In other words, the node with the largest amount of data per unit time calculated based on the time requirement set for each variable and the data amount of each variable is determined as the priority node.

[0118] 9, in view of point 1, the node A has a priority of 5 ms and the node B has a priority of 10 ms. Therefore, the node A is determined as the priority node.

[0119] From the viewpoint of 2, the node A is 40 ms and the node B is 20 ms. Therefore, the node B is determined as the priority node.

[0120] From the viewpoint of 3, node A has a throughput of 1000 byte / s and node B has a throughput of 805.4 byte / s. Therefore, node A is determined as the priority node.

[0121] From the viewpoints of 1. and 3., node A is determined as the priority node. In conjunction with this determination of the priority node, an access route from node A to node X1 and an access route from node B to node X2 are evaluated. Node A and node X1 are connected via the same control system network 4, whereas node X2 is connected to node A via node B and the control system network 4. Therefore, node X1 is determined as the placement destination of application 400.

[0122] Moreover, according to viewpoint 2, node B is determined as the priority node. In association with the determination of the priority node, an access route from node B to node X1 and an access route from node B to node X2 are evaluated. Node B and node X2 are connected via an internal bus 50, whereas node X1 is connected to node B via a control network 4. Since the internal bus 50 has a higher communication speed than the control network 4, node X1 is determined as the placement destination of application 400.

[0123] At least one of the above viewpoints 1 to 3 may be used, or multiple viewpoints may be used. When multiple viewpoints are used, the final placement destination may be determined by majority vote or the like.

[0124] In this way, the development support device 100 determines the priority node based on the variables accessed by the application 400, and determines the placement node based on the determined priority node. Also, by taking into account the communication speed of the access path to the priority node, the placement destination of the application 400 can be determined more appropriately. By taking into account such communication speed, it is possible to more reliably satisfy the real-time requirements of the application 400.

[0125] Fig. 10 is a flowchart showing another example of the process in which development support device 100 according to the present embodiment determines the placement destination of application 400. The process shown in Fig. 10 corresponds to detailed processing of step S20 in Fig. 7. Each step shown in Fig. 10 may be realized by processor 102 of development support device 100 executing placement destination determination program 124.

[0126] 10, development support device 100 acquires variables accessed by application 400 to be deployed (step S200), and identifies a node that holds the acquired variables (step S202). In this manner, development support device 100 acquires variables (data) accessed by application 400.

[0127] The development support device 100 determines whether the number of identified nodes is one (step S204). If the number of identified nodes is one (YES in step S204), the development support device 100 determines the identified node as a priority node (step S206), and extracts a node with the shortest access time to the determined priority node as a candidate for placement (step S208).

[0128] The development support device 100 judges whether or not there are multiple candidates for the placement destination extracted (step S210). If there is only one candidate for the placement destination extracted (NO in step S210), the development support device 100 determines the extracted candidate for the placement destination as the placement destination (step S212). Then, the process ends.

[0129] If there are multiple candidates for the placement destination extracted (YES in step S210), the development support device 100 determines the candidate that has the most resources for executing the application 400 as the placement destination based on the attribute information set for the extracted candidates for the placement destination (step S214), and the process then ends.

[0130] In this way, the development support device 100 determines the node in which the application 400 is to be placed, based on information about the node that holds the variables (data) that the application 400 accesses.

[0131] Attribute information is also used in the process of determining the placement destination of the application 400 shown in Fig. 10. That is, the development support device 100 determines the node to which the application 400 is to be placed, based on attribute information (first attribute information) set for each of the multiple nodes and attribute information (second attribute information) set for the application 400.

[0132] In order to determine which has the most resources for executing the application 400, for example, factors such as a large load tolerance, little processor idle time, and a large memory capacity may be considered.

[0133] If the number of identified nodes is plural (NO in step S204), the development support device 100 determines a priority node based on the number and data size of variables accessed by the application 400, and the time requirement for variable access of the application 400 (step S216). Then, the processing from step S208 and below is executed.

[0134] When determining the priority node in step S216, an evaluation value calculated according to one or a plurality of viewpoints as described above may be used.

[0135] The development support device 100 may automatically arrange the application 400 at the determined destination, or may arrange it according to a user operation. For example, the development support device 100 presents the determined destination to the user, and the user may instruct whether to approve the presented destination.

[0136] <E. Software Configuration Example> Next, a software configuration example of the development support device 100 according to the present embodiment will be described.

[0137] FIG. 11 is a schematic diagram showing a software configuration example of the development support device 100 according to the present embodiment. The software configuration example shown in FIG. 11 may be realized by the processor 102 of the development support device 100 executing a destination determination program 124.

[0138] The development support device 100 includes, as a software configuration, a node attribute information acquisition unit 150, an application attribute information acquisition unit 152, an access target variable acquisition unit 154, a destination determination unit 156, and an arrangement unit 158.

[0139] The node attribute information acquisition unit 150 corresponds to the first acquisition unit and acquires the attribute information (attribute information 500) set for each of the plurality of nodes. The attribute information may be prepared individually for each node, or as shown in FIG. 5, the individual information of each of the plurality of nodes may be set in a list format.

[0140] The application attribute information acquisition unit 152 corresponds to the second acquisition unit and acquires the attribute information set for the application 400.

[0141] The access target variable acquisition unit 154 corresponds to the third acquisition unit and acquires the data accessed by the application 400.

[0142] The placement destination determination unit 156 corresponds to the determination unit and determines the node that will be the placement destination of the application 400 based on the attribute information (attribute information 500) set for each of the plurality of nodes and the attribute information set for the application 400.

[0143] The placement unit 158 places the application 400 at the placement destination according to a user operation. That is, the placement unit 158 transfers the application 400 to the node determined as the placement destination.

[0144] <F. Modification Example> The process of placing the application 400 according to the present embodiment may be executed when the application 400 is to be relocated. For example, when one or more applications 400 are being executed in the control system 1, if it is determined that the resources of the node where any one of the applications 400 is being executed may be insufficient, the application 400 may be relocated. Therefore, each node or the monitoring node of the control system 1 may monitor for insufficient resources at the node.

[0145] In the above description, an example is shown in which, after the execution of the destination determination process based on attribute information (the process procedure shown in FIG. 7), the destination determination process based on the data accessed by the application 400 (the process procedure shown in FIG. 10) is executed. However, the execution order of these processes may be reversed. Also, only one of these processes may be executed.

[0146] The algorithm for determining the destination may be appropriately changed according to the number and type of devices (nodes) included in the control system 1.

[0147] <G. Advantages> According to the present embodiment, the destination of the application is determined based not only on the load tolerance of the node but also on the attribute information set for the node and the application. For example, a node that matches the role set for the application (e.g., machine control, machine information collection, line control, data processing, etc.) is determined as the destination. By determining a node that matches the role set for the application as the destination, the application can be executed on an appropriate node.

[0148] According to the present embodiment, the destination is determined based on the data accessed by the application 400. At this time, the destination is determined based on the access speed and access frequency when the application 400 accesses the data. Also, the communication speed of the access path is considered in the determination of the destination. By considering such factors, optimization of the destination according to the network topology of the control system can be realized.

[0149] <H. Supplementary Note> The present embodiment as described above includes the following technical ideas.

[0150] [Configuration 1] An information processing apparatus (100) directed to a control system (1) capable of arranging an application (400) in any one of a plurality of nodes (300), a first acquisition unit (150) that acquires first attribute information (500) set for each of the plurality of nodes; a second acquisition unit (152) that acquires second attribute information (450) set in the application; a determination unit (156) that determines a node in which the application is to be placed based on the first attribute information and the second attribute information.

[0151] [Configuration 2] The first attribute information includes a role (530) set for each node, The second attribute information includes a role (450) set for the application, 2. The information processing device according to configuration 1, wherein the determination unit determines a node corresponding to first attribute information having the same role as the role of the second attribute information as the node to be the placement destination (S104, S112).

[0152] [Configuration 3] The first attribute information includes a load tolerance (550) indicating how high a load each node can tolerate when executing an application, The second attribute information includes a load (450) generated when the application is executed, The information processing device according to configuration 1 or 2, wherein the determination unit determines a node corresponding to a first attribute having a load capacity that can tolerate the load of the second attribute information as the node to be placed (S108, S112).

[0153] [Configuration 4] A third acquisition unit (154) for acquiring data to be accessed by the application, 4. The information processing device according to any one of configurations 1 to 3, wherein the determination unit determines the node to be the placement destination, further based on information of a node that holds data accessed by the application (S20).

[0154] [Configuration 5] The information processing device according to any one of configurations 1 to 4, wherein the determination unit determines a priority node, which is a node that must be considered as a priority in order for the application to access the required data, and determines the node to be the placement destination based on the priority node (S206, S208, S214).

[0155] [Configuration 6] The determination unit is A node that holds data corresponding to the most stringent time requirement; The node with the smallest statistical value of the time request set for each data, 6. The information processing device according to configuration 5, wherein the priority node is determined based on at least one of a time requirement set for each piece of data and a node having the largest amount of data per unit time calculated based on the amount of data for each piece of data.

[0156] [Configuration 7] 7. The information processing device according to configuration 5 or 6, wherein the determination unit determines either the priority node or a node that is closest in time to the priority node as the node to be placed.

[0157] [Configuration 8] The information processing device according to any one of configurations 1 to 7, further comprising an arrangement unit (158) that arranges the application at the arrangement destination in accordance with a user operation.

[0158] [Configuration 9] A method for determining a node in which an application (400) is to be placed in a control system (1) capable of placing the application (400) on any of a plurality of nodes (300), comprising the steps of: A step (S100) of acquiring first attribute information set for each of the plurality of nodes; A step of acquiring second attribute information set in the application (S102); The determination method comprises a step (S112) of determining a node on which the application is to be placed, based on the first attribute information and the second attribute information.

[0159] [Configuration 10] In a control (1) capable of placing an application (400) on any one of a plurality of nodes (300), a determination program (124) for determining a node on which the application is to be placed, the determination program (124) includes the following steps in a computer (100): A step (S100) of acquiring first attribute information set for each of the plurality of nodes; A step of acquiring second attribute information set in the application (S102); and determining (S112) a node in which the application is to be placed, based on the first attribute information and the second attribute information.

[0160] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, not the above description, and is intended to include all modifications within the meaning and scope of the claims. [Explanation of symbols]

[0161] 1 control system, 2 field bus, 4 control network, 6 information network, 8 upper network, 10 control device, 20 control processing device, 30 information processing device, 40 sensor, 42 actuator, 50 internal bus, 70, 71, 72, 73 group, 100 development support device, 102, 202, 302 processor, 104, 204, 304 memory, 106, 206, 306 storage, 108 input section, 110 output section, 112, 310 communication interface, 120 OS, 122 development program, 124 placement destination determination program, 150 node attribute information acquisition section, 152 application attribute information acquisition section, 154 access target variable acquisition section, 156 placement destination determination section, 158 placement section, 200, 200A, 200B control processing unit, 208, 308 internal bus interface, 210 Fieldbus interface, 212, 312 System program, 214 User program, 250 Variables, 300, 300X1, 300X2 Information processing unit, 400 Application, 450, 500 Attribute information, 510 Node position, 520 Name, 530 Role, 531, 534, 541, 542 Subitem, 540 Specifications, 550 Load capacity.

Claims

1. An information processing device for a control system capable of placing an application on any one of a plurality of nodes, a first acquisition unit that acquires first attribute information set for each of the plurality of nodes; a second acquisition unit that acquires second attribute information set in the application; a determination unit that determines a node in which the application is to be placed based on the first attribute information and the second attribute information.

2. The first attribute information includes a role set for each node, The second attribute information includes a role set to the application, The information processing apparatus according to claim 1 , wherein the determination unit determines, as the node to be the placement destination, a node corresponding to first attribute information having the same role as the role of the second attribute information.

3. the first attribute information includes a load tolerance indicating how high a load each node can tolerate when executing an application; the second attribute information includes a load generated when the application is executed, The information processing apparatus according to claim 1 , wherein the determination unit determines, as the node to be the placement destination, a node corresponding to the first attribute having a load capacity that can tolerate a load magnitude of the second attribute information.

4. A third acquisition unit that acquires data to be accessed by the application, The information processing device according to claim 1 , wherein the determination unit determines the node to be the placement destination further based on information of a node that holds data accessed by the application.

5. The information processing device according to any one of claims 1 to 3, wherein the determination unit determines a priority node, which is a node that must be considered as a priority in order for the application to access the required data, and determines the node to be the placement destination based on the priority node.

6. The determination unit is A node that holds data corresponding to the most stringent time requirement; The node with the smallest statistical value of the time request set for each data, 6. The information processing device according to claim 5, wherein the priority node is determined based on at least one of a time requirement set for each piece of data and a node with the largest amount of data per unit time calculated based on the amount of data for each piece of data.

7. The information processing apparatus according to claim 5 , wherein the determination unit determines, as the node to be the placement destination, either the priority node or a node that is temporally closest to the priority node.

8. 4. The information processing apparatus according to claim 1, further comprising an arrangement unit that arranges the application at the arrangement destination in accordance with a user operation.

9. 1. A method for determining a node on which an application is to be placed in a control system capable of placing an application on any one of a plurality of nodes, comprising the steps of: acquiring first attribute information set for each of the plurality of nodes; acquiring second attribute information set in the application; determining a node on which the application is to be deployed based on the first attribute information and the second attribute information.

10. A control system capable of placing an application on any one of a plurality of nodes, comprising: a determination program for determining a node on which the application is to be placed, the determination program being configured to include: acquiring first attribute information set for each of the plurality of nodes; acquiring second attribute information set in the application; and determining a node on which the application is to be placed based on the first attribute information and the second attribute information.

Citation Information

Patent Citations

  • Application arrangement device and application arrangement program

    JP2020137073A