Data processing device, data processing method, and program

The data processing device addresses intermediate data format issues by dividing pipelines and adding automated storage or conversion processes, enhancing inter-cluster data handling efficiency.

WO2026244681A1PCT designated stage Publication Date: 2026-11-26NT T INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2025/018252
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing technologies face challenges in handling intermediate data format differences between clusters during inter-cluster data processing, leading to inefficiencies and manual time-consuming solutions.

Method used

A data processing device and method that divides pipelines into first and second pipelines, adding processes for intermediate data storage or format conversion based on format requirements, and utilizes a division and processing unit to manage data across multiple clusters.

Benefits of technology

Enhances the handling of intermediate data across clusters by automating format conversion and storage decisions, improving efficiency and reducing manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2025018252_26112026_PF_FP_ABST
    Figure JP2025018252_26112026_PF_FP_ABST
Patent Text Reader

Abstract

This data processing device is provided with a division unit for, in order to distribute a pipeline defined with data processing across a plurality of clusters, dividing the pipeline into a first pipeline for outputting intermediate data and a second pipeline for processing the intermediate data, and a processing unit for adding, in accordance with whether or not the format of the intermediate data requires conversion processing, intermediate data saving processing to one of the first pipeline and the second pipeline.
Need to check novelty before this filing date? Find Prior Art

Description

Data processing device, data processing method, program

[0001] This disclosure relates to a data processing device, a data processing method, and a program.

[0002] Computer clusters (hereinafter simply referred to as clusters) consisting of multiple computers are well known. Clusters can process data at high speed by having multiple computers perform parallel processing.

[0003] A cluster is generally composed of multiple computers that are physically close to each other. Clusters can also be organized by organization. Therefore, there are situations where data processing between clusters is necessary, such as when data resides in other clusters that are physically far apart, or when data is exchanged between organizations. The technology described in Non-Patent Document 1 enables inter-cluster data processing by dividing a pipeline with defined data processing content and deploying these divided pipelines to each cluster.

[0004] Yuan Luo, Zhenhua Guo, Yiming Sun, Beth Plale, Judy Qiu, Wilfred W. Li, “A hierarchical framework for cross-domain MapReduce execution”, 08 June 2011, Internet<URL: https: / / dl.acm.org / doi / 10.1145 / 1996023.<1996026> <000000>

[0005] Incidentally, when data processing spans multiple clusters, intermediate data is output from the preceding cluster, and this intermediate data is processed by the subsequent cluster. The technology described in Non-Patent Document 1 assumes that the format of the intermediate data is common across clusters, so the intermediate data can be handled in any cluster.

[0006] However, there was a risk of problems handling intermediate data if the format of the intermediate data differed between clusters. Furthermore, while manually defining how to handle intermediate data was an option, it presented a time-consuming problem.

[0007] This disclosure is made in light of these circumstances and aims to provide a data processing device, a data processing method, and a program that can improve the handling of intermediate data that occurs when moving between clusters.

[0008] One aspect of the present disclosure is a data processing device comprising: a division unit that divides a pipeline into a first pipeline that outputs intermediate data and a second pipeline that processes the intermediate data, in order to arrange a pipeline in which data processing is defined into a plurality of clusters; and a processing unit that adds a process for saving the intermediate data to either the first pipeline or the second pipeline, depending on whether or not a format conversion process for the intermediate data is required.

[0009] One aspect of the present disclosure is a data processing method performed by a data processing device, wherein, in order to arrange a pipeline in which data processing is defined into a plurality of clusters, the pipeline is divided into a first pipeline that outputs intermediate data and a second pipeline that processes the intermediate data, and a process for saving the intermediate data is added to either the first pipeline or the second pipeline depending on whether a format conversion process for the intermediate data is required.

[0010] One aspect of this disclosure is a program for causing a computer to function as a division unit that divides a pipeline into a first pipeline that outputs intermediate data and a second pipeline that processes the intermediate data, in order to arrange a pipeline in which data processing is defined into multiple clusters, and a processing unit that adds a process for saving the intermediate data to either the first pipeline or the second pipeline, depending on whether a format conversion process for the intermediate data is required.

[0011] According to this disclosure, it is possible to improve the handling of intermediate data that occurs when moving between clusters.

