Data processing program, information processing system and data processing method

By pausing and resuming tasks in stream processing systems based on access requirements, the system maintains processing speed for data that does not need external access, addressing the slowdown caused by waiting for access results.

JP7564449B2Active Publication Date: 2024-10-09FUJITSU LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2021055737
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-29
Publication Date
2024-10-09
Estimated Expiration
2041-03-29

AI Technical Summary

Technical Problem

Stream processing systems experience decreased processing speed due to waiting for access results from other information processing systems, even when tasks do not require such access.

Method used

The system starts executing a first task on received data, pauses it when access to another system is required, continues execution on subsequent data without waiting for access results, and resumes the task on the initial data once the access result is received.

Benefits of technology

This approach suppresses processing delays by allowing tasks to proceed without waiting for access results, maintaining speed for data that does not require external system interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007564449000001
    Figure 0007564449000001
  • Figure 0007564449000002
    Figure 0007564449000002
  • Figure 0007564449000003
    Figure 0007564449000003
Patent Text Reader

Abstract

To provide a data processing program, an information processing system, and a data processing method which can suppress lowering of processing speed for a task of data unnecessary to access to another information processing system.SOLUTION: If first processing requiring access to another information processing system upon execution of a first task to first data is executed, execution of the first task to the first data is stopped, and access to the other information processing system accompanied by the first processing is executed. If the first processing is not executed accompanying the execution of the first task to a second data, the execution of the first task to the second data is continued. If an access result corresponding to access from the other information processing system is received, the first task to the first data is executed again after completion of the execution of the first task to the second data.SELECTED DRAWING: Figure 11
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a data processing program, an information processing system, and a data processing method. [Background technology]

[0002] In recent years, stream processing systems have been used that execute a number of tasks (task programs) in a chain for IoT (Internet of Things) data received from a number of sensors and output the data.

[0003] In such a stream processing system, as necessary, access (hereinafter also referred to as external access) to other information processing systems (hereinafter also referred to as external systems) is performed to obtain processing results in the other information processing systems. Then, in the stream processing system, for example, by using the obtained processing results, a task is executed on the data (for example, see Patent Document 1). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2018-133105 A Summary of the Invention [Problem to be solved by the invention]

[0005] Here, for example, when access is made to another information processing system in response to the execution of a task on certain data, the stream processing system will not execute a task on subsequent data until the execution of processing using the processing results in the other information processing system is completed.

[0006] Therefore, in a stream processing system, the processing speed may decrease not only when executing tasks on data that requires access to other information processing systems, but also when executing tasks on data that does not require access to other information processing systems.

[0007] Therefore, in one aspect, the present invention aims to provide a data processing program, an information processing system, and a data processing method that make it possible to suppress a decrease in the processing speed of tasks for data that does not access other information processing systems. [Means for solving the problem]

[0008] In one aspect of the embodiment, a computer is caused to execute a process in which, in response to receiving first data including information related to an event, execution of a first task on the received first data is started, and if a first process requiring access to another information processing system is executed in conjunction with the execution of the first task on the first data, execution of the first task on the first data is stopped and the other information processing system is accessed in conjunction with the first process, and, in response to receiving second data including information related to an event, execution of the first task on the received second data is started, and if the first process is not executed in conjunction with the execution of the first task on the second data, execution of the first task on the second data is continued, and if an access result corresponding to the access is received from the other information processing system, the first task on the first data is re-executed after completion of execution of the first task on the second data. Effect of the Invention

[0009] According to one aspect, it is possible to suppress a decrease in the processing speed of a task for data that does not access another information processing system. [Brief description of the drawings]

[0010] [Figure 1]FIG. 1 is a diagram illustrating the configuration of an information processing system 10. As shown in FIG. [Diagram 2] FIG. 2 is a diagram illustrating the distributed checkpoint method. [Diagram 3] FIG. 3 is a diagram illustrating the distributed checkpoint method. [Figure 4] FIG. 4 is a diagram illustrating the distributed checkpoint method. [Diagram 5] FIG. 5 is a diagram illustrating the distributed checkpoint method. [Figure 6] FIG. 6 is a diagram illustrating the distributed checkpoint method. [Figure 7] FIG. 7 is a diagram illustrating the distributed checkpoint method. [Figure 8] FIG. 8 is a diagram illustrating the hardware configuration of the information processing device 1. As shown in FIG. [Figure 9] FIG. 9 is a functional block diagram of the information processing device 1. [Figure 10] FIG. 10 is a flowchart outlining stream data processing in the first embodiment. [Figure 11] FIG. 11 is a diagram illustrating an overview of stream data processing in the first embodiment. [Figure 12] FIG. 12 is a flowchart illustrating details of stream data processing in the first embodiment. [Figure 13] FIG. 13 is a flowchart illustrating details of stream data processing in the first embodiment. [Figure 14] FIG. 14 is a flowchart illustrating details of stream data processing in the first embodiment. [Figure 15] FIG. 15 is a flowchart illustrating details of stream data processing in the first embodiment. [Figure 16] FIG. 16 is a flowchart illustrating details of stream data processing in the first embodiment. [Figure 17]FIG. 17 is a flowchart illustrating details of stream data processing in the first embodiment. [Figure 18] FIG. 18 is a flowchart illustrating details of stream data processing in the first embodiment. [Figure 19] FIG. 19 is a diagram illustrating a specific example of the preceding data management information 134. As shown in FIG. [Figure 20] FIG. 20 is a diagram illustrating a specific example of the task management information 131. As shown in FIG. [Figure 21] FIG. 21 is a diagram for explaining a specific example of the inter-task data DT11. [Figure 22] FIG. 22 is a diagram illustrating a specific example of the standby data management information 133. As shown in FIG. [Diagram 23] FIG. 23 is a diagram for explaining a specific example of the response data DT14. [Figure 24] FIG. 24 is a diagram illustrating a specific example of the request management information 132. As shown in FIG. [Diagram 25] FIG. 25 is a diagram illustrating a specific example of the request management information 132. As shown in FIG. [Figure 26] FIG. 26 is a diagram for explaining a specific example of the task completion data DT12. [Figure 27] FIG. 27 is a diagram for explaining a specific example of the request data DT13. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] [Configuration of the information processing system in the first embodiment] First, a description will be given of the configuration of the information processing system 10. FIG 1 is a diagram for explaining the configuration of the information processing system 10.

[0012] The information processing system 10 includes, for example, storage devices 2a and 2b that store sensor data DT transmitted from multiple sensors (not shown), and an information processing device 1 that is one or more physical machines that executes tasks for each piece of sensor data DT stored in the storage devices 2a and 2b. The sensor data DT is, for example, data related to events such as temperature changes in a factory or traffic congestion on a road. Hereinafter, the storage devices 2a and 2b are collectively referred to simply as storage devices 2.

[0013] Specifically, the information processing device 1 performs a process (hereinafter also referred to as stream processing) of sequentially executing a task T1, a task T2, and a task T3 on each piece of sensor data DT, for example, as shown in FIG.

