Batch node remote monitoring method and system

By deploying terminal forwarding programs and reverse distribution programs within the LAN and using HTTPS protocol for terminal forwarding, the problem that the existing technology cannot remotely capture multiple server display screens is solved, and safe and efficient remote monitoring and control are achieved, which improves the Fault handling efficiency of production line.

CN119071284AActive Publication Date: 2024-12-03INSPUR (SHANDONG) COMPUTER TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411095877.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-12-03
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

The prior art cannot remotely capture the display screens of multiple servers in the local area network, and there are security risks when accessing them through SSH.

Method used

By deploying terminal forwarding programs and reverse distribution programs between the requesting host and the target server, establishing HTTPS two-way communication services, opening the target port for terminal forwarding, real-time capture and control of desktop images of multiple terminals, ensuring the LAN Security.

Benefits of technology

It realizes remote batch crawling of display screens of multiple servers in the LAN, saving labor costs and time, improving fault processing efficiency, and ensuring the security of the LAN.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071284A_ABST
    Figure CN119071284A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of servers, and discloses a batch node remote monitoring method and system. The method is applied to a requester host, a first firewall is deployed between the requester host and a target server of a requested party, the target server is connected with a plurality of terminals, and the target server and all the terminals are located in the first firewall; the requester host is configured with a terminal forwarding program, and the target server is configured with a reverse distribution program; the method comprises the following steps: opening a target port on a first firewall, and establishing an HTTPS bidirectional communication service between a terminal forwarding program of a local machine and a reverse distribution program of a target server based on the target port; the target port supports an SSL function; sending a first request based on an HTTPS protocol to a target port through a terminal forwarding program; the first request is used for acquiring a desktop image of the target terminal; the target terminal is one or more terminals connected with the target server; the target port is used for forwarding the first request to a reverse distribution program of the target server; the reverse distribution program is used for forwarding the first request to the serial port service module of the target terminal; and receiving a desktop image of the target terminal returned by the target port, and displaying the desktop image. By adopting the method, a plurality of terminals in the local area network can be remotely and graphically monitored in batches, a large amount of labor cost and time cost are saved, and the efficiency of remotely processing equipment faults is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of server technology, and in particular to a method and system for remote monitoring of batch nodes. Background Art

[0002] During the equipment generation process, the production line needs to be monitored in real time. Before the server equipment leaves the factory, it needs to undergo a complete machine diagnostic test. The complete machine diagnostic process requires multiple diagnostic and compliance tests on the equipment, including: equipment configuration requirements, hardware quantity, performance, hardware firewall, firmware version, system stability, etc. Usually, large production lines include multiple factory buildings, which are located in the same or different areas. The use of manual offline supervision and testing links wastes a lot of manpower costs and is inefficient. In order to facilitate monitoring personnel to monitor the equipment diagnosis and testing links, it is possible to remotely penetrate the factory's internal firewall to achieve real-time monitoring of terminals within the local area network.

[0003] During the diagnosis and testing of the server before it leaves the factory, engineers often need to remotely view the display screen of the test machine (server). By viewing the display screen of the test machine, you can more intuitively see the operating status of the main control, and it is easier to make judgments on the details of the test machine during the testing and diagnosis process. For example, if the test machine has problems such as the main control stuck, the machine stuck at full load, the main control crashed and exited abnormally, and the graphics card display is abnormal, engineers need to remotely view the display screen of the test machine for timely processing.

[0004] Currently, there is a method of integrating the operating data of the test machine through a browser web page. This method can penetrate the LAN firewall through the browser, access the management server in the factory, and obtain the test data and backup logs stored there. However, this method cannot directly access the test machine, and can only capture a small amount of important information about the test machine from the management server. In addition, this method cannot obtain the display screen of the test machine.

[0005] Another method is to use SSH (Secure Shell) remote terminal to access the intranet and enable the SSH program on each test machine. The external network requesting host enters the LAN firewall through a jump server and then accesses the test machine through SSH mode. However, this method can only capture the status information of a single test machine, and cannot capture the display screen of the test machine. Moreover, opening the SSH program to the outside world is equivalent to fully releasing the access rights of the test machine, and the SSH port is an open source port program, which is extremely vulnerable to malicious attacks, destroying the security of the LAN and causing serious security risks. Therefore, it is necessary to find a safe method to remotely batch capture the display screens of servers inside the LAN. Summary of the invention

[0006] In view of this, the present application aims to propose a batch node remote monitoring method and system to achieve remote batch capture of display images of multiple servers in a local area network.

[0007] To achieve the above purpose, the technical solution of this application is as follows:

[0008] In a first aspect, an embodiment of the present application provides a method for remote monitoring of batch nodes, the method being applied to a requesting host, wherein a first firewall is deployed between the requesting host and a target server of the requested party, the target server is connected to a plurality of terminals, and the target server and all the terminals are located inside the first firewall; the requesting host is configured with a terminal forwarding program, and the target server is configured with a reverse distribution program; the method comprising:

[0009] Opening a target port on the first firewall, and establishing an HTTPS two-way communication service between a terminal forwarding program of the local machine and a reverse distribution program of the target server based on the target port; the target port supports an SSL function;

[0010] A first request based on the HTTPS protocol is sent to the target port through the terminal forwarding program; the first request is used to obtain a desktop image of a target terminal; the target terminal is: one or more terminals connected to the target server; the target port is used to forward the first request to a reverse distribution program of the target server; the reverse distribution program is used to forward the first request to a serial port service module of the target terminal;

[0011] The desktop image of the target terminal returned by the target port is received and displayed.

[0012] Optionally, receiving and displaying the desktop image of the target terminal returned by the target port comprises:

[0013] The terminal forwarding program of the local machine continuously receives the image encryption data packet based on the HTTPS protocol returned by the target port;

[0014] For each image encryption packet, do the following:

[0015] Decrypting the encrypted image data packet using the SSL key through the terminal forwarding program to obtain a first IP data packet; decompressing the first IP data packet to obtain a UDP data stream;

[0016] Performing digital-to-analog conversion on the UDP data stream to obtain a desktop image data stream of the target terminal;

[0017] The desktop image data stream is mapped to the browser port in real time and displayed in the browser window.

[0018] Optionally, the batch node remote monitoring method further includes:

[0019] Acquire the keyboard control instructions or mouse control instructions of the local machine in real time, package the keyboard control instructions or the mouse control instructions through the TCP protocol, and generate an instruction data packet;

