Tenant access adjustment method and device and related equipment

By dynamically adjusting the POP and priority of tenant access, the problem of inflexible tenant access in the existing technology is solved, and resource utilization and business guarantee are improved.

CN118714100APending Publication Date: 2024-09-27NEW H3C TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410822681.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

In multi-tenant access scenarios, existing MSP networking solutions cannot dynamically adjust tenant access based on tenant levels and POP link capacity, resulting in high-level tenant services being crowded out by low-level tenant services and low POP resource utilization.

Method used

By detecting the capacity requirements of the target tenant and the available capacity of the target POP group, it dynamically selects the appropriate POP for tenant access, and adjusts priority and capacity allocation when necessary to ensure the normal operation of high-priority tenants' services.

Benefits of technology

It improves POP utilization, reduces configuration complexity, ensures normal exchange of high-priority tenant services, and prevents low-priority tenants from crowding out high-priority services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714100A
    Figure CN118714100A
Patent Text Reader

Abstract

The invention relates to the technical field of network access, in particular to a tenant access adjustment method and device and related equipment. The method comprises the steps that when it is detected that a target tenant needs to access a target POP group, whether a POP with the current available capacity meeting the capacity needed by the target tenant exists in the target POP group or not is judged according to the capacity needed by the target tenant and the current available capacity of each POP in the target POP group; if yes, determining the POP of which the current available capacity meets the capacity required by the target tenant as a target POP accessed to the target tenant; and sending access indication information to the target POP, so that the target POP indicates an access device corresponding to the target tenant to set the priority access POP of the target tenant as the target POP.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network access technology, and in particular to a tenant access adjustment method, device and related equipment. Background Art

[0002] In recent years, SDN (Software Defined Network) technology has been widely used in actual networking in many fields, especially in large enterprises or operator leasing and selling scenarios. In large enterprises’ self-built or operator leasing and selling scenarios, MSP (Managed Service Provider) solutions are usually used for network construction. By building a high-quality backbone network area at the enterprise headquarters or on the operator side, the backbone network is leased to enterprise branches in the form of POP (Point of Presence) access, meeting the needs of enterprise branches to access the headquarters and branches to communicate with each other.

[0003] However, in the current typical MSP networking solution, tenant sites can only access each other through pre-defined POP site priorities. When there are multiple POPs, only when a high-priority POP fails will it passively switch to a low-priority POP, resulting in a waste of POP resources. In the case of multi-tenant access, link speed can only be limited by selecting bandwidth resources during leasing and selling. It is impossible to dynamically adjust the access POP according to the tenant's level (importance) and POP link capacity, which easily causes high-level tenant services to be squeezed out by low-level tenant services. Summary of the invention

[0004] The present application provides a tenant access adjustment method, apparatus and related equipment.

[0005] In a first aspect, the present application provides a tenant access adjustment method, the method comprising:

[0006] When it is detected that the target tenant needs to access the target access site POP group, judging whether there is a POP in the target POP group whose current available capacity meets the capacity required by the target tenant according to the capacity required by the target tenant and the current available capacity of each POP in the target POP group;

[0007] If so, determine the POP whose current available capacity meets the capacity required by the target tenant as the target POP for accessing the target tenant;

[0008] Access indication information is sent to the target POP, so that the target POP instructs the access device corresponding to the target tenant to set the priority access POP of the target tenant as the target POP.

[0009] Optionally, the method further comprises:

[0010] If it is determined that there is no POP in the target POP group whose current available capacity meets the capacity required by the target tenant, the target tenant is added to the list of tenants to be adjusted;

[0011] For each tenant included in the list of tenants to be adjusted, perform the following operations in sequence until the list of tenants to be adjusted is empty:

[0012] The currently available capacity of each POP in the target POP group is arranged in descending order, and for the POP with the largest currently available capacity in the target POP group, the POP is sorted according to the priority of each tenant connected to the POP;

[0013] Simulate the removal of the tenants with the lowest priority one by one until the current available capacity of the POP meets the capacity required by the tenants to be adjusted, remove at least one tenant that has been simulated to be removed from the POP, and add the at least one tenant to the list of tenants to be adjusted;

[0014] The POP is determined as the target POP for accessing the tenant to be adjusted.

[0015] Optionally, the method further comprises:

[0016] If the current available capacity of the POP still does not meet the capacity required by the tenant to be adjusted after all tenants in the POP whose priority is lower than the priority of the tenant to be adjusted are simulated to be removed, the POP is added to the exclusion POP list, and after being excluded from the target POP group, the POP with the largest current available capacity in the target POP group is sorted according to the priority of each tenant connected to the POP; the tenants with the lowest priority are simulated to be removed one by one until the current available capacity of the POP meets the capacity required by the tenant to be adjusted, at least one tenant that has been simulated to be removed is removed from the POP, and the at least one tenant is added to the list of tenants to be adjusted; and the POP is determined as the target POP to connect to the tenant to be adjusted.

