CN103268567A - Manufacturing management system-oriented high-efficiency large-scale event detection and handling method - Google Patents
Manufacturing management system-oriented high-efficiency large-scale event detection and handling method Download PDFInfo
- Publication number
- CN103268567A CN103268567A CN2013100978772A CN201310097877A CN103268567A CN 103268567 A CN103268567 A CN 103268567A CN 2013100978772 A CN2013100978772 A CN 2013100978772A CN 201310097877 A CN201310097877 A CN 201310097877A CN 103268567 A CN103268567 A CN 103268567A
- Authority
- CN
- China
- Prior art keywords
- event
- detecting
- production
- handling
- management system
- 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
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Abstract
The invention provides a manufacturing management system-oriented high-efficiency large-scale event detection and handling method. An event triggering way comprises multiple modes including detection message-based event triggering, detection equipment parameter-based event triggering and the like. Events are handled according to specified logics after being triggered, and the handling results of the events are issued to event subscription ends. According to the manufacturing management system-oriented high-efficiency large-scale event detection and handling method provided by the invention, by adopting the distributed software technology, event detection and handling modules are deployed by multiple nodes; all nodes bear different event handling tasks, and thus, loads of all the nodes can be effectively balanced, the real-time and high-efficiency detection and handling of large-scale concurrent events are realized, and the events are ensured to be at a millisecond level from production to response, so that a production manager knows the information of alarm, a material status and an equipment status during production in time, the production efficiency is effectively improved, and the production cost is reduced.
Description
Technical field
The present invention relates to the management software system field of manufacturing, adopt the computer distribution type technology, particularly a kind of efficient, large-scale concurrent event detecting and disposal route.
Background technology
At present, in the manufacturing production run, product amounts is huge, and need carry out strict batch, tracking and managing process, and the activity of whole production line (can abstractly be a series of events) has higher concurrent density and logical complexity.This just requires system to have case detecting and processing power efficiently.
In traditional method, the detecting of event and processing are as an operation logic, and order is handled, and can cause the obstruction of event, has influenced the real-time of system.
Summary of the invention
Detecting at event in manufacturing management system processing speed strong with the processing real-time, that sequential processes causes waits problem slowly, the present invention proposes a kind of employing multi-thread concurrent detecting event, mass incident detecting and the disposal route of the event that has triggered with the mode parallel processing of asynchronous trust.
The technical scheme that the present invention adopts for achieving the above object is: a kind of mass incident detecting and disposal route towards the manufacturing management system may further comprise the steps:
With activity in production abstract be some production events, each production event is responsible for detecting by a detecting thread, described detecting thread has the parameter attribute that different cycles and corresponding production event with it are associated;
When the production event of detecting satisfies trigger conditions, the detecting thread is entrusted to the event handling thread in the mode of asynchronous trust with the production event and is handled, and the interface channel of maintenance and client, the production event of described detecting starts the triggering process by client subscription or transmission message;
Logic according to appointment is handled the production event, with the corresponding interface channel notice client of production event handling result by having safeguarded.
The production event of described client subscription is saved in the event handling record sheet of client.
Production event in the described event handling record sheet is divided into four classes: in the detecting, pending, handle in, dispose, search is in the production event in pending and the processing when starting in system, and handles accordingly.
Described event handling record sheet is buffered to earlier in the internal memory when upgrading, and regularly is written in the data in server storehouse by internal memory again.
The processing of described event is born by a plurality of service nodes in the server cluster, and each service node is born different production event handling tasks.
The present invention has the following advantages: in the method case detecting and processing are divided into two processing units, the detecting of event is not disturbed mutually with processing, thereby has strengthened the performance of system.Adopt multithreading detecting event, Event triggered utilizes asynchronous trust technology to carry out event handling later on, mode with readjustment is notified production manager, event sends to subscriber's control at Millisecond from producing to, thereby detecting scale and the treatment effeciency of the event of raising, can carry out extensive, concurrent event detecting and processing, effectively enhance productivity; Adopt after this method detecting event, replaceable existing personal monitoring's mode, thus reduced production cost.
Description of drawings
The system framework figure that Fig. 1 uses for the present invention;
Fig. 2 is the event handling process flow diagram of each service node.
Embodiment
The present invention is described in further detail below in conjunction with drawings and Examples.
Fig. 1 shows the system framework figure that the present invention uses, and system is made up of service end and client, and client is communicated by letter with service end by network.
Service end is transparent to client, and client is subscribed to event to service end, as required event message is sent to service end.Service end is handled the event that has triggered, and processed the finishing afterwards of event returns to client in the mode of adjusting back with result.System adopts Enterprise SOA (SOA-service oriented architecture), and service end is the server zone collecting system that multinode constitutes.In trooping, each detecting of service node run case and handling procedure, each service node is born different case detectings and Processing tasks.Client is by WCF(Windows Communication Foundation) technology subscribes to event to service end, and service end can safeguard that this WCF passage connects.Client sends to certain service node of service end with event message, and this service node is forwarded to all the interior service nodes of trooping with this message.This message event can be born the service node of this event task and be handled, and then result is adjusted back to client by WCF.The present invention can effectively apply in the detecting and disposal system of mass incident in the manufacturing production run.
Figure 2 shows that the event handling process flow diagram of each service node.The execution flow process of the reciprocal process of client and service end and each service node is as follows:
Production manager can be by client its event of paying close attention to of freely subscribing to or cancel subscriptions, and case detecting and processing module can be safeguarded an event subscription tabulation, in time add new subscriber, remove the subscriber of cancellation; Case detecting and processing module are divided into four classes with the treatment state of event: in the detecting, pending, handle in, dispose.Case detecting and processing module may be owing to reasons such as computer circuit breakings, fail some event that has triggered of normal process.Therefore, when case detecting and processing module start, need check the event handling record sheet, with those be in pending or handle in events handle again, after the normal process state is updated to and disposes.After case detecting and processing module start, according to the parameter attribute of event correlation, start the case detecting thread of different cycles, each thread is responsible for detecting different event tasks.When the event argument of detecting satisfied trigger conditions, the detecting thread can be entrusted the event handling thread with the processing of event in the mode of asynchronous trust.Utilize the asynchronous process characteristic of entrusting, realized processing extensive, concurrent event.Production manager also can be by sending the message trigger event, and the processing procedure of event and readjustment process are identical with the event handler procedure that triggers based on detection parameters.
After the production manager subscription event, case detecting and processing module can safeguard and the subscriber between interface channel, after producing certain event by this passage readjustment subscriber.
The detecting of event, the processing of event and readjustment subscriber are concurrent execution.
When starting, case detecting and processing module check the event handling record sheet, again handle the correct event of handling of failing before, start multithreading then according to different cycle detecting events, utilize the trust technology of .NET after the Event triggered, the concurrent processing event, and update event is handled record sheet;
Production manager simultaneously can be by sending the message trigger event by the client subscription event, and case detecting and processing module are notified production manager in the mode of readjustment after handling event, and production manager is handled according to event type.
Described inspection event handling record sheet may further comprise the steps: case detecting and processing module are divided into four classes with the treatment state of event: in the detecting, pending, handle in, dispose, case detecting and processing module may be owing to reasons such as computer circuit breakings, fail some event that has triggered of normal process, therefore, when case detecting and processing module startup, need check the event handling record sheet, those events that are in pending or the processing are handled again, after the normal process state is updated to and disposes, this process is also referred to as event of failure and recovers.
Described startup multithreading detecting may further comprise the steps with the processing event: after case detecting and processing module start, according to the parameter attribute of event correlation, start the case detecting thread of different cycles, each thread is responsible for detecting different event tasks, when the event argument of detecting satisfies trigger conditions, the detecting thread can be entrusted the event handling thread with the processing of event in the mode of asynchronous trust, utilizes the asynchronous process characteristic of entrusting, and has realized processing extensive, concurrent event.
Described update event is handled record sheet and be may further comprise the steps: the record sheet of case detecting and processing module maintenance event processing simultaneously in internal memory and in the database, it is in order to improve processing speed that event handling record at first is cached to internal memory, and the data in the internal memory regularly write in the database; In the case detecting process state of event for the detecting in, satisfy trigger conditions after, the state of event is updated to pending, after event entrusts the processing thread to begin to handle, the state of event is in handling, and after event was successfully handled, the state of event was for disposing.
It is as follows that described production manager is subscribed to the event step: production manager can be by client its event of paying close attention to of freely subscribing to or cancel subscriptions, case detecting and processing module can be safeguarded an event subscription tabulation, in time add new subscriber, remove the subscriber of cancellation.
The step that described production manager sends the message trigger event is as follows: production manager can be by sending the message trigger event, and the processing procedure of event and readjustment process are identical with the event handler procedure that triggers based on detection parameters.
Described case detecting and processing module readjustment subscriber's step is as follows: the subscriber at first needs to realize the method for callback interface, the method is used for case detecting and processing module is notified the subscriber, after the production manager subscription event, case detecting and processing module can safeguard and the subscriber between interface channel, after producing certain event by this passage readjustment subscriber.
Claims (5)
1. mass incident detecting and disposal route towards a manufacturing management system is characterized in that, may further comprise the steps:
With activity in production abstract be some production events, each production event is responsible for detecting by a detecting thread, described detecting thread has the parameter attribute that different cycles and corresponding production event with it are associated;
When the production event of detecting satisfies trigger conditions, the detecting thread is entrusted to the event handling thread in the mode of asynchronous trust with the production event and is handled, and the interface channel of maintenance and client, the production event of described detecting starts the triggering process by client subscription or transmission message;
Logic according to appointment is handled the production event, with the corresponding interface channel notice client of production event handling result by having safeguarded.
2. mass incident detecting and disposal route towards the manufacturing management system according to claim 1 is characterized in that the production event of described client subscription is saved in the event handling record sheet of client.
3. the mass incident towards the manufacturing management system according to claim 2 is detected and disposal route, it is characterized in that, production event in the described event handling record sheet is divided into four classes: in the detecting, pending, handle in, dispose, search is in the production event in pending and the processing when system starts, and handles accordingly.
4. mass incident detecting and disposal route towards the manufacturing management system according to claim 2 is characterized in that described event handling record sheet is buffered to earlier in the internal memory, regularly is written in the data in server storehouse by internal memory again when upgrading.
5. the mass incident towards the manufacturing management system according to claim 1 is detected and disposal route, it is characterized in that, the processing of described event is born by a plurality of service nodes in the server cluster, and each service node is born different production event handling tasks.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310097877.2A CN103268567B (en) | 2013-03-25 | 2013-03-25 | The efficient mass incident detecting of Facing to Manufacturing trade management system and processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310097877.2A CN103268567B (en) | 2013-03-25 | 2013-03-25 | The efficient mass incident detecting of Facing to Manufacturing trade management system and processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103268567A true CN103268567A (en) | 2013-08-28 |
CN103268567B CN103268567B (en) | 2016-12-28 |
Family
ID=49012194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310097877.2A Active CN103268567B (en) | 2013-03-25 | 2013-03-25 | The efficient mass incident detecting of Facing to Manufacturing trade management system and processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103268567B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103559573A (en) * | 2013-10-22 | 2014-02-05 | 沈阳建筑大学 | Production process event modeling method based on rules |
CN110908341A (en) * | 2018-09-18 | 2020-03-24 | 中国科学院沈阳自动化研究所 | System and method for realizing real-time monitoring of production process |
CN111314217A (en) * | 2019-12-09 | 2020-06-19 | 上海金融期货信息技术有限公司 | Multilink transmission system |
CN114741063A (en) * | 2022-04-06 | 2022-07-12 | 山东赤子城网络技术有限公司 | Programming frame realizing method and system based on Lua language |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1878206B (en) * | 2006-07-07 | 2010-11-10 | 华为技术有限公司 | Event subscription method and system |
CN102195825B (en) * | 2010-03-05 | 2015-11-25 | 新奥特(北京)视频技术有限公司 | A kind of client and the complete mutual supervisory control system of server and method for supervising thereof |
CN102360310B (en) * | 2011-09-28 | 2014-03-26 | 中国电子科技集团公司第二十八研究所 | Multitask process monitoring method in distributed system environment |
CN102562162B (en) * | 2011-12-14 | 2014-05-07 | 北京邮电大学 | Event-handling-based coal mine alarm system and method |
-
2013
- 2013-03-25 CN CN201310097877.2A patent/CN103268567B/en active Active
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103559573A (en) * | 2013-10-22 | 2014-02-05 | 沈阳建筑大学 | Production process event modeling method based on rules |
CN110908341A (en) * | 2018-09-18 | 2020-03-24 | 中国科学院沈阳自动化研究所 | System and method for realizing real-time monitoring of production process |
CN111314217A (en) * | 2019-12-09 | 2020-06-19 | 上海金融期货信息技术有限公司 | Multilink transmission system |
CN111314217B (en) * | 2019-12-09 | 2021-12-17 | 上海金融期货信息技术有限公司 | Multilink transmission system |
CN114741063A (en) * | 2022-04-06 | 2022-07-12 | 山东赤子城网络技术有限公司 | Programming frame realizing method and system based on Lua language |
CN114741063B (en) * | 2022-04-06 | 2023-08-22 | 山东赤子城网络技术有限公司 | Method and system for realizing programming framework based on Lua language |
Also Published As
Publication number | Publication date |
---|---|
CN103268567B (en) | 2016-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10409650B2 (en) | Efficient access scheduling for super scaled stream processing systems | |
US20170242889A1 (en) | Cache Based Efficient Access Scheduling for Super Scaled Stream Processing Systems | |
WO2019182670A1 (en) | Endpoint process state collector | |
US10503636B2 (en) | Concurrent hierarchical dead actor collection in a distributed system | |
Kamburugamuve et al. | Survey of distributed stream processing for large stream sources | |
US8954971B2 (en) | Data collecting method, data collecting apparatus and network management device | |
US11061885B2 (en) | Autonomous anomaly detection and event triggering for data series | |
CN111124806B (en) | Method and system for monitoring equipment state in real time based on distributed scheduling task | |
CN105653425A (en) | Complicated event processing engine based monitoring system | |
Yu et al. | Edge computing-assisted IoT framework with an autoencoder for fault detection in manufacturing predictive maintenance | |
CN103268567A (en) | Manufacturing management system-oriented high-efficiency large-scale event detection and handling method | |
CN111124392A (en) | Method for improving high concurrency capability of Internet of things platform rule engine | |
CN102457578A (en) | Distributed network monitoring method based on event mechanism | |
CN115801563A (en) | Method and application for dynamically collecting cluster logs | |
CN104734895A (en) | Service monitoring system and service monitoring method | |
Bautista et al. | Shasta log aggregation, monitoring and alerting in HPC environments with Grafana Loki and ServiceNow | |
CN113765777A (en) | Equipment control method, message transfer method, equipment, readable medium and Internet of things | |
US9576268B2 (en) | Distributed data analysis | |
US20230229461A1 (en) | Correlation engine and policy manager (cpe), method and computer program product | |
US20230195543A1 (en) | Application programming interface (api) server for correlation engine and policy manager (cpe), method and computer program product | |
US11269706B2 (en) | System and method for alarm correlation and aggregation in IT monitoring | |
CN106850283B (en) | Event-driven cloud AC alarm processing system and method | |
CN106713051A (en) | Network management system | |
CN104123494B (en) | Early warning method and device for malicious software dynamic behavior analysis system | |
Akber et al. | FATM: A failure‐aware adaptive fault tolerance model for distributed stream processing systems |
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 |