[0020] Packing the instruction data packet to generate a second IP data packet, and sending the second IP data packet to a terminal forwarding program of the local machine;

[0021] The second IP data packet is encrypted by the terminal forwarding program using an SSL key to generate a second instruction request based on the HTTPS protocol;

[0022] The second instruction request is sent to the target port through the terminal forwarding program; the target port is used to forward the second instruction request to the reverse distribution program of the target server; the reverse distribution program is used to forward the second instruction request to the serial port service module of the target terminal.

[0023] Optionally, a target port is opened on the first firewall, and based on the target port, an HTTPS two-way communication service is established between a terminal forwarding program of the local machine and a reverse distribution program of the target server, including:

[0024] Agree on the terminal forwarding program of the local machine and the reverse distribution program of the target server, and the TCP command protocol and UDP data stream protocol to be followed when transmitting data;

[0025] Agreeing on the SSL key used by the terminal forwarding program and the reverse distribution program when transmitting data;

[0026] Opening the target port on the first firewall through the terminal forwarding program;

[0027] An SSL certificate is configured for the target port; the SSL certificate is used to perform integrity verification on the data sent by the terminal forwarding program and the reverse distribution program, and to authenticate the requesting host; the SSL certificate matches the SSL key;

[0028] Add the IP address of the requesting host to the whitelist of the SSL certificate;

[0029] The forwarding rules of the target port are configured to forward data or instructions based on the HTTPS protocol between the terminal forwarding program and the reverse distribution program.

[0030] Optionally, sending a first request based on the HTTPS protocol to the target port through the terminal forwarding program includes:

[0031] Sending a desktop image request to the terminal forwarding program via the browser of the local machine;

[0032] The desktop image request is encrypted by the terminal forwarding program using an SSL key to generate the first request;

[0033] The first request is sent to the target port through the terminal forwarding program; the target port is used to forward the first request to the reverse distribution program of the target server; the reverse distribution program is used to forward the first request to the serial port service module of the target terminal.

[0034] According to a second aspect of an embodiment of the present application, a batch node remote monitoring method is provided, which is applied to a target server of a requested party; a first firewall is deployed between the target server and a requesting host, the target server is connected to a plurality of terminals, and the target server and all the terminals are located inside the first firewall; the requesting host is configured with a terminal forwarding program, and the target server is configured with a reverse distribution program; the method comprises:

[0035] Receiving, through the reverse distribution program, a first request based on the HTTPS protocol sent by a target port on the first firewall; the first request is used to obtain a desktop image of a target terminal; the target terminal is: one or more terminals connected to the target server;

[0036] forwarding the first request to the serial port service module of the target terminal through the reverse distribution program;

[0037] The desktop image returned by the serial port service module of the target terminal is received through the reverse distribution program, and the desktop image is forwarded to the target port; the target port is used to forward the desktop image to the terminal forwarding program of the requesting host.

[0038] Optionally, the batch node remote monitoring method further includes:

[0039] Receiving, through the reverse distribution program, a second instruction request based on the HTTPS protocol sent by the target port; the second instruction request is used to execute a keyboard control instruction or a mouse control instruction on the target terminal;

[0040] The second instruction request is forwarded to the serial port service module of the target terminal through the reverse distribution program.

[0041] According to a third aspect of an embodiment of the present application, a batch node remote monitoring method is provided, which is applied to a terminal of a requested party; the terminal is connected to a target server, a first firewall is deployed between the target server and a requesting host, and the target server and the terminal are both located inside the first firewall; the requesting host is configured with a terminal forwarding program, and the target server is configured with a reverse distribution program; the method comprises:

[0042] Receiving, through the serial port service module of the local machine, a first request based on the HTTPS protocol sent by the reverse distribution program of the target server; the first request is used to obtain a desktop image of a target terminal; the target terminal is: one or more terminals connected to the target server;

[0043] Through the serial port service module, based on the first request, the desktop image is captured in real time from the local graphics card and returned to the reverse distribution program of the target server; the reverse distribution program is used to forward the desktop image to the target port on the first firewall; the target port is used to forward the desktop image to the terminal forwarding program of the requesting host.

[0044] Optionally, the reverse distribution program of capturing the desktop image from the graphics card of the local machine in real time based on the first request through the serial port service module and returning the desktop image to the target server includes:

[0045] Decrypting the first request through the serial port service module of the local machine to obtain a desktop image request;

[0046] According to the desktop image request, the desktop image signal of the local graphics card is captured in real time and analog-to-digital conversion is performed to obtain a UDP data stream;

[0047] Compressing the UDP data stream to generate an IP data packet;

[0048] Encrypting the IP data packet to generate an encrypted image data packet based on the HTTPS protocol;

[0049] A reverse distribution program for sending the image encrypted data packet to the target server; the reverse distribution program is used to forward the image encrypted data packet to the target port; the target port is used to forward the image encrypted data packet to the terminal forwarding program of the requesting host.

[0050] Optionally, the batch node remote monitoring method further includes:

[0051] Receiving in real time, through the serial port service module of the local machine, a second instruction request based on the HTTPS protocol sent by the reverse distribution program of the target server;

[0052] For each second instruction request, the following operations are performed:

[0053] Decrypting the second instruction request using the SSL key through the serial port service module of the local machine to obtain a second IP data packet; decompressing the second IP data packet to obtain an instruction data packet; converting the instruction data packet into a corresponding keyboard control instruction or a mouse control instruction, and sending it to the operating system of the local machine;

[0054] The keyboard control instruction or the mouse control instruction is executed in real time through the operating system.

[0055] According to a fourth aspect of the embodiments of the present application, a batch node remote monitoring system is provided, comprising: a requesting host, a requested target server and a plurality of terminals as described in any one of the first aspect, the second aspect or the third aspect of the embodiments of the present application; a first firewall is deployed between the requesting host and the target server, the target server is connected to a plurality of terminals, and the target server and all the terminals are located inside the first firewall; the requesting host is configured with a terminal forwarding program, and the target server is configured with a reverse distribution program;

[0056] The requesting host is configured to open a target port on the first firewall, and to establish an HTTPS bidirectional communication service between the terminal forwarding program of the requesting party and the reverse distribution program of the target server based on the target port; the target port supports the SSL function; a first request based on the HTTPS protocol is sent to the target port through the terminal forwarding program; the first request is used to obtain a desktop image of a target terminal; the target terminal is: one or more terminals connected to the target server; the target port is used to forward the first request to the reverse distribution program of the target server;