[0017] Optionally, the method further comprises:

[0018] If after traversing each POP in the target POP group and simulating the removal of tenants whose tenant priority is lower than that of the target tenant in each POP, there is no POP in each POP whose current available capacity meets the required capacity of the target tenant, then all tenants in the target POP group are treated as tenants to be adjusted;

[0019] Sort the priorities of the tenants to be adjusted, and sort the total capacity of each POP in the target POP group;

[0020] Based on the priority of each tenant to be adjusted, determine that the POP required to be occupied by the tenant with the highest priority to be adjusted is the POP with the largest total capacity in the target POP group, until the current available capacity of the POP does not meet the capacity required by the tenant with the highest priority to be adjusted;

[0021] If there are tenants who do not occupy POPs after all POPs are occupied, based on the priority of the tenants who do not occupy POPs and the current available capacity of each POP, the tenants who do not occupy POPs will be allocated to POPs whose current available capacity meets the capacity required by the tenants.

[0022] Optionally, the method further comprises:

[0023] Access indication information is sent to each POP respectively, wherein the access indication information includes the tenant information accessed by the POP, so that each POP instructs the access device corresponding to each tenant to set the priority access POP of each tenant to the POP based on the tenant information it needs to access.

[0024] In a second aspect, the present application provides a tenant access adjustment device, the device comprising:

[0025] A judging unit, configured to, when detecting that a target tenant needs to access a target access site POP group, judge whether there is a POP in the target POP group whose current available capacity satisfies the capacity required by the target tenant according to the capacity required by the target tenant and the current available capacity of each POP in the target POP group;

[0026] A determination unit, if the determination unit determines that there is, the determination unit is used to determine a POP whose current available capacity meets the capacity required by the target tenant as a target POP for accessing the target tenant;

[0027] A sending unit is used to send access indication information to the target POP, so that the target POP instructs the access device corresponding to the target tenant to set the priority access POP of the target tenant as the target POP.

[0028] Optionally, the device further comprises:

[0029] an adding unit, wherein if the judging unit determines that there is no POP in the target POP group whose current available capacity satisfies the capacity required by the target tenant, the adding unit is used to add the target tenant to the list of tenants to be adjusted;

[0030] The adjusting unit is configured to perform the following operations in sequence for each tenant included in the list of tenants to be adjusted until the list of tenants to be adjusted is empty:

[0031] The currently available capacity of each POP in the target POP group is arranged in descending order, and for the POP with the largest currently available capacity in the target POP group, the POP is sorted according to the priority of each tenant connected to the POP;

[0032] Simulate the removal of the tenants with the lowest priority one by one until the current available capacity of the POP meets the capacity required by the tenants to be adjusted, remove at least one tenant that has been simulated to be removed from the POP, and add the at least one tenant to the list of tenants to be adjusted;

[0033] The POP is determined as the target POP for accessing the tenant to be adjusted.

[0034] Optionally, the adjustment unit is further used for:

[0035] If the current available capacity of the POP still does not meet the capacity required by the tenant to be adjusted after all tenants in the POP whose priority is lower than the priority of the tenant to be adjusted are simulated to be removed, the POP is added to the exclusion POP list, and after being excluded from the target POP group, the POP with the largest current available capacity in the target POP group is sorted according to the priority of each tenant connected to the POP; the tenants with the lowest priority are simulated to be removed one by one until the current available capacity of the POP meets the capacity required by the tenant to be adjusted, at least one tenant that has been simulated to be removed is removed from the POP, and the at least one tenant is added to the list of tenants to be adjusted; and the POP is determined as the target POP to connect to the tenant to be adjusted.

[0036] Optionally, the adjustment unit is further used for:

[0037] If after traversing each POP in the target POP group and simulating the removal of tenants whose tenant priority is lower than that of the target tenant in each POP, there is no POP in each POP whose current available capacity meets the required capacity of the target tenant, then all tenants in the target POP group are treated as tenants to be adjusted;

[0038] Sort the priorities of the tenants to be adjusted, and sort the total capacity of each POP in the target POP group;

[0039] Based on the priority of each tenant to be adjusted, determine that the POP required to be occupied by the tenant with the highest priority to be adjusted is the POP with the largest total capacity in the target POP group, until the current available capacity of the POP does not meet the capacity required by the tenant with the highest priority to be adjusted;

[0040] If there are tenants who do not occupy POPs after all POPs are occupied, based on the priority of the tenants who do not occupy POPs and the current available capacity of each POP, the tenants who do not occupy POPs will be allocated to POPs whose current available capacity meets the capacity required by the tenants.