[0012] Figure 1 shows intermediate data generated when crossing clusters. Figure 2 shows the functional blocks of the data processing device of the first embodiment. Figure 3 shows an example of adding various processes to the pipeline. Figure 4 shows an example of reusing intermediate data. Figure 5 shows the functional blocks of the data processing device of the second embodiment. Figure 6 shows a translation of the pipeline definition format. Figure 7 shows an example of the hardware configuration.

[0013] The embodiments of this disclosure will be described below with reference to the drawings.

[0014] (1) Outline configuration of the data processing device The data processing device divides the pipeline, which defines the data processing, and places it in each cluster in order to perform data processing across multiple clusters. A cluster can achieve high-speed data processing by having the multiple computers that make up the cluster perform parallel processing. When dividing and arranging the pipeline, the number of computers or processing performance of the multiple computers that make up each cluster may be taken into consideration.

[0015] Now, referring to Figure 1, let's consider the case where a data processing pipeline P is divided into two pipelines: the first pipelines P1 and P2, which define the preceding data processing, and the second pipeline P3, which defines the subsequent data processing. The numbers included in the first pipelines P1 and P2 and the second pipeline P3 represent various processes such as map, filter, zip, and reduce. Note that the data processing in the first pipelines P1 and P2 is assumed to be parallel processing. For example, the numbers 1 and 3 represent map processing, and the numbers 2 and 4 represent filter processing.

[0016] As shown in Figure 1, when the first pipeline P1 is located in cluster C1, the first pipeline P2 in cluster C2, and the second pipeline P3 in cluster C3, the results of data processing in clusters C1 and C2, where the first pipelines P1 and P2 are located, are output as intermediate data. This intermediate data is then processed in cluster C3, where the second pipeline P3 is located. Thus, intermediate data is generated in data processing that spans multiple clusters. This intermediate data is stored in the storage of each cluster C1, C2, and C3, and can also be read from this storage (see Figure 2).

[0017] The data processing device of this embodiment places a pipeline with defined data processing steps in each cluster, thereby allowing each cluster to perform the necessary intermediate data processing when data processing spans multiple clusters. Specifically, this includes selecting storage for intermediate data and converting the format of the intermediate data. The data processing devices of each embodiment will be described in detail below.

[0018] (2) Detailed configuration of the data processing device (2.1) As shown in Figure 2 of the first embodiment, the data processing device 100 of the first embodiment comprises a control unit 110 and a collection unit 120. The control unit 110 also comprises a division unit 111 and a processing unit 112.

[0019] The control unit 110 performs the following actions in accordance with the pipeline definition PD and algorithm AL specified by the user (not shown): dividing the pipeline in which data processing is defined, adding various processes to the divided pipeline, and deploying the divided pipeline to multiple clusters. The pipeline definition PD indicates the pipeline in which the content and order of data processing are defined. The algorithm AL defines the procedures and rules for performing the above-mentioned division, addition, and deployment. The procedures and rules defined by algorithm AL may take into account the number and performance of the computers constituting each cluster in which the divided pipeline is deployed.

[0020] The splitting unit 111 divides the data processing pipeline, which is defined according to the pipeline definition PD and algorithm AL, into multiple pipelines. The splitting unit 111 also arranges the divided pipelines into multiple clusters according to algorithm AL. Furthermore, the splitting unit 111 can re-split the pipeline before splitting according to the metrics data collected by the collection unit 120, which will be described later. In this case, the splitting unit 111 rearranges the pipelines that have been re-split into multiple clusters according to algorithm AL.

[0021] The processing unit 112 adds various processes to the divided pipelines in accordance with algorithm AL. The various processes added to the pipelines include, for example, intermediate data storage, reading, and intermediate data format conversion. The processing unit 112 may also determine the method for transferring intermediate data between clusters in accordance with algorithm AL. Furthermore, the processing unit 112 may add a reading process for the intermediate data to the re-divided pipeline when reusing the intermediate data as described later.

[0022] The collection unit 120 collects metric data from each cluster where the divided pipelines are located. The metric data includes the time required for data processing in each cluster, the volume of intermediate data output or processed in each cluster, etc. The collection of metric data may be performed at predetermined intervals or according to user instructions. As described above, the division unit 111 can perform pipeline re-division and rearrangement according to this metric data. The pipeline re-division and rearrangement may be triggered by a predetermined timer or threshold, etc.

[0023] Referring to Figure 3, we will explain pipeline splitting, the addition of various processes to the split pipelines, and the deployment of the split pipelines to multiple clusters. For the sake of explanation, we will first explain pipeline splitting and deployment, followed by the addition of various processes to the split pipelines.

[0024] As described above, the data processing pipeline is divided according to the pipeline definition PD and algorithm AL. In Figure 3, similar to Figure 1, the data processing pipeline P is divided into the first pipelines P1 and P2, which define the preceding data processing, and the second pipeline P3, which defines the subsequent data processing.

[0025] The divided pipelines are to be placed in multiple clusters according to algorithm AL. In Figure 3, as in Figure 1, the first pipeline P1 is placed in cluster C1, the first pipeline P2 is placed in cluster C2, and the second pipeline P3 is placed in cluster C3.

[0026] This section describes how to add various processes to the divided pipelines. As a prerequisite, it is assumed that the format of the intermediate data that can be handled is the same in cluster C1 where the first pipeline P1 is located and in cluster C3 where the second pipeline P3 is located. Specifically, it is assumed that the format of the intermediate data that can be stored and read by the storage in each cluster C1 and C3 is the same across the storage systems. Furthermore, it is assumed that the format of the intermediate data that can be handled is different in cluster C2 where the first pipeline P2 is located and in cluster C3 where the second pipeline P3 is located. Specifically, it is assumed that the format of the intermediate data that can be stored and read by the storage in each cluster C2 and C3 is different across the storage systems.

[0027] The addition of various processes to the divided pipeline is carried out according to algorithm AL, as described above. Here, algorithm AL defines the following procedures and rules regarding the addition of various processes to the divided pipeline.

[0028] (A) If the format of the intermediate data that can be handled is common to all clusters, the intermediate data is stored in the storage of the cluster that outputs the intermediate data (the preceding cluster). (B) If the format of the intermediate data that can be handled differs between clusters, the intermediate data is converted to a different format and then stored in the storage of the cluster that processes the intermediate data (the subsequent cluster).

[0029] For example, when intermediate data is sent and received between cluster C1 where the first pipeline P1 is located and cluster C3 where the second pipeline P3 is located, the procedure and rules in (A) above are applied. That is, an intermediate data storage process is added to the first pipeline P1, and an intermediate data reading process is added to the second pipeline P3.

[0030] Similarly, when intermediate data is sent and received between cluster C2 where the first pipeline P2 is located and cluster C3 where the second pipeline P3 is located, the procedure and rules in (B) above apply. That is, a format conversion process for the intermediate data is added to the first pipeline P1 (T in the figure), and a storage and reading process for the intermediate data is added to the second pipeline P3.

[0031] Furthermore, algorithm AL may define the method for transferring intermediate data between clusters. For example, if there are multiple methods for transferring intermediate data between clusters C1, C2 and cluster C3, the method for transferring intermediate data may be determined according to algorithm AL.

[0032] Referencing Figure 4, the re-partitioning and rearrangement of the pipeline will be explained. As a prerequisite for the re-partitioning, it is assumed that pipeline P is divided into the first pipeline P1 and P2, and the second pipeline P3, as in Figure 1. Due to space limitations in Figure 4, the clusters in which the divided pipelines are located are not shown.

[0033] In Figure 4, it is assumed that pipeline P is re-divided when a predetermined timer expires. Specifically, pipeline P is re-divided into a first pipeline P2 and a third pipeline P4 which is an integrated first pipeline P1 and second pipeline P3. As mentioned above, although not shown in the figure, it is assumed that the first pipeline P2 is relocated to cluster C2 and the third pipeline P4 is relocated to cluster C3. Note that the re-dividing of pipeline P may be performed based on the previous division result, or it may be performed independently of the previous division result.

[0034] In this embodiment, intermediate data output before subdivision can be reused as intermediate data after subdivision. In Figure 4, the first pipeline P2 is common before and after subdivision. That is, the intermediate data output by the first pipeline P2 is also common. Therefore, this intermediate data can be reused in the third pipeline P4. Specifically, as described above, a reading process for the intermediate data to be reused may be added to the third pipeline P4. If the format of the intermediate data that can be handled differs between cluster C2 where the first pipeline P2 is located and cluster C3 where the third pipeline P4 is located, the intermediate data format conversion process described above may be performed.

