System for judging an execution status of batch processing, and based on judgement result to send post-update data to terminal device
First Claim
1. A data processing method for a plurality of units, each unit including a storage device having at least a first storage unit and a second storage unit as a plurality of storage units configured to store data, and a data processing apparatus configured to process the data in the storage units,wherein the data processing apparatus belonging to at least one unit from among the plurality of units is configured to execute a first batch execution step of executing batch processing requiring an update on the data in the first storage device when receiving a batch execution request from a terminal device, which is configured to make the request for the processing;
- andwherein the data processing apparatus belonging to each unit executes;
a first storage step of storing post-update data, which are obtained as a result of the update in the first batch execution step, in the second storage unit for each storage device;
a first reflection step of, subject to completion of the processing for storing the post-update data in the second storage unit for each storage device, starting reflecting the post-update data, which have been stored in the second storage unit for each storage device, in the first storage unit for each storage device, thereby executing reflection;
a first judgment step of judging an execution status of the batch processing based on statuses of the post-update data stored and reflected in the first storage unit and the second storage unit in the first batch execution step when receiving a reference request from the terminal device after the batch execution request; and
a first transmission step of sending a corresponding content of the first storage unit for each storage device or a corresponding content of the second storage unit for each storage device as a reference result to the terminal device in accordance with a judgment result of the first judgment step;
wherein in the first judgment step, the data processing apparatus is configured to judge whether processing for storing the post-update data in the second storage unit for each storage device has been completed or not;
wherein when an affirmative judgment result is returned in the first judgment step, the data processing apparatus is configured to send the post-update data as the corresponding content of the second storage unit for each storage device to the terminal device in the first transmission step; and
wherein when a negative judgment result is returned in the first judgment step, the data processing apparatus is configured to send data before the update by the batch processing as the corresponding content of the first storage unit for each storage device to the terminal device in the first judgment step.
1 Assignment
0 Petitions
Accused Products
Abstract
An execution system executes an update batch according to an update batch execution request from a terminal device and gives a batch execution command to each standby system. Each system stores the content of updated data in its update buffer; and subject to termination of the update batch by each system, the post-update data content is reflected in a database. While the above processing is performed, the execution system and the standby systems accept a reference request from the terminal device; and in a case of “batch not executed” or “batch in execution”, each system searches the database and then returns the pre-update data content to the terminal device; and in a case of “update content being reflected”, each system searches the database or the update buffer and then returns the post-update data content to the terminal device.
9 Citations
14 Claims
-
1. A data processing method for a plurality of units, each unit including a storage device having at least a first storage unit and a second storage unit as a plurality of storage units configured to store data, and a data processing apparatus configured to process the data in the storage units,
wherein the data processing apparatus belonging to at least one unit from among the plurality of units is configured to execute a first batch execution step of executing batch processing requiring an update on the data in the first storage device when receiving a batch execution request from a terminal device, which is configured to make the request for the processing; - and
wherein the data processing apparatus belonging to each unit executes; a first storage step of storing post-update data, which are obtained as a result of the update in the first batch execution step, in the second storage unit for each storage device; a first reflection step of, subject to completion of the processing for storing the post-update data in the second storage unit for each storage device, starting reflecting the post-update data, which have been stored in the second storage unit for each storage device, in the first storage unit for each storage device, thereby executing reflection; a first judgment step of judging an execution status of the batch processing based on statuses of the post-update data stored and reflected in the first storage unit and the second storage unit in the first batch execution step when receiving a reference request from the terminal device after the batch execution request; and a first transmission step of sending a corresponding content of the first storage unit for each storage device or a corresponding content of the second storage unit for each storage device as a reference result to the terminal device in accordance with a judgment result of the first judgment step; wherein in the first judgment step, the data processing apparatus is configured to judge whether processing for storing the post-update data in the second storage unit for each storage device has been completed or not; wherein when an affirmative judgment result is returned in the first judgment step, the data processing apparatus is configured to send the post-update data as the corresponding content of the second storage unit for each storage device to the terminal device in the first transmission step; and wherein when a negative judgment result is returned in the first judgment step, the data processing apparatus is configured to send data before the update by the batch processing as the corresponding content of the first storage unit for each storage device to the terminal device in the first judgment step. - View Dependent Claims (2, 3, 4, 5, 6, 7)
- and
-
8. A non-transitory computer readable medium storing therein a program, which, when executed, causes a data processing apparatus of one of a plurality of storage devices to execute a data process method, wherein the data processing apparatus comprises a computer and at least one of the storage devices has a first storage unit and a second storage unit, the method comprising:
-
as a step executed by the data processing apparatus of a plurality of apparatuses of the respective plurality of storage devices, a first batch execution step of executing batch processing requiring an update on data in the first storage device when receiving a batch execution request from a terminal device configured to make the request for the processing; and as steps executed by the data processing apparatus, a first storage step of storing post-update data, which are obtained as a result of the update in the first batch execution step, in the second storage unit for each storage device; a first reflection step of, subject to completion of the processing for storing the post-update data in the second storage unit for each storage device, starting reflecting the post-update data, which have been stored in the second storage unit for each storage device, in the first storage unit for each storage device, thereby executing reflection; a first judgment step of judging an execution status of the batch processing based on statuses of the post-update data stored and reflected in the first storage unit and the second storage unit in the first batch execution step when receiving a reference request from the terminal device after the batch execution request; and a first transmission step of sending a corresponding content of the first storage unit for each storage device or a corresponding content of the second storage unit for each storage device as a reference result to the terminal device in accordance with a judgment result of the first judgment step; wherein in the first judgment step, the data processing apparatus is configured to judge whether processing for storing the post-update data in the second storage unit for each storage device has been completed or not; wherein when an affirmative judgment result is returned in the first judgment step, the data processing apparatus is configured to send the post-update data as the corresponding content of the second storage unit for each storage device to the terminal device in the first transmission step; and wherein when a negative judgment result is returned in the first judgment step, the data processing apparatus is configured to send data before the update by the batch processing as the corresponding content of the first storage unit for each storage device to the terminal device in the first judgment step.
-
-
9. A data processing system comprising at least one computer comprising a plurality of units, each unit including a storage device having at least a first storage unit and a second storage unit as a plurality of storage units configured to store data, and a data processing apparatus configured to process the data in the storage units,
wherein the data processing apparatus belonging to at least one unit from among the plurality of units includes a batch execution control unit configured to generate and output a command relating to batch processing when receiving a batch execution request from a terminal device configured to make the request for the processing; -
wherein the data processing apparatus belonging to each unit includes; a data update unit configured to execute processing on each storage device in accordance with a command from the batch execution control unit and to notify the batch execution control unit of a result of the processing on each storage unit; and a data reference unit, when receiving a reference request from the terminal device, configured to refer to each storage device in accordance with the reference request and to send the reference result to the terminal device; wherein when receiving the batch execution request from the terminal device, the batch execution control unit is configured to give a batch execution start command to each data update unit; and
subject to reception of batch execution completion notice from all the data update units, the batch execution control unit is configured to give an update content reflection command to each data update unit; and
subject to reception of update content reflection completion notice from all the data update units, the batch execution control unit is configured to give a batch termination command to each data update unit;wherein at least one data update unit, from among the data update units which have received the batch execution start command from the batch execution control unit, is configured to execute batch processing on the data in the storage devices; wherein when receiving the batch execution start command from the batch execution control unit, the data update unit is configured to store post-update data, which are obtained as a result of the update by the batch processing, in the second storage unit for each storage device and to notify the batch execution control unit of completion of the batch execution; when receiving the update content reflection command from the batch execution control unit, the data update unit is configured to reflect the post-update data, which are stored in the second storage unit for each storage device, in the first storage unit for each storage device and to notify the batch execution control unit of completion of the update content reflection; and the data update unit is configured to store data indicating an execution status of the batch processing in a third storage unit for each storage device in association with processing on the first storage unit or the second storage unit for each storage device; and wherein when receiving the reference request from the terminal device, the data reference unit is configured to refer to the third storage unit for each storage device, to judge the execution status of the batch processing based on statuses of the post-update data stored and reflected in the first storage unit and the second storage unit, and to send a corresponding content of the first storage unit for each storage device or a corresponding content of the second storage unit for each storage device as a reference result to the terminal device; wherein the data reference unit is configured to refer to the third storage unit for each storage device and to judge whether or not data indicating that the post-update data are in a state before being reflected in the first storage unit for each storage device and the post-update data are stored in the second storage unit for each storage device, exist in the third storage unit; when an affirmative result is obtained for the above judgment, the data reference unit is configured to send the post-update data as the corresponding content of the second storage unit for each storage device to the terminal device; when a negative result is obtained for the above judgment, the data reference unit is configured to send data before the update by the batch processing as the corresponding content of the first storage unit for each storage device to the terminal device. - View Dependent Claims (10, 11, 12, 13, 14)
-
Specification