[0041] Optionally, the sending unit is also used to send access indication information to each POP respectively, wherein the access indication information includes tenant information accessed by the POP, so that each POP instructs the access device corresponding to each tenant to set the priority access POP of each tenant to the POP based on the tenant information it needs to access.

[0042] In a third aspect, an embodiment of the present application provides a tenant access adjustment device, the tenant access adjustment device comprising:

[0043] A memory for storing program instructions;

[0044] The processor is used to call the program instructions stored in the memory, and execute the steps of the method as described in any one of the first aspects above according to the obtained program instructions.

[0045] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the steps of the method described in any one of the first aspects above.

[0046] In summary, the tenant access adjustment method provided in the embodiment of the present application, when it is detected that the target tenant needs to access the target access site POP group, determines whether there is a POP in the target POP group whose current available capacity meets the capacity required by the target tenant based on the capacity required by the target tenant and the current available capacity of each POP in the target POP group; if so, the POP whose current available capacity meets the capacity required by the target tenant is determined as the target POP for accessing the target tenant; and sends access indication information to the target POP, so that the target POP instructs the access device corresponding to the target tenant to set the priority access POP of the target tenant as the target POP.

[0047] By adopting the tenant access adjustment method provided in the embodiment of the present application, it is possible to avoid passive adjustment only when a high-priority POP is unavailable after statically specifying the priority, which can effectively improve the utilization rate of the POP while reducing the configuration complexity.

[0048] By dynamically adjusting tenant access POPs based on POP capacity and tenant priority, the POP can be adaptively shared by multiple tenants. When the POP load is high, the services of high-priority tenants can be effectively guaranteed, preventing low-priority tenants from squeezing out the services of high-priority tenants. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments of the present application or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings of the embodiments of the present application.

[0050] Figure 1 This is a schematic diagram of a traditional MSP multi-level networking deployment;

[0051] Figure 2 A detailed flow chart of a tenant access adjustment method provided in an embodiment of the present application;

[0052] Figure 3 A schematic diagram of the structure of a tenant access adjustment device provided in an embodiment of the present application;

[0053] Figure 4 A schematic diagram of the hardware architecture of a tenant access adjustment device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, rather than limiting the present application. The singular forms of "a", "said" and "the" used in the present application and claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to any or all possible combinations of one or more associated listed items.

[0055] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, in addition, the word "if" used may be interpreted as "at..." or "when..." or "in response to determination".

[0056] Traditional MSP networking builds a high-quality backbone network at the corporate headquarters or on the operator side, and rents and sells some sites in the backbone network as POP sites to corporate branches or small businesses. Corporate branches or small businesses access POP points through low-cost Internet links to achieve business interoperability between corporate branches or small businesses. The specific construction rules are as follows:

[0057] Construct the backbone area of ​​HUB and POP, for example, see Figure 1 As shown in FIG. 1 , it is a schematic diagram of a traditional MSP multi-level networking interconnection deployment; Figure 1 In the backbone area, the backbone area reflects the backbone area routing information through RR to build the backbone area Overlay network.

[0058] Construct the Overlay tenant area of ​​POP and branch, such as Figure 1 In the tenant 1 area and tenant 2 area, the tenant area builds an Overlay network by accessing the POP and using the POP as the RR to reflect the routing information of the tenant area (using BGP to publish and receive routes).

[0059] The backbone area and tenant area are interconnected through the common POP points of the backbone area and the tenant area as the border site (in order to avoid single point failure of the border site, the tenant area is usually connected to multiple border sites). During deployment, the priority of passing through multiple POP sites needs to be specified.

[0060] In the current typical MSP networking solution, tenant sites can only visit each other through pre-defined POP site priorities. When there are multiple POPs, they will passively switch to low-priority POPs only after a high-priority POP fails, resulting in a waste of POP resources. In the case of multi-tenant access, link speed can only be limited by selecting bandwidth resources during leasing and sale. The access POP cannot be dynamically adjusted according to the tenant level and POP link capacity, which can easily cause high-level tenant services to be squeezed out by low-level tenant services.

[0061] The embodiment of the present application proposes a dynamic adjustment method for MSP tenant access to multiple POPs based on SDN. The SDN controller dynamically senses the load of the POP link and the priority of the access tenant to dynamically adjust the tenant access POP, and intelligently selects the tenant access POP, thereby improving the efficiency of tenant services accessing the headquarters or mutual visits between branches through POPs, ensuring the normal mutual visits of high-priority tenant services, and reducing the configuration complexity of building interconnections between tenant areas and backbone areas.

[0062] For example, see Figure 1FIG. 1 is a detailed flow chart of a tenant access adjustment method provided in an embodiment of the present application, and the method includes the following steps:

[0063] Step 100: When it is detected that the target tenant needs to access the target access site POP group, based on the capacity required by the target tenant and the current available capacity of each POP in the target POP group, determine whether there is a POP in the target POP group whose current available capacity meets the capacity required by the target tenant.