[0057] The target server is configured to receive the first request through a reverse distribution program of the local server and forward it to the serial port service module of the target terminal;

[0058] The target terminal is configured to receive the first request through the local serial port service module; based on the first request, the desktop image is captured from the local graphics card in real time and returned to the reverse distribution program of the target server.

[0059] Optionally, the batch node remote monitoring system includes: at least one target server of the requested party, each target server belongs to a different requested party, and a first firewall is deployed between each target server and the requesting party host.

[0060] Optionally, the batch node remote monitoring system further includes:

[0061] A plurality of intermediate nodes are deployed between the target server and the terminal; the downlink port of each intermediate node is connected to the intermediate node or terminal of the next layer; the intermediate node is configured with a reverse distribution program for forwarding data between the target server and the terminal.

[0062] Optionally, a second firewall is deployed between at least one of the multiple intermediate nodes and the target server;

[0063] The target server is configured with a terminal forwarding program, through which a target port is opened on the second firewall, and based on the target port, an HTTPS two-way communication service is established between the terminal forwarding program of the target server and the reverse distribution program of the intermediate node; the target port supports SSL function.

[0064] The batch node remote monitoring method provided by the present application is adopted, a terminal forwarding program is configured on the requesting host, a target port is opened on the firewall of the local area network through the terminal forwarding program, and a two-way encrypted communication link of the HTTPS protocol is established between the terminal forwarding program of the external requesting party, the target port of the firewall and the reverse distribution program of the target server (management server) inside the local area network, so as to ensure the security of the local area network. By configuring the reverse distribution program on the target server, a virtual response interface is provided to the outside instead of the terminal, and other access requests outside this port are exempted, so as to meet the identity concealment requirements of the intranet test machine. The access request of the external requesting host is distributed to the serial port service module of each terminal through the reverse distribution program, and the local desktop image is captured and data feedback is realized through the serial port service module on the terminal, so as to realize the remote transmission of the terminal display interface.

[0065] By adopting the batch node remote monitoring method provided in the present application, it is possible to remotely batch capture the display images of terminals within the local area network. Engineers can remotely view the operating status of multiple terminals (servers) within the local area network without the need for engineers to go to the site where the equipment is located. On the basis of ensuring the security of the local area network, remote batch graphical monitoring is achieved, saving a lot of labor costs and time costs, and improving the efficiency of remote handling of equipment failures. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0067] Figure 1 This is one of the flow charts of the batch node remote monitoring method proposed in one embodiment of the present application;

[0068] Figure 2 It is a schematic diagram of an external requesting host remotely controlling an intranet terminal in one embodiment of the present application;

[0069] Figure 3 This is the second flowchart of the batch node remote monitoring method proposed in one embodiment of the present application;

[0070] Figure 4 This is the third flowchart of the batch node remote monitoring method proposed in one embodiment of the present application;

[0071] Figure 5 It is one of the schematic diagrams of a batch node remote monitoring system proposed in one embodiment of the present application;

[0072] Figure 6 This is the second schematic diagram of the batch node remote monitoring system proposed in one embodiment of the present application;

[0073] Figure 7 This is the third schematic diagram of the batch node remote monitoring system proposed in one embodiment of the present application. DETAILED DESCRIPTION

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

[0075] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0076] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0077] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects as detailed in the present application.

[0078] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other.

[0079] This application configures a self-developed terminal forwarding program on the external requesting host, penetrates the first firewall of the local area network through the browser, and performs two-way encrypted communication between the requesting host and the target server inside the local area network based on the HTTPS protocol. The batch node remote monitoring method provided by this application can be applied to scenarios where a large number of server nodes inside the local area network need to be remotely monitored, such as equipment production lines, railway systems, municipal systems, etc. In this embodiment, the test and diagnosis of the remote monitoring server production line is used as an example for explanation.

[0080] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0081] Figure 1 This is one of the flow charts of the batch node remote monitoring method proposed in one embodiment of the present application. The method is applied to the requesting host, a first firewall is deployed between the requesting host and the requested target server, the target server is connected to multiple terminals, and the target server and all the terminals are located inside the first firewall; the requesting host is configured with a terminal forwarding program, and the target server is configured with a reverse distribution program. Figure 1 As shown, the method includes:

[0082] S11: opening a target port on the first firewall, and establishing an HTTPS two-way communication service between a terminal forwarding program of the local computer and a reverse distribution program of the target server based on the target port; the target port supports an SSL function;

[0083] S12: sending a first request based on the HTTPS protocol to the target port through the terminal forwarding program; the first request is used to obtain a desktop image of a target terminal; the target terminal is: one or more terminals connected to the target server; the target port is used to forward the first request to a reverse distribution program of the target server; the reverse distribution program is used to forward the first request to a serial port service module of the target terminal;

[0084] S13: receiving the desktop image of the target terminal returned by the target port, and displaying it.

[0085] In this embodiment, the requesting host is located outside the local area network, which can be one host or multiple hosts deployed in different locations, and the target server and multiple terminals are located inside the local area network. In the server production line scenario, the first firewall can be a regional firewall in a factory building inside the factory. The target server is a management device that manages the testing and problem diagnosis of each test machine (terminal) in the local area network. The target server is connected to each terminal and performs real-time monitoring and management of the terminals inside the local area network, including capturing test data on each terminal and backing up logs. The requesting host is configured with a self-developed terminal forwarding program, which communicates with the reverse distribution program on the target server through the requesting browser. The reverse distribution program forwards the desktop image capture request sent by the requesting host to the serial port service module of the target terminal. The target terminal can be one or more terminals in the local area network.

[0086] The requesting host sends a first request to the target port of the first firewall through the terminal forwarding program, and the target port forwards the first request to the reverse distribution program of the target server, and then forwards the first request to the serial port service module of the target terminal through the reverse distribution program. The serial port service module of the target terminal captures the desktop image of the local machine and returns it to the reverse distribution program of the target server, and finally returns it to the requesting host through the target port, completing the remote capture of the desktop image of the target terminal in the local area network.

[0087] In this embodiment, a terminal forwarding program independently developed is configured on the requesting host, and the terminal forwarding program is used to open the target port on the first firewall, and the encrypted communication of the HTTPS protocol is realized between the requesting host and the target server inside the local area network, so as to ensure the security of the local area network. The reverse distribution program on the target server replaces each terminal to provide a virtual response interface to the outside of the local area network, and eliminates other access requests outside this port, thereby meeting the identity concealment requirements of the terminals inside the local area network. The real-time capture of the local desktop image is realized through the serial port service module on each terminal, and then the remote and real-time graphical monitoring of batch nodes is realized, which is more intuitive than the ordinary data volume monitoring, and is convenient for engineers to analyze and control.

