Unlock instant, AI-driven research and patent intelligence for your innovation.

Codec generating device and method

A codec and codec technology, applied in the field of codec generation devices, can solve the problems of complex and cumbersome codec production process

Active Publication Date: 2018-05-11
HUAWEI TECH CO LTD
View PDF8 Cites 0 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
  • Codec 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

Embodiments of the present invention provide a device and method for generating a codec. The method includes: parsing the character sequence of the data format class description file into a plurality of word symbols; performing grammatical analysis on the plurality of word symbols according to grammatical rules to generate a syntax tree; traversing each node of the syntax tree, creating Each of the sub-codec units corresponding to each of the above nodes is connected into a codec object tree corresponding to the syntax tree; wherein each of the sub-codec units includes a codec A codec unit of the simple type located at the branch node or root node of the codec object tree, the codec unit of the simple type located at the codec The leaf node of the codec object tree, and the codec interface of the root node of the codec object tree is the codec entry of the codec.

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 Patents(China)
IPC IPC(8): G06F8/41
Inventor 李同军
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More