Code handling method

A processing method and coding technology, which is applied in the field of coding processing, can solve problems such as reducing operating efficiency and consuming running time, and achieve the effect of reducing memory space and avoiding memory copying

Inactive Publication Date: 2006-10-04
HUAWEI TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This kind of memory copy greatly consumes the running time and reduces the running efficiency

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
  • Code handling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make it easier for those skilled in the art to understand and realize the present invention, the embodiments of the present invention are described in conjunction with the accompanying drawings.

[0033] According to the present invention, a block of memory is applied for as a buffer for storing coded streams. According to the content described in ASN1, each IE is encoded in turn, and when the OPENTYPE type is encountered, it is processed according to the following description:

[0034] The next byte to be stored in the encoding buffer is called the current byte. When encoding the OPENTYPE content, the encoding of the content is still stored in the current buffer, and the starting position is several bytes behind the current byte. After the encoding of the content is completed, the length of the PER (compression encoding rule) code stream is obtained, and the length is judged. If the length is between 0-127, the length encoding occupies one byte; if the len...

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 process method which comprises: storing and arranging the length to the open type data unit in the encoding buffer area during the encoding course; encoding the open type data, storing it after the arranging length, capturing the open type data length at the same time; moving the encoding by the length of the open type data.

Description

technical field [0001] The invention relates to a network communication technology, in particular to a coding processing method. Background technique [0002] OPENTYPE (Open Type) is a data type described in ASN1 (Abstract Syntax Name), meaning that the data type and length are variable. When encoding, the code stream of this data type is divided into two parts, first encode the length of the encoded code stream of this data type, and then encode the text of the data. The following example illustrates: [0003] IE1: SEQUENCE IE2: SEQUENCE IE3: OPENTYPE [0004] Code 1 Code 2 Encode 3-length encoding Code 3 [0005] If the encoding (coding 3) length of IE3 content is between 0-127, then its length encoding occupies 1 byte; if the encoding (coding 3) length of IE3 content is between 128-16383 bytes, then it The length encoding of the content occupies 2 bytes; if the encoding (encoding 3) of the IE3 content is longer...

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): H04L29/06
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