Desktop client software and server connection method, device and readable storage medium
Through a single TCP port connection between the proxy client software and the proxy service software, the problem of heavy port mapping workload and high network security risk when the desktop client software is connected to the server is solved, thereby reducing port exposure and improving security.
Patent Information
- Application Number
- CN202210129969.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-11
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-02-11
AI Technical Summary
In the existing technology, the desktop client software needs to occupy multiple connection ports when connecting to the server, resulting in a heavy port mapping workload and high network security risks.
Use proxy client software and proxy service software to realize network connection through a single TCP port. The proxy client software obtains network connection request data on the client and sends it to the proxy service software. The proxy service software receives and forwards the response data on the server to achieve Connection between desktop client software and server.
It effectively reduces the port mapping workload and network security risks. The client and server only need to expose one port, which improves security and operation and maintenance efficiency.
Smart Images

Figure CN114584603B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of virtual desktop technology, and in particular to a method, device and readable storage medium for connecting desktop client software to a server. Background Art
[0002] There are often multiple different desktop client software on a client at the same time, such as VDI (Virtual Desktop Infrastructure) desktop client software, VOI (Virtual OS Infrastructure) desktop client software and IDV (Intelligent Desktop Virtualization) desktop client software, and the main function of the desktop client software is to communicate with the server. When connecting to the server, these desktop client software usually need to occupy multiple connection ports on the client and server to achieve the connection of multiple business services, such as Spice (Spice is a desktop virtualization data transmission protocol that provides remote interaction with virtual desktop devices) connection and VNC (Virtual Network Console) connection of VDI desktop client software. Taking VDI desktop client software as an example, it will not only occupy at least one business service port on the server, but each VDI desktop corresponding to the VDI desktop client software will also occupy a Spice connection port and a VNC connection port.
[0003] At present, as a privately deployed cloud desktop service, its server is generally deployed on the intranet; however, with the increasing demand for remote teaching and office work, in order to meet the needs of remote teaching and office work, it is necessary to place the client in the extranet environment, and at the same time map the server intranet port to be used to the extranet to meet the requirements of the extranet client connecting to the intranet server, and this mapping is generally a one-to-one mapping of IP ports). For example, see Figure 1 As shown, the VDI desktop client software in the client is port mapped to the VDI service in the server, the VOI desktop client software in the client is port mapped to the VOI service in the server, and the IDV desktop client software in the client is port mapped to the IDV service in the server.
[0004] It can be seen that when there are more ports in use, not only does it increase the workload of port mapping, but it also causes more ports to be exposed to the Internet, thereby greatly increasing network security risks. Summary of the invention
[0005] The present application provides a method, device and readable storage medium for connecting desktop client software to a server, so as to solve the problems of large workload of port mapping and high network security risk existing in the related art.
[0006] In a first aspect, a method for connecting a desktop client software to a server is provided, wherein the method for connecting the desktop client software to a server is applied to a proxy client software, wherein the proxy client software runs on a client where the desktop client software is located, and the method for connecting the desktop client software to a server comprises the following steps:
[0007] Get the network connection request data sent by the desktop client software;
[0008] Sending a request message corresponding to the network connection request data to the proxy service software running on the target server to be connected corresponding to the network connection request data based on the first TCP port;
[0009] Acquire, based on the first TCP port, network connection response data corresponding to the network connection request data and sent by the proxy service software according to the request message;
[0010] The network connection response data is sent to the desktop client software, so that the desktop client software can confirm the successful connection with the target server corresponding to the network connection request data based on the network connection response data.
[0011] In some embodiments, the desktop client software is VDI desktop client software or VOI desktop client software or IDV desktop client software.
[0012] In some embodiments, the network connection request data includes identification information of a target server to be connected, the identification information includes an IP address of the target server and a target port number on the target server, and the target port number has a mapping relationship with a target service program on the target server.
[0013] In some embodiments, a disconnection reconnection mechanism is provided between the proxy client software and the proxy service software.
[0014] In a second aspect, a method for connecting a desktop client software to a server is provided, wherein the method for connecting the desktop client software to the server is applied to an agent service software, wherein the agent service software runs on the server, and the method for connecting the desktop client software to the server comprises the following steps:
[0015] Receiving, based on the second TCP port, a request message sent by the proxy client software running on the client where the desktop client software is located, wherein the request message includes network connection request data sent by the desktop client software;
[0016] Determine a target service program on a target server according to the network connection request data;
[0017] Forwarding the request message to the target service program so that the target service program performs connection processing based on the request message to obtain network connection response data corresponding to the network connection request data;
[0018] The network connection response data is obtained, and the network connection response data is sent to the proxy client software based on the second TCP port.
[0019] In some embodiments, the desktop client software is VDI desktop client software or VOI desktop client software or IDV desktop client software.
[0020] In some embodiments, the network connection request data includes identification information of a target server to be connected, the identification information includes an IP address of the target server and a target port number on the target server, and the target port number has a mapping relationship with a target service program on the target server.
[0021] In a third aspect, a device for connecting a desktop client software to a server is provided, the device comprising a proxy client software, the proxy client software running on a client where the desktop client software is located, the proxy client software being used to:
[0022] Get the network connection request data sent by the desktop client software;
[0023] Sending a request message corresponding to the network connection request data to the proxy service software running on the target server to be connected corresponding to the network connection request data based on the first TCP port;
[0024] Acquire, based on the first TCP port, network connection response data corresponding to the network connection request data and sent by the proxy service software according to the request message;
[0025] The network connection response data is sent to the desktop client software, so that the desktop client software can confirm the successful connection with the target server corresponding to the network connection request data based on the network connection response data.
[0026] In a fourth aspect, a device for connecting a desktop client software to a server is provided, the device comprising an agent service software, the agent service software running on the server, the agent service software being used to:
[0027] Receiving, based on the second TCP port, a request message sent by the proxy client software running on the client where the desktop client software is located, wherein the request message includes network connection request data sent by the desktop client software;
[0028] Determine a target service program on a target server according to the network connection request data;
[0029] Forwarding the request message to the target service program so that the target service program performs connection processing based on the request message to obtain network connection response data corresponding to the network connection request data;
[0030] The network connection response data is obtained, and the network connection response data is sent to the proxy client software based on the second TCP port.
[0031] In a fifth aspect, a computer-readable storage medium is provided, wherein the computer storage medium stores a computer program, and when the computer program is executed by a processor, the aforementioned method of connecting the desktop client software to the server is implemented.
[0032] The beneficial effects brought about by the technical solution provided by this application include: not only can the workload of port mapping be effectively reduced, but also network security risks can be reduced.
[0033] The present application provides a method, device and readable storage medium for connecting desktop client software to a server, wherein the proxy client software obtains network connection request data sent by the desktop client software; based on a first TCP port, a request message corresponding to the network connection request data is sent to the proxy service software running on the target server to be connected corresponding to the network connection request data; based on the first TCP port, network connection response data corresponding to the network connection request data sent by the proxy service software according to the request message is obtained; the network connection response data is sent to the desktop client software, so that the desktop client software can confirm the successful connection with the target server corresponding to the network connection request data based on the network connection response data. The present application realizes the network connection between the proxy client software and the proxy service software through a single TCP port, so that the network connections that different desktop client software on the client need to send to the server cluster can be sent to the proxy service software by the proxy client software through the single TCP port, and the proxy client software then sends the network connection response data obtained from the proxy service software based on the single TCP port to the corresponding desktop client software, so as to realize the network connection between the desktop client software and the server. It can be seen that the server and client in this application only need to expose one port for providing services, which not only effectively reduces the workload of port mapping, but also reduces network security risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments 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 creative work.
[0035] Figure 1 It is a schematic diagram of the connection structure between the desktop client software and the server in the prior art;
[0036] Figure 2 A flowchart of a method for connecting a desktop client software to a server provided in an embodiment of the present application;
[0037] Figure 3 A schematic diagram of the connection structure between the desktop client software and the server provided in the embodiment of the present application;
[0038] Figure 4 A flowchart of another method for connecting desktop client software to a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings 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 making creative work are within the scope of protection of this application.
[0040] The embodiments of the present application provide a method, device and readable storage medium for connecting desktop client software to a server, which can solve the problems of large workload of port mapping and high network security risk existing in the related art.
[0041] See also Figure 2 and Figure 3 As shown, an embodiment of the present application provides a method for connecting a desktop client software to a server, wherein the method for connecting the desktop client software to a server is applied to a proxy client software, wherein the proxy client software runs on a client where the desktop client software is located, and wherein the method for connecting the desktop client software to a server comprises the following steps:
[0042] Step S10: Acquire network connection request data sent by the desktop client software; wherein the network connection request data includes identification information of the target server to be connected, the identification information includes the IP address of the target server and the target port number on the target server, and the target port number has a mapping relationship with the target service program on the target server; the desktop client software can be VDI desktop client software, VOI desktop client software, or IDV desktop client software.
[0043] Exemplarily, in this embodiment, the proxy client software is deployed and run on the client, and a client is also deployed and run with various client software such as VDI desktop client software, VOI desktop client software and IDV desktop client software. When the desktop client software on the client connects to the corresponding service program on the server through the network, information is transmitted through the proxy client software, that is, the connection that the client originally needs to establish with the server is redirected to the connection with the proxy client software. Therefore, the proxy client software can receive the IP address of the target server to be connected, the target port number (the target port number corresponds to the target service program one by one) and the port number of the desktop client software itself, as well as the data packet required for the network connection and other network connection request data sent by each desktop client software.
[0044] For example, see Figure 3 As shown, when the VDI desktop client software on the external network wants to establish a network connection with the VDI service on the internal network, the VDI desktop client software sends the IP address of the server where the VDI service is located, the port number corresponding to the VDI service, and the port number of the VDI desktop client software itself to the proxy client software; for another example, when the VOI desktop client software on the external network wants to establish a network connection with the VOI service on the internal network, the VOI desktop client software will also send the IP address of the server where the VOI service is located, the port number corresponding to the VOI service, and the port number of the VOI desktop client software itself to the proxy client software.
[0045] Step S20: sending a request message corresponding to the network connection request data to the proxy service software running on the target server to be connected corresponding to the network connection request data based on the first TCP (Transmission Control Protocol) port;
[0046] Exemplarily, in this embodiment, the proxy client software and the proxy service software deployed and running on the server establish a connection through a single TCP port, that is, the client only provides a unique TCP port for each desktop client software to connect to the service program on the server, and the server also only provides a unique TCP port for the service program to connect to the desktop client software on the client, and there is a mapping relationship between the above two TCP ports. It can be seen that both the server and the client only need to expose one port for providing services, which not only effectively reduces the workload of port mapping, but also reduces network security risks.
[0047] For example, when the proxy client software receives network connection request data sent by the VOI desktop client software, it will encapsulate the IP address of the server where the VOI service is located and the port number corresponding to the VOI service in the network connection request data, as well as the port number of the VOI desktop client software itself and the IP address of the client where the proxy client software is located into a packet header according to the custom protocol, and forward it to the proxy service software on the corresponding server through the unique TCP port on the client together with the data packets required for the actual connection.
[0048] Step S30: obtaining network connection response data corresponding to the network connection request data and sent by the proxy service software according to the request message based on the first TCP port;
[0049] Exemplarily, in this embodiment, when the proxy service software receives the request message, it will parse the packet header, analyze the port number on the server where the VOI service program to which the VOI desktop client software wants to connect is located, and forward the data packet. If the VOI service returns network connection response data to the proxy service software, it means that the VOI service has completed the network connection processing; when the proxy service software receives the network connection response data, it will return the network connection response data to the corresponding proxy client software based on the IP address of the client where the proxy client software is located analyzed from the packet header; at this time, the proxy client software can obtain the network connection response data through the unique TCP port.
[0050] Step S40: Send the network connection response data to the desktop client software, so that the desktop client software can confirm the successful connection with the target server corresponding to the network connection request data based on the network connection response data.
[0051] Exemplarily, in this embodiment, after receiving the returned network connection response data, the proxy client software forwards the data to the corresponding local service based on the port number of the VOI desktop client software itself parsed from the packet header; when the VOI desktop client software receives the network connection response data, it can confirm that it has successfully connected to the VOI service program, and at this point, the connection request initiated by the client local service to the server ends.
[0052] After implementing and verifying this embodiment, it was found that the playback result of 1080P video on the VDI desktop client software based on the proxy client software and the proxy service software is the same as that without the proxy; and in the test of full-bandwidth data transmission of a single-connection network card, the network speed loss is basically negligible, and the CPU occupied by the proxy software in this embodiment is about 33% of a single core.
[0053] It can be seen that the embodiment of the present application provides a method for different desktop client software (i.e., VDI&VOI&IDV) to establish network connection with a server cluster through a single port, that is, to realize the network connection between the proxy client software and the proxy service software through a single TCP port, so that the network connection that different desktop client software on the client needs to send to the server cluster can be sent to the proxy service software by the proxy client software through the single TCP port, and the proxy client software then sends the network connection response data obtained from the proxy service software based on the single TCP port to the corresponding desktop client software, so as to realize the network connection between the desktop client software and the server. Therefore, the server and the client in the embodiment of the present application only need to expose one port for providing services, which not only effectively reduces the workload of port mapping, but also reduces network security risks.
[0054] Furthermore, a disconnection reconnection mechanism is provided between the proxy client software and the proxy service software, which can effectively ensure the normal communication between the proxy client software and the proxy service software, so as to ensure that the client can normally connect to the server. Of course, in order to ensure the communication security between the client and the server, the communication between the proxy client software and the proxy service software can also be encrypted with SSL / TLS (SSL / TLS is a transport layer protocol that uses public key encryption, i.e. the client first asks the server for a public key, and then encrypts the information with the public key. After the server receives the ciphertext, it decrypts it with its own private key).
[0055] In addition, the proxy client software and the proxy service software are only responsible for channel management, that is, forwarding pure TCP data, without business processing, and supporting multi-core and multi-threaded concurrency; and because the client and the server only communicate through a single port, if the desktop client software environment is to be transformed into an external network, it is only necessary to map this port to the external network, which greatly reduces the operation and maintenance costs and network security risks. Therefore, the proxy software in this embodiment is essentially a reverse proxy, which is simple to deploy, does not require modification of existing services and protocols, has little intrusion on existing systems, and has low transformation costs; and forwarding based on the TCP link layer can support proxy forwarding of HTTPS (Hyper Text Transfer Protocol over SecureSocket Layer, Hypertext Transfer Security Protocol), HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), WS (WebSocket, full-duplex communication protocol based on TCP) and TCP connections, that is, after the proxy software is implemented, it is a proxy forwarding tool of tool nature, which can be directly used by any product and supports cross-system and cross-platform.
[0056] The embodiment of the present application also provides a device for connecting desktop client software to a server, the device comprising proxy client software, the proxy client software running on a client where the desktop client software is located, the proxy client software being used to:
[0057] Get the network connection request data sent by the desktop client software;
[0058] Sending a request message corresponding to the network connection request data to the proxy service software running on the target server to be connected corresponding to the network connection request data based on the first TCP port;
[0059] Acquire, based on the first TCP port, network connection response data corresponding to the network connection request data and sent by the proxy service software according to the request message;
[0060] The network connection response data is sent to the desktop client software, so that the desktop client software can confirm the successful connection with the target server corresponding to the network connection request data based on the network connection response data.
[0061] Furthermore, the desktop client software is VDI desktop client software or VOI desktop client software or IDV desktop client software.
[0062] Furthermore, the network connection request data includes identification information of a target server to be connected, and the identification information includes an IP address of the target server and a target port number on the target server, and the target port number has a mapping relationship with a target service program on the target server.
[0063] Furthermore, a disconnection reconnection mechanism is provided between the proxy client software and the proxy service software.
[0064] It should be noted that those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned embodiment of the method for connecting the desktop client software to the server, and will not be repeated here.
[0065] See also Figure 4 As shown, the embodiment of the present application also provides a method for connecting desktop client software to a server, the method for connecting desktop client software to a server is applied to proxy service software, the proxy service software runs on the server, and the method for connecting desktop client software to a server includes the following steps:
[0066] Step N10: Receive, based on the second TCP port, a request message sent by the proxy client software running on the client where the desktop client software is located, wherein the request message includes network connection request data sent by the desktop client software; wherein the desktop client software is VDI desktop client software or VOI desktop client software or IDV desktop client software; the network connection request data includes identification information of a target server to be connected, wherein the identification information includes an IP address of the target server and a target port number on the target server, and the target port number has a mapping relationship with a target service program on the target server.
[0067] Step N20: determining a target service program on a target server according to the network connection request data;
[0068] Step N30: forwarding the request message to the target service program, so that the target service program performs connection processing based on the request message to obtain network connection response data corresponding to the network connection request data;
[0069] Step N40: Acquire the network connection response data, and send the network connection response data to the proxy client software based on the second TCP port.
[0070] Exemplarily, in this embodiment, the proxy service software is deployed and run on the server, and various services such as VDI service, VOI service and IDV service are also deployed and run on the server. The proxy service software only listens to one TCP port on the server, that is, the data sent by the client is transmitted to each service program on the server through the unique TCP port.
[0071] Specifically, take the example of the VDI desktop client software on the client wanting to establish a network connection with the VDI service on the server: when the proxy service software receives the request message sent by the proxy client software based on the only TCP port it monitors on the server, it will parse the packet header (the packet header includes the IP address of the server where the VDI service is located and the port number corresponding to the VDI service, as well as the port number of the VDI desktop client software itself and the IP address of the client where the proxy client software is located), and analyze the port number on the server where the VDI service program to which the VDI desktop client software wants to connect is located, and forward the data packet. If the VDI service returns network connection response data to the proxy service software, it means that the VDI service has completed the network connection processing; when the proxy service software receives the network connection response data, it will return the network connection response data to the corresponding proxy client software based on the TCP port according to the IP address of the client where the proxy client software is located analyzed from the packet header.
[0072] It can be seen that the embodiment of the present application realizes the network connection between the proxy client software and the proxy service software through a single TCP port, and then realizes the network connection between the desktop client software and the server. That is, the server and the client in the embodiment of the present application only need to expose one port for providing services, which not only effectively reduces the workload of port mapping, but also reduces network security risks.
[0073] Furthermore, a disconnection reconnection mechanism is provided between the proxy client software and the proxy service software, which can effectively ensure the normal communication between the proxy client software and the proxy service software, so as to ensure that the client can normally connect to the server. Of course, in order to ensure the communication security between the client and the server, the communication between the proxy client software and the proxy service software can also be encrypted with SSL / TLS (SSL / TLS is a transport layer protocol that uses public key encryption, i.e. the client first asks the server for a public key, and then encrypts the information with the public key. After the server receives the ciphertext, it decrypts it with its own private key).
[0074] The embodiment of the present application also provides a device for connecting desktop client software to a server, the device comprising proxy service software, the proxy service software running on the server, the proxy service software being used to:
[0075] Receiving, based on the second TCP port, a request message sent by the proxy client software running on the client where the desktop client software is located, wherein the request message includes network connection request data sent by the desktop client software;
[0076] Determine a target service program on a target server according to the network connection request data;
[0077] Forwarding the request message to the target service program so that the target service program performs connection processing based on the request message to obtain network connection response data corresponding to the network connection request data;
[0078] The network connection response data is obtained, and the network connection response data is sent to the proxy client software based on the second TCP port.
[0079] Furthermore, the desktop client software is VDI desktop client software or VOI desktop client software or IDV desktop client software.
[0080] Furthermore, the network connection request data includes identification information of a target server to be connected, and the identification information includes an IP address of the target server and a target port number on the target server, and the target port number has a mapping relationship with a target service program on the target server.
[0081] Furthermore, a disconnection reconnection mechanism is provided between the proxy client software and the proxy service software.
[0082] It should be noted that those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned embodiment of the method for connecting the desktop client software to the server, and will not be repeated here.
[0083] The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, all or part of the steps of the aforementioned method for connecting the desktop client software to the server are implemented.
[0084] The embodiment of the present application implements all or part of the aforementioned process, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of each of the above methods when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0085] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, servers or computer program products. Therefore, 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 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 and optical storage, etc.) that contain computer-usable program code.
[0086] The present application is described with reference to the flowcharts and / or block diagrams of the methods, 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 device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing 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.
[0087] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system 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 system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0088] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A method for connecting desktop client software to a server, characterized in that: The method for connecting the desktop client software to the server is applied to the proxy client software, and the proxy client software runs on the client where the desktop client software is located. The method for connecting the desktop client software to the server includes the following steps: Get the network connection request data sent by the desktop client software; Sending a request message corresponding to the network connection request data to the proxy service software running on the target server to be connected corresponding to the network connection request data based on the first TCP port; Acquire, based on the first TCP port, network connection response data corresponding to the network connection request data and sent by the proxy service software according to the request message; Sending the network connection response data to the desktop client software, so that the desktop client software can confirm the successful connection with the target server corresponding to the network connection request data based on the network connection response data; The proxy service software receives a request message sent by the proxy client software running on the client where the desktop client software is located based on the second TCP port, wherein the request message includes network connection request data sent by the desktop client software; The network connection request data includes identification information of a target server to be connected, the identification information includes an IP address of the target server and a target port number on the target server, and the target port number has a mapping relationship with a target service program on the target server; Determine a target service program on a target server according to the network connection request data; Forwarding the request message to the target service program so that the target service program performs connection processing based on the request message to obtain network connection response data corresponding to the network connection request data; Acquire the network connection response data, and send the network connection response data to the proxy client software based on the second TCP port; The first TCP port and the second TCP port have a mapping relationship.
2. The method for connecting desktop client software to a server as claimed in claim 1, characterized in that: The desktop client software is VDI desktop client software or VOI desktop client software or IDV desktop client software.
3. The method for connecting desktop client software to a server as claimed in claim 1, characterized in that: A disconnection reconnection mechanism is provided between the proxy client software and the proxy service software.
4. A system comprising a client and a server, characterized in that: The client includes desktop client software and proxy client software, and the server includes service program and proxy service software; The proxy client software obtains the network connection request data sent by the desktop client software; Sending a request message corresponding to the network connection request data to the proxy service software running on the target server to be connected corresponding to the network connection request data based on the first TCP port; Acquire, based on the first TCP port, network connection response data corresponding to the network connection request data and sent by the proxy service software according to the request message; Sending the network connection response data to the desktop client software, so that the desktop client software can confirm the successful connection with the target server corresponding to the network connection request data based on the network connection response data; The proxy service software receives a request message sent by the proxy client software running on the client where the desktop client software is located based on the second TCP port, wherein the request message includes network connection request data sent by the desktop client software; The network connection request data includes identification information of a target server to be connected, the identification information includes an IP address of the target server and a target port number on the target server, and the target port number has a mapping relationship with a target service program on the target server; Determine a target service program on a target server according to the network connection request data; Forwarding the request message to the target service program so that the target service program performs connection processing based on the request message to obtain network connection response data corresponding to the network connection request data; Acquire the network connection response data, and send the network connection response data to the proxy client software based on the second TCP port; The first TCP port and the second TCP port have a mapping relationship.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method for connecting the desktop client software and the server according to any one of claims 1 to 3.
Citation Information
Patent Citations
Network proxy method based on virtual channel in virtual desktop infrastructure (VDI) environment
CN102868728A
Method and system for enabling access of client device to remote desktop
CN105378659A
Single-channel VDI (Virtual Desktop Infrastructure) proxy service system and implementation method
CN108093041A
Transparent proxy service method and device
CN113810504A
Virtual desktop network acceleration method and device, terminal and storage medium
CN114020395A
