[go: up one dir, main page]

CN100435591C - A method for transmitting invisible characters on a short message communication platform - Google Patents

A method for transmitting invisible characters on a short message communication platform Download PDF

Info

Publication number
CN100435591C
CN100435591C CNB2003101177180A CN200310117718A CN100435591C CN 100435591 C CN100435591 C CN 100435591C CN B2003101177180 A CNB2003101177180 A CN B2003101177180A CN 200310117718 A CN200310117718 A CN 200310117718A CN 100435591 C CN100435591 C CN 100435591C
Authority
CN
China
Prior art keywords
characters
bit
visible
code
short message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2003101177180A
Other languages
Chinese (zh)
Other versions
CN1635804A (en
Inventor
韦昌荣
陈从华
王余良
余建成
高洪君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yaxon Networks Co Ltd
Original Assignee
Xiamen Yaxon Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Yaxon Networks Co Ltd filed Critical Xiamen Yaxon Networks Co Ltd
Priority to CNB2003101177180A priority Critical patent/CN100435591C/en
Publication of CN1635804A publication Critical patent/CN1635804A/en
Application granted granted Critical
Publication of CN100435591C publication Critical patent/CN100435591C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

本发明公开一种在短信通信平台上实现传输不可见字符的的方法:首先在短信的通信发送端和接收端都定义一个六位编码与可见字符的对应表;将要传输的数据(八位编码)转化成六位编码;查找六位编码与可见字符的对应表找出对应的可见字符;通过短信SMS将可见字符传输到控制中心;控制中心将收到的可见字符通过六位编码与可见字符的对应表查找出对应的六位编码;通过逆运算将六位编码转化为八位编码的原始数据;通过上述方法,就解决了不可见字符的传输问题,另外,可见字符也可采用上述方式,这样在传输过程中传输的都不是原始的编码,同时解决了明文传输安全性差的问题。The invention discloses a method for realizing the transmission of invisible characters on a short message communication platform: firstly, a corresponding table of six-digit codes and visible characters is defined at both the communication sending end and the receiving end of the short message; the data to be transmitted (eight-digit codes) ) into a six-digit code; look up the corresponding table of the six-digit code and the visible character to find out the corresponding visible character; transmit the visible character to the control center through a short message SMS; the control center passes the received visible character through the six-digit code and the visible character Find out the corresponding six-bit code in the corresponding table; convert the six-bit code into the original data of eight-bit code through the inverse operation; through the above method, the problem of transmission of invisible characters is solved. In addition, the above method can also be used for visible characters , so that the original encoding is not transmitted during the transmission process, and at the same time, the problem of poor security of plaintext transmission is solved.

Description

一种在短信通信平台上实现传输不可见字符的方法 A method for transmitting invisible characters on a short message communication platform

技术领域 technical field

本发明涉及通过短信传输字符的方法,尤其涉及不可见字符的传输。The invention relates to a method for transmitting characters through short messages, in particular to the transmission of invisible characters.

背景技术 Background technique

现在的短信只能对可见字符进传输,即只对ASCII码表(0X00~0XFF)中0X20~0X7F范围内的字符进行传输,对一般的手机短信,其传输的内容都是可见字符,但是在用短信传输有些领域如GPS车辆卫星定位的信息时,一些不可见字符在车辆信息中就非常重要,如果只传输可见字符部分,则漏掉了很重要的不可见部分的信息,使得信息的准确性无法保障。The current SMS can only transmit visible characters, that is, only the characters in the range of 0X20~0X7F in the ASCII code table (0X00~0XFF) can be transmitted. When using SMS to transmit information in some fields such as GPS vehicle satellite positioning, some invisible characters are very important in the vehicle information. If only the visible characters are transmitted, the important invisible part of the information will be missed, making the information accurate. Sex cannot be guaranteed.

发明内容 Contents of the invention

本发明目的在于提出一种解决不可见字符传输的方法。The purpose of the present invention is to propose a method for solving invisible character transmission.

具体的实现方式是:The specific implementation method is:

一种在短信通信平台上实现传输不可见字符的的方法:首先在短信的通信发送端和接收端都定义一个六位编码与可见字符的对应表;将要传输的数据(八位编码)转化成六位编码;查找六位编码与可见字符的对应表找出对应的可见字符;通过短信SMS将可见字符传输到信息中心;信息中心将收到的可见字符通过六位编码与可见字符的对应表查找出对应的六位编码;通过逆运算将六位编码转化为八位编码的原始数据。A method for transmitting invisible characters on a short message communication platform: first define a correspondence table of six codes and visible characters at the communication sender and receiver of short messages; convert the data to be transmitted (eight codes) into Six-digit code; look up the corresponding table of six-digit codes and visible characters to find out the corresponding visible characters; transmit the visible characters to the information center through SMS; the information center will pass the corresponding table of six-digit codes and visible characters to the received visible characters Find out the corresponding six-bit code; convert the six-bit code into the original data of eight-bit code by inverse operation.