[0014] More specifically, the information processing device 1 executes task T1 on the sensor data DT stored in the storage device 2a, and executes task T2 on the sensor data DT stored in the storage device 2b, as shown in Fig. 1. Then, the information processing device 1 executes task T3 on the sensor data DT (the execution result of task T1) on which task T1 has been executed, and the sensor data DT (the execution result of task T2) on which task T2 has been executed. After that, the information processing device 1 outputs the sensor data DT (the execution result of task T3) on which task T3 has been executed, for example, to a pre-designated operation terminal (not shown) or the like.

[0015] Note that the stream processing including task T1, task T2, and task T3 may be performed in parallel, for example, in a plurality of information processing devices 1. That is, in a plurality of information processing devices 1, for example, distributed stream processing may be performed in which task T1, task T2, and task T3 are executed in parallel for each piece of sensor data DT. Also, each of task T1, task T2, and task T3 may be shared and executed, for example, by a plurality of information processing devices 1.

[0016] Furthermore, as shown in FIG. 1, the information processing device 1 has, for example, a storage device T1a that stores internal states such as the execution results of task T1 (hereinafter also referred to as the internal state of task T1), a storage device T2a that stores internal states such as the execution results of task T2 (hereinafter also referred to as the internal state of task T2), and a storage device T3a that stores internal states such as the execution results of task T3 (hereinafter also referred to as the internal state of task T3).

[0017] Here, the information processing system 10 periodically saves the internal state of each task, for example, for the purpose of ensuring fault tolerance. Specifically, the information processing system 10 saves the internal state of each task, for example, by following a distributed checkpoint method that saves the internal state of each task for each task. Then, when a fault such as a network disconnection occurs, the information processing system 10 uses the saved internal state to restore the state before the fault occurred, and executes each task again from the restored state. The distributed checkpoint method will be described below.

[0018] [Distributed Checkpoints] 2 to 7 are diagrams for explaining the distributed checkpoint method.

[0019] In the information processing device 1, in order to notify each task of the timing for saving its internal state, a barrier marker (hereinafter also referred to as a specific type of data) is transmitted and received between tasks. Specifically, each task saves its own internal state in response to receiving a barrier marker.

[0020] More specifically, the information processing device 1 periodically transmits and receives a barrier marker BM1 and a barrier marker BM2 together with the sensor data DT, for example, as shown in Fig. 2. The barrier marker BM1 is a barrier marker transmitted to a task T3 via a task T1, and the barrier marker BM2 is a barrier marker transmitted to a task T3 via a task T2.

[0021] Then, for example, as shown in FIG. 3, when the barrier marker BM2 reaches the task T2, the task T2 saves in the memory device T0 the internal state that was stored in the memory device T2a at the time of receiving the barrier marker BM2.

[0022] Subsequently, for example, as shown in FIG. 4, when the barrier marker BM2 reaches the task T3, the task T3 waits until the barrier marker BM1 reaches it.

[0023] That is, task T3 is a task executed for sensor data DT (the execution result of task T1) obtained by executing task T1 and sensor data DT (the execution result of task T2) obtained by executing task T2. Therefore, task T3 waits until barrier markers arrive from all of the transmission sources of sensor data DT for task T3 (task T1 and task T2).

[0024] After that, for example, when the barrier marker BM1 reaches the task T1, the task T1 saves in the memory device T0 the internal state that was stored in the memory device T1a at the time of receiving the barrier marker BM1.

[0025] Then, for example, as shown in FIG. 5, when the barrier marker BM1 reaches the task T3, the task T3 determines that barrier markers have arrived from all sources of the sensor data DT for the task T3, and saves the internal state stored in the memory device T3a at the time of receiving the barrier marker BM1 in the memory device T0, as shown in FIG. 6.

[0026] This allows each task to align the sensor data DT that is processed before the internal state is saved. Therefore, in the information processing device 1, even if a past state (a state before a failure occurs) is restored using the internal state of each task, it is possible to prevent the occurrence of a task that executes the same sensor data DT again before and after the restoration, and it is possible to prevent the occurrence of inconsistencies before and after the restoration.

[0027] 7, when an access to an external system (not shown) occurs in association with the execution of task T1 on sensor data DTa before barrier marker BM1, task T1 must wait until it receives an access result (processing result) in the external system. Therefore, task T1 cannot process data subsequent to sensor data DTa until it receives the access result from the external system and completes processing using the received access result.

[0028] Therefore, for example, when it takes time to access an external system, the waiting time of the barrier marker BM1 becomes long in the task T3. Therefore, in this case, in the task T3, not only the processing speed of the sensor data DT that requires access to an external system (for example, the sensor data DTa) but also the processing speed of the sensor data DT that does not require access to an external system (for example, the sensor data DTb after the barrier marker BM2) decreases.

[0029] Therefore, in response to receiving sensor data DT (hereinafter also referred to as first sensor data DT or first data DT) including information on an event, the information processing device 1 in this embodiment starts execution of a task (hereinafter also referred to as a first task) for the received first sensor data DT. Then, for example, when a process (hereinafter also referred to as a first process) that requires access to an external system is executed in association with the execution of the first task for the first sensor data DT, the information processing device 1 stops execution of the first task for the first sensor data DT and accesses the external system associated with the first process.

[0030] Next, in response to receiving sensor data DT including information related to an event (hereinafter also referred to as second sensor data DT or second data DT), the information processing device 1 starts executing a first task for the received second sensor data DT. Then, for example, when the first process is not executed in conjunction with the execution of the first task for the second sensor data DT, the information processing device 1 continues executing the first task for the second sensor data DT.

[0031] Thereafter, when the information processing device 1 receives an access result from the external system, for example, after completing the execution of the first task on the second sensor data DT, the information processing device 1 re-executes the first task on the first sensor data DT.

[0032] That is, for example, when an access to an external system occurs in association with the execution of the first task for the first sensor data DT, the information processing device 1 stops the execution of the first task for the first sensor data DT and performs the access to the external system that has occurred asynchronously with the execution of the first task for the first sensor data DT. Then, the information processing device 1 sequentially performs the execution of the first task for each sensor data DT (including the second sensor data DT) that has occurred after the first sensor data DT without waiting for the access result to the external system. After that, when the information processing device 1 receives the access result from the external system, it re-executes the first task for the sensor data DT from the beginning by using the received access result.

[0033] This allows the information processing device 1 to suppress, for example, the waiting time of the barrier marker that occurs with access to an external system. Therefore, the information processing device 1 can suppress a decrease in the processing speed of a task for the sensor data DT that does not access an external system.

[0034] Specifically, the information processing device 1 can suppress a decrease in the processing speed of the sensor data DT following the sensor data DT involving access to an external system (for example, the sensor data DTa shown in FIG. 7), for example. Also, by suppressing a decrease in the processing speed of the barrier marker following the sensor data DT involving access to an external system (for example, the barrier marker BM1 shown in FIG. 7), the information processing device 1 can suppress a decrease in the processing speed of the sensor data DT following another barrier marker (for example, the barrier marker BM2 shown in FIG. 7) that waits for that barrier marker (for example, the sensor data DTb shown in FIG. 7).

[0035] In the following, the processing in each task will be described assuming that it does not include randomness. That is, in each task, when the same sensor data DT is received in the same state, the same processing is performed and the same execution result is output.

[0036] [Hardware configuration of information processing system] Next, a description will be given of the hardware configuration of the information processing system 10. FIG 8 is a diagram illustrating the hardware configuration of the information processing device 1.

