Coding and decoding method applicable to ASN.1 recursive solution data structure description

An encoding and decoding method and data structure technology, applied in the field of encoding and decoding of ASN.1 recursive parsing data structure description, can solve the problems of increased hardware cost, weakened universality, occupation, etc., and achieve the effect of saving memory space occupation

Active Publication Date: 2016-08-10
苏州简约纳电子有限公司
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0021] 1. The fusion of data and execution makes the codec bundled with the specific ASN.1 grammar, weakening its universality
[0022] 2. Encoding and decoding operations need to occupy a large amount of storage space, resulting in an increase in hardware costs
[0033] Although this method can be combined with C language and ASN.1 encoding is also mentioned, it will still occupy a large amount of storage space when it is actually implemented, and it needs to be tightly bundled with the platform before it can be realized.

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
  • Coding and decoding method applicable to ASN.1 recursive solution data structure description
  • Coding and decoding method applicable to ASN.1 recursive solution data structure description

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0061] Such as figure 2 As shown, the encoding and decoding method suitable for ASN.1 recursive analysis data structure description is characterized in that it includes the following steps:

[0062] First, create an enumerated value table and a member definition table.

[0063] Specifically, the enumerated value table involved in the present invention includes enumerated definitions of all enumerated types, and all enumerated items of each enumerated type occupy a continuous data entry. The starting index of the entry in the data table needs to be saved in the corresponding enumeration type table. Considering the convenience of subsequent encoding and decoding, each en...

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 relates to a coding and decoding method applicable to ASN.1 recursive solution data structure description. The coding and decoding method is characterized in that an ASN.1 compiler establishes an enumeration value table and a member definition table for an enumerated type and a compound type; a type definition table is established independently for each ASN.1 basic data type, an enumeration definition table is linked with the enumeration value table, and a compound type table is linked with the member definition table; extended data types defined in all ASN.1 grammar form a table entry in each type definition table, and all table entries are collected into one type index table; the member definition table, a sequence array definition table, a set array definition table and a CONTAINING defined octet string type definition table are linked with the type index table; meanwhile, all PDUs are listed independently, and a PDU definition table is formed and linked with the type index table. A coding and decoding library scheme independent from concrete ASN.1 grammar can be set and realizes coding and decoding of the PDUs by traversing the net-shaped data tables in a recursive manner.

Description

technical field [0001] The invention relates to an encoding and decoding method, in particular to an encoding and decoding method suitable for ASN.1 recursive analysis data structure description. Background technique [0002] As far as the prior art is concerned, the ultimate goal of the ASN.1 compiler is to translate the ASN.1 grammar into a computer-understandable data type description, so that the codec library can perform the codec action of the PDU according to this description. [0003] In terms of actual implementation, the relevant data type description is generated by the ASN.1 compiler, which includes all data types defined by the ASN.1 grammar. [0004] ASN.1 defines a series of basic data types, such as empty type, Boolean type, sequence type, etc. ASN.1 files can define new extended data types based on these basic data types according to their own needs. These extended data types can refer to each other to form a network structure, and each extended data type i...

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): G06F9/45
CPCG06F8/44G06F8/447
Inventor 江国庆潘玉峰张建立陈林康杨鹏
Owner 苏州简约纳电子有限公司
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