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

Communication protocol information description universal model based on XML format and design method thereof

A communication protocol and general model technology, applied in the computer field, can solve problems such as low development efficiency, poor versatility, and difficult maintenance

Pending Publication Date: 2020-10-23
GUANGDONG OCEAN UNIVERSITY
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to overcome the technical problems of poor versatility, low development efficiency and difficult maintenance in existing embedded communication software modules, the present invention provides a general model of communication protocol information description based on XML format and its design method

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 information description universal model based on XML format and design method thereof
  • Communication protocol information description universal model based on XML format and design method thereof
  • Communication protocol information description universal model based on XML format and design method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] Such as figure 1 As shown, the general model of communication protocol information description based on XML format includes application layer, protocol initialization unit, buffer creation unit, underlying communication module, decoder Decoder and encoder Encoder; where:

[0045]The protocol initialization unit is used to read the XMLParser field information in the configuration XML file and load data, and parse the data into node device object Device, data frame object PD0 and data object Signal according to the specific data type, and to obtain the data type to initialize;

[0046] The buffer area creation unit creates a continuous buffer area according to the data memory length information of the obtained data frame object PD0, as a data pool used in common when the underlying communication module is written and the application layer data is read;

[0047] After the underlying communication module receives a new data frame in the data pool, it extracts the frame hea...

Embodiment 2

[0059] More specifically, such as figure 2 As shown, a general model design method for communication protocol information description based on XML format is provided, including the following steps:

[0060] S1: The protocol initialization unit reads the XMLParser field information in the configuration XML file and loads data, parses the data into node device object Device, data frame object PD0 and data object Signal according to the specific data type, and initializes the obtained data type;

[0061] S2: The buffer area creation unit creates a continuous buffer area according to the obtained data memory length information of the data frame object PD0, as a data pool commonly used when the underlying communication module is written and the application layer data is read;

[0062] S3: After the underlying communication module receives a new data frame in the data pool, it extracts the frame header information PdoID of the data frame, and queries the data frame object PD0 accor...

Embodiment 3

[0075] More specifically, on the basis of Embodiment 1 and Embodiment 2, the design process of a model is specifically described, specifically:

[0076] 1. Information description model design

[0077] The information description of the data signal Signal in the communication protocol is a key link to realize the configurability of the system construction. By abstracting the attributes of the data signal, the information description structure of the data signal is established, as shown in Table 1.

[0078] Table 1 Information description model of data signal (Signal)

[0079]

[0080]

[0081] 2. Architecture decomposition

[0082] For complex large-scale software systems, software architecture decomposition is an essential key step and an effective means to identify architectural elements. The basis of software architecture decomposition is business segmentation and functional decomposition.

[0083] The operating principle of this general communication software mod...

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 information description universal model based on an XML format and a design method of the communication protocol information description universal model. Unified description of protocol information of various formats is realized based on an XML information configuration technology; a universal model comprising an application layer, a protocol initialization unit, a cache region creation unit, a bottom layer communication module, a decoder and an encoder is established, the problems of poor universality and low reuse degree of an embedded communication software module are solved, the encoding workload is reduced, the working efficiency is improved, and the invention has relatively high application and popularization values.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, relates to a general model for describing communication protocol information based on XML format and a design method thereof. Background technique [0002] An existing XML-based data exchange system such as a patent, the publication number of which is CN105279122A, constructs a layer of XML-based data abstraction layer in the SOA architecture, which is used to isolate the system and users from the system and data sources, and complete the data exchange system. Exchange, to complete the data exchange of various file configurations. At present, most of the file configurations are operated by embedded communication software modules. Due to the different communication protocol formats, various information interactions, and various operating systems, the existing software development only focuses on meeting the specific needs at hand, and there is no such thing as soft...

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): G06F8/30G06F8/41G06F8/61G06F9/4401G06F16/84
CPCG06F8/41G06F8/63G06F9/4406G06F16/84G06F8/37
Inventor 袁剑平谌兴良李近孙寒冰潘新祥毛鸿飞严谨贾宝柱姚文东庞洪臣赵光
Owner GUANGDONG OCEAN UNIVERSITY
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