基于事件和SOA的协同平台的研究

VIP免费
3.0 牛悦 2024-11-19 4 4 1.52MB 87 页 15积分
侵权投诉
摘 要
随着异常激烈的竞争和多变的客户需求带来的巨大挑战,协同工作得以成为
企业专业的信息化应用领域。全球化趋势,使得企业必须与其他企业协同工作,
才能在市场上发挥竞争优势。互联网的发展使协同工作方式进一步产生着巨大的
变化,客户分散、上下游业务伙伴关系紧密,还要面对结构动态松散耦合、地理
位置分散的挑战。本课题就是致力于研究更为适合现代企业发展的基于事件和
SOA 的协同平台。
本文描述的基于事件SOA 的协同平台,采用了 EDA 架构,是一个事件信
息全局感知的应用实现。系统以事件引擎为中心展开工作,各个模块部署于不同
的节点,呈现了松耦合的结构,其最终目标是整合到 SOA 平台之中。部署于 SOA
中的各个构件,根据收到的事件的内容,得知协同系统中的全局信息,根据各自
的协同协议做出反应,以完成协同工作。
为了达到信息的全局感知,系统需要收集 Web 服务调用时所产生的基本事件
信息,在将其进行复杂事件处理之后,事件通知服务根据一个感知模型决定将
成的复杂事件发送给哪些相关用户。
当分布在 SOA 各个节点的 Web 服务被调用时,调用信息将被发送给统一的底
层事件通知模块,底层事件通知模块在捕获事件后将生成的简单事件放入到事件
通道之中。
事件的复杂处理由一个事件引擎完成,其工作是将简单事件组合成复杂事件。
通过对简单事件数据的整理,更有价值的信息将会被放入复杂事件之中。复杂事
件处理模块对事件的核心元数据进行了抽象和整理,组建了一个元数据层,用于
事件引擎的配置。通过这个事件元数据层,外部构件能够对事件定义、事件模式、
事件生成规则等进行控制。
最后,事件通知模块根据感知模型决定将生成的复杂事件发送给哪些相关用
户,相关用户包括订阅用户和关联度较高的用户。
本文给出了基于事件和 SOA 的协同平台的整体设计和实现,并且给出了案例
来帮助理解基于事件和 SOA 的协同平台的实际运用。
关键字:SOA 事件驱动架构 事件捕获 复杂事件处理 感知模型
ABSTRACT
With the fierce competition and the great challenges brought by the levity customer,
cooperation has become the information-based application field of the
enterprises.Because of globalization, companies have to work togeteher with other
companies to play the advantages in the market. The development of the Internet
changes the way of working together a lot, and tightthe relationship of the seperate and
the upstream and downstream customers.Besides they have to face the challenge of
structure loose and the geographical dispersion.The issue of the paper is to research
more suitable for the development of a modern enterprise SOA and event based
collaborative platform.
In order to provide an institutional solution to facilitate the collaborative work
based on SOA, the EDA has been integrated into the SOA.System to the incident as the
central engine work, the deployment of various modules in different nodes of a loosely
coupled structure, with the ultimate goal of being integrated into the SOA platform. In
the deployment of SOA in the various components, according to the receipt of the
incident, was informed that the coordination of the overall information system, with
their agreement to make concerted response to complete the work.
In order to achieve the global awareness of the information, the system needs to
collect the basic event information when the Web service called. After the complex
event process, the event notification services decide to send it to the related customers
according to the awarness model.
When web services are called, call informations will be sent to the bottom of the
unified event notification module. After the events capturing, event notification module
will sent it to the JMS.
The CEP technology attributes to composite the simple events to the complex
event. Through this process, more powerful information will be put in the complex
event. The core event meta-data of CEP will be abstracted and analyzed. The event
infrastructure controls the event engine through an event meta-data layer. This layer
provides the capability of extension in the event semantic and makes it possible to
distributedly collect the event date.
In the end, I would like to point out that the module based on awareness model
decide to send to the complexity of events related to what users, including user-related
subscribers and users of the high degree of correlation.
In this thesis, the design of the platform will be described and a study case will be
given in order to understand the using of this platform.
Keywords: SOA EDA events capturing CEP awareness model
目录
中文摘要
ABSTRACT
第一章 绪论 .....................................................................................................................1
§1.1 课题目的和意义 .................................................................................................. 1
§1.2 课题研究内容 ...................................................................................................... 3
§1.3 本文组织结构 ...................................................................................................... 3
第二章 相关技术 .............................................................................................................6
§2.1 概述 ...................................................................................................................... 6
§2.2 SOA 简介 .............................................................................................................. 6
§2.2.1 SOA 定义 ........................................................................................................7
§2.2.2 服务的核心概念与特征 ................................................................................8
§2.2.3 Web 服务的定义和技术体系 ........................................................................ 9
§2.2.4 SOA 管理平台和 ESB ................................................................................. 11
§2.2.5 SOA Web 服务的不足 ............................................................................ 12
§2.3 事件驱动架构 .................................................................................................... 13
§2.3.1 协同感知 ......................................................................................................13
§2.3.2 事件驱动架构的定义和概念 ......................................................................14
§2.3.3 EDA 的层级功能模块 ................................................................................. 15
§2.3.4 事件驱动 SOA .............................................................................................17
§2.4 WSN 协议 ........................................................................................................... 19
§2.5 复杂事件处理 .................................................................................................... 19
§2.6 本章小结 ............................................................................................................ 20
第三章 应用组件的研究 ...............................................................................................21
§3.1 概述 .................................................................................................................... 21
§3.2 WEB 服务容器 AXIS ...........................................................................................21
§3.2.1 Axis 引擎 ...................................................................................................... 22
§3.2.2 处理器与链 ..................................................................................................22
§3.2.3 创建处理器 ..................................................................................................24
§3.3 消息中间件 JMS ................................................................................................ 24
§3.3.1 消息中间件 ...................................................................................................25
§3.3.2 Java 消息服务(JMS) .................................................................................... 25
§3.4 事件引擎 Esper .................................................................................................. 27
§3.4.1 Esper 引擎的配置 ........................................................................................ 28
§3.4.2 Esper 中的事件定义 .................................................................................... 29
§3.4.3 EQL 中的事件流搜索 ..................................................................................32
§3.4.4 事件模式 ......................................................................................................34
§3.4.5 事件处理行为 ..............................................................................................34
§3.5 本章小结 ............................................................................................................ 35
第四章 基于事件和 SOA 的协同平台的设计 .............................................................36
§4.1 概述 .................................................................................................................... 36
§4.2 底层事件通知模块 ............................................................................................ 38
§4.3 复杂事件处理模块 ............................................................................................ 38
§4.4 复杂事件通知模块 ............................................................................................ 38
§4.6 本章小结 ............................................................................................................ 41
第五章 事件捕获 ...........................................................................................................42
§5.1 概述 .................................................................................................................... 42
§5.2 Web 服务调用事件生成 .....................................................................................42
§5.3 通用底层事件通知 ............................................................................................ 43
§5.4 本章小结 ............................................................................................................ 46
第六章 复杂事件处理的实现 .......................................................................................47
§6.1 概述 .................................................................................................................... 47
§6.2 事件引擎的运作 ................................................................................................ 47
§6.3 事件元数据的 XML 文档设计 ..........................................................................48
§6.3.1 事件基本信息 ..............................................................................................48
§6.3.2 事件源 ..........................................................................................................49
§6.3.3 事件模式 ......................................................................................................50
§6.3.4 事件模板 ......................................................................................................52
§6.3.5 元数据 XML 模块的实现 ...........................................................................54
§6.4 本章小结 ............................................................................................................ 55
第七章 协同感知模型 ...................................................................................................56
§7.1 概述 .................................................................................................................... 56
§7.2 应用数据构造模型 ............................................................................................ 56
§7.3 过程构造模型 .................................................................................................... 58
§7.4 机构构成模型 .................................................................................................... 59
§7.5 资源模型 ............................................................................................................ 59
§7.6 智能通知 ............................................................................................................ 60
§7.6.1 概述 ..............................................................................................................60
§7.6.2 人员层次图 ..................................................................................................60
§7.6.3 过程关联 ......................................................................................................61
§7.6.4 应用数据构造 ..............................................................................................62
§7.6.5 发送通知 ......................................................................................................63
§7.6.6 智能通知实例 ..............................................................................................63
§7.7 本章小结 ............................................................................................................ 64
第八章 基于事件和 SOA 的协同平台的 实现与案例验证 .......................................65
§8.1 概述 .................................................................................................................... 65
§8.2 整体实现 ............................................................................................................ 65
§8.2 安装与整合 ........................................................................................................ 66
§8.3 案例介绍 ............................................................................................................ 67
§8.3.1 文档管理系统 ..............................................................................................67
§8.3.2 案例研究与协同平台的应用 ......................................................................68
§8.3.3 案例的验证 ..................................................................................................70
§8.4 ........................................................................................................... 76
第九章 总结与展望 .......................................................................................................77
参考文献 .........................................................................................................................80
在读期间公开发表的论文和承担科研项目及取得成果 .............................................82
致谢 .................................................................................................................................83
摘要:

