Coder decoder generating device and method

A codec and generation device technology, applied in the field of communication, can solve the problems of cumbersome, complicated codec production process, etc.

Active Publication Date: 2014-03-26
HUAWEI TECH CO LTD
View PDF8 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the process of making a plug-in, it is necessary to convert the ASN.1 file into a C or C++ or java source file and then compile it. The production process of this codec in the form of a plug-in is relatively complicated and cumbersome

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
  • Coder decoder generating device and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0041] FIG. 1 is a schematic structural diagram of Embodiment 1 of an apparatus for generating a codec according to the present invention. The device for generating a codec provided by the present invention may be implemented by arbitrary software and / or hardware. As shown in FIG. 1 , the codec generation device 10 provided by the present inventi...

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 embodiment of the invention provides a coder decoder generating device and method. The method includes the steps that a character string of a description file of a data format class is analyzed into multiple word symbols; semantic analysis is carried out on the multiple word symbols according to a syntax rule, and a syntax tree is generated; nodes of the syntax tree are traversed, sub coder decoder units corresponding to the nodes are built, and the sub coder decoder units are strung to form a coder decoder object tree corresponding to the syntax tree, wherein each sub coder decoder unit comprises a coder decoder unit body of a combined type and a coder decoder unit body of a simple type, the coder decoder unit bodies of the combined type are located on branch nodes or root nodes of the coder decoder object tree, the coder decoder unit bodies of the simple type are located on leaf nodes of the coder decoder object tree, and coder decoder interfaces of the root nodes of the coder decoder object tree are coding and decoding inlets of a coder decoder.

Description

technical field [0001] Embodiments of the present invention relate to communication technologies, and in particular to a device and method for generating a codec. Background technique [0002] Abstract Syntax Notation One (ASN.1) is an international standard that describes a data format for representing, encoding, transmitting and decoding data. Anywhere information needs to be sent digitally, it can be based on ASN.1 to send information in various forms (audio, video, data, etc.). [0003] In the prior art, the ASN.1 codec is mainly implemented in the form of a plug-in. Specifically, first write the ASN.1 file, then use the corresponding code automatic generation tool to convert the ASN.1 file into a C or C++ or java source file, and finally compile the source file into a dynamic link library or jar package, the dynamic link Libraries or jar packages exist in the form of plug-ins and are called by applications. [0004] However, in the process of making a plug-in, it is ...

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): G06F9/45
Inventor 李同军
Owner HUAWEI TECH CO LTD
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