CN115442431A - Redirection method and device for cloud desktop browser, electronic equipment and storage medium - Google Patents

Redirection method and device for cloud desktop browser, electronic equipment and storage medium Download PDF

Info

Publication number
CN115442431A
CN115442431A CN202211064124.7A CN202211064124A CN115442431A CN 115442431 A CN115442431 A CN 115442431A CN 202211064124 A CN202211064124 A CN 202211064124A CN 115442431 A CN115442431 A CN 115442431A
Authority
CN
China
Prior art keywords
browser
cloud
desktop system
operation request
cloud desktop
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211064124.7A
Other languages
Chinese (zh)
Inventor
蔡立宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Original Assignee
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Topsec Technology Co Ltd, Beijing Topsec Network Security Technology Co Ltd, Beijing Topsec Software Co Ltd filed Critical Beijing Topsec Technology Co Ltd
Priority to CN202211064124.7A priority Critical patent/CN115442431A/en
Publication of CN115442431A publication Critical patent/CN115442431A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests

Abstract

The application provides a redirection method and device of a cloud desktop browser, electronic equipment and a storage medium, and relates to the technical field of cloud desktops. According to the method, when a user performs related operation on the browser of the cloud desktop system at the cloud terminal, the cloud desktop system can redirect the operation request of the browser to the cloud terminal, so that the cloud terminal can load page information corresponding to the operation request in the local browser by calling the browser engine arranged at the cloud terminal, the occupation of CPU (central processing unit) resources of the server can be reduced, the burden of the server is effectively reduced, the page information is loaded at the local browser of the cloud terminal, the smoothness of page information loading can be improved, the problem of slow page loading caused by network transmission is avoided, and the user experience is improved.

Description