[0088] Based on the same inventive concept, an embodiment of the present application provides a remote monitoring method for batch nodes. Figure 3 , Figure 3This is the second flowchart of the batch node remote monitoring method proposed in one embodiment of the present application. The method is applied to the target server of the requested party; a first firewall is deployed between the target server and the requesting host, the target server is connected to multiple terminals, and the target server and all the terminals are located inside the first firewall; the requesting host is configured with a terminal forwarding program, and the target server is configured with a reverse distribution program. Figure 3 As shown, the method includes:

[0089] S21: receiving, through the reverse distribution program, a first request based on the HTTPS protocol sent by a target port on the first firewall; the first request is used to obtain a desktop image of a target terminal; the target terminal is: one or more terminals connected to the target server;

[0090] S22: forwarding the first request to the serial port service module of the target terminal through the reverse distribution program;

[0091] S23: receiving the desktop image returned by the serial port service module of the target terminal through the reverse distribution program, and forwarding the desktop image to the target port; the target port is used to forward the desktop image to the terminal forwarding program of the requesting host.

[0092] As an implementation method of the present application, an embodiment of the present application provides a remote monitoring method for batch nodes. Figure 4 , Figure 4 This is the third flowchart of the batch node remote monitoring method proposed in one embodiment of the present application. The method is applied to the terminal of the requested party; the terminal is connected to the target server, a first firewall is deployed between the target server and the requesting host, and the target server and the terminal are both located inside the first firewall; the requesting host is configured with a terminal forwarding program, and the target server is configured with a reverse distribution program. Figure 4 As shown, the method includes:

[0093] S31: receiving, through the serial port service module of the local machine, a first request based on the HTTPS protocol sent by the reverse distribution program of the target server; the first request is used to obtain a desktop image of a target terminal; the target terminal is: one or more terminals connected to the target server;

[0094] S32: Based on the first request, the desktop image is captured in real time from the graphics card of the local computer through the serial port service module, and returned to the reverse distribution program of the target server; the reverse distribution program is used to forward the desktop image to the target port on the first firewall; the target port is used to forward the desktop image to the terminal forwarding program of the requesting host.

[0095] As an implementation manner of the present application, sending a first request based on the HTTPS protocol to the target port through the terminal forwarding program includes:

[0096] Sending a desktop image request to the terminal forwarding program via the browser of the local machine;

[0097] The desktop image request is encrypted by the terminal forwarding program using an SSL key to generate the first request;

[0098] The first request is sent to the target port through the terminal forwarding program; the target port is used to forward the first request to the reverse distribution program of the target server; the reverse distribution program is used to forward the first request to the serial port service module of the target terminal.

[0099] In this embodiment, the process of the requesting host requesting to capture the desktop image of the terminal inside the local area network is as follows:

[0100] (1) The local client of the requesting host sends a request to the terminal forwarding program through the browser to capture the desktop image of the terminal display;

[0101] (2) The terminal forwarding program encrypts the desktop image request using an SSL key to generate a first request based on the HTTPS protocol; and sends the first request to a target port of the first firewall;

[0102] (3) The target port of the first firewall verifies the first request using the SSL certificate and verifies the identity of the requesting host. If the verification is successful, the first request is sent to the reverse distribution program of the target server of the requested party.

[0103] (4) The target server forwards the first request to the serial port service module of the target terminal that needs to capture desktop information through a reverse forwarding program;

[0104] (5) The terminal serial port service module captures the desktop image signal of the graphics card in real time on the local machine, and generates a UDP data stream after analog-to-digital conversion; compresses the UDP data stream to generate an IP data packet; encrypts the IP data packet to generate an image encrypted data packet of the HTTPS protocol;

[0105] (6) The serial port service module returns the encrypted image data packet to the reverse distribution program of the target server;

[0106] (7) The reverse distribution program sends the image encrypted data packet to the terminal forwarding program of the requesting host through the target port of the first firewall.

[0107] In this embodiment, by configuring a serial port service module in the target terminal, the desktop image of the local graphics card is captured in real time, and a UDP data stream is generated and returned to the requesting host, thereby realizing batch transmission of terminal display screen data streams within the local area network, making it convenient for engineers to remotely monitor the operating status of each terminal in real time.

[0108] As an implementation mode of the present application, the reverse distribution program of capturing the desktop image from the local graphics card in real time based on the first request through the serial port service module and returning it to the target server includes:

[0109] Decrypting the first request through the serial port service module of the local machine to obtain a desktop image request;

[0110] According to the desktop image request, the desktop image signal of the local graphics card is captured in real time and analog-to-digital conversion is performed to obtain a UDP data stream;

[0111] Compressing the UDP data stream to generate an IP data packet;

[0112] Encrypting the IP data packet to generate an encrypted image data packet based on the HTTPS protocol;

[0113] A reverse distribution program for sending the image encrypted data packet to the target server; the reverse distribution program is used to forward the image encrypted data packet to the target port; the target port is used to forward the image encrypted data packet to the terminal forwarding program of the requesting host.

[0114] As an implementation manner of the present application, receiving the desktop image of the target terminal returned by the target port and displaying it includes:

[0115] The terminal forwarding program of the local machine continuously receives the image encryption data packet based on the HTTPS protocol returned by the target port;

[0116] For each image encryption packet, do the following:

[0117] Decrypting the encrypted image data packet using the SSL key through the terminal forwarding program to obtain a first IP data packet; decompressing the first IP data packet to obtain a UDP data stream;

[0118] Performing digital-to-analog conversion on the UDP data stream to obtain a desktop image data stream of the target terminal;

[0119] The desktop image data stream is mapped to the browser port in real time and displayed in the browser window.

[0120] In this embodiment, the terminal forwarding program of the requesting host continuously receives the image encrypted data packet returned by the target port, and uses the SSL key to decrypt the image encrypted data packet to obtain an IP data packet. The local client unpacks the IP data packet to obtain the corresponding UDP data, and further performs digital-to-analog conversion on the UDP data to obtain a desktop image mapped to the browser port. By receiving the UDP data stream of the target terminal returned by the local area network in real time, and converting it into a desktop image data stream and displaying it in the browser window, the real-time display screen of multiple terminals in the local area network can be remotely synchronized, which is convenient for engineers to perform remote image monitoring in real time.

