Method exchanging information by Chinese character by shipborner automatic recognition system
An automatic identification system and a technology for exchanging information, applied in the field of information exchange
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0062] Use computer programming language C to write a program below, make ship-borne automatic identification system (AIS) in the popularization and application of China, directly realize the present invention with computer system, make the ship-borne automatic identification system that uses 6 ASCII codes to send and receive information by default, change The code uses the Chinese character code to send and receive information, and converts the internal code containing the basic set of Chinese characters and the sending and receiving code to store and send and receive information. A preferred implementation is as follows:
[0063] In the program, the sending and receiving parties agree that the character combination "&&&" is used as the code-escape feature code, and agree to use the encoding containing 13 basic set Chinese character codes as the sending and receiving codes, and the functions xToY_send and yToX_receive, AB14_to_ab13 () and ab13_to_AB14 () implement the algorithm...
example 1
[0232] Get machine internal code x1=0x41, because the 8th of x1 is " 0 ", by the formula substitution in the " internal code of invention is converted into the method that contains 13 basic set Chinese character codes " of content of the invention:
[0233] y1=0x41-0x40
[0234] = 0x01;
[0235] That is, the standard ASCII code 0x41 is converted to 6-digit ASCII code 0x01, check figure 1 It can be seen that it is the character "A" and the conversion is correct. Add "0" to the 7th digit to make 7 digits, and y1 is the sending and receiving code 0x01 representing the ASCII character.
example 2
[0237] Get the internal code x1=0xba, because the 8th bit of x1 is "1", get the second internal code x2=0xc3, clear the 8th bit of x1, x2 to "0", that is, x1=0x3a, x2 =0x43, put this 14-bit code in Figure 2-2 Look into Chinese character " good ", adopt 13 encoding methods of GB2312 basic set Chinese character, i.e. A=0x3a, B=0x43, substitute formula one and formula two (referring to function AB14_to_ab13):
[0238] a=(0x3a-0x30)*4+|0x43 / 0x20|Take the quotient
[0239] = 0x2a,
[0240] b=0x43%0x20
[0241] = 0x03;
[0242] That is, the 13-digit code converted from "good" is 0x2a03, check Figure 3-8 It can be seen that the conversion is correct; add "1" to the 14th bit, record it as y1=0x6a, y2=0x03, which is the sending and receiving code of the Chinese character "good" represented by 14 bits.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com