Internal and external network data one-way communication method and system based on physical isolation

By compressing, segmenting and encoding files into color pictures at the sending end, combined with the reading and decoding of the camera module, physically isolated one-way data transmission is realized, solving the problem that a single optical fiber cannot guarantee absolute one-way communication and security sexual problems improve the security of data transmission.

CN118921202AInactive Publication Date: 2024-11-08LHASA JIAHUI TECH CO LTD

Patent Information

Application Number
CN202410993832.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Although existing single fibers performing data unidirectional communication improves security, there are still potential security problems, such as malicious attacks, physical damage and system vulnerabilities, which cannot guarantee absolute one-way communication and data security.

Method used

By receiving files at the sending end for ZIP compression, segmentation, numbering and encoding into color picture output, the camera module reads and decodes them into binary data, and realizes physically isolated one-way transmission, ensuring the absolute unidirectionality and security of data transmission .

Benefits of technology

It realizes absolute one-way transmission, enhances the security of data transmission, prevents malicious attacks and physical damage, and ensures data integrity and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921202A_ABST
    Figure CN118921202A_ABST
Patent Text Reader

Abstract

The invention provides an internal and external network data one-way communication method and system based on physical isolation, and belongs to the technical field of data transmission. Data one-way communication is achieved based on an image mode, and a sending end receives a file transmitted by a third party for compression; a complete data packet generated after compression is segmented into a plurality of data packets, the segmented data packets are numbered, then files in the data packets are coded into color pictures, the color pictures are output to a display module, and the color pictures are read by a camera module. And the read color picture is decoded into binary data, and the binary data is sent to a receiving end, so that physical isolation one-way transmission is completely realized, and the security of data transmission is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of data transmission, and in particular relates to a one-way communication method and system for internal and external network data based on physical isolation. Background Art

[0002] In order to adapt to different security domains, network and terminal isolation products can be divided into three categories based on their form and function: terminal isolation products, network isolation products, and network one-way import products.

[0003] The network unidirectional import product is a typical operating environment, where two machines are connected by unidirectional transmission components. The network unidirectional import product is deployed between two security domains, where the data sending processing unit network interface is connected to the information sender security domain A, and the data receiving processing unit network interface is connected to the information receiver security domain B. The information flow flows from the security domain A that sends data to the security domain B that receives data. The unidirectional transmission component uses the physical characteristics of unidirectional transmission to establish the only unidirectional transmission channel between the two security domains. In this channel, data can only be transmitted unidirectionally along the trusted path from the data sending processing unit to the data receiving processing unit, without any feedback signal. The unidirectional transmission component consists of a pair of unidirectional receiving components and a unidirectional sending component. The unidirectional sending component is installed in the data sending processing unit, and the unidirectional receiving component is installed in the data receiving processing unit. The unidirectional physical transmission characteristics of the unidirectional transmission component are fixed and cannot be modified. Any software configuration, physical jumper, etc. cannot change the unidirectional transmission characteristics and transmission direction of its components, thereby achieving the reliability of unidirectional data import. Example: In optical communication, the data transmission processing unit uses an optical transmission module, the data reception processing unit uses an optical reception module, and the unidirectional transmission channel uses a single optical fiber to achieve unidirectional data transmission.

[0004] For example, in the Chinese patent literature, the publication number is CN205142221U, the publication date is April 6, 2016, and the name is a network isolation unidirectional optical fiber transmission system, which includes a first mirror service station, a first optical terminal, a unidirectional optical fiber link, a second optical terminal and a second mirror service station. The first mirror service station is used to connect to the public network, and the second mirror service station is used to connect to the confidential network. The first optical terminal and the second optical terminal are connected at both ends of the unidirectional optical fiber link respectively. The first mirror service station is connected to the first optical terminal, and the second mirror service station is connected to the second optical terminal.

