摘要
交易类系统的业务处理,主要是围绕双方或者多方的报文进行,要实现报文处理的灵活性、易扩展性、以及较好的容错能力,报文的动态处理很重要。动态性主要体现在动态定义、动态解析和动态处理上,其中动态定义是基础。以XML方式将需求阶段的报文内容转换成计算机语言描述。通过预定义的报文特征码,动态关联到报文解析器和报文处理器上,从而使得报文定义和报文解析、处理松耦合,保证了报文定义和报文解析、报文实现编程的灵活性。该报文灵活的动态处理方式已经在某地市民卡工程中得到应用。
Financial systems mainly handle both or multilateral sides message transaction. In oroer to acmeve message processing flexibility, expandability, and fault tolerance, dynamic processing way is necessary. Dynamics mainly are reflected in the message dynamically defined, dynamically analyzed and dynamically handed. Dynamic definition is the foundation. It converts the message requirements into computer language description with the XML language. The message definition, message parsing and processing are independent of each other. There is dynamically a link between a message parser and a message processor with predefined message signature. The dynamical definition and implementation is assures to achieve the flexibility of programming of message definition and message parsing. A citizen card system as an example achieves message flexibility by way.
出处
《信息技术与信息化》
2013年第5期98-101,共4页
Information Technology and Informatization
关键词
报文解析
动态解析
报文解析器
信息交换
Message parsing Dynamic analysis Message parser Information interchange