网构软件由分布的、松耦合的服务按照一定的交互组合而成.由于服务的共享性,通常有多个软件系统请求服务节点上的同一服务.这些外部负载会影响服务进而影响网构软件的性能,因此在研究网构软件的性能时需要将这些外部负载考虑在内.基于上述问题,提出一种基于层次着色Petri网的网构软件性能建模与仿真分析方法.首先构建网构软件的性能模型,它包含一个顶层CPN和若干个子层CPN.顶层CPN建模网构软件的业务处理流程;子层CPN详细建模从请求服务到服务执行完成的过程.服务请求来自网构软件和其它软件系统.然后采用CPN Tools工具通过模型的仿真进行性能分析.最后通过仿真实验研究外部负载对服务进而对网构软件性能的影响.
An internetware is composed of multiple distributed,loosely-coupled services through certain interaction.Because of the shared feature of services,it's common that M any software systems request the same service on a service node,such external load influences the performance of the service and the internetware so that they should be considered when studying the performance of the internetware.Based on the above issue,in this paper,a performance modeling and simulation analysis approach of internetware using Hierarchical Colored Petri Nets is proposed.First a performance model of the internetware is built which contains a top-layer CPN and several sub-layer CPNs.The top-layer CPN models the internetware's business process;a sub-layer CPN detailedly models the process from requesting a service to the completion of the service execution.The service request is from both the internetware and other software systems.After that CPN Tools is used to conduct performance analysis through model simulation.Finally,a simulation experiment is performed to study the effect of external load on performance of the service and the internetware.