CN108009139A - A kind of decoding method of invisible character data circulation character visible data flow - Google Patents

A kind of decoding method of invisible character data circulation character visible data flow Download PDF

Info

Publication number
CN108009139A
CN108009139A CN201711232169.XA CN201711232169A CN108009139A CN 108009139 A CN108009139 A CN 108009139A CN 201711232169 A CN201711232169 A CN 201711232169A CN 108009139 A CN108009139 A CN 108009139A
Authority
CN
China
Prior art keywords
character
invisible
data
visible
binary
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.)
Pending
Application number
CN201711232169.XA
Other languages
Chinese (zh)
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.)
Chongqing Jinmei Communication Co Ltd
Original Assignee
Chongqing Jinmei Communication 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 Chongqing Jinmei Communication Co Ltd filed Critical Chongqing Jinmei Communication Co Ltd
Priority to CN201711232169.XA priority Critical patent/CN108009139A/en
Publication of CN108009139A publication Critical patent/CN108009139A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • G06F40/146Coding or compression of tree-structured data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention discloses a kind of decoding method of invisible character data circulation character visible data flow, to realize in being spaced according to every 6 binary digits by the binary number of invisible character data stream, then two bits that value added is 01 before every 6 binary digits of the invisible character data flow data, enable every 8 binary digits to form a character visible.Decoded major way is then that the binary number for needing decoded character visible data flow is spaced into one group of data according to every 8 binary digits, then removes the first two character visible mark binary digit of every 8 binary digits.The advantageous effects of the present invention by the circulation of invisible character data by turning to character visible data flow, it can realize the transmission that invisible character data stream is carried out in the scene that can not transmit invisible character, increase the data transmission applications scene of invisible character with this.

Description