[0064] In the embodiment of the present application, POP is defined in the form of POP group, and one or more POP groups are predefined. A POP group includes at least 2 POPs, that is, access services are provided to each tenant in the form of POP group. In practical applications, in order to more efficiently handle the path adjustment of tenants on different POPs, a Leader is elected in the POP group to perform unified path adjustment management. Of course, the path adjustment management of each tenant accessed by the POP group can also be implemented by a third-party device (such as an SDN controller). In the embodiment of the present application, no specific limitation is made here.

[0065] The following only describes the unified path adjustment management by electing a Leader in the POP group. The Leader maintains the link capacity and link occupancy information of all POPs in the group. When path adjustment is required, the Leader makes a decision and notifies each Follower (other POPs in the POP group except the Leader) to execute. At the same time, each Follower will synchronize its own "current available capacity of the POP link" and the "tenant priority" information of each tenant that has been connected to the Leader. The election of the Leader is not the focus of this application. The Leader election of this application can use algorithms such as Raft.

[0066] As can be seen from the above, the Leader maintains the capacity information of all POPs in the POP group (maximum capacity of services that can be carried, capacity occupied by services that have been carried, other occupied capacity, etc.), as well as tenant priority information of each tenant that has been connected to each POP. When the Leader of the target POP group detects that the target tenant needs to access the target POP group, it determines whether there is a POP in the target POP group whose current available capacity is greater than the capacity required by the target tenant based on the capacity required by the target tenant and the current available capacity of each POP in the target POP group.

[0067] Specifically, the user can issue an instruction to the leader of the POP group based on the SDN controller that the target user needs to access the target POP group. That is, after the leader of the target POP group receives the instruction issued by the controller, it detects that the target tenant needs to access the target POP group. The instruction carries the capacity information required by the target tenant and the tenant priority information of the target tenant.

[0068] For example, the POP link capacity is the business traffic that a single POP link can carry, which is recorded as Cap, and the capacity occupied by each tenant on the POP is recorded as T u= ([T1,U1,Pr1]…[T n ,U n ,Pr n ]), (U1 is the capacity occupied by tenant 1, Pr1 is the tenant priority of tenant 1), the capacity occupied by other services on the POP is recorded as Other, and the total traffic of each tenant service carried on the POP is recorded as Pu. The calculation method of Pu is as follows:

[0069]

[0070] When new tenants T new When accessing a POP group, the POP group leader allocates capacity based on the required capacity of the new tenant (denoted as U t ) requires to calculate the POP that meets the requirements from the POP link capacity information of each POP in the POP group it maintains. The calculation strategy is as follows:

[0071] Traverse the POP link capacity information of each POP in the Leader and determine whether the POP in the group can meet the tenant requirements based on the following calculation method.

[0072]

[0073] n, n is the number of POPs in the POP group); a is the capacity threshold of the POP that can be occupied, that is, after reaching this threshold, the POP is not supported to continue to be occupied. i For Pu i , the value of a is 0.8, Other i For other capacity occupancy situations.

[0074] Specifically, the current available capacity of each POP in the POP group is calculated one by one to see whether it meets the capacity required by the new tenant, until a POP that meets the capacity required by the new tenant is found.

[0075] Step 110: If so, a POP whose current available capacity meets the capacity required by the target tenant is determined as a target POP for accessing the target tenant.

[0076] In the embodiment of the present application, when a POP that meets the capacity required by the new tenant is found, the POP is used as the target POP for accessing the new tenant.

[0077] Step 120: Send access indication information to the target POP, so that the target POP instructs the access device corresponding to the target tenant to set the priority access POP of the target tenant as the target POP.

[0078] Specifically, the target POP is determined to be the POP for accessing the new tenant (target tenant). Then, the Leader can send an instruction message to the target POP to instruct the target POP to set the priority access POP of the new tenant as the target POP to the access device corresponding to the new tenant. In this way, when the access device receives the traffic of the target tenant, it can forward the traffic to the destination through the target POP.

[0079] In the embodiment of the present application, the above method further includes the following steps:

[0080] If it is determined that there is no POP in the target POP group whose current available capacity meets the capacity required by the target tenant, the target tenant is added to the list of tenants to be adjusted.

[0081] For each tenant included in the list of tenants to be adjusted, perform the following operations in sequence until the list of tenants to be adjusted is empty:

[0082] The current available capacity of each POP in the target POP group is arranged in descending order, and the POP with the largest current available capacity in the target POP group is sorted according to the priority of each tenant connected to the POP; simulate the removal of the tenants with the lowest priority one by one until the current available capacity of the POP meets the required capacity of the tenant to be adjusted, remove at least one tenant that has been simulated to be removed from the POP, and add the at least one tenant to the list of tenants to be adjusted; determine the POP as the target POP to connect to the tenant to be adjusted.