[0037] 8, the information processing device 1 includes a CPU 101 which is a processor, a memory 102, an I / O interface 103, and a storage medium 104. Each unit is connected to one another via a bus 105.

[0038] The storage medium 104 has, for example, a program storage area (not shown) that stores a program 110 for performing a process (hereinafter also referred to as stream data processing or data processing) that sequentially executes a plurality of tasks on the sensor data DT. The storage medium 104 also has, for example, an information storage area 130 that stores information used when performing the stream data processing. The storage medium 104 may be, for example, a hard disk drive (HDD) or a solid state drive (SSD).

[0039] The CPU 101 executes a program 110 loaded from the storage medium 104 into the memory 102 to process stream data.

[0040] The I / O interface 103 is, for example, an interface device such as a network interface card, and is capable of accessing the external system 20 via a network NW such as the Internet. The external system 20 may be, for example, a database system that manages various data that the information processing device 1 does not store as the internal state of each task.

[0041] [Functions of information processing systems] Next, a description will be given of functions of the information processing system 10. FIG.

[0042] As shown in FIG. 9, the information processing device 1 realizes various functions including a data receiving unit 111, a sequence control unit 112, a task execution unit 113, an access detection unit 114, an external instruction unit 115, an external receiving unit 116, and a data transmission unit 117 by organic cooperation between hardware such as a CPU 101 and a memory 102 and a program 110.

[0043] Furthermore, the information processing device 1 stores, for example, task management information 131, request management information 132, waiting data management information 133, and preceding data management information 134 in the information storage area 130.

[0044] The following description will be given on the assumption that the data receiving unit 111, sequence control unit 112, task execution unit 113, access detection unit 114, external instruction unit 115, external receiving unit 116, and data transmission unit 117 all exist for each task. Note that the information processing device 1 may have a task execution unit 113 and access detection unit 114 for each task, and only one data receiving unit 111, sequence control unit 112, external instruction unit 115, external receiving unit 116, and data transmission unit 117.

[0045] The data receiving unit 111, for example, sequentially acquires the sensor data DT accumulated in the storage device 2. In addition, the data receiving unit 111 receives, for example, the sensor data DT transmitted from a previous task (a previous task operating in the same information processing device 1 or another information processing device 1).

[0046] The sequence control unit 112 controls, for example, the processing sequence of the sensor data DT received by the data receiving unit 111.

[0047] The task execution unit 113 executes, for example, a task for the sensor data DT received by the data receiving unit 111.

[0048] The access detection unit 114 detects, for example, access to the external system 20 that is made in conjunction with the execution of a task by the task execution unit 113.

[0049] For example, when the access detection unit 114 detects the occurrence of access to the external system 20, the external instruction unit 115 accesses the external system 20 instead of the task execution unit 113. In this case, the task execution unit 113 stops execution of the task (the task being executed) for the sensor data DT received by the data receiving unit 111.

[0050] The external receiving unit 116 receives, for example, an access result transmitted by the external system 20 (an access result in response to an access to the external system 20 by the external instruction unit 115). In this case, the task executing unit 113 executes the task for the sensor data DT received by the data receiving unit 111 from the beginning by using the access result received by the external receiving unit 116. That is, the task executing unit 113 re-executes the task for the sensor data DT received by the data receiving unit 111, including the processing that was completed before being stopped.

[0051] The data transmission unit 117 transmits, for example, the sensor data DT (execution result by the task execution unit 113) processed by the task execution unit 113 to a subsequent task (a subsequent task operating in the same information processing device 1 or another information processing device 1). Also, the data transmission unit 117 outputs, for example, the sensor data DT processed by the task execution unit 113 as a final result to a pre-specified operation terminal (not shown).

[0052] The task management information 131, the request management information 132, the waiting data management information 133, and the preceding data management information 134 will be described later.

[0053] [Outline of the first embodiment] Next, an outline of the first embodiment will be described. Fig. 10 is a flow chart for explaining an outline of stream data processing in the first embodiment. Fig. 11 is a diagram for explaining an outline of stream data processing in the first embodiment. Below, the processing performed in one task operating in the information processing device 1 will be described.

[0054] As shown in FIG. 10, the information processing device 1 waits until it receives the first sensor data DT (NO in S11), for example.

[0055] Then, when the first sensor data DT is received (YES in S11), the information processing device 1 starts executing the first task for the first sensor data DT (S12).

[0056] Next, when a first process that requires access to an external system 20 is executed in conjunction with the execution of a first task on the first sensor data DT, the information processing device 1 stops the execution of the first task on the first sensor data DT and accesses the external system 20 in conjunction with the first process (S13).

[0057] Thereafter, the information processing device 1 waits, for example, until it receives the second sensor data DT (NO in S14).

[0058] Then, when the second sensor data DT is received (YES in S14), the information processing device 1 starts executing the first task for the second sensor data DT (S15).

[0059] Next, if the first process that requires access to the external system 20 is not executed in association with the execution of the first task for the second sensor data DT, the information processing device 1 continues the execution of the first task for the second sensor data DT (S16). That is, in this case, unlike the process of S13, the information processing device 1 does not stop the execution of the first task for the second sensor data DT.

[0060] Furthermore, the information processing device 1 waits until it receives an access result for the access to the external system 20 made in the process of S13 (NO in S17).

[0061] Then, when an access result for the access to the external system 20 performed in the processing of S13 is received (YES in S17), the information processing device 1 re-executes the first task for the first sensor data DT after completing execution of the first task for the second sensor data DT (S18).

[0062] This enables the information processing device 1 to suppress, for example, a waiting time for a barrier marker that occurs in association with an access to the external system 20. Therefore, the information processing device 1 can suppress a decrease in the processing speed of a task for the sensor data DT that does not access the external system 20.

[0063] Specifically, for example, when first sensor data DT (hereinafter also referred to as first sensor data DT1) is received, the task execution unit 113 executes the first task for the first sensor data DT1, as shown in the first state from the left in FIG.

[0064] Then, when it is detected that the external system 20 is accessed in association with the execution of the first task, the task execution unit 113 stops the execution of the first task for the first sensor data DT1, as shown in the second state from the left in Fig. 11. In this case, the external instruction unit 115 accesses the external system 20 instead of the task execution unit 113.

[0065] In other words, when access to the external system 20 occurs, the information processing device 1 causes the external instruction unit 115 to access the external system 20 instead of the task execution unit 113 that continuously performs stream processing on each sensor data DT.

[0066] Subsequently, for example, when second sensor data DT (hereinafter also referred to as second sensor data DT2) is received, the task executing unit 113 executes the first task for the second sensor data DT2 as shown in the third state from the left in FIG.

[0067] That is, in this case, the information processing device 1 starts executing the first task for the second sensor data DT2 (the second sensor data DT2 generated after the first sensor data DT1) without waiting for the completion of the execution of the first task for the first sensor data DT1.

[0068] Thereafter, for example, when execution of the first task for the second sensor data DT2 is completed, if an access result for the first sensor data DT1 is received from the external system 20, the task execution unit 113 re-executes the first task for the first sensor data DT1 by using the access result received from the external system 20, as shown in the fourth state from the left in Figure 11.

