CN111144159A - One-way transmission system based on two-dimensional code - Google Patents
One-way transmission system based on two-dimensional code Download PDFInfo
- Publication number
- CN111144159A CN111144159A CN201911264276.XA CN201911264276A CN111144159A CN 111144159 A CN111144159 A CN 111144159A CN 201911264276 A CN201911264276 A CN 201911264276A CN 111144159 A CN111144159 A CN 111144159A
- Authority
- CN
- China
- Prior art keywords
- data
- dimensional code
- way transmission
- system based
- module
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/146—Methods for optical code recognition the method including quality enhancement steps
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/146—Methods for optical code recognition the method including quality enhancement steps
- G06K7/1473—Methods for optical code recognition the method including quality enhancement steps error correction
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Communication Control (AREA)
Abstract
The invention discloses a one-way transmission system based on two-dimension codes, which comprises a service system, a sending unit and a receiving unit, wherein the sending unit and the receiving unit jointly form a one-way transmission device; in the data transmission process, all the contents to be output are replaced by digital data and are transmitted in the form of escape dictionary table files through an off-line means. Compared with the prior art, the invention has the following positive effects: the invention uses mature two-dimension code image coding technology and liquid crystal screen scanning technology to realize the unidirectional data transmission between physically isolated networks, and compared with the traditional mode, the invention has low cost and high practicability. The information has high density and high reliability, and the transmission efficiency and the real-time performance of the system are better, and the controllability is stronger.
Description
Technical Field
The invention relates to a one-way transmission system based on a two-dimensional code.
Background
In an environment where data transmission is performed between security domains physically isolated on a network, data exchange is conventionally performed by using optical disk ferrying, image ferrying, infrared transmission and other methods, and the environment has the disadvantages of poor stability, large material consumption, low transmission efficiency and the like.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a one-way transmission system based on two-dimension codes, aims to solve the technical problem of one-way transmission of a small amount of data between physically isolated network security domains, is suitable for cross-domain exchange of short messages such as alarms and notifications and is a low-cost and efficient solution.
The technical scheme adopted by the invention for solving the technical problems is as follows: a one-way transmission system based on two-dimension codes comprises a service system, a sending unit and a receiving unit, wherein the sending unit and the receiving unit jointly form a one-way transmission device; in the data transmission process, all the contents to be output are replaced by digital data and are transmitted in the form of escape dictionary table files through an off-line means.
Compared with the prior art, the invention has the following positive effects:
the invention uses mature two-dimension code image coding technology and liquid crystal screen scanning technology to realize data one-way transmission between physically isolated security domains, and compared with the traditional mode, the invention has low cost and high practicability. Meanwhile, data information content is transmitted off line in a data file mode of the escape dictionary table, and whether the output data information content meets the output requirement can be checked and controlled manually in the process of exporting the escape dictionary table, so that the safety and the controllability of the system are further improved.
Drawings
The invention will now be described, by way of example, with reference to the accompanying drawings, in which:
FIG. 1 is an overall block diagram of a one-way transmission system based on two-dimensional codes;
FIG. 2 is a flow chart of data fault tolerance detection.
Detailed Description
The one-way transmission system based on the two-dimensional code mainly comprises a service system, a sending unit and a receiving unit. The transmitting unit and the receiving unit jointly form a one-way transmission device, and the transmitting unit and the receiving unit are completely physically isolated and independently powered. When data transmission is carried out, unidirectional transmission can be carried out only from the sending unit to the receiving unit, and the receiving unit is completely forbidden from feeding back data to the sending unit. In the data transmission process, in order to effectively control the output of the key data information, the contents to be output are replaced by data of a digital type and are transmitted in the form of an escape dictionary table file through an off-line means. In the process of exporting the escape dictionary table file, manual review is needed to control the content of the output key data information.
The overall block diagram of the system of the present invention is shown in fig. 1.
(1) Business system
The service system is an application system that needs to perform unidirectional data transmission. The service system (source network/destination network) is connected with the sending unit and the receiving unit through network cables respectively, and the data transmission bearing protocol is a TCP/IP protocol. A service system (source network) presets data information to be transmitted and generates an offline transmission file in the form of a transfer dictionary table; when the information needs to be sent, the information content is transferred according to a transfer dictionary table; and then the escaped information content is transmitted to a sending unit through a network in a standard format.
Escape dictionary table: the basic element (E) of the dictionary table is a binary data structure, and each basic element can be represented as E ═ K, V, where K is a number type, and K is {1, …, n }, and V is a character string type, and is a Unicode code of data information content corresponding to each number code K, and V is { Unicode code K1, …, and Unicode code Kn }. The escape dictionary table can be expressed as T ═ { E1, …, En } or T ═ E1 ═ K1, V1>, …, En ═ Kn, Vn }, i.e. the dictionary table is a set of basic elements E.
The canonical format of data transmission: the data after the escape does not contain any actual data information content, and the data stream thereof can be represented as DataStream ═ { d { i, e }, h }, where d { i, e } represents a message body, i represents a message sequence number, and the value is i ═ 1, …, n }; e represents the identifier of the output data information content, and the value is e ═ 1, …, n, which is the same as K in the escape dictionary table; h represents that HMAC (for ensuring message integrity and identity validity) is calculated for the message volume data d ═ i, e, and the value is h ═ HMAC (d, k) (k is the shared key of the service system and the sending unit).
(2) Transmitting unit
The sending unit comprises a data receiving module, a data fault-tolerant detection module, a two-dimension code encoding module and a two-dimension code liquid crystal display screen. Wherein: the data receiving module receives data sent by a service system; the data fault tolerance detection module detects whether the data meets the transmission requirement and caches the effective data; and the two-dimensional Code coding module converts the data in the cache into ASCII codes, codes the data according to a QR Code system, and displays the coded data on a liquid crystal display in a two-dimensional Code image mode.
Data fault tolerance detection: the fault-tolerant detection of the sending unit on the data of the service system (source network) mainly comprises data format consistency detection, identity validity detection of both communication parties and message integrity detection. The fault tolerant detection flow is shown in fig. 2.
(3) Receiving unit
The receiving unit comprises a two-dimensional code scanning device, a two-dimensional code decoding module, a data fault tolerance detection module, a data escape module and a data sending module. Wherein: the two-dimensional code scanning device periodically scans the two-dimensional code liquid crystal display screen of the sending unit; the two-dimensional Code decoding module decodes the scanned two-dimensional Code information according to a QR Code system; the data fault tolerance detection module detects whether the received data conforms to a transmission rule; the data escape module restores and recombines the data according to the escape dictionary table; and the data sending module sends the recombined data to a service system (a destination network) for receiving the exchange data.
Data fault tolerance detection: the detection of the data information identifier is added on the basis of the fault-tolerant detection shown in fig. 2, that is, the data information content identifier (e) received by the receiving unit must conform to the definition in the escape dictionary table (i.e., e is equal to K), otherwise, the data information content identifier is not processed as invalid information.
And (3) data reduction and recombination: and converting the data information content identifier e transmitted by the two-dimensional code into V in an escape dictionary table to form a new data stream, namely converting D to { i, e } into D to { i, V }.
Claims (10)
1. The utility model provides a one-way transmission system based on two-dimensional code which characterized in that: the system comprises a service system, a sending unit and a receiving unit, wherein the sending unit and the receiving unit jointly form a one-way transmission device; in the data transmission process, all the contents to be output are replaced by digital data and are transmitted in the form of escape dictionary table files through an off-line means.
2. The one-way transmission system based on two-dimensional codes according to claim 1, characterized in that: the transmitting unit and the receiving unit are completely physically isolated and independently powered.
3. The one-way transmission system based on two-dimensional codes according to claim 1, characterized in that: the method comprises the steps that a service system source network presets data information to be transmitted and generates an offline transmission file in a transfer dictionary table mode; when the data information needs to be sent, the data information content is transferred according to a transfer dictionary table; and then the escaped information content is transmitted to a sending unit through a network in a standard format.
4. The one-way transmission system based on two-dimensional codes according to claim 3, characterized in that: the escape dictionary table is represented as T ═ E1, …, En }, where Ei ═ (Ki, Vi), Ki is a number type, Ki ═ 1, …, n }, and Vi is a character string type, which represents Unicode encoding of data information content corresponding to Ki.
5. The one-way transmission system based on two-dimensional codes according to claim 4, characterized in that: the canonical format of data transmission is represented by data stream as { d { i, e }, h }, where d { i, e } represents message body data, i represents a message sequence number, and i ═ 1, …, n }; e represents the identifier of the output data information content, and e is {1, …, n }, which is the same as each Ki in the escape dictionary table; h denotes the calculation of HMAC for the message body data, h ═ HMAC (d, k), where k is the shared key of the traffic system and the sending unit.
6. The one-way transmission system based on two-dimensional codes according to claim 1, characterized in that: the sending unit comprises a data receiving module, a data fault-tolerant detection module, a two-dimension code coding module and a two-dimension code liquid crystal display screen; wherein: the data receiving module receives data sent by a service system source network; the data fault tolerance detection module detects whether the data meets the transmission requirement and caches the effective data; and the two-dimensional Code coding module converts the data in the cache into ASCII codes, codes the data according to a QR Code system, and displays the coded data on a liquid crystal display in a two-dimensional Code image mode.
7. The one-way transmission system based on two-dimensional codes according to claim 6, characterized in that: the data fault tolerance detection of the sending unit comprises data format consistency detection, identity validity detection of both communication parties and message integrity detection.
8. The one-way transmission system based on two-dimensional codes according to claim 1, characterized in that: the receiving unit comprises a two-dimensional code scanning device, a two-dimensional code decoding module, a data fault tolerance detection module, a data escape module and a data sending module; wherein: the two-dimensional code scanning device periodically scans the two-dimensional code liquid crystal display screen of the sending unit; the two-dimensional Code decoding module decodes the scanned two-dimensional Code information according to a QR Code system; the data fault tolerance detection module detects whether the received data conforms to a transmission rule; the data escape module restores and recombines the data according to the escape dictionary table; and the data sending module sends the recombined data to a service system destination network.
9. The one-way transmission system based on two-dimensional code of claim 8, wherein: the data fault tolerance detection of the receiving unit comprises data format consistency detection, identity validity detection of both communication parties, message integrity detection and detection of data information identification.
10. The one-way transmission system based on two-dimensional code of claim 8, wherein: the method for reducing and recombining the data comprises the following steps: and converting the data information content identification transmitted by the two-dimensional code into a character string type in an escape dictionary table to form a new data stream.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911264276.XA CN111144159A (en) | 2019-12-11 | 2019-12-11 | One-way transmission system based on two-dimensional code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911264276.XA CN111144159A (en) | 2019-12-11 | 2019-12-11 | One-way transmission system based on two-dimensional code |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111144159A true CN111144159A (en) | 2020-05-12 |
Family
ID=70517954
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911264276.XA Pending CN111144159A (en) | 2019-12-11 | 2019-12-11 | One-way transmission system based on two-dimensional code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111144159A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114091631A (en) * | 2021-10-28 | 2022-02-25 | 国网江苏省电力有限公司连云港市赣榆区供电分公司 | Power grid accident information publishing method and device |
CN115567498A (en) * | 2022-10-12 | 2023-01-03 | 山东首瀚信息科技有限公司 | System based on one-way reliable network security transmission protocol |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030182128A1 (en) * | 2002-03-08 | 2003-09-25 | Katie Kuwata | Method of encoding and decoding for multi-language applications |
CN102831163A (en) * | 2012-07-20 | 2012-12-19 | 江苏缨思贝睿物联网科技有限公司 | Data transfer method and data transfer system |
CN104363221A (en) * | 2014-11-10 | 2015-02-18 | 青岛微智慧信息有限公司 | Network safety isolation file transmission control method |
CN105847290A (en) * | 2016-05-17 | 2016-08-10 | 江苏飞搏软件股份有限公司 | Data transmission method and data transmission system for physical isolation network |
CN106817367A (en) * | 2017-01-03 | 2017-06-09 | 深圳市沃特玛电池有限公司 | A kind of data transmission method and system |
CN107517142A (en) * | 2017-10-10 | 2017-12-26 | 朱汉源 | A kind of system and method that remote maintenance is realized by Quick Response Code |
CN107784027A (en) * | 2016-08-31 | 2018-03-09 | 北京国双科技有限公司 | A kind of reminding method and device of judgement document's search key |
CN108737683A (en) * | 2018-05-24 | 2018-11-02 | 方学林 | A kind of multiple-input and multiple-output one-way data transmission method and system based on Quick Response Code |
CN112346425A (en) * | 2020-11-20 | 2021-02-09 | 宜宾市极米光电有限公司 | Factory automation test method, system, projection equipment and storage medium |
-
2019
- 2019-12-11 CN CN201911264276.XA patent/CN111144159A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030182128A1 (en) * | 2002-03-08 | 2003-09-25 | Katie Kuwata | Method of encoding and decoding for multi-language applications |
CN102831163A (en) * | 2012-07-20 | 2012-12-19 | 江苏缨思贝睿物联网科技有限公司 | Data transfer method and data transfer system |
CN104363221A (en) * | 2014-11-10 | 2015-02-18 | 青岛微智慧信息有限公司 | Network safety isolation file transmission control method |
CN105847290A (en) * | 2016-05-17 | 2016-08-10 | 江苏飞搏软件股份有限公司 | Data transmission method and data transmission system for physical isolation network |
CN107784027A (en) * | 2016-08-31 | 2018-03-09 | 北京国双科技有限公司 | A kind of reminding method and device of judgement document's search key |
CN106817367A (en) * | 2017-01-03 | 2017-06-09 | 深圳市沃特玛电池有限公司 | A kind of data transmission method and system |
CN107517142A (en) * | 2017-10-10 | 2017-12-26 | 朱汉源 | A kind of system and method that remote maintenance is realized by Quick Response Code |
CN108737683A (en) * | 2018-05-24 | 2018-11-02 | 方学林 | A kind of multiple-input and multiple-output one-way data transmission method and system based on Quick Response Code |
CN112346425A (en) * | 2020-11-20 | 2021-02-09 | 宜宾市极米光电有限公司 | Factory automation test method, system, projection equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114091631A (en) * | 2021-10-28 | 2022-02-25 | 国网江苏省电力有限公司连云港市赣榆区供电分公司 | Power grid accident information publishing method and device |
CN115567498A (en) * | 2022-10-12 | 2023-01-03 | 山东首瀚信息科技有限公司 | System based on one-way reliable network security transmission protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111144159A (en) | One-way transmission system based on two-dimensional code | |
CN102510473B (en) | Ship-shore data communication system based on 3G wireless network | |
CN102075737A (en) | Video monitoring conversation method | |
CN110381119B (en) | Method, system and device for acquiring log information and storage medium | |
CN106911436B (en) | A kind of implementation method of parallel double-network redundant | |
CN101193312A (en) | Self-adapted error recovery device, video communication system and method based on feedback | |
CN106780197A (en) | Intellectual property management system | |
CN110300120A (en) | The hierarchical synchronization method and system of reverse data under the conditions of a kind of physical isolation | |
CN105807266A (en) | Compression method for early-warning radar track data transmission | |
CN109104243A (en) | A kind of pixel communication means, information send terminal and information receiving terminal | |
WO2005101741A1 (en) | A system and method for remote monitoring in the communication network | |
CN1288200A (en) | Transmission method of E-mail | |
CN108040041A (en) | A kind of image difference transport protocol design system and method based on business-driven | |
US20100211583A1 (en) | Method and system for exchanging digital documents | |
CN111669718A (en) | Mobile information interaction system based on multiple wireless communication channels | |
CN109672532B (en) | Hybrid automatic retransmission method for continuous variable quantum key distribution | |
CN104506461A (en) | Industrial communication network gateway equipment | |
CN101958835B (en) | Data transmission method and logic network adapter | |
CN112243012B (en) | Offline message transmission method and device, server and terminal | |
CN114362821A (en) | Cross-network information reminding method, system and device of photoelectric conversion device | |
CN210573917U (en) | Hydropower station group operation data management system | |
CN103686849B (en) | The sending method and terminal of periodic data message | |
CN100375479C (en) | Network system and method for implementing media gateway control protocol stack | |
JPH0258451A (en) | Message incoming notifying system | |
CN102752377B (en) | Solve system and method thereof that in mine system, mobile message and production information merge |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200512 |