Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for implementing communication protocol based on XML data interchange file

A communication protocol and data exchange technology, applied in the direction of data exchange network, digital transmission system, transmission system, etc., can solve the problems of development, version control, testing difficulty, etc., and achieve the effect of increasing the difficulty of implementation and flexible processing protocol

Inactive Publication Date: 2011-09-21
ZTE CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For example, in a WDM product, the network management and the underlying equipment use a self-defined protocol (S port communication protocol) to communicate. Since a new board or a new function is added to a board, it will involve the network management and the corresponding test program of the board. The upgrade of the instruction parsing part brings greater difficulty to development, version control, testing, etc.

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
  • Method and system for implementing communication protocol based on XML data interchange file
  • Method and system for implementing communication protocol based on XML data interchange file
  • Method and system for implementing communication protocol based on XML data interchange file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0020] figure 1 It is a flowchart showing the method for implementing a communication protocol based on XML data exchange files according to the present invention.

[0021] Reference figure 1 , The method includes the following steps: step S102, establishing an instruction script library expressed in XML; step S104, in the case of receiving an instruction sent from the data application layer, the instruction parser searches the instruction script library for an instruction corresponding to the instruction The script packages the instructions and sends the packaged results to the communication interface; and step S106, the instruction parser unpacks the protocol data after recei...

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 method for achieving the communication protocol based on an XML data exchange file. The method comprises following steps: step S102, constructing an instruction script base represented in XML manner; step S104, receiving an instruction transmitted from a data application layer by an instruction resolver, searching the instruction script corresponding to the instruction inthe instruction scrip base, packing the instruction, and transmitting the packed result to the communication interface; and step S106, de-packing the protocol data when the instruction resolver receives a protocol data fed back from the communication interface, and feeding the protocol data back to the data application layer. According to the invention, the flexibility of protocol resolving program is improved, which facilitates the protocol expansion and the rapid protocol achievement.

Description

Technical field [0001] The invention relates to the realization of a communication protocol, in particular to a method and a system for implementing a communication protocol based on an extensible markup language (XML) data exchange file. Background technique [0002] At present, network communication often involves the realization of communication protocols. Especially when the communication protocol is not perfect or the newly added equipment requires expansion of the communication protocol, etc., the program to implement the protocol will become more and more complicated for the above reasons, or the implementation structure of the original program may be overturned and restarted. For example, newly added equipment provides new functions, and the related communication protocol may not be considered in the formulation process, so it is necessary to expand the communication protocol to communicate with the equipment. At this time, expanding the communication protocol and modify...

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 Patents(China)
IPC IPC(8): H04L29/08H04L12/56H04L29/06
Inventor 聂文强邬向阳吴晴胡湘东
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products