[0121] In one embodiment, when there are a large number of requests to access a terminal in a local area network, and when there are many requests to access a certain terminal at the same time, the terminal may experience high latency, performance degradation, or even downtime. Such a large number of access requests from the requesting host to the terminal usually cause the network from the target server of the local area network to the terminal to be overloaded and paralyzed in the form of graphic data. In order to ensure the normal operation of the terminal, in this embodiment, the reverse distribution program of the target server is used to schedule the resources allocated to each terminal in real time according to the preset load balancing strategy and the requests sent by the external requesting host to each terminal.

[0122] The scheduling threshold of the terminal is set in advance, and the reverse distribution program in the target server is used to monitor the number of requests currently accessing each terminal in real time. When the number of requests accessing the target terminal reaches the scheduling threshold, the reverse distribution program opens a temporary memory space for storing the data sent by the target terminal to the external network. In addition, the network service from the target server to the target terminal in the transmission path from part of the requesting host to the target terminal is cut off. The opened temporary memory space is enabled to temporarily replace the request sent by the target terminal to the external network to provide access response, so as to reduce the access pressure of the target terminal. After the number of requests from the target terminal drops below the scheduling threshold, the network service from the target server to the target terminal is restored, and after the data in the opened temporary memory space is sent, the temporary memory space is released. In this embodiment, the reverse distribution program on the target server can provide dynamic load balancing for requests on multiple terminals at the same time, and temporarily replace the terminal to provide response service to the requesting host of the external network.

[0123] In this embodiment, through the reverse distribution program configured on the target server, according to the access request of the external requesting host to each terminal in the local area network, a load balancing strategy is adopted to schedule the resources allocated to each terminal in real time to prevent the terminal from being overloaded and causing performance degradation, data loss or even downtime. When the terminal forwarding program sends a large number of access requests to some terminals in the local area network, it is ensured that the terminals can operate normally.

[0124] As an implementation mode of the present application, a target port is opened on the first firewall, and based on the target port, an HTTPS two-way communication service is established between the terminal forwarding program of the local machine and the reverse distribution program of the target server, including:

[0125] Agree on the terminal forwarding program of the local machine and the reverse distribution program of the target server, and the TCP command protocol and UDP data stream protocol to be followed when transmitting data;

[0126] Agreeing on the SSL key used by the terminal forwarding program and the reverse distribution program when transmitting data;

[0127] Opening the target port on the first firewall through the terminal forwarding program;

[0128] An SSL certificate is configured for the target port; the SSL certificate is used to perform integrity verification on the data sent by the terminal forwarding program and the reverse distribution program, and to authenticate the requesting host; the SSL certificate matches the SSL key;

[0129] Add the IP address of the requesting host to the whitelist of the SSL certificate;

[0130] The forwarding rules of the target port are configured to forward data or instructions based on the HTTPS protocol between the terminal forwarding program and the reverse distribution program.

[0131] In one embodiment, the requesting host starts a terminal forwarding program and opens a target port on the first firewall. A typical device has 0-65536 ports. In this embodiment, a target port is opened in the first firewall, and all access requests through the port are accepted externally through the target port. In this embodiment, the target port is actually a forwarding program, which exists in the firewall system. All requests through the target port are received externally. When the request to enter and exit the firewall passes through the target port, the forwarding program will perform SSL certificate authentication on the request, and after the authentication is passed, the request will be forwarded to the target terminal through the target server. In actual applications, uncommon ports can be selected for opening as needed, and this application does not limit this.

[0132] In this embodiment, the example of opening port 1300 on the first firewall is used for explanation. First, the TCP (Transmission Control Protocol) command protocol and the UDP (User Datagram Protocol) data stream protocol used by both the terminal forwarding program and the reverse distribution program on the target server are pre-determined. UDP is a connectionless protocol that does not establish a persistent connection. Data is sent in the form of datagrams. Since the protocol does not provide reliability guarantees and does not reorganize or confirm data segments, the transmission speed is relatively fast and is suitable for application scenarios with high real-time requirements. In this embodiment, the desktop image stream of the remote real-time transmission terminal is carried out through the UDP protocol. In addition, since HTTPS (Hypertext Transfer Protocol Secure) is used, it is also necessary to agree on the SSL (Secure Sockets Layer) key used when the two networks interact with each other.

[0133] Then, configure an SSL certificate for port 1300 to match the SSL key, which is used to verify the request or data encrypted by the SSL key to ensure the security of the transmitted data. The SSL certificate also verifies the identity information of the requesting host. After the verification is passed, the data or request sent by the requesting host can pass through the first firewall. Add the IP address of the requesting host to the whitelist of the SSL certificate, so that the requesting host can penetrate the first firewall to access the terminal inside the LAN.

[0134] Configure forwarding rules for port 1300 to establish a two-way HTTPS communication service between the local requester host and the target server on the LAN.

[0135] As an implementation manner of the present application, the batch node remote monitoring method further includes:

[0136] Acquire the keyboard control instructions or mouse control instructions of the local machine in real time, package the keyboard control instructions or the mouse control instructions through the TCP protocol, and generate an instruction data packet;

[0137] Packing the instruction data packet to generate a second IP data packet, and sending the second IP data packet to a terminal forwarding program of the local machine;

[0138] The second IP data packet is encrypted by the terminal forwarding program using an SSL key to generate a second instruction request based on the HTTPS protocol;

[0139] The second instruction request is sent to the target port through the terminal forwarding program; the target port is used to forward the second instruction request to the reverse distribution program of the target server; the reverse distribution program is used to forward the second instruction request to the serial port service module of the target terminal.

[0140] As an implementation manner of the present application, the batch node remote monitoring method further includes:

[0141] Receiving, through the reverse distribution program, a second instruction request based on the HTTPS protocol sent by the target port; the second instruction request is used to execute a keyboard control instruction or a mouse control instruction on the target terminal;

[0142] The second instruction request is forwarded to the serial port service module of the target terminal through the reverse distribution program.

[0143] As an implementation manner of the present application, the batch node remote monitoring method further includes:

[0144] Receiving in real time, through the serial port service module of the local machine, a second instruction request based on the HTTPS protocol sent by the reverse distribution program of the target server;

[0145] For each second instruction request, the following operations are performed:

[0146] Decrypting the second instruction request using the SSL key through the serial port service module of the local machine to obtain a second IP data packet; decompressing the second IP data packet to obtain an instruction data packet; converting the instruction data packet into a corresponding keyboard control instruction or a mouse control instruction, and sending it to the operating system of the local machine;

