Communication protocol adapting method and system

A communication protocol and protocol technology, applied in transmission systems, electrical components, etc., can solve problems such as troubles, achieve the effects of reducing manual operations, avoiding performance impact, and optimizing business logic

Active Publication Date: 2012-07-18
北京思特奇信息技术股份有限公司
View PDF3 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

JAXB, Castor, and XMLBeans support XML / Java binding technology, but when using it, it is necessary to write corresponding java files according to XML messages, inject XML message information into java objects, and write java codes at the same time. And the more demands, the more troublesome it is

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Communication protocol adapting method and system
  • Communication protocol adapting method and system
  • Communication protocol adapting method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0035] figure 1 The component scheduling control relationship diagram provided by the present invention.

[0036] Using workflow and IOC ideas, the component scheduling controller schedules corresponding components for protocol analysis according to each request type. All component initialization and calls are handled by the container, and the component is in a container, which is managed by the container. Components can be dynamically attached to the component scheduling controller, and according to the protocol type, the components that match the msgtype attribute of the component will participate in the protocol analysis. The transfer attribute of each component is used for message forwarding.

[0037] The sch...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a communication protocol adapting method and system. Workflow and initial operational capability (IOC) thought are used in the method and the system; a component scheduling controller schedules corresponding components for protocol resolving according to the type of each request; and the scheduling is set through a configuration file, the related components are integrated and scheduled for resolving each component of an adapting protocol according to a responsibility chain mode one by one, the scheduling of the components is realized through an extensive makeup language (XML) configuration template, class files are automatically generated through the formulated XML configuration template, the generated class files are instantiated into objects during communication protocol adapting, protocols of a peripheral platform are dynamically injected into attributes of the objects, and the objects storing data are assembled to generate a message of an XML protocol. By the method and the system, manual operation is reduced, the production efficiency of daily development is improved, the performance of the system is improved, the function expansibility is enhanced, and a fundamental framework is made for realizing automatic adapting of the communication protocols.

Description

technical field [0001] The invention relates to the field of communication protocol conversion, and more specifically relates to a communication protocol adaptation framework based on Java bytecode, which can be referred to as a Class adapter for short. Background technique [0002] As the complexity of enterprise applications continues to grow, the constraints and rules of XML documents become more and more stringent. In addition, as the industry adopts Web services more and more rapidly, XML is starting to play an important role that cannot be ignored across multiple platforms. All of this means that applications desperately need a simple and powerful mechanism for processing XML. [0003] Many open source products are popular in the world, such as XMLBeans for binding XML and JAVA Bean, XSLT for adaptation between communication protocol message formats, and DOM for processing XML messages. The current situation in the field of communication protocol adaptation is that X...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06
Inventor 张厚瑞
Owner 北京思特奇信息技术股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products