×

Executing operations via asynchronous programming model

  • US 8,473,954 B2
  • Filed: 04/08/2011
  • Issued: 06/25/2013
  • Est. Priority Date: 04/08/2010
  • Status: Active Grant
First Claim
Patent Images

1. A process for executing operations called jobs, via an asynchronous programming model (APM), in a manufacturing execution system (MES), wherein a job execution is requested in an application, which comprises the steps of:

  • a) defining an abstract Job class, for defining and implementing a behavior of a generic job with its methods and properties, the abstract job class including;

    i) an abstract method for job execution called Execute method, wherein a set of jobs to be executed is implemented, at engineering time, within the Execute method, when implementing a set of classes derived from the abstract Job class;

    ii) a method for executing the job in asynchronous mode called ExecuteAsync method, wherein the ExecuteAsync method runs the Execute method by following APM rules;

    iii) a method for executing the job in synchronous mode called WaitForExecution method, wherein the WaitForExecution method runs the ExecuteAsync method waiting for its completion; and

    b) at run time, by the application, requesting the job execution in asynchronous mode by invoking directly the ExecuteAsync method or in synchronous mode by invoking the WaitForExecution method,when invoking the job execution in the asynchronous mode or in the synchronous mode, a parameter specifying an execution timeout is provided.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×