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

Global unified code distance encoding method

A coding method and code distance technology, applied in the computer field, can solve problems such as difficult coding, and achieve the effect of easy use and reduced complexity

Active Publication Date: 2015-02-25
SHANGHAI FUXIN INTELLIGENT TRANSPORTATION SOLUTIONS
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this implementation method is intuitive, it has the problem of high coding difficulty. Usually, a tool software is written to automatically generate these codes, and then used inside the software

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
  • Global unified code distance encoding method
  • Global unified code distance encoding method
  • Global unified code distance encoding method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] 1) Determine the code distance W to be extended according to requirements;

[0016] 2) Determine the basic code word B and its quantity, and calculate the required number of binary digits C with the smallest power of 2 greater than this quantity; for example, if the number 250 needs to be coded, at least 1 byte is required, From 0 to 0xFA (the hexadecimal representation of 250).

[0017] 3) Expand the coding according to the specific code distance requirements, and the extended coding adopts the following formula:

[0018] X = X i = 0 W - 1 B X 2 C X i

[0019] X is the code after extending the code distance, W is the code distance required to be expanded, B is the basic codeword, C is the binary digits required by the basic codeword, and C×W≤64.

[0020] For example: 4 bits of code distance (W) are required, 0 to 0xFA code (B), because a maximum of 8 bits (C) are required to represent the basic code. then:

[0021] When B=0x0, calcula...

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 a global unified code distance encoding method. The global unified code distance encoding method comprises the steps that bit width needed by basic coding is determined according to the actual code number; codes are expanded according to specific code distance requirements, wherein the code expanding formula is seen in the specification, X is codes with expanded code distance, W is the code distance needing expanding, B is basic digits, and C is binary bits needed by the basic digits. The global unified code distance encoding method can rapidly increase or decrease the global unified code distance, the code distance requirement for internal encoding required by safety software can be met, complexity is reduced when digits meeting the code distance requirement are adopted, and the method is convenient to implement.

Description

Technical field [0001] The present invention relates to the field of computers, in particular to a coding method for a global uniform code distance. Background technique [0002] In the railway microcomputer interlocking system, the interlocking software is the core software of the system for logical operation and equipment control, so its safety needs to be fully considered. According to the requirements of the technical standards issued by the original Ministry of Railways, the internal data of the software must meet the 4-bit code distance in encoding to prevent unrecognizable changes in the meaning of the data after the computer memory bit changes. [0003] At present, in order to meet the requirements of 4-bit code distance coding, the most direct method adopted is to directly find two code words that have met the 4-bit code distance in the 32-bit binary number, for example: 0x55555555, 0x555A555A, 0x55A555A5, 0x55AA55A5, 0x5A5555A5, etc. . Although this implementation metho...

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/44
Inventor 陈云闫坤
Owner SHANGHAI FUXIN INTELLIGENT TRANSPORTATION SOLUTIONS