A kind of decoding method of invisible character data circulation character visible data flow
Technical field
The present invention relates to a kind of data decoding method, more particularly to a kind of invisible character data circulation character visible number According to the decoding method of stream.
Background technology
In computer systems, all data will be identified in storage and computing using binary number, in order to unite Binary number and coded identification can be made to carry out unification, related standardization body of the U.S. has just put into effect ASCII codings, unified two into The mapping relations of number and character code processed.
In ASCII codings, 32-126 is that character visible is shown, remaining is generally reserved characters or invisible word Symbol.In some specific equipment or network, invisible character is often transmitted as forbidden character without allowing, wherein often See such as Big Dipper short message channel, its significant character collection for allowing to transmit includes all printable ascii characters(HEX20 is arrived HEX7F).
In general, when being compressed encryption to data, invisible character is often carried in data, then in specified conditions Under, some encryption policies will be subject to equipment and network on after invisible character filtering can not normal transmission influenced so that Cause the encryption policy or data can not use or transmit in the present context.
The content of the invention
The problem of according to background technology, invented a kind of invisible character data circulation character visible data flow herein Decoding method, complete to transmit the binary data stream containing invisible character under given conditions with this.
The binary number of invisible character data stream is being spaced into one group of data according to every 6 bits, so Two bits that value added is 01 before every 6 bits of the invisible character data flow data afterwards, make position bit of every eight bits A character visible can be formed, flowed to so as to fulfill invisible character data character visible data flow code conversion it is main Flow.Decoded major way is then that will need the binary number of decoded character visible data flow according to position bit of every eight bits One group of data is spaced into, then removes the first two bit of position bit of every eight bits, so that new character data stream is formed, Wherein can there are invisible character data.
The method have the benefit that:, can by the way that the circulation of invisible character data is turned to character visible data flow To realize the transmission that invisible character data stream is carried out in the scene that can not transmit invisible character, invisible word is increased with this The data transmission applications scene of symbol.
Brief description of the drawings
Attached drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright illustrated embodiment and its explanation is used to explain the present invention, does not form inappropriate limitation of the present invention.
Attached drawing 1, a kind of coding flow chart of the decoding method of invisible character data circulation character visible data flow;
Attached drawing 2, a kind of embodiment cataloged procedure figure of the decoding method of invisible character data circulation character visible data flow;
Attached drawing 3, a kind of embodiment decoding process figure of the decoding method of invisible character data circulation character visible data flow.
Embodiment
The ascii character scope of character visible is HEX20 to HEX7F, is when being encoded using 8 bits 00100000 to 01111111.Therefore can draw when the first two binary digit in a byte be 01 when, behind 6 After any value of binary digit, the byte is still in the range of HEX20 to HEX7F.
According to above-mentioned characteristic, the present invention devises a set of with reference to the code identification position that have selected using 01 as character visible Make the decoding method of invisible character data circulation character visible data flow.
A kind of coding flow chart such as institute of attached drawing 1 of the decoding method of invisible character data circulation character visible data flow Show.Invisible character data stream N is spaced apart according to every 6 binary digits for one group, in the binary digit of last packet Before supply the bit that M is 0, until length of the group for 6 binary digits, the character data stream are grouped into N2;M is converted to The binary number of 6 binary digits, and by the binary number be added to N2 packet after, form new invisible character data flow point Group N3;By packet two binary digits that above value added is 01 of 6 bit intervals in N3, the data flow after coding is S, Character in S is just all character visible.The decoding process of the present invention is the reverse flow of above-mentioned cataloged procedure, therefore the present invention does not make It is explained further, with reference to above-mentioned flow inverted order.
A kind of embodiment cataloged procedure figure of the decoding method of invisible character data circulation character visible data flow is such as Shown in attached drawing 2, original invisible character data stream encryption is:0000000100000001000000100000001100000100 , it is 00,000,001 00,000,001 00,000,010 00,000,011 00000100 according to 8 one group of data encoding, by original word It is 000,000 010,000 000,100 000,010 000,000 110000 that data flow, which is accorded with, according to 6 one group of data encoding 0100, in this group of data, last group is simultaneously 6 inadequate.Therefore, end packet is handled, is mended before its binary digit 0, until it is 6, which is encoded to 000,000 010,000 000,100 000,010 000,000 110000000100, the binary digit that its underscore is identified is added value.Since increased binary digit needs to show number, to solve The coding of addition can be released when code, therefore the present invention adds 6 packets after the binary data stream, is used for The number of above-mentioned increase by 0 is identified, has mended two 0 according to embodiment, then new binary data stream is encoded to 000,000 010000 000100 000010 000000 110000 000100 000010.As a result restructuring sequence, after the packet transaction of end, then by 01 The front two of above-mentioned each packet binary digit is put in as character visible flag, new binary data stream is formed and compiles Code be01000000 01010000 01000100 01000010 01000000 01110000 01000100 01000010, The character visible flag that the string data increases newly is protruded with underscore and identified, this data is just the character visible data after coding Stream.
A kind of embodiment decoding process figure of the decoding method of invisible character data circulation character visible data flow is such as Shown in attached drawing 3, character visible data flow to be decoded is 01,000,000 01010000 according to 8 one group of data encoding 01000100 01,000,010 01,000,000 01,110,000 01,000,100 01000010, its character visible flag is removed, Remove 01 bit before each byte, and be 000000 according to 6 one group of data encoding by the character data stream of letter 010000 000100 000010 000000 110000 000100 000010, in this group of data last group band under draw The data of line are used for representing the number that second from the bottom group of data mend 0, therefore original data stream is 000,000 010,000 000100 000010 000,000 110,000 0100, it is ordered as 00,000,001 00,000,001 00000010 according to byte packet 00000011 00000100, that is, complete decoding process.

Claims (4)

  1. A kind of 1. decoding method of invisible character data circulation character visible data flow, it is characterised in that:In invisible word According with increases the binary identification position of character visible data flow in data flow, realize that invisible character data circulation is changed to character visible The encoding and decoding of data flow;It is characterized in that:The present invention is with reference to the code identification position that have selected using 01 as character visible, by this Flag increases in invisible character data stream, its step is:
    Coding:Invisible character data stream N is spaced apart according to every 6 binary digits for one group, the two of last packet The bit that M are 0 is supplied before system position, until length of the group for 6 binary digits, the character data stream are grouped into N2;By M Be converted to the binary number of 6 binary digits, and after the binary number is added to N2 packets, form new invisible number of characters According to flow point group N3;By packet two binary digits that above value added is 01 of 6 bit intervals in N3, the data after coding Flow for S, the character in S is just all character visible;
    Decoding:The decoding process of the present invention is the reverse flow of above-mentioned cataloged procedure, therefore the present invention is not further explained, reference Above-mentioned flow inverted order.
  2. 2. a kind of decoding method of invisible character data circulation character visible data flow according to claim 1, its It is characterized in that:Invisible character data stream is increased into 01 two bits before six binary digits.
  3. 3. a kind of decoding method of invisible character data circulation character visible data flow according to claim 1, its It is characterized in that:It will be seen that every deleting wherein the first two bit in eight binary digits in character data stream.
  4. 4. a kind of decoding method of invisible character data circulation character visible data flow according to claim 1, its It is characterized in that:Flag will be increased after invisible character data stream, for representing invisible character data stream by 6 binary systems 0 number is mended in last packet after the packet of position.