Redirection method and device for cloud desktop browser, electronic equipment and storage medium
Technical Field
The application relates to the technical field of cloud desktops, in particular to a method and a device for redirecting a cloud desktop browser, electronic equipment and a storage medium.
Background
In recent years, cloud desktops are increasingly used domestically with advantages of data security, efficient maintenance and the like, the cloud desktops push desktops of service terminals to client terminals through access protocols, and videos are an important part of desktop contents. At present, a video processing mode of a cloud desktop is generally that the video is decoded at a server side, compressed and transmitted to a client side, and then the video is played by the client side in a decompression mode. However, the method needs to occupy considerable CPU resources of the server, which causes insufficient CPU resources of the server, thereby causing huge burden to the server; moreover, the video transmitted by the server to the client needs to occupy a very high bandwidth, so that the network becomes a bottleneck, which causes a reduction in user experience, for example, a video playing effect is lost or is blocked, and a desktop use reaction is slow when a webpage browses a large number of pictures.
Disclosure of Invention
An embodiment of the present application aims to provide a redirection method and apparatus for a cloud desktop browser, an electronic device, and a storage medium, so as to solve the problems that in the prior art, a manner that a server transmits a video to a client for playing causes a large CPU consumption of the server and a low user experience.
In a first aspect, an embodiment of the present application provides a redirection method for a cloud desktop browser, which is applied to a cloud terminal, and the method includes:
receiving an operation request redirected by a cloud desktop system of a server side, wherein the operation request is an operation request of a user on a browser of the cloud desktop system from a cloud terminal;
and responding to the operation request, and loading page information corresponding to the operation request in a local browser of the cloud terminal by calling a browser engine arranged in the cloud terminal.
In the implementation process, when a user performs related operations on a browser of the cloud desktop system at the cloud terminal, the cloud desktop system can redirect an operation request of the browser to the cloud terminal, so that the cloud terminal can load page information corresponding to the operation request in a local browser by calling a browser engine arranged at the cloud terminal, thereby reducing occupation of CPU resources of a server and effectively reducing the burden of the server.
Optionally, the receiving an operation request redirected by the cloud desktop system of the server includes:
acquiring a redirection strategy of the cloud desktop system from a desktop cloud management center of the server, wherein the redirection strategy comprises whether browser redirection of the cloud desktop system is allowed or not;
and when the redirection strategy is to allow the browser of the cloud desktop system to be redirected, receiving an operation request for redirection of the cloud desktop system of the server.
In the implementation process, the corresponding redirection strategy is set for each cloud desktop system, so that each cloud desktop system can flexibly select whether to perform redirection operation according to the set redirection strategy.
Optionally, the redirection policy further includes a number of browser windows allowed to be displayed, and the loading, in the local browser of the cloud terminal, page information corresponding to the operation request includes:
receiving the number of browser windows redirected by the cloud desktop system;
and loading page information of the operation request corresponding to each browser window in a local browser of the cloud terminal according to the number of the redirected browser windows.
In the implementation process, the redirection strategy is set to further include the number of browser windows allowing redirection, so that the operation requests of the corresponding number of browser windows can be selected to be redirected, and not all browser windows are necessarily redirected, so that the burden of a server can be reduced on one hand, and the burden of a cloud terminal can also be reduced.
Optionally, the loading, in the local browser of the cloud terminal, page information of the operation request corresponding to each browser window according to the redirected number of the browser windows includes:
receiving the positions and sizes of the corresponding number of browser windows redirected by the cloud desktop system;
and loading page information of the operation request corresponding to each browser window in a local browser of the cloud terminal according to the position and the size of each browser window.
In the implementation process, the redirection is performed according to the position and the size of each browser window, so that the picture seen by the user in the local browser of the cloud terminal is consistent with the picture seen in the browser of the cloud desktop system, and the user experience is better.
Optionally, when the redirection policy is determined to allow redirection of the browser of the cloud desktop system, the cloud desktop system updates the state of the browser of the cloud desktop system from a silent state to a to-be-invoked state, and when detecting that a user inputs an operation request for the browser of the cloud desktop system at the cloud terminal, the cloud desktop system updates the state of the browser of the cloud desktop system from the to-be-invoked state to a working state.
In the implementation process, when the browser of the cloud desktop system needs to be redirected, the browser is changed from the silent state to the state to be called, so that when a user operates the browser, the browser can quickly realize response and complete the redirection function.
Optionally, the browser engine is a QtWebengine-based browser engine. The browser engine can be used for starting a local browser of the cloud terminal, and further functions of video playing, web page browsing and the like are achieved.
Optionally, the operation request includes at least one of a video playing request, a web browsing request, and a file browsing request. The method can complete the redirection of operations such as video playing, web browsing, file browsing and the like.
In a second aspect, an embodiment of the present application provides a redirection apparatus for a cloud desktop browser, which operates in a cloud terminal, and includes:
the request receiving module is used for receiving an operation request redirected by a cloud desktop system of a server side, wherein the operation request is an operation request of a user on a browser of the cloud desktop system at a cloud terminal;
and the request response module is used for responding to the operation request, and loading the page information corresponding to the operation request in a local browser of the cloud terminal by calling a browser engine arranged in the cloud terminal.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method as provided in the first aspect are executed.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, performs the steps in the method as provided in the first aspect above.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a flowchart of a redirection method for a cloud desktop browser according to an embodiment of the present application;
fig. 2 is a schematic view of a process of performing redirection by a cloud desktop system according to an embodiment of the present application;
fig. 3 is a schematic diagram of a state switching process of a browser of a cloud desktop system according to an embodiment of the present application;
fig. 4 is a block diagram of a structure of a redirection device of a cloud desktop browser according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device for executing a redirection method of a cloud desktop browser according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be noted that the terms "system" and "network" in the embodiments of the present invention may be used interchangeably. The "plurality" means two or more, and in view of this, the "plurality" may also be understood as "at least two" in the embodiments of the present invention. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" generally indicates that the preceding and succeeding related objects are in an "or" relationship, unless otherwise specified.
According to the method, when a user performs related operation on a browser of a cloud desktop system at a cloud terminal, the cloud desktop system can redirect an operation request of the browser to the cloud terminal, so that the cloud terminal can load page information corresponding to the operation request in a local browser by calling a browser engine arranged at the cloud terminal, occupation of CPU (central processing unit) resources of a server can be reduced, burden of the server is effectively reduced, loading of the page information is performed at the local browser of the cloud terminal, smoothness of page information loading can be improved, the problem of slow page loading caused by network transmission is avoided, and user experience is improved.
Referring to fig. 1, fig. 1 is a flowchart of a redirection method for a cloud desktop browser according to an embodiment of the present application, where the method includes the following steps:
step S110: and receiving an operation request redirected by the cloud desktop system of the server.
The operation request is an operation request of a user on a cloud terminal to a browser of the cloud desktop system. For example, when a user wants to use a related function of a cloud desktop, the user can log in the cloud desktop on the cloud terminal, the cloud desktop is managed by a corresponding cloud desktop system, the cloud desktop system is deployed at the server, and the user can perform related operations on the cloud desktop on the cloud terminal, such as opening a browser to play a video, accessing a webpage, browsing a file, and the like, which can be implemented by the cloud desktop system of the server. Under the condition of no redirection, if a user opens a browser on a cloud desktop of a cloud terminal to play a video, a cloud desktop system can acquire a video of a server and send the video to the cloud terminal to play, at this time, resources of the server are consumed, and operations such as video playing and web browsing need to consume a large amount of CPU resources of the server, so that in order to avoid the problem, an operation request of the browser of the cloud desktop system is redirected to the cloud terminal.
After a user logs in the cloud desktop system on the cloud terminal, the user can directly access relevant resources of the cloud desktop system on the cloud terminal, for example, the user opens a browser on the cloud terminal, the browser accessed at this time is the browser of the cloud desktop system, if the user wants to use the browser to play videos, the cloud desktop system can obtain an operation request of the user for playing videos by using the browser, at this time, the cloud desktop system intercepts the operation request, namely, the operation request is not responded, but is redirected to the cloud terminal, and the cloud terminal can receive the operation request redirected by the cloud desktop system.
In some embodiments, the operation request may include at least one of a video playing request, a web browsing request, and a file browsing request, so that the present application may redirect video playing, web browsing, file browsing, and the like, so as to reduce resource consumption of the server to the maximum.
Step S120: and responding to the operation request, and loading page information corresponding to the operation request in a local browser of the cloud terminal by calling a browser engine arranged in the cloud terminal.
After receiving the operation request redirected by the cloud desktop system, the cloud terminal responds to the operation request, can call a built-in browser engine, and loads page information corresponding to the operation request in a local browser of the cloud terminal through the browser engine.
The cloud terminal is internally provided with the browser engine, so that the cloud terminal can utilize a local browser of the cloud terminal to achieve functions of video playing, web browsing or file browsing, and at the moment, CPU resources consumed by the cloud terminal for playing videos, web browsing or file browsing through the local browser are CPU resources of the cloud terminal and are not CPU resources of the server, so that not only can resources such as a CPU (central processing unit) or a network used by a browser of the cloud desktop system be unloaded from the server, but also the resources of the cloud terminal can be directly used, the problem that in the process of transmitting videos, web pages or files and the like to the cloud terminal from the server, page information loading is not smooth due to network congestion can be avoided, and user experience is further improved.
In some embodiments, a browser engine built in the cloud terminal in the embodiment of the present application may be a browser engine based on QtWebengine. The browser engine can receive an operation request of a user to the browser, and the browser can be used for surfing the internet through the browser engine, wherein the operation request comprises information website access, video website access and the like. Certainly, in actual application, other browser engines may also be used, as long as the browser engine can drive the local browser of the cloud terminal to load the page information corresponding to the operation request.
In the implementation process, when a user performs related operation on a browser of the cloud desktop system at the cloud terminal, the cloud desktop system can redirect an operation request of the browser to the cloud terminal, so that the cloud terminal can load page information corresponding to the operation request in a local browser by calling a browser engine arranged at the cloud terminal, thereby reducing the occupation of CPU resources of a server and effectively reducing the burden of the server.
Moreover, the redirection mode of the application is realized without arranging a browser plug-in a browser of the cloud desktop system, so that the design cost and the use complexity of a user are reduced, the problem that some browsers do not support the built-in browser plug-in can be avoided, and the redirection mode can be compatible with the redirection of various browsers.
On the basis of the embodiment, when a user logs in the cloud desktop system at the cloud terminal, the cloud terminal may first obtain a redirection policy of the cloud desktop system from a desktop cloud management center of the server, where the redirection policy includes whether to operate browser redirection of the cloud desktop system, and when the redirection policy is to allow browser redirection of the cloud desktop system, the cloud desktop system may redirect the operation request after detecting the operation request of the user to the browser, so that the cloud terminal may receive the operation request redirected by the cloud desktop system.
For example, before a user logs in a cloud desktop system, a cloud terminal can acquire desktop cloud list information from a desktop cloud management center through cloud desktop terminal access software arranged on the cloud terminal, the desktop cloud list information includes addresses of remote connection access of various cloud desktop systems, the addresses serve as channels for the cloud terminal to remotely access the cloud desktop system, and the user can select the addresses to establish TCP connection with the cloud desktop system according to the needs of the user so as to log in the cloud desktop system corresponding to the addresses. After the connection is established, the cloud terminal can remotely access the cloud desktop system, so that a user can use related functions of the cloud desktop system like using a local computer.
The cloud terminal can acquire a corresponding address from the desktop cloud management center to log in the cloud desktop system, and then acquire a corresponding redirection strategy from the desktop cloud management center, because the desktop cloud management center can store different corresponding relations between user account information and the redirection strategy, if the user logs in the cloud desktop system, the desktop cloud management center can search the redirection strategy corresponding to the cloud desktop system according to the account information of the user logging in the cloud desktop system, and then send the searched redirection strategy to the cloud terminal, so that the cloud terminal can acquire the redirection strategy of the cloud desktop system connected with the cloud terminal.
Because the user logs in the cloud desktop system on the cloud terminal, after the cloud terminal obtains the redirection strategy of the cloud desktop system, the cloud desktop system can know whether the browser redirection is allowed or not, and further can determine whether the operation request of the browser is redirected or not subsequently.
For example, if the redirection policy does not allow the browser to be redirected, when the cloud terminal performs a relevant operation on the browser of the cloud desktop system by the user, the cloud desktop system may obtain the resources of the server and then return the resources to the cloud terminal for display, in which case the resources of the server are consumed. If the redirection strategy is to allow the browser to be redirected, when the cloud terminal performs related operations on the browser of the cloud desktop system, the cloud desktop system can intercept the operation request, namely redirect the operation request to the cloud terminal, that is, the server does not respond to the operation request, but the cloud terminal calls a browser engine, so that a local browser of the cloud terminal responds to the operation request, and the load generated by the browser is unloaded from the server to the terminal, so that the consumed resources are local CPU resources of the cloud terminal, but not resources of the server, and the load of the server can be effectively reduced.
In the implementation process, the corresponding redirection strategy is set for each cloud desktop system, so that each cloud desktop system can flexibly select whether to perform redirection operation according to the set redirection strategy.
On the basis of the above embodiment, the redirection policy may further include the number of browser windows allowed to be displayed, and when the cloud terminal displays the page information, the number of browser windows redirected by the cloud desktop system may be received, and the page information of the operation request corresponding to each browser window is loaded in the local browser of the cloud terminal according to the number of redirected browser windows.
For example, a user has a video for opening 4 browser windows in an operation request for a browser of the cloud desktop system, and the number of the browser windows allowed to be displayed in the redirection policy is 3, at this time, when the cloud desktop system is redirected, only 3 browser windows among the browser windows can be redirected, a video for opening 3 windows in a local browser of the cloud terminal can be opened after redirection, and for the remaining 1 browser window, redirection may not be performed, the remaining 1 browser window can be returned to the cloud terminal for display after being responded by the browser of the cloud desktop system, and the redirected 3 browser windows are displayed after being responded by the cloud terminal itself, which is equivalent to that only 1 browser window utilizes resources of the server, and the remaining 3 browser windows utilize resources of the cloud terminal, which can effectively reduce the load of the server and the load of the cloud terminal to a certain extent. Certainly, for the remaining 1 browser window, the server may not respond, and the cloud terminal does not respond locally, which is equivalent to discarding the page information of the browser window, and for the user, the user can only see the page information of 3 browser windows, while the user cannot see the page information of the remaining 1 browser window.
Or, the cloud desktop system may redirect all the browser windows, and the cloud terminal may select a corresponding number of browser windows to render according to the number of browser windows allowed to be displayed in the redirection policy, for example, if the user operates 4 browser windows and the number of browser windows allowed to be displayed is 3, the cloud terminal may select the first 3 browser windows operated by the user first to render and display.
It can be understood that, in practical applications, the number of browser windows allowed to be displayed in the redirection policy may be flexibly set according to actual requirements, so as to meet browsing requirements of users as much as possible.
In the implementation process, the redirection strategy is set to further include the number of browser windows allowing redirection, so that the operation requests of the corresponding number of browser windows can be selected to be redirected, and not all browser windows are necessarily redirected, so that the burden of a server can be reduced on one hand, and the burden of a cloud terminal can also be reduced.
On the basis of the embodiment, when a user opens a browser of the cloud desktop system at the cloud terminal and inputs a related operation request, a browser redirection driver is arranged in the cloud desktop system, the browser redirection driver can automatically capture the operation request input by the user and simultaneously capture the number of windows of the browser and the display position and size of the browser interface, then if redirection is needed, the browser redirection driver blocks establishment of connection (namely response of the operation request) and rendering of the window interface, sends the operation request and the position and size of each browser window to a window driver program of cloud desktop terminal access software in the cloud terminal, and the window driver receives the redirected operation request and the position and size of each browser window of which the corresponding number is redirected by the cloud desktop system, displays each browser window according to the operation request and the position and size of each browser window, and displays page information corresponding to the operation request in each browser window.
The cloud terminal is provided with a desktop display module and a window driver, when the browser window is rendered, the desktop display module on the cloud terminal can call a built-in browser engine according to information provided by the window driver, drawing and area rendering with corresponding sizes are carried out on a display interface, and when a user moves the browser window in the cloud desktop system, the process can be repeated, namely, a browser redirection driver of the cloud desktop system captures the position and size of the browser window in real time and redirects the browser window to the cloud terminal, so that the position and size of the browser window displayed on the cloud terminal can be changed accordingly and the browser window is rendered again, and all functions of browser redirection are further completed.
The process of redirecting the operation request of the browser by the cloud desktop system may be as shown in fig. 2, first, (1) the cloud terminal may obtain an address connecting the cloud desktop system and a redirection policy of the cloud desktop system from the desktop cloud management center through the cloud desktop terminal access software, (2) then the desktop display module on the cloud terminal establishes a TCP connection with the cloud desktop system according to the address, and after the cloud desktop system is connected, the browser of the cloud desktop system may be opened on the cloud terminal to perform a relevant operation, such as video playing, web browsing, and the like, (3) the browser redirection driver of the cloud desktop system may capture an operation request input by a user, including a position and a size of a browser window, (4) then send the operation request, the position and the size of the browser window, and other information to the window driver of the cloud terminal, and (5) the window driver invokes a browser engine built in the cloud terminal, so as to implement a response to the operation request in the local browser, and perform interface rendering in the local browser according to the position and the size of the browser window.
In the implementation process, the redirection is performed according to the position and the size of each browser window, so that the picture seen by the user in the local browser of the cloud terminal is consistent with the picture seen in the browser of the cloud desktop system, and the user experience is better.
On the basis of the above embodiment, the browser in the cloud desktop system only receives the operation request input by the user, but does not perform any processing and response, if the redirection policy of the cloud desktop system does not allow the browser to be redirected, the browser of the cloud desktop system is in a silent state and cannot be invoked, but if the redirection policy of the cloud desktop system determines that the redirection policy allows the browser of the cloud desktop system to be redirected, the cloud desktop system updates the state of the browser of the cloud desktop system from the silent state to a to-be-invoked state, and when the cloud desktop system detects that the user inputs the operation request for the browser of the cloud desktop system at the cloud terminal, the state of the browser of the cloud desktop system is updated from the to-be-invoked state to a working state.
For example, after the user logs in the cloud desktop system, when the cloud desktop system detects that the redirection policy of the user is to allow redirection of the browser, the state of the browser is converted from the silent state to a state to be called, and of course, if the redirection policy is not to allow redirection of the browser, the state of the browser is still in the silent state, and is not updated. When a user opens a browser of the cloud desktop system at the cloud terminal and inputs a corresponding operation request, the browser enters a working state, and at the moment, redirection and other operations are performed according to the operation request input by the user. When the user closes the browser, the browser automatically enters a state to be called, the user can directly enter a working state by inputting an operation request after opening the browser again, and therefore quick response of the browser can be achieved, and user experience is better. And after the user exits the cloud desktop system, the state of the browser can enter a silent state.
Therefore, the method can redirect all operations of the browser of the cloud desktop system, including video playing, image-text website browsing, PDF file browsing and the like, in a browser redirection mode under the cloud desktop environment, not only can reduce the load of a server during video playing, but also can ensure that resources used by all operations (browsing the image website and the like) of the browser occupy resources of the cloud terminal.
The browser is overhead in the cloud desktop system, when a user opens the browser of the cloud desktop system at the cloud terminal, all operations of the browser are forbidden through the browser redirection driving program, the browser embedded in the cloud terminal of the browser engine based on Qtweengine is informed to the cloud terminal, and the corresponding display desktop area is covered, a browser plug-in is not required to be installed in the cloud desktop system for redirection, the operation request for the browser is redirected to the cloud terminal in the mode of overhead of the browser of the cloud desktop system, the browser function in the cloud desktop system is actually castrated off, and the local browser is opened at the cloud terminal for relevant operation through the scheme, so that resources of a server end are not required to be consumed, and the load of the server end is reduced.
Referring to fig. 4, fig. 4 is a block diagram of a redirection apparatus 200 of a cloud desktop browser according to an embodiment of the present disclosure, where the apparatus 200 may be a module, a program segment, or a code on an electronic device (such as the cloud terminal). It should be understood that the apparatus 200 corresponds to the above-mentioned embodiment of the method of fig. 1, and can perform various steps related to the embodiment of the method of fig. 1, and the specific functions of the apparatus 200 can be referred to the above description, and the detailed description is appropriately omitted here to avoid redundancy.
Optionally, the apparatus 200 comprises:
the request receiving module 210 is configured to receive an operation request redirected by a cloud desktop system of a server, where the operation request is an operation request of a user on a browser of the cloud desktop system at a cloud terminal;
a request response module 220, configured to respond to the operation request, and load page information corresponding to the operation request in a local browser of the cloud terminal by invoking a browser engine set in the cloud terminal.
Optionally, the request receiving module 210 is configured to obtain, from a desktop cloud management center of the server, a redirection policy of the cloud desktop system, where the redirection policy includes whether to allow browser redirection of the cloud desktop system; and when the redirection strategy is to allow the browser of the cloud desktop system to be redirected, receiving an operation request for redirection of the cloud desktop system of the server.
Optionally, the redirection policy further includes the number of browser windows allowed to be displayed, and the request response module 220 is configured to receive the number of browser windows redirected by the cloud desktop system; and loading page information of the operation request corresponding to each browser window in a local browser of the cloud terminal according to the number of the redirected browser windows.
Optionally, the request response module 220 is configured to receive the positions and sizes of the corresponding number of browser windows redirected by the cloud desktop system; and loading the page information of the operation request corresponding to each browser window in a local browser of the cloud terminal according to the position and the size of each browser window.
Optionally, when determining that the redirection policy is to allow redirection of the browser of the cloud desktop system, the cloud desktop system updates the state of the browser of the cloud desktop system from a silent state to a to-be-invoked state, and when detecting that a user inputs an operation request for the browser of the cloud desktop system at the cloud terminal, the cloud desktop system updates the state of the browser of the cloud desktop system from the to-be-invoked state to a working state.
Optionally, the browser engine is a QtWebengine-based browser engine.
Optionally, the operation request includes at least one of a video playing request, a web browsing request, and a file browsing request.
It should be noted that, for the convenience and brevity of description, the specific working procedure of the above-described apparatus may refer to the corresponding procedure in the foregoing method embodiment, and the description is not repeated herein.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device for executing a redirection method of a cloud desktop browser according to an embodiment of the present application, where the electronic device may include: at least one processor 310, such as a CPU, at least one communication interface 320, at least one memory 330, and at least one communication bus 340. Wherein the communication bus 340 is used for realizing direct connection communication of these components. The communication interface 320 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. The memory 330 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 330 may optionally be at least one memory device located remotely from the aforementioned processor. The memory 330 stores computer readable instructions, which when executed by the processor 310, cause the electronic device to perform the method processes described above with reference to fig. 1.
It will be appreciated that the configuration shown in fig. 5 is merely illustrative and that the electronic device may include more or fewer components than shown in fig. 5 or may have a different configuration than shown in fig. 5. The components shown in fig. 5 may be implemented in hardware, software, or a combination thereof.
Embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the method processes performed by an electronic device in the method embodiment shown in fig. 1.
The present embodiments disclose a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the methods provided by the above-described method embodiments, for example, comprising:
receiving an operation request redirected by a cloud desktop system of a server side, wherein the operation request is an operation request of a user on a browser of the cloud desktop system from a cloud terminal;
and responding to the operation request, and loading page information corresponding to the operation request in a local browser of the cloud terminal by calling a browser engine arranged in the cloud terminal.
To sum up, in the method, when a user performs a relevant operation on a browser of a cloud desktop system at a cloud terminal, the cloud desktop system can redirect an operation request of the browser to the cloud terminal, so that the cloud terminal can load page information corresponding to the operation request in a local browser by calling a browser engine set by the cloud terminal, thereby reducing occupation of CPU resources of a server and effectively reducing burden of the server.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the units into only one type of logical function may be implemented in other ways, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some communication interfaces, indirect coupling or communication connection between devices or units, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made to the present application by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A redirection method of a cloud desktop browser is applied to a cloud terminal, and comprises the following steps:
receiving an operation request redirected by a cloud desktop system of a server side, wherein the operation request is an operation request of a user on a browser of the cloud desktop system from a cloud terminal;
responding to the operation request, and loading page information corresponding to the operation request in a local browser of the cloud terminal by calling a browser engine arranged in the cloud terminal.
2. The method according to claim 1, wherein the receiving of the operation request redirected by the cloud desktop system of the server comprises:
acquiring a redirection strategy of the cloud desktop system from a desktop cloud management center of the server, wherein the redirection strategy comprises whether browser redirection of the cloud desktop system is allowed or not;
and when the redirection strategy is to allow the browser of the cloud desktop system to be redirected, receiving an operation request for redirection of the cloud desktop system of the server.
3. The method according to claim 2, wherein the redirection policy further includes a number of browser windows allowed to be displayed, and the loading, in a local browser of the cloud terminal, page information corresponding to the operation request includes:
receiving the number of browser windows redirected by the cloud desktop system;
and loading page information of the operation request corresponding to each browser window in a local browser of the cloud terminal according to the number of the redirected browser windows.
4. The method according to claim 3, wherein the loading, in the local browser of the cloud terminal, page information of the operation request corresponding to each browser window according to the number of the redirected browser windows includes:
receiving the positions and sizes of the corresponding number of browser windows redirected by the cloud desktop system;
and loading page information of the operation request corresponding to each browser window in a local browser of the cloud terminal according to the position and the size of each browser window.
5. The method according to claim 2, wherein the cloud desktop system updates the state of the browser of the cloud desktop system from a silent state to a to-be-invoked state when determining that the redirection policy is to allow the browser of the cloud desktop system to be redirected, and the cloud desktop system updates the state of the browser of the cloud desktop system from the to-be-invoked state to a working state when detecting that a user inputs an operation request for the browser of the cloud desktop system at the cloud terminal.
6. The method of claim 1, wherein the browser engine is a QtWebengine-based browser engine.
7. The method of any of claims 1-6, wherein the operation request comprises at least one of a video playback request, a web browsing request, and a file browsing request.
8. A redirection device of a cloud desktop browser is characterized in that the redirection device runs in a cloud terminal, and the redirection device comprises:
the request receiving module is used for receiving an operation request redirected by a cloud desktop system of a server side, wherein the operation request is an operation request of a user on a browser of the cloud desktop system at a cloud terminal;
and the request response module is used for responding to the operation request, and loading the page information corresponding to the operation request in a local browser of the cloud terminal by calling a browser engine arranged in the cloud terminal.
9. An electronic device comprising a processor and a memory, the memory storing computer readable instructions that, when executed by the processor, perform the method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202211064124.7A 2022-08-31 2022-08-31 Redirection method and device for cloud desktop browser, electronic equipment and storage medium Pending CN115442431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211064124.7A CN115442431A (en) 2022-08-31 2022-08-31 Redirection method and device for cloud desktop browser, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211064124.7A CN115442431A (en) 2022-08-31 2022-08-31 Redirection method and device for cloud desktop browser, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115442431A true CN115442431A (en) 2022-12-06