[0035] Finally, returning to Figure 1, the flow of the first embodiment will be briefly explained. First, a user (not shown) specifies the pipeline definition PD and algorithm AL to the control unit 110 (step S01). Next, the control unit 110 divides the pipeline in which data processing is defined, adds various processes related to intermediate data to the divided pipelines, and then places them in multiple clusters (step S02).

[0036] Each cluster performs data processing according to the pipeline it is assigned to. The collection unit 120 collects metric data related to data processing from each cluster (step S03). The control unit 110 may re-partition pipeline P based on the metric data collected by the collection unit 120 (step S04). The re-partition of pipeline P may be triggered by a predetermined timer or threshold, as described above. After step S04, step S02 is executed again.

[0037] (2.2) Second Embodiment As shown in Figure 5, the data processing device 100 of the second embodiment is the data processing device 100 of the first embodiment in which the collection unit 120 is replaced with a translation unit 130. Therefore, the translation unit 130 will be described below, but please refer to the description of the first embodiment for other configurations.

[0038] As shown in Figure 6, the translation unit 130 may translate the definition formats of pipelines P1, P2, and P3 divided by the division unit 111 according to the software running in each cluster C1, C2, and C3. The software may be for distributed processing, for example, Apache Spark or Apache Flink. The definition format may correspond to this software. The definition format may be expressed in source code such as Java, Python, or Scala, but in translation between clusters C1, C2, and C3, it may be expressed in bytecode based on these source codes. The pipeline definition format shall be as shown in the pipeline definition PD described above.

[0039] Returning to Figure 5, the flow of the second embodiment will be briefly explained. First, a user (not shown) specifies the pipeline definition PD and algorithm AL to the control unit 110 (step S11). Next, the control unit 110 divides the pipeline in which data processing is defined, adds various processing related to intermediate data, and then outputs the divided pipeline to the translation unit 130 (step S12).

[0040] The translation unit 130 translates the definition format of the divided pipelines according to the software running in the cluster where the divided pipelines are located, and outputs it to the control unit 110 (step S13). The control unit 110 places the pipelines with translated definition formats into multiple clusters (step S14). This makes it possible to place pipelines regardless of the type of software running in each cluster.

[0041] (3) The data processing device 100 of the effective embodiment includes a division unit 111 that divides the pipeline P into first pipelines P1 and P2 that output intermediate data and a second pipeline P3 that processes intermediate data, in order to arrange the pipeline P in which data processing is defined in a plurality of clusters C1, C2 and C3, and a processing unit 112 that adds intermediate data storage processing to one of the first pipelines P1 and P2 or the second pipeline P3, depending on whether or not intermediate data format conversion processing is required. This eliminates the need to manually define how to handle intermediate data (for example, determining where to store intermediate data) in data processing that spans clusters.

[0042] Specifically, if the processing unit 112 does not require format conversion of the intermediate data, it can add intermediate data storage processing to the first pipelines P1 and P2.

[0043] On the other hand, if the processing unit 112 requires a format conversion process for the intermediate data, it can add a format conversion process to the first pipelines P1 and P2. Furthermore, if the processing unit 112 requires a format conversion process for the intermediate data, it can add a process to save the formatted intermediate data to the second pipeline P3. This makes it possible to handle cases where the format of the intermediate data that can be handled differs between clusters.

[0044] In addition, the processing unit 112 may determine a method for transferring intermediate data among the clusters C1, C2, and C3 in accordance with the algorithm AL. The transfer method is based on the application programming interface (API) of the storage in which the intermediate data of each cluster C1, C2, and C3 is stored. For example, when the API uses HTTPS, IPv4 or IPv6 can be used as the transfer method. In this way, even when there are multiple available transfer methods (e.g., IPv4, IPv6), an optimal transfer method can be selected.

[0045] In addition, the data processing device 100 includes a collection unit 120 that collects metric data in the clusters C1, C2, and C3, and the dividing unit 111 can re-divide the pipeline P based on the metric data. This enables flexible pipeline division that matches the processing capabilities of each cluster C1, C2, and C3. Furthermore, the dividing unit 111 can reuse the intermediate data from before the division by adding, to the third pipeline P4 after re-division, a process for reading the intermediate data output from the first pipeline P2 before the division.

[0046] In addition, the data processing device 100 may include a translation unit 130 that translates the definition formats of the first pipelines P1 and P2 and the second pipeline P3 in accordance with the software operating on the clusters C1, C2, and C3. This enables pipeline placement regardless of the type of software operating on each cluster C1, C2, and C3.