[0147] The keyboard control instruction or the mouse control instruction is executed in real time through the operating system.

[0148] In one embodiment, by configuring a terminal forwarding program on the requesting host, not only can the display images of multiple terminals in the local area network be remotely acquired in batches, but keyboard commands or mouse commands on the terminals in the local area network can also be remotely controlled.

[0149] Figure 2 Schematic diagram of an external requesting host remotely controlling an intranet terminal in one embodiment of the present application. Figure 2 As shown, in this application, the specific process of implementing real-time control of the mouse or keyboard of the target terminal in the remote LAN through the terminal forwarding program is as follows:

[0150] (1) The local client of the requesting host continuously obtains the keyboard control instructions or mouse control instructions of the local computer, then packages them into a command data packet, and then packages them into a second IP data packet through the TCP protocol and sends them to the terminal forwarding program;

[0151] (2) The terminal forwarding program encrypts the second IP data packet using the SSL key, generates a second instruction request, and sends the second instruction request to the target port of the first firewall through the HTTPS protocol;

[0152] (3) After receiving the second instruction request, the target port verifies it using the SSL certificate and verifies the identity of the requesting host. If the verification is successful, the second instruction request is sent to the reverse distribution program of the target server of the requested party;

[0153] (4) After receiving the second instruction request, the target server forwards it to the serial port service module of the target terminal to be controlled through a reverse distribution program;

[0154] (5) The serial port service module of the target terminal uses the SSL key to decrypt the second instruction request to obtain a second IP data packet; decompresses the second IP data packet to obtain an instruction data packet; converts the instruction data packet into a corresponding keyboard control instruction or mouse control instruction, and sends it to the operating system of the local machine.

[0155] (6) The operating system (OS) of the target terminal executes the keyboard control command or mouse control command and takes effect in real time;

[0156] (7) Real-time feedback of keyboard command operations or mouse command operations of the target terminal is displayed on the monitor desktop through the graphics card;

[0157] (8) The serial port service module captures the data stream of the desktop image signal of the local graphics card, generates an encrypted image data packet through analog-to-digital conversion, packaging, encryption and other operations, and returns it to the requesting host. The requesting host maps it to the browser window for real-time display.

[0158] In this embodiment, the local mouse control instructions or keyboard control instructions are packaged through the terminal forwarding program and sent to the serial port service module of the target terminal in the local area network through the target port on the first firewall, so that the desktop system of the target terminal can be remotely controlled in real time through the local mouse and keyboard, which helps engineers to remotely troubleshoot faults that occur in the target terminal without the need for engineers to go to the site to handle them, saving labor costs and time costs, and improving the efficiency of production line fault resolution.

[0159] In addition, by remotely controlling the keyboard or mouse commands of the target terminal in real time, not only can the target terminal be operated in real time to handle faults, but more customized operations can also be performed on the target terminal, which improves the flexibility and operability of remote monitoring. In the server production line scenario, the real-time desktop monitoring and control scope of the test machine can be expanded from the production line to the Internet remote control, providing more possibilities for the production line to obtain external network technical support.

[0160] Based on the same inventive concept, an embodiment of the present application provides a remote monitoring system for batch nodes. Figure 5 , Figure 5 FIG. 1 is one of the schematic diagrams of a remote monitoring system for batch nodes proposed in one embodiment of the present application. Figure 5 As shown, the system includes: the requesting host, the requested target server and multiple terminals as described in the above embodiment; a first firewall is deployed between the requesting host and the target server, the target server is connected to multiple terminals, and the target server and all the terminals are located inside the first firewall; the requesting host is configured with a terminal forwarding program, and the target server is configured with a reverse distribution program;

[0161] The requesting host is configured to open a target port on the first firewall, and to establish an HTTPS bidirectional communication service between the terminal forwarding program of the requesting party and the reverse distribution program of the target server based on the target port; the target port supports the SSL function; a first request based on the HTTPS protocol is sent to the target port through the terminal forwarding program; the first request is used to obtain a desktop image of a target terminal; the target terminal is: one or more terminals connected to the target server; the target port is used to forward the first request to the reverse distribution program of the target server;

[0162] The target server is configured to receive the first request through a reverse distribution program of the local server and forward it to the serial port service module of the target terminal;

[0163] The target terminal is configured to receive the first request through the local serial port service module; based on the first request, the desktop image is captured from the local graphics card in real time and returned to the reverse distribution program of the target server.

[0164] In this embodiment, the monitoring system includes a requesting host, a requested target server, and multiple terminals. A first firewall is deployed between the requesting host and the target server. The requesting host penetrates the target port of the first firewall through the configured terminal forwarding program, and performs encrypted communication with the reverse distribution program of the target server to ensure the security of the intranet server and the terminal. The reverse distribution program of the target server provides a unified encrypted communication interface to the outside, ensures the identity concealment of each terminal in the intranet, and ensures the intranet security of the terminal. In addition, the reverse distribution program of the target server can also provide a load balancing function. When the number of visits to a certain terminal is too large, thread resources are transferred from other terminals with smaller number of visits to ensure the normal operation of the business.

[0165] The batch node remote monitoring system provided in this embodiment can be used in various scenarios that require remote monitoring of a large number of server nodes within a local area network, such as multi-level node monitoring systems such as equipment production lines, railway systems, and municipal systems.

[0166] As an implementation mode of the present application, the batch node remote monitoring system includes: at least one target server of the requested party, each target server belongs to a different requested party, and a first firewall is deployed between each target server and the requesting party host.

[0167] Figure 6 This is the second schematic diagram of the batch node remote monitoring system proposed in one embodiment of the present application. Figure 6 As shown, the monitoring system may include multiple local area networks, each of which is independent and has a first firewall deployed between it and the requesting host. The requesting host, through the configured terminal forwarding program, penetrates the target port opened on the first firewall and communicates with the management node ( Figure 6 The reverse distribution program configured on target server 1 and target server 2) performs encrypted communication.

[0168] The monitoring system provided in this embodiment can enable monitoring personnel to remotely batch monitor and control terminal devices in multiple local area networks while ensuring the internal security of the local area network, including capturing the desktop screen of the terminal, controlling the mouse commands or keyboard commands of the terminal, obtaining the operation logs of each terminal, etc., thereby saving labor costs and improving production efficiency.

[0169] As an implementation manner of the present application, the batch node remote monitoring system further includes:

