Supercharge Your Innovation With Domain-Expert AI Agents!

Encoding method, encoding device, decoding method, and decoding device

A technology of encoding method and decoding method, which is applied in the direction of code conversion, data recording, instrument, etc., and can solve problems such as inability to assign codes to words and general symbols

Active Publication Date: 2021-05-18
FUJITSU LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in such conventional techniques 1 and 2, codes cannot be assigned to a large number of words and general symbols.

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
  • Encoding method, encoding device, decoding method, and decoding device
  • Encoding method, encoding device, decoding method, and decoding device
  • Encoding method, encoding device, decoding method, and decoding device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] Figure 1a It is a diagram showing an example of the processing of the encoding device according to the first embodiment. The encoding device according to the first embodiment uses a code allocation table 110 instead of the code allocation table 50 used in the prior art to perform code conversion on the text data 10a to generate code-converted text data 10b.

[0055] Control symbols are set in 00h to 1Fh of the conventional code allocation table 50, and a 1-byte code is assigned to each control symbol. "h" is a symbol representing hexadecimal. Alphanumeric characters are set in 20h to 7Fh of the code allocation table 50, and a code of 1 byte is assigned to each alphanumeric character. CJK characters are set in 80h to FFh of the code allocation table 50, and a 3-byte code is allocated to each CJK character.

[0056]On the other hand, predetermined words described later are set in 00h to 2Fh of the code allocation table 110 according to the first embodiment, and a 1-by...

Embodiment 2

[0124] Figure 7a It is a diagram showing an example of the processing of the encoding device according to the second embodiment. The encoding device according to the second embodiment performs code conversion on text data 20a using a code allocation table 210 instead of the code allocation table 50 used in the prior art, thereby generating code-converted text data 20b. The description about the code allocation table 50 of the prior art is the same as that described in the first embodiment.

[0125] The code allocation table 210 according to the second embodiment will be described. Predetermined words to be described later are set in 00h to 1Fh of the code allocation table 210, and a 1-byte code is allocated. 00h to 1Fh of the code allocation table 210 include areas in the code allocation table 50 to which control symbols are allocated.

[0126] Alphanumeric characters are set in 20h to 7Fh of the code allocation table 210, and a 1-byte code is allocated. The alphanumerics...

Embodiment 3

[0192] Figure 13a It is a diagram showing an example of the processing of the encoding device according to the third embodiment. The encoding device according to the third embodiment switches and uses the conventional code allocation table 50 and the code allocation table 310 unique to the third embodiment. For example, when the encoding device detects the control symbol "SI (Shift In: shift in)" from the text data, it uses the code assignment table 310 to perform code conversion on the text data following the control symbol "SI". On the other hand, when the encoding device detects the control symbol "SO (Shift Out)" from the text data, it performs code conversion using the code allocation table 50 . The description about the code allocation table 50 of the prior art is the same as that described in the first embodiment.

[0193] The code allocation table 310 will be described. Control symbols are set in 00h to 1Fh of the code allocation table 310, and a 1-byte code is all...

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 present invention provides an encoding method, an encoding device, a decoding method and a decoding device. Assign shorter byte codes to characters and words that occur more frequently. A code conversion unit (150) of the encoding device decodes text data based on a code allocation table (110). Here, the code allocation table (110) assigns the character assigned to the 1-byte area of ​​the conventional code allocation table (50) to the 2-byte area of ​​the code allocation table (110), and the code allocation table (110) The 1-byte area is allocated strictly selected words.

Description

technical field [0001] The present invention relates to encoding methods and the like. Background technique [0002] Conventionally, text data has been converted into predetermined codes based on code assignment tables of ASCII codes and Unicode (Unicode). Figure 30 This is a diagram for explaining a conventional code assignment table based on ASCII code and Unicode. Such as Figure 30 As shown, predetermined control symbols are set in 00h to 1Fh of the code allocation table, and a 1-byte code is assigned to each control symbol. Alphanumeric characters are set in 20h to 7Fh of the code allocation table, and a 1-byte code is assigned to each alphanumeric character. CJK characters are set in 80h to FFh of the code allocation table, and a 3-byte code is allocated to each CJK character. [0003] Here, in prior art 1, there is a technique of registering a word or the like in such a vacant area when there is a vacant area in 00h to 1Fh of the allocation control symbols of the c...

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 Patents(China)
IPC IPC(8): G06F40/126
CPCG06F40/126H03M7/3088G11B20/1426H03M7/40H03M7/30G06F40/149G06F40/146G06F40/55G06F40/58
Inventor 片冈正弘山田树一上田晴康
Owner FUJITSU LTD
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