[0083] That is to say, if the result res is empty after the traversal, it means that the link load of each POP in the current POP group is high and cannot directly meet the capacity requirements of the target tenant. At this time, it is necessary to dynamically adjust the tenant priority of each tenant carried by each POP.

[0084] Furthermore, if after all tenants in the POP whose priority is lower than that of the tenant to be adjusted are simulated to be removed, the current available capacity of the POP still does not meet the capacity required by the tenant to be adjusted, the POP is added to the excluded POP list, and after being excluded from the target POP group, the POP with the largest current available capacity in the target POP group is sorted according to the priority of each tenant connected to the POP; the tenants with the lowest priority are simulated to be removed one by one until the current available capacity of the POP meets the capacity required by the tenant to be adjusted, at least one tenant that has been simulated to be removed is removed from the POP, and the at least one tenant is added to the list of tenants to be adjusted; and the POP is determined as the target POP to connect to the tenant to be adjusted.

[0085] For example: First define the tenant list to be adjusted adj list , record the tenants that need to be adjusted; and an exclusion POP list Exc list , to ensure that the POP will not be adjusted further during subsequent adjustments.

[0086] Traverse the POP link capacity information of each POP in the POP group maintained by the Leader, excluding Exc list After the POP in the group (initially empty), the POP with the largest available capacity in the group is calculated by the following method:

[0087]

[0088] If the current available capacity of the POP links of each POP is the same, compare the tenant priority Pr on each POP. i , find out Pr i Lower than Pr new If the POPs with the most are still the same, a POP is randomly selected as the candidate POP.

[0089] The determined Tar pop The tenants occupying the i Sorting, simulated removal from small to large (not actually removed for the time being) than T new For low-priority tenants (the purpose is to allow high-priority tenants to preempt low-priority tenants), Tar is calculated after simulating the removal of low-priority tenants one by one (calculating the current available capacity after simulating the removal of tenants). pop Whether the current available capacity meets the capacity requirements of the target tenant. If so, no simulated removal will be performed and the tenants that have been simulated removed (to be removed) will be added to the list of tenants to be adjusted. list In the pop Add to the exclusion list Exc list After that, simulate adding the target tenant to Tar pop , update Tarpop The current available capacity of the target tenant plus the capacity required by the target tenant.

[0090] If all the items below T are finally removed new Tenants with tenant priority still cannot meet T new capacity requirement, then Tar pop Add to the exclusion list Exc list Then, re-execute the "Traverse the POP link capacity information of each POP in the POP group maintained by the Leader, and exclude Exc list After the POP in the group is removed, calculate the POP with the largest current available capacity in the group" until a POP with the current available capacity after simulating the removal of tenants is found to meet T new The tenant's POP.

[0091] Next, the above adjustment process is performed on other tenants in the tenant list to be adjusted to find a POP suitable for each tenant to occupy, until the tenant list to be adjusted is empty.

[0092] After readjusting the POPs that each tenant needs to occupy, access indication information is sent to each POP respectively, wherein the access indication information includes the tenant information accessed by the POP, so that each POP instructs the access device corresponding to each tenant to set the priority access POP of each tenant to the POP based on the tenant information that it needs to access.

[0093] Specifically, clear the Leader's Exc list and adj list List information, the Leader updates and maintains the POP link capacity information of each POP, and synchronizes the information to all corresponding Follower POPs in the POP group. The Follower POP publishes the information to the corresponding tenant access device through BGP, and the tenant access device automatically modifies the corresponding access POP priority.

[0094] Furthermore, in an embodiment of the present application, if after traversing each POP in the target POP group and simulating the removal of tenants in each POP whose tenant priority is lower than the priority of the target tenant, there is no POP in each POP whose current available capacity meets the required capacity of the target tenant, then all tenants on the target POP group will be treated as tenants to be adjusted.

[0095] First, the priorities of the tenants to be adjusted are sorted, and the total capacity of each POP in the target POP group is sorted.

[0096] Then, based on the priority of each tenant to be adjusted, determine that the POP required to be occupied by the tenant with the highest priority to be adjusted is the POP with the largest total capacity in the target POP group, until the current available capacity of the POP does not meet the capacity required by the tenant with the highest priority to be adjusted;

[0097] Finally, if there are tenants who do not occupy POPs after all POPs are occupied, based on the priority of the tenants who do not occupy POPs and the current available capacity of each POP, the tenants who do not occupy POPs will be allocated to POPs whose current available capacity meets the capacity required by the tenants.