[0170] A plurality of intermediate nodes are deployed between the target server and the terminal; the downlink port of each intermediate node is connected to the intermediate node or terminal of the next layer; the intermediate node is configured with a reverse distribution program for forwarding data between the target server and the terminal.

[0171] In one embodiment, multiple layers of intermediate nodes are deployed between the target server and each terminal, and each intermediate node is configured with a reverse distribution program for forwarding operations based on the HTTPS protocol in the system. Each intermediate node monitors and manages the next layer of nodes (intermediate nodes or terminals) to which it is connected. The target server uniformly provides a virtual response interface to the external network (firewall external network), and forwards encrypted data between the external requester and each terminal in the system to ensure the concealment and security of each terminal in the system. The monitoring system provided in this embodiment increases intermediate nodes between the target server layer and the terminal layer, so that when the scale of terminals in the local area network is expanded, the lower layer terminals are managed through intermediate nodes, the number of devices that directly communicate with the target server is reduced, and the load pressure of the target server is reduced, so that the local area network with a large number of devices can be adapted.

[0172] As an implementation manner of the present application, a second firewall is deployed between at least one of the multiple intermediate nodes and the target server;

[0173] The target server is configured with a terminal forwarding program, through which a target port is opened on the second firewall, and based on the target port, an HTTPS two-way communication service is established between the terminal forwarding program of the target server and the reverse distribution program of the intermediate node; the target port supports SSL function.

[0174] In this embodiment, a second firewall is deployed between the intermediate node and the target server. By configuring the terminal forwarding program on the target server and opening the target port on the second firewall, the target server can penetrate the second firewall and conduct data communication based on the HTTPS protocol with the management node inside the second firewall (the intermediate node that directly communicates with the target port).

[0175] Figure 7 This is the third schematic diagram of the batch node remote monitoring system proposed in one embodiment of the present application. Figure 7As shown, a second firewall is deployed between the target server and the intermediate node 1. The requesting host uses the configured terminal forwarding program to communicate with the target server through the target port opened on the first firewall. The data forwarded by the target port passes through the terminal forwarding program of the target server and the reverse distribution program of the intermediate node 1, and finally reaches the serial port service module of terminal 1 and terminal 2. This process needs to penetrate two layers of firewalls.

[0176] There is no firewall deployed between the intermediate node 2 and the target server, so the data forwarded by the target port can be forwarded through the reverse distribution program of the target server and the reverse distribution program of the intermediate node 2, and finally reach the serial port service module of the terminal 3 and the terminal 4. This process needs to penetrate a layer of firewall.

[0177] Figure 7 Only one layer of intermediate nodes and two layers of firewalls are shown in the figure. In actual applications, there can be multiple layers of intermediate nodes, and firewalls can be deployed as needed. Firewalls can also be deployed between each layer of intermediate nodes as needed, and the target port can be opened on the firewall. The intermediate nodes at both ends of the firewall each configure the terminal forwarding program and the reverse distribution program locally to achieve encrypted communication. By configuring the terminal forwarding program on the requesting host and the target server, the requesting host can remotely penetrate the multiple layers of firewalls inside the LAN, meeting the isolation and protection requirements of network areas with different security levels inside the LAN.

[0178] Regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0179] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

[0180] For the method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and components involved are not necessarily required by the present application.

[0181] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0182] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0183] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0184] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0185] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they are aware of the basic creative concepts. Therefore, the present application is interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0186] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0187] The above is a detailed introduction to the batch node remote monitoring method and system provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, based on the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for remote monitoring of batch nodes, characterized in that: Applied to a requesting host, a first firewall is deployed between the requesting host and a target server of the requested party, the target server is connected to a plurality of terminals, and the target server and all the terminals are located inside the first firewall; The requesting host is configured with a terminal forwarding program, and the target server is configured with a reverse distribution program; the method comprises: Opening a target port on the first firewall, and establishing an HTTPS two-way communication service between a terminal forwarding program of the local machine and a reverse distribution program of the target server based on the target port; the target port supports an SSL function; A first request based on the HTTPS protocol is sent to the target port through the terminal forwarding program; the first request is used to obtain a desktop image of a target terminal; the target terminal is: one or more terminals connected to the target server; the target port is used to forward the first request to a reverse distribution program of the target server; the reverse distribution program is used to forward the first request to a serial port service module of the target terminal; The desktop image of the target terminal returned by the target port is received and displayed.

2. The method for remote monitoring of batch nodes according to claim 1, characterized in that: Receiving the desktop image of the target terminal returned by the target port and displaying it, comprising: The terminal forwarding program of the local machine continuously receives the image encryption data packet based on the HTTPS protocol returned by the target port; For each image encryption packet, do the following: Decrypting the encrypted image data packet using the SSL key through the terminal forwarding program to obtain a first IP data packet; decompressing the first IP data packet to obtain a UDP data stream; Performing digital-to-analog conversion on the UDP data stream to obtain a desktop image data stream of the target terminal; The desktop image data stream is mapped to the browser port in real time and displayed in the browser window.

3. The method for remote monitoring of batch nodes according to claim 1, characterized in that: Also includes: Acquire the keyboard control instructions or mouse control instructions of the local machine in real time, package the keyboard control instructions or the mouse control instructions through the TCP protocol, and generate an instruction data packet; Packing the instruction data packet to generate a second IP data packet, and sending the second IP data packet to a terminal forwarding program of the local machine; The second IP data packet is encrypted by the terminal forwarding program using an SSL key to generate a second instruction request based on the HTTPS protocol; Sending the second instruction request to the target port through the terminal forwarding program; The target port is used to forward the second instruction request to the reverse distribution program of the target server; The reverse distribution program is used to forward the second instruction request to the serial port service module of the target terminal.

4. The method for remote monitoring of batch nodes according to claim 1, characterized in that: Opening a target port on the first firewall, and establishing an HTTPS two-way communication service between a terminal forwarding program of the local machine and a reverse distribution program of the target server based on the target port, including: Agree on the terminal forwarding program of the local machine and the reverse distribution program of the target server, and the TCP command protocol and UDP data stream protocol to be followed when transmitting data; Agreeing on the SSL key used by the terminal forwarding program and the reverse distribution program when transmitting data; Opening the target port on the first firewall through the terminal forwarding program; An SSL certificate is configured for the target port; the SSL certificate is used to perform integrity verification on the data sent by the terminal forwarding program and the reverse distribution program, and to authenticate the requesting host; the SSL certificate matches the SSL key; Add the IP address of the requesting host to the whitelist of the SSL certificate; The forwarding rules of the target port are configured to forward data or instructions based on the HTTPS protocol between the terminal forwarding program and the reverse distribution program.