[0069] This enables the information processing device 1 to suppress the influence of a processing delay caused by an access to the external system 20 on the processing (stream processing) in the task execution unit 113. Therefore, the information processing device 1 can suppress a decrease in the processing speed of the sensor data DT (for example, the second sensor data DT2) that does not access the external system 20.

[0070] In the above example, the case where the next sensor data DT (e.g., the second sensor data DT2) of the first sensor data DT1 arrives before the access result for the first sensor data DT1 has been described, but the present invention is not limited to this. That is, for example, when the access result for the first sensor data DT1 is received before the arrival of the next sensor data DT of the first sensor data DT1, the information processing device 1 may start re-executing the first task for the first sensor data DT1 without waiting for the arrival of the next sensor data DT of the first sensor data DT1.

[0071] [Details of the first embodiment] Next, the details of the first embodiment will be described. Figures 12 to 18 are flow charts for explaining the details of stream data processing in the first embodiment. Figures 19 to 27 are diagrams for explaining the details of stream data processing in the first embodiment. Below, the process performed in one of the tasks operating in the multiple information processing devices 1 will be described.

[0072] As shown in FIG. 12, the data receiving unit 111 waits until data is received (NO in S21).

[0073] Specifically, the data receiving unit 111 waits, for example, until it receives sensor data DT (hereinafter also referred to as inter-task data DT11) transmitted from the previous task. Also, the data receiving unit 111 waits, for example, until it receives data (hereinafter also referred to as task completion data DT12) indicating that the sensor data DT will not be transmitted from the previous task. Furthermore, the data receiving unit 111 waits, for example, until it receives an access result (hereinafter also referred to as response data DT14) transmitted from the external system 20.

[0074] Then, when the data receiving unit 111 receives data (YES in S21), the sequence control unit 112 judges whether or not the data received in the processing of S21 is inter-task data DT11 (S22).

[0075] As a result, when it is determined that the data received in the processing of S21 is inter-task data DT11 (YES in S22), the sequence control unit 112 determines whether or not the inter-task data DT11 received in the processing of S21 is preceding data (S23). Preceding data is inter-task data DT11 in which task execution has been stopped due to an access to the external system 20. In other words, preceding data is inter-task data DT11 in which task execution has been completed later than other inter-task data DT11 that has been generated later due to an access to the external system 20, and is inter-task data DT11 for which a subsequent task is waiting for the arrival of the execution result.

[0076] Specifically, the sequence control unit 112, for example, refers to the preceding data management information 134 stored in the information storage area 130, and determines whether or not information corresponding to the inter-task data DT11 received in the processing of S21 exists. The preceding data management information 134 is information for managing preceding data waiting to arrive from a preceding task in each task. As a result, when it is determined that information corresponding to the inter-task data DT11 received in the processing of S21 exists, the sequence control unit 112 determines that the inter-task data DT11 received in the processing of S21 is preceding data.

[0077] Then, when it is determined that the inter-task data DT11 received in the process of S21 is precedent data (YES in S24), the sequence control unit 112 refers to the precedent data management information 134 stored in the information storage area 130, and deletes the information corresponding to the inter-task data DT11 received in the process of S21 (S25). A specific example of the precedent data management information 134 will be described below.

[0078] [Examples of advanced data management information] FIG. 19 is a diagram illustrating a specific example of the preceding data management information 134. As shown in FIG.

[0079] 19 includes a "task ID" for identifying each task, a "data ID" for identifying each sensor data DT that is the preceding data, and a "timestamp" indicating the time of occurrence of each sensor data DT at the sensor. Note that hereinafter, the names of tasks with "task IDs" of "#1", "#2", "#3", "#4" and "#5" will be referred to as task #1, task #2, task #3, task #4 and task #5.

[0080] Specifically, in the preceding data management information 134 shown in FIG. 19, the information in the first line has "#2" set as the "task ID," "234567" set as the "data ID," and "123456780" set as the "timestamp."

[0081] In addition, in the preceding data management information 134 shown in FIG. 19, the information in the second line has "#3" set as the "task ID," "345678" set as the "data ID," and "123456830" set as the "timestamp."

[0082] That is, the preceding data management information 134 shown in FIG. 19 indicates that task #2 is waiting to receive preceding data with a "data ID" of "234567", and task #3 is waiting to receive preceding data with a "data ID" of "345678".

[0083] Returning to FIG. 12, if it is determined in the process of S21 that the received inter-task data DT11 is not the preceding data (NO in S24), the sequence control unit 112 does not perform the process of S25.

[0084] Then, the sequence control unit 112, for example, refers to the task management information 131 stored in the information storage area 130, and determines whether the task that executes the inter-task data DT11 received in the process of S21 (i.e., the own task) is a task that performs sequence control (S26). A specific example of the task management information 131 will be described below.

[0085] [Examples of task management information] FIG. 20 is a diagram illustrating a specific example of the task management information 131. As shown in FIG.

[0086] The task management information 131 shown in Fig. 20 has a "task name" in which the name of each task is set, a "task ID" for identifying each task, a "source task" in which a source task (previous task) that transmits sensor data DT to each task is set, and a "destination task" in which a destination task (next task) to which each task transmits sensor data DT is set. The task management information 131 shown in Fig. 20 also has "order control" indicating whether or not control of the processing order of the sensor data DT (hereinafter also referred to as order control) is performed in each task, and "processing content" in which the processing content in each task is set. In the "order control", "Yes" indicating that order control of the sensor data DT is performed, or "No" indicating that order control of the sensor data DT is not performed is set.

[0087] Specifically, in the first line of task management information 131 shown in FIG. 20, "Task T11" is set as the "Task Name," "#1" is set as the "Task ID," "- " is set as the "Source Task ID," indicating that no information is set, "#3" is set as the "Destination Task ID," and "Yes" is set as the "Sequence Control."

[0088] In addition, in the second line of task management information 131 shown in FIG. 20, "Task T12" is set as the "Task Name," "#2" is set as the "Task ID," "- " is set as the "Source Task ID," "#3" and "#4" are set as the "Destination Task ID," and "None" is set as the "Sequence Control."

[0089] In addition, in the third line of task management information 131 shown in FIG. 20, "Task T13" is set as the "Task Name," "#3" is set as the "Task ID," "#1" and "#2" are set as the "Source Task ID," "#5" is set as the "Destination Task ID," and "None" is set as the "Sequence Control."

[0090] In addition, in the fourth line of task management information 131 shown in FIG. 20, "Task T14" is set as the "Task Name," "#4" is set as the "Task ID," "#2" is set as the "Source Task ID," "-" is set as the "Destination Task ID," and "Yes" is set as the "Sequence Control."

[0091] Furthermore, in the fifth line of task management information 131 shown in FIG. 20, the "task name" is set to "Task T15", the "task ID" is set to "#5", the "source task ID" is set to "#3", the "destination task ID" is set to "-", and "sequence control" is set to "none".

[0092] That is, the task management information 131 shown in Fig. 20 indicates that the sensor data DT obtained by executing task #1 and the sensor data DT obtained by executing task #2 are transmitted to task #3, and the sensor data DT obtained by executing task #3 is transmitted to task #5. Also, the task management information 131 shown in Fig. 20 indicates that the sensor data DT obtained by executing task #2 is transmitted to task #4.