[0098] That is to say, if no POP whose current available capacity meets the required capacity of the target tenant is found in the target POP group, and after simulating the removal of tenants whose tenant priorities are lower than the target tenant priorities, the current available capacity of each POP still does not meet the required capacity of the target tenant, the tenant occupancy information on all POP link information maintained by the Leader is sorted according to the tenant priority, and the POP link capacity information maintained in the Leader is cleared at the same time, that is, the Leader only maintains the maximum service capacity information (fixed value) of each POP link, and the POPs in the POP group are re-occupied according to the Pr i The POP with the largest capacity (maximum service carrying capacity) is occupied first. When the POP cannot meet the tenant's capacity requirements, the next POP with the largest capacity is selected for occupation, and the occupation is carried out in turn until all POPs are occupied. The remaining low-priority tenants are sorted by tenant priority and POP with the largest remaining capacity, and the POPs are occupied one by one in the above manner until all tenants are occupied.

[0099] For example, if the maximum service capacity of POP1 is greater than the maximum service capacity of POP2, and the maximum service capacity of POP2 is greater than the maximum service capacity of POP3, and the priorities of tenants 1-tenant n are arranged from high to low, then after simulating tenant 1 occupying POP1, simulate and calculate the current available capacity of POP1 to determine whether it meets the capacity required by tenant 2. If it does, tenant 2 simulates occupying POP1, and then continues to simulate and calculate the current available capacity of POP1 to determine whether it meets the capacity required by tenant 3. If it is determined that it does not meet the capacity at this time, the operation of tenant 3 occupying POP2 is executed, ... In this way, tenants with higher priorities are concentrated on POPs with larger maximum service capacity of the department. When new tenants need to access the POP group later, the access complexity can be reduced as much as possible. If the priority of the new tenant is lower than that of all tenants who have accessed a certain POP, there is no need to adjust the access of the high-priority tenant to the POP.

[0100] When the POP capacity occupancy in the POP group changes, for example, a tenant cancels access to the POP group, the POP link quality changes, or the Other occupancy increases. If the POP is a Follower, it will synchronize the information to the Leader. After receiving the message, the Leader will make unified adjustments to the occupancy in the POP group. The adjustment strategy is as follows:

[0101] If the capacity of all POPs in a POP group can meet the capacity requirements of the tenants they carry, no adjustment is made.

[0102] If some POPs in a POP group cannot meet the capacity requirements of the tenants they carry, all tenants on the POP group will be treated as tenants to be adjusted and POP occupancy will be adjusted.

[0103] Based on the same inventive concept as the above-mentioned embodiment of the invention, for example, refer to Figure 3 FIG. 1 is a schematic diagram of a structure of a tenant access adjustment device provided in an embodiment of the present application, the device comprising:

[0104] The judging unit 30 is used to judge whether there is a POP in the target POP group whose current available capacity meets the capacity required by the target tenant according to the capacity required by the target tenant and the current available capacity of each POP in the target POP group when it is detected that the target tenant needs to access the target access site POP group;

[0105] The determining unit 31 is used to determine the POP whose current available capacity meets the capacity required by the target tenant as the target POP for accessing the target tenant if the determining unit 30 determines that the POP exists.

[0106] The sending unit 32 is used to send access indication information to the target POP, so that the target POP instructs the access device corresponding to the target tenant to set the priority access POP of the target tenant as the target POP.

[0107] Optionally, the device further comprises:

[0108] An adding unit, if the determining unit 30 determines that there is no POP in the target POP group whose current available capacity satisfies the capacity required by the target tenant, the adding unit is used to add the target tenant to the list of tenants to be adjusted;

[0109] The adjusting unit is configured to perform the following operations in sequence for each tenant included in the list of tenants to be adjusted until the list of tenants to be adjusted is empty:

[0110] The currently available capacity of each POP in the target POP group is arranged in descending order, and for the POP with the largest currently available capacity in the target POP group, the POP is sorted according to the priority of each tenant connected to the POP;

[0111] Simulate the removal of the tenants with the lowest priority one by one until the current available capacity of the POP meets the capacity required by the tenants to be adjusted, remove at least one tenant that has been simulated to be removed from the POP, and add the at least one tenant to the list of tenants to be adjusted;

[0112] The POP is determined as the target POP for accessing the tenant to be adjusted.

[0113] Optionally, the adjustment unit is further used for:

[0114] If the current available capacity of the POP still does not meet the capacity required by the tenant to be adjusted after all tenants in the POP whose priority is lower than the priority of the tenant to be adjusted are simulated to be removed, the POP is added to the exclusion POP list, and after being excluded from the target POP group, the POP with the largest current available capacity in the target POP group is sorted according to the priority of each tenant connected to the POP; the tenants with the lowest priority are simulated to be removed one by one until the current available capacity of the POP meets the capacity required by the tenant to be adjusted, at least one tenant that has been simulated to be removed is removed from the POP, and the at least one tenant is added to the list of tenants to be adjusted; and the POP is determined as the target POP to connect to the tenant to be adjusted.

