Remote access method, computer equipment and storage medium
Through the remote access system method, the access failure problem caused by the mutual influence of remote desktop clients when users access remote clients in batches is solved, and the effect of users successfully accessing remote clients in batches is achieved.
Patent Information
- Application Number
- CN202411749974.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-02-28
AI Technical Summary
In the prior art, when a user batches multiple remote client access, the user may not be able to access the remote client normally due to the mutual influence between the remote desktop clients.
Through the remote access system, including access management system, remote access client, proxy server, remote access server, agency management system, target client and target server, the method of user batch access to remote clients is realized. The specific steps include access management system to obtain user access requests, starting a remote access client, establishing a remote access connection, starting a recharge management system and target client, and connecting to the target server.
When users access multiple remote clients in batches, ensuring that users can successfully access the remote client, solving the access failure problem caused by the mutual influence of remote desktop clients.
Smart Images

Figure CN119544703A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of database technology, and in particular to a remote access method, a computer device and a storage medium. Background Art
[0002] With the continuous development of the Internet era, users often face the need to access computers remotely. Currently, users can access computers remotely through the remote desktop connection software RemoteApp.
[0003] According to the existing bastion machine application release session batch access solution, if you choose RemoteApp to access remote computers in batches, the mutual influence between remote desktop clients may cause users to be unable to access the remote client after logging in normally. Therefore, how to ensure that users can successfully access multiple remote clients in batches is a problem that needs to be solved. Summary of the invention
[0004] Based on this, it is necessary to provide a remote access method, computer device and storage medium that can ensure that users can successfully access multiple remote clients in batches when the users access the remote clients in batches, in order to solve the above technical problems.
[0005] In a first aspect, the present application provides a remote access method, which is performed by a remote access system, wherein the remote access system includes an access management system, multiple remote access clients, a proxy server, multiple remote access servers, multiple proxy management systems, multiple target clients, and multiple target servers, and the remote access method includes:
[0006] The access management system obtains at least one user access request, determines the target server address according to the user access request, and starts the remote access client;
[0007] The remote access client and the proxy server establish a remote access connection, and after the remote access connection is successfully established, the proxy server establishes a remote access connection with each remote access server based on the target server address;
[0008] After each remote access server successfully establishes a remote access connection with the proxy server, the corresponding proxy filling management system is started respectively;
[0009] Each proxy filling management system starts the corresponding target client through the corresponding proxy filling tool;
[0010] After each target client is started, it is connected to the corresponding target server, so that the user can operate the target client through the remote access client, thereby operating the target server based on the target client.
[0011] In one embodiment, after the remote access client and the proxy server establish a remote access connection, the method further includes:
[0012] The remote access client determines whether the remote access connection is successfully established;
[0013] If not, the remote access client that failed to connect to the proxy server issues a session start failure notification.
[0014] In one of the embodiments, after the remote access client determines whether the remote access connection is successfully established, the process further includes:
[0015] If yes, the proxy server monitors the virtual channel to obtain monitoring information.
[0016] In one embodiment, after the proxy server establishes a remote access connection with each remote access server based on the target server address, the process further includes:
[0017] The proxy server determines whether a remote access connection with each remote access server is successfully established;
[0018] If not, a notification of failure to establish a remote access connection with each remote access server is fed back to the remote access client, and the remote access client sends a prompt message of session startup failure.
[0019] In one embodiment, after each target client is started, it is connected to the corresponding target server respectively, so that the user operates the target client through the remote access client, and then operates the target server based on the target client, and further includes:
[0020] The proxy filling management system determines the execution information of the proxy filling task according to the process information fed back by the proxy filling tool;
[0021] The proxy filling management system opens a virtual channel and sends the execution information of the proxy filling task to the proxy server;
[0022] After receiving the execution information of the proxy filling task, the proxy server sends the execution information of the proxy filling task to the remote access client.
[0023] In one embodiment, after sending the execution information of the filling task to the remote access client, the method further includes:
[0024] The proxy server determines the execution waiting time of the proxy filling tasks corresponding to each proxy filling management system according to the execution information of the proxy filling tasks;
[0025] If the execution waiting time of the proxy filling task is greater than the first preset time, it is determined that the proxy filling task has failed, and the remote access client corresponding to the proxy filling management system that failed to execute the proxy filling task is notified to issue a session startup failure notification.
[0026] In one embodiment, after the proxy server determines the execution waiting time of the proxy filling tasks corresponding to each proxy filling management system according to the execution information of the proxy filling tasks, the following further includes:
[0027] If the execution waiting time of the proxy filling task is less than or equal to the first preset time, the proxy server determines the end notification waiting time of the proxy filling task corresponding to each proxy filling management system according to the execution information of the proxy filling task;
[0028] If the waiting time for the end notification of the proxy filling task is greater than the second preset time, it is determined that the proxy filling task has failed, and the remote access client corresponding to the proxy filling management system notifying the proxy filling task failure sends a session start failure notification.
[0029] In one embodiment, after the proxy server determines the waiting time for the end notification of the proxy filling task corresponding to each proxy filling management system according to the execution information of the proxy filling task, the following further includes:
[0030] If the waiting time for the end notification of the proxy filling task corresponding to each proxy filling management system is less than or equal to the second preset time, the remote access client is notified to display a window message to the target client corresponding to each proxy filling management system.
[0031] In a second aspect, the present application further provides a computer device, the computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:
[0032] The access management system obtains at least one user access request, determines the target server address according to the user access request, and starts the remote access client;
[0033] The remote access client and the proxy server establish a remote access connection, and after the remote access connection is successfully established, the proxy server establishes a remote access connection with each remote access server based on the target server address;
[0034] After each remote access server successfully establishes a remote access connection with the proxy server, the corresponding proxy filling management system is started respectively;
[0035] Each proxy filling management system starts the corresponding target client through the corresponding proxy filling tool;
[0036] After each target client is started, it is connected to the corresponding target server respectively, so that the user can operate the target client through the remote access client, thereby operating the target server based on the target client.
[0037] In a third aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the following steps are implemented:
[0038] The access management system obtains at least one user access request, determines the target server address according to the user access request, and starts the remote access client;
[0039] The remote access client and the proxy server establish a remote access connection, and after the remote access connection is successfully established, the proxy server establishes a remote access connection with each remote access server based on the target server address;
[0040] After each remote access server successfully establishes a remote access connection with the proxy server, the corresponding proxy filling management system is started respectively;
[0041] Each proxy filling management system starts the corresponding target client through the corresponding proxy filling tool;
[0042] After each target client is started, it is connected to the corresponding target server, so that the user can operate the target client through the remote access client, thereby operating the target server based on the target client.
[0043] The above remote access method, computer device and storage medium perform remote access through a remote access system, wherein the remote access system includes an access management system, a remote access client, a proxy server, a remote access server, a proxy management system, a target client and a target server, wherein the access management system obtains at least one user access request, determines the target server address according to the user access request, and starts the remote access client; the remote access client and the proxy server establish a remote access connection, and after the remote access connection is successfully established, the proxy server establishes a remote access connection with each remote access server based on the target server address; after each remote access server successfully establishes a remote access connection with the proxy server, the corresponding proxy management system is started respectively; each proxy management system starts the corresponding target client through the corresponding proxy tool; after each target client is started, it connects to the corresponding target server respectively, so that the user can operate the target client through the remote access client, thereby operating the target server based on the target client. The problem that the user cannot access the remote desktop normally due to the mutual influence between remote desktop protocols is solved. In the above scheme, when the access management system in the remote access system obtains multiple user access requests, it can establish a remote connection with the remote access server corresponding to the user access request through the proxy server according to the user access request, and then open the target client through the proxy management system corresponding to the remote access server, and perform the proxy task on the target client, thereby realizing the application publishing access scenario across network areas, and starting the client program simultaneously through the application publishing servers in multiple different network areas, ensuring that users can successfully access in batches. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A flowchart of a remote access method in one embodiment;
[0045] Figure 2 is a flowchart of a remote access method in another embodiment;
[0046] Figure 3 is a flowchart of a remote access method in another embodiment;
[0047] Figure 4 is a flowchart of a remote access method in another embodiment;
[0048] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0050] In one embodiment, Figure 1 As shown, a remote access method is provided. In this embodiment, the remote access method is executed by a remote access system. The remote access system includes an access management system, multiple remote access clients, a proxy server, multiple remote access servers, multiple proxy management systems, multiple target clients and multiple target servers. In this embodiment, the method includes the following steps:
[0051] S110: The access management system obtains at least one user access request, determines a target server address according to the user access request, and starts a remote access client.
[0052] The user access request refers to the request information sent by the user when the user needs to remotely access the remote access client through the target client. The user access request may include user information, password, target server address and the Internet Protocol address of the remote access client to be accessed. The target client is generally a database client or a browser. The database client can be Navicat, Robo 3T or Data Studio, and the browser can be IE, Chrome or Firefox.
[0053] Specifically, the access management system obtains a user access request sent by a user, analyzes the user access request through the access management program to determine the target server address and the Internet Protocol address of the remote access client, and starts the remote access client according to the Internet Protocol address of the remote access client. Determining the target server address and starting the remote access client are performed in parallel. At this time, the remote access client ignores its local mouse, keyboard and focus setting window messages.
[0054] S120: The remote access client and the proxy server establish a remote access connection. After the remote access connection is successfully established, the proxy server establishes a remote access connection with each remote access server based on the target server address.
[0055] The proxy server is an RDP (Remote Desktop Protocol) proxy server. The proxy server can refer to a bastion host, which is a system used to monitor and record the operation of the operation and maintenance personnel on the host, network equipment, database and other equipment in the network. The number of remote access servers is the same as the number of target clients.
[0056] Specifically, after the remote access client is started, it establishes a remote access connection with the proxy server. After the remote access client successfully establishes a remote access connection with the proxy server, the proxy server establishes a remote access connection with a remote access server corresponding to each target client based on the target server address.
[0057] S130 , after each remote access server successfully establishes a remote access connection with the proxy server, it starts the corresponding proxy filling management system respectively.
[0058] Among them, the proxy filling management system refers to a system in which when a user accesses a remote access client through a bastion host, the remote access client's IP, account, password and other information are hidden from the user, and the bastion host program directly fills the managed device information into the client program for login. There are generally two types of proxy filling methods used by the proxy filling management system, one is command line parameters, and the other is simulated operation.
[0059] Specifically, each remote access server corresponds to a proxy filling management system. After each remote access server successfully establishes a remote access connection with the proxy server, it starts the corresponding proxy filling management system.
[0060] S140. Each proxy filling management system starts a corresponding target client through a corresponding proxy filling tool.
[0061] Among them, the filling tools are generally third-party automation tools, such as AutoIt or the Selenium framework in Python.
[0062] Specifically, after being started, each proxy filling management system starts the corresponding proxy filling tool according to the proxy filling management script to perform the proxy filling task, so as to start the corresponding target client through the proxy filling tool. It should be noted that when the proxy filling management system performs the proxy filling task through the proxy filling tool, the proxy filling management system opens a virtual channel and sends a notification message of the start of proxy filling to the proxy server through the virtual channel.
[0063] S150: After each target client is started, it is connected to the corresponding target server, so that the user can operate the target client through the remote access client, thereby operating the target server based on the target client.
[0064] In the above remote access method, remote access is performed through a remote access system, the remote access system includes an access management system, a remote access client, a proxy server, a remote access server, a proxy management system, a target client and a target server, the access management system obtains at least one user access request, determines the target server address according to the user access request, and starts the remote access client; the remote access client and the proxy server establish a remote access connection, and after the remote access connection is successfully established, the proxy server establishes a remote access connection with each remote access server based on the target server address; after each remote access server successfully establishes a remote access connection with the proxy server, the corresponding proxy management system is started respectively; each proxy management system starts the corresponding target client through the corresponding proxy tool; after each target client is started, it connects to the corresponding target server respectively, so that the user can operate the target client through the remote access client, thereby operating the target server based on the target client. The problem that the user cannot access the remote client normally due to the mutual influence between remote desktop programs is solved. In the above scheme, when the access management system in the remote access system obtains multiple user access requests, it can establish a remote connection with the remote access server corresponding to each user access request through the proxy server according to the user access request, and then open the target client through the proxy management system corresponding to the remote access server, and perform the proxy task on the target client, thereby realizing the application publishing access scenario across network areas, and starting the client program simultaneously through the application publishing servers in multiple different network areas, ensuring that users can successfully access in batches.
[0065] In one embodiment, Figure 2 As shown in the figure, after the remote access client and the proxy server establish a remote access connection, it also includes:
[0066] S210: The remote access client determines whether the remote access connection is established successfully.
[0067] Specifically, the remote access client determines whether the remote access connection is successfully established according to the remote communication protocol.
[0068] S220: If not, the remote access client that fails to connect to the proxy server sends a session start failure notification.
[0069] Specifically, if there is a situation where the remote access connection fails to be established, the remote access client that fails to connect to the proxy server sends a session start failure notification.
[0070] In the above scheme, after the remote access client and the proxy server establish a remote access connection, the remote access client determines whether the remote access connection is successfully established with the proxy server, and the remote access client that fails to successfully establish a remote access connection with the proxy server sends a session startup failure notification, which can promptly inform the operation and maintenance personnel of the session startup failure information to avoid resource waste.
[0071] In one embodiment, after the remote access client determines whether the remote access connection is successfully established, the process further includes:
[0072] If yes, the proxy server monitors the virtual channel to obtain monitoring information.
[0073] Among them, the virtual channel is the RDP virtual channel. The RDP virtual channel is a communication mechanism of the RDP protocol, which supports the establishment of multiple logical connections between the client and the server and is generally used to implement the communication function between the client device and the remote application.
[0074] Specifically, if the remote access connection between the remote access client and the proxy server is established successfully, the proxy server monitors the virtual channel to obtain monitoring information.
[0075] The above solution enables the proxy server to monitor the virtual channel in real time to ensure the normal operation of the system.
[0076] In one embodiment, Figure 3 As shown, after the proxy server establishes a remote access connection with each remote access server based on the target server address, it also includes:
[0077] S310: The proxy server determines whether the remote access connection with each remote access server is successfully established.
[0078] Specifically, the proxy server determines whether the remote access connection with each remote access server is successfully established according to the remote communication protocol.
[0079] S320: If not, a notification of failure to establish a remote access connection with each remote access server is fed back to the remote access client, and the remote access client sends a prompt message of session startup failure.
[0080] Specifically, if there is a remote access server that fails to establish a remote access connection with the proxy server, the remote access client corresponding to the remote access server that fails to establish a remote access connection with the proxy server is determined, and the remote access client corresponding to the remote access server that fails to establish a remote access connection with the proxy server is notified to send a session startup failure prompt message.
[0081] In the above scheme, after the proxy server establishes a remote access connection with each remote access server based on the monitoring information, the proxy server determines whether there is a remote access server with which the remote access connection establishment fails. If so, the proxy server notifies the remote access client corresponding to the remote access server with which the remote access connection establishment fails of the notification of the access connection establishment failure, which can promptly inform the operation and maintenance personnel of the session startup failure information, further avoiding waste of resources.
[0082] In one embodiment, after each target client is started, it is connected to the corresponding target server respectively, so that the user operates the target client through the remote access client, and then operates the target server based on the target client, and further includes:
[0083] The proxy filling management system determines the execution information of the proxy filling task according to the process information fed back by the proxy filling tool; the proxy filling management system opens a virtual channel and sends the execution information of the proxy filling task to the proxy server; after receiving the execution information of the proxy filling task, the proxy server sends the execution information of the proxy filling task to the remote access client.
[0084] Specifically, after the proxy filling management system uses the proxy filling tool to start the corresponding target client, the proxy filling tool can execute the proxy filling task on the target client and feedback information on whether the proxy filling task is correctly executed to the proxy filling management system, that is, the execution information of the proxy filling task. After receiving the execution information of the proxy filling task, the proxy server opens a virtual channel and sends the execution information of the proxy filling task to the remote access client, so that the remote access client can obtain the execution information of the proxy filling task in real time, thereby determining whether the proxy filling task corresponding to each target client is executed normally.
[0085] In the above scheme, the remote access client can obtain the execution information of the proxy filling task from the virtual channel in real time, determine whether the proxy filling task corresponding to each target client is executed normally, and ensure the stability of the system.
[0086] In one embodiment, Figure 4 As shown, after sending the execution information of the filling task to the remote access client, it also includes:
[0087] S410: The proxy server determines the execution waiting time of the proxy filling tasks corresponding to each proxy filling management system according to the execution information of the proxy filling tasks.
[0088] The execution waiting time of the proxy filling task is the time interval between the time for the proxy server and the remote access client to establish a remote access connection and the time for the proxy server to determine the start of the proxy filling task execution according to the execution information of the proxy filling task.
[0089] Specifically, the proxy server determines the execution start time of the proxy filling task according to the execution information of the proxy filling task, and determines the execution waiting time of the proxy filling task corresponding to each proxy filling management system according to the execution start time of the proxy filling task.
[0090] S420: If the execution waiting time of the proxy filling task is longer than the first preset time, it is determined that the proxy filling task has failed to execute, and a remote access client corresponding to the proxy filling management system that has failed to execute the proxy filling task is notified to issue a session start failure notification.
[0091] The first preset duration may be set according to actual needs, for example, may be 10 seconds.
[0092] In the above scheme, the remote access client can send a session startup failure notification in time when the execution waiting time of the proxy filling task is too long, thereby reminding the user to re-access the remote access client, thereby improving the remote access efficiency.
[0093] In one embodiment, after the proxy server determines the execution waiting time of the proxy filling tasks corresponding to each proxy filling management system according to the execution information of the proxy filling tasks, the following further steps are included:
[0094] If the execution waiting time of the proxy filling task is less than or equal to the first preset time, the proxy server determines the waiting time for the end notification of the proxy filling task corresponding to each proxy filling management system based on the execution information of the proxy filling task; if the waiting time for the end notification of the proxy filling task is greater than the second preset time, it is determined that the execution of the proxy filling task has failed, and the remote access client corresponding to the proxy filling management system that notifies the execution of the proxy filling task has issued a session startup failure notification.
[0095] The second preset time can be set according to actual needs, for example, 30 seconds. The waiting time for notification of the end of the proxy filling task refers to the time interval between the time when the proxy server and the remote access client establish a remote access connection respectively, and the time when the proxy server determines the end of the proxy filling task execution according to the execution information of the proxy filling task.
[0096] In the above scheme, the remote access client can send a session start failure notification in time when the waiting time for the completion of the filling task is too long, thereby reminding the user to re-access the remote access client, further improving the remote access efficiency.
[0097] In one embodiment, after the proxy server determines the waiting time for the end notification of the proxy filling task corresponding to each proxy filling management system according to the execution information of the proxy filling task, the following further includes:
[0098] If the waiting time for the end notification of the proxy filling task corresponding to each proxy filling management system is less than or equal to the second preset time, the remote access client is notified to display a window message to the target client corresponding to each proxy filling management system.
[0099] In the above scheme, when the waiting time for the end notification of the proxy filling task is less than or equal to the second preset time, it is determined that the proxy filling task is executed normally, and the remote access client displays a window message to the corresponding target client, which can improve the stability of the remote access system.
[0100] Exemplarily, based on the above embodiment, the remote access method includes:
[0101] The access management system obtains a user access request sent by a user, analyzes the user access request through an access management program to determine a target server address and an Internet protocol address of a remote access client, and starts the remote access client according to the Internet protocol address of the remote access client. Determining the target server address and starting the remote access client are performed in parallel.
[0102] After the remote access client is started, it establishes a remote access connection with the proxy server, and the remote access client determines whether the remote access connection is successfully established.
[0103] If there is a situation where the remote access connection fails to be established, the remote access client that fails to connect to the proxy server issues a session start failure notification.
[0104] If the remote access connection between the remote access client and the proxy server is successfully established, the proxy server monitors the virtual channel to obtain monitoring information.
[0105] Each remote access server corresponds to a proxy filling management system. After each remote access server successfully establishes a remote access connection with the proxy server, it starts the corresponding proxy filling management system.
[0106] After the remote access client successfully establishes a remote access connection with the proxy server, the proxy server establishes a remote access connection with the remote access server corresponding to each target client based on the target server address.
[0107] The proxy server determines whether a remote access connection is successfully established with each remote access server.
[0108] If there is a remote access server that fails to establish a remote access connection with the proxy server, the remote access client corresponding to the remote access server that fails to establish a remote access connection with the proxy server is determined, and the remote access client corresponding to the remote access server that fails to establish a remote access connection with the proxy server is notified to send a session startup failure prompt message.
[0109] After being started, each proxy filling management system starts the corresponding proxy filling tool according to the proxy filling management script to perform the proxy filling task, so as to start the corresponding target client through the proxy filling tool. It should be noted that when the proxy filling management system performs the proxy filling task through the proxy filling tool, the proxy filling management system opens a virtual channel and sends a notification message of the start of proxy filling to the proxy server through the virtual channel.
[0110] After each target client is started, it connects to the corresponding target server respectively, so that the user can operate the target client through the remote access client, thereby operating the target server based on the target client. After the proxy filling management system uses the proxy filling tool to start the corresponding target client, the proxy filling tool can perform the proxy filling task on the target client according to the operation information of the user's remote access client, and feedback to the proxy filling management system whether the proxy filling task is correctly executed, that is, the execution information of the proxy filling task. After receiving the execution information of the proxy filling task, the proxy server opens a virtual channel and sends the execution information of the proxy filling task to the remote access client, so that the remote access client can obtain the execution information of the proxy filling task in real time, thereby determining whether the proxy filling task corresponding to each target client is executed normally.
[0111] After sending the execution information of the proxy filling task to the remote access client, the method further includes: the proxy server determines the time when the proxy filling task starts to be executed according to the execution information of the proxy filling task, and determines the execution waiting time of the proxy filling task corresponding to each proxy filling management system according to the execution starting time of the proxy filling task. If the execution waiting time of the proxy filling task is greater than the first preset time, it is determined that the execution of the proxy filling task fails, and the remote access client corresponding to the proxy filling management system that fails to execute the proxy filling task is notified to send a session start failure notification.
[0112] After the proxy server determines the execution waiting time of the proxy filling tasks corresponding to each proxy filling management system according to the execution information of the proxy filling tasks, if the execution waiting time of the proxy filling tasks is less than or equal to the first preset time, the proxy server determines the end notification waiting time of the proxy filling tasks corresponding to each proxy filling management system according to the execution information of the proxy filling tasks; if the end notification waiting time of the proxy filling tasks is greater than the second preset time, it is determined that the execution of the proxy filling tasks has failed, and the remote access client corresponding to the proxy filling management system that failed to execute the proxy filling tasks is notified to send a session start failure notification. If the end notification waiting time of the proxy filling tasks corresponding to each proxy filling management system is less than or equal to the second preset time, the remote access client is notified to display a window message to the target client corresponding to each proxy filling management system.
[0113] In the above remote access method, remote access is performed through a remote access system, and the remote access system includes an access management system, a remote access client, a proxy server, a remote access server, a proxy management system, a target client and a target server. The access management system obtains at least one user access request, determines the target server address according to the user access request, and starts the remote access client; the remote access client and the proxy server establish a remote access connection, and after the remote access connection is successfully established, the proxy server establishes a remote access connection with each remote access server based on the target server address; after each remote access server successfully establishes a remote access connection with the proxy server, the corresponding proxy management system is started respectively; each proxy management system starts the corresponding target client through the corresponding proxy tool; after each target client is started, it connects to the corresponding target server respectively, so that the user can operate the target client through the remote access client, thereby operating the target server based on the target client. The problem that the user cannot access the remote desktop normally due to the mutual influence between remote access clients is solved. In the above scheme, when the access management system in the remote access system obtains multiple user access requests, it can establish a remote connection with the remote access server corresponding to each user access request through the proxy server according to the user access request, and then open the target client through the proxy management system corresponding to the remote access server, and perform the proxy task on the target client, thereby realizing the application publishing access scenario across network areas, and starting the client program simultaneously through the application publishing servers in multiple different network areas, ensuring that users can successfully access in batches.
[0114] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0115] Based on the same inventive concept, the embodiment of the present application also provides a remote access device for implementing the remote access method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more remote access device embodiments provided below can refer to the limitations on the remote access method above, and will not be repeated here.
[0116] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a remote access method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0117] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0118] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0119] Step 1: The access management system obtains at least one user access request, determines the target server address according to the user access request, and starts the remote access client;
[0120] Step 2: The remote access client and the proxy server establish a remote access connection, and after the remote access connection is successfully established, the proxy server establishes a remote access connection with each remote access server based on the target server address;
[0121] Step 3: After each remote access server successfully establishes a remote access connection with the proxy server, the corresponding proxy filling management system is started respectively;
[0122] Step 4: Each proxy filling management system starts the corresponding target client through the corresponding proxy filling tool;
[0123] Step 5: After each target client is started, it is connected to the corresponding target server, so that the user can operate the target client through the remote access client, thereby operating the target server based on the target client.
[0124] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0125] Step 1: The access management system obtains at least one user access request, determines the target server address according to the user access request, and starts the remote access client;
[0126] Step 2: The remote access client and the proxy server establish a remote access connection, and after the remote access connection is successfully established, the proxy server establishes a remote access connection with each remote access server based on the target server address;
[0127] Step 3: After each remote access server successfully establishes a remote access connection with the proxy server, the corresponding proxy filling management system is started respectively;
[0128] Step 4: Each proxy filling management system starts the corresponding target client through the corresponding proxy filling tool;
[0129] Step 5: After each target client is started, it is connected to the corresponding target server, so that the user can operate the target client through the remote access client, thereby operating the target server based on the target client.
[0130] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0131] Step 1: The access management system obtains at least one user access request, determines the target server address according to the user access request, and starts the remote access client;
[0132] Step 2: The remote access client and the proxy server establish a remote access connection, and after the remote access connection is successfully established, the proxy server establishes a remote access connection with each remote access server based on the target server address;
[0133] Step 3: After each remote access server successfully establishes a remote access connection with the proxy server, the corresponding proxy filling management system is started respectively;
[0134] Step 4: Each proxy filling management system starts the corresponding target client through the corresponding proxy filling tool;
[0135] Step 5: After each target client is started, it is connected to the corresponding target server, so that the user can operate the target client through the remote access client, thereby operating the target server based on the target client.
[0136] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0137] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0138] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0139] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A remote access method, characterized in that: Executed by a remote access system, the remote access system includes an access management system, a remote access client, a proxy server, multiple remote access servers, multiple proxy management systems, multiple target clients and multiple target servers, the remote access method includes: The access management system obtains at least one user access request, determines the target server address according to the user access request, and starts the remote access client; The remote access client and the proxy server establish a remote access connection, and after the remote access connection is successfully established, the proxy server establishes a remote access connection with each remote access server based on the target server address; After each remote access server successfully establishes a remote access connection with the proxy server, the corresponding proxy filling management system is started respectively; Each proxy filling management system starts the corresponding target client through the corresponding proxy filling tool; After each target client is started, it is connected to the corresponding target server, so that the user can operate the target client through the remote access client, thereby operating the target server based on the target client.
2. The method according to claim 1, characterized in that After the remote access client and proxy server establish a remote access connection, it also includes: The remote access client determines whether the remote access connection is successfully established; If not, the remote access client that failed to connect to the proxy server issues a session start failure notification.
3. The method according to claim 2, characterized in that After the remote access client determines whether the remote access connection is successfully established, it also includes: If yes, the proxy server monitors the virtual channel to obtain monitoring information.
4. The method according to claim 3, characterized in that After the proxy server establishes a remote access connection with each remote access server based on the target server address, it also includes: The proxy server determines whether a remote access connection with each remote access server is successfully established; If not, a notification of failure to establish a remote access connection with each remote access server is fed back to the remote access client, and the remote access client sends a prompt message of session startup failure.
5. The method according to claim 3, characterized in that: After each target client is started, it is connected to the corresponding target server respectively, so that the user can operate the target client through the remote access client, thereby operating the target server based on the target client, and further comprising: The proxy filling management system determines the execution information of the proxy filling task according to the process information fed back by the proxy filling tool; The proxy filling management system opens a virtual channel and sends the execution information of the proxy filling task to the proxy server; After receiving the execution information of the proxy filling task, the proxy server sends the execution information of the proxy filling task to the remote access client.
6. The method according to claim 5, characterized in that After sending the execution information of the filling task to the remote access client, it also includes: The proxy server determines the execution waiting time of the proxy filling tasks corresponding to each proxy filling management system according to the execution information of the proxy filling tasks; If the execution waiting time of the proxy filling task is greater than the first preset time, it is determined that the proxy filling task has failed, and the remote access client corresponding to the proxy filling management system that failed to execute the proxy filling task is notified to issue a session startup failure notification.
7. The method according to claim 6, characterized in that After the proxy server determines the execution waiting time of the proxy filling tasks corresponding to each proxy filling management system according to the execution information of the proxy filling tasks, it also includes: If the execution waiting time of the proxy filling task is less than or equal to the first preset time, the proxy server determines the end notification waiting time of the proxy filling task corresponding to each proxy filling management system according to the execution information of the proxy filling task; If the waiting time for the end notification of the proxy filling task is greater than the second preset time, it is determined that the proxy filling task has failed, and the remote access client corresponding to the proxy filling management system notifying the proxy filling task of failure sends a session start failure notification.
8. The method according to claim 7, characterized in that After the proxy server determines the waiting time for the end notification of the proxy filling task corresponding to each proxy filling management system according to the execution information of the proxy filling task, it also includes: If the waiting time for the end notification of the proxy filling task corresponding to each proxy filling management system is less than or equal to the second preset time, the remote access client is notified to display a window message to the target client corresponding to each proxy filling management system.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.