Extensibility of business process and application logic

  • US 8,862,613 B2
  • Filed: 07/20/2012
  • Issued: 10/14/2014
  • Est. Priority Date: 07/30/2010
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method including:

  • a first sub-process comprising;

    executing a first program for performing a computational task,upon completion of the execution of the computational task, generating a request to set a status indicating completion of the computational task by the first program, andsending the request from the first program to a state machine;

    a second sub-process comprising;

    receiving the request from the first program by the state machine,responsive to receiving the request from the first program, performing a write database access for writing a precursor of the status into a first database table by the state machine, the precursor of the status indicating completion of the computational task,performing a database query to fetch a condition being assigned to the computational task from a second database table by the state machine,determining whether the database query returned the condition,if the database query returned the condition, then;

    starting a timer,performing a database access for reading at least one parameter value from a third database table,evaluating the condition using the read at least one parameter value to determine whether the condition is true or not true,if the condition is true performing a write database access in order to write the status into the first database table and resetting the timer, the status indicating completion of the computational task,if the condition is not true, invoking a third sub-process and reperforming the database access for reading the at least one parameter value, and the evaluation of the condition using the read at least one parameter value, andif the database query did not return the condition, performing a write database access in order to write the status into the first database table, the status indicating completion of the computational task;

    the third sub-process comprising;

    executing a third program for performing an additional computational task, the additional computational task resulting in a modification of at least one parameter value stored in the third database table, andperforming a write database access by the third program for writing the at least one modified parameter value to the third database table;

    a fourth sub-process comprising;

    repetitively reading the timer value of the timer by a monitoring program component, andwhen the timer value has reached or is above a predefined threshold value, generating a signal to prevent an endless loop in the second sub-process by the monitoring program component; and

    a fifth sub-process comprising;

    repetitively performing a read operation to the first database table for determining whether the status has been set to indicate the completion of the computational task, andwhen the status has been set to indicate the completion of the computational task, executing a second program for performing a further computational task.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×