CN102314631B - The event processing apparatus of manufacturing execution system - Google Patents

The event processing apparatus of manufacturing execution system Download PDF

Info

Publication number
CN102314631B
CN102314631B CN201010221612.5A CN201010221612A CN102314631B CN 102314631 B CN102314631 B CN 102314631B CN 201010221612 A CN201010221612 A CN 201010221612A CN 102314631 B CN102314631 B CN 102314631B
Authority
CN
China
Prior art keywords
event
text
type
module
handling logic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010221612.5A
Other languages
Chinese (zh)
Other versions
CN102314631A (en
Inventor
杨英杰
王森
王蔚林
强徐刚
欧阳树生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Baosight Software Co Ltd
Original Assignee
Shanghai Baosight Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Baosight Software Co Ltd filed Critical Shanghai Baosight Software Co Ltd
Priority to CN201010221612.5A priority Critical patent/CN102314631B/en
Publication of CN102314631A publication Critical patent/CN102314631A/en
Application granted granted Critical
Publication of CN102314631B publication Critical patent/CN102314631B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • General Factory Administration (AREA)

Abstract

The invention discloses a kind of event processing apparatus of manufacturing execution system, comprise operation interface, text cache module, event type module, event detection model module, event handling logic module, text type configuration module, event-monitoring service module; Event-monitoring service module, according to the event type of the message queue in described text cache module, the text type configuration of described text type configuration module stores, the event detection model that described event detection model module stores, described event type module stores, by event handling logic corresponding in message queue content successively trigger event processing logic module.The event processing apparatus of manufacturing execution system of the present invention, its event handling logic computing does not directly rely on the text item structure of process control computer system text, event type, event detection model and event handling logic can form independently built-in event industry storehouse, again by configuration association to concrete text type, independence is strong.

Description

The event processing apparatus of manufacturing execution system
Technical field
The present invention relates to Enterprise Production Management Informational System, particularly a kind of event processing apparatus of manufacturing execution system.
Background technology
Enterprise Production Management Informational System architecture is generally divided into level Four: basic automation systems (AutomationSystem, hereinafter referred to as L1), process control computer system (pcs system, hereinafter referred to as L2), manufacturing execution system (MES system, hereinafter referred to as L3), enterprise resource planning (ERP system, hereinafter referred to as L4).L3 is responsible for the formulation of the production schedule, execution and actual achievement feedback, DM; L2 connects L3, and lower even L1, L2 monitoring site production data, its data gathered need to L3 report, and trigger the event handling logic of L3.In the enterprise information system of reality, the system that L2 and L3 is normally different, from different suppliers, in Enterprise Production Management Informational System, how L3 layer obtains the data variation of L2 layer, and carries out corresponding business operation, and this is that production management system of enterprise institute must problems faced.
Enterprise Production Management Informational System, the major way that L2 and L3 communicates is teletext communication, L2 send text to L3, described text is as shown in table 1, comprise a text type identification code, one or
Table 1:
Text type identification code First text item Second text item …… N text item
Multiple text item, as coil of strip electronic message comprise entrance coil of strip number, outlet coil of strip number, coil of strip weight, coil of strip launch after length, the width of coil of strip, the text item such as thickness, the external diameter of coil of strip, the internal diameter of coil of strip of coil of strip.The teletext communication of common Enterprise Production Management Informational System L2 and L3, that event processing apparatus is set in L3, in text configuration module, first set up the corresponding relation of text type identification code and event handling logic, during system cloud gray model, event processing apparatus directly triggers corresponding event handling logic computing according to the value of the type of the text received and text item, exports corresponding business processing instruction.This causes the degree of dependence of L3 to L2 large, the computing of L3 event processing apparatus event handling logic relies on the text item structure of L2 text completely, different L2 systems has different text item structures, so L3 event processing apparatus event handling logic needs independently to develop different L2.L3 event processing apparatus is difficult to form the stable event handling logic industry storehouse that can use in multiple project.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of event processing apparatus of manufacturing execution system, and its event handling logic computing does not directly rely on the text item structure of process control computer system text, and independence is strong.
For solving the problems of the technologies described above, the event processing apparatus of a kind of manufacturing execution system of the present invention, comprises operation interface, text cache module, event type module, event detection model module, event handling logic module, text type configuration module, event-monitoring service module;
Described text cache module is used for the message queue that storing process computer for controlling system is sent;
Described event type module is for storing event type, and the information project of an event type comprises an event type numbering, one or more event type attribute;
Described event detection model module is for storing event detection model, the information project of one event detection model comprises an event detection pattern number, one or more input parameter, a detection logic, one or more detection logical value and corresponding event type numbering, the detection logical value correspondence one of each event detection model or the event type numbering of zero;
Described event handling logic module, for storing event handling logic, the information project of one event handling logic comprises an event handling logic identification code, an event handling logic title, event handling logic expression formula, corresponding event type, described event handling logic is divided into multiclass, every class comprises one or more event handling logic, and each parameter of the event handling logic expression formula of of a sort each event handling logic corresponds respectively to each event type attribute of the same event type in described event type module;
Described text type configuration module is for storing text type configuration, and the information project of a text type configuration comprises a text type identification code, an event detection pattern number, one or more parameter-text item corresponding relation, one or more event type-event handling logic corresponding relation; The event processing apparatus user of manufacturing execution system is created by operation interface text type configuration, revise or deletes;
Described event-monitoring service module, according to the event type of the message queue in described text cache module, the text type configuration of described text type configuration module stores, the event detection model that described event detection model module stores, described event type module stores, trigger corresponding event handling logic successively by message queue content;
Described event-monitoring service module specific works flow process is as follows:
One. start working;
Two. to read in text cache module in message queue at first stored in a text, obtain the text type identification code of this text;
Three. according to described text type configuration module, obtain the event detection pattern number corresponding to text type identification code of this text, parameter-text item corresponding relation, event type-event handling logic corresponding relation;
Four. according to described event detection model module, obtain the parameter corresponding to described event detection pattern number, detect logic, and according to described parameter-text item corresponding relation, obtain detecting logical value for parameter value carries out computing according to described detection logic with the value of the text item of described text;
Five. according to described event type module, obtain the event type attribute corresponding to event type numbering that described detection logical value is corresponding;
Six. by described event type attribute, process by described event handling logic;
Seven. read next text in message queue in text cache module, obtain the text type identification code of next text, carry out step 3.
Event type in described event type module can be comprised and built-in to be created by operation interface with user, built-in event type forbids that user is modified by operation interface or deletes, and the event type of establishment allows user modified by operation interface or delete.
Described event detection model can be comprised and built-in to be created by operation interface with user.
The information project of a described event type can also comprise an event type title; The information project of a described event detection model can also comprise an event detection model name.
The event processing apparatus of manufacturing execution system of the present invention, comprises operation interface, text cache module, event type module, event detection model module, event handling logic module, text type configuration module, event-monitoring service module.The message queue that text cache module storing process computer for controlling system is sent, event type in event type module has oneself attribute, the information project of the event detection model in event detection model module comprises input parameter, detection logic, one or more detection logical value and corresponding event type numbering, the event type that the detection logic of each event detection model is corresponding with detecting logical value is fixing, detect logic and computing is carried out to input parameter, the event handling logic of the event type determine the manufacturing execution system event type exported, input parameter is corresponding with the text item of text, exporting can specifically set when text type configuration block configuration as required, user is by the event detection pattern number of operation interface to each text type identification code correspondence in text type configuration module, parameter-text item corresponding relation, the information such as event type-event handling logic corresponding relation are modified configuration, for different process control computer system text types, the event detection model that association is corresponding, parameter-text item corresponding relation, and event type-event handling logic corresponding relation, the corresponding relation of the input parameter of event detection model and the concrete data from the text item of process control computer system text is established by parameter-text item corresponding relation, by configuration event type-event handling logic corresponding relation, the event type exported is processed according to the event handling logic of the attribute of this event type according to configuration, control the work of corresponding manufacturing execution system service unit.Input due to event handling logic is the attribute of event type, instead of process control computer system telegraph text data, by event type and text type configuration, and can the independence of realization event processing logic and process control computer system text.The event processing apparatus of manufacturing execution system of the present invention, can the data variation of Real-time Obtaining and response process computer for controlling system, realize the operation flow integration of manufacturing execution system and process control computer system, and be asynchronous communication with the text communication between process control computer system, process control computer system does not need after sending text to wait for that the event processing apparatus of manufacturing execution system receives text and check processing event, even do not need the event processing apparatus on-line operation of manufacturing execution system, substantially increase independence and the availability of process control computer system and manufacturing execution system, the event type of the event processing apparatus of manufacturing execution system, event detection model and event handling logic directly do not rely on the text item structure of process control computer system text, the built-in event industry storehouse independent of process control computer system can be formed, then by configuration association to concrete text type.
Accompanying drawing explanation
Below in conjunction with the drawings and the specific embodiments, the present invention is described in further detail.
Fig. 1 is the event processing apparatus one embodiment schematic diagram of manufacturing execution system of the present invention;
Fig. 2 is the schematic diagram of event-monitoring service module specific works flow process in event processing apparatus one embodiment of manufacturing execution system of the present invention.
Embodiment
Event processing apparatus one embodiment of manufacturing execution system of the present invention as shown in Figure 1, manufacturing execution system (MES system, L3) the same to process control computer system (pcs system of event processing apparatus, L2) carry out asynchronous teletext communication between, the text that process control computer system is sent to the event processing apparatus of manufacturing execution system comprises text type identification code, one or more text item; The event processing apparatus of manufacturing execution system comprises operation interface, text cache module, event type module, event detection model module, event handling logic module, text type configuration module, event-monitoring service module;
Described text cache module is used for the message queue that storing process computer for controlling system is sent;
Described event type module is for storing event type, event type is as shown in table 2, the information project of one event type comprises an event type numbering, one event type title, one or more event type attribute, one event type origin etc., event type is divided into the user of the event processing apparatus of built-in event type and manufacturing execution system to be created by operation interface event type by its origin, built-in event type forbids being modified by operation interface with product or deleting of the event processing apparatus of manufacturing execution system, the event type created allows the user of the event processing apparatus of manufacturing execution system modified by operation interface or delete.
Table 2:
Described event detection model module is for storing event detection model, the information project of one event detection model comprises an event detection pattern number, an event detection model name, one or more input parameter, a detection logic, one or more detection logical value and corresponding event type numbering, detection logical value corresponding one or the zero event type numbering of each event detection model, as shown in table 3.
The event detection model that the user that described event detection model comprises the event processing apparatus of built-in event detection model and manufacturing execution system is created by operation interface.
Described event handling logic module, for storing event handling logic, event handling logic is as shown in table 4, the information project of one event handling logic comprises an event handling logic identification code, an event handling logic title, event handling logic expression formula, corresponding event type, described event handling logic is divided into multiclass, every class comprises one or more event handling logic, each parameter of the event handling logic expression formula of of a sort each event handling logic corresponds respectively to each event type attribute of the same event type in described event type module
Table 3:
Table 4:
Described text type configuration module, for storing text type configuration, the information project of one text type configuration comprises a text type identification code, an event detection pattern number, one or more parameter-text item corresponding relation, one or more event type-event handling logic corresponding relation, as shown in table 5.
Table 5:
Described text type configuration module, the user of the event processing apparatus of manufacturing execution system can create text type configuration by operation interface in described text type configuration module, the event detection pattern number of the text type identification code correspondence revised in a text type configuration, parameter-information project such as text item corresponding relation, event type-event handling logic corresponding relation, or deletes a text type configuration;
Described event-monitoring service module, according to the event type of the message queue stored in described text cache module, the text type configuration of described text type configuration module stores, the event detection model that described event detection model module stores, described event type module stores, corresponding event processing logic is triggered successively by message queue content, the work of corresponding manufacturing execution system service unit can be controlled, be embodied as the service of manufacturing execution system.
After the event processing apparatus of manufacturing execution system starts, described event-monitoring service module is started working, described event-monitoring service module specific works flow process as shown in Figure 2:
One. start working;
Two. to read in text cache module in message queue at first stored in a text, obtain the text type identification code of this text;
Three. according to described text type configuration module, obtain the event detection pattern number corresponding to text type identification code of this text, parameter-text item corresponding relation, event type-event handling logic corresponding relation;
Four. according to described event detection model module, obtain the parameter corresponding to described event detection pattern number, detect logic, and according to described parameter-text item corresponding relation, obtain detecting logical value for parameter value carries out computing according to described detection logic with the value of the text item of described text;
Five. according to described event type module, obtain the event type attribute corresponding to event type numbering that described detection logical value is corresponding;
Six. by described event type attribute, process by described event handling logic;
Seven. read next text in message queue in text cache module, obtain the text type identification code of next text, carry out step 3.
The event processing apparatus of manufacturing execution system of the present invention, comprises operation interface, text cache module, event type module, event detection model module, event handling logic module, text type configuration module, event-monitoring service module.The message queue that text cache module storing process computer for controlling system is sent, event type in event type module has oneself attribute, the information project of the event detection model in event detection model module comprises input parameter, detection logic, one or more detection logical value and corresponding event type numbering, the event type that the detection logic of each event detection model is corresponding with detecting logical value is fixing, detect logic and computing is carried out to input parameter, the event handling logic of the event type determine the event type exported, input parameter is corresponding with the text item of text, exporting can specifically set when text type configuration block configuration as required, user is by the event detection pattern number of operation interface to each text type identification code correspondence in text type configuration module, parameter-text item corresponding relation, the information such as event type-event handling logic corresponding relation are modified configuration, for different process control computer system text types, the event detection model that association is corresponding, parameter-text item corresponding relation, and event type-event handling logic corresponding relation, the corresponding relation of the input parameter of event detection model and the concrete data from the text item of process control computer system text is established by parameter-text item corresponding relation, by configuration event type-event handling logic corresponding relation, the event type exported is processed according to the event handling logic of the attribute of this event type according to configuration, control the work of corresponding manufacturing execution system service unit.Input due to event handling logic is the attribute of event type, instead of process control computer system telegraph text data, by event type and text type configuration, and can the independence of realization event processing logic and process control computer system text.The event processing apparatus of manufacturing execution system of the present invention, can the data variation of Real-time Obtaining and response process computer for controlling system, realize the operation flow integration of manufacturing execution system and process control computer system, and be asynchronous communication with the text communication between process control computer system, process control computer system does not need after sending text to wait for that the event processing apparatus of manufacturing execution system receives text and check processing event, even do not need the event processing apparatus on-line operation of manufacturing execution system, substantially increase independence and the availability of process control computer system and manufacturing execution system, the event type of the event processing apparatus of manufacturing execution system, event detection model and event handling logic directly do not rely on the text item structure of process control computer system text, the built-in event industry storehouse independent of process control computer system can be formed, then by configuration association to concrete text type.

Claims (4)

1. an event processing apparatus for manufacturing execution system, is characterized in that, comprises operation interface, text cache module, event type module, event detection model module, event handling logic module, text type configuration module, event-monitoring service module;
Described text cache module is used for the message queue that storing process computer for controlling system is sent;
Described event type module is for storing event type, and the information project of an event type comprises an event type numbering, one or more event type attribute;
Described event detection model module is for storing event detection model, the information project of one event detection model comprises an event detection pattern number, one or more input parameter, a detection logic, one or more detection logical value and corresponding event type numbering, the detection logical value correspondence one of each event detection model or the event type numbering of zero;
Described event handling logic module, for storing event handling logic, the information project of one event handling logic comprises an event handling logic identification code, an event handling logic title, event handling logic expression formula, corresponding event type, described event handling logic is divided into multiclass, every class comprises one or more event handling logic, and each parameter of the event handling logic expression formula of of a sort each event handling logic corresponds respectively to each event type attribute of the same event type in described event type module;
Described text type configuration module is for storing text type configuration, and the information project of a text type configuration comprises a text type identification code, an event detection pattern number, one or more parameter-text item corresponding relation, one or more event type-event handling logic corresponding relation; The event processing apparatus user of manufacturing execution system is created by operation interface text type configuration, revise or deletes;
Described event-monitoring service module, according to the event type of the message queue in described text cache module, the text type configuration of described text type configuration module stores, the event detection model that described event detection model module stores, described event type module stores, trigger corresponding event handling logic successively by message queue content;
Described event-monitoring service module specific works flow process is as follows:
One. start working;
Two. to read in text cache module in message queue at first stored in a text, obtain the text type identification code of this text;
Three. according to described text type configuration module, obtain the event detection pattern number corresponding to text type identification code of this text, parameter-text item corresponding relation, event type-event handling logic corresponding relation;
Four. according to described event detection model module, obtain the parameter corresponding to described event detection pattern number, detect logic, and according to described parameter-text item corresponding relation, obtain detecting logical value for parameter value carries out computing according to described detection logic with the value of the text item of described text;
Five. according to described event type module, obtain the event type attribute corresponding to event type numbering that described detection logical value is corresponding;
Six. by described event type attribute, process by described event handling logic;
Seven. read next text in message queue in text cache module, obtain the text type identification code of next text, carry out step 3.
2. the event processing apparatus of manufacturing execution system according to claim 1, it is characterized in that, event type in described event type module is comprised and built-in to be created by operation interface with user, built-in event type forbids that user is modified by operation interface or deletes, and the event type of establishment allows user modified by operation interface or delete.
3. the event processing apparatus of manufacturing execution system according to claim 1, is characterized in that, described event detection model is comprised and built-in to be created by operation interface with user.
4. the event processing apparatus of manufacturing execution system according to claim 1, is characterized in that, the information project of a described event type also comprises an event type title; The information project of a described event detection model also comprises an event detection model name.
CN201010221612.5A 2010-07-08 2010-07-08 The event processing apparatus of manufacturing execution system Active CN102314631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010221612.5A CN102314631B (en) 2010-07-08 2010-07-08 The event processing apparatus of manufacturing execution system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010221612.5A CN102314631B (en) 2010-07-08 2010-07-08 The event processing apparatus of manufacturing execution system

Publications (2)

Publication Number Publication Date
CN102314631A CN102314631A (en) 2012-01-11
CN102314631B true CN102314631B (en) 2016-03-30

Family

ID=45427778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010221612.5A Active CN102314631B (en) 2010-07-08 2010-07-08 The event processing apparatus of manufacturing execution system

Country Status (1)

Country Link
CN (1) CN102314631B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868691B (en) * 2012-09-13 2015-09-09 北京佰能电气技术有限公司 A kind of full configurationization data communications method and system
EP2871548B1 (en) 2013-11-06 2017-07-19 Siemens Aktiengesellschaft Method of producing a pharmaceutical product using a MES
CN109725587B (en) * 2017-10-27 2021-08-06 上海宝信软件股份有限公司 Operation record recording method based on human-computer interface
CN111722983B (en) * 2020-06-19 2024-03-15 中国银行股份有限公司 Configurable event operation control method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1416070A (en) * 2001-07-10 2003-05-07 费舍-柔斯芒特***股份有限公司 Affair type data communication of procedue control system
CN1841415A (en) * 2005-03-29 2006-10-04 上海宝信软件股份有限公司 Data transmission method employing data soft bus for application system of metallurgic enterprise
CN1924913A (en) * 2006-09-06 2007-03-07 浙江中控软件技术有限公司 Method for constructing integral enterprise information resources model

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1416070A (en) * 2001-07-10 2003-05-07 费舍-柔斯芒特***股份有限公司 Affair type data communication of procedue control system
CN1841415A (en) * 2005-03-29 2006-10-04 上海宝信软件股份有限公司 Data transmission method employing data soft bus for application system of metallurgic enterprise
CN1924913A (en) * 2006-09-06 2007-03-07 浙江中控软件技术有限公司 Method for constructing integral enterprise information resources model

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
现代集成制造***中的制造执行***;周林灿等;《自动化仪表》;20061130;第27卷(第11期);第45-47页 *

Also Published As

Publication number Publication date
CN102314631A (en) 2012-01-11

Similar Documents

Publication Publication Date Title
CN102314631B (en) The event processing apparatus of manufacturing execution system
US20230020324A1 (en) Task Processing Method and Device, and Electronic Device
CN110928696B (en) User-level thread control system and method thereof
CN103440279A (en) Data adapter and data adaptation method thereof in data acquisition process
JP5268589B2 (en) Information processing apparatus and information processing apparatus operating method
CN107807854A (en) The method and rendering task processing method of a kind of Automatic dispatching Node station
CN107769985A (en) A kind of computer network management system
CN105607956B (en) Method for allocating tasks and system in a kind of computer
CN115904669A (en) Task scheduling method, system, electronic device and computer readable storage medium
CN102567825A (en) Flow configuration method and device for workflow
KR102460039B1 (en) Methods, equipment and storage medium to reduce the waiting time for human-computer interaction
CN107016475B (en) Method and device for electric commerce worksheet system platformization
CN105404527B (en) Interface allocation method and system based on SAP platform
KR100671146B1 (en) Interface apparatus of Manufacturing Execution System
US10572931B2 (en) Approving group purchase requests
US20190391553A1 (en) Control Program and Method for Operating an Engineering System for an Industrial Process Automation System
JP7393137B2 (en) Information systems and information management methods
CN112637341A (en) File uploading method and device, electronic equipment and storage medium
CN110209497A (en) Method and system for dynamically expanding and shrinking host resources
CN104123625A (en) Food warehouse management platform based on RFID technology
CN103559583A (en) Method and device for modifying organizations in EPR system
TWI814950B (en) Batch scheduling system
CN203911987U (en) Data processing system based on cloud computing
CN107728567A (en) Data processing method and system
CN107578147A (en) A kind of enterprise information technology management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant