Search

CN-115118285-B - System for scanning data before data transmission and marking same data

CN115118285BCN 115118285 BCN115118285 BCN 115118285BCN-115118285-B

Abstract

A system for scanning data before data transmission and marking same data comprises a D trigger, an exclusive OR gate, an AND gate, a CPU, a storage and a data bus, wherein the D trigger is connected in series to form a first group of shift registers and a second group of shift registers, the exclusive OR gate, the AND gate, the first group of shift registers and the second group of shift registers form a scanning device, the CPU, the storage and the scanning device are connected through the data bus, relative static data flow and flowing data flow are respectively sent to the first group of shift registers and the second group of shift registers, the same data is scanned, the same data is marked and stored in the storage as a basis of compressed data.

Inventors

  • MENG CHAO
  • ZHANG MENG
  • WANG HAN
  • WU JIANSONG

Assignees

  • 航天科工通信技术研究院有限责任公司

Dates

Publication Date
20260512
Application Date
20220720

Claims (6)

  1. 1. A system for scanning data before data transmission and labeling the same data comprises a D trigger, an exclusive OR gate, an AND gate, a CPU, a memory and a data bus, and is characterized in that the D trigger is connected in series to form a first group of shift registers and a second group of shift registers; the exclusive-OR gate, the AND gate, the first group of shift registers and the second group of shift registers form a scanning device; the CPU, the memory and the scanning device are connected through a data bus; the relative static data stream and the streaming data stream are respectively sent to a first group of shift registers and a second group of shift registers; scanning the same data, and labeling the same data for storage; D flip-flop B 1 , D flip-flop B 2 , D flip-flop B 3 , D flip-flop B 4 are serially connected to form a first group of shift registers, D flip-flop B 1 , The D trigger B 2 , the D trigger B 3 and the D trigger B 4 are connected in series to form a second group of shift registers, the signal output end of the D trigger B 1 , The signal output end of the D trigger B 1 is connected to the signal input end of the exclusive or gate X 1 , the signal output end of the D trigger B 2 and the signal output end of the D trigger B 2 are connected to the signal input end of the exclusive or gate X 2 , the signal output end of the D trigger B 3 , The signal output end of the D trigger B 3 is connected with the signal input end of the exclusive-or gate X 3 , the signal output end of the D trigger B 4 and the signal output end of the D trigger B 4 are connected with the signal input end of the exclusive-or gate X 4 , the signal output end of the exclusive-or gate X 1 , The signal output end of the exclusive-or gate X 2 , the signal output end of the exclusive-or gate X 3 and the signal output end of the exclusive-or gate X 4 are connected to the signal input end of the AND gate A 1 , and the signal input end of the AND gate A 1 is connected to the data bus; When the binary numbers in the first group of shift registers are the same as the binary numbers in the second group of shift registers, the signal output end of the exclusive nor gate X 1 is high level "1", the signal output end of the exclusive nor gate X 2 is high level "1", the signal output end of the exclusive nor gate X 3 is high level "1", the signal output end of the exclusive nor gate X 4 is high level "1", and the signal output end of the AND gate A 1 is high level "1".
  2. 2. The system for scanning and labeling data prior to data transmission as set forth in claim 1 wherein the data (101) is binary code data stored in the memory, the data (101) is sent to the first set of shift registers and the second set of shift registers by the CPU in a relatively static data stream and a streaming data stream, respectively, by the CPU, to form a relatively static data stream (102) in the shift registers and a streaming data stream (104) in the shift registers.
  3. 3. A system for scanning and labeling data prior to data transmission according to any of claims 1-2, characterized in that the scanning detection (103) is a comparison of the data of the relatively stationary data stream (102) in the shift register and the streaming data stream (104) in the shift register by means of scanning means, the same data being found, and the data of the relatively stationary data stream (102) in the shift register and the streaming data stream (104) in the shift register being labeled by labeling the same data (105).
  4. 4. A system for scanning and labeling data prior to data transmission as recited in claim 2, wherein the data (101) is divided into data segments S 1 、S 2 、……、S n .
  5. 5. The system for scanning and labeling data prior to data transmission according to claim 1, wherein the adding of the register capacity of the shift register is performed by adding serial D flip-flops, D flip-flops B 1 , B 2 , B 3 , B 4 , and B n are serially connected to form a first group of shift registers, and D flip-flops B 1 , B 2 , B 3 , B 4 , and D flip-flops B n are serially connected to form a second group of shift registers.
  6. 6. The system for scanning and labeling data prior to data transmission according to claim 1, wherein the connection between the AND gate A 1 signal input terminal, the AND gate A 2 signal input terminal, the AND gate A 3 signal input terminal, the AND gate A m signal input terminal is connected to a data bus, the AND gate A 1 , the AND gate A 2 , the AND gate A 3 , the AND gate A m are combined by a CPU using an algorithm, and the number of bits of a scanning unit element is increased.

