# US 2020/0394022 A1 · Design assistance device, design assistance method and program

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0394022 A1
- Document ID: US20200394022A1
- Status: Published application
- Kind: A1
- Application number: 16/755,598
- Filed: 2017-12-25
- Published: 2020-12-17
- Earliest claimed: 2017-12-25
- Assignees: Mitsubishi Electric Corporation
- Applicants: Mitsubishi Electric Corporation
- Inventors: Takuya MIYAMARU
- Web page: https://patentgrep.com/patent/US20200394022A1

## CPC

- G06F 8/451: {Code distribution (considering CPU load at run-time G06F9/505; load rebalancing G06F9/5083)}
- G06F 8/76: Adapting program code to run in a different environment; Porting
- G05B 19/056: {Programming the PLC}
- G06F 8/20: Software design
- G06F 8/35: model driven
- G06F 8/457: {Communication (intertask communication G06F9/54)}
- G06F 8/51: Source to source
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/5044: {considering hardware capabilities}
- G05B 19/05: Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B 2219/13004: Programming the plc
- G06Q 10/0631: Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q 50/04: Manufacturing
- Y02P 90/30: Computing systems specially adapted for manufacturing
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- Y02P: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS

## Abstract

A design assistance device assists design of a processing device to execute processing and includes an acquirer, divider, communication code generator, and outputter. The acquirer acquires processing code describing content of the processing. The divider divides the processing code into modules and determines, for each of the modules, an execution environment in which the module is to be executed, from among a plurality of execution environments provided on the processing device. The communication code generator generates, when a module of the plurality of modules includes partial processing prioritized for execution in a second execution environment other than a first execution environment determined for execution of the module, a communication code for communication between the first execution environment and the second execution environment to execute the partial processing in the second execution environment. The outputter outputs the plurality of modules and the communication code to the processing device.

## Claims

### Claim 1

A design assistance device that assists designing for causing a processing device to execute processing, the design assistance device comprising processing circuitry configured to perform as:
an acquirer to acquire a processing code describing content of the processing;
a divider to divide the processing code into a plurality of modules and determine, for each of the plurality of modules, an execution environment in which the corresponding module is to be executed, from among a plurality of execution environments provided on the processing device;
a communication code generator to generate, when a module of the plurality of modules includes partial processing prioritized for execution in a second execution environment other than a first execution environment determined for execution of the module, a communication code for communication between the first execution environment and the second execution environment to execute the partial processing in the second execution environment; and
an outputter to output the plurality of modules and the communication code to the processing device.

### Claim 2 (depends on 1)

The design assistance device according to claim 1, wherein the processing circuitry is further configured to perform as a converter to convert a format of each module and a format of the communication code into executable format, wherein
the processing code and the communication code are each source code.

### Claim 3 (depends on 1)

The design assistance device according to claim 1, wherein
the design assistance device is connected to a sever, and
the outputter acquires, from the server, data for causing the processing device to execute the processing described in the processing code, and outputs, to the processing device, the data, the plurality of modules, and the communication code.

### Claim 4 (depends on 1)

The design assistance device according to claim 1, wherein the divider determines, for each of the plurality of modules, an execution environment in which the corresponding module is to be executed, based on an index value obtained from content of the processing described in the module.

### Claim 5 (depends on 4)

The design assistance device according to claim 4, wherein the index value is a frequency of use of a library in the processing described in the module.

### Claim 6 (depends on 1)

The design assistance device according to claim 1, wherein
the partial processing is processing that uses a library,
the acquirer acquires design information associating the library and a communication method with each other,
the communication code generator generates a communication code for communication via a communication method that is associated with the library used in the partial processing.

### Claim 7

A design assistance method comprising:
by a computer, dividing a processing code describing content of processing into a plurality of modules and determining, for each of the plurality of modules, an execution environment in which the corresponding module is to be executed, from among a plurality of execution environments;
by the computer, generating, when a module of the plurality of modules includes partial processing prioritized for execution in a second execution environment other than a first execution environment determined for execution of the module, a communication code for communication between the first execution environment and the second execution environment to execute the partial processing in the second execution environment; and
by the computer, outputting the plurality of modules and the communication code.

### Claim 8

A non-transitory computer-readable recording medium storing a program for causing a computer to:
divide a processing code describing content of processing into a plurality of modules and determine, for each of the plurality of modules, an execution environment in which the corresponding module is to be executed, from among a plurality of execution environments;
generate, when a module of the plurality of modules includes partial processing prioritized for execution in a second execution environment other than a first execution environment determined for execution of the module, a communication code for communication between the first execution environment and the second execution environment to execute the partial processing in the second execution environment; and
output the plurality of modules and the communication code.

### Claim 9 (depends on 2)

The design assistance device according to claim 2, wherein
the design assistance device is connected to a sever, and
the outputter acquires, from the server, data for causing the processing device to execute the processing described in the processing code, and outputs, to the processing device, the data, the plurality of modules, and the communication code.

### Claim 10 (depends on 2)

The design assistance device according to claim 2, wherein the divider determines, for each of the plurality of modules, an execution environment in which the corresponding module is to be executed, based on an index value obtained from content of the processing described in the module.

### Claim 11 (depends on 3)

The design assistance device according to claim 3, wherein the divider determines, for each of the plurality of modules, an execution environment in which the corresponding module is to be executed, based on an index value obtained from content of the processing described in the module.

### Claim 12 (depends on 2)

The design assistance device according to claim 2, wherein
the partial processing is processing that uses a library,
the acquirer acquires design information associating the library and a communication method with each other,
the communication code generator generates a communication code for communication via a communication method that is associated with the library used in the partial processing.

### Claim 13 (depends on 3)

The design assistance device according to claim 3, wherein
the partial processing is processing that uses a library,
the acquirer acquires design information associating the library and a communication method with each other,
the communication code generator generates a communication code for communication via a communication method that is associated with the library used in the partial processing.

### Claim 14 (depends on 4)

The design assistance device according to claim 4, wherein
the partial processing is processing that uses a library,
the acquirer acquires design information associating the library and a communication method with each other,
the communication code generator generates a communication code for communication via a communication method that is associated with the library used in the partial processing.

### Claim 15 (depends on 5)

The design assistance device according to claim 5, wherein
the partial processing is processing that uses a library,
the acquirer acquires design information associating the library and a communication method with each other,
the communication code generator generates a communication code for communication via a communication method that is associated with the library used in the partial processing.