[0047] The data processing apparatus 100 described above may be, for example, a general-purpose computer system as shown in FIG. The illustrated computer system includes a processor (CPU: Central Processing Unit) 901, a memory 902, a storage (HDD: Hard Disk Drive, SSD: Solid State Drive) 903, a communication device 904, an input device 905, and an output device 906. The memory 902 and the storage 903 are storage devices. In this computer system, the processor 901 executes a predetermined program loaded onto the memory 902, thereby implementing each function of the data processing apparatus 100.

[0048] Furthermore, the data processing apparatus 100 may be implemented by a single computer or by multiple computers. Furthermore, the data processing apparatus 100 may be a virtual machine implemented on a computer. The program for the data processing apparatus 100 may be stored in a computer-readable recording medium such as an HDD, an SSD, a USB (Universal Serial Bus) memory, a CD (Compact Disc), or a DVD (Digital Versatile Disc), or may be distributed via a network. The computer-readable recording medium is, for example, a non-transitory recording medium.

[0049] The functionality of each element of this disclosure may be implemented using circuits or processing circuits that include general-purpose processors, special-purpose processors, integrated circuits, ASICs (Application Specific Integrated Circuits), FPGAs (Field Programmable Gate Arrays), general circuits, and / or combinations thereof, which are programmed using one or more program codes stored in one or more memories, or otherwise configured to perform the disclosed functionality. A processor is considered a circuit or processing circuit because it includes transistors and other circuits. A processor may be a programmed processor that executes a program stored in memory. In this disclosure, a circuit, unit, or means is hardware that performs the enumerated functionality, or hardware programmed to perform the enumerated functionality. Hardware may be any hardware of this disclosure that is programmed or configured to perform the enumerated functionality.

[0050] Memory stores computer programs, including computer instructions. These computer instructions provide logic and routines that enable hardware (e.g., circuits or processing circuits) to perform the methods of this disclosure. This computer program can be implemented in common forms, such as computer-readable storage media, computer program products, memory devices, recording media such as CD-ROMs and DVDs, and / or memory of FPGAs or ASICs.

[0051] This disclosure is not limited to the embodiments described above, and numerous modifications are possible within the scope of its essence.

[0052] 100 Data processing unit 110 Control unit 111 Splitting unit 112 Processing unit 120 Collection unit 130 Translation unit C1, C2, C3 Cluster P, P1, P2, P3, P4 Pipeline AL Algorithm PD Pipeline definition

Claims

1. A data processing device comprising: a division unit that divides a pipeline into a first pipeline that outputs intermediate data and a second pipeline that processes the intermediate data, in order to arrange a pipeline with defined data processing in multiple clusters; and a processing unit that adds a process for saving the intermediate data to either the first pipeline or the second pipeline, depending on whether a format conversion process for the intermediate data is required.

2. The data processing apparatus according to claim 1, wherein the processing unit adds the intermediate data storage process to the first pipeline when the conversion process is not required.

3. The data processing apparatus according to claim 1, wherein the processing unit adds the format conversion process to the first pipeline when the conversion process is necessary.

4. The data processing apparatus according to claim 3, wherein the processing unit adds a process for saving the intermediate data whose format has been converted to the second pipeline when the conversion process is necessary.

5. The data processing device according to claim 1, comprising a collection unit for collecting metric data in the cluster, wherein the division unit re-divides the pipeline based on the metric data.

6. The data processing device according to claim 1, further comprising a translation unit that translates the definition formats of the first pipeline and the second pipeline according to the software operating on the cluster.

7. A data processing method performed by a data processing device, comprising: dividing a pipeline in which data processing is defined into a first pipeline that outputs intermediate data and a second pipeline that processes the intermediate data, in order to arrange the pipeline in which data processing is defined into multiple clusters; and adding a process for saving the intermediate data to either the first pipeline or the second pipeline, depending on whether a format conversion process for the intermediate data is required.

8. A program for causing a computer to function as a division unit that divides a pipeline into a first pipeline that outputs intermediate data and a second pipeline that processes the intermediate data, in order to arrange a pipeline with defined data processing in multiple clusters, and a processing unit that adds a process for saving the intermediate data to either the first pipeline or the second pipeline, depending on whether a format conversion process for the intermediate data is required.