CN201711232169.XA 2017-11-30 2017-11-30 A kind of decoding method of invisible character data circulation character visible data flow Pending CN108009139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711232169.XA CN108009139A (en) 2017-11-30 2017-11-30 A kind of decoding method of invisible character data circulation character visible data flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711232169.XA CN108009139A (en) 2017-11-30 2017-11-30 A kind of decoding method of invisible character data circulation character visible data flow

Publications (1)

Publication Number Publication Date
CN108009139A true CN108009139A (en) 2018-05-08

Family

ID=62055055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711232169.XA Pending CN108009139A (en) 2017-11-30 2017-11-30 A kind of decoding method of invisible character data circulation character visible data flow

Country Status (1)

Country Link
CN (1) CN108009139A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266436A (en) * 2019-06-26 2019-09-20 重庆金美通信有限责任公司 A kind of binary data stream transmission method based on Beidou
CN114142970A (en) * 2021-11-25 2022-03-04 无锡彼星半导体有限公司 Fault-tolerant transmission method for high-speed transmission of two-dimensional array data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635804A (en) * 2003-12-31 2005-07-06 厦门雅迅网络股份有限公司 A method for implementing invisible character transmission on short message communication platform
US8769279B2 (en) * 2006-10-17 2014-07-01 Verifone, Inc. System and method for variable length encryption
CN104598625A (en) * 2015-02-04 2015-05-06 中国人民解放军总后勤部军事交通运输研究所 Data table storage method based on automatic identification identifier

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635804A (en) * 2003-12-31 2005-07-06 厦门雅迅网络股份有限公司 A method for implementing invisible character transmission on short message communication platform
US8769279B2 (en) * 2006-10-17 2014-07-01 Verifone, Inc. System and method for variable length encryption
CN104598625A (en) * 2015-02-04 2015-05-06 中国人民解放军总后勤部军事交通运输研究所 Data table storage method based on automatic identification identifier

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李伟: "一种加密变长码字并保持视频格式的加密方案", 《计算机工程》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266436A (en) * 2019-06-26 2019-09-20 重庆金美通信有限责任公司 A kind of binary data stream transmission method based on Beidou
CN110266436B (en) * 2019-06-26 2021-11-23 重庆金美通信有限责任公司 Binary data stream transmission method based on Beidou
CN114142970A (en) * 2021-11-25 2022-03-04 无锡彼星半导体有限公司 Fault-tolerant transmission method for high-speed transmission of two-dimensional array data
CN114142970B (en) * 2021-11-25 2024-04-19 无锡彼星半导体有限公司 Fault-tolerant transmission method for two-dimensional array data high-speed transmission

Similar Documents

Publication Publication Date Title
DE102009061814B3 (en) Method, transmitter, receiver and system for a link and lane level packetization scheme for coding in serial links
AU2017342863B2 (en) Methods and devices for encoding and decoding binary data
CN104426629A (en) Physical layer coding and decoding methods and devices
CN115865523A (en) Data encryption transmission method for information analysis system
CN108009139A (en) A kind of decoding method of invisible character data circulation character visible data flow
CN116775589A (en) Data security protection method for network information
CN102761418B (en) Character compression encrypting method
CN116094836B (en) Router data secure storage method and system based on symmetric encryption
CN1937582B (en) Method for preprocessing data to be compressed and compressed data transmission method
CN105630755B (en) Big-dipper satellite short message expands the source encoding and decoding method and device of information content transmission
CA2627304A1 (en) Text encoding system and method
ATE241873T1 (en) METHOD FOR DECODING DATA ENCODED WITH AN ENTROPY CODE, CORRESPONDING DECODING DEVICE AND TRANSMISSION SYSTEM
CN103795492A (en) Coding method and apparatus and decoding method and apparatus in optical communication system, system
CN105718978B (en) QR code generation method and device, and decoding method and device
US9294418B2 (en) 64B/66B codec for ethernet applications
CN104717032B (en) A kind of decoding method suitable for AFDX network data transparent transmissions
US8117236B2 (en) Coding positions of data elements in a data structure
CN104052749A (en) Method for identifying link-layer protocol data types
JP2023036033A (en) Data encoding method, encoder, and data encoding method
Chowdhury et al. An efficient decoding technique for Huffman codes
CN101436865B (en) Method and apparatus for perforating bit stream after Turbo encode
CN110472202B (en) Unicode-based information embedding and extracting method
US8004430B2 (en) Coding scheme for serial data communications
CN108702245A (en) The method and system of the adaptive application layer forward error correction of MPEG media transmission
CN107040377A (en) A kind of method for storing cipher key based on quantum secret communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180508