所述的八位编码采用下面的方法转化为六位编码:Described eight-bit coding adopts the following method to be converted into six-bit coding:

(1)组八位编码二进制序列的每六位前加两个零;(1) Two zeros are added before every six bits of the eight-bit coded binary sequence;

(2)将新的一组数按每八位分隔成一个新字节,不够八位的后面以零补足八位。(2) Separate a new group of numbers into a new byte every eight digits, and fill up eight digits with zeros if there are not enough eight digits.

所述的要传输的八位编码数据为不可见字符。The eight-bit coded data to be transmitted are invisible characters.

所述的要传输的八位编码数据也可以是可见字符。The eight-bit encoded data to be transmitted may also be visible characters.

通过上述方法,不可见字符经过编码转换为六位编码后,每个六位编码的前两位都是零,所以每一个六位编码的取值都在0X00~0X3F这64个值的范围内,根据编码转换表(表内的值都是可见字符)将它们转换成可见符通过短信SMS进行发送,就解决了不可见字符的传输问题,另外,可见字符也可采用上述方式,这样在传输过程中传输的都不是原始的编码,同时解决了明文传输安全性差的问题。Through the above method, after the invisible characters are coded and converted into six-digit codes, the first two digits of each six-digit code are zero, so the value of each six-digit code is within the range of 64 values from 0X00 to 0X3F According to the code conversion table (the values in the table are all visible characters), they are converted into visible characters and sent by SMS, which solves the transmission problem of invisible characters. In addition, the visible characters can also use the above method, so that the What is transmitted in the process is not the original code, and at the same time solves the problem of poor security of plaintext transmission.

具体实施方式 Detailed ways

首先将一组车辆信息(二进制数据,八位编码)进行六位编码转换:First, convert a set of vehicle information (binary data, eight-bit code) into six-bit code:

二进制数据的一个字节(A)是这样表示的:One byte (A) of binary data is represented like this:

A7,A6,A5,A4,A3,A2,A1,A0A7, A6, A5, A4, A3, A2, A1, A0

一组二进制数据的ABCD...的八位编码表示为:The eight-bit encoding of ABCD... of a set of binary data is expressed as:

A7,A6,A5,A4,A3,A2,A1,A0、B7,B6,B5,B4,B3,B2,B1,B0、C7,C6,C5,C4,C3,C2,C1,C0、D7,D6,D5,D4,D3,D2,D1,D0...A7, A6, A5, A4, A3, A2, A1, A0, B7, B6, B5, B4, B3, B2, B1, B0, C7, C6, C5, C4, C3, C2, C1, C0, D7, D6, D5, D4, D3, D2, D1, D0...

进行六位编码:即在每六位的前面加两个0并按新的八位作为一新字节,最后一个字节不足八位的以0补够八位,即为:Carry out six-bit encoding: that is, add two 0s in front of every six bits and use the new eight bits as a new byte. If the last byte is less than eight bits, fill up eight bits with 0, that is:

0,0,A7,A6,A5,A4,A3,A2//0,0,A1,A0、B7,B6,B5,B4//0,0,B3,B2,B1,B0,C7,C6//0,0,C5,C4,C3,C2,C1,C0//0,0,D7,D6,D5,D4,D3,D2//D1,D0...0,0,A7,A6,A5,A4,A3,A2//0,0,A1,A0,B7,B6,B5,B4//0,0,B3,B2,B1,B0,C7,C6/ /0,0,C5,C4,C3,C2,C1,C0//0,0,D7,D6,D5,D4,D3,D2//D1,D0...

经过转换后的每一个字节前两位都是0,所以一个字节的取值范围为0X00~0X3F这64个值的值的范围内。After conversion, the first two bits of each byte are 0, so the value range of a byte is within the range of 64 values from 0X00 to 0X3F.

