# US 2020/0401399 A1 · Application division device, 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/0401399 A1
- Document ID: US20200401399A1
- Status: Published application
- Kind: A1
- Application number: 16/969,506
- Filed: 2019-02-14
- Published: 2020-12-24
- Earliest claimed: 2018-02-16
- Assignees: Nippon Telegraph and Telephone Corporation
- Applicants: Nippon Telegraph and Telephone Corporation
- Inventors: Kazuya MATSUO; Masahiro YOSHIDA; Noriyuki TAKAHASHI; Hiroyuki TANAKA
- Web page: https://patentgrep.com/patent/US20200401399A1

## CPC

- G06F 8/45: {Exploiting coarse grain parallelism in compilation, i.e. parallelism between groups of instructions}
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 9/50: Allocation of resources, e.g. of the central processing unit [CPU]
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A function defined in source code of an application is further partitioned into a plurality of logics without depending on function definition performed by a developer. An application partitioning apparatus (1) for partitioning an application distributively processed by a plurality of information processing apparatuses into a plurality of logics includes an acquisition unit (121) which acquires source code of the application, a first partitioning unit (122) which identifies a plurality of functions defined in the source code and partitioning the source code into the plurality of functions, a determination unit (123) which determines whether each of the partitioned functions can be further partitioned according to rules set in advance, and a second partitioning unit (124) which, when it is determined that each of the partitioned function can be partitioned, partitions the function into a plurality of functions including one or a plurality of rows.

## Claims

### Claim 1

An application partitioning apparatus for partitioning an application distributively processed by a plurality of information processing apparatuses into a plurality of logics, comprising:
a processor; and
a storage medium having computer program instructions stored thereon, where executed by the processor, perform to:
acquire source code of the application; identifies a plurality of functions defined in the source code and partitions the source code into the plurality of functions; determines whether each of the partitioned functions can be further partitioned according to rules set in advance; and when it is determined that each of the partitioned functions can be partitioned, partitions the functions into a plurality of functions including one or a plurality of rows.

### Claim 2 (depends on 1)

The application partitioning apparatus according to claim 1, wherein the computer program instructions further perform to allocate the plurality of functions to the plurality of information processing apparatuses.

### Claim 3 (depends on 2)

The application partitioning apparatus according to claim 2, wherein the computer program instructions further perform to determine optimal distributed arrangement to the plurality of information processing apparatuses in units of functions with respect to a function that has not been partitioned and in units of functions after partitioning with respect to the function that has been partitioned, among the plurality of functions defined in the source code.

### Claim 4 (depends on 1)

The application partitioning apparatus according to claim 1, wherein the computer program instructions further perform to determine that two processes can be partitioned on the basis of determination that a data dependency relation and a control dependency relation are not present between the two processes according to the rules.

### Claim 5 (depends on 1)

The application partitioning apparatus according to claim 1, wherein the computer program instructions further perform to determine that two processes can be partitioned on the basis of determination that there is a data dependency relation or a control dependency relation between the two processes but an execution sequence is not reversed when the two processes have been partitioned according to the rules.

### Claim 6 (depends on 1)

The application partitioning apparatus according to claim 1, wherein the computer program instructions further perform to determine that two processes cannot be partitioned on the basis of determination that there is a data dependency relation between the two processes due to a data type for which standard setting for serialization and deserialization is not made according to the rules.

### Claim 7

An application partitioning method performed by an application partitioning apparatus for partitioning an application distributively processed by a plurality of information processing apparatuses into a plurality of logics, comprising: acquiring source code of the application; identifying a plurality of functions defined in the source code and partitioning the source code into the plurality of functions; determining whether each of the partitioned functions can be further partitioned according to rules set in advance; and when it is determined that each of the partitioned functions can be partitioned, partitioning the functions into a plurality of functions including one or a plurality of rows.

### Claim 8

(canceled)

### Claim 9

A non-transitory computer readable medium including instructions executable by one or more processor to:
acquiring source code of the application, where the application is distributively processed by a plurality of information processing apparatuses into a plurality of logics;
identifying a plurality of functions defined in the source code and partitioning the source code into the plurality of functions;
determining whether each of the partitioned functions can be further partitioned according to rules set in advance; and
when it is determined that each of the partitioned functions can be partitioned, partitioning the functions into a plurality of functions including one or a plurality of rows.