[0093] 12, when it is determined that the task (i.e., the own task) that processes the inter-task data DT11 received in S21 is a task that performs sequence control (YES in S27), the sequence control unit 112 determines whether information indicating preceding data is added to the data (inter-task data DT11) received in the processing of S21 (S31), as shown in Fig. 13. A specific example of the inter-task data DT11 will be described below.

[0094] [Example of inter-task data] Fig. 21 is a diagram for explaining a specific example of inter-task data DT11 (sensor data DT) In particular, Fig. 21 is a diagram for explaining a specific example of inter-task data DT11 to which information indicating preceding data is added.

[0095] The inter-task data DT11 shown in Fig. 21 includes, for example, a "data ID" for identifying each sensor data DT, a "timestamp" indicating the time of occurrence of each sensor data DT at a sensor (not shown), and a "destination task ID" for identifying a destination task of each sensor data DT. The inter-task data DT11 shown in Fig. 21 also includes, for example, a "preceding data ID" for identifying preceding data of each sensor data DT, and "data (1)" and "data (2)" in which each data included in each sensor data DT is set.

[0096] Specifically, in the inter-task data DT11 shown in FIG. 21, "123456" is set as the "data ID", "123456789" is set as the "time stamp", "#3" is set as the "destination task ID", "234567" is set as the "preceding data ID", "60" is set as the "data (1)", and "120" is set as the "data (2)".

[0097] That is, the inter-task data DT11 shown in FIG. 21 is sensor data DT transmitted from task #2 to task #3, and indicates that it is sensor data DT transmitted prior to the preceding data having a "data ID" of "234567".

[0098] Therefore, for example, when inter-task data DT11 shown in FIG. 21 is received in the processing of S21, the sequence control unit 112 determines that information indicating preceding data (information corresponding to the "preceding data ID") has been added to the inter-task data DT11 received in the processing of S21.

[0099] Returning to FIG. 13, if it is determined that information indicating preceding data has been added to the inter-task data DT11 received in the processing of S21 (YES in S32), the sequence control unit 112 adds the information on the preceding data added to the data received in the processing of S21 to the preceding data management information 134 (S33).

[0100] On the other hand, if it is determined that information indicating preceding data is not added to the inter-task data DT11 received in the processing of S21 (NO in S32), the sequence control unit 112 refers to the preceding data management information 134 stored in the information storage area 130 and determines whether preceding data corresponding to the data received in the processing of S21 exists (S35).

[0101] As a result, when it is determined that there is preceding data corresponding to the data received in the process of S21 (YES in S36), or after the process of S33, the sequence control unit 112 adds information for the inter-task data DT11 received in the process of S21 to the waiting data management information 133 (S34). The waiting data management information 133 is information for managing waiting data in each task. The waiting data is the sensor data DT that each task has arrived at before the preceding data, that is, the sensor data DT that has been completed in the previous task before the preceding data. A specific example of the waiting data management information 133 will be described below.

[0102] [Example of standby data management information] FIG. 22 is a diagram illustrating a specific example of the standby data management information 133. As shown in FIG.

[0103] The standby data management information 133 shown in FIG. 22 includes a “task ID” for identifying each task, a “data ID” for identifying each sensor data DT which is standby data, a “previous data ID” for identifying the previous data corresponding to each standby data, a “timestamp” indicating the time each standby data was generated at the sensor, and “data (1)” and “data (2)” in which each data included in each standby data is set.

[0104] Specifically, in the standby data management information 133 shown in FIG. 22, the information in the first row has "#2" set as the "task ID," "123456" set as the "data ID," "234567" set as the "preceding data ID," "123456789" set as the "timestamp," "60" set as "data (1)," and "120" set as "data (2)."

[0105] In addition, in the standby data management information 133 shown in FIG. 22, the information in the second row has "#3" set as the "task ID," "456789" set as the "data ID," "345678" set as the "preceding data ID," "123456835" set as the "timestamp," "70" set as "data (1)," and "120" set as "data (2)."

[0106] Returning to FIG. 12, if it is determined that the data received in the processing of S21 is not inter-task data DT11 (NO in S22), the sequence control unit 112 determines whether the data received in the processing of S21 is task completion data DT12 (S41), as shown in FIG. 14.

[0107] As a result, if it is determined that the data received in the processing of S21 is not task completion data DT12, that is, if it is determined that the data received in the processing of S21 is response data DT14 (NO in S41), the task execution unit 113 performs task execution processing (S45).

[0108] The task execution unit 113 also performs the process of S45 when it determines that the task that processes the sensor data DT received in S21 (i.e., its own task) is not a task that performs sequence control (NO in S27).The task execution unit 113 also performs the process of S45 when it determines that there is no preceding data corresponding to the data received in the process of S21 (NO in S36).A specific example of the response data DT14 will be described below.

[0109] [Example of response data] FIG. 23 is a diagram for explaining a specific example of the response data DT14.

[0110] 23 includes, for example, a "task ID" for identifying each task, a "data ID" for identifying the sensor data DT for which processing is performed using each response data DT14, and a "timestamp" for identifying the time at which a processing request (hereinafter also referred to as a request) was made to the external system 20 corresponding to each response data DT14. Also, the response data DT14 shown in FIG 23 includes, for example, an "index" for identifying a request corresponding to each response data DT14, and a "response" indicating the content of data included in each response data DT14.

[0111] Specifically, in the response data DT14 shown in FIG. 23, "#2" is set as the "task ID," "234567" is set as the "data ID," "123456783" is set as the "timestamp," "1" is set as the "index," and "aaa..." is set as the "response."

[0112] [Task execution process] Next, the task execution process carried out in the process of S35 will be described below. Figures 16 to 18 are flow charts for explaining the task execution process.

[0113] As shown in FIG. 16, the task execution section 113 determines whether or not the data received in the process of S21 is response data DT14 (S61).

[0114] Then, if the data received in the processing of S21 is response data DT14 (YES in S61), the task execution unit 113 stores information about the data received in the processing of S21 in the information storage area 130 as request management information 132 (S62). The request management information 132 is information for managing requests made to the external system 20. A specific example of the request management information 132 will be described below.

[0115] [Examples of request management information] 24 and 25 are diagrams for explaining specific examples of the request management information 132. FIG.

[0116] 24 and the like includes a "task ID" for identifying each task, a "data ID" for identifying each sensor data DT, a "timestamp" for identifying the time when a request was made to the external system 20 accompanying the execution of each sensor data DT, and "presence or absence of subsequent data transmission" indicating whether or not other sensor data DT with each sensor data DT as preceding data has been transmitted to a subsequent task. "Presence or absence of subsequent data transmission" is set to "presence" indicating that other sensor data DT with each sensor data DT as preceding data has been transmitted to a subsequent task, or "no" indicating that other sensor data DT with each sensor data DT as preceding data has not been transmitted to a subsequent task.

[0117] 23 etc. has an "index" for identifying a request made to the external system 20 for each sensor data DT, a "status" indicating the status of each request, a "request destination" in which the address of the external system 20 to which each request was made is set, and a "response" in which the content of the response to each request is set. The "status" is set to "requesting", which indicates that a response to each request has not yet been received, or to "received", which indicates that a response to each request has been received.