[0115] Optionally, the adjustment unit is further used for:

[0116] If after traversing each POP in the target POP group and simulating the removal of tenants whose tenant priority is lower than that of the target tenant in each POP, there is no POP in each POP whose current available capacity meets the required capacity of the target tenant, then all tenants in the target POP group are treated as tenants to be adjusted;

[0117] Sort the priorities of the tenants to be adjusted, and sort the total capacity of each POP in the target POP group;

[0118] Based on the priority of each tenant to be adjusted, determine that the POP required to be occupied by the tenant with the highest priority to be adjusted is the POP with the largest total capacity in the target POP group, until the current available capacity of the POP does not meet the capacity required by the tenant with the highest priority to be adjusted;

[0119] If there are tenants who do not occupy POPs after all POPs are occupied, based on the priority of the tenants who do not occupy POPs and the current available capacity of each POP, the tenants who do not occupy POPs will be allocated to POPs whose current available capacity meets the capacity required by the tenants.

[0120] Optionally, the sending unit 32 is also used to send access indication information to each POP respectively, wherein the access indication information includes tenant information accessed by the POP, so that each POP instructs the access device corresponding to each tenant to set the priority access POP of each tenant to the POP based on the tenant information that it needs to access.

[0121] The above units may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital singnal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a certain unit above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes. For another example, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0122] Furthermore, the tenant access adjustment device provided in the embodiment of the present application, from the hardware level, the hardware architecture diagram of the tenant access adjustment device can be seen in Figure 4 As shown, the tenant access adjustment device may include: a memory 40 and a processor 41,

[0123] The memory 40 is used to store program instructions; the processor 41 calls the program instructions stored in the memory 40 and executes the above method embodiment according to the obtained program instructions. The specific implementation method and technical effect are similar and will not be repeated here.

[0124] Optionally, the present application also provides a tenant access adjustment device, comprising at least one processing element (or chip) for executing the above method embodiment.

[0125] Optionally, the present application also provides a program product, such as a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the above method embodiments.

[0126] Here, the machine-readable storage medium may be any electronic, magnetic, optical or other physical storage device that may contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium may be: RAM (RadomAccess Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as CD, DVD, etc.), or similar storage medium, or a combination thereof.

[0127] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.

[0128] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0129] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0130] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0131] Moreover, these computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0132] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0133] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A tenant access adjustment method, characterized in that: The method comprises: When it is detected that the target tenant needs to access the target access site POP group, judging whether there is a POP in the target POP group whose current available capacity meets the capacity required by the target tenant according to the capacity required by the target tenant and the current available capacity of each POP in the target POP group; If so, determine the POP whose current available capacity meets the capacity required by the target tenant as the target POP for accessing the target tenant; Access indication information is sent to the target POP, so that the target POP instructs the access device corresponding to the target tenant to set the priority access POP of the target tenant as the target POP.

2. The method according to claim 1, characterized in that The method further comprises: If it is determined that there is no POP in the target POP group whose current available capacity meets the capacity required by the target tenant, the target tenant is added to the list of tenants to be adjusted; For each tenant included in the list of tenants to be adjusted, perform the following operations in sequence until the list of tenants to be adjusted is empty: The currently available capacity of each POP in the target POP group is arranged in descending order, and for the POP with the largest currently available capacity in the target POP group, the POP is sorted according to the priority of each tenant connected to the POP; Simulate the removal of the tenants with the lowest priority one by one until the current available capacity of the POP meets the capacity required by the tenants to be adjusted, remove at least one tenant that has been simulated to be removed from the POP, and add the at least one tenant to the list of tenants to be adjusted; The POP is determined as the target POP for accessing the tenant to be adjusted.

3. The method according to claim 2, characterized in that The method further comprises: If the current available capacity of the POP still does not meet the capacity required by the tenant to be adjusted after all tenants in the POP whose priority is lower than the priority of the tenant to be adjusted are simulated to be removed, the POP is added to the exclusion POP list, and after being excluded from the target POP group, the POP with the largest current available capacity in the target POP group is sorted according to the priority of each tenant connected to the POP; the tenants with the lowest priority are simulated to be removed one by one until the current available capacity of the POP meets the capacity required by the tenant to be adjusted, at least one tenant that has been simulated to be removed is removed from the POP, and the at least one tenant is added to the list of tenants to be adjusted; and the POP is determined as the target POP to connect to the tenant to be adjusted.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: If after traversing each POP in the target POP group and simulating the removal of tenants whose tenant priority is lower than that of the target tenant in each POP, there is no POP in each POP whose current available capacity meets the required capacity of the target tenant, then all tenants in the target POP group are treated as tenants to be adjusted; Sort the priorities of the tenants to be adjusted, and sort the total capacity of each POP in the target POP group; Based on the priority of each tenant to be adjusted, determine that the POP required to be occupied by the tenant with the highest priority to be adjusted is the POP with the largest total capacity in the target POP group, until the current available capacity of the POP does not meet the capacity required by the tenant with the highest priority to be adjusted; If there are tenants who do not occupy POPs after all POPs are occupied, based on the priority of the tenants who do not occupy POPs and the current available capacity of each POP, the tenants who do not occupy POPs will be allocated to POPs whose current available capacity meets the capacity required by the tenants.