将转换后每一个字节(0,0,b5,b4,b3,b2,b1,b0)的后6位b5~b0与预先设定的编码转换表(下表)中可见字符进行对应,b5、b4、b3分别对应第一列中每一组的三个位置。b2、b1、b0分别对应第一行中每一组的三个位置。表中的对应字符可以是任意设置的可见字符,这样通过映射则形成一组可见字符。Correspond the last 6 digits b5~b0 of each byte (0, 0, b5, b4, b3, b2, b1, b0) after conversion with the visible characters in the preset code conversion table (below table), b5 , b4, b3 respectively correspond to the three positions of each group in the first column. b2, b1, b0 respectively correspond to the three positions of each group in the first row. The corresponding characters in the table can be any set of visible characters, so that a set of visible characters is formed through mapping.

 000 000   001 001   010 010   011 011   100 100   101 101   110 110   111 111   000 000   2E 2E   2C 2C   30 30   31 31   32 32   33 33   34 34   35 35   001 001   36 36   37 37   38 38   39 39   41 41   42 42   43 43   44 44   010 010   45 45   46 46   47 47   48 48   49 49   4A 4A   4B 4B   4C 4C   011 011   4D 4D   4E 4E   4F 4F   50 50   51 51   52 52   53 53   54 54   100 100   55 55   56 56   57 57   58 58   59 59   5A 5A   61 61   62 62   101 101   63 63   64 64   65 65   66 66   67 67   68 68   69 69   6A 6A   110 110   6B 6B   6C 6C   6D 6D   6E 6E   6F 6F   70 70   71 71   72 72   111 111   73 73   74 74   75 75   76 76   77 77   78 78   79 79   7A 7A

将可见字符通过短信SMS传给控制中心,控制中心将收到的数据查编码转换表,转换成六位编码,将六位编码按八位转六位编码的逆运算,转换成原始的二进制数据。Send the visible characters to the control center through SMS, and the control center will look up the code conversion table for the received data, convert it into a six-digit code, convert the six-digit code into the original binary data by the inverse operation of converting the six-digit code into the eight-digit code .

下面结合具体实例对本发明作进一步说明:The present invention will be further described below in conjunction with specific example:

如要传输的数据为:The data to be transferred is:

29 7f 10 70 01 11 31 33 34 80 ef e3 20(16进制)29 7f 10 70 01 11 31 33 34 80 ef e3 20 (hexadecimal)

转换为二进制为:Converted to binary as:

00101001 01111111 00010000 0111000 000000001 00010001 0011000100101001 01111111 00010000 0111000 000000001 00010001 00110001

(29)     (7f)      (10)     (70)   (01)       (11)    (31)(29) (7f) (10) (70) (01) (11) (31)

00110011 00110100 10000000 11101111 11100011 001000000110011 00110100 10000000 11101111 11100011 0010000

(33)    (34)      (80)     (ef)      (e3)    (20)(33) (34) (80) (ef) (e3) (20)

转换成六位编码为:Converted to six-digit encoding as:

00001010 00010111 00111100 00010000 00011100 0000000000001010 00010111 00111100 00010000 00011100 00000000

(0a)     (17)      (3c)     (20)     (2c)    (00)(0a) (17) (3c) (20) (2c) (00)

00000100 00010001 00001100 00010011 00001100 00110100 0010000000000100 00010001 00001100 00010011 00001100 00110100 00100000

(04)     (11)      (0c)     (13)    (0c)     (34)     (20)(04) (11) (0c) (13) (0c) (34) (20)

00001110 00111111 00100011 00001000 0000000000001110 00111111 00100011 00001000 00000000

(0e)     (3f)     (23)      (08)    (00)(0e) (3f) (23) (08) (00)

查转换表可得数据:Check the conversion table to get the data:

38 4c 77 45 51 2e 32 46 41 48 41 6f 55 43 7a 58 36 2e38 4c 77 45 51 2e 32 46 41 48 41 6f 55 43 7a 58 36 2e

此数据对应ASCII码表中的:This data corresponds to the ASCII code table:

“8LwEQ.2FAHAoUCzX6”"8LwEQ.2FAHAoUCzX6"

车辆发送此短信给控制中心,中心经逆运算得到数据(29 7f 10 7001 11 31 33 34 80 ef e3 20)。这样就实现了不可见字符的传输问题,同时在传输过程中传输的都不是原始的编码,也解决了明文传输安全性差的问题。The vehicle sends this text message to the control center, and the center obtains the data (29 7f 10 7001 11 31 33 34 80 ef e3 20) through inverse calculation. In this way, the problem of transmission of invisible characters is realized, and at the same time, what is transmitted during the transmission process is not the original code, which also solves the problem of poor security of plaintext transmission.

前述的八位编码转化为六位编码的方法也可采用现有的其他编码方法,现例举二例如下:The method that aforementioned eight-bit encoding is converted into six-bit encoding can also adopt other existing encoding methods, and now give two examples as follows:

(1)64进制法(1) 64 base method

将16进制的数据转换成64进制的数据。Convert hexadecimal data to 64-ary data.