[0005] However, the publication number CN205142221U still has shortcomings. Using a single optical fiber for one-way data communication does improve the security of data to a certain extent, but it cannot guarantee absolute one-way communication, so there are still some potential security issues. First of all, although the single-fiber one-way communication function can realize that the sender only sends messages and the receiver only receives messages, thereby ensuring the one-way flow of data to a certain extent, it cannot completely rule out the possibility of malicious attacks or tampering. Attackers may use certain technical means to try to interfere with or destroy fiber-optic communications, such as injecting malicious signals or interference signals to affect data transmission. Secondly, the security of the optical fiber itself also needs to be considered. The optical fiber line may suffer physical damage or be illegally accessed, which may lead to data leakage or tampering. Therefore, the protection and monitoring of the optical fiber line are equally important. In addition, even if single-fiber one-way communication is used, if there are security vulnerabilities in other parts of the system or network, attackers may still use these vulnerabilities to implement attacks. Relying solely on single-fiber one-way communication, it is also necessary to combine other security measures to comprehensively improve the security of the system. In summary, although a single optical fiber used for one-way data communication can improve data security, it cannot solve all security problems. There are still some potential security issues, and absolute one-way communication cannot be guaranteed. Summary of the invention

[0006] In order to solve the deficiencies of the above-mentioned prior art, the present invention provides a one-way communication method and system for internal and external network data based on physical isolation, which realizes one-way communication of data based on images, compresses the file received by the sending end through the third party transmission, divides the complete data package generated after compression into multiple data packets, and numbers the divided data packets. Then, the files in the data packets are encoded into color pictures and output to the display module, which are read by the camera module, and the read color pictures are decoded into binary data and sent to the receiving end, which completely realizes one-way transmission with physical isolation, ensures absolute one-way transmission, and ensures the security of data transmission.

[0007] The present invention is achieved through the following technical solutions: On one hand, the present invention provides a one-way communication method for internal and external network data based on physical isolation, which is characterized by comprising the following steps: S1. The sender in security domain A generates a protocol file, a metafile, and data from the file received from the third party, compresses it into a complete data package using the ZIP compression algorithm, and sends it to the data processing module; S2. The complete data packet is divided into n data packets by the data processing module, and the n data packets are numbered in sequence, and the data packets are packaged and sent to the encoding module; the n data packets contain all the information in the complete data packet; S3. The data packet in step S2 is transmitted to the encoding module, which encodes it into a color image through the opencv algorithm; S4. The display module outputs each color picture, and each output is maintained for three time periods; S5. The camera module reads the color image on the display module at intervals of one time period each; S6. The color image read in step S5 is decoded by a decoding module based on an opencv algorithm and transcoded into binary data; S7. The receiving end in security domain B receives the binary data processed by the decoding module, decompresses it using the ZIP compression algorithm, and transmits it to a third party in security domain B.

[0008] Furthermore, in step S4, the display module outputs each color picture three times, and each output is maintained for three time periods.

[0009] Furthermore, in step S5, the camera module reads the color picture on the display module once every time period, removes the color pictures that are read repeatedly according to the numbers, and repeatedly reads until the last color picture.

[0010] Furthermore, step S7 includes: S7.1. The receiving end receives the complete data compression package and parses it to generate a protocol file, a meta file, and data; S7.2, the receiving end establishes a data communication link to the target according to the protocol file; S7.3, the receiving end parses and reads the data according to the meta file; S7.4. The receiving end sends the read data to the target address according to the protocol file.

[0011] Furthermore, in step S2, the number of bytes of each data packet does not exceed 25 kb.

[0012] Furthermore, in the step S1, the data is divided into file data, database data, video data and real-time data.

[0013] Furthermore, in step S1, the sending end receives file data transmitted by a third-party file center through a file transfer protocol; receives database data transmitted by a third-party database center through an ODBC method; receives video data transmitted by a third-party video center through an RTMP protocol; and receives real-time data transmitted by a third-party industrial data center through an industrial protocol.

[0014] Furthermore, file transfer protocols include FTP protocol and NFS protocol; industrial protocols include MODBUS TCP, TCP, UDP, OPC, and custom protocols.

