A method and system for cross-resource pool and cross-tenant concurrent desktop pool
Patent Information
- Application Number
- CN202311703011.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-12
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2043-12-12
AI Technical Summary
[0004]但是,目前大多数云商提供的并发桌面池功能都是单资源池单租户的;对于大型企业集团而言,不同子公司可能使用不同的资源池的云桌面服务,并且租户也都不一样,甚至一个子公司可能同时使用多个租户,母公司想统一管理和整合所有轮班制员工使用云桌面的计算资源比较困难;
[0042]1.跨资源池跨租户并发桌面池打破了租户维度和资源池维度的隔离,给客户使用并发桌面池提供更多选择;对于大型企业集团来说,允许母公司综合整个集团实际使用情况全盘调控并发桌面所需要计算资源,以减少集团整体生产成本。
Smart Images

Figure CN117891540B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of cloud desktop technology, and more specifically, to a method and system for cross-resource pool and cross-tenant concurrent desktop pools. Background Technology
[0002] Cloud desktops refer to a service that uses cloud computing technology and transmission protocols to place computing and storage in the cloud, providing virtual desktops. They are generally ordered as individual desktops. Desktop pools refer to a group of multiple cloud desktops of the same specifications. Typically, tenants first create a desktop specification configuration template in the desktop pool, and then create a certain number of desktops of the same specifications as needed. Concurrent desktop pools, on the other hand, allow only a portion of desktops to be online at the same time. They are divided into two types: based on concurrency ratio and based on the number of concurrent desktops. The computing resources required to order a concurrent desktop pool are only the computing resources needed for the maximum number of desktops online at the same time.
[0003] Concurrent desktop pools are suitable for shift-based users, reducing the consumption of cloud desktop computing resources and thus reducing the cost of using cloud desktop services for that tenant. For enterprises, due to factors such as staff turnover, it is impossible to accurately predict the number of cloud desktops used, so they generally choose to use desktop concurrency pools based on concurrency ratios. Enterprise tenants create concurrent desktop pools of appropriate specifications and a certain number of concurrent desktops according to their actual needs, and set an appropriate concurrency ratio based on these employee shift schedules, which is the maximum allowed number of desktops online at the same time. This ratio is generally not set too conservatively, with a certain redundancy to prevent unforeseen circumstances. However, in reality, in large enterprises, not every subsidiary will experience unforeseen circumstances at the same time. Therefore, the redundant desktops of each subsidiary can be shared with other subsidiaries for daily use. This means that the computing resources of these desktops will not be wasted in daily use, and from the perspective of the entire group, production costs are reduced.
[0004] However, most cloud providers currently offer concurrent desktop pool functionality that is single-resource-pool and single-tenant. For large enterprise groups, different subsidiaries may use different resource pools of cloud desktop services, and the tenants may also be different. In some cases, a subsidiary may use multiple tenants at the same time, making it difficult for the parent company to uniformly manage and integrate the computing resources of all shift-based employees using cloud desktops.
[0005] In view of this, the present invention proposes a method and system for cross-resource pool and cross-tenant concurrent desktop pool to solve the above problems. Summary of the Invention
[0006] To overcome the aforementioned deficiencies of the prior art and to achieve the above objectives, the present invention provides the following technical solution: a method for cross-resource pool and cross-tenant concurrent desktop pools, comprising:
[0007] Create a database containing a shared concurrency ratio table, a tenant group relationship table, and a shared concurrency ratio allocation table;
[0008] The source tenant invites the tenant to join the tenant group to which the source tenant belongs. After joining, the tenant becomes a sub-tenant and is managed by the source tenant.
[0009] The source tenant manages the shared concurrency ratio and allocates the shared concurrency ratio to sub-tenants;
[0010] Subtenants create cross-resource pools and cross-tenant concurrent desktop pools;
[0011] Subtenant login allows for concurrent desktop access across resource pools and tenants.
[0012] Furthermore, the shared concurrency ratio table contains the shared concurrency ratio and the source tenant information that created it; the tenant group relationship table includes the relationship between the source tenant and the sub-tenant; the shared concurrency ratio allocation table contains the association between the shared concurrency ratio and the sub-tenant, as well as the guaranteed concurrency ratio set by the source tenant; the guaranteed concurrency ratio is the concurrency ratio that the sub-tenant does not share.
[0013] Furthermore, the source tenant manages sub-tenants, including viewing initiated invitations, sending invitations, viewing sub-tenants, and removing sub-tenants; while sub-tenants can only perform three operations: viewing invitations, accepting invitations, and viewing the source tenant.
[0014] Furthermore, the source tenant manages the shared concurrency ratio, including creating, modifying, deleting, allocating, and monitoring the shared concurrency ratio, and can set a minimum concurrency ratio; while the sub-tenant can only view the allocated shared concurrency ratio and monitor these shared concurrency ratios.
[0015] Furthermore, the methods for creating cross-resource pool and cross-tenant concurrent desktop pools include:
[0016] S1: Select a virtualization platform;
[0017] S2: Configure virtualization infrastructure;
[0018] S3: Create virtual cross-resource pool, cross-tenant concurrent desktop images;
[0019] S4: Configure cross-resource pool and cross-tenant concurrent desktop pool.
[0020] Furthermore, in step S3, the method for creating virtual cross-resource pool, cross-tenant concurrent desktop images includes:
[0021] Configure the virtual machine, install the operating system and required applications, and create a virtual cross-resource pool cross-tenant concurrent desktop image.
[0022] Furthermore, in step S4, configuring the cross-resource pool and cross-tenant concurrent desktop pool includes configuring desktop specifications, the number of concurrent desktops, user access permissions, and desktop pool management tools; wherein the desktop specifications are consistent with the desktop specifications associated with the shared concurrency ratio of the cross-resource pool and cross-tenant concurrent desktop pool.
[0023] Furthermore, methods for subtenants to log in to concurrent desktops across resource pools and tenants include:
[0024] After a concurrent desktop login across resource pools and tenants, first query the concurrent desktop pool to which the desktop belongs. Based on the resource pool to which the concurrent desktop pool belongs and the desktop specifications of the concurrent desktop pool, query the shared concurrency ratio. Based on the shared concurrency ratio table, obtain the sub-tenants that have been assigned the shared concurrency ratio. Query the concurrent desktop pools of these sub-tenants that are associated with the shared concurrency ratio to obtain the minimum concurrency ratio and the number of concurrent desktops for each sub-tenant.
[0025] Calculate the number of concurrent desktops FC corresponding to the currently logged-in desktop of the subtenant and the maximum number of concurrent desktops FN of all other subtenants except the one corresponding to the currently logged-in desktop, based on the minimum concurrency ratio and the number of concurrent desktops of each subtenant;
[0026] Add the maximum number of concurrent online desktops FN of all other subtenants of the subtenant corresponding to the currently logged-in desktop, and add it to the number of concurrent online desktops FC of the subtenant corresponding to the currently logged-in desktop to get the maximum number of concurrent online desktops FCN of the subtenant corresponding to the currently logged-in desktop.
[0027] The system queries the database to find the number of online desktops (FCA) across resource pools and tenants, and compares the maximum number of concurrent online desktops (FCN) of the subtenant corresponding to the currently logged-in desktop with the number of online desktops (FCA) across resource pools and tenants.
[0028] If FCN > FCA, then login is successful;
[0029] If FCN ≤ FCA, then login fails.
[0030] Furthermore, the calculation method for the maximum number of concurrent online desktops FN of all subtenants other than the currently logged-in desktop includes:
[0031] FN = (R - CR) × CN;
[0032] In the formula, R is the shared concurrency ratio, CR is the minimum concurrency ratio, and CN is the number of concurrent desktops;
[0033] The calculation method for the number of concurrent online desktops (FC) corresponding to the currently logged-in desktop for the subtenant includes:
[0034] FC = R × CN.
[0035] A cross-resource pool, cross-tenant concurrent desktop pool system, implementing the aforementioned cross-resource pool, cross-tenant concurrent desktop pool method, includes:
[0036] The database creation module creates a database, which includes a shared concurrency ratio table, a tenant group relationship table, and a shared concurrency ratio allocation table.
[0037] In the shared tenant management module, the source tenant invites tenants to join the tenant group to which the source tenant belongs. After joining, the tenants become sub-tenants and are managed by the source tenant.
[0038] The shared concurrency ratio management module allows the source tenant to manage the shared concurrency ratio and allocate it to sub-tenants.
[0039] The desktop pool creation module allows sub-tenants to create concurrent desktop pools across resource pools and tenants.
[0040] The login module enables subtenant login to concurrent desktops across resource pools and tenants.
[0041] The technical effects and advantages of the present invention regarding a method and system for cross-resource pool and cross-tenant concurrent desktop pools are as follows:
[0042] 1. Cross-resource pool and cross-tenant concurrent desktop pool breaks down the isolation between the tenant dimension and the resource pool dimension, providing customers with more choices when using concurrent desktop pools; for large enterprise groups, it allows the parent company to comprehensively control the computing resources required for concurrent desktops based on the actual usage of the entire group, so as to reduce the overall production cost of the group.
[0043] 2. Applicable to scenarios where multiple tenants within the same company want to integrate the concurrent desktops of multiple tenants into a unified management system in the later stages of operation. Attached Figure Description
[0044] Figure 1 This is a schematic diagram of a cross-resource pool and cross-tenant concurrent desktop pool system according to Embodiment 1 of the present invention;
[0045] Figure 2 This is a schematic diagram of the database in Embodiment 1 of the present invention;
[0046] Figure 3 This is a schematic diagram of the invitation process in Embodiment 1 of the present invention;
[0047] Figure 4 This is a schematic diagram of the operation interface between the source tenant and the sub-tenant in Embodiment 1 of the present invention;
[0048] Figure 5 This is a schematic diagram of the shared concurrency ratio operation interface in Embodiment 1 of the present invention;
[0049] Figure 6This is a schematic diagram of a cross-resource pool and cross-tenant concurrent desktop pool method according to Embodiment 2 of the present invention;
[0050] Figure 7 This is a schematic diagram of the electronic device structure according to Embodiment 3 of the present invention. Detailed Implementation
[0051] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0052] Example 1
[0053] Please see Figure 1 As shown in the figure, the cross-resource pool and cross-tenant concurrent desktop pool system described in this embodiment includes a database creation module, a shared tenant management module, a shared concurrency ratio management module, a desktop pool creation module, and a login module; each module is connected via wired and / or wireless means to realize data transmission between modules;
[0054] The database creation module creates a database, which includes a shared concurrency ratio table, a tenant group relationship table, and a shared concurrency ratio allocation table.
[0055] The shared concurrency ratio table contains the shared concurrency ratio and the source tenant information that created it; the tenant group relationship table includes the relationship between the source tenant and the sub-tenant; the shared concurrency ratio allocation table contains the association between the shared concurrency ratio and the sub-tenant, as well as the minimum concurrency ratio set by the source tenant; the minimum concurrency ratio is the concurrency ratio that the sub-tenant does not share.
[0056] Please refer to the shared concurrency ratio table, tenant group relationship table, and shared concurrency ratio allocation table. Figure 2 As shown;
[0057] In the shared tenant management module, the source tenant invites tenants to join the tenant group to which the source tenant belongs. After joining, the tenants become sub-tenants and are managed by the source tenant.
[0058] Please see Figure 3 As shown, the source tenant can send an invitation to any tenant. Once the tenant accepts the invitation, the tenant will join the tenant group of the source tenant and be managed by the source tenant as a sub-tenant.
[0059] Please see Figure 4As shown, the source tenant can manage sub-tenants, including viewing initiated invitations, sending invitations, viewing sub-tenants, and removing sub-tenants; while sub-tenants can only perform three operations: viewing invitations, accepting invitations, and viewing the source tenant.
[0060] It should be noted that viewing subtenants means viewing the information corresponding to the subtenants, while viewing source tenants means viewing the information corresponding to the source tenants.
[0061] The shared concurrency ratio management module is used by the source tenant to manage the shared concurrency ratio and allocate the shared concurrency ratio to sub-tenants; the shared concurrency ratio management is the management of the concurrency ratio of cross-resource pools and cross-tenant concurrent desktop pools;
[0062] Please see Figure 5 As shown, source tenants can create, modify, delete, allocate, and monitor shared concurrency ratios, and can set a minimum concurrency ratio; while sub-tenants can only view the allocated shared concurrency ratios and monitor these shared concurrency ratios.
[0063] The allocation of the shared concurrency ratio involves the source tenant allocating the shared concurrency ratio to the sub-tenants;
[0064] It should be noted that, in order to meet the needs of cross-resource pool and cross-tenant concurrent desktop pool scenarios based on desktops of different specifications, as well as scenarios where the maximum concurrent online desktop ratio of the same specification cross-resource pool and cross-tenant concurrent desktop pools under different resource pools is different, the shared concurrency ratio is established based on the resource pool and desktop specification dimensions. There is only one shared concurrency ratio for the same resource pool and the same desktop specification. After the shared concurrency ratio is created, not all sub-tenants can use it immediately. They still need to wait for the source tenant to allocate it as needed. This is to take into account that some sub-tenants may not want to use the shared concurrency ratio in some resource pools, so as to reduce the configuration workload of the source tenant and only configure it for the sub-tenants who need it.
[0065] When a shared concurrency ratio is no longer needed, the source tenant can delete it if it has not been assigned to a subtenant. If there are no cross-resource pools or cross-tenant concurrent desktop pools associated with the shared concurrency ratio under the subtenant, the shared concurrency ratio can be unassigned to a subtenant. After a cross-resource pool or cross-tenant concurrent desktop pool is put into use, the source tenant can also see the monitoring status of the shared concurrency ratios of all cross-resource pools and cross-tenant concurrent desktop pools, including the number of associated subtenants, the number of online desktops, etc., which is convenient for the source tenant to adjust the cross-resource pool or cross-tenant concurrent desktop pool configuration after running for a period of time to maximize the utilization of computing resources. Subtenants can only see the monitoring status of the concurrent pools associated with the specific cross-resource pool or cross-tenant concurrent desktop pool shared concurrency ratio under the current resource pool and belonging to themselves, including concurrent desktop information and the number of online desktops, etc., which is convenient for subtenants to promptly discover whether the cross-resource pool or cross-tenant concurrent desktop pool shared concurrency ratio configuration they are using is suitable for their current needs, so that they can reflect to the source tenant and submit a configuration modification request later.
[0066] The desktop pool creation module allows sub-tenants to create concurrent desktop pools across resource pools and tenants.
[0067] Methods for creating cross-resource pool and cross-tenant concurrent desktop pools include:
[0068] S1: Select a virtualization platform;
[0069] S2: Configure virtualization infrastructure;
[0070] S3: Create virtual cross-resource pool, cross-tenant concurrent desktop images;
[0071] S4: Configure a cross-resource pool and cross-tenant concurrent desktop pool;
[0072] In step S1, the virtual platform includes, for example, VMware Horizon, Microsoft Hyper-V, Citrix Virtual Apps and Desktops;
[0073] In step S2, infrastructure such as virtual machine hosts, storage, and networks are included.
[0074] In step S3, the method for creating virtual cross-resource pool, cross-tenant concurrent desktop images includes:
[0075] Configure the virtual machine, install the operating system and required applications, and create a virtual cross-resource pool cross-tenant concurrent desktop image;
[0076] In step S4, configuring the cross-resource pool and cross-tenant concurrent desktop pool includes configuring desktop specifications, the number of concurrent desktops, user access permissions, and desktop pool management tools; wherein the desktop specifications are consistent with the desktop specifications associated with the shared concurrency ratio of the cross-resource pool and cross-tenant concurrent desktop pool.
[0077] It should be noted that the desktop specifications of the cross-resource pool and cross-tenant concurrent desktop pool are consistent with the desktop specifications associated with the shared concurrency ratio of the cross-resource pool and cross-tenant concurrent desktop pool because the shared concurrency ratio is automatically selected based on the desktop specifications selected by the current resource pool and the tenant when creating the cross-resource pool and cross-tenant concurrent desktop pool. If the shared concurrency ratio cannot be found, the creation of the cross-resource pool and cross-tenant concurrent desktop pool will fail.
[0078] The login module is used for subtenants to log in to concurrent desktops across resource pools and tenants;
[0079] Methods for subtenants to log in to concurrent desktops across resource pools and tenants include:
[0080] After a concurrent desktop login across resource pools and tenants, first query the concurrent desktop pool to which the desktop belongs. Based on the resource pool to which the concurrent desktop pool belongs and the desktop specifications of the concurrent desktop pool, query the shared concurrency ratio. Based on the shared concurrency ratio table, obtain the sub-tenants that have been assigned the shared concurrency ratio. Query the concurrent desktop pools of these sub-tenants that are associated with the shared concurrency ratio to obtain the minimum concurrency ratio and the number of concurrent desktops for each sub-tenant.
[0081] Calculate the number of concurrent desktops FC corresponding to the currently logged-in desktop of the subtenant and the maximum number of concurrent desktops FN of all other subtenants except the one corresponding to the currently logged-in desktop, based on the minimum concurrency ratio and the number of concurrent desktops of each subtenant;
[0082] The calculation method for the maximum number of concurrent online desktops FN for all subtenants except the one corresponding to the currently logged-in desktop includes:
[0083] FN = (R - CR) × CN;
[0084] In the formula, R is the shared concurrency ratio, CR is the minimum concurrency ratio, and CN is the number of concurrent desktops;
[0085] The calculation method for the number of concurrent online desktops (FC) corresponding to the currently logged-in desktop for the subtenant includes:
[0086] FC = R × CN;
[0087] Add the maximum number of concurrent online desktops FN of all other subtenants of the subtenant corresponding to the currently logged-in desktop, and add it to the number of concurrent online desktops FC of the subtenant corresponding to the currently logged-in desktop to get the maximum number of concurrent online desktops FCN of the subtenant corresponding to the currently logged-in desktop.
[0088] The system queries the database to find the number of online desktops (FCA) across resource pools and tenants, and compares the maximum number of concurrent online desktops (FCN) of the subtenant corresponding to the currently logged-in desktop with the number of online desktops (FCA) across resource pools and tenants.
[0089] If FCN > FCA, then login is successful;
[0090] If FCN ≤ FCA, then login fails;
[0091] It should be noted that the shared concurrency ratio needs to be considered globally, therefore subtenants do not have the authority to modify the shared concurrency ratio. If a subtenant wants to adjust it, it needs to inform the source tenant of its usage and request more or less computing resources from the source tenant outside the cross-resource pool and cross-tenant concurrent desktop pool system. Then, the source tenant can determine the modification of the shared concurrency ratio or the subtenant's minimum concurrency ratio after comprehensively considering the overall usage and conducting rigorous calculations. Modifying the shared concurrency ratio or the subtenant's minimum concurrency ratio will not affect the use of online desktops. The maximum number of concurrent online desktops belonging to the tenant of the new desktop will only change when a new desktop wants to log in.
[0092] It should be understood that the reason for setting a minimum concurrent connection ratio for the source tenant is to ensure that the minimum number of concurrent desktops used by the sub-tenant on a daily basis is not taken up by other tenants. The minimum concurrent connection ratio cannot be lower than the shared concurrent connection ratio, in order to ensure that the sub-tenant cannot monopolize the number of desktops shared by other tenants. At the same time, the minimum concurrent connection ratio is only effective for other sub-tenants. For the current tenant, all desktops are allowed to compete with each other for online access. For example, if there is a shared concurrent connection ratio of 60%, and there are two sub-tenants A and B, they create a cross-resource pool and cross-tenant concurrent desktop pool with 50 desktops, but the minimum concurrent connection ratio of sub-tenant A is 50%. At this point, we know the total number of desktops is 50 + 50 = 100, and the maximum number of desktops online simultaneously is 100 × 60% = 60. That is, the maximum number of desktops online simultaneously for subtenant A and subtenant B is 30 each. In an extreme case, assuming only subtenant A's desktop is attempting to log in, the final maximum number of desktops online simultaneously is 60, because subtenant B has no guaranteed concurrency ratio, and its 30 maximum number of desktops online simultaneously is completely shared with subtenant A. However, since subtenant A only has 50 desktops, the maximum number of desktops online simultaneously for subtenant A in this scenario is 50. If only subtenant B's desktop is attempting to log in, the final maximum number of desktops online simultaneously is only 35, because it is necessary to ensure that subtenant A's guaranteed concurrency ratio is 50%, which is 50 × 50% = 25. Subtenant A has no desktops logging in, and other subtenants cannot occupy these 25 guaranteed desktops.
[0093] It should be noted that the minimum concurrent connection ratio for the subtenant corresponding to the currently logged-in desktop is competitive, so the minimum concurrent connection ratio should be ignored when calculating the number of concurrent desktops (FC) of the subtenant corresponding to the currently logged-in desktop.
[0094] This embodiment implements a concurrent desktop pool that supports cross-resource pools and cross-tenant concurrent desktop pools based on existing concurrent desktop pools, breaking the isolation between the tenant dimension and the resource pool dimension, and providing customers with more choices when using concurrent desktop pools. For large enterprise groups, it allows the parent company to comprehensively control the computing resources required by concurrent desktops based on the actual usage of the entire group, so as to reduce the overall production cost of the group. It is also applicable to multiple tenants in the same company. In the later stage of operation, if you want to bring the concurrent desktops of multiple tenants into unified management, it can save the time cost of migrating concurrent desktops.
[0095] Example 2
[0096] Please see Figure 6 As shown, parts not described in detail in this embodiment are described in Embodiment 1. A method for cross-resource pool and cross-tenant concurrent desktop pools is provided, including:
[0097] Create a database containing a shared concurrency ratio table, a tenant group relationship table, and a shared concurrency ratio allocation table;
[0098] The source tenant invites the tenant to join the tenant group to which the source tenant belongs. After joining, the tenant becomes a sub-tenant and is managed by the source tenant.
[0099] The source tenant manages the shared concurrency ratio and allocates the shared concurrency ratio to sub-tenants;
[0100] Subtenants create cross-resource pools and cross-tenant concurrent desktop pools;
[0101] Subtenant login allows for concurrent desktop access across resource pools and tenants.
[0102] Furthermore, the shared concurrency ratio table contains the shared concurrency ratio and the source tenant information that created it; the tenant group relationship table includes the relationship between the source tenant and the sub-tenant; the shared concurrency ratio allocation table contains the association between the shared concurrency ratio and the sub-tenant, as well as the guaranteed concurrency ratio set by the source tenant; the guaranteed concurrency ratio is the concurrency ratio that the sub-tenant does not share.
[0103] Furthermore, the source tenant manages sub-tenants, including viewing initiated invitations, sending invitations, viewing sub-tenants, and removing sub-tenants; while sub-tenants can only perform three operations: viewing invitations, accepting invitations, and viewing the source tenant.
[0104] Furthermore, the source tenant manages the shared concurrency ratio, including creating, modifying, deleting, allocating, and monitoring the shared concurrency ratio, and can set a minimum concurrency ratio; while the sub-tenant can only view the allocated shared concurrency ratio and monitor these shared concurrency ratios.
[0105] Furthermore, the methods for creating cross-resource pool and cross-tenant concurrent desktop pools include:
[0106] S1: Select a virtualization platform;
[0107] S2: Configure virtualization infrastructure;
[0108] S3: Create virtual cross-resource pool, cross-tenant concurrent desktop images;
[0109] S4: Configure cross-resource pool and cross-tenant concurrent desktop pool.
[0110] Furthermore, in step S3, the method for creating virtual cross-resource pool, cross-tenant concurrent desktop images includes:
[0111] Configure the virtual machine, install the operating system and required applications, and create a virtual cross-resource pool cross-tenant concurrent desktop image.
[0112] Furthermore, in step S4, configuring the cross-resource pool and cross-tenant concurrent desktop pool includes configuring desktop specifications, the number of concurrent desktops, user access permissions, and desktop pool management tools; wherein the desktop specifications are consistent with the desktop specifications associated with the shared concurrency ratio of the cross-resource pool and cross-tenant concurrent desktop pool.
[0113] Furthermore, methods for subtenants to log in to concurrent desktops across resource pools and tenants include:
[0114] After a concurrent desktop login across resource pools and tenants, first query the concurrent desktop pool to which the desktop belongs. Based on the resource pool to which the concurrent desktop pool belongs and the desktop specifications of the concurrent desktop pool, query the shared concurrency ratio. Based on the shared concurrency ratio table, obtain the sub-tenants that have been assigned the shared concurrency ratio. Query the concurrent desktop pools of these sub-tenants that are associated with the shared concurrency ratio to obtain the minimum concurrency ratio and the number of concurrent desktops for each sub-tenant.
[0115] Calculate the number of concurrent desktops FC corresponding to the currently logged-in desktop of the subtenant and the maximum number of concurrent desktops FN of all other subtenants except the one corresponding to the currently logged-in desktop, based on the minimum concurrency ratio and the number of concurrent desktops of each subtenant;
[0116] Add the maximum number of concurrent online desktops FN of all other subtenants of the subtenant corresponding to the currently logged-in desktop, and add it to the number of concurrent online desktops FC of the subtenant corresponding to the currently logged-in desktop to get the maximum number of concurrent online desktops FCN of the subtenant corresponding to the currently logged-in desktop.
[0117] The system queries the database to find the number of online desktops (FCA) across resource pools and tenants, and compares the maximum number of concurrent online desktops (FCN) of the subtenant corresponding to the currently logged-in desktop with the number of online desktops (FCA) across resource pools and tenants.
[0118] If FCN > FCA, then login is successful;
[0119] If FCN ≤ FCA, then login fails.
[0120] Furthermore, the calculation method for the maximum number of concurrent online desktops FN of all subtenants other than the currently logged-in desktop includes:
[0121] FN = (R - CR) × CN;
[0122] In the formula, R is the shared concurrency ratio, CR is the minimum concurrency ratio, and CN is the number of concurrent desktops;
[0123] The calculation method for the number of concurrent online desktops (FC) corresponding to the currently logged-in desktop for the subtenant includes:
[0124] FC = R × CN.
[0125] Example 3
[0126] Please see Figure 7 As shown, this embodiment discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements any one of the cross-resource pool and cross-tenant concurrent desktop pool methods described above.
[0127] Since the electronic device described in this embodiment is the electronic device used to implement the cross-resource pool and cross-tenant concurrent desktop pool method described in this application embodiment, those skilled in the art can understand the specific implementation method and various variations of the electronic device in this embodiment based on the cross-resource pool and cross-tenant concurrent desktop pool method described in this application embodiment. Therefore, how the electronic device implements the method in this application embodiment will not be described in detail here. Any electronic device used by those skilled in the art to implement the cross-resource pool and cross-tenant concurrent desktop pool method described in this application embodiment falls within the scope of protection of this application.
[0128] Example 4
[0129] This embodiment discloses a computer-readable storage medium, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, it implements any of the methods described above for a cross-resource pool and cross-tenant concurrent desktop pool method.
[0130] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired or wireless network. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. A semiconductor medium can be a solid-state drive.
[0131] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0132] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0133] In the several embodiments provided by this invention, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only one method, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0134] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0135] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0136] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
[0137] In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for cross-resource pool and cross-tenant concurrent desktop pools, characterized in that, include: Create a database containing a shared concurrency ratio table, a tenant group relationship table, and a shared concurrency ratio allocation table; The source tenant invites the tenant to join the tenant group to which the source tenant belongs. After joining, the tenant becomes a sub-tenant and is managed by the source tenant. The source tenant manages the shared concurrency ratio and allocates the shared concurrency ratio to sub-tenants; Subtenants create cross-resource pools and cross-tenant concurrent desktop pools; Subtenant login allows for concurrent desktop access across resource pools and tenants.
2. The method for cross-resource pool and cross-tenant concurrent desktop pool according to claim 1, characterized in that, The shared concurrency ratio table includes the shared concurrency ratio and the source tenant information that created it; The tenant group relationship table includes the relationships between source tenants and sub-tenants; The shared concurrency allocation table includes the relationship between the shared concurrency ratio and sub-tenants, as well as the guaranteed concurrency ratio set by the source tenant; The minimum concurrency ratio is the concurrency ratio at which sub-tenants are not shared.
3. The method for cross-resource pool and cross-tenant concurrent desktop pool according to claim 2, characterized in that, The source tenant manages sub-tenants, including viewing initiated invitations, sending invitations to tenants, viewing sub-tenants, and removing sub-tenants; while sub-tenants can only perform three operations: viewing invitations, accepting invitations, and viewing the source tenant.
4. The method for cross-resource pool and cross-tenant concurrent desktop pool according to claim 3, characterized in that, The source tenant manages the shared concurrency ratio, including creating, modifying, deleting, allocating, and monitoring the shared concurrency ratio, and can set a minimum concurrency ratio; while the sub-tenant can only view the allocated shared concurrency ratio and monitor these shared concurrency ratios.
5. A method for cross-resource pool and cross-tenant concurrent desktop pools according to claim 4, characterized in that, Methods for creating cross-resource pool and cross-tenant concurrent desktop pools include: S1: Select a virtualization platform; S2: Configure virtualization infrastructure; S3: Create virtual cross-resource pool, cross-tenant concurrent desktop images; S4: Configure cross-resource pool and cross-tenant concurrent desktop pool.
6. A method for cross-resource pool and cross-tenant concurrent desktop pools according to claim 5, characterized in that, In step S3, the method for creating virtual cross-resource pool and cross-tenant concurrent desktop images includes: Configure the virtual machine, install the operating system and required applications, and create a virtual cross-resource pool cross-tenant concurrent desktop image.
7. A method for cross-resource pool and cross-tenant concurrent desktop pools according to claim 6, characterized in that, In step S4, configuring a cross-resource pool and cross-tenant concurrent desktop pool includes configuring desktop specifications, the number of concurrent desktops, user access permissions, and desktop pool management tools. The desktop specifications are consistent with the desktop specifications that are shared by the cross-resource pool and cross-tenant concurrent desktop pool.
8. A method for cross-resource pool and cross-tenant concurrent desktop pools according to claim 7, characterized in that, Methods for subtenants to log in to concurrent desktops across resource pools and tenants include: After a concurrent desktop login across resource pools and tenants, first query the concurrent desktop pool to which the desktop belongs. Based on the resource pool to which the concurrent desktop pool belongs and the desktop specifications of the concurrent desktop pool, query the shared concurrency ratio. Based on the shared concurrency ratio table, obtain the sub-tenants that have been assigned the shared concurrency ratio. Query the concurrent desktop pools of these sub-tenants that are associated with the shared concurrency ratio to obtain the minimum concurrency ratio and the number of concurrent desktops for each sub-tenant. The number of concurrent desktops corresponding to the currently logged-in desktop in each subtenant is calculated based on the minimum concurrency ratio and the number of concurrent desktops for each subtenant. The maximum number of concurrent online desktops for all subtenants other than the one currently logged in. ; The maximum number of concurrent online desktops for all subtenants except the one currently logged-in desktop. Add them together, and then add the number of concurrently online desktops corresponding to the currently logged-in desktop's subtenant. Get the maximum number of concurrent online desktops for the subtenant corresponding to the currently logged-in desktop. ; Query the database to count the number of online desktops across resource pools and cross-tenant concurrent desktop pools. The maximum number of concurrent online desktops for the subtenant corresponding to the currently logged-in desktop will be set. The number of online desktops across resource pools and cross-tenant concurrent desktop pools Compare; like Then the login was successful; like If not, login will fail.
9. A method for cross-resource pool and cross-tenant concurrent desktop pools according to claim 8, characterized in that, The maximum number of concurrent online desktops for all subtenants except the one currently logged in. The calculation methods include: ; In the formula, To share the concurrency ratio, To ensure a minimum concurrency ratio, This refers to the number of concurrent desktops. Number of concurrent online desktops corresponding to the currently logged-in desktop of the subtenant The calculation methods include: 。 10. A cross-resource pool, cross-tenant concurrent desktop pool system, implementing the cross-resource pool, cross-tenant concurrent desktop pool method according to any one of claims 1-9, characterized in that, include: The database creation module creates a database, which includes a shared concurrency ratio table, a tenant group relationship table, and a shared concurrency ratio allocation table. In the shared tenant management module, the source tenant invites tenants to join the tenant group to which the source tenant belongs. After joining, the tenants become sub-tenants and are managed by the source tenant. The shared concurrency ratio management module allows the source tenant to manage the shared concurrency ratio and allocate it to sub-tenants. The desktop pool creation module allows sub-tenants to create concurrent desktop pools across resource pools and tenants. The login module enables subtenant login to concurrent desktops across resource pools and tenants.
Citation Information
Patent Citations
Management of virtual desktop instance pools
CN108431778A
Server computer management system for supporting highly available virtual desktops of multiple different tenants
CN109313564A