[0118] Specifically, in the request management information 132 shown in Fig. 23, the information in the first line has "#2" set as the "task ID," "234567" set as the "data ID," "123456781" set as the "timestamp," and "none" set as the "subsequent data transmission status." Also, in the request management information 132 shown in Fig. 23, the information in the first line has "1" set as the "index," "received" set as the "status," "http: / / ..." set as the "request destination," and "aaa..." set as the "response."

[0119] 23, the information on the second line includes a "task ID" of "#2," a "data ID" of "234567," a "timestamp" of "123456783," and a "none" setting for "subsequent data transmission status." Also, in the request management information 132 shown in Fig. 23, the information on the second line includes a "index" of "2," a "status" of "requesting," a "request destination" of "http: / / ...," and a "response" of "-."

[0120] 23 indicates that, for example, in conjunction with the execution of the sensor data DT whose "data ID" is "234567", requests were sent to two different external systems 20. Also, the request management information 132 shown in Fig. 23 indicates that a response has been received from the first external system 20, but a response has not yet been received from the second external system 20.

[0121] 23, the information on the third line has "#3" set as the "task ID," "345678" set as the "data ID," "123456832" set as the "timestamp," and "none" set as the "subsequent data transmission status." Also, in the request management information 132 shown in Fig. 23, the information on the third line has "1" set as the "index," "requesting" set as the "status," "http: / / ..." set as the "request destination," and "bbb..." set as the "response."

[0122] Returning to FIG. 16, if the data received in the process of S21 is not the response data DT14 (NO in S61), the task execution unit 113 does not perform the process of S62.

[0123] Then, the task executing section 113 sets an interrupt process that is performed in response to an access to the external system 20 (S63).

[0124] Specifically, the task execution unit 113 sets, for example, an interrupt process that is performed in response to an access to the external system 20, in an OS (Operating System) that runs on the information processing device 1.

[0125] Thereafter, the task execution section 113 executes the task for the data received in the process of S21 (S64).

[0126] Specifically, when the data received in the process of S21 is inter-task data DT11, the task execution unit 113 executes a task for the inter-task data DT11 received in the process of S21. Also, when the data received in the process of S21 is response data DT14, the task execution unit 113 executes a task for the sensor data DT to be processed using the response data DT14 received in the process of S21.

[0127] Then, the access detection unit 114 determines whether or not the interrupt process set in the process of S63 has been performed during the execution of the task in the process of S64 (S65).

[0128] As a result, if it is determined that the interrupt processing set in the processing of S63 was not performed, i.e., if it is determined that no request to the external system 20 was generated during execution of the task in the processing of S64 (NO in S65), the task execution unit 113 stores the sensor data DT for which the task was executed in the processing of S64 in a data transmission queue (not shown) (S66).

[0129] Next, the task execution unit 113 refers to the request management information 132 stored in the information storage area 130, and determines whether or not there is any sensor data DT that is being requested to the external system 20 among the sensor data DT that started execution before the sensor data DT that started task execution in the processing of S64 (S67).

[0130] Specifically, in the request management information 132 described in FIG. 24, the information in the second line has the "task ID" set to "#2," the "data ID" set to "234567," the "timestamp" set to "123456783," and the "status" set to "requesting."

[0131] Therefore, for example, when the self task is task #2, if the execution of sensor data DT (inter-task data DT11) whose "timestamp" is set to a time later than "123456783" is started in the processing of S64, the task execution unit 113 determines that there is sensor data DT whose "data ID" is "234567" as sensor data DT that started execution before the sensor data DT that started task execution in the processing of S64 and is currently accessing the external system 20.

[0132] Then, when the task execution unit 113 determines that there is sensor data DT that is being requested to the external system 20 among the sensor data DT that started execution before the sensor data DT that started task execution in the processing of S64 (YES in S69), the task execution unit 113 refers to the request management information 132 stored in the information storage area 130 as shown in FIG. 17, and updates the information corresponding to the sensor data DT that existed in the processing of S68 to indicate that there is subsequent data (S71).

[0133] Specifically, if it is determined in the processing of S68 that sensor data DT with a "data ID" of "234567" exists, the task execution unit 113 updates the "Subsequent data transmission status" of the information corresponding to the sensor data DT with a "data ID" of "234567" (information in the first and second lines) to "Yes", as shown in the underlined portion of Figure 25.

[0134] Next, the task executing section 113 adds information corresponding to the sensor data DT that existed in the process of S68 to the sensor data DT for which the task was executed in the process of S64 (S72).

[0135] Specifically, for example, among the sensor data DT stored in the data transmission queue in the process of S66, the data ID of the sensor data DT that existed in the process of S68 is set as the preceding data ID of the sensor data DT that executed the task in the process of S64.

[0136] Thereafter, the data transmission unit 117 transmits (outputs) the sensor data DT stored in the data transmission queue in the process of S66 (S73).

[0137] Specifically, the data transmission unit 117 transmits the sensor data DT stored in the data transmission queue in the process of S66 to the subsequent task. Also, the data transmission unit 117 outputs the sensor data DT stored in the data transmission queue in the process of S66 to the operation terminal (not shown) as a final result.

[0138] Then, the task executing section 113 refers to the request management information 132 stored in the information storage area 130 and determines whether or not there is subsequent data to the sensor data DT transmitted in the process of S73 (S74).

[0139] Specifically, the task execution unit 113 refers to the request management information 132 stored in the information storage area 130, and determines whether or not the “Subsequent data transmission status” field of the information corresponding to the sensor data DT transmitted in the processing of S73 is set to “Yes.”

[0140] As a result, if it is determined that subsequent data exists for the sensor data DT transmitted in the processing of S73 (YES in S74), the task execution unit 113 determines whether there is a subsequent task that does not transmit the sensor data DT stored in the data transmission queue in the processing of S66 (S75).

[0141] 20, in the second line, "task T12" is set as the "task name," "#2" is set as the "task ID," and "#3" and "#4" are set as the "destination task ID." Therefore, for example, when the destination task of the sensor data DT transmitted in the process of S73 is task #3, the task executing unit 113 specifies task #4 as the subsequent task that does not transmit the sensor data DT stored in the data transmission queue in the process of S66.

[0142] Then, if it is determined in the processing of S66 that there is a subsequent task that does not transmit the sensor data DT stored in the data transmission queue (YES in S76), the task execution unit 113 transmits the task completion data DT12 to the subsequent task that was present in the processing of S76 (S77).

[0143] That is, the task execution unit 113 transmits the task completion data DT12 to the subsequent task that does not transmit the sensor data DT stored in the data transmission queue in the processing of S66 so that the subsequent task that does not transmit the sensor data DT stored in the data transmission queue in the processing of S66 does not continue to wait for the task execution result in the processing of S64. A specific example of the task completion data DT12 will be described below.

[0144] [Examples of task completion data] FIG. 26 is a diagram for explaining a specific example of the task completion data DT12.

[0145] The task completion data DT12 shown in FIG. 26 includes, for example, a “destination task ID” that identifies the destination task of each task completion data DT12, a “data ID” that identifies the sensor data ID corresponding to each task completion data DT12, and a “timestamp” that indicates the time at which the sensor data ID corresponding to each task completion data DT12 was generated at a sensor (not shown).