[0015] Furthermore, the receiving end transmits the decompressed file data, database data, video data and real-time data to the third-party file center, third-party database center, third-party video center and third-party industrial data center in security domain B respectively through protocol files and metafiles.

[0016] Another aspect of the present invention provides a communication system for unidirectionally importing products based on physical isolation for executing any one of the above-mentioned unidirectional communication methods for intranet and extranet data based on physical isolation, characterized in that: it includes a security domain A and a security domain B; the security domain A includes a receiving end, a data processing module, an encoding module, and a display module; the security domain B includes a camera module, a decoding module, and a receiving end; The sending end is used to receive information transmitted from a third party to generate a protocol file, a metafile, and data, compress the protocol file, the metafile, and the data into a complete data package using a ZIP compression algorithm and send the package to the data processing module; The data processing module is used to receive the complete data packet transmitted by the sending end, and divide the complete data packet into multiple data packets, and number each data packet in sequence, and the data processing module generates a check packet, and packages the data packet and the check packet and sends them to the encoding module; The encoding module is used to receive the data packets and verification packets processed by the data processing module, and encode them into color pictures by the encoding module; The display module is used to output the color pictures processed by the encoding module, and each color picture is output three times, each time for three time periods; The camera module reads the picture on the display module once every time period, and reads cyclically until the last color picture is repeatedly read, and the color pictures that are repeatedly read are eliminated according to the numbers; The decoding module is used to decode the color picture read by the camera module and transcode it into binary data; The receiving end receives the binary data processed by the decoding module, and then decompresses it through the ZIP compression algorithm and transmits it to a third party in the security domain B.

[0017] The beneficial effects of the present invention are as follows: The present invention realizes one-way communication of data in the form of images. The sending end compresses the file transmitted by the third party, divides the complete data packet generated after compression into multiple data packets, numbers the divided data packets, and then encodes each data packet into a color picture and outputs it to the display module. The camera module reads it, decodes the read color picture into binary data and sends it to the receiving end, thus completely realizing one-way transmission with physical isolation, ensuring absolute one-way transmission, and ensuring the security of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 is a flow chart of the present invention; Figure 2 A schematic diagram of an embodiment of the present invention. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] Example 1 On one hand, the present invention provides a one-way communication method for intranet and extranet data based on physical isolation, comprising the following steps: S1. The sender in security domain A generates a protocol file, a metafile, and data from the file received from the third party, compresses it into a complete data package using the ZIP compression algorithm, and sends it to the data processing module; S2. The complete data packet is divided into n data packets by the data processing module, and the n data packets are numbered in sequence, and the data packets are packaged and sent to the encoding module; the n data packets contain all the information in the complete data packet; S3. The data packet in step S2 is transmitted to the encoding module, which encodes it into a color picture; S4. The display module outputs each color picture, and each output is maintained for three time periods; S5. The camera module reads the color image on the display module at intervals of one time period each; S6. The color image read in step S5 is decoded by a decoding module based on an opencv algorithm and transcoded into binary data; S7. The receiving end in security domain B receives the binary data processed by the decoding module, decompresses it using the ZIP compression algorithm, and transmits it to a third party in security domain B.

[0021] In this embodiment, in step S2, the data processing module can generate a verification packet, which marks the total number of data packets and a verification code for verifying the integrity of data transmission. The verification packet and the data packet are packaged together and transmitted to the encoding module, which encodes it into a color picture, which is read by the camera module and sent to the decoding module for decoding and transcoding into binary data. The receiving end in security domain B receives the binary data processed by the decoding module. The total number of data packets can be known through the verification packet, and the integrity of the data transmission can be verified through the verification code. The data is then decompressed by the ZIP compression algorithm and transmitted to a third party in security domain B.

[0022] Example 2 This embodiment further elaborates and supplements the implementation mode of the present invention on the basis of Embodiment 1.

[0023] As an implementation of this embodiment, in step S4, the display module outputs each color picture three times, and each output is maintained for three time periods.