16进制的数据2个字节转换成用3个字节表示的64进制。The 2 bytes of hexadecimal data are converted into 64 hexadecimal represented by 3 bytes.

例如:16进制字符串:27 00 29 41 7f ea b6转换成64进制方法如下:For example: the hexadecimal string: 27 00 29 41 7f ea b6 is converted into 64 hexadecimal as follows:

将按顺序取出两个字节:27 00Will fetch two bytes in sequence: 27 00

其二进制表示法:0010 0111 0000 0000Its binary representation: 0010 0111 0000 0000

其64进制表示为:02 28 00Its hexadecimal representation is: 02 28 00

再取出两个字节:29 41Take out two more bytes: 29 41

其二进制表示法:0010 1001 0100 0001Its binary representation: 0010 1001 0100 0001

其64进制表示为:02 35 01Its hexadecimal representation is: 02 35 01

再取出两个字节:7f eaTake out two more bytes: 7f ea

其二进制表示法:0111 1111 1110 1010Its binary representation: 0111 1111 1110 1010

其64进制表示为:07 63 42Its hexadecimal representation is: 07 63 42

再取出两个字节:b6 00(此时只剩一个字节,故补上一个字节00)Take out two more bytes: b6 00 (there is only one byte left at this time, so add a byte 00)

其二进制表示法:1011 0110 0000 0000Its binary representation: 1011 0110 0000 0000

其64进制表示为:11 24 00Its hexadecimal representation is: 11 24 00

所以转换后的数据如下:02 28 00 02 35 01 07 63 42 11 24 00So the converted data is as follows: 02 28 00 02 35 01 07 63 42 11 24 00

(2)多字节混编的方法(2) The method of multi-byte mixing

可采用6个字节转换成8个字节的方法。如数据个数不是6的倍数,可以补0,使之成为6的倍数。The method of converting 6 bytes into 8 bytes can be adopted. If the number of data is not a multiple of 6, you can add 0 to make it a multiple of 6.

如有如下数据:45 23 3e fe 40 00If there is the following data: 45 23 3e fe 40 00

二进制表示如下:0100 0101The binary representation is as follows: 0100 0101

                0010 00110010 0011

                0011 11100011 1110

                1111 11101111 1110

                0100 00000100 0000

                0000 00000000 0000

按各个二进制数据相同位置取数据并在前面补上两个0可得到8个字节:Take the data according to the same position of each binary data and add two 0s in front to get 8 bytes:

00 000100(04)00 000100(04)

00 100110(26)00 100110(26)

00 011100(1c)00 011100(1c)

00 001100(0c)00 001100(0c)

00 001100(0c)00 001100(0c)

00 101100(2c)00 101100(2c)

00 011100(1c)00 011100(1c)

00 110000(30)00 110000(30)

Claims (2)

1、一种在短信通信平台上实现传输不可见字符的方法,其特征在于:首先定义一个六位编码与可见字符的对应表;将要传输的八位编码的不可见字符数据转化成六位编码;查找六位编码与可见字符的对应表找出对应的可见字符;通过短信将可见字符传输到控制中心;控制中心将收到的可见字符通过六位编码与可见字符的对应表查找出对应的六位编码;通过逆运算将六位编码转化为八位编码的不可见字符数据。1. A method for transmitting invisible characters on a short message communication platform, characterized in that: first define a corresponding table of six-bit codes and visible characters; convert the invisible character data of eight-bit codes to be transmitted into six-bit codes ;Look up the corresponding table of six-digit codes and visible characters to find out the corresponding visible characters; transmit the visible characters to the control center through SMS; Six-bit code; the six-bit code is converted into eight-bit coded invisible character data by inverse operation. 2、如权利要求1所述的一种在短信通信平台上实现传输不可见字符的方法,其特征在于:所述的八位编码采用下面的方法转化为六位编码:2. A method for transmitting invisible characters on a short message communication platform as claimed in claim 1, characterized in that: said eight-bit code adopts the following method to convert into six-bit code: (1)一组八位编码二进制序列的每六位前加两个零;(1) Two zeros are added before every six bits of a group of eight-bit coded binary sequences; (2)将新的一组数按每八位分隔成一个新字节,不够八位的以零补足八位。(2) Separate a new group of numbers into a new byte every eight digits, and fill eight digits with zeros if there are not enough eight digits.
CNB2003101177180A 2003-12-31 2003-12-31 A method for transmitting invisible characters on a short message communication platform Expired - Fee Related CN100435591C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101177180A CN100435591C (en) 2003-12-31 2003-12-31 A method for transmitting invisible characters on a short message communication platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101177180A CN100435591C (en) 2003-12-31 2003-12-31 A method for transmitting invisible characters on a short message communication platform

