Unlock instant, AI-driven research and patent intelligence for your innovation.

Execute operations via the asynchronous programming model

A technology of programming model and asynchronous mode, applied in the direction of program control design, program control device, instrument, etc., can solve the problems of insufficient flexibility, not using the APM model, etc., to achieve the effect of simplified implementation and easy programming

Inactive Publication Date: 2016-08-17
SIEMENS AG
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0025] However, the method of job execution based on the APM model still has some disadvantages
[0026] The first disadvantage is that jobs that cannot be run in serialized mode do not take advantage of the APM model
[0027] The second disadvantage is that the "a priori" determination of whether to execute a job in serialized or parallel mode provides insufficient flexibility
[0028] The third disadvantage is that with the APM model approach there is no notification of events (such as a job's status change), except for events that complete execution

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Execute operations via the asynchronous programming model
  • Execute operations via the asynchronous programming model
  • Execute operations via the asynchronous programming model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] According to the present invention, in an MES system, one or more jobs are requested to be performed in an application. Define an abstract Job class to use its methods and properties to define and implement the behavior of common jobs. The Job class includes, among other things, three methods: the abstract Execute method, the ExecuteAsync method, and the WaitForExecution method.

[0066] The Execute method is implemented at project time with a derived class of the Job class, and it includes a collection of operations to be executed. For example, it may include one or more of the following statements: connect to a database and query, connect to a remote web service, access a file, and others.

[0067] The ExecuteAsync method runs the Execute method in asynchronous mode by following the APM rules. In this way, asynchronous job execution optimally takes advantage of all APM rules due to optimization of system hardware resources.

[0068] The WaitForExecution method exec...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention relates to performing operations via an asynchronous programming model. A method and system for performing job operations by an APM model in an MES system, requesting job execution in an application, including: a) defining an abstract Job class, including: i) an Execute abstract method for job execution; in the Execute method Implement job collections within; ii) ExecuteAsync method for executing jobs in asynchronous mode; where ExecuteAsync method executes Execute method; iii) WaitForExecution method for executing jobs in synchronous mode; where WaitForExecution method executes ExecuteAsync method; b) is requested by the application by calling ExecuteAsync method The job executes or requests job execution by calling the WaitForExecution method.

Description

technical field [0001] The present invention relates to a method and a system for performing operations via an Asynchronous Programming Model (Asynchronous Programming Model) according to the preambles of claims 1 and 7, respectively. Background technique [0002] In today's world of industrial automation, manufacturing companies use IT infrastructure for industrial control and automation in order to improve their production capabilities and their competitiveness. [0003] Software products for industrial automation have increased in scope and refinement over time in order to accommodate the diverse needs of manufacturing companies. [0004] As defined by the Manufacturing Enterprise Solutions Association (MESA International), an MES system is a system that manages "production operations from the point of order release to the point of manufacture to product delivery to finished goods" and A dynamic information system that provides others with mission-critical information ab...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/44
CPCG06F9/4843
Inventor M·皮卡佐
Owner SIEMENS AG