Family

ID=84245020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211064124.7A Pending CN115442431A (en) 2022-08-31 2022-08-31 Redirection method and device for cloud desktop browser, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115442431A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117294763A (en) * 2023-11-27 2023-12-26 武汉泽塔云科技股份有限公司 Cloud desktop terminal management method for forwarding terminal request information based on proxy service

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117294763A (en) * 2023-11-27 2023-12-26 武汉泽塔云科技股份有限公司 Cloud desktop terminal management method for forwarding terminal request information based on proxy service

Similar Documents

Publication Publication Date Title
US11647096B2 (en) Method and apparatus for automatically optimizing the loading of images in a cloud-based proxy service
CN108628684B (en) DPDK-based message processing method and computer equipment
CN101741986B (en) Page cache method for mobile communication equipment terminal
CA2632676C (en) Message history display system and method
US8799412B2 (en) Remote browsing session management
CA2840416C (en) Remote browsing session management
US9106521B2 (en) Method and system for visualizing an adaptive screen according to a terminal
US7464140B2 (en) Method and system for dynamically determining web resource to be loaded and saving space
KR19980063407A (en) High-availability computer server system
CN111756847B (en) Method and device for supporting https protocol by website
US5828887A (en) Network based program loader system and method of operation
CN104516885A (en) Implementation method and device of browse program double-kernel assembly
CN105487640A (en) Image pre-loading and caching method of Android watch
WO2017059727A1 (en) Self-adaptive data display method, terminal device and server
CN115442431A (en) Redirection method and device for cloud desktop browser, electronic equipment and storage medium
CN111274044B (en) GPU (graphics processing unit) virtualized resource limitation processing method and device
CN101895531A (en) Client equipment, multimedia data unloading system and unloading method
JP2000298634A (en) Information distribution system
CN114217997B (en) Method, system, equipment and storage medium for improving real-time performance of KVM display data
CN114595080A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN107959824A (en) A kind of monitor video processing method, physical server and storage medium
CN114489826A (en) Chip operation method and device, storage medium and electronic equipment
CN111857964A (en) Method and equipment for transmitting data of virtual machine CAN port to physical machine CAN port equipment
CN116599917B (en) Network port determining method, device, equipment and storage medium
CN114461157B (en) IDV client multi-screen divide-and-conquer method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination