Supercharge Your Innovation With Domain-Expert AI Agents!

Text coding and decoding method and corresponding coding and decoding system

A technology of encoding method and decoding method, which is applied in the field of text encoding, decoding method and corresponding encoding and decoding system, can solve the problems of increasing data flow, complex encoding and decoding of text information, etc., and achieve the effect of ensuring correctness

Inactive Publication Date: 2015-07-29
SHANGHAI STEP ELECTRIC
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a text encoding and decoding method and a corresponding encoding and decoding system, which are used to solve the problem that the encoding and decoding of text information in the prior art is too complicated and increases the data flow

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
  • Text coding and decoding method and corresponding coding and decoding system
  • Text coding and decoding method and corresponding coding and decoding system
  • Text coding and decoding method and corresponding coding and decoding system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] Such as figure 1 As shown, the first embodiment of the present invention relates to a text encoding method. The text encoding method is mainly performed by a text encoding system. Wherein, the text encoding system includes software and hardware of electronic equipment. The electronic device includes any device capable of performing numerical and logical operations according to preset programs, including but not limited to: single / multiple servers, personal terminals, mobile devices, embedded devices, etc.

[0020] In the text encoding system, a start flag, an end flag and a transcoding flag are preset. Wherein, the start flag, the end flag and the transcoding flag are all set as single-byte data. The start flag, end flag and transcode flag are different from each other. Preferably, the start flag, the end flag and the transcoding flag are not all 0 and all 1 bytes.

[0021] The text encoding system encapsulates the data blocks to be encoded in data packets. In ord...

Embodiment 2

[0039] Such as figure 2 shown. Corresponding to the text encoding method described in Embodiment 1, this embodiment further provides a text decoding method. The text decoding method is mainly performed by a text decoding system. Wherein, the text decoding system includes software and hardware of electronic equipment. The electronic device includes any device capable of performing numerical and logical operations according to preset programs, including but not limited to: single / multiple servers, personal terminals, mobile devices, embedded devices, etc.

[0040] The text decoding system is preset with the corresponding start flag, end flag and transcoding flag stored in the text coding system. Wherein, the start flag, the end flag and the transcoding flag are all set as single-byte data. The start flag, end flag and transcode flag are different from each other. Preferably, the start flag, the end flag and the transcoding flag are not all 0 and all 1 bytes.

[0041] In s...

Embodiment 3

[0056] Such as image 3 As shown, the first embodiment of the present invention relates to a text encoding system. Wherein, the text encoding system 1 includes software and hardware of electronic equipment. The electronic device includes any device capable of performing numerical and logical operations according to preset programs, including but not limited to: single / multiple servers, personal terminals, mobile devices, embedded devices, etc.

[0057] The text encoding system 1 includes: a first storage module 11 , an encoding module 12 and an encapsulation module 13 .

[0058] The first storage module 11 stores a start flag, an end flag and a transcoding flag. Wherein, the start flag, the end flag and the transcoding flag are all set as single-byte data. The start flag, end flag and transcode flag are different from each other. Preferably, the start flag, the end flag and the transcoding flag are not all 0 and all 1 bytes.

[0059] The text encoding system 1 encapsulate...

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 text coding and decoding method and a corresponding coding and decoding system. According to the coding method, the coding and decoding system is provided with a start mark, a finish mark and a code conversion code in advance, wherein the code conversion code is not the same as the start mark and the finish mark; the data bites the same as the start mark, the finish mark and the code conversion mark in a data packaging packet is subjected to code conversion with the code conversion code according to the preset code conversion rules so as to obtain the code conversion result different from the start mark, the finish mark and the code conversion mark; the obtained code conversion result and the code conversion mark are used for replacing the data bits; the start mark and the finish mark are correspondingly added at the head and end of the replaced data packaging packet and sent; correspondingly, the coding and decoding system is used for decoding the data packaging packet by inverse operation. With the adoption of the method and the system, that some information in the data packaging packet are given up as part of protocol can be prevented.

Description

technical field [0001] The invention relates to a text encoding and decoding technology, in particular to a text encoding and decoding method and a corresponding encoding and decoding system. Background technique [0002] When people use a transmission protocol to transmit text information, they ignore the fact that the transmission protocol and some text information may be the same. Therefore, when decoding the text information encapsulated by the transmission protocol, the valid data information in the text information will be decoded as a part of the protocol, resulting in the discarding of part of the data in the text information. This makes the textual information where it is decoded incomplete or unusable. [0003] In order to solve the above problems, technicians encode all the text information, which makes the encoded text information too long, which increases the data flow and the calculation burden of the codec system. Therefore, it is necessary to improve the ex...

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): G06F17/22
Inventor 何小虎王鹏李楚平
Owner SHANGHAI STEP ELECTRIC
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