Client wake-up method and system, computer equipment and storage medium
By loading browser plug-ins on the local client and modifying the extension functions of the network page, combined with the support of the remote desktop sharing system, the function of the remote browser page awakening the user-side client is realized, solving the problem that the existing technology cannot effectively support the WEB application that wakes the client program.
Patent Information
- Application Number
- CN202411667591.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-02-28
AI Technical Summary
The prior art is difficult to wake up the local client on the user side through the WEB page opened by a remote browser, resulting in the inability to provide better support for WEB applications that need to wake up the client program on the WEB page.
By loading the browser plug-in, modify the extension functions corresponding to the network page to be accessed by the local client, and use the back-end server to send the wake-up information of the client program to the remote desktop sharing system loaded by the local client to realize the wake-up of the client program.
The local client on the user side was successfully realized by awakening the WEB page opened by a remote browser, solving the problem that the existing technology cannot effectively support the WEB application that needs to wake up the client program on the WEB page.
Smart Images

Figure CN119536829A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of video processing technology, and in particular to a client wake-up method, system, computer device and storage medium. Background Art
[0002] Remote browser isolation is a network security measure that isolates user devices and Internet WEB (World Wide Web) page browsing processes by hosting browsers on remote servers, ensuring that potential malicious code does not run on local devices. Browser activities only occur in a secure remote isolation environment, preventing malicious websites from threatening users' local computer devices. This technology helps prevent zero-day attacks and other network security threats and improves security.
[0003] The remote browser runs in the cloud as a one-time containerized instance, and each user has a separate remote browser container instance. The remote browser uses a specific protocol and data format to send the rendered content of the web page to the user's endpoint device. The user's operation is sent back to the server through a secure encrypted channel and processed by the remote browser. The remote browser page is changed based on the user's operation and then sent back to the user's endpoint device. The WEB page displayed on the browser of the local client is actually a real-time mirror of the remote browser window image, and all activities of the local client occur remotely. Under the existing technology, it is only possible to display the WEB page loaded on the remote browser on the local client. It cannot provide good support for the WEB application on the WEB page that needs to wake up the client program. The WEB page opened by the remote browser cannot wake up the local client on the user side. Therefore, how to wake up the local client on the user side through the WEB page opened by the remote browser is a problem that needs to be solved. Summary of the invention
[0004] Based on this, it is necessary to provide a client wake-up method, system, computer device and storage medium that can wake up the local client on the user side through a WEB page opened by a remote browser to address the above technical problems.
[0005] In a first aspect, the present application provides a client wake-up method, the method comprising:
[0006] Load the browser plugin;
[0007] Modify the extension function corresponding to the network page to be accessed by the local client based on the browser plug-in;
[0008] Based on the modified extension function, the back-end server is used to send the wake-up information of the client program to the remote desktop sharing system loaded on the local client;
[0009] The client program is awakened based on the awakening information through the remote desktop sharing system.
[0010] In one embodiment, modifying the extension function corresponding to the network page to be accessed by the local client based on the browser plug-in includes:
[0011] Open the network page to be accessed by the local client and request the page site corresponding to the network page;
[0012] Obtaining the site content returned by the web page, parsing the site content, and loading the web page according to the parsing result;
[0013] When the browser plug-in detects the loading event of the network page, the script information corresponding to the browser plug-in is injected into the network page, and the target node element characteristics of the network page are modified, thereby modifying the extension function corresponding to the network page.
[0014] In one embodiment, opening a network page to be accessed by a local client includes:
[0015] Obtaining target page opening information sent by the local client, and sending the target page opening information to the back-end server through the remote desktop sharing system loaded by the local client;
[0016] The target page opening information is sent to the browser plug-in through the back-end server, so as to open the network page to be accessed by the local client based on the browser plug-in.
[0017] In one embodiment, after obtaining the site content returned by the web page and parsing the site content, and loading the web page according to the parsing result, the method further includes:
[0018] Pushing the window data of the remote browser to the remote desktop sharing system loaded by the local client through the back-end server;
[0019] The remote desktop sharing system draws the window screen of the remote browser on the local client according to the window data.
[0020] In one embodiment, based on the modified extension function, the backend server sends the wake-up information of the client program to the remote desktop sharing system loaded on the local client, including:
[0021] The remote desktop sharing system obtains the operation information of the local client based on the back-end server, and applies the operation information to the browser window of the remote browser to trigger the modified extension function;
[0022] When the operation information triggers the modified extension function, the browser plug-in is triggered and sends wake-up information of the client program to the back-end server;
[0023] The wake-up information is sent to the remote desktop sharing system loaded by the local client through the back-end server.
[0024] In one embodiment, the client wake-up method further includes:
[0025] When a local client's access request to a target server is detected, the isolated environment service traffic of the local client is accessed through a proxy client, and the isolated environment service traffic is forwarded to a proxy server at the gateway layer;
[0026] Accessing the target server based on the isolated environment service flow through the proxy server, and obtaining response information of the target server;
[0027] The response information is forwarded to the proxy client through the proxy server, and the response information is forwarded to the local client through the proxy client.
[0028] In a second aspect, the present application further provides a client wake-up system, the client wake-up system comprising a remote browser, a back-end server, a remote desktop sharing system and a local client, wherein:
[0029] The remote browser is used to load the browser plug-in and modify the extension function corresponding to the network page based on the browser plug-in;
[0030] The back-end server is used to send the wake-up information of the client program to the remote desktop sharing system loaded on the local client based on the modified extension function;
[0031] The remote desktop sharing system is used to wake up the client program based on the wake-up information;
[0032] The local client is used to respond to the wake-up information of the remote desktop sharing system and execute the wake-up action of the client program according to the wake-up information.
[0033] In one embodiment, the client wake-up system further includes a proxy client and a proxy server, wherein:
[0034] The proxy client is used to proxy the isolated environment service traffic of the local client and forward the isolated environment service traffic to the proxy server of the gateway layer;
[0035] The proxy server is used to access the target server based on the isolated environment service traffic, obtain the response information of the target server, and forward the response information to the proxy client, so that the proxy client forwards the response information to the local client.
[0036] In a third 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:
[0037] Load browser plugins via remote browser;
[0038] Modifying, by the remote browser, an extended function corresponding to a web page based on the browser plug-in;
[0039] Through the remote browser, based on the modified extension function, the back-end server is used to send the wake-up information of the client program to the remote desktop sharing system loaded on the local client;
[0040] The client program is awakened based on the awakening information through the remote desktop sharing system.
[0041] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0042] Load browser plugins via remote browser;
[0043] Modifying, by the remote browser, an extended function corresponding to a web page based on the browser plug-in;
[0044] Through the remote browser, based on the modified extension function, the back-end server is used to send the wake-up information of the client program to the remote desktop sharing system loaded on the local client;
[0045] The client program is awakened based on the awakening information through the remote desktop sharing system.
[0046] The above-mentioned client wake-up method, system, computer device and storage medium load a browser plug-in; based on the browser plug-in, modify the extension function corresponding to the network page to be accessed by the local client; based on the modified extension function, use the back-end server to send the wake-up information of the client program to the remote desktop sharing system loaded on the local client; wake up the client program based on the wake-up information through the remote desktop sharing system. It solves the problem that under the existing technology, it can only display the WEB page loaded on the remote browser on the local client, and cannot provide good support for the WEB application that needs to wake up the client program on the WEB page. The above-mentioned scheme changes the behavioral characteristics of the launch function of the WEB page on the remote browser by injecting the corresponding script information through the browser plug-in, redirects the wake-up event of the local client from the remote end to the user-side browser, and wakes up the local client on the user side through the WEB page corresponding to the remote desktop sharing system loaded by the local client, thereby realizing the awakening of the local client on the user side through the WEB page opened by the remote browser. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A schematic diagram of a process of waking up a client in one embodiment;
[0048] Figure 2 is a flow chart of a client awakening method in another embodiment;
[0049] Figure 3 is a flow chart of a client awakening method in another embodiment;
[0050] Figure 4 An example diagram of interaction between a local client and a target server in an isolated environment in one embodiment;
[0051] Figure 5 is a structural block diagram of a client wake-up device in one embodiment;
[0052] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0053] 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.
[0054] In one embodiment, Figure 1 As shown, a client wake-up method is provided. The client wake-up method provided in this embodiment is applied to a remote browser. In this embodiment, the method includes the following steps:
[0055] S110. Load a browser plug-in.
[0056] The browser plug-in is chrome-plugin, which is a plug-in used to monitor the loading event of a remote browser WEB page, that is, used to monitor the loading time of a network page, and the network page is a WEB page.
[0057] Specifically, the remote browser is started, and the custom browser plug-in chrome-plugin is loaded during the remote browser startup process. The browser plug-in is used to monitor the loading event of the WEB page.
[0058] S120: Modify the extension function corresponding to the network page to be accessed by the local client based on the browser plug-in.
[0059] Specifically, the remote browser injects the script information corresponding to the browser plug-in into the browser plug-in, which is a JavaScript script, to modify the extension function corresponding to the web page, which is the launch function. It should be noted that the launch function is an important builder in the Kotlin (static programming language) coroutine, which is used to start a new coroutine. The launch function belongs to the CoroutineScope interface, which is used to establish a relationship between the parent coroutine and the child coroutine.
[0060] S130: Based on the modified extension function, the back-end server sends the wake-up information of the client program to the remote desktop sharing system loaded on the local client.
[0061] The remote desktop sharing system is a VNC (Virtual Network Console) client based on HTML (Hyper Text Markup Language). It is a WEB-based remote desktop solution that allows users to access and control remote browser windows through a WEB browser. The remote desktop sharing system uses HTML5 and JavaScript technology and does not require the installation of any plug-ins or additional software.
[0062] S140. Wake up the client program based on the wake-up information through the remote desktop sharing system.
[0063] In the above-mentioned client wake-up method, a browser plug-in is loaded; based on the browser plug-in, the extension function corresponding to the network page to be accessed by the local client is modified; based on the modified extension function, the back-end server is used to send the wake-up information of the client program to the remote desktop sharing system loaded on the local client; and the client program is awakened based on the wake-up information through the remote desktop sharing system. The problem that under the existing technology, only the WEB page loaded on the remote browser can be displayed on the local client, and good support cannot be provided for the WEB application on the WEB page that needs to wake up the client program. The above-mentioned scheme changes the behavior characteristics of the launch function of the WEB page on the remote browser by injecting the corresponding script information through the browser plug-in, redirects the wake-up event of the local client from the remote end to the user-side browser, and wakes up the local client on the user side through the WEB page corresponding to the remote desktop sharing system loaded by the local client, thereby realizing the awakening of the local client on the user side through the WEB page opened by the remote browser.
[0064] In one embodiment, Figure 2 As shown, based on the browser plug-in, the extension function corresponding to the network page to be accessed by the local client is modified, including:
[0065] S210: Open the network page to be accessed by the local client and request the page site corresponding to the network page.
[0066] Specifically, after the remote browser is started, a custom browser plug-in is loaded, and the page loading event of the network page is monitored through the browser plug-in. After the remote browser is started, the remote browser network page is opened to request the page site corresponding to the network page.
[0067] S220: Obtain the site content returned by the network page, parse the site content, and load the network page according to the parsing result.
[0068] Specifically, after the remote browser requests the page site corresponding to the network page, it obtains the site content of the page site fed back by the network page, and parses and loads the site content to load the network page in the remote browser.
[0069] S230: When the browser plug-in detects a loading event of a network page, the script information corresponding to the browser plug-in is injected into the network page, and the target node element characteristics of the network page are modified, thereby modifying the extension function corresponding to the network page.
[0070] The target node element refers to a DOM (Document Object Model) element, which is a node in an HTML or XML (Extensible Markup Language) document. It can be a document's root node, element node, text node, or comment node.
[0071] The above scheme provides a method for injecting a browser plug-in into the script information corresponding to a network page to modify the extension function corresponding to the network page, which can ensure the accuracy of the extension function.
[0072] In one embodiment, opening a network page to be accessed by a local client includes:
[0073] The target page opening information sent by the local client is obtained, and the target page opening information is sent to the back-end server through the remote desktop sharing system loaded by the local client; the target page opening information is sent to the browser plug-in through the back-end server to open the network page to be accessed by the local client based on the browser plug-in.
[0074] Among them, the target page opening information carries the relevant information of the web page, and the relevant information of the web page can be the URL (uniform resource locator) of the web page. The back-end server is the controller-data-transfer service, which is mainly used to transmit business control data and establish a data transmission channel between the remote desktop sharing system on the user side and the browser plug-in of the remote browser. The back-end server and the remote desktop sharing system on the user side establish a connection through the full-duplex communication protocol websocket based on TCP (Transmission Control Protocol), and the back-end server and the browser plug-in of the remote browser also establish a connection through websocket.
[0075] For example, when a user operates a local client to open a web page, the target page opening information sent by the local client is sent to the controller-data-transfer service through the remote desktop sharing system loaded by the local client based on the websocket channel. The target page opening information carries the URL of the web page, and the target page opening information can be recorded as open-app-msg. After receiving the open-app-msg, the controller-data-transfer service will send the open-app-msg to the browser plug-in of the remote browser through the websocket channel. After receiving the open-app-msg, the browser plug-in will operate the remote browser to open the web page to be accessed by the local client.
[0076] The above scheme provides a method for a remote browser to request a page site corresponding to a network page, and the remote browser can accurately open the network page of the remote browser based on the browser plug-in according to the target page opening information sent by the local client.
[0077] In one embodiment, after obtaining the site content returned by the network page and parsing the site content, and loading the network page according to the parsing result, the method further includes:
[0078] The window data of the remote browser is pushed to the remote desktop sharing system loaded by the local client through the back-end server; through the remote desktop sharing system, the window screen of the remote browser is drawn on the local client according to the window data.
[0079] The window data of the remote browser refers to the window screen data of the remote browser.
[0080] Specifically, after the remote browser completes loading of the web page, the window data of the remote browser is pushed to the remote desktop sharing system loaded by the local client through the back-end server via pixel push. After the remote desktop sharing system receives the window data, it draws the window screen of the remote browser on the local client according to the window data, thereby realizing the mirror display of the window screen of the remote browser on the local client.
[0081] The above scheme provides a method for mirroring the window screen of a remote browser on a local client, thereby ensuring the validity of the window screen displayed by the local client.
[0082] In one embodiment, Figure 3 As shown, through the remote browser, based on the modified extension function, the back-end server sends the wake-up information of the client program to the remote desktop sharing system loaded on the local client, including:
[0083] S310: Obtain operation information of the local client based on the backend server through the remote desktop sharing system, and apply the operation information to the browser window of the remote browser to trigger the modified extension function.
[0084] The operation information refers to the operation information generated when the user operates the mouse and keyboard of the local client.
[0085] Specifically, when a user operates an already opened web page through a local client, the operation information generated when the user operates the mouse and keyboard of the local client will be sent to the VCN server software in the remote desktop sharing system through the back-end server. Through the VCN server software in the remote desktop sharing system, the operation information will be applied to the browser window of the remote browser to trigger the modified extension function.
[0086] Among them, VCN server software, namely vnc-server, is a remote desktop server software that allows users to remotely access and control the computer's desktop in a graphical way. Through vncserver, users can use the remote desktop sharing system on their local computers to connect to the remote computer and access its desktop as if they were operating directly on the remote computer.
[0087] S320: When the operation information triggers the modified extension function, the browser plug-in is triggered and sends the client program wake-up information to the back-end server.
[0088] Specifically, when the operation information triggers the modified extension function, it will trigger the browser plug-in to send the wake-up information of the client program to the back-end server.
[0089] S330: Send the wake-up information to the remote desktop sharing system loaded by the local client through the back-end server.
[0090] Specifically, after receiving the wake-up information of the client program, the back-end server sends it to the remote desktop sharing system loaded by the local client through the websocket channel between the back-end server and the remote desktop sharing system. After receiving the wake-up information of the client program, the remote desktop sharing system loaded by the local client wakes up the client program on the user side based on the wake-up information.
[0091] Through the above solution, the client program on the user side can be awakened in the remote browser isolation scenario.
[0092] In one embodiment, Figure 4 As shown, the above client wake-up method also includes:
[0093] When a local client's access request to the target server is detected, the isolated environment service traffic of the local client is accessed through the proxy client, and the isolated environment service traffic is forwarded to the proxy server at the gateway layer; through the proxy server, the target server is accessed based on the isolated environment service traffic, and the response information of the target server is obtained; the response information is forwarded to the proxy client through the proxy server, and the response information is forwarded to the local client through the proxy client.
[0094] Specifically, the proxy server on the user side proxies the local client to access the isolated environment service traffic, and forwards the isolated environment service traffic to the proxy server at the gateway layer. After receiving the isolated environment service traffic, the proxy server determines at least one target server to be accessed based on the isolated environment service traffic, and accesses the target server. The target server sends a response message based on the access information of the proxy server. After receiving the response message of the target server, the proxy server forwards the traffic content corresponding to the response message to the proxy client, and forwards the traffic content corresponding to the response message to the local client through the proxy client.
[0095] It is understandable that after the client program on the user side is awakened, the local client itself may need to access the services in the isolated environment. Since the network between the user side and the isolated environment is not connected, it is necessary to use the proxy server at the gateway layer to access the target server. The above solution can realize information interaction between the local client and the target server in the isolated environment.
[0096] Exemplarily, based on the above embodiment, the client wake-up method includes:
[0097] Start the remote browser and load the custom browser plug-in chrome-plugin during the remote browser startup process. The browser plug-in is used to monitor the loading events of the WEB page.
[0098] The target page opening information sent by the local client is obtained, and the target page opening information is sent to the back-end server through the remote desktop sharing system loaded by the local client; the target page opening information is sent to the browser plug-in of the remote browser through the back-end server, so that the remote browser opens the network page of the remote browser based on the browser plug-in.
[0099] After the remote browser requests the page site corresponding to the network page, it obtains the site content of the page site fed back by the network page, and parses and loads the site content to load the network page in the remote browser. When the browser plug-in detects the loading event of the network page, the script information corresponding to the browser plug-in is injected into the network page through the remote browser, and the target node element characteristics of the network page are modified, thereby modifying the extension function corresponding to the network page.
[0100] After the remote browser finishes loading the web page, the window data of the remote browser is pushed to the remote desktop sharing system loaded by the local client through the back-end server through pixel push. After the remote desktop sharing system receives the window data, it draws the window screen of the remote browser on the local client according to the window data, thereby realizing the mirror display of the window screen of the remote browser on the local client.
[0101] When a user operates an already opened web page through a local client, the operation information generated when the user operates the mouse and keyboard of the local client will be sent to the VCN server software in the remote desktop sharing system through the back-end server. The VCN server software in the remote desktop sharing system will act on the browser window of the remote browser to trigger the modified extension function. When the operation information triggers the modified extension function, it will trigger the browser plug-in to send the wake-up information of the client program to the back-end server. After the back-end server receives the wake-up information of the client program, it sends it to the remote desktop sharing system loaded by the local client through the websocket channel between the back-end server and the remote desktop sharing system. After the remote desktop sharing system loaded by the local client receives the wake-up information of the client program, it wakes up the local client on the user side based on the wake-up information.
[0102] Through the remote desktop sharing system, the client program is woken up based on the wake-up information. The proxy server on the user side proxies the local client to access the isolated environment service traffic, and forwards the isolated environment service traffic to the proxy server at the gateway layer. After the proxy server receives the isolated environment service traffic, it determines at least one target server to be accessed based on the isolated environment service traffic, and accesses the target server. The target server sends a response message based on the access information of the proxy server. After receiving the response information of the target server, the proxy server forwards the traffic content corresponding to the response information to the proxy client, and forwards the traffic content corresponding to the response information to the local client through the proxy client.
[0103] In the above-mentioned client wake-up method, a browser plug-in is loaded through a remote browser; a browser plug-in is loaded; an extension function corresponding to the network page to be accessed by the local client is modified based on the browser plug-in; based on the modified extension function, a back-end server is used to send wake-up information of the client program to the remote desktop sharing system loaded on the local client; and the client program is awakened based on the wake-up information through the remote desktop sharing system. The problem that under the existing technology, only the WEB page loaded on the remote browser can be displayed on the local client, and good support cannot be provided for the WEB application that needs to wake up the client program on the WEB page. The above-mentioned scheme changes the behavior characteristics of the launch function of the WEB page on the remote browser by injecting the corresponding script information through the browser plug-in, redirects the wake-up event of the local client from the remote end to the user-side browser, and wakes up the local client on the user side through the WEB page corresponding to the remote desktop sharing system loaded on the local client, thereby realizing the awakening of the local client on the user side through the WEB page opened by the remote browser.
[0104] 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.
[0105] Based on the same inventive concept, the embodiment of the present application also provides a client wake-up device for implementing the client wake-up 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 client wake-up device embodiments provided below can refer to the limitations on the client wake-up method above, and will not be repeated here.
[0106] In one embodiment, Figure 5 As shown, a client wake-up device is provided, including: a browser plug-in loading module 501, an extension function modification module 502, a wake-up information sending module 503 and a client wake-up module 504, wherein:
[0107] The browser plug-in loading module 501 is used to load the browser plug-in;
[0108] An extension function modification module 502 is used to modify the extension function corresponding to the network page to be accessed by the local client based on the browser plug-in;
[0109] A wake-up information sending module 503 is used to send the wake-up information of the client program to the remote desktop sharing system loaded on the local client using the back-end server based on the modified extension function;
[0110] The client awakening module 504 is used to awaken the client program based on the awakening information through the remote desktop sharing system.
[0111] Exemplarily, the extended function modification module 502 is specifically used for:
[0112] Open the network page to be accessed by the local client and request the page site corresponding to the network page;
[0113] Obtaining the site content returned by the web page, parsing the site content, and loading the web page according to the parsing result;
[0114] When the browser plug-in detects the loading event of the network page, the script information corresponding to the browser plug-in is injected into the network page, and the target node element characteristics of the network page are modified, thereby modifying the extension function corresponding to the network page.
[0115] Exemplarily, the extended function modification module 502 is further specifically used for:
[0116] Obtaining target page opening information sent by the local client, and sending the target page opening information to the back-end server through the remote desktop sharing system loaded by the local client;
[0117] The target page opening information is sent to the browser plug-in through the back-end server, so as to open the network page to be accessed by the local client based on the browser plug-in.
[0118] Exemplarily, the extended function modification module 502 is further specifically used for:
[0119] Pushing the window data of the remote browser to the remote desktop sharing system loaded by the local client through the back-end server;
[0120] The remote desktop sharing system draws the window screen of the remote browser on the local client according to the window data.
[0121] Exemplarily, the wake-up information sending module 503 is specifically used for:
[0122] The remote desktop sharing system obtains the operation information of the local client based on the back-end server, and applies the operation information to the browser window of the remote browser to trigger the modified extension function;
[0123] When the operation information triggers the modified extension function, the browser plug-in is triggered and sends wake-up information of the client program to the back-end server;
[0124] The wake-up information is sent to the remote desktop sharing system loaded by the local client through the back-end server.
[0125] Exemplarily, the above-mentioned client wake-up device further includes:
[0126] A traffic sending module is used to, when a local client's access request to a target server is detected, proxy the access to the isolated environment service traffic of the local client through a proxy client, and forward the isolated environment service traffic to a proxy server at a gateway layer;
[0127] A target server access module, used to access the target server through the proxy server based on the isolated environment service flow, and obtain response information of the target server;
[0128] The response information acquisition module is used to forward the response information to the proxy client through the proxy server, and forward the response information to the local client through the proxy client.
[0129] In one embodiment, a client wake-up system is provided, the client wake-up system comprising a remote browser, a back-end server, a remote desktop sharing system and a local client, wherein:
[0130] The remote browser is used to load the browser plug-in and modify the extension function corresponding to the network page based on the browser plug-in;
[0131] The back-end server is used to send the wake-up information of the client program to the remote desktop sharing system loaded on the local client based on the modified extension function;
[0132] The remote desktop sharing system is used to wake up the client program based on the wake-up information;
[0133] The local client is used to respond to the wake-up information of the remote desktop sharing system and execute the wake-up action of the client program according to the wake-up information.
[0134] In one embodiment, the client wake-up system further includes a proxy client and a proxy server, wherein:
[0135] The proxy client is used to proxy the isolated environment service traffic of the local client and forward the isolated environment service traffic to the proxy server of the gateway layer;
[0136] The proxy server is used to access the target server based on the isolated environment service traffic, obtain the response information of the target server, and forward the response information to the proxy client, so that the proxy client forwards the response information to the local client.
[0137] 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 6 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 an 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 client wake-up 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.
[0138] Those skilled in the art will understand that Figure 6 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.
[0139] 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:
[0140] Step 1: Load the browser plug-in;
[0141] Step 2: modify the extension function corresponding to the network page to be accessed by the local client based on the browser plug-in;
[0142] Step 3: Based on the modified extension function, the back-end server sends the wake-up information of the client program to the remote desktop sharing system loaded on the local client;
[0143] Step 4: Wake up the client program based on the wake-up information through the remote desktop sharing system.
[0144] 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:
[0145] Step 1: Load the browser plug-in;
[0146] Step 2: modify the extension function corresponding to the network page to be accessed by the local client based on the browser plug-in;
[0147] Step 3: Based on the modified extension function, the back-end server sends the wake-up information of the client program to the remote desktop sharing system loaded on the local client;
[0148] Step 4: Wake up the client program based on the wake-up information through the remote desktop sharing system.
[0149] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0150] Step 1: Load the browser plug-in;
[0151] Step 2: modify the extension function corresponding to the network page to be accessed by the local client based on the browser plug-in;
[0152] Step 3: Based on the modified extension function, the back-end server sends the wake-up information of the client program to the remote desktop sharing system loaded on the local client;
[0153] Step 4: Wake up the client program based on the wake-up information through the remote desktop sharing system.
[0154] 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.
[0155] 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 vector 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.
[0156] 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.
[0157] 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 client wake-up method, the client wake-up method is applied to a remote browser, characterized in that: The client wake-up method comprises: Load the browser plugin; Modify the extension function corresponding to the network page to be accessed by the local client based on the browser plug-in; Based on the modified extension function, the back-end server is used to send the wake-up information of the client program to the remote desktop sharing system loaded on the local client; The client program is awakened based on the awakening information through the remote desktop sharing system.
2. The method according to claim 1, characterized in that Modifying the extension function corresponding to the network page to be accessed by the local client based on the browser plug-in includes: Open the network page to be accessed by the local client and request the page site corresponding to the network page; Obtaining the site content returned by the web page, parsing the site content, and loading the web page according to the parsing result; When the browser plug-in detects the loading event of the network page, the script information corresponding to the browser plug-in is injected into the network page, and the target node element characteristics of the network page are modified, thereby modifying the extension function corresponding to the network page.
3. The method according to claim 2, characterized in that Open the network page to be accessed by the local client, including: Obtaining target page opening information sent by the local client, and sending the target page opening information to the back-end server through the remote desktop sharing system loaded by the local client; The target page opening information is sent to the browser plug-in through the back-end server, so as to open the network page to be accessed by the local client based on the browser plug-in.
4. The method according to claim 2, characterized in that: Acquiring the site content returned by the network page, parsing the site content, and loading the network page according to the parsing result, further comprising: Pushing the window data of the remote browser to the remote desktop sharing system loaded by the local client through the back-end server; The remote desktop sharing system draws the window screen of the remote browser on the local client according to the window data.
5. The method according to claim 1, characterized in that Based on the modified extension function, the backend server sends the wake-up information of the client program to the remote desktop sharing system loaded on the local client, including: The remote desktop sharing system obtains the operation information of the local client based on the back-end server, and applies the operation information to the browser window of the remote browser to trigger the modified extension function; When the operation information triggers the modified extension function, the browser plug-in is triggered and sends wake-up information of the client program to the back-end server; The wake-up information is sent to the remote desktop sharing system loaded by the local client through the back-end server.
6. The method according to claim 1, characterized in that Also includes: When a local client's access request to a target server is detected, the isolated environment service traffic of the local client is accessed through a proxy client, and the isolated environment service traffic is forwarded to a proxy server at the gateway layer; Accessing the target server based on the isolated environment service flow through the proxy server, and obtaining response information of the target server; The response information is forwarded to the proxy client through the proxy server, and the response information is forwarded to the local client through the proxy client.
7. A client wake-up system, characterized in that: The client wake-up system includes a remote browser, a back-end server, a remote desktop sharing system and a local client, wherein: The remote browser is used to load the browser plug-in and modify the extension function corresponding to the network page based on the browser plug-in; The back-end server is used to send the wake-up information of the client program to the remote desktop sharing system loaded on the local client based on the modified extension function; The remote desktop sharing system is used to wake up the client program based on the wake-up information; The local client is used to respond to the wake-up information of the remote desktop sharing system and execute the wake-up action of the client program according to the wake-up information.
8. The system according to claim 7, characterized in that The client wake-up system also includes a proxy client and a proxy server, wherein: The proxy client is used to proxy the isolated environment service traffic of the local client and forward the isolated environment service traffic to the proxy server of the gateway layer; The proxy server is used to access the target server based on the isolated environment service traffic, obtain the response information of the target server, and forward the response information to the proxy client, so that the proxy client forwards the response information to the local client.
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 6 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 6 are implemented.