Intranet and extranet information exchange method
Connecting the intranet computer monitor and input nodes through video lines, using OCR identification technology and EDID field modification, the security and efficiency of information exchange in and out of the network is achieved, and the problem of traditional communication methods violating network security policies is solved.
Patent Information
- Application Number
- CN202510083717.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-20
- Publication Date
- 2025-05-16
AI Technical Summary
Traditional communication methods cannot meet the need for intranet to obtain state information from the external network, because they usually require additional hardware connections or open network ports, which violates strict network security policies.
Connect the intranet computer monitor and input node through a video line, use the output node to take screenshots from the video signal and perform OCR recognition, generate status information, and pass it to the intranet computer by modifying the EDID field of the input node, adjusting the operation of video page switching.
It realizes the security and efficiency of information exchange in the internal and external networks, ensures the secure transmission and efficient processing of data, and avoids violations of network security policies.
Smart Images

Figure CN120010803A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic information technology, and in particular to a method for exchanging information between an intranet and an extranet. Background Art
[0002] With the development of information technology, many enterprises have established highly isolated intranet environments, prohibiting any direct external network connection or physical interface communication. However, in some cases, the intranet still needs to obtain status information from the external network, such as production status, task completion, etc., in order to better coordinate the workflow. Traditional communication methods cannot meet this demand because they usually require additional hardware connections or open network ports, which violates strict network security policies. Summary of the invention
[0003] To solve at least one of the aforementioned technical problems, the present disclosure proposes, in a first aspect, a method for exchanging information between an intranet and an external network, wherein the display of an intranet computer and an input node are connected only by a video cable, comprising: the intranet computer loads a video signal to be transmitted and displays it on the display of the intranet computer; the input node receives the video signal from the display of the intranet computer and forwards the video signal to the output node; the output node takes a screenshot of the received video signal and performs OCR recognition, generates status information based on the OCR recognition result, passes the status information to the input node, and sends the OCR recognition result to the external network computer; the input node modifies the EDID field of the input node based on the received status information, the intranet computer reads the EDID field through the DDC channel, and adjusts the video page switching operation based on the EDID field.
[0004] Preferably, the input node comprises an HDMI receiver or a video encoder, and the input node has a programming interface and allows an external program to modify the EDID field stored inside the input node.
[0005] Preferably, the EDID field stored inside the modified input node is an unused portion of the EDID field or an area reserved by the manufacturer.
[0006] Preferably, the video cable includes an HDMI cable, a DisplayPort cable, a VGA cable or a DVI cable, and the interface for connecting the video cable supports the DDC / CI protocol.
[0007] Preferably, the output node sends the OCR recognition result to the external network computer. The output node sends a "capturing" signal before each screenshot. After receiving this signal, the internal network computer stops switching the video page until it receives a "completed" signal to switch the video page.
[0008] Preferably, after all pages have been transferred, the output node sends a special "all completed" status signal to the intranet computer, indicating that the entire transfer process is complete.
[0009] Preferably, the input node supports the DDC / CI protocol, and the intranet computer periodically queries the DDC channel and reads the updated EDID field content of the input node to obtain the latest status signal.
[0010] Preferably, the status signal includes "ready", "collecting" and "completed".
[0011] In a second aspect, the present disclosure proposes an intranet and extranet information exchange system, in which the intranet computer display and the input node are connected only by a video cable, including: a loading module, used for the intranet computer to load the video signal to be transmitted and display it on the display of the intranet computer; a forwarding module, used for the input node to receive the video signal from the intranet computer display and forward the video signal to the output node; an acquisition module, used for the output node to take a screenshot from the received video signal and perform OCR recognition, generate status information according to the OCR recognition result, pass the status information to the input node, and send the OCR recognition result to the external network computer; an adjustment module, used for the input node to modify the EDID field of the input node according to the received status information, the intranet computer reads the specific EDID field through the DDC channel, and adjusts the video page switching operation according to the EDID field.
[0012] The present disclosure proposes a computer-readable medium in a third aspect, wherein a computer program is stored in the computer-readable medium. The computer program is loaded and executed by a processing module to implement the steps of any of the above-mentioned methods.
[0013] Some technical effects of the present disclosure are: a method for exchanging information between an intranet and an extranet, wherein the intranet computer display and an input node are connected only through a video line, including: the intranet computer loads a video signal to be transmitted and displays it on the display of the intranet computer; the input node receives the video signal from the intranet computer display and forwards the video signal to the output node; the output node takes a screenshot from the received video signal and performs OCR recognition, generates status information according to the OCR recognition result, and transmits the status information to the input node, and sends the OCR recognition result to the extranet computer; the input node modifies the EDID field of the input node according to the received status information, the intranet computer reads the EDID field through the DDC channel, and adjusts the video page switching operation according to the EDID field. Ensure the safe transmission and efficient processing of data. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] To better understand the technical solution of the present disclosure, you may refer to the following drawings for auxiliary explanation of the prior art or embodiments. These drawings will selectively display the products or methods involved in the prior art or some embodiments of the present disclosure. The basic information of these drawings is as follows: Figure 1 The present invention is a flowchart of an embodiment of a method for exchanging information between an intranet and an intranet. DETAILED DESCRIPTION
[0015] The technical means or technical effects involved in the present disclosure will be further described below. Obviously, the embodiments (or implementation methods) provided are only some of the implementation methods covered by the present disclosure, but not all of them. Based on the embodiments in the present disclosure and the explicit or implicit descriptions of the figures and texts, all other embodiments that can be obtained by those skilled in the art without making creative efforts will be within the scope of protection requested by the present disclosure.
[0016] With the development of information technology, many enterprises and organizations have established highly isolated intranet environments, prohibiting any direct external network connection or physical interface communication. However, in some cases, the intranet still needs to obtain status information from the external network, such as production status, task completion, etc., in order to better coordinate the workflow. Traditional communication methods cannot meet this demand because they usually require additional hardware connections or open network ports, which violates strict network security policies.
[0017] In order to ensure the security of the network, the intranet in the disclosed application environment cannot allow any external network connection, nor does it allow any external signal to connect to the intranet. For example, 232 signals are not allowed to connect to the intranet, USB signals are not allowed to connect to the intranet, and keyboard and mouse signals are not allowed to send signals to the intranet to control the intranet.
[0018] In this regard, Figure 1 The present application discloses a method for exchanging information between an intranet and an intranet, wherein an intranet computer display and an input node are connected only by a video line, comprising: S10: The intranet computer loads the video signal to be transmitted and displays it on the monitor of the intranet computer; S20: The input node receives the video signal from the intranet computer display and forwards the video signal to the output node; S30: The output node takes a screenshot from the received video signal and performs OCR recognition, generates status information according to the OCR recognition result, transmits the status information to the input node, and sends the OCR recognition result to the external network computer; S40: the input node modifies the EDID field of the input node according to the received status information, the intranet computer reads the EDID field through the DDC channel, and adjusts the video page switching operation according to the EDID field.
[0019] One application environment of the disclosed embodiment may be a production computer in an intranet of a production workshop. Due to the need for production scheduling, the generating computer needs to obtain some status signals from the external network that need to be scheduled or production status signals that are waiting to be scheduled. Such signals may include "ready signal, busy signal, completion signal". When the production computer in the factory receives these signals from the external network, it knows how to automatically schedule production.
[0020] The embodiments of the present disclosure provide a method and system for exchanging information between internal and external networks, which utilizes input nodes and output nodes to receive and process video streams, and combines OCR technology and DDC protocol to achieve secure communication between internal and external networks. The present disclosure aims to solve the security and efficiency problems of information exchange between internal and external networks in the prior art, and provides a method for transmitting status signals by modifying the EDID field in an HDMI receiver, and using OCR technology to collect video data in the internal network, thereby ensuring secure transmission and efficient processing of data. Status signals include "ready", "collecting" and "completed". Specifically: The embodiment of the present invention is applied to the following system architecture, including: an intranet computer, a display, an input node, an output node, and an extranet computer.
[0021] The intranet computer is located in a strictly isolated internal network and is responsible for preparing and displaying the data pages to be transmitted. No external device is allowed to control it to ensure its security and isolation. The monitor is connected to the intranet computer and is used to display the data pages of the intranet computer. It supports the DDC / CI protocol and allows reading EDID information. The monitor has multiple input ports or multi-screen display functions and can forward video signals to HDMI receivers or video encoders. The input node can be an HDMI receiver or video encoder. The input node is connected to the monitor of the intranet computer through a video cable. The input node receives the video signal from the intranet monitor through the video cable and forwards it to the external network device. The input node is connected to the intranet only through a video cable. The video interface is HDMI, DP, VGA, etc. and the corresponding cables. The video cable can be an HDMI cable, which is used to connect devices that support the HDMI interface and supports high-definition audio / video signal transmission. The video cable can also be a DisplayPort cable, which is used to connect devices that support the DisplayPort interface. It also supports high-definition audio / video signal transmission and has a higher bandwidth. The video cable can also be a VGA cable, which is used to connect older devices and transmit analog video signals, which is suitable for scenarios with low resolution requirements. In order to ensure strict isolation between the internal and external networks and prevent any form of two-way data flow or control command from entering the internal network, the video cable connection provides a one-way data transmission channel, which only allows the video stream to be transmitted from the internal network to the input node, and does not allow the video stream to be transmitted from the input node to the internal network. The video cable itself does not have the ability of two-way communication, which helps to maintain the security of the network. The video cable supports one-way data flow, ensuring that only the video signal can be transmitted from the internal network to the external network, and no reverse control command can enter the internal network. Video cables include HDMI cables, DisplayPort cables, VGA cables or DVI cables, and the interface for connecting the video cable supports the DDC / CI protocol.
[0022] Input nodes, which can be HDMI receivers or video encoders, are able to emulate and provide their own EDID information instead of using the EDID of the connected display directly. This functionality is usually implemented by the video interface because the EDID information is passed through these interfaces. Input nodes have a programming interface that allows external programs to modify the EDID fields stored internally by the input node to encode status information. The EDID fields stored internally by the input node are unused portions of the EDID field or manufacturer reserved areas.
[0023] The output node is connected to the input node through a network cable, including the screenshot software and the OCR processing unit, which is responsible for taking screenshots from the received video stream and performing OCR processing. The status information is passed to the HDMI receiver or video encoder, and the input node is responsible for encoding this information into its internal EDID field. The status information refers to the status of the screenshot and OCR processing of the video stream being processed, or the status of the processing being in progress.
[0024] On the intranet side, it is responsible for preparing and displaying the data page to be transmitted. On the external network side, the video signal of the intranet display is received through the input node, and then the output node takes a screenshot of the received video stream and performs OCR processing, and finally sends a status signal to the intranet by modifying the EDID field in the HDMI receiver. Display: As an intermediate medium, it is connected to the intranet computer to display the data page.
[0025] The data transmission process is as follows: In the initialization phase, after the intranet computer is started, the first data page is loaded and displayed on the connected monitor. The intranet application starts to monitor the DDC channel and waits for the status signal from the external network (the initial state is "ready"). The intranet computer prepares and displays the first page. After receiving the "ready" status signal, the intranet application loads and displays the first data page on the monitor of the intranet computer. The intranet application switches to the "wait for acquisition" mode and prepares to receive the next status signal. The input node receives the video signal from the intranet monitor through the HDMI cable or other video cable and forwards it to the output node. The output node receives the video stream of the intranet computer through the input node. The output node uses any screenshot software to capture the first page image of the received video stream and perform OCR acquisition. The output node uses the built-in screenshot software to capture the received video stream and obtain the content displayed on the current screen, that is, the first page image information prepared by the intranet computer. OCR processing: Use OCR software to analyze the image, extract text information, and save the result to a specified location, such as a file system, database, etc. Status feedback and preparation for the next page. Status encoding: After successfully processing the data of the current page, the output node modifies a specific EDID field in the HDMI receiver through its programming interface and sets it to "complete". The output node modifies a specific EDID field in the HDMI receiver through its programming interface. This is because the generation and transmission of status information is the responsibility of the external network device (output node), while the actual EDID field modification occurs on the input node (such as the HDMI receiver or video encoder). Status query: The intranet application periodically queries the DDC channel and once a "complete" status signal is received, it confirms that the current page has been successfully acquired. Intranet prepares for the next page: The intranet application loads and displays the next data page according to preset rules. The intranet application switches to "wait for acquisition" mode again and prepares to receive the next status signal. Loop operation, repeat acquisition and confirmation: The external network device continues the above acquisition and confirmation process until all scheduled data pages have been successfully transmitted. Final completion signal: When all pages have been transmitted, the output node can send a special "all completed" status signal to the intranet computer to indicate the end of the entire transmission process. Synchronization mechanism, handshake protocol: before each acquisition on the external network, a "collecting" status signal is sent to the internal network computer, which pauses page switching until it receives a "completed" signal. This helps prevent the problem of the internal and external networks being out of sync. The output node sends the OCR recognition results to the external network computer. The output node sends a "collecting" signal before each screenshot. After receiving this signal, the internal network computer stops the video page switching operation until it receives a "completed" signal to switch the video page. After all pages have been transmitted, the output node sends a special "all completed" status signal to the internal network computer, indicating that the entire transmission process has ended.The intranet computer application periodically refreshes the graphics driver cache and reads the updated EDID field content of the output node. The input node supports the DDC / CI protocol, and the intranet computer periodically queries the DDC channel and obtains the latest status signal.
[0026] Assume that the method of the present application is being used to monitor the status of production orders: the intranet computer displays the details of the first production order. The output node takes a screenshot from the video stream and performs OCR processing to extract the order information. After the output node completes the OCR processing, it sends a "completed" status signal to the input node. The input node encodes the "completed" status into its internal EDID field. The intranet computer reads the "completed" status signal through the DDC channel to confirm that the current page has been successfully collected. The intranet computer loads and displays the details of the next production order, waiting for the output node to continue collecting. The output node can transmit the collected order information directly to the external network computer via the Internet. In this process, taking screenshots and performing OCR processing are the actual data collection steps, and the transmission of status information ensures the coordination and synchronization between the internal and external networks, making the entire process efficient and orderly.
[0027] The relationship between screenshot and OCR processing and status information transmission is that the former is the specific operation of data collection, while the latter is to ensure the synchronization and coordination between the internal and external networks. The transmission of status information not only provides the necessary feedback mechanism, but also helps optimize the efficiency and reliability of the entire system. Once the OCR processing is completed, the output node will generate corresponding status information (such as "processing", "completed", etc.) and pass this status information to the HDMI receiver or video encoder (input node). This is to inform the internal network computer of the current operation progress. In order to ensure the synchronization of operations between the internal and external networks, the transmission of status information is very important. Specifically: In the initial state, after the internal network computer prepares the first data page and displays it, it listens to the status signal (such as "ready") from the external network through the DDC channel to confirm that the output node of the external network device is ready. In the acquisition state, when the output node of the external network device starts OCR processing, it may send a "acquiring" status signal to the internal network computer to inform it not to switch to the next page to avoid the problem of asynchronous. In the completion state, after the OCR processing is completed, the output node of the external network device sends a "completed" status signal to the input node, which encodes this information into the EDID field. The intranet computer reads this status signal through the DDC channel, confirms that the current page has been successfully acquired, and then loads and displays the next data page.
[0028] Status information transmission provides a feedback loop for the entire system, allowing the internal and external networks to work in coordination. For example, to prevent duplicate collection, the same page can be prevented from being collected multiple times through status information transmission. After each collection is completed, the status information notifies the internal network to switch to the next page. Error handling, if there is a problem during the OCR process, such as poor image quality causing recognition failure, the output node of the external network device can send a specific error status signal to prompt the internal network to take corresponding measures, such as redisplaying the page or adjusting settings.
[0029] The technical solution disclosed in the present invention has the following advantages. Security: By modifying the specific EDID field in the HDMI receiver to transmit the status signal, rather than directly modifying the EDID information of the display, the security and stability of the system are ensured. Real-time: The HDMI receiver or video encoder can respond quickly and update the EDID field to ensure the timely transmission of status information. Flexibility: Additional status information can be transmitted without changing the inherent EDID of the display, and the display settings are not affected. Efficiency: Combined with OCR technology, automatic collection of intranet video data is realized, improving work efficiency. On the display or HDMI receiver or other equivalent to the HDMI receiver such as the video encoder, that is, the input node side, by filling in the corresponding status information in the specific EDID information position, the intranet computer obtains the information through the graphics card and the DDC channel of the HDMI / DP / VGA interface.
[0030] In a second aspect, the present disclosure proposes an intranet and extranet information exchange system, in which the intranet computer display and the input node are connected only by a video cable, including: a loading module, used for the intranet computer to load the video signal to be transmitted and display it on the display of the intranet computer; a forwarding module, used for the input node to receive the video signal from the intranet computer display and forward the video signal to the output node; an acquisition module, used for the output node to take a screenshot from the received video signal and perform OCR recognition, generate status information according to the OCR recognition result, pass the status information to the input node, and send the OCR recognition result to the external network computer; an adjustment module, used for the input node to modify the EDID field of the input node according to the received status information, the intranet computer reads the specific EDID field through the DDC channel, and adjusts the video page switching operation according to the EDID field.
[0031] The present disclosure proposes a computer-readable medium in a third aspect, wherein a computer program is stored in the computer-readable medium, and the computer program is loaded and executed by a processing module to implement the steps of the acquisition method. It can be understood by those skilled in the art that all or part of the steps in the embodiment can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable medium, and the readable medium can include various media that can store program codes, such as a flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk.
[0032] Within the scope of the knowledge and ability level of those skilled in the art, the various embodiments or technical features mentioned herein may be combined with each other as other optional embodiments without conflict. These limited number of optional embodiments, which are not listed one by one and are formed by combining a limited number of technical features, still fall within the technical scope disclosed in the present disclosure and can be understood or inferred by those skilled in the art in combination with the drawings and the above text.
[0033] In addition, the description of most embodiments is based on different focuses. If you need to further understand what is not described in detail, you can refer to the relevant content of the prior art, other relevant descriptions in this article or the purpose of the invention for reasonable reasoning.
[0034] It is emphasized again that the embodiments listed above are typical and preferred embodiments of the present disclosure, which are only used to explain and interpret the technical solutions of the present disclosure in detail to facilitate the understanding of the readers, and are not used to limit the scope or application of the present disclosure. Any technical solutions obtained by modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the scope of the present disclosure.
Claims
1. A method for exchanging information between an intranet and an intranet, wherein the intranet computer display and an input node are connected only by a video line, characterized in that: include: The intranet computer loads the video signal to be transmitted and displays it on the monitor of the intranet computer; The input node receives the video signal from the intranet computer display and forwards the video signal to the output node; The output node takes a screenshot from the received video signal and performs OCR recognition, generates status information based on the OCR recognition result, passes the status information to the input node, and sends the OCR recognition result to the external network computer; The input node modifies the EDID field of the input node according to the received status information, the intranet computer reads the EDID field through the DDC channel, and adjusts the operation of video page switching according to the EDID field.
2. The method according to claim 1, characterized in that The input node includes an HDMI receiver or a video encoder. The input node has a programming interface and allows an external program to modify the EDID field stored inside the input node.
3. The method according to claim 2, characterized in that Modifying the EDID field stored internally in the input node is an unused portion of the EDID field or a manufacturer reserved area.
4. The method according to any one of claim 1, characterized in that: The video cable includes an HDMI cable, a DisplayPort cable, a VGA cable or a DVI cable, and the interface for connecting the video cable supports the DDC / CI protocol.
5. The method according to claim 1, characterized in that The output node sends the OCR recognition result to the external network computer. The output node sends a "capturing" signal before each screenshot. After receiving this signal, the internal network computer stops switching the video page until it receives the "completed" signal to switch the video page.
6. The method according to claim 5, characterized in that After all pages have been transferred, the output node sends a special "all completed" status signal to the intranet computer, indicating the end of the entire transfer process.
7. The method according to claim 1, characterized in that The input node supports the DDC / CI protocol. The intranet computer periodically queries the DDC channel and reads the updated EDID field content of the input node to obtain the latest status signal.
8. The information exchange system according to claim 1, characterized in that: Status signals include "Ready", "Acquiring", and "Complete".
9. An intranet and intranet information exchange system, wherein the intranet computer display and the input node are connected only by a video line, characterized in that: include: A loading module, used for the intranet computer to load the video signal to be transmitted and display it on the monitor of the intranet computer; A forwarding module, used for receiving a video signal from an intranet computer display at an input node and forwarding the video signal to an output node; The acquisition module is used for the output node to take a screenshot from the received video signal and perform OCR recognition, generate status information according to the OCR recognition result, pass the status information to the input node, and send the OCR recognition result to the external network computer; The adjustment module is used for the input node to modify the EDID field of the input node according to the received status information, the intranet computer reads the specific EDID field through the DDC channel, and adjusts the video page switching operation according to the EDID field.
10. A computer readable medium, characterized in that: The computer readable medium stores a computer program, which is loaded and executed by the processing module to implement the steps of any one of the methods of claims 1 to 8.
Citation Information
Patent Citations
System and method for obtaining equipment identification information in one-way mode
CN107015939A
Cross-network-segment data transmission method and device and readable medium
CN114202756A
Security isolation and switching device for multiple paths of EDID and videos and use method of security isolation and switching device
CN116347014A
Electronic device, method for responding to message, and program
US20090190040A1
Cited By
Internal and external network physical isolation information transmission system and method based on one-way channel
CN121462291A