Description

System for scanning data before data transmission and marking same data Technical Field The invention relates to the technical field of data processing, in particular to a system for scanning data before data transmission and labeling the same data. Background Binary code, a code consisting of two basic characters '0', '1'. Wherein, the code element is a 'one-bit' binary code. Codeword N symbols may constitute different combinations, any one of which is called a codeword. Binary code language, otherwise known as machine language, is directly recognizable by a computer, without any translation language. The instructions for each machine, in the form and meaning represented by the code, are hard-coded and therefore referred to as machine-oriented languages, also known as machine languages. It is the first generation of computer language, which is generally different for different models of computers. The computer language expressed directly by binary code instruction is a series of codes consisting of 0 and 1, which have a certain number of bits and are divided into several segments, and the codes of each segment represent different meanings, for example, a certain computer word is 16 bits long, i.e. 16 binary numbers form a instruction or other information. The 160 s and 1s can be combined into various permutation combinations, and changed into electric signals through lines, so that the computer can execute various operations. Common binary codes are international five number (IS 5), EBCDIC code, international telegraph two number (ITS 2), and the like. The invention aims to solve the problem that the same binary codes in the binary code file are scanned and the same binary code data are marked before communication data transmission, and the data are used as the basis of compressed data. Disclosure of Invention The invention aims to scan binary code data to be transmitted and label the same binary code data, and provides a system for scanning data before data transmission and labeling the same data as the basis of compressed data. The technical solution for realizing the purpose of the invention is as follows: A system for scanning data before data transmission and labeling the same data comprises a D trigger, an exclusive OR gate, an AND gate, a CPU, a memory and a data bus, wherein the D trigger is connected in series to form a first group of shift registers and a second group of shift registers; the exclusive-OR gate, the AND gate, the first group of shift registers and the second group of shift registers form a scanning device; the CPU, the memory and the scanning device are connected through a data bus; the relative static data stream and the streaming data stream are respectively sent to a first group of shift registers and a second group of shift registers; scan the same data and label the same data for storage in the memory. Compared with the prior art, the invention has the remarkable advantages that 1, the scanning device consists of an exclusive OR gate, an AND gate, a first group of shift registers and a second group of shift registers, a D trigger B 1, a D trigger B 2, a D trigger B 3, D flip-flops B 4 are serially connected to form a first group of shift registers, D flip-flop B 1, D flip-flop B 2, D flip-flop B 3, D trigger b 4 is serially connected to form a second group of shift registers, when the binary numbers in the first group of shift registers are identical to those in the second group of shift registers, the signal output end of AND gate A 1 is high level "1", the same data are found, and 2, the signal input end of AND gate A 1, The signal input end of the AND gate A 2, the signal input end of the AND gate A 3, the signal input end of the AND gate A m are connected to a data bus, and the signal input end of the AND gate A 1, and 3, respectively transmitting the relative static data stream and the streaming data stream to a first group of shift registers and a second group of shift registers, finding the same binary code data through a scanning device, marking the same binary code data and storing the same binary code data in a storage as a basis of compressed data, as communication data, and compressing the data before data transmission. The invention is described in further detail below with reference to the accompanying drawings. Drawings In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. FIG. 1 is a flow diagram of a system for scanning data prior to transmission and labeling the same data; Fig. 2 is a schematic diagram of a scanning device of a system for scanning data before transmission and