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

Encoding and decoding method and system based on object protocol mapping (OPM)

A protocol mapping, encoding and decoding technology, applied in transmission systems, special data processing applications, instruments, etc., can solve the problems of long software development cycle, low work efficiency, poor scalability, etc., to achieve low code, short development cycle, Extensive effect

Active Publication Date: 2015-01-14
SHENZHEN GOLDEN SQUARE TECH
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing application data information usually carried by a communication protocol is usually in the thousands, and its encoding and decoding is a large workload. Therefore, the software development cycle of this method is long, the cost is high, the work efficiency is low and the Not very scalable

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
  • Encoding and decoding method and system based on object protocol mapping (OPM)
  • Encoding and decoding method and system based on object protocol mapping (OPM)
  • Encoding and decoding method and system based on object protocol mapping (OPM)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0035] In the embodiment of the present invention, the entity object is created according to the application data field of the protocol, and the information of each data item in the application data field of the protocol corresponds to each attribute of the entity object; an OPM data table is established and stored, and the OPM The data table describes the corresponding relationship between the information of the data item in the application data domain of the protocol and the attribute mapping of the entity object; when encoding, the received entity object is encoded into a protocol substring accor...

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 discloses an encoding and decoding method and system based on object protocol mapping (OPM). The method comprises the following steps: creating entity objects according to the application data field of a protocol; establishing and storing an OPM data table; during encoding, sequentially encoding the received entity objects into protocol sub-strings according to the attributes of the entity objects, and connecting the protocol sub-strings in series into a protocol string of a protocol data field; during decoding, decoding the protocol string of the received protocol data field into an entity object, reading the OPM data table, acquiring data item information in the application data field of the protocol through attribute reflection of the entity object, and solving the protocol. According to the encoding and decoding method, the protocol is combined with an object-oriented language, so that a program framework is simple, and the code multiplexing rate is high. The method and the system have the advantages of short codes, short development period, high efficiency and high expansibility.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to an encoding and decoding method and system based on object protocol mapping. Background technique [0002] In the field of communication technology, various forms of communication protocols are often used as carriers for data communication between various devices with communication functions and computer systems or mobile terminal systems. Since things in the natural language world have various attributes, how to decode and encode user data in the complex application layer is important and difficult for the processing of communication protocols. For example, a simple serial port configuration, described in natural language includes Multiple attributes such as serial port name, baud rate, parity bit, data bit, end bit, etc. [0003] The existing application data information usually carried by a communication protocol is usually in the thousands, and its encoding and decodi...

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
IPC IPC(8): G06F17/30H04L29/06
CPCH04L69/03H04L69/06
Inventor 李洪朱奎刘剑张建成
Owner SHENZHEN GOLDEN SQUARE TECH
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