Publications (2)

Publication Number Publication Date
CN1635804A CN1635804A (en) 2005-07-06
CN100435591C true CN100435591C (en) 2008-11-19

Family

ID=34843700

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101177180A Expired - Fee Related CN100435591C (en) 2003-12-31 2003-12-31 A method for transmitting invisible characters on a short message communication platform

Country Status (1)

Country Link
CN (1) CN100435591C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840483B (en) * 2009-03-17 2015-11-25 北大方正集团有限公司 A kind of method and system of protecting computer document content
CN105868194A (en) * 2015-01-19 2016-08-17 阿里巴巴集团控股有限公司 Methods and devices for text data compression and decompression
CN105163294B (en) * 2015-08-04 2018-10-26 恒宝股份有限公司 A kind of channel compressions and decompression method and its device based on Cell Broadcast CB short message
CN106454772B (en) * 2015-08-13 2019-11-26 阿里巴巴集团控股有限公司 The sending, receiving method and device of short message
CN108009139A (en) * 2017-11-30 2018-05-08 重庆金美通信有限责任公司 A kind of decoding method of invisible character data circulation character visible data flow
CN110266436B (en) * 2019-06-26 2021-11-23 重庆金美通信有限责任公司 Binary data stream transmission method based on Beidou
CN113094609A (en) * 2021-06-08 2021-07-09 北京泰迪熊移动科技有限公司 Data processing method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1344462A (en) * 2000-01-19 2002-04-10 皇家菲利浦电子有限公司 Invisible encoding of meta information
DE10059941A1 (en) * 2000-12-02 2002-06-06 Akomo Gmbh Control information transmission method and device uses short message service for transmitting control information to program-controlled device
WO2003007182A1 (en) * 2001-07-11 2003-01-23 Sendo International Limited Device for automatically extending text messages, and methods therefor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1344462A (en) * 2000-01-19 2002-04-10 皇家菲利浦电子有限公司 Invisible encoding of meta information
DE10059941A1 (en) * 2000-12-02 2002-06-06 Akomo Gmbh Control information transmission method and device uses short message service for transmitting control information to program-controlled device
WO2003007182A1 (en) * 2001-07-11 2003-01-23 Sendo International Limited Device for automatically extending text messages, and methods therefor

Also Published As

Publication number Publication date
CN1635804A (en) 2005-07-06

Similar Documents

Publication Publication Date Title
CN101453221B (en) Mapper and its mapping method based on bit-interleaved coded modulation system
CN100435591C (en) A method for transmitting invisible characters on a short message communication platform
EP1278308A3 (en) Forward link text compression in satellite messaging
US7106794B2 (en) System and method for Huffman shaping in a data communication system
CN103428227B (en) Based on the IP conceal communication method of Huffman coding
CN102386996B (en) A kind of physical layer data in satellite two-way communication transmission method and device
WO2007120314A3 (en) Hierarchical coding for multicast messages
CN101840394B (en) Data decoding method
EP0991219A2 (en) Concatenated error control method and system for uplink satellite transmission
CN103402185B (en) A kind of private information transfer method
WO2002033828A8 (en) A digital data transforming method
WO2004032432A3 (en) Low latency radio/baseband interface protocol
WO2013182079A1 (en) Short message transcoding method and device
WO2014206141A1 (en) Serial data transmission method and system of same
Schnurr et al. Achievable rates for the restricted half-duplex two-way relay channel under a partial-decode-and-forward protocol
EP1237316A3 (en) Apparatus and method for coding / decoding channels in a mobile communication system
CN117478272B (en) Industrial Internet data transmission method
EP2273683A3 (en) Encoding and decoding of low density parity check (LDPC) codes
CN108256807B (en) Express delivery person receiving and dispatching system and method based on two-dimension code identification
CN102307075A (en) Voice transmission encryption method of DMR (digital mobile radio) communication terminal
EP1284581A3 (en) Preventing excessive use of security keys in a wireless communications security system
CN100558085C (en) A method for exchanging information by using Chinese characters in a ship-borne automatic identification system
EP2113845A1 (en) Character conversion method and apparatus
KR101127063B1 (en) Computer readable medium recording data structure thereon including the hangul code linked with ascii, encoder and decoder using hangul code linked with ascii and method for encoding and dcoding usint the hangul code linked with ascii and computer readable medium recording program for performing the method
Wang et al. Method and implementation of sending and receiving mobile phone messages

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081119

Termination date: 20211231

CF01 Termination of patent right due to non-payment of annual fee