A cloud browser system and its implementation method
By introducing user management and rendering management modules into cloud browser application instances, multiple users can share the same application instance, solving the problem of resource waste in cloud browser system, reducing operational costs and improving resource utilization.
Patent Information
- Application Number
- CN202110924719.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-12
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2041-08-12
AI Technical Summary
In existing cloud browser systems, a single operating system or container can only serve one user, resulting in waste of cloud computing resources and increased operating costs, and the resource utilization rate is low when users occupy application instances exclusively.
New user management module and rendering management module are added to cloud browser application instances in the cloud, allowing multiple users to share the same application instance and optimize resource usage by controlling page tags and rendering processes.
It improves the resource usage efficiency of a single operating system or container, reduces operating costs, and ensures users' browsing experience.
Smart Images

Figure CN113703968B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a cloud browser, and more particularly to an application instance in a cloud browser system. Background Art
[0002] A browser is an important application for browsing, displaying, and transmitting Internet information resources. Generally, a browser is directly installed on a terminal device. The user inputs a URI (Uniform Resource Identifier) to obtain Internet resources, parses HTML and CSS, executes JavaScript scripting language, and plays audio and video, etc.
[0003] A cloud browser is a browser that places some computing tasks in the cloud. It deploys functions that are suitable for being placed on a cloud server, such as page layout, script execution, etc., which require relatively high computing power, on the cloud server; and places parts that are suitable for being placed on a terminal device, such as audio and video decoding, on the terminal, and uses the hardware capabilities of the terminal to display page text, pictures, audio and video to the user.
[0004] In existing cloud browser systems, generally, an operating system or a container is separately configured for each browser in the cloud. That is, only one cloud browser application instance is deployed in one operating system or container, and it can only serve a single cloud browser user.
[0005] Since the consumption of cloud computing resources by a single cloud browser is not high, it is different from other cloud applications such as cloud games. In the cloud of cloud games, since large game applications consume relatively high cloud computing resources, in order to ensure the experience of game players, generally, only one cloud game application is deployed in one operating system or container to serve one game player. In the cloud of cloud browsers, the computing resources consumed by a single browser application are much lower than the resources that can be provided by the cloud operating system or container. Therefore, if one operating system or container can only serve one cloud browser user, it will cause waste of cloud computing resources and increase the operating cost of cloud browsers.
[0006] On the other hand, in existing cloud browser systems, a cloud browser application instance is separately allocated to each user, that is, the instance is exclusively used by one user. In fact, the user does not use the cloud browser application instance intensively all the time. Most of the time, the cloud browser application instance is in an idle state or a lightly used state. In this case, the way that a single user exclusively occupies a cloud browser application instance also causes waste of cloud hardware resources and increases the operating cost. Summary of the Invention
[0007] In view of the above-mentioned deficiencies of the prior art, the technical problem to be solved by the present invention is how to develop a cloud browser system that takes into account both operating costs and user experience.
[0008] To achieve the above object, the present invention provides a cloud browser system. By adding a user management module to the cloud browser application instance in the cloud, multiple cloud browser terminal users can be connected to different page tags in the same cloud browser application instance, so that multiple cloud browser users can share the same cloud browser application instance. This increases the number of users that a single operating system or container in the cloud can serve, reducing the operating costs of the cloud browser system. At the same time, by controlling the number of users connected to a single cloud browser application instance and keeping it at the most appropriate level that can be satisfied by the computing resources of the cloud operating system or container, the user experience during browsing is guaranteed.
[0009] The present invention provides a cloud browser system, including a cloud environment and a cloud browser application instance; wherein, the cloud environment includes an environment module, and the environment module is used to provide an operating system or container instance as the environment for running the cloud browser; the cloud browser application instance is used to provide browser services from the cloud.
[0010] Further, the cloud browser application instance includes the following modules:
[0011] A browser process module, and the browser process module is single for each application instance module;
[0012] A user management module, and the user management module is used to manage the users in the application instance module;
[0013] A rendering module, and the rendering module is used to render the page requested by the user and present the rendered page content on the terminal of the user connected to the browser application instance.
[0014] Further, the operating system or container instances are distributed on different hardware devices including the cloud, and their number is created as needed and configured and adjusted in a dynamic or static manner.
[0015] Further, the cloud browser application instance runs in the cloud environment.
[0016] Further, the user management module is created within the browser process.
[0017] Further, the rendering module includes several groups of rendering process groups and several tag page groups, and the tag page group is the corresponding presentation of the Internet content browsed by the user in the cloud browser.
[0018] Further, the rendering process group includes several rendering processes, and the tag page group includes several page tags.
[0019] Furthermore, the rendering processes are set to correspond one by one to the page tags.
[0020] Furthermore, there is no limit on the number of page tags corresponding to a single user.
[0021] Furthermore, a maximum number of page tags that can be opened simultaneously is set for a single user.
[0022] Another preferred embodiment of the present invention provides a method for implementing a cloud browser, including the following steps:
[0023] Provide an operating system or a container instance as the environment for running the cloud browser;
[0024] Create an application instance of the cloud browser in the environment, and the application instance provides browser services from the cloud;
[0025] For each application instance, maintain a single browser process;
[0026] In the application instance, create a user management module for managing the users in the application instance;
[0027] Create page tags for each user within the browser process, where the page tags are the corresponding presentations of the Internet content browsed by the users in the cloud browser;
[0028] Create a rendering module within the browser process. The rendering module renders the pages requested by the users and presents the rendered page content on the terminals of the users connected to the application instance.
[0029] Furthermore, the operating system or the container instance is distributed on different hardware devices including the cloud, and the number thereof is created as needed and configured and adjusted in a dynamic or static manner.
[0030] Furthermore, the cloud browser application instance runs in the cloud environment.
[0031] Furthermore, the rendering module includes several groups of rendering processes and several groups of tag pages, where the tag page groups are the corresponding presentations of the Internet content browsed by the users in the cloud browser.
[0032] Furthermore, the rendering process group includes several rendering processes, and the tag page group includes several page tags.
[0033] Furthermore, the rendering processes are set to correspond one by one to the page tags.
[0034] Furthermore, there is no limit on the number of page tags corresponding to a single user.
[0035] Furthermore, a maximum number of page tags that can be opened simultaneously is set for a single user.
[0036] The cloud browser system designed by the present invention, like the existing cloud browser systems, is divided into a cloud part and a terminal part. The cloud part uses an operating system or a container instance as the environment for running the cloud browser; the terminal part provides an interactive interface for users to use. The improvements made by the present invention are all in the cloud part and do not involve changes to the terminal part.
[0037] The cloud part of the cloud browser of the present invention is divided into a communication module, a routing module, and a browser application instance module. The communication module is used to receive requests from the cloud browser terminal and send rendered content to it. The routing module is used to route the user requests received by the communication module to the correct cloud browser application instance, and the cloud browser application instance is used to process user requests and provide browser services.
[0038] The browser application instance module is further divided into a browser process module, a user management module, and a page tag management module. Among them, the browser process module is used to provide browser service functions; the user management module is used to distribute the user requests coming from the routing module to the page tags corresponding to the user IDs according to the user IDs; the page tag management module is used to determine the number of page tags that each user ID can create.
[0039] A rendering management module is newly added to the browser process module. The rendering management module is responsible for which tag the rendering process should render, and render the tags corresponding to the page tag management module, render the page requested by the user, and present the rendered page content on the terminal of the user connected to the application instance module.
[0040] Adopting the technical solution provided by the present invention, compared with the prior art, it has the following beneficial effects:
[0041] 1) A single operating system or container supports multiple cloud browser application instances. Compared with the existing cloud browsers where only one cloud browser application instance is deployed in a single operating system or container, the resource utilization efficiency of a single operating system or container is improved. It enables an operating system or container to serve multiple cloud browser terminal users, reducing the operation cost.
[0042] 2) Since a user management module and a page tag management module are newly added to the cloud browser application instance module, each user can only use some of the page tags in the instance, and the page tags corresponding to each user do not interfere with each other. Thus, each cloud browser application instance can support multiple terminal users, reducing the consumption of cloud resources by a single user. On the premise of appropriately controlling the number of page tags and the number of users allowed in a single cloud browser application instance, the resource utilization efficiency can be improved while ensuring the user browsing experience, thereby reducing the operation cost.
[0043] 3) A rendering management module is newly added to the cloud browser application instance, enabling a single rendering process to be responsible for rendering multiple page tags. Without reducing the user experience, the number of rendering processes in the cloud browser instance is reduced, thereby reducing the consumption of hardware resources by a single page tag, further improving resource utilization efficiency, and reducing operating costs.
[0044] The concept, specific structure, and technical effects of the present invention will be further described below in conjunction with the accompanying drawings to fully understand the purpose, features, and effects of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a schematic diagram of a cloud browser system in a preferred embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0046] The following describes multiple preferred embodiments of the present invention with reference to the accompanying drawings of the specification to make its technical content clearer and easier to understand. The present invention can be embodied in many different forms of embodiments, and the protection scope of the present invention is not limited to the embodiments mentioned in the text.
[0047] A cloud browser system according to a preferred embodiment of the present invention includes a cloud environment and a cloud browser application instance; wherein, the cloud environment includes an environment module, and the environment module is used to provide an operating system or a container instance as an environment for running the cloud browser; the cloud browser application instance is used to provide browser services from the cloud. The operating system or container instance is distributed on different hardware devices including the cloud, and its quantity is created as needed and configured and adjusted in a dynamic or static manner. The cloud browser application instance runs in the cloud environment.
[0048] Among them, the cloud browser application instance includes the following modules:
[0049] A browser process module, and the browser process module is single for each application instance module;
[0050] A user management module, and the user management module is used to manage users in the application instance module;
[0051] A rendering module, and the rendering module is used to render the page requested by the user and present the rendered page content on the terminal of the user connected to the browser application instance.
[0052] Among them, the user management module is created within the browser process.
[0053] The rendering module includes several groups of rendering process groups and several groups of tab page groups. The tab page groups are the corresponding presentations in the cloud browser of the Internet content browsed by users. The rendering process groups include several rendering processes, and the tab page groups include several page tabs. The rendering processes are set to correspond one by one with the page tabs. There is no limit to the number of page tabs corresponding to a single user. A maximum number of page tabs that can be opened simultaneously is set for a single user.
[0054] As Figure 1 shown, the one marked with serial number 1 is one of the numerous operating systems or container instances in the cloud environment of the cloud browser. Therefore, Figure 1 represents the mth operating system or container. Usually, multiple operating systems or container instances need to be deployed in the cloud environment, and the specific quantity can be configured and adjusted on demand, dynamically, or statically.
[0055] In Figure 1 the mth operating system represented, P cloud browser application instances are deployed. That is, multiple cloud browser application instances can be deployed in one operating system or container. The one marked with serial number 2 is one of the cloud browser application instances.
[0056] In cloud browser application instance 2, there is a browser process module 3 and a user management module. In this embodiment, the user management module is built into the browser process module. Additionally, there is a page tab management module (for simplicity in drawing, the page tab management module is not shown in this figure), and the page tab management module is also built into the browser process module.
[0057] In browser process module 3, there are n groups of rendering process groups and n groups of tab page groups, corresponding to n users respectively. Each group of rendering process groups contains K rendering processes; in each group of tab page groups, there are K page tabs. In this embodiment, for the convenience of expression, it is simply limited that each user can open K page tabs. Generally speaking, as long as the system resources are sufficient, there is no limit to the number of page tabs supported by a single user. A definite maximum number of page tabs that can be opened simultaneously can also be set, or a resource buffer exchange mechanism can be used to achieve a limited number of simultaneously opened page tabs without restricting the opening of page tabs. At the same time, in this embodiment, a scheme of using one rendering process to render one corresponding tab page is adopted. As an option, a scheme of using one rendering process to render multiple tab pages can also be adopted to further improve the resource utilization rate. Similarly, for simplicity, the rendering management module is not shown in this figure.
[0058] The rendering process of cloud browsing (marked with serial number 5 in the figure) is the execution unit for rendering the page requested by the user. The rendered page content is presented through one or more terminal devices owned by the user that are connected to the cloud browser instance. The rendering process can correspond one-to-one with the user page tags (marked with serial number 4 in the figure), thereby improving stability, browsing fluency, etc. It can also have one rendering process corresponding to multiple user page tags to further improve the resource utilization rate.
[0059] Embodiment 2
[0060] This embodiment provides a method for implementing a cloud browser, including the following steps:
[0061] Provide an operating system or container instance as the environment for running the cloud browser;
[0062] Create an application instance of the cloud browser in the environment, and the application instance provides browser services from the cloud.
[0063] For each application instance, maintain a single browser process;
[0064] In the application instance, create a user management module for managing users in the application instance;
[0065] Create page tags for each user within the browser process. The page tag is the corresponding presentation of the Internet content browsed by the user in the cloud browser;
[0066] Create a rendering module within the browser process. The rendering module renders the page requested by the user and presents the rendered page content on the terminal of the user connected to the application instance.
[0067] Furthermore, the operating system or container instance is distributed on different hardware devices including the cloud, and its quantity is created as needed and configured and adjusted in a dynamic or static manner.
[0068] Furthermore, the cloud browser application instance runs in the cloud environment.
[0069] Furthermore, the rendering module includes several groups of rendering process groups and several groups of tag pages. The group of tag pages is the corresponding presentation of the Internet content browsed by the user in the cloud browser.
[0070] Furthermore, the rendering process group includes several rendering processes, and the group of tag pages includes several page tags.
[0071] Furthermore, the rendering process is set to correspond one-to-one with the page tags.
[0072] Furthermore, the number of page tags corresponding to a single user is not limited.
[0073] Further, a maximum number of page tags that can be opened simultaneously is set for a single user.
[0074] The operation process of this embodiment will be specifically described below.
[0075] S1. User i of the cloud browser (assuming there are n users using the cloud browser simultaneously, and here the ith user is used as an example) clicks on a link within the Jth page tag on their cloud browser terminal (assuming the user has opened a certain number of page tags on their terminal, and here the character J specifically refers to one of them), and expects the terminal interface to display the content of the link.
[0076] S2. After the communication module of the cloud browser server receives the instruction from user i of the cloud browser client, through the routing module of the cloud browser server, the instruction is finally transmitted to the Oth cloud browser application instance in the Lth container (in this embodiment, containers are used as the system environment of the cloud server. Since the number of containers is dynamically configured according to demand, that is, as the number of online users increases or decreases, the number of containers increases or decreases correspondingly. Here, it is assumed that when user i uses the cloud browser, the cloud browser server finds that the Lth container is relatively idle and the number of served users is small, so user i is assigned to the Lth container), and the Oth cloud browser application instance is relatively idle and serves fewer users, so this user is assigned to the Oth cloud browser application instance.
[0077] S3. In the Oth cloud browser application instance, the user instruction is further transmitted to the only browser process module in the instance for processing.
[0078] S4. In the browser process module, the user instruction is interpreted, and it is obtained that the user instruction comes from user i, and the page tag serial number is the Jth tag of this user.
[0079] S5. The rendering management module in the browser process module calculates on which page tag to render the content corresponding to the link clicked by the user according to the user number and tag number of the instruction.
[0080] S6. Subsequently, the rendering management module in the browser process assigns a rendering process corresponding to this page tag to render the page.
[0081] S7. Finally, the rendering result is transmitted to the cloud browser terminal where cloud browser user i is located through the communication module and is displayed on the Jth page tag of the terminal.
[0082] The present invention provides an execution method for a cloud browser, including the following steps:
[0083] After the communication module of the cloud browser server in the cloud environment (operating system or container) receives the instruction related to the browsing behavior of the cloud browser end user, it hands the instruction to the routing module.
[0084] The routing module transmits the user instruction to the cloud browser application instance corresponding to the user (one operating system or container can contain one or more cloud browser application instances).
[0085] The user management module in the cloud browser application instance decides, according to the user id information in the instruction, which page tag will be rendered after the instruction is processed. And it hands the instruction and the tag id information together to the browser process module in the instance for processing.
[0086] The browser process module processes the user instruction and renders the processing result on the page tag with the corresponding id.
[0087] Finally, the rendering result is transmitted to the cloud browser terminal via the communication module and presented on the user terminal.
[0088] The above has described in detail the preferred specific embodiments of the present invention. It should be understood that those of ordinary skill in the art can make many modifications and variations according to the concept of the present invention without creative labor. Therefore, all technical solutions that can be obtained by those skilled in the art in the technical field of the present invention based on the concept of the present invention through logical analysis, reasoning or limited experiments on the basis of the prior art should be within the protection scope determined by the claims.
Claims
1. A cloud browser system, characterized in that, It includes a cloud environment and cloud browser application instances; among them, the cloud environment includes an environment module, and the environment module is used to provide an operating system or container instance as the environment for running the cloud browser; the cloud browser application instances are used to provide browser services from the cloud; Among them, the cloud browser application instances include the following modules: A browser process module, and the browser process module is single for each application instance module; A user management module, and the user management module is used to manage the users in the application instance module; A rendering module, and the rendering module is used to render the page requested by the user and present the rendered page content on the terminal of the user connected to the browser application instance; The operating system or container instances are distributed on different hardware devices including the cloud, and their quantity is created as needed and configured and adjusted in a dynamic or static manner; The cloud browser application instances run in the cloud environment; The operation process of the cloud browser system is as follows: S1, Assume that there are a total of n users using the cloud browser at the same time. User i of the cloud browser clicks on a link in the Jth page tab on their cloud browser terminal and expects the terminal interface to display the content of the link; S2, After the communication module of the cloud browser server receives the instruction from user i of the cloud browser client, through the routing module of the cloud browser server, the instruction is finally transmitted to the Oth cloud browser application instance in the Lth container; S3, In the Oth cloud browser application instance, the user instruction is further transmitted to the only browser process module in the instance for processing; S4, In the browser process module, interpret the user instruction and obtain that the user instruction comes from user i, and the page tab serial number is the Jth tab of this user; S5, The rendering management module in the browser process module calculates on which page tab to render the content corresponding to the link clicked by the user according to the user number and tab number of the instruction; S6, Subsequently, the rendering management module in the browser process allocates the rendering process corresponding to the page tab to render the page; S7, Finally, the rendering result is transmitted to the cloud browser terminal where user i of the cloud browser is located through the communication module and is displayed on the Jth page tab of the terminal.
2. The cloud browser system according to claim 1, characterized in that The user management module is created within the browser process.
3. A cloud browser system according to claim 1, characterized in that, The rendering module includes several groups of rendering process groups and several tab page groups, and the tab page groups are the corresponding presentations of the Internet content browsed by the user in the cloud browser.
4. The cloud browser system according to claim 3, wherein, The rendering process groups include several rendering processes, and the tab page groups include several page tabs.
5. A cloud browser system according to claim 4, characterized in that The rendering processes are set to correspond one by one to the page tabs.
6. The cloud browser system according to claim 5, wherein There is no limit to the number of page tabs corresponding to a single user.
7. The cloud browser system according to claim 6, characterized in that, A maximum number of page tabs that can be opened simultaneously is set for a single user.
8. A method for implementing a cloud browser, characterized in that, It includes the following steps: Provide an operating system or container instance as the environment for running the cloud browser; Create the application instances of the cloud browser in the environment, and the application instances provide browser services from the cloud; For each of the described application instances, a single browser process is maintained; In the described application instance, a user management module is created to manage the users in the application instance; Page tags are created for each user within the browser process, and the page tags are the corresponding presentations in the cloud browser of the Internet content browsed by the user; A rendering module is created within the browser process, and the rendering module renders the page requested by the user and presents the rendered page content on the terminal of the user connected to the application instance; The specific operation process is as follows. S1. Assume that there are a total of n users using the cloud browser simultaneously. User i of the cloud browser clicks on a link within the Jth page tag on their cloud browser terminal and expects the terminal interface to display the content of the link; S2. After the communication module of the cloud browser server receives the instruction from user i of the cloud browser client, via the routing module of the cloud browser server, the instruction is finally transmitted to the Oth cloud browser application instance in the Lth container; S3. In the Oth cloud browser application instance, the user instruction is further transmitted to the only browser process module in the instance for processing; S4. In the browser process module, the user instruction is interpreted, and it is obtained that the user instruction comes from user i, and the page tag serial number is the Jth tag of this user; S5. The rendering management module in the browser process module calculates on which page tag to render the content corresponding to the link clicked by the user according to the user number and tag number of the instruction; S6. Subsequently, the rendering management module in the browser process allocates the rendering process corresponding to the page tag to render the page; S7. Finally, the rendering result is transmitted to the cloud browser terminal where user i of the cloud browser is located via the communication module and is displayed on the Jth page tag of the terminal.
9. The implementation method of a cloud browser according to claim 8, characterized in that, The described operating system or container instances are distributed on different hardware devices including the cloud, and their number is created as needed and configured and adjusted in a dynamic or static manner.
10. The implementation method of a cloud browser according to claim 8, characterized in that, The cloud browser application instance runs in the described cloud environment.
11. The implementation method of a cloud browser according to claim 8, characterized in that, The rendering module includes several groups of rendering process groups and several tag page groups, and the tag page groups are the corresponding presentations in the cloud browser of the Internet content browsed by the user.
12. The implementation method of a cloud browser according to claim 11, characterized in that, The rendering process group includes several rendering processes, and the tag page group includes several page tags.
13. The implementation method of a cloud browser according to claim 12, characterized in that, The rendering processes are set to correspond one-to-one with the page tags.
14. The implementation method of a cloud browser according to claim 13, characterized in that, There is no limit to the number of page tags corresponding to a single user.
15. The implementation method of a cloud browser according to claim 14, characterized in that, A maximum number of page tags that can be opened simultaneously is set for a single user.
Citation Information
Patent Citations
Browser architecture based on cloud computing and analysis method
CN104063407A
Process information writing method and user device
CN105677456A