[0146] Specifically, in the task completion data DT12 shown in FIG. 26, "#4" is set as the "destination task ID", "234567" is set as the "data ID", and "123456780" is set as the "time stamp".

[0147] Returning to FIG. 17, the task executing section 113 deletes the request management information 132 corresponding to the sensor data DT for which the task was executed in the process of S64 (S78).

[0148] In addition, if it is determined that there is no subsequent data for the sensor data DT transmitted in the processing of S73 (NO in S74), and if it is determined that there is no subsequent task that does not transmit data that has been executed in the processing of S64 (NO in S76), the task execution unit 113 also executes the processing of S78.

[0149] On the other hand, if the interrupt processing set in the processing of S63 is performed during the execution of the task in the processing of S64 (YES in S65), the task execution unit 113 refers to the request management information 132 stored in the information storage area 130, as shown in FIG. 18, and determines whether a response corresponding to the sensor data DT during the execution of the task in the processing of S64 has been received (S81).

[0150] Specifically, the task execution unit 113 refers to the request management information 132 stored in the information storage area 130, and determines whether or not all of the information set in the "status" of the information having the same information set in the "data ID" as the sensor data DT for which the task is being executed in the processing of S64 is "received."

[0151] Then, when it is determined that a response corresponding to the sensor data DT during the execution of the task in the processing of S64 has been received (YES in S82), the task execution unit 113 refers to the request management information 132 stored in the information storage area 130, and acquires the response corresponding to the sensor data DT during the execution of the task in the processing of S64 (S83).

[0152] Specifically, the task execution unit 113 refers to the request management information 132 stored in the information storage area 130, and acquires all of the information set in the “response” of the information whose “data ID” is the same as the sensor data DT for which the task is being executed in the processing of S64.

[0153] Thereafter, the task execution unit 113 performs the processes from S65 onwards again. That is, the task execution unit 113 continues the execution of the task that was started in the process of S64 by using the response acquired in the process of S83.

[0154] On the other hand, if it is determined that a response corresponding to the data during the execution of the task in the processing of S64 has not been received (NO in S82), the task execution unit 113 stops the execution of the task that was started in the processing of S64 (S84).

[0155] Then, the task executing section 113 adds information about the request corresponding to the interrupt that occurred in the process of S65 to the request management information 132 stored in the information storage area 130 (S85).

[0156] After that, the external instruction section 115 transmits request data DT13 for making a request corresponding to the interruption generated in the process of S65 to the external system 20 (S86).

[0157] That is, when access to the external system 20 occurs, the task execution unit 113 stops execution of the task for the sensor data DT and causes the external instruction unit 115 to access the external system 20. Then, when the task execution unit 113 receives a result of the access from the external system 20, it re-executes the task for the sensor data DT that was once stopped, without accessing the external system 20.

[0158] This enables the information processing device 1 to suppress the influence of a processing delay caused by an access to the external system 20 on the processing (stream processing) in the task execution unit 113. Therefore, the information processing device 1 can suppress a decrease in the processing speed of the sensor data DT that does not access the external system 20. A specific example of the request data DT13 will be described below.

[0159] [Specific examples of request data] FIG. 27 is a diagram for explaining a specific example of the request data DT13.

[0160] 27 includes, for example, a "task ID" for identifying each task, a "data ID" for identifying the sensor data DT making a request corresponding to each request data DT13, and a "timestamp" for identifying the time when each request was made. Also, the request data DT13 shown in FIG 27 includes, for example, an "index" for identifying each request, and a "request" indicating the contents of the data included in each request data DT13.

[0161] Specifically, in the request data DT13 shown in FIG. 27, "#2" is set as the "task ID," "234567" is set as the "data ID," "123456781" is set as the "timestamp," "1" is set as the "index," and "HTTP GET http: / / ···" is set as the "request."

[0162] Returning to FIG. 14, if it is determined that the data received in the processing of S21 is task completion data DT12 (YES in S41), the sequence control unit 112 determines whether the task completion data DT12 received in the processing of S21 is task completion data DT12 corresponding to the preceding data (S42).

[0163] Specifically, the sequence control unit 112, for example, refers to the preceding data management information 134 stored in the information storage area 130, and determines whether or not information corresponding to the task completion data DT12 received in the processing of S21 exists. As a result, if it is determined that information corresponding to the task completion data DT12 received in the processing of S21 exists, the sequence control unit 112 determines that the task completion data DT12 received in the processing of S21 is task completion data DT12 corresponding to the preceding data.

[0164] Then, if the task completion data DT12 received in the processing of S21 is task completion data DT12 corresponding to the preceding data (YES in S43), the sequence control unit 112 refers to the preceding data management information 134 stored in the information storage area 130, and deletes the information corresponding to the task completion data DT12 received in the processing of S21 (S44).

[0165] On the other hand, if the data received in the process of S21 is not the task completion data DT12 corresponding to the preceding data (NO in S43), the sequence control unit 112 does not perform the process of S44.

[0166] Thereafter, the sequence control unit 112 refers to the waiting data management information 133 stored in the information storage area 130, and determines whether or not waiting data exists in the task for the data received in the process of S21 (S46). Note that the sequence control unit 112 also performs the process of S46 in the same manner when the process of S45 has been performed.

[0167] Then, if it is determined that waiting data exists in the task for the data received in the processing of S21 (YES in S47), the sequence control unit 112 determines whether there is preceding data of the waiting data that existed in the processing of S46 (S51), as shown in FIG. 15.

[0168] As a result, if it is determined that there is data preceding the waiting data that existed in the processing of S46 (YES in S52), the sequence control unit 112 refers to the waiting data management information 133 stored in the information storage area 130, and deletes the information corresponding to the waiting data that existed in the processing of S46 (S53).

[0169] Thereafter, the sequence control unit 112 sets the waiting data that existed in the process of S46 as the data received in the process of S21 (S54), and then the sequence control unit 112 performs the processes from S45 onwards again.

[0170] In this way, the information processing device 1 in this embodiment starts the execution of a first task for the received first sensor data DT in response to receiving the first sensor data DT including information related to an event, for example. Then, when a first process requiring access to an external system is executed in association with the execution of the first task for the first sensor data DT, the information processing device 1 stops the execution of the first task for the first sensor data DT and accesses the external system associated with the first process.

[0171] Next, in response to receiving the second sensor data DT including information related to the event, the information processing device 1 starts executing the first task for the received second sensor data DT. Then, when the first process is not executed in association with the execution of the first task for the second sensor data DT, the information processing device 1 continues executing the first task for the second sensor data DT.

[0172] Thereafter, when the information processing device 1 receives an access result from the external system, it re-executes the first task for the first sensor data DT after completing the execution of the first task for the second sensor data DT.

[0173] That is, for example, when an access to the external system 20 occurs in association with the execution of the first task for the first sensor data DT, the information processing device 1 stops the execution of the first task for the first sensor data DT and performs the access to the external system 20 that has occurred asynchronously with the execution of the first task for the first sensor data DT. Then, the information processing device 1 sequentially performs the execution of the first task for each sensor data DT (including the second sensor data DT) that has occurred after the first sensor data DT without waiting for the access result to the external system. After that, when the information processing device 1 receives the access result from the external system 20, it re-executes the first task for the sensor data DT from the beginning by using the received access result.

