Method and system for decoding of original code flow

A technology of original code stream and decoding method, which is applied in the direction of memory system, program control design, instrument, etc., can solve the problems of large code line, difficult to maintain, unfavorable for novices to join, etc., and achieve the effect of improving decoding rate and stable code line

Active Publication Date: 2017-08-08
SHANGHAI DATANG MOBILE COMM EQUIP +1
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the above decoding method achieves correct decoding, its performance is not high in frequent decoding and high real-time requirements
And as the field value information is added, deleted, and updated, the source code needs to be updated. The acquisition of each field value will involve the change of the same order of magnitude of code, so: the code line will be huge, messy, difficult to maintain, and not conducive to novices Quickly join the project

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
  • Method and system for decoding of original code flow
  • Method and system for decoding of original code flow
  • Method and system for decoding of original code flow

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] 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.

[0061] Such as figure 1 As shown, the present invention provides an original code stream decoding method, including: writing the field attribute information of the currently used decoding library into the configuration file; reading the configuration file, loading the field attribute information to the memory; receiving the original code stream of...

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 method and system for decoding of an original code flow. The method comprises the steps that field attribute information which uses a decoding base at present is written into a configuration document; the configuration document is read, and the field attribute information is loaded to memory; an original code flow of a user side is received; fields of the original code flow are traversed and analyzed successively according to the field attribute information; and analysis results are output in a formatted manner according to user demands. According to the invention, code flow data structure information is completely decoupled with a program; when a field value needs to be acquired, only simple modification of the configuration document is necessary, so that a freshman can rapidly join a project, and code rows will not linearly increase with the quantity of fields. Forcible data structure conversion is not needed; the original code flow is accessed by a pointer according to bytes (unit) and accessed successively according to offset amounts; during frequent decoding, the decoding can be accelerated effectively; and the code rows are stable, and will not be modified or changed obviously according to demands.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to an original code stream decoding method. Background technique [0002] Processing the original code stream is a very important link in the field of communication. The process of parsing the original code stream is relatively cumbersome. For large-scale programs to decode the original code stream, not only accurate decoding is required, but also real-time performance is required. Of course, the fewer lines of code, the better. In some existing decoding methods, the original code stream is first forcibly converted into the current code stream data structure, and then the corresponding fields are extracted according to the field alignment. For example, to extract the field "unsigned short subframeAssignment" from the original code stream unsigned char*msg, the relevant decoding library data is as follows (the actual situation is more complicated than this structure), ...

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 SHANGHAI DATANG MOBILE COMM EQUIP
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