[0024] As another implementation of this embodiment, in step S5, the camera module reads the color picture on the display module once every time period, removes the color pictures that are read repeatedly according to the numbers, and repeatedly reads the last color picture.

[0025] As another implementation of this embodiment, step S7 includes: S7.1. The receiving end receives the complete data compression package and parses it to generate a protocol file, a meta file, and data; S7.2, the receiving end establishes a data communication link to the target according to the protocol file; S7.3, the receiving end parses and reads the data according to the meta file; S7.4. The receiving end sends the read data to the target address according to the protocol file.

[0026] As another implementation of this embodiment, in step S2, the number of bytes of each data packet does not exceed 25 kb.

[0027] Example 3 This embodiment further elaborates and supplements the implementation mode of the present invention on the basis of Embodiment 1 or Embodiment 2.

[0028] As an implementation of this embodiment, in the step S1, the data is divided into file data, database data, video data and real-time data.

[0029] In step S1, Figure 2As shown, the sending end receives file data transmitted by a third-party file center through a file transfer protocol; receives database data transmitted by a third-party database center through an ODBC method; receives video data transmitted by a third-party video center through an RTMP protocol; and receives real-time data transmitted by a third-party industrial data center through an industrial protocol.

[0030] Furthermore, file transfer protocols include FTP protocol and NFS protocol; industrial protocols include MODBUS TCP, TCP, UDP, OPC, and custom protocols.

[0031] like Figure 2 As shown, the receiving end transmits the decompressed file data, database data, video data and real-time data to the third-party file center, third-party database center, third-party video center and third-party industrial data center in security domain B respectively through protocol files and metafiles.

[0032] Example 4 This embodiment further elaborates and supplements the implementation mode of the present invention on the basis of Embodiment 1, Embodiment 2 or Embodiment 3.

[0033] Another aspect of the present invention provides a communication system for one-way import of products based on physical isolation for executing any of the above embodiments, comprising a security domain A and a security domain B; the security domain A comprises a receiving end, a data processing module, an encoding module, and a display module; the security domain B comprises a camera module, a decoding module, and a receiving end; The sending end is used to receive information transmitted from a third party to generate a protocol file, a metafile, and data, compress the protocol file, the metafile, and the data into a complete data package using a ZIP compression algorithm and send the package to the data processing module; The data processing module is used to receive the complete data packet transmitted by the sending end, and divide the complete data packet into multiple data packets, and number each data packet in sequence, and the data processing module generates a check packet, and packages the data packet and the check packet and sends them to the encoding module; The encoding module is used to receive the data packets and verification packets processed by the data processing module, and encode them into color pictures by the encoding module; The display module is used to output the color pictures processed by the encoding module, and each color picture is output three times, each time for three time periods; The camera module reads the picture on the display module once every time period, and reads cyclically until the last color picture is repeatedly read, and the color pictures that are repeatedly read are eliminated according to the numbers; The decoding module is used to decode the color picture read by the camera module and transcode it into binary data; The receiving end receives the binary data processed by the decoding module, and then decompresses it through the ZIP compression algorithm and transmits it to a third party in the security domain B.

Claims

1. A one-way communication method for intranet and extranet data based on physical isolation, characterized by: The following steps are included: S1. The sender in security domain A generates a protocol file, a metafile, and data from the file received from the third party, compresses it into a complete data package using the ZIP compression algorithm, and sends it to the data processing module; S2. The complete data packet is divided into n data packets by the data processing module, and the n data packets are numbered in sequence, and the data packets are packaged and sent to the encoding module; S3. The data packet in step S2 is transmitted to the encoding module, which encodes it into a color image through the opencv algorithm; S4. The display module outputs each color picture, and each output is maintained for three time periods; S5. The camera module reads the color image on the display module at intervals of one time period each; S6. The color image read in step S5 is decoded by a decoding module based on an opencv algorithm and transcoded into binary data; S7. The receiving end in security domain B receives the binary data processed by the decoding module, decompresses it using the ZIP compression algorithm, and transmits it to a third party in security domain B.