[0174] This enables the information processing device 1 to suppress, for example, a waiting time for a barrier marker that occurs in association with an access to the external system 20. Therefore, the information processing device 1 can suppress a decrease in the processing speed of a task for the sensor data DT that does not access the external system 20.

[0175] The above embodiment can be summarized as follows:

[0176] (Appendix 1) In response to receiving first data including information related to an event, start executing a first task for the received first data; when a first process requiring access to another information processing system is executed in association with the execution of a first task on the first data, the execution of the first task on the first data is stopped, and the access to the other information processing system in association with the first process is executed; In response to receiving second data including information regarding an event, starting execution of the first task on the received second data; If the first process is not executed in association with the execution of the first task on the second data, continuing the execution of the first task on the second data; when receiving an access result corresponding to the access from the other information processing system, re-executing the first task on the first data after completing the execution of the first task on the second data; A data processing program that causes a computer to execute a process.

[0177] (Appendix 2) In Appendix 1: In the process of re-executing the first task on the first data, the re-execution of the first task on the first data is performed including a process that was completed before the execution of the first task on the first data was stopped in the process of stopping the execution. A data processing program comprising:

[0178] (Appendix 3) In Appendix 1: In the process of re-executing the first task for the first data, when the first process for the first data is executed, another process included in the first task is executed by using the access result already received from the other information processing system without accessing the other information processing system. A data processing program comprising:

[0179] (Appendix 4) Appendix 1 further states: a process of starting the execution of the first task for the second data, when the second data is a specific type of data, determining whether or not the specific type of data has been received from all other tasks that transmit data that is to be the execution target of the first task; In the process of starting the execution of the first task on the second data, when it is determined that the specific type of data has been received from all of the other tasks, the execution of the first task on the second data is started. A data processing program comprising:

[0180] (Appendix 5) In Appendix 4: in the process of starting the execution of the first task for the second data, when it is determined that the specific type of data has not been received from any of the other tasks, waiting to start the execution of the first task for the second data until the specific type of data is received from any of the other tasks; A data processing program comprising:

[0181] (Appendix 6) An information processing system having a plurality of information processing devices accessible to each other, Each of the plurality of information processing devices In response to receiving first data including information related to the event, start executing a first task for the received first data; when a first process requiring access to another information processing system is executed in association with the execution of a first task on the first data, the execution of the first task on the first data is stopped, and the access to the other information processing system in association with the first process is executed; In response to receiving second data including information regarding an event, starting execution of the first task on the received second data; If the first process is not executed in association with the execution of the first task on the second data, continuing the execution of the first task on the second data; when receiving an access result corresponding to the access from the other information processing system, re-executing the first task on the first data after completing the execution of the first task on the second data; An information processing system comprising:

[0182] (Appendix 7) In Appendix 6: When the first processing on the first data is executed, each of the plurality of information processing devices executes another processing included in the first task by using the access result already received from the other information processing system without accessing the other information processing system. An information processing system comprising:

[0183] (Appendix 8) In response to receiving first data including information related to the event, start executing a first task for the received first data; when a first process requiring access to another information processing system is executed in association with the execution of a first task on the first data, the execution of the first task on the first data is stopped, and the access to the other information processing system in association with the first process is executed; In response to receiving second data including information regarding an event, starting execution of the first task on the received second data; If the first process is not executed in association with the execution of the first task on the second data, continuing the execution of the first task on the second data; when receiving an access result corresponding to the access from the other information processing system, re-executing the first task on the first data after completing the execution of the first task on the second data; A data processing method characterized in that the processing is executed by a computer.

[0184] (Appendix 9) In Appendix 8: In the process of re-executing the first task for the first data, when the first process for the first data is executed, another process included in the first task is executed by using the access result already received from the other information processing system without accessing the other information processing system. 23. A data processing method comprising: [Explanation of symbols]

[0185] 1: Information processing device 2a: Storage device 2b: Storage device 10: Information processing system DT: Sensor data T1: Task T1a: Storage device T2: Task T2a: Storage device T3: Task T3a: Storage device 10: Information processing system

Claims

1. In response to receiving first data including information related to an event, starting execution of a first task for the received first data; when a first process requiring access to another information processing system is executed in association with the execution of a first task on the first data, the execution of the first task on the first data is stopped, and the access to the other information processing system in association with the first process is executed; In response to receiving second data including information related to an event, starting execution of the first task for the received second data; If the first process is not executed in association with the execution of the first task on the second data, continuing the execution of the first task on the second data; when receiving an access result corresponding to the access from the other information processing system, re-executing the first task on the first data after completing the execution of the first task on the second data; A data processing program that causes a computer to execute a process.

2. In claim 1, In the process of re-executing the first task on the first data, the re-execution of the first task on the first data is performed including a process that was completed before the execution of the first task on the first data was stopped in the process of stopping the execution. A data processing program comprising:

3. In claim 1, In the process of re-executing the first task for the first data, when the first process for the first data is executed, another process included in the first task is executed by using the access result already received from the other information processing system without accessing the other information processing system. A data processing program comprising:

4. In claim 1, further comprising: a process of starting the execution of the first task for the second data, when the second data is a specific type of data, determining whether or not the specific type of data has been received from all other tasks that transmit data that is to be the execution target of the first task; In the process of starting the execution of the first task for the second data, when it is determined that the specific type of data has been received from all of the other tasks, the execution of the first task for the second data is started. A data processing program comprising:

5. In claim 4, in the process of starting the execution of the first task on the second data, when it is determined that the specific type of data has not been received from any of the other tasks, waiting to start the execution of the first task on the second data until the specific type of data is received from all of the other tasks; A data processing program comprising:

6. An information processing system having a plurality of information processing devices accessible to each other, Each of the plurality of information processing devices In response to receiving first data including information related to an event, starting execution of a first task for the received first data; when a first process requiring access to another information processing system is executed in association with the execution of a first task on the first data, the execution of the first task on the first data is stopped, and the access to the other information processing system in association with the first process is executed; In response to receiving second data including information related to an event, starting execution of the first task for the received second data; If the first process is not executed in association with the execution of the first task on the second data, continuing the execution of the first task on the second data; when receiving an access result corresponding to the access from the other information processing system, re-executing the first task on the first data after completing the execution of the first task on the second data; An information processing system comprising:

7. In response to receiving first data including information related to an event, starting execution of a first task for the received first data; when a first process requiring access to another information processing system is executed in association with the execution of a first task on the first data, the execution of the first task on the first data is stopped, and the access to the other information processing system in association with the first process is executed; In response to receiving second data including information related to an event, starting execution of the first task for the received second data; If the first process is not executed in association with the execution of the first task on the second data, continuing the execution of the first task on the second data; when receiving an access result corresponding to the access from the other information processing system, re-executing the first task on the first data after completing the execution of the first task on the second data; A data processing method characterized in that the processing is executed by a computer.

Citation Information

Patent Citations

  • Information processing unit, information processing method and program

    JP2014182764A

  • Control apparatus, control method, and program

    JP2017021488A

  • Service providing system, information processor, program, and information processing system

    JP2017097660A

  • Data stream ingestion and persistence policy

    JP2018133105A