摘要随着异常激烈的竞争和多变的客户需求带来的巨大挑战,协同工作得以成为企业专业的信息化应用领域。全球化趋势,使得企业必须与其他企业协同工作,才能在市场上发挥竞争优势。互联网的发展使协同工作方式进一步产生着巨大的变化,客户分散、上下游业务伙伴关系紧密,还要面对结构动态松散耦合、地理位置分散的挑战。本课题就是致力于研究更为适合现代企业发展的基于事件和SOA的协同平台。本文描述的基于事件和SOA的协同平台,采用了EDA架构,是一个事件信息全局感知的应用实现。系统以事件引擎为中心展开工作,各个模块部署于不同的节点,呈现了松耦合的结构,其最终目标是整合到SOA平台之中。部署于SOA中的各个构件,根据收到...

展开>> 收起<<
基于事件和SOA的协同平台的研究.pdf

共87页,预览9页

还剩页未读, 继续阅读

作者:牛悦 分类:高等教育资料 价格:15积分 属性:87 页 大小:1.52MB 格式:PDF 时间:2024-11-19

开通VIP享超值会员特权

  • 多端同步记录
  • 高速下载文档
  • 免费文档工具
  • 分享文档赚钱
  • 每日登录抽奖
  • 优质衍生服务
/ 87
客服
关注