5. The method for remote monitoring of batch nodes according to claim 1, characterized in that: Sending a first request based on the HTTPS protocol to the target port through the terminal forwarding program includes: Sending a desktop image request to the terminal forwarding program via the browser of the local machine; The desktop image request is encrypted by the terminal forwarding program using an SSL key to generate the first request; The first request is sent to the target port through the terminal forwarding program; the target port is used to forward the first request to the reverse distribution program of the target server; the reverse distribution program is used to forward the first request to the serial port service module of the target terminal.

6. A method for remote monitoring of batch nodes, characterized in that: A target server applied to the requested party; a first firewall is deployed between the target server and the requesting party host, the target server is connected to multiple terminals, and the target server and all the terminals are located inside the first firewall; The requesting host is configured with a terminal forwarding program, and the target server is configured with a reverse distribution program; the method comprises: Receiving, through the reverse distribution program, a first request based on the HTTPS protocol sent by a target port on the first firewall; the first request is used to obtain a desktop image of a target terminal; the target terminal is: one or more terminals connected to the target server; forwarding the first request to the serial port service module of the target terminal through the reverse distribution program; The desktop image returned by the serial port service module of the target terminal is received through the reverse distribution program, and the desktop image is forwarded to the target port; the target port is used to forward the desktop image to the terminal forwarding program of the requesting host.

7. The method for remote monitoring of batch nodes according to claim 6, characterized in that: Also includes: Receiving, through the reverse distribution program, a second instruction request based on the HTTPS protocol sent by the target port; The second instruction request is used to execute a keyboard control instruction or a mouse control instruction on the target terminal; The second instruction request is forwarded to the serial port service module of the target terminal through the reverse distribution program.

8. A method for remote monitoring of batch nodes, characterized in that: Applied to a terminal of the requested party; the terminal is connected to a target server, a first firewall is deployed between the target server and the requesting party host, and the target server and the terminal are both located inside the first firewall; The requesting host is configured with a terminal forwarding program, and the target server is configured with a reverse distribution program; the method comprises: Receiving, through the serial port service module of the local machine, a first request based on the HTTPS protocol sent by the reverse distribution program of the target server; the first request is used to obtain a desktop image of a target terminal; the target terminal is: one or more terminals connected to the target server; Through the serial port service module, based on the first request, the desktop image is captured in real time from the local graphics card and returned to the reverse distribution program of the target server; the reverse distribution program is used to forward the desktop image to the target port on the first firewall; the target port is used to forward the desktop image to the terminal forwarding program of the requesting host.

9. The method for remote monitoring of batch nodes according to claim 8, characterized in that: The reverse distribution program of capturing the desktop image from the local graphics card in real time based on the first request through the serial port service module and returning it to the target server includes: Decrypting the first request through the serial port service module of the local machine to obtain a desktop image request; According to the desktop image request, the desktop image signal of the local graphics card is captured in real time and analog-to-digital conversion is performed to obtain a UDP data stream; Compressing the UDP data stream to generate an IP data packet; Encrypting the IP data packet to generate an encrypted image data packet based on the HTTPS protocol; A reverse distribution program for sending the image encrypted data packet to the target server; the reverse distribution program is used to forward the image encrypted data packet to the target port; the target port is used to forward the image encrypted data packet to the terminal forwarding program of the requesting host.

10. The method for remote monitoring of batch nodes according to claim 8, characterized in that: Also includes: Receiving in real time, through the serial port service module of the local machine, a second instruction request based on the HTTPS protocol sent by the reverse distribution program of the target server; For each second instruction request, the following operations are performed: Decrypting the second instruction request using the SSL key through the serial port service module of the local machine to obtain a second IP data packet; decompressing the second IP data packet to obtain an instruction data packet; converting the instruction data packet into a corresponding keyboard control instruction or a mouse control instruction, and sending it to the operating system of the local machine; The keyboard control instruction or the mouse control instruction is executed in real time through the operating system.

11. A batch node remote monitoring system, characterized in that: include: The requesting host, the requested target server and multiple terminals as described in any one of claims 1 to 10; A first firewall is deployed between the requesting host and the target server, the target server is connected to a plurality of terminals, and the target server and all the terminals are located inside the first firewall; the requesting host is configured with a terminal forwarding program, and the target server is configured with a reverse distribution program; The requesting host is configured to open a target port on the first firewall, and to establish an HTTPS bidirectional communication service between a terminal forwarding program of the requesting party and a reverse distribution program of the target server based on the target port; The target port supports the SSL function; a first request based on the HTTPS protocol is sent to the target port through the terminal forwarding program; the first request is used to obtain a desktop image of a target terminal; the target terminal is: one or more terminals connected to the target server; The target port is used to forward the first request to the reverse distribution program of the target server; The target server is configured to receive the first request through a reverse distribution program of the local server and forward it to the serial port service module of the target terminal; The target terminal is configured to receive the first request through the local serial port service module; based on the first request, the desktop image is captured from the local graphics card in real time and returned to the reverse distribution program of the target server.

12. The batch node remote monitoring system according to claim 11, characterized in that: include: At least one target server of the requested party, each target server belongs to a different requested party, and a first firewall is deployed between each target server and the requesting party host.

13. The batch node remote monitoring system according to claim 11, characterized in that: Also includes: A plurality of intermediate nodes are deployed between the target server and the terminal; the downlink port of each intermediate node is connected to the intermediate node or terminal of the next layer; the intermediate node is configured with a reverse distribution program for forwarding data between the target server and the terminal.

14. The batch node remote monitoring system according to claim 13, characterized in that: Among the multiple intermediate nodes, a second firewall is deployed between at least one intermediate node and the target server; The target server is configured with a terminal forwarding program, through which a target port is opened on the second firewall, and based on the target port, an HTTPS two-way communication service is established between the terminal forwarding program of the target server and the reverse distribution program of the intermediate node; The target port supports the SSL function.

Citation Information

Patent Citations

  • Remote monitoring method, system and monitoring terminal

    CN101753355A

  • Remote monitoring method, device and system

    CN105573577A

  • Remote access method, system and device for monitoring equipment and storage medium

    CN112995197A

  • Systems and methods for secute remote access

    EP2869530A1

  • Access control method, access control system, terminal and storage medium

    WO2023116791A1