|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
SYS-CON Events announced today that Addteq will exhibit at SYS-CON's @DevOpsSummit at Cloud Expo New York, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Addteq is one of the top 10 Platinum Atlassian Experts who specialize in DevOps, custom and continuous integration, automation, plugin development, and consulting for midsize and global firms. Addteq firmly believes that automation is essential for successful software releases. Addteq centers its products an...
Feb. 25, 2017 07:45 PM EST Reads: 375
In his keynote at @ThingsExpo, Chris Matthieu, Director of IoT Engineering at Citrix and co-founder and CTO of Octoblu, focused on building an IoT platform and company. He provided a behind-the-scenes look at Octoblu’s platform, business, and pivots along the way (including the Citrix acquisition of Octoblu).
Feb. 25, 2017 07:30 PM EST Reads: 1,797
SYS-CON Events announced today that IoT Now has been named “Media Sponsor” of SYS-CON's 20th International Cloud Expo, which will take place on June 6–8, 2017, at the Javits Center in New York City, NY. IoT Now explores the evolving opportunities and challenges facing CSPs, and it passes on some lessons learned from those who have taken the first steps in next-gen IoT services.
Feb. 25, 2017 07:00 PM EST Reads: 1,670
SYS-CON Events announced today that WineSOFT will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Based in Seoul and Irvine, WineSOFT is an innovative software house focusing on internet infrastructure solutions. The venture started as a bootstrap start-up in 2010 by focusing on making the internet faster and more powerful. WineSOFT’s knowledge is based on the expertise of TCP/IP, VPN, SSL, peer-to-peer, mob...
Feb. 25, 2017 06:45 PM EST Reads: 1,932
For organizations that have amassed large sums of software complexity, taking a microservices approach is the first step toward DevOps and continuous improvement / development. Integrating system-level analysis with microservices makes it easier to change and add functionality to applications at any time without the increase of risk. Before you start big transformation projects or a cloud migration, make sure these changes won’t take down your entire organization.
Feb. 25, 2017 06:30 PM EST Reads: 1,385
With billions of sensors deployed worldwide, the amount of machine-generated data will soon exceed what our networks can handle. But consumers and businesses will expect seamless experiences and real-time responsiveness. What does this mean for IoT devices and the infrastructure that supports them? More of the data will need to be handled at - or closer to - the devices themselves.
Feb. 25, 2017 05:45 PM EST Reads: 2,216
Updating DevOps to the latest production data slows down your development cycle. Probably it is due to slow, inefficient conventional storage and associated copy data management practices. In his session at @DevOpsSummit at 20th Cloud Expo, Dhiraj Sehgal, in Product and Solution at Tintri, will talk about DevOps and cloud-focused storage to update hundreds of child VMs (different flavors) with updates from a master VM in minutes, saving hours or even days in each development cycle. He will also...
Feb. 25, 2017 05:15 PM EST Reads: 2,680
SYS-CON Events announced today that Dataloop.IO, an innovator in cloud IT-monitoring whose products help organizations save time and money, has been named “Bronze Sponsor” of SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Dataloop.IO is an emerging software company on the cutting edge of major IT-infrastructure trends including cloud computing and microservices. The company, founded in the UK but now based in San Fran...
Feb. 25, 2017 05:00 PM EST Reads: 2,917
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
Feb. 25, 2017 04:45 PM EST Reads: 1,736
Some people worry that OpenStack is more flash then substance; however, for many customers this could not be farther from the truth. No other technology equalizes the playing field between vendors while giving your internal teams better access than ever to infrastructure when they need it. In his session at 20th Cloud Expo, Chris Brown, a Solutions Marketing Manager at Nutanix, will talk through some real-world OpenStack deployments and look into the ways this can benefit customers of all sizes....
Feb. 25, 2017 04:30 PM EST Reads: 1,454
In his session at @ThingsExpo, Sudarshan Krishnamurthi, a Senior Manager, Business Strategy, at Cisco Systems, will discuss how IT and operational technology (OT) work together, as opposed to being in separate siloes as once was traditional. Attendees will learn how to fully leverage the power of IoT in their organization by bringing the two sides together and bridging the communication gap. He will also look at what good leadership must entail in order to accomplish this, and how IT managers ca...
Feb. 25, 2017 04:15 PM EST Reads: 1,816
DevOps is being widely accepted (if not fully adopted) as essential in enterprise IT. But as Enterprise DevOps gains maturity, expands scope, and increases velocity, the need for data-driven decisions across teams becomes more acute. DevOps teams in any modern business must wrangle the ‘digital exhaust’ from the delivery toolchain, "pervasive" and "cognitive" computing, APIs and services, mobile devices and applications, the Internet of Things, and now even blockchain.
Feb. 25, 2017 04:15 PM EST Reads: 1,774
SYS-CON Events announced today that CA Technologies has been named “Platinum Sponsor” of SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY, and the 21st International Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. CA Technologies helps customers succeed in a future where every business – from apparel to energy – is being rewritten by software. From ...
Feb. 25, 2017 03:30 PM EST Reads: 2,492
In his keynote at 18th Cloud Expo, Andrew Keys, Co-Founder of ConsenSys Enterprise, provided an overview of the evolution of the Internet and the Database and the future of their combination – the Blockchain. Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settle...
Feb. 25, 2017 03:30 PM EST Reads: 1,591
Building a cross-cloud operational model can be a daunting task. Per-cloud silos are not the answer, but neither is a fully generic abstraction plane that strips out capabilities unique to a particular provider. In his session at 20th Cloud Expo, Chris Wolf, VP & Chief Technology Officer, Global Field & Industry at VMware, will discuss how successful organizations approach cloud operations and management, with insights into where operations should be centralized and when it’s best to decentraliz...
Feb. 25, 2017 03:15 PM EST Reads: 2,005
TechTarget storage websites are the best online information resource for news, tips and expert advice for the storage, backup and disaster recovery markets. By creating abundant, high-quality editorial content across more than 140 highly targeted technology-specific websites, TechTarget attracts and nurtures communities of technology buyers researching their companies' information technology needs. By understanding these buyers' content consumption behaviors, TechTarget creates the purchase inte...
Feb. 25, 2017 02:30 PM EST Reads: 1,749
SYS-CON Events announced today that Cloud Academy will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Cloud Academy is the industry’s most innovative, vendor-neutral cloud technology training platform. Cloud Academy provides continuous learning solutions for individuals and enterprise teams for Amazon Web Services, Microsoft Azure, Google Cloud Platform, and the most popular cloud computing technologies. Ge...
Feb. 25, 2017 02:15 PM EST Reads: 1,737
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering Cloud Expo and @ThingsExpo will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at Cloud Expo. Product announcements during our show provide your company with the most reach through our targeted audiences.
Feb. 25, 2017 02:15 PM EST Reads: 2,305
Wooed by the promise of faster innovation, lower TCO, and greater agility, businesses of every shape and size have embraced the cloud at every layer of the IT stack – from apps to file sharing to infrastructure. The typical organization currently uses more than a dozen sanctioned cloud apps and will shift more than half of all workloads to the cloud by 2018. Such cloud investments have delivered measurable benefits. But they’ve also resulted in some unintended side-effects: complexity and risk. ...
Feb. 25, 2017 02:00 PM EST Reads: 1,989
SYS-CON Events announced today that Fusion, a leading provider of cloud services, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Fusion, a leading provider of integrated cloud solutions to small, medium and large businesses, is the industry’s single source for the cloud. Fusion’s advanced, proprietary cloud service platform enables the integration of leading edge solutions in the cloud, including cloud...
Feb. 25, 2017 02:00 PM EST Reads: 4,058