IP Library Granted Patent US 11,599,388
Granted Patent B2
US 11,599,388 · App. 17/316,209 · Granted Mar 7, 2023

Processing program to rearrange order of task in stream processing

Inventors: Kota Itakura (Kawasaki, JP); Miwa Okabayashi (Sagamihara, JP)
Assignee: FUJITSU LIMITED
G06F9/4887G06F9/3851G06F9/5038G06F9/52
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,599,388
App. No.
17/316,209
Granted
Mar 7, 2023
Kind
B2
Abstract

An information processing method for determining a pattern that indicates an arrangement order of the plurality of tasks from upstream to downstream of a stream is performed by a computer. The method includes acquiring a plurality of patterns to be candidates of an arrangement order of the plurality of tasks from upstream to downstream of the stream in a case of executing the plurality of tasks using a stream processing format; specifying, for each pattern of the plurality of acquired patterns, an amount of data to be reintroduced from one task of the plurality of tasks to another task located upstream side of the stream with respect to the one task; and determining the pattern from among the plurality of patterns based on the specified amount of data to be reintroduced for the each pattern.

Claims (29)

1. A method comprising:

by a processor coupled to a memory,

acquiring, from the memory, a plurality of patterns of a plurality of tasks to be candidates of an arrangement order of the plurality of tasks from upstream to downstream of a first stream in a case of executing the plurality of tasks using a stream processing format;

specifying, from the memory storing task information, for a pattern of the plurality of acquired patterns, an amount of data to be reintroduced to the first stream, through a second stream outside of the first stream, from one task of the plurality of tasks to another task of the plurality of tasks located upstream side of the first stream with respect to the one task; and

determining a first pattern, from among the plurality of acquired patterns, that indicates a rearranged order of a plurality of tasks from upstream to downstream of the first stream, based on the specified amount of data to be reintroduced for the first pattern through the second stream.

2. The information processing method according to claim 1 , the method further comprising:

causing a stream processing platform to execute the plurality of tasks, using the stream processing format, in a state of arranging the plurality of tasks from upstream to downstream of the stream according to the determined pattern.

3. The information processing method according to claim 1 , the method further comprising:

specifying, for a pattern of the plurality of acquired patterns, an amount of data to be transmitted from one task of the plurality of tasks to another task located downstream side of the stream with respect to the one task,

wherein the determining includes determining a second pattern that indicates a rearranged order of a plurality of tasks based on the specified amount of data to be reintroduced and the specified amount of data to be transmitted for the second pattern through the second stream.

4. The information processing method according to claim 3 , wherein the determining further includes

determining the second pattern that indicates the rearranged order of the plurality of tasks based on a coefficient that represents a magnitude of a cost in transmitting data to a task among the tasks in the first stream.

5. The information processing method according to claim 1 , wherein the determining further includes determining the first pattern that indicates the rearranged order of the plurality of tasks based on a coefficient that represents a magnitude of a cost in reintroducing data to a task among the tasks in the first stream.

6. The information processing method according to claim 1 , wherein the acquiring includes

selecting one task from the plurality of tasks, and acquiring a plurality of patterns to be candidates of the rearranged order of the plurality of tasks from upstream to downstream of the stream in a case of executing the plurality of tasks using the stream processing format, the plurality of patterns each of which has a different position of the one task.

7. The information processing method according to claim 6 , wherein the acquiring includes

selecting the one task that is other than a task selected in one period of past periods from the plurality of tasks.

8. The information processing method according to claim 7 , wherein the one period is a period from a time point selected a predetermined number of times before a present time point among a plurality of time points when selecting a task included in the plurality of tasks in the past to the present time point.

9. The information processing method according to claim 6 , wherein the acquiring includes

selecting the one task from the plurality of tasks in which at least either an amount of data to be transmitted to another task or an amount of data to be received from another task satisfies a predetermined condition.

10. The information processing method according to claim 6 , wherein the acquiring includes

selecting one task from the plurality of tasks in which at least either an amount of data to be reintroduced to another task or an amount of data to be reintroduced from another task satisfies a predetermined condition.

11. The information processing method according to claim 1 , wherein the determining includes,

in a case where the specified amount of data to be reintroduced from at least one task of the plurality of tasks to another task satisfies a condition, determining the first pattern that indicates the rearranged order of the plurality of tasks based on the specified amount of data that satisfies the condition, to be reintroduced for the first pattern.

12. The information processing method according to claim 1 , wherein the pattern is a pattern of arranging the plurality of tasks on a plurality of stages from upstream to downstream of the stream.

13. A non-transitory computer-readable storage medium having stored an information processing program causing a computer to perform a process comprising:

acquiring, from a memory, a plurality of patterns of a plurality of tasks to be candidates of an arrangement order of the plurality of tasks from upstream to downstream of a first stream in a case of executing the plurality of tasks using a stream processing format;

specifying, from the memory storing task information, for a pattern of the plurality of acquired patterns, an amount of data to be reintroduced to the first stream, through a second stream outside of the first stream, from one task of the plurality of tasks to another task of the plurality of tasks located upstream side of the first stream with respect to the one task; and

determining, from among the plurality of acquired patterns, a pattern that indicates a rearranged order of a plurality of tasks from upstream to downstream of the first stream, based on the specified amount of data to be reintroduced for the pattern through the second stream.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 11, 2021
From: ITAKURA, KOTA; OKABAYASHI, MIWA
To: FUJITSU LIMITED
Reel/Frame 056204/0089 →
Priority Claims (1)
JP JP2020-123129 · Jul 17, 2020 · national
Continuity (1)
Related Publication 20220019466A1 · Jan 20, 2022