CN102314631A - Event processing device of manufacturing execution system - Google Patents

Event processing device of manufacturing execution system Download PDF

Info

Publication number
CN102314631A
CN102314631A CN2010102216125A CN201010221612A CN102314631A CN 102314631 A CN102314631 A CN 102314631A CN 2010102216125 A CN2010102216125 A CN 2010102216125A CN 201010221612 A CN201010221612 A CN 201010221612A CN 102314631 A CN102314631 A CN 102314631A
Authority
CN
China
Prior art keywords
event
type
text
module
detection model
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.)
Granted
Application number
CN2010102216125A
Other languages
Chinese (zh)
Other versions
CN102314631B (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

Images

Abstract

The invention discloses an event processing device of a manufacturing execution system. The event processing device comprises an operating interface, a message buffering module, an event type module, an event detection model module, an event processing logic module, a message type configuration module and an event monitoring service module, wherein the event monitoring service module sequentially triggers corresponding event processing logics in the event processing logic module based on contents of a message queue according to the message queue in the message buffering module, message type configuration which is stored in the message type configuration module, an event detection model which is stored in the event detection model module and an event type which is stored in the event type module. The event processing device of the manufacturing execution system has the advantages that: the operation of the event processing logics is not directly dependent on a message item structure of a message of a process control computer system; the event type, the event detection model and the event processing logics can form an independent internal event industry library, and a specific message type is associated through configuration; and the event processing device is high in independence.

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
The Enterprise Production Management Informational System architecture generally is divided into level Four: basic automation systems (Automation System; Hereinafter to be referred as L1), process control computer system (pcs system; Hereinafter to be referred as L2), manufacturing execution system (MES system; Hereinafter to be referred as L3), enterprise resource planning (ERP system is hereinafter to be referred as L4).L3 is responsible for formulation, execution and the actual achievement feedback of the production schedule, towards production equipment; The last L3 that connects of L2 connects L1 down, and L2 monitors Field Production Data, and the data of its collection need be reported to L3, and triggered the event handling logic of L3.In the enterprise information system of reality, the system that L2 is normally different with L3 is from different suppliers; In Enterprise Production Management Informational System; How the L3 layer obtains the data variation of L2 layer, and carries out corresponding business operation, this be the production management system of enterprise the problem that must face.
Enterprise Production Management Informational System, the main mode that L2 communicates by letter with L3 is a teletext communication, and L2 sends text to L3, and said text is as shown in table 1, comprises a text type identification sign indicating number, one or table 1:
Text type identification sign indicating number The first text item The second text item ...... N text item
A plurality of text items comprise the length after inlet coil of strip number, outlet steel reel number, coil of strip weight, coil of strip launch, the width of coil of strip, the thickness of coil of strip, the external diameter of coil of strip, the text items such as internal diameter of coil of strip like the coil of strip electronic message.Common Enterprise Production Management Informational System L2 and the teletext communication of L3; Be that event processing apparatus is set in L3; In the text configuration module, set up earlier the corresponding relation of text type identification sign indicating number and event handling logic; Event processing apparatus directly triggered corresponding event handling logical operation according to the type of the text that receives and the value of text item when system moved, the instruction of output corresponding service processing.This causes L3 big to the degree of dependence of L2; L3 event processing apparatus event handling logical operation relies on the text item structure of L2 text fully; There is different text item structures in different L2 systems, so L3 event processing apparatus event handling logic need be to different L2 difference stand-alone developments.The L3 event processing apparatus is difficult to form the stable event handling logic industry storehouse that can in a plurality of projects, use.
Summary of the invention
The technical matters that the present invention will solve provides a kind of event processing apparatus of manufacturing execution system, and its event handling logical operation 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;
Said text cache module is used for the message queue that storing process control computer system sends;
Said event type module is used to store event type, and the information project of an event type comprises event type numbering, one or more event type attribute;
Said event detection model module is used to store the event detection model; The information project of one event detection model comprises that an event detection pattern number, one or more input parameter, detect logic, one or more detection logical value and events corresponding type number, one of the detection logical value correspondence of each event detection model or the event type numbering of zero;
Said event handling logic module; Be used to store the event handling logic; The information project of one event handling logic comprises an event handling logic identification sign indicating number, an event handling logical name, event handling logical expression, corresponding event type; Said event handling logic is divided into multiclass; Every type comprises one or more event handling logics, and each parameter of the event handling logical expression of of a sort each event handling logic corresponds respectively to each event type attribute of the same event type in the said event type module;
Said text type configuration module is used to store the text type configuration, and the information project of a text type configuration comprises a text type identification sign indicating number, 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 creates, revises or delete the text type configuration through operation interface;
Said event-monitoring service module; According to the text type configuration of the message queue in the said text cache module, said text type configuration module stores, the event detection model of said event detection pattern die storage, the event type of said event type module stores, trigger the events corresponding processing logic successively by the message queue content;
The concrete workflow of said event-monitoring service module is following:
One. start working;
Two. read a text that deposits at first in the message queue in the text cache module, obtain the text type identification sign indicating number of this text;
Three. according to said text type configuration module, obtain the pairing event detection pattern number of text type identification sign indicating number, parameter-text item corresponding relation, the event type-event handling logic corresponding relation of this text;
Four. according to said event detection model module; Obtain the pairing parameter of said event detection pattern number, detect logic; And, be that parameter value is complied with said detection logic and carried out computing and obtain detecting logical value with the value of the text item of said text according to said parameter-text item corresponding relation;
Five. according to said event type module, obtain the corresponding event type of said detection logical value and number pairing event type attribute;
Six. with said event type attribute, handle by said event handling logic;
Seven. read next bar text in the message queue in the text cache module, obtain the text type identification sign indicating number of next bar text, carry out step 3.
Event type in the said event type module can comprise what built-in and user created through operation interface; Built-in event type forbids that the user makes amendment through operation interface or deletes, and the event type of establishment allows the user to make amendment through operation interface or deletes.
Said event detection model can comprise what built-in and user created through operation interface.
The information project of a said event type can also comprise an event type title; The information project of a said 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 control computer system sends; Event type in the event type module has the attribute of oneself; The information project of the event detection model in the event detection model module comprises input parameter, detects logic, one or more detection logical value and events corresponding type number; The detection logic of each the event detection model event type corresponding with detecting logical value fixed; Detect logic input parameter is carried out computing; The manufacturing execution system event type of decision output, the event handling logic of the event type that the text item of input parameter and text is corresponding, export can specifically be set when text type configuration block configuration as required; The user through operation interface to the configuration of making amendment of each the text type identification sign indicating number in the text type configuration module corresponding event detection pattern number, parameter-text item corresponding relation, event type-information such as event handling logic corresponding relation; To different process control computer system text types; Related corresponding event detection model, parameter-text item corresponding relation; And event type-event handling logic corresponding relation; Set up the input parameter of incident detection model and from the corresponding relation of the concrete data of the text item of process control computer system text through parameter-text item corresponding relation; Through Configuration events type-event handling logic corresponding relation; Event type to output is handled according to the event handling logic of configuration according to the attribute of this event type, controls the work of corresponding manufacturing execution system service unit.Because the input of event handling logic is the attribute of event type, rather than the process control computer system telegraph text data, through event type and text type configuration, can the realization event processing logic and the independence of process control computer system text.The event processing apparatus of manufacturing execution system of the present invention; Can obtain data variation in real time with response process control computer system; The operation flow that realizes manufacturing execution system and process control computer system is integrated; And the text communication with between process control computer system is an asynchronous communication; Process control computer system need not wait for that the event processing apparatus of manufacturing execution system receives text and detects processing events after sending text, does not even need the event processing apparatus on-line operation of manufacturing execution system, has improved the independence and the availability of process control computer system and manufacturing execution system greatly; 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; Can form the built-in incident industry storehouse that is independent of process control computer system, arrive concrete text type through configuration association again.
Description of drawings
Below in conjunction with accompanying drawing and embodiment the present invention is done further explain.
Fig. 1 is the event processing apparatus one embodiment synoptic diagram of manufacturing execution system of the present invention;
Fig. 2 is the synoptic diagram of the concrete workflow of event-monitoring service module 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 is as shown in Figure 1; Manufacturing execution system (MES system; L3) the same process control computer system (pcs system of event processing apparatus; L2) carry out asynchronous teletext communication between, the text that process control computer system sends to the event processing apparatus of manufacturing execution system comprises text type identification sign indicating number, 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;
Said text cache module is used for the message queue that storing process control computer system sends;
Said event type module is used to store event type; Event type is as shown in table 2; The information project of one event type comprises event type numbering, an event type title, one or more event type attribute, an event type origin etc.; Event type is divided into the event processing apparatus of built-in event type and manufacturing execution system by its origin user passes through the event type that operation interface is created; Built-in event type forbids that the user of the event processing apparatus of manufacturing execution system makes amendment through operation interface or deletes, and the event type of establishment allows the user of the event processing apparatus of manufacturing execution system to make amendment through operation interface or deletes.
Table 2:
Figure BSA00000179274000061
Said event detection model module is used to store the event detection model; The information project of one event detection model comprises that an event detection pattern number, an event detection model name, one or more input parameter, detect logic, one or more detection logical value and events corresponding type number; The detection logical value of each event detection model corresponding one or zero event type numbering, as shown in table 3.
Said event detection model comprises the event detection model that the user of the event processing apparatus of built-in event detection model and manufacturing execution system creates through operation interface.
Said event handling logic module; Be used to store the event handling logic; The event handling logic is as shown in table 4; The information project of one event handling logic comprises an event handling logic identification sign indicating number, an event handling logical name, event handling logical expression, corresponding event type, and said event handling logic is divided into multiclass, and every type comprises one or more event handling logics; Each parameter of the event handling logical expression of of a sort each event handling logic corresponds respectively to each event type attribute of the same event type in the said event type module
Table 3:
Table 4:
Figure BSA00000179274000072
Said text type configuration module; Be used to store the text type configuration; The information project of one text type configuration comprises a text type identification sign indicating number, an event detection pattern number, one or more parameter-text item corresponding relation, one or more event type-event handling logic corresponding relation, and is as shown in table 5.
Table 5:
Figure BSA00000179274000082
Said text type configuration module; The user of the event processing apparatus of manufacturing execution system can create the text type configuration through operation interface, revise corresponding event detection pattern number, parameter-text item corresponding relation, the event type-information projects such as event handling logic corresponding relation of text type identification sign indicating number in the text type configuration in said text type configuration module, or deletes a text type configuration;
Said event-monitoring service module; According to the text type configuration of the message queue of storing in the said text cache module, said text type configuration module stores, the event detection model of said event detection pattern die storage, the event type of said event type module stores; Trigger the corresponding event processing logic successively by the message queue content; Can control the work of corresponding manufacturing execution system service unit, be embodied as the service of manufacturing execution system.
After the event processing apparatus of manufacturing execution system started, said event-monitoring service module was started working, and the concrete workflow of said event-monitoring service module is as shown in Figure 2:
One. start working;
Two. read a text that deposits at first in the message queue in the text cache module, obtain the text type identification sign indicating number of this text;
Three. according to said text type configuration module, obtain the pairing event detection pattern number of text type identification sign indicating number, parameter-text item corresponding relation, the event type-event handling logic corresponding relation of this text;
Four. according to said event detection model module; Obtain the pairing parameter of said event detection pattern number, detect logic; And, be that parameter value is complied with said detection logic and carried out computing and obtain detecting logical value with the value of the text item of said text according to said parameter-text item corresponding relation;
Five. according to said event type module, obtain the corresponding event type of said detection logical value and number pairing event type attribute;
Six. with said event type attribute, handle by said event handling logic;
Seven. read next bar text in the message queue in the text cache module, obtain the text type identification sign indicating number of next bar 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 control computer system sends; Event type in the event type module has the attribute of oneself; The information project of the event detection model in the event detection model module comprises input parameter, detects logic, one or more detection logical value and events corresponding type number; The detection logic of each the event detection model event type corresponding with detecting logical value fixed; Detect logic input parameter is carried out computing; The event type of decision output, the event handling logic of the event type that the text item of input parameter and text is corresponding, export can specifically be set when text type configuration block configuration as required; The user through operation interface to the configuration of making amendment of each the text type identification sign indicating number in the text type configuration module corresponding event detection pattern number, parameter-text item corresponding relation, event type-information such as event handling logic corresponding relation; To different process control computer system text types; Related corresponding event detection model, parameter-text item corresponding relation; And event type-event handling logic corresponding relation; Set up the input parameter of incident detection model and from the corresponding relation of the concrete data of the text item of process control computer system text through parameter-text item corresponding relation; Through Configuration events type-event handling logic corresponding relation; Event type to output is handled according to the event handling logic of configuration according to the attribute of this event type, controls the work of corresponding manufacturing execution system service unit.Because the input of event handling logic is the attribute of event type, rather than the process control computer system telegraph text data, through event type and text type configuration, can the realization event processing logic and the independence of process control computer system text.The event processing apparatus of manufacturing execution system of the present invention; Can obtain data variation in real time with response process control computer system; The operation flow that realizes manufacturing execution system and process control computer system is integrated; And the text communication with between process control computer system is an asynchronous communication; Process control computer system need not wait for that the event processing apparatus of manufacturing execution system receives text and detects processing events after sending text, does not even need the event processing apparatus on-line operation of manufacturing execution system, has improved the independence and the availability of process control computer system and manufacturing execution system greatly; 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; Can form the built-in incident industry storehouse that is independent of process control computer system, arrive concrete text type through configuration association again.

Claims (4)

1. the event processing apparatus of a 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;
Said text cache module is used for the message queue that storing process control computer system sends;
Said event type module is used to store event type, and the information project of an event type comprises event type numbering, one or more event type attribute;
Said event detection model module is used to store the event detection model; The information project of one event detection model comprises that an event detection pattern number, one or more input parameter, detect logic, one or more detection logical value and events corresponding type number, one of the detection logical value correspondence of each event detection model or the event type numbering of zero;
Said event handling logic module; Be used to store the event handling logic; The information project of one event handling logic comprises an event handling logic identification sign indicating number, an event handling logical name, event handling logical expression, corresponding event type; Said event handling logic is divided into multiclass; Every type comprises one or more event handling logics, and each parameter of the event handling logical expression of of a sort each event handling logic corresponds respectively to each event type attribute of the same event type in the said event type module;
Said text type configuration module is used to store the text type configuration, and the information project of a text type configuration comprises a text type identification sign indicating number, 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 creates, revises or delete the text type configuration through operation interface;
Said event-monitoring service module; According to the text type configuration of the message queue in the said text cache module, said text type configuration module stores, the event detection model of said event detection pattern die storage, the event type of said event type module stores, trigger the events corresponding processing logic successively by the message queue content;
The concrete workflow of said event-monitoring service module is following:
One. start working;
Two. read a text that deposits at first in the message queue in the text cache module, obtain the text type identification sign indicating number of this text;
Three. according to said text type configuration module, obtain the pairing event detection pattern number of text type identification sign indicating number, parameter-text item corresponding relation, the event type-event handling logic corresponding relation of this text;
Four. according to said event detection model module; Obtain the pairing parameter of said event detection pattern number, detect logic; And, be that parameter value is complied with said detection logic and carried out computing and obtain detecting logical value with the value of the text item of said text according to said parameter-text item corresponding relation;
Five. according to said event type module, obtain the corresponding event type of said detection logical value and number pairing event type attribute;
Six. with said event type attribute, handle by said event handling logic;
Seven. read next bar text in the message queue in the text cache module, obtain the text type identification sign indicating number of next bar 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 the said event type module comprises what built-in and user created through operation interface; Built-in event type forbids that the user makes amendment through operation interface or deletes, and the event type of establishment allows the user to make amendment through operation interface or deletes.
3. the event processing apparatus of manufacturing execution system according to claim 1 is characterized in that, said event detection model comprises what built-in and user created through operation interface.
4. the event processing apparatus of manufacturing execution system according to claim 1 is characterized in that, the information project of a said event type also comprises an event type title; The information project of a said 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 true CN102314631A (en) 2012-01-11
CN102314631B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868691A (en) * 2012-09-13 2013-01-09 北京佰能电气技术有限公司 Full-allocated data communication method and system
CN104635660A (en) * 2013-11-06 2015-05-20 西门子公司 Method of producing a pharmaceutical product using a MES
CN109725587A (en) * 2017-10-27 2019-05-07 上海宝信软件股份有限公司 A kind of operation history recording method based on man-machine interface
CN111722983A (en) * 2020-06-19 2020-09-29 中国银行股份有限公司 Configurable event operation control method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7162534B2 (en) * 2001-07-10 2007-01-09 Fisher-Rosemount Systems, Inc. Transactional data communications for process control systems
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

Cited By (8)

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

Also Published As

Publication number Publication date
CN102314631B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN107220892B (en) Intelligent preprocessing tool and method applied to massive P2P network loan financial data
CN101876938B (en) Message queue-based application software response time measuring method
CN104021043B (en) The interruption re-access method and system of batch application program
CN104317928A (en) Service ETL (extraction-transformation-loading) method and service ETL system both based on distributed database
CN101958804A (en) Method for promoting warning processing efficiency, server and system
KR101365840B1 (en) Work item event procession
CN106909554B (en) Method and device for loading database text table data
CN102226890A (en) Monitoring method and device for host batch job data
CN111224843B (en) Resource link monitoring method, device, equipment and storage medium
CN111881221A (en) Method, device and equipment for customer portrait in logistics service
Wibowo Problems and available solutions on the stage of extract, transform, and loading in near real-time data warehousing (a literature study)
CN102314631A (en) Event processing device of manufacturing execution system
CN105607956B (en) Method for allocating tasks and system in a kind of computer
CN110928696B (en) User-level thread control system and method thereof
CN110032154A (en) A kind of production control method and system of be pilot
CN104268244A (en) Method and device for processing form
CN112256044A (en) Method, device and storage medium for reducing waiting time of human-computer interaction
US10324958B2 (en) Extraction, aggregation and query of maintenance data for a manufactured product
CN110727505B (en) Distributed task scheduling and service monitoring system capable of being hot-loaded
CN106020955A (en) Infinite big data workflow dispatching platform
Goel et al. End-to-end process extraction in process unaware systems
CN102236915A (en) Ticketing system
JP6477311B2 (en) Job execution calendar management program, job execution calendar management device, and job execution calendar management method
CN110888928B (en) Visual control method based on ETL tool service assembly
Xu et al. Analysis and design of logistics warehousing management information system based on RFID

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