|By Kamalkumar Mistry||
|November 29, 2012 11:00 AM EST||
In the current world, data is continuously being generated across various layers of organizations and environment due to changes in the system states or due to the occurrence of new events. These changes in the state of the existing system can happen due to the arrival of a new order request, customer service calls for complaints or feedback, changes in the company stock prices, text or multimedia messages, emails, social media posts, traffic reports, weather reports or any other kind of data. Simply producing reports using these data on a pre-defined schedule is not enough. Decision makers need real-time alerts and intelligent insight of all that is happening within and around the organization so that they may take meaningful reactive and proactive action before it is too late based on the new information being continuously generated.
A powerful technique called Complex Event Processing (CEP) is used for analyzing events coming from multiple sources over a specific period of time by detecting complex patterns between events and by making correlations. Apart from CEP, Artificial Neural Network (ANN) is also used to model complex relationships between input events data. Both the approaches have their own pros and cons. In this article, we tried to describe a use case in the health care domain with the solution architecture using both CEP and ANN, combining the best capabilities of both the approaches. We have shown how one can use both the techniques together to solve highly complex problems in real or near real time.
The following two sections gives brief introduction about CEP and ANN respectively with their key benefits. In section 4, we have explained the approach which combines both the CEP and the ANN efficiently to provide better solution of complex problems. Section 5 and 6 explains the Health Care: Patient Monitoring System use case with the problem description and proposed solution approach using CEP and ANN, followed by the section with summary and conclusion.
Complex Event Processing
Complex event processing is one of the key Operational Intelligence technology used to process one or more stream of data and information (also known as events) and deriving a meaningful conclusion using them. It allows one to set the request for an analysis or some query and then have it continuously executed and evaluated over time against one or many streams of events in a highly efficient manner. CEP is all about processing events that combines data from many sources to infer events or patterns that suggest more complicated circumstances . For example, CEP can be used as Fraud Detection system, to detect suspicious credit card usage by monitoring credit card activity in real time and relating the current transactions with the historical data about a particular customer. The historical data which can be used by CEP Fraud Detection system can be an average transaction amount, minimum and maximum values of the previous transactions, transaction frequencies, locality etc. On detecting fraudulent activity, CEP system can send an alert via an SMS or email to the customer or the credit card service provider to take quick reaction.
The primary goal of CEP is to (1) detect meaningful events or pattern of events which signifies either threats or opportunities from the series of events being received continuously and (2) send alerts for the same to responsible entity to respond as quickly as possible. The following diagram (as figure-1) describes high level view of the CEP system.
Figure 1: High-level view of the CEP system
As shown in Figure 1, the core of the complex event processing system is made up of set of input adapters, set of output adapters and various event processing modules such as event filtering modules, in-memory caching, aggregation over different windows (time-window, sliding window, tumbling window etc.), database lookups module, database writes module, correlation, joins, event pattern matching, state machines, dynamic queries etc. More the number of I/O adapters supported by the CEP, more flexible and adaptable it is and will be able to cover wide range of use cases as compared to the CEP tool having support for limited set of I/O adapters.
Key Benefits of CEP
The following are some of the key benefits the CEP provides to the business.
- Automatically identifies rare but important relationships between seemingly unrelated events or stream of events and accelerate timely responses to both the threats and opportunities.
- Using sophisticated analysis and event pattern matching techniques, the CEP improves resource allocation and timely problem resolution by prioritize situations that require the most urgent attention in real or near real time based on arrival of events.
- CEP helps organization to reduce operating costs by monitoring end-to-end performance of the system and provide timely alerts to rapidly identify potential SLA violations.
- CEP helps organization to fine tune their business processes by correlating SLA performance with industry metrics e.g. Six Sigma and various Quality metrics, to enhance overall productivity.
Artificial Neural Network
An Artificial Neural Network (ANN) is a computational model which resembles with the way human brain is made up of in structure and the way it works. Similar to human brain which is made up of billions of neurons interconnected by synapses, the ANN can be form as a network of computational nodes connected with each other through links. The ANN needs to be trained repeatedly with specific set of training data before it can be used in production environment. Due to its adaptive nature, the internal structure of the ANN can easily be changed based on external or internal information that flows through the network during the learning phase . The links are assigned weights during training process, which regulate the flow of data from one node to another. ANNs are used to model complex relationships between inputs and outputs data. ANN can efficiently find various patterns in input data or to predict future values of the system parameters. Due to its flexible construct, ANN can be very helpful in modeling complex systems which are very difficult otherwise by using traditional modeling techniques. Artificial neural networks are being applied in diverse of domains and fields. They are extensively used for doing image processing and recognition, speech recognition, credit card fraud detection, for prediction of protein structure in biotechnology and in the field of genetic science.
Artificial neural network consists of two types of interfaces with the external world, the input and the output. Since the ANN is made up of nodes or neurons and the links between them, a subset of total nodes in the ANN act as input nodes, which take data from the external world, a subset of nodes act as output node, which produces result and zero or more hidden nodes act as intermediary nodes, with having only connections with input or output nodes or other hidden nodes. Hence, the ANN is made up of nodes in input layer, nodes in output layer and zero or more internal layers.
Figure 2: High-level view of artificial neural network
The high level view of ANN is shown in figure-2. The diagram shows a typical neural network with total 12 nodes, three nodes in the input layer, seven nodes in the hidden layer and two nodes in the output layer. Before the neural network can be used in actual production environment, it is needed to be trained for particular environment. The process of training of ANN is called learning of neural network, which is generally done in one of the following three ways: (a) supervised learning; (b) unsupervised learning and (c) reinforcement learning. The more details about the ANN learning can be found in .
Key Benefits of ANN
Since ANNs can infer a function from inputs, they particularly are used in the applications where the complexity of the input data or system modeling makes the design of such a function impractical using traditional approaches. Following are some of the key benefits ANN provides.
- It is very easy to apply ANN to problem domains where the relationships are quite dynamic or non-linear among the input and output.
- Since ANN is capable of capturing many kind of relationships and complex patterns among data, ANN allows user to easily model the system which otherwise is very difficult or impossible to represent through traditional modeling approaches.
- The training information is not stored in any single element but is distributed in the entire network structure. This makes ANN fault tolerant and it reduces the impact of erroneous input on the result.
CEP and ANN Together
Having seen the key properties and benefits of using both, CEP and ANN, this section describes what if one apply both together for specific set of problems to make the modeling of the system and solution easy and efficient. The CEP is best in accepting data or events from multiple channels and apply various event processing operations on it, such as event filtering, event pattern matching, aggregation etc. Apart from that user can configure alerts based on various thresholds on various system parameters. But the CEP tools lakes the ability to predict future events or determine the values of the system parameters for future events, which can be efficiently done by the ANN. So if we combine best of CEP and best of ANN for a particular problem, the resulting solution could be very effective and efficient. In the following sections, we have described how the CEP and the ANN can be used together to solve a particular problem of patient monitoring system in the domain of Health care and medicines.
Patient Monitoring System
The patient monitoring system monitors and keeps track of various body parameters of the patient and provides the data for analysis to monitoring system. Various body parameters could be blood pressure, the percentage of oxygen in the blood, glucose level in the blood, heart beat rate, change in body temperature etc. Data provided by the patient monitoring system helps to make diagnostic decisions easy and more reliable. The quality of patient treatment and care giving can greatly be improved with the use of patient monitoring systems, since it allows generating alerts in case of sudden changes in the patient body parameters which could be dangerous to the patient's health or could be life threatening some time .
A Use Case
Goals of the patient monitoring system are to (1) continuously keeps track of the patient's body parameters and store the data for present or future references, (2) identify life-threatening changes in patient's body and raises timely alarms for the same, and (3) to determine whether patient's health is in normal condition or it is improving or worsening based on the continuously arriving input data from various medical monitors. Since no two human bodies react in a same way against given situation or medication, it is very difficult to derived common rule set which can be applied to all human bodies. Similarly, one person's body also reacts differently in different medical and environmental situations. For example, a particular heart beat rate can be normal in some situation, while the same can be very abnormal in the other situation. So to judge the proper health condition, a trained professional is required, i.e. a specialist doctor, who studies all the observations and determine the correct state of patient's health. If the patient monitoring system is equipped with some intelligent agent who will use patient's medical history and current body parameters observations, then quality of patient care delivery can greatly be improved. We combine CEP and ANN together to propose system architecture which tries to act as an intelligent agent of the patient monitoring system, which is described in the following section.
System Architecture of the intelligent patient monitoring system using CEP and ANN
The following diagram, in Figure 3, shows the architecture of the intelligent patient monitoring system using CEP and ANN. There are total five key components; (1) Medical monitors, (2) CEP, (3) Patient's medical history and diagnosis data store, (4) ANN and (5) ANN output to action message converter.
(1) Medical Monitors
Medical monitors are medical devices used for monitoring patient's body parameters. It can consist of one or more body parameter sensors, processing components, display devices as well as communication links for displaying, recording or transmitting data or results elsewhere through a monitoring network. In the proposed architecture, the data generated by medical monitors are fed into the CEP system. 
Figure 3: Architecture of the intelligent patient monitoring system using CEP and ANN
The CEP section of the proposed architecture is one of the key components of the system. It receives all the monitored data and applies various event processing techniques, such as filtering, aggregation etc. over input event streams and provides the data for further processing to ANN module. Various input adapters available in CEP make it possible to collect data from different types of sensors or monitors and process them collectively. In CEP module, various event processing rule are written specific to the patient.
(3) Patient's medical history and diagnosis data store
This is the data store where patient's medical history and diagnosis data is stored. It could be traditional RDBMS storage system. The data stored in this storage are used for ANN training purpose. The new data is continuously added into the same data storage and will be used next time when ANN will be trained again with patient's latest medical and diagnosis data.
The ANN model for the patient is computational neural network specific to the patient and trained using patient's all medical and diagnosis data. This trained ANN model is used for real-time diagnosis and care delivery. The decision is taken based on the input data coming from the CEP output adapters. The patient specific ANN model is trained at regular interval may be daily or on need bases. These regular updates which include latest knowledge about measured body parameters, diagnosis and medication information of the patient, helps ANN model to make accurate predictions. It is also possible to make ANN take biased decision by giving more weight to either historical data or the latest data during training. All these make ANN the most critical component of the system.
(5) ANN output to action message converter
The output generated by the ANN is generally real numbers and they are needed to be mapped to the meaningful information so that appropriate action can be taken. This is done by the ANN output to action message converter. The module not only map ANN output to real world information but it can also sends action data or alerts to devices or human being through email, SMS, alarm system etc. The threshold for various alerts can be configured so it can adapt to the changes happening to the health and body.
Together all these components make a very flexible, intelligent and efficient patient monitoring system. The proposed architecture shows how one can use CEP and ANN together more effectively to model the complex problem and provide efficient solution alternative over the traditional approaches.
Complex event processing and artificial neural network are the two widely used solution techniques for the problems that are very difficult to model using traditional approaches. In this article, we have described both the approaches in brief with their key capabilities. We have also described a use case for intelligent patient monitoring system with the solution architecture using both CEP and ANN and combining the best capabilities of both the approaches. We have shown how one can use both the techniques together to solve highly complex problems in real or near real time.
- Complex event processing, http://en.wikipedia.org/wiki/Complex_event_processing#cite_note-1
- Artificial neural network, http://en.wikipedia.org/wiki/Artificial_neural_network
- Patient Monitoring Systems - Part 1, http://www.philblock.info/hitkb/p/patient_monitoring_systems.html
APIs have taken the world by storm in recent years. The use of APIs has gone beyond just traditional "software" companies, to companies and organizations across industries using APIs to share information and power their applications. For some organizations, APIs are the biggest revenue drivers. For example, Salesforce generates nearly 50% of annual revenue through APIs. In other cases, APIs can increase a business's footprint and initiate collaboration. Netflix, for example, reported over 5 bi...
Apr. 29, 2016 09:30 PM EDT Reads: 2,540
As the software delivery industry continues to evolve and mature, the challenge of managing the growing list of the tools and processes becomes more daunting every day. Today, Application Lifecycle Management (ALM) platforms are proving most valuable by providing the governance, management and coordination for every stage of development, deployment and release. Recently, I spoke with Madison Moore at SD Times about the changing market and where ALM is headed.
Apr. 29, 2016 09:15 PM EDT Reads: 1,411
If there is anything we have learned by now, is that every business paves their own unique path for releasing software- every pipeline, implementation and practices are a bit different, and DevOps comes in all shapes and sizes. Software delivery practices are often comprised of set of several complementing (or even competing) methodologies – such as leveraging Agile, DevOps and even a mix of ITIL, to create the combination that’s most suitable for your organization and that maximize your busines...
Apr. 29, 2016 08:30 PM EDT Reads: 1,744
Struggling to keep up with increasing application demand? Learn how Platform as a Service (PaaS) can streamline application development processes and make resource management easy.
Apr. 29, 2016 07:45 PM EDT Reads: 2,011
New Relic, Inc. has announced a set of new features across the New Relic Software Analytics Cloud that offer IT operations teams increased visibility, and the ability to diagnose and resolve performance problems quickly. The new features further IT operations teams’ ability to leverage data and analytics, as well as drive collaboration and a common, shared understanding between teams. Software teams are under pressure to resolve performance issues quickly and improve availability, as the comple...
Apr. 29, 2016 07:30 PM EDT Reads: 2,401
The goal of any tech business worth its salt is to provide the best product or service to its clients in the most efficient and cost-effective way possible. This is just as true in the development of software products as it is in other product design services. Microservices, an app architecture style that leans mostly on independent, self-contained programs, are quickly becoming the new norm, so to speak. With this change comes a declining reliance on older SOAs like COBRA, a push toward more s...
Apr. 29, 2016 06:45 PM EDT Reads: 1,259
The proper isolation of resources is essential for multi-tenant environments. The traditional approach to isolate resources is, however, rather heavyweight. In his session at 18th Cloud Expo, Igor Drobiazko, co-founder of elastic.io, will draw upon their own experience with operating a Docker container-based infrastructure on a large scale and present a lightweight solution for resource isolation using microservices. He will also discuss the implementation of microservices in data and applicat...
Apr. 29, 2016 05:15 PM EDT Reads: 1,693
Join IBM June 8 at 18th Cloud Expo at the Javits Center in New York City, NY, and learn how to innovate like a startup and scale for the enterprise. You need to deliver quality applications faster and cheaper, attract and retain customers with an engaging experience across devices, and seamlessly integrate your enterprise systems. And you can't take 12 months to do it.
Apr. 29, 2016 04:30 PM EDT Reads: 1,775
This is not a small hotel event. It is also not a big vendor party where politicians and entertainers are more important than real content. This is Cloud Expo, the world's longest-running conference and exhibition focused on Cloud Computing and all that it entails. If you want serious presentations and valuable insight about Cloud Computing for three straight days, then register now for Cloud Expo.
Apr. 29, 2016 03:30 PM EDT Reads: 1,666
SYS-CON Events announced today that Stratoscale, the software company developing the next generation data center operating system, will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY. Stratoscale is revolutionizing the data center with a zero-to-cloud-in-minutes solution. With Stratoscale’s hardware-agnostic, Software Defined Data Center (SDDC) solution to store everything, run anything and scale everywhere...
Apr. 29, 2016 01:00 PM EDT Reads: 1,490
SYS-CON Events announced today that Men & Mice, the leading global provider of DNS, DHCP and IP address management overlay solutions, will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY. The Men & Mice Suite overlay solution is already known for its powerful application in heterogeneous operating environments, enabling enterprises to scale without fuss. Building on a solid range of diverse platform support,...
Apr. 29, 2016 11:45 AM EDT Reads: 2,234
You deployed your app with the Bluemix PaaS and it's gaining some serious traction, so it's time to make some tweaks. Did you design your application in a way that it can scale in the cloud? Were you even thinking about the cloud when you built the app? If not, chances are your app is going to break. Check out this webcast to learn various techniques for designing applications that will scale successfully in Bluemix, for the confidence you need to take your apps to the next level and beyond.
Apr. 29, 2016 11:15 AM EDT Reads: 1,424
Digital means customer preferences and behavior are driving enterprise technology decisions to be sure, but let’s not forget our employees. After all, when we say customer, we mean customer writ large, including partners, supply chain participants, and yes, those salaried denizens whose daily labor forms the cornerstone of the enterprise. While your customers bask in the warm rays of your digital efforts, are your employees toiling away in the dark recesses of your enterprise, pecking data into...
Apr. 29, 2016 10:30 AM EDT Reads: 919
SYS-CON Events announced today that DatacenterDynamics has been named “Media Sponsor” of SYS-CON's 18th International Cloud Expo, which will take place on June 7–9, 2016, at the Javits Center in New York City, NY. DatacenterDynamics is a brand of DCD Group, a global B2B media and publishing company that develops products to help senior professionals in the world's most ICT dependent organizations make risk-based infrastructure and capacity decisions.
Apr. 29, 2016 05:45 AM EDT Reads: 2,435
With DevOps becoming more well-known and established practice in nearly every industry that delivers software, it is important to continually reassess its efficacy. This week’s top 10 includes a discussion on how the quick uptake of DevOps adoption in the enterprise has posed some serious challenges. Additionally, organizations who have taken the DevOps plunge must find ways to find, hire and keep their DevOps talent in order to keep the machine running smoothly.
Apr. 29, 2016 04:30 AM EDT Reads: 1,333
Call it DevOps or not, if you are concerned about releasing more code faster and at a higher quality, the resulting software delivery chain and process will look and smell like DevOps. But for existing development teams, no matter what the velocity objective is, getting from here to there is not something that can be done without a plan. Moving your release cadence from months to weeks is not just about learning Agile practices and getting some automation tools. It involves people, tooling and ...
Apr. 29, 2016 03:45 AM EDT Reads: 1,465
Between the mockups and specs produced by analysts, and resulting applications built by developers, there exists a gulf where projects fail, costs spiral, and applications disappoint. Methodologies like Agile attempt to address this with intensified communication, with partial success but many limitations. In his session at 18th Cloud Expo, Charles Kendrick, CTO & Chief Architect at Isomorphic Software, will present a revolutionary model enabled by new technologies. Learn how business and devel...
Apr. 29, 2016 03:45 AM EDT Reads: 1,691
The notion of customer journeys, of course, are central to the digital marketer’s playbook. Clearly, enterprises should focus their digital efforts on such journeys, as they represent customer interactions over time. But making customer journeys the centerpiece of the enterprise architecture, however, leaves more questions than answers. The challenge arises when EAs consider the context of the customer journey in the overall architecture as well as the architectural elements that make up each...
Apr. 29, 2016 02:30 AM EDT Reads: 1,910
These days I mostly make my living as a consultant. Consultants in general are probably not the best loved group in the world. It is common to think of consultants wafting-in to your organization, telling you things that you already know and advising you to “change your culture”, whatever that means. Subsequently they depart, no-doubt with a fat fee, and leave you as you were before with the same problems and no progress made.
Apr. 28, 2016 08:00 PM EDT Reads: 1,440
In the rush to compete in the digital age, a successful digital transformation is essential, but many organizations are setting themselves up for failure. There’s a common misconception that the process is just about technology, but it’s not. It’s about your business. It shouldn’t be treated as an isolated IT project; it should be driven by business needs with the committed involvement of a range of stakeholders.
Apr. 28, 2016 07:30 PM EDT Reads: 1,803