2. A one-way communication method for intranet and extranet data based on physical isolation as claimed in claim 1, characterized in that: In step S4, the display module outputs each color picture three times, and each output is maintained for three time periods.

3. The one-way communication method of internal and external network data based on physical isolation as claimed in claim 1, characterized in that: In step S5, the camera module reads the color picture on the display module once every time period, removes the color pictures that are read repeatedly according to the numbers, and repeatedly reads until the last color picture.

4. A one-way communication method for intranet and extranet data based on physical isolation as claimed in any one of claims 1 to 3, characterized in that: Step S7 includes: S7.

1. The receiving end receives the complete data compression package and parses it to generate a protocol file, a meta file, and data; S7.2, the receiving end establishes a data communication link to the target according to the protocol file; S7.3, the receiving end parses and reads the data according to the meta file; S7.

4. The receiving end sends the read data to the target address according to the protocol file.

5. A one-way communication method for intranet and extranet data based on physical isolation as claimed in claim 4, characterized in that: In step S2, the number of bytes of each data packet does not exceed 25kb.

6. A one-way communication method for intranet and extranet data based on physical isolation as claimed in claim 4, characterized in that: In the step S1, the data is divided into file data, database data, video data and real-time data.

7. A one-way communication method for intranet and extranet data based on physical isolation as claimed in claim 4, characterized in that: In step S1, the sender receives file data transmitted by a third-party file center through a file transfer protocol; receives database data transmitted by a third-party database center through an ODBC method; receives video data transmitted by a third-party video center through an RTMP protocol; and receives real-time data transmitted by a third-party industrial data center through an industrial protocol.

8. A one-way communication method for intranet and extranet data based on physical isolation as claimed in claim 7, characterized in that: File transfer protocols include FTP protocol and NFS protocol; industrial protocols include Modbus TCP, TCP, UDP, OPC, and custom protocols.

9. The one-way communication method for intranet and extranet data based on physical isolation as claimed in claim 7, characterized in that: The receiving end transmits the decompressed file data, database data, video data and real-time data to the third-party file center, third-party database center, third-party video center and third-party industrial data center in security domain B through protocol files and metafiles.

10. A communication system for one-way product import based on physical isolation, the system is used to execute the communication method according to any one of claims 1 to 9, characterized in that: It includes security domain A and security domain B; security domain A includes a receiving end, a data processing module, an encoding module, and a display module; Security domain B includes camera module, decoding module, and receiving end; The sending end is used to receive information transmitted from a third party to generate a protocol file, a metafile, and data, compress the protocol file, the metafile, and the data into a complete data package using a ZIP compression algorithm and send the package to the data processing module; The data processing module is used to receive the complete data packet transmitted by the sending end, and divide the complete data packet into multiple data packets, and number each data packet in sequence, and the data processing module generates a check packet, and packages the data packet and the check packet and sends them to the encoding module; The encoding module is used to receive the data packets and verification packets processed by the data processing module, and encode them into color pictures by the encoding module; The display module is used to output the color pictures processed by the encoding module, and each color picture is output three times, each time for three time periods; The camera module reads the picture on the display module once every time period, and reads cyclically until the last color picture is repeatedly read, and the color pictures that are repeatedly read are eliminated according to the numbers; The decoding module is used to decode the color picture read by the camera module and transcode it into binary data; The receiving end receives the binary data processed by the decoding module, and then decompresses it through the ZIP compression algorithm and transmits it to a third party in the security domain B.

Citation Information

Patent Citations

  • No-feedback one-way data transmission method and device based on quick response (QR) codes

    CN102983938A

  • High-efficiency drive-free isolation transmission method and system based on HID protocol and image coding and decoding

    CN116346410A

  • Physical isolation data ferrying method and system based on high-density color data matrix image

    CN117579755A

  • File transmission method, device and system

    WO2015117393A1

Cited By

  • Data transmission method and system across physical isolation network

    CN120301672A

  • RTMP one-way proxy method, system and device based on one-way import device and medium

    CN121239742A