5. The method according to claim 4, characterized in that The method further comprises: Access indication information is sent to each POP respectively, wherein the access indication information includes the tenant information accessed by the POP, so that each POP instructs the access device corresponding to each tenant to set the priority access POP of each tenant to the POP based on the tenant information it needs to access.

6. A tenant access adjustment device, characterized in that: The device comprises: A judging unit, configured to, when detecting that a target tenant needs to access a target access site POP group, judge whether there is a POP in the target POP group whose current available capacity satisfies the capacity required by the target tenant according to the capacity required by the target tenant and the current available capacity of each POP in the target POP group; A determination unit, if the determination unit determines that there is, the determination unit is used to determine a POP whose current available capacity meets the capacity required by the target tenant as a target POP for accessing the target tenant; A sending unit is used to send access indication information to the target POP, so that the target POP instructs the access device corresponding to the target tenant to set the priority access POP of the target tenant as the target POP.

7. The device according to claim 6, characterized in that The device also includes: an adding unit, wherein if the judging unit determines that there is no POP in the target POP group whose current available capacity satisfies the capacity required by the target tenant, the adding unit is used to add the target tenant to the list of tenants to be adjusted; The adjusting unit is configured to perform the following operations in sequence for each tenant included in the list of tenants to be adjusted until the list of tenants to be adjusted is empty: The currently available capacity of each POP in the target POP group is arranged in descending order, and for the POP with the largest currently available capacity in the target POP group, the POP is sorted according to the priority of each tenant connected to the POP; Simulate the removal of the tenants with the lowest priority one by one until the current available capacity of the POP meets the capacity required by the tenants to be adjusted, remove at least one tenant that has been simulated to be removed from the POP, and add the at least one tenant to the list of tenants to be adjusted; The POP is determined as the target POP for accessing the tenant to be adjusted.

8. The device according to claim 7, characterized in that The adjustment unit is also used for: If the current available capacity of the POP still does not meet the required capacity of the tenant to be adjusted after all tenants with lower priority than the tenant to be adjusted in the POP are simulated and removed, the POP is added to the exclusion POP list, and after being excluded from the target POP group, the POP with the largest current available capacity in the target POP group is sorted according to the priority of each tenant connected to the POP; Simulate the removal of the tenants with the lowest priority one by one until the current available capacity of the POP meets the required capacity of the tenants to be adjusted, remove at least one tenant that has been simulated to be removed from the POP, and add the at least one tenant to the list of tenants to be adjusted; and determine the POP as the target POP to access the tenants to be adjusted.

9. The device according to any one of claims 6 to 8, characterized in that: The adjustment unit is also used for: If after traversing each POP in the target POP group and simulating the removal of tenants whose tenant priority is lower than that of the target tenant in each POP, there is no POP in each POP whose current available capacity meets the required capacity of the target tenant, then all tenants in the target POP group are treated as tenants to be adjusted; Sort the priorities of the tenants to be adjusted, and sort the total capacity of each POP in the target POP group; Based on the priority of each tenant to be adjusted, determine that the POP required to be occupied by the tenant with the highest priority to be adjusted is the POP with the largest total capacity in the target POP group, until the current available capacity of the POP does not meet the capacity required by the tenant with the highest priority to be adjusted; If there are tenants who do not occupy POPs after all POPs are occupied, based on the priority of the tenants who do not occupy POPs and the current available capacity of each POP, the tenants who do not occupy POPs will be allocated to POPs whose current available capacity meets the capacity required by the tenants.

10. The device according to claim 9, characterized in that The sending unit is also used to send access indication information to each POP respectively, wherein the access indication information includes tenant information accessed by the POP, so that each POP instructs the access device corresponding to each tenant to set the priority access POP of each tenant to the POP based on the tenant information it needs to access.

11. A tenant access adjustment device, characterized in that: The tenant access adjustment device comprises: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory, and execute the steps of the method according to any one of claims 1 to 5 according to the obtained program instructions.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • DNS resolution using link-level capacity of destination systems

    CN111345012A

  • Tenant-oriented server cluster resource quota adjustment method, device and equipment

    CN115981852A

  • Routing and capacity management system for co-located streaming service

    US11736544B1

  • Capacity resolver for point of presence (POP) systems

    US11847486B1

  • Request routing utilizing point of presence load information

    US9525659B1