Bulk-Loading Script Error Handling via Automated Re-execution

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for bulk-loading data into data storage models are cumbersome, requiring users to manually manage complex consistency constraints and order dependencies, which can lead to script failures and data integrity issues, especially in complex systems where procedural scripts are necessary but labor-intensive.

Innovation Solution

A method and system that automates the execution of scripts by re-executing failed statements in a predetermined order and utilizes a strategy registry to manage data consistency and redundancy, allowing users to create scripts without ensuring all constraints are followed, thereby eliminating the need for manual intervention and complex verification.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If a simple script is used to make changes to data, then the ease of operation is improved, but the reliability deteriorates due to consistency constraints that can cause script failure

Engineering Contradiction:
Improveease of script creationVSAvoidscript execution success
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The system performs self-service by automatically detecting failed statements and re-executing them in the correct order without requiring user intervention. The bulk loading system monitors constraint violations and autonomously corrects execution sequences, allowing the system to serve itself rather than requiring manual procedural scripts.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system implements feedback mechanisms by monitoring script execution results and constraint satisfaction. When constraints are violated or statements fail, the system receives feedback about the failure mode and automatically adjusts the execution plan by re-ordering statements, ensuring reliability while maintaining simple script syntax.

Inventive Principle:
Principle #23Feedback

2Reliability

If a procedural script is used to handle consistency constraints, then the reliability is improved, but the device complexity and ease of operation worsen due to increased effort and user awareness requirements

Engineering Contradiction:
Improveconstraint satisfactionVSAvoidscript complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system extracts the complexity of constraint management from the user's script-writing task and places it in the system's execution engine. Users write simple scripts without procedural logic, while the system extracts and handles the complex constraint satisfaction and statement re-ordering operations automatically in the background.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system acts as an intermediary between the simple script and the data storage model. Rather than requiring the user to write complex procedural scripts that directly manipulate data, the system mediates by intercepting script execution, analyzing constraint violations, and automatically generating the appropriate corrective actions behind the scenes.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If manual verification of data constraints is implemented, then the reliability is improved, but the loss of time increases due to the effort required for verification and correction

Engineering Contradiction:
Improvedata integrityVSAvoidverification time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system maintains continuous useful action by automatically re-executing failed statements without interrupting the overall bulk loading process. Rather than stopping for manual verification, the system continuously monitors execution and immediately re-attempts failed operations, eliminating idle time and keeping the data loading process flowing continuously.

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

The system performs preliminary actions by pre-planning statement execution sequences and pre-identifying potential constraint violations. Before actual data loading begins, the system analyzes the script to anticipate ordering issues and prepares corrective strategies, so that when violations occur, corrections can be applied immediately without time-consuming manual intervention.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8904348B2Method and system for handling errors during script execution
Publication Date: 2014.12.02 CA TECH INC
  • US8904348B2 patent drawing
  • US8904348B2 patent drawing
  • US8904348B2 patent drawing

AI summary

The present disclosure is directed to a method and system for bulk-loading data into a data storage model. In accordance with a particular embodiment of the present disclosure a script having a plurality of statements is executed. Executing the script includes executing the plurality of statements in a predetermined order. One or more failed statements are identified. Each of the one or more failed statements are re-executed according to the predetermined order.