Gateway management method and device, computer device, storage medium and program product
By determining the target resource carrying capacity and consumption value of service elements in the cloud network platform, and constructing the association between tenants and target service elements, the problem of inflexibility in traditional tenant gateway allocation methods is solved, and efficient tenant gateway allocation and operation and maintenance optimization are achieved.
Patent Information
- Application Number
- CN202411768392.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2044-12-04
AI Technical Summary
Traditional technologies do not provide flexible tenant gateway allocation methods and fail to consider the size of the tenant and the actual load of the TGW, which may result in tenants being assigned to gateways that already have too many tenants.
By determining the target resource carrying capacity and resource consumption value of service elements, the association between the tenants to be assigned and the target service elements is constructed, enabling flexible tenant gateway allocation.
It enables accurate allocation of tenants based on the carrying capacity of service elements, improves the flexibility and efficiency of tenant gateway allocation, reduces unnecessary migration operations during the operation and maintenance phase, and enhances operation and maintenance efficiency and quality.
Smart Images

Figure CN119520289B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of cloud computing, and in particular to a gateway management method and device, computer equipment, a storage medium and a program product. BACKGROUND
[0002] With the development of cloud computing technology, CNP (Cloud Network Platform) appears, which includes a tenant gateway, a general server and a virtual network element server, wherein the tenant gateway can be directly deployed using the general server, or the tenant gateway can also be deployed using the virtual network element server built on the general server. Generally, a corresponding tenant can be allocated to the tenant gateway, so that the tenant accesses the cloud network platform through the tenant gateway.
[0003] In the prior art, when allocating a tenant to a tenant gateway, a polling sharing method is used for tenant allocation and management. However, the allocation method in the prior art is not flexible enough. SUMMARY
[0004] Therefore, it is necessary to provide a gateway management method, device, computer equipment, storage medium and program product capable of improving the flexibility of tenant gateway allocation.
[0005] In a first aspect, the present application provides a gateway management method, which is applied to a cloud network platform; the method comprises:
[0006] For each service element in the cloud network platform, a target resource carrying value of the service element is determined according to a resource carrying value of the service element and a number of servers in the cloud network platform;
[0007] At least one target service element is determined from each service element according to a target resource carrying value and a resource consumption value of each service element;
[0008] An association relationship between a to-be-allocated tenant and a gateway corresponding to the at least one target service element is constructed.
[0009] In one embodiment, the target resource carrying value of the service element is determined according to the resource carrying value of the service element and the number of servers in the cloud network platform, comprising:
[0010] An initial resource carrying value of the service element is obtained according to the resource carrying value of the service element and a preset first weight adjustment value;
[0011] The target resource carrying value is determined according to the initial resource carrying value and the number of servers.
[0012] In one of the embodiments, the server comprises a general server and a virtual network element server, and the determining the target resource carrying value according to the initial resource carrying value and the number of the servers comprises:
[0013] obtaining the resource carrying value of the general server according to the number of the general server and a preset second weight adjustment value;
[0014] obtaining the resource carrying value of the virtual network element server according to the number of the virtual network element server and a preset third weight adjustment value;
[0015] determining the target resource carrying value as the sum of the initial resource carrying value, the resource carrying value of the general server and the resource carrying value of the virtual network element server.
[0016] In one of the embodiments, the determining at least one target service element from each of the service elements according to the target resource carrying value and the resource consumption value of each of the service elements comprises:
[0017] determining the resource remaining value of each of the service elements according to the target resource carrying value and the resource consumption value of each of the service elements;
[0018] determining the target service element from each of the service elements according to the resource remaining value of each of the service elements.
[0019] In one of the embodiments, the method further comprises:
[0020] obtaining version information of each of the service elements;
[0021] in a case where the version information is updated, updating the target resource carrying value of each of the service elements according to the updated version information.
[0022] In one of the embodiments, the method further comprises:
[0023] if the resource remaining value of the virtual network element server in the cloud network platform is not greater than a preset resource amount threshold value, and the resource remaining value of the general server corresponding to the virtual network element server is greater than the preset resource amount threshold value, performing capacity expansion processing on the virtual network element server, and generating label information of the expanded virtual network element server; the label information is used to represent that the expanded virtual network element server has not been tested;
[0024] testing the expanded virtual network element server to obtain a test result of the expanded virtual network element server; the test result is used to represent whether the test of the expanded virtual network element server passes;
[0025] According to the capacity value of the expanded virtual network element server passed the test, the resource carrying value of each service element is updated.
[0026] In a second aspect, the present application further provides a gateway management device, comprising:
[0027] A first determining module is configured to determine, for each service element in a cloud network platform, a target resource carrying value of the service element according to a resource carrying value of the service element and a number of servers in the cloud network platform.
[0028] A second determining module is configured to determine at least one target service element from each service element according to a target resource carrying value and a resource consumption value of each service element.
[0029] A constructing module is configured to construct an association relationship between a to-be-allocated tenant and a gateway corresponding to the at least one target service element.
[0030] In a third aspect, the present application further provides a computer device. The computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method in any one of the embodiments of the first aspect when executing the computer program.
[0031] In a fourth aspect, the present application further provides a computer readable storage medium. The computer readable storage medium stores a computer program, and the computer program implements the steps of the method in any one of the embodiments of the first aspect when executed by a processor.
[0032] In a fifth aspect, the present application further provides a computer program product. The computer program product comprises a computer program, and the computer program implements the steps of the method in any one of the embodiments of the first aspect when executed by a processor.
[0033] The gateway management method, device, computer device, storage medium and program product can index each service element in the cloud network platform, determine the target resource carrying value of the service element according to the resource carrying value of the service element and the number of servers in the cloud network platform, determine at least one target service element from each service element according to the target resource carrying value and the resource consumption value of each service element, and construct the association relationship between the to-be-assigned tenant and the at least one target service element. The embodiment of the present application can index each service element in the cloud network platform, that is, the target resource carrying value of the service element can be accurately determined, so that the target service element whose carrying capacity of the tenant is higher than the preset capacity threshold can be accurately determined from the service element according to the accurate target resource carrying value and the resource consumption value of each service element. In this way, the to-be-assigned tenant can be only assigned to the target service element whose carrying capacity of the tenant is higher than the preset capacity threshold, so that the tenant gateway can be flexibly assigned according to the carrying capacity of each service element. BRIEF DESCRIPTION OF DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the drawings needed to be used in the description of the embodiments of the present application or the related art will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other related drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.
[0035] Figure 1 The application environment diagram of the gateway management method in an embodiment;
[0036] Figure 2 The flowchart of the gateway management method in an embodiment;
[0037] Figure 3 The flowchart of the target resource carrying value determination step in an embodiment;
[0038] Figure 4 The schematic diagram of the capacity view in an embodiment;
[0039] Figure 5 The flowchart of the gateway management method in another embodiment;
[0040] Figure 6 The structural block diagram of the gateway management device in an embodiment;
[0041] Figure 7 The internal structure diagram of the computer device in an embodiment. DETAILED DESCRIPTION
[0042] In order to make the purposes, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and not intended to limit the present application.
[0043] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of this application; the terms "comprising," "comprises" and "including" as used herein are synonymous with and meant to have the same meaning as the term "including"; the term "including" as used herein is meant to be equivalent to the term "comprising" and is used in the same way.
[0044] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "a plurality of" is two or more, unless otherwise explicitly and specifically limited.
[0045] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearance of the phrase in various places in the specification does not necessarily all refer to the same embodiment, nor is it necessarily independent or alternative embodiments to each other. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0046] With the development of cloud computing technology, CNP (Cloud Network Platform) appears, the CNP includes a tenant gateway (TGW), a general server and a virtual network element server, and the like. The tenant gateway can be directly deployed by using the general server, or the tenant gateway can also be deployed by using the virtual network element server built on the general server. Generally, the tenant gateway can be allocated a corresponding tenant, so that the tenant accesses the cloud network platform through the tenant gateway.
[0047] In the prior art, when the tenant gateway is allocated a tenant, the tenant allocation and management are performed in a round-robin sharing manner. However, when the tenant gateway is allocated in the prior art, the size of the tenant and the actual carrying load of the TGW are not considered, so that the tenant can still be allocated to the TGW that has carried many tenants. Therefore, the allocation manner is not flexible enough when the tenant gateway is allocated in the prior art.
[0048] After the background technology of the gateway management method provided by the embodiments of the present application is introduced above, the implementation environment related to the gateway management method provided by the embodiments of the present application will be briefly described below. The gateway management method provided by the embodiments of the present application can be applied to a cloud network platform as shown in Figure 1 The cloud network platform includes an SDN (Software Defined Network) controller 11, a tenant gateway (TGW) 12, a general server 13, and a virtual network element server 14, etc. The tenant gateway 12 can be directly deployed using the general server 13, or the tenant gateway 12 can also be deployed using the virtual network element server 14 built on the general server 13. The SDN controller 11, the tenant gateway 12, the general server 13, and the virtual network element server 14 can communicate, transmit data, and interact information, etc. Each server in the cloud network platform can be an independent general server, a server cluster or a distributed system composed of multiple general servers, or a cloud server providing cloud computing services. For example, each general server can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things device can be a smart speaker, a smart television, a smart air conditioner, a smart vehicle device, a projection device, etc. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc.
[0049] Those skilled in the art can understand that Figure 1 the structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the distributed storage system to which the scheme of the present application is applied. The specific distributed storage system can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0050] In one embodiment, as shown in Figure 2 , a gateway management method is provided. Taking the cloud network platform in Figure 1 as an example, the method includes the following steps:
[0051] S201, for each service element in the cloud network platform, determining a target resource carrying value of the service element according to a resource carrying value of the service element and a number of servers in the cloud network platform.
[0052] The service element refers to a basic element used by a cloud computing resource pool to provide cloud network services. The service element can include, but is not limited to, a resource pool, a general server, a physical network device, a virtual network element server constructed based on a physical network element server, and the like. The resource pool is a collection of various software and hardware in the cloud network platform. The general server refers to a general physical network element server. The virtual network element server refers to a virtual TGW constructed on the general server. The tenant gateway (TGW) refers to a gateway corresponding to each tenant in the cloud network. The tenant gateway is used to realize the function of tenant access to the network. The tenant refers to a customer terminal in the cloud network platform. Of course, the service element can be formulated according to the actual cloud network implementation scheme of a specific cloud service provider, the inside and outside situation of the resource pool, the marketing strategy, the operation and maintenance criterion, and the like. The embodiment of the present application does not limit the service element. For example, Table 1 is an example of each service element, each service element corresponding element index, and a quantitative basis for quantifying each element index in an example embodiment.
[0053] Table 1
[0054]
[0055]
[0056] Based on the above Table 1, it is known that, for example, the element index can include, but is not limited to, important capability indexes of the physical server itself (such as CPU, memory, network card, local storage, GPU, and the like), network-related resources (such as export bandwidth, internal business network bandwidth, remote storage resources, and the like), the size of the resource pool, physical network devices (such as underlying physical switches, routing devices, and the like), the number of public network addresses of the configured resource pool, geographical distribution, main service objects, the positioning of the resource pool by the enterprise, and the like, virtualization strategies (such as deployment methods, resource over-allocation ratios, different opening specifications, and the like), deployed operating systems, network element versions, and the like.
[0057] The resource carrying value refers to an index quantization value obtained by performing preliminary index processing on the total carrying capacity of the tenants of the service element. The resource carrying value is used to represent the physical hard strength of each service element. The target resource carrying value is used to represent the overall service capacity and health degree of the service element, that is, the target resource carrying value reflects the total carrying capacity of the tenants of the service element.
[0058] In the embodiment of the present application, in combination with the above Table 1, for each service element in the cloud network platform, the cloud network platform can determine at least one element index corresponding to the service element, and a quantification basis for quantifying each element index, and can perform index processing on the service element according to the at least one element index corresponding to the service element and the quantification basis corresponding to each element index, to obtain a resource carrying value of the service element. In addition, the cloud network platform can also obtain the number of servers in the cloud network platform. Therefore, optionally, the cloud network platform can directly determine the target resource carrying value of the service element according to the resource carrying value of the service element and the number of servers in the cloud network platform; or the cloud network platform can also comprehensively determine the target resource carrying value of the service element according to the resource carrying value of the service element and the number of servers in the cloud network platform, in combination with the weight set by the administrator device in the cloud network platform. Of course, the embodiment of the present application does not limit the specific implementation mode of determining the target resource carrying value of the service element.
[0059] S202, determining at least one target service element from each service element according to the target resource carrying value and the resource consumption value of each service element.
[0060] In the embodiment of the present application, optionally, the cloud network platform can sort each service element according to the target resource carrying value and the resource consumption value of each service element, to obtain a sorting result of each service element, so that at least one target service element can be determined from each service element according to the sorting result of each service element; or the cloud network platform can also determine the resource residual value of each service element according to the target resource carrying value and the resource consumption value of each service element, so that at least one target service element can be determined from each service element according to the resource residual value of each service element. Of course, the embodiment of the present application does not limit the specific implementation mode of determining the target service element. The resource consumption value refers to the quantification value of the resource consumed by the tenant in the service element, and the target service element refers to the service element whose capacity carrying the tenant is higher than the preset capacity threshold.
[0061] S203, constructing an association relationship between the to-be-assigned tenant and the gateway corresponding to the at least one target service element.
[0062] In the embodiment of the present application, the cloud network platform can deploy the tenant gateway using the at least one target service element, and can construct an association relationship between the to-be-assigned tenant and the tenant gateway corresponding to the at least one target service element, so that the corresponding tenant can be assigned to the tenant gateway, so that the tenant can access the cloud network platform through the corresponding tenant gateway. The to-be-assigned tenant refers to the tenant who needs to access the cloud network platform through the tenant gateway, and the association relationship can be understood as the communication connection relationship between the to-be-assigned tenant and the tenant gateway corresponding to the target service element.
[0063] In the gateway management method, for each service element in the cloud network platform, a target resource carrying value of the service element is determined according to a resource carrying value of the service element and a number of servers in the cloud network platform; at least one target service element is determined from the service elements according to the target resource carrying value and a resource consumption value of each service element; and an association relationship between the to-be-assigned tenant and at least one target service element corresponding to the gateway is constructed. The embodiment of the application can index each service element in the cloud network platform, that is, the target resource carrying value of the service element can be accurately determined, so that the target service element whose carrying capacity of the tenant is higher than a preset capacity threshold can be accurately determined from the service elements according to the accurate target resource carrying value and the resource consumption value of each service element. In this way, the to-be-assigned tenant can be assigned only to the target service element whose carrying capacity of the tenant is higher than the preset capacity threshold, so that the tenant gateway can be flexibly assigned according to the carrying capacity of each service element.
[0064] In one embodiment, an implementation of determining the target resource carrying value of the service element is provided, that is, the "determining the target resource carrying value of the service element according to the resource carrying value of the service element and the number of servers in the cloud network platform" in S201 is as shown in the following S301-S302. Figure 3
[0065] S301, obtaining an initial resource carrying value of the service element according to the resource carrying value of the service element and a preset first weight adjustment value.
[0066] In the embodiment of the application, the cloud network platform can determine at least one element index corresponding to the service element, and a quantization basis for quantifying each element index, and can index the service element according to the at least one element index corresponding to the service element and the quantization basis corresponding to each element index, to obtain the resource carrying value of the service element. In addition, the cloud network platform can also obtain a preset first weight adjustment value set by the administrator device in the cloud network platform. Therefore, the cloud network platform can adjust the resource carrying value of the service element by using the preset first weight adjustment value, to obtain the initial resource carrying value of the service element.
[0067] S302, determining the target resource carrying value according to the initial resource carrying value and the number of servers.
[0068] Optionally, the cloud network platform can directly determine the target resource carrying value of the service element according to the initial resource carrying value of the service element and the number of servers in the cloud network platform; or the cloud network platform can also comprehensively determine the target resource carrying value of the service element according to the initial resource carrying value of the service element and the number of servers in the cloud network platform, in combination with the weight set by the administrator device in the cloud network platform. Of course, the specific implementation manner of determining the target resource carrying value of the service element is not limited in the embodiment of the application.
[0069] In the embodiment, the initial resource carrying value of the service element can be accurately obtained according to the resource carrying value of the service element and the preset first weight adjustment value, so that the target resource carrying value for representing the total carrying capacity of the service element for tenants can be accurately determined according to the initial resource carrying value and the number of servers.
[0070] In one embodiment, the server can include a general server and a virtual network element server, based on which an implementation manner of determining the target resource carrying value is provided, that is, the "determining the target resource carrying value according to the initial resource carrying value and the number of servers" in the above S302, including:
[0071] According to the number of general servers and the preset second weight adjustment value, the resource carrying value of the general server is obtained.
[0072] According to the number of virtual network element servers and the preset third weight adjustment value, the resource carrying value of the virtual network element server is obtained.
[0073] The sum of the initial resource carrying value, the resource carrying value of the general server and the resource carrying value of the virtual network element server is determined as the target resource carrying value.
[0074] In the embodiments of the present application, the server can include, but is not limited to, a general server and a virtual network element server, and the cloud network platform can further acquire a preset second weight adjustment value and a preset third weight adjustment value set by an administrator device in the cloud network platform. Based on this, the cloud network platform can adjust the number of general servers by using the preset second weight adjustment value, acquire a resource bearing value of the general server, and adjust the number of virtual network element servers by using the preset third weight adjustment value, and acquire a resource bearing value of the virtual network element server. Of course, the present application does not limit the order of acquiring the resource bearing value of the general server and the resource bearing value of the virtual network element server. Thus, the cloud network platform can sum the initial resource bearing value, the resource bearing value of the general server, and the resource bearing value of the virtual network element server, and determine the sum of the initial resource bearing value, the resource bearing value of the general server, and the resource bearing value of the virtual network element server as a target resource bearing value.
[0075] For example, assuming that the service elements include a resource pool, a general server, and a virtual network element server, then the capability value Pr (i.e., the target resource bearing value) of the resource pool level can be calculated according to all element indicators of the service elements, the capability value Pp of the general server can be calculated according to the related element indicators of the general server, and the capability value Pv of the virtual network element server can be calculated according to the related element indicators of the virtual network element server. The specific determination formula of the target resource bearing value is shown in the following formula (1).
[0076] Pr = ∑ fn(En) + w(HR) +∑ Cpn×wn(HPn) + ∑ Cvn×wn(HVn) (1)
[0077] Wherein, Pr represents the capability value of the whole resource pool (i.e. the target resource carrying value), fn(En) represents the service element capability value (i.e. the resource carrying value of the nth service element) obtained by the index processing of the nth resource pool element index according to the corresponding quantification basis, and the accumulation of each service element capability value (i.e. ∑ fn(En)) constitutes the main part of the overall capability of the resource pool, which is also the materialized capability of the resource pool. The service elements corresponding to the resource pool include the resource pool, general server, virtual network element server (such as TGW virtual machine), controller and other system software and middleware in Table 1. w(HR) represents the first weight adjustment value of the administrator device for the overall capability value of the resource pool. Cpn represents the number of the nth type of general server, wn(HPn) represents the second weight adjustment value of the administrator device for the nth type of general server element capability value, and ∑ Cpn×wn(HPn) represents the accumulation of the product of Cpn and wn(HPn), which represents the weight adjustment of the administrator device to all general physical server element capability values, i.e. the resource carrying value of the general server represents the adjusted capability value of the general physical server. Cvn represents the number of the nth type of virtual network element server, wn(HVn) represents the third weight adjustment value of the administrator device for the nth type of virtual network element server element capability value, and ∑ Cvn×wn(HVn) represents the accumulation of the product of Cvn and wn(HVn), which represents the weight adjustment of the administrator device to all virtual network element server element capability values, i.e. the resource carrying value of the virtual network element server represents the adjusted capability value of the virtual network element server. In addition, considering that the network element server (whether in physical or virtual form) may be used in a primary and backup manner, the related capability values can also be defined according to the business needs in the form of a pair of physical or virtual network element servers, of course, the embodiments of the present application do not limit this.
[0078] In the embodiment, the resource carrying value of the general server is obtained according to the number of general servers and the preset second weight adjustment value, the resource carrying value of the virtual network element server is obtained according to the number of virtual network element servers and the preset third weight adjustment value, and the sum of the initial resource carrying value, the resource carrying value of the general server and the resource carrying value of the virtual network element server is determined as the target resource carrying value. By index processing the service elements by the above method, important factors closely related to the cloud network among the complex internal and external related factors of the cloud resource pool can be identified and quantitatively processed, forming an intuitive quantitative view, which is used to represent the overall service capability and health degree of the resource pool, can provide insight into the efficient and continuous operation of the resource pool, and can automatically generate resource pool operation and maintenance suggestions and execution plans for reference by the operation and maintenance personnel.
[0079] In one embodiment, there is provided a method for determining a target service element, i.e., "determining at least one target service element from the service elements according to the target resource bearing value and the resource consumption value of each service element" in S202 above, comprising:
[0080] determining a resource residual value of each service element according to the target resource bearing value and the resource consumption value of each service element.
[0081] determining a target service element from the service elements according to the resource residual value of each service element.
[0082] In the present embodiment, the resource consumption value refers to the quantitative value of the resources consumed by the tenants in the service element. In the present embodiment, the tenants can also be referred to as service objects. That is, the service objects are the profit sources of the cloud service provider and are also the objects that generate cloud service resource consumption. Of course, the service objects can be determined according to the marketing strategy and operation criteria of the specific cloud service provider, and the present embodiment does not limit the service elements. For example, Table 2 shows an example of each service object, each service object corresponding element index, and the quantitative basis for quantifying each element index.
[0083] Table 2
[0084]
[0085] In the present embodiment, as shown in Table 2 above, the cloud network platform can determine at least one element index corresponding to the service object and the quantitative basis for quantifying each element index, and can perform index processing on the service element according to the at least one element index corresponding to the service object and the quantitative basis corresponding to each element index, i.e., can quantify the resources consumed by the specific user (i.e., the tenant) to provide the service that meets the requirements of the agreed SLA (Service Level Agreement), thereby obtaining the resource consumption value of each service object in the service element.
[0086] For example, the specific determination formula of the resource consumption value of the service object is shown in the following formula (2).
[0087] Ct = ∑gn(Tn) + w(HT) (2)
[0088] Ct=∑gn(Tn)·w(HT) (2)
[0089] Thus, the cloud network platform can determine the resource residual value of each service element according to the target resource bearing value and the resource consumption value of each service element. The resource residual value refers to the resource amount that the service element can still bear for the tenants after the tenants have been borne. For example, the specific determination formula of the resource residual value is shown in the following formula (3).
[0090] H(r, p, v) = P(r, p, v) - ∑Ct (3)
[0091] H(r, p, v) represents the health degree (i.e., the resource residual value) of the service element, which can be at the resource pool level (Hr), at the general server level (Hp), at the virtual network element server level (Hv), or comprehensive consideration of each service element. P(r, p, v) represents the capability value of the service element, which can be at the resource pool level (Pr), at the general server level (Pp), at the virtual network element server level (Pv), or comprehensive consideration of each service element. ∑Ct represents the resource consumption sum (i.e., the resource consumption value) of all tenants borne in the service element, which can be at the resource pool level, at the general server level, at the virtual network element server level, or comprehensive consideration of each service element. It should be noted that the health degree of the service element needs to correspond to the capability value of the service element and the resource consumption value of the service element.
[0092] Then, the cloud network platform can determine the target service element with a resource residual value higher than a preset capability threshold from each service element according to the resource residual value of each service element in real time. In this way, the target service element can be dynamically adjusted when the tenant bearing is unbalanced (for example, the tenant configuration and forwarding service borne by the tenant appear a sharp increase, other TGW borne tenant service retreats, or the customer retreats the pool). The preset capability threshold can be set according to the actual situation, and the specific value of the preset capability threshold is not limited in the embodiments of the present application.
[0093] Based on this, as the SDN system where the SDN controller is located is running for a long time, the tenants carried by the SDN controller are constantly changing, the tenant configuration needs to occupy the memory resources of the network element, and the traffic forwarding of the tenant occupies the CPU resources and internal and external bandwidth resources of the network element. Therefore, it is necessary to understand the actual load status of the current resource pool, general server and virtual network element server, and to reasonably allocate the newly added tenant to the network element with lower load, or to allocate the tenant to a specific network element according to the customer type of the tenant to meet the specific SLA requirements. The embodiments of the present application can determine the health degrees (Hr, Hp and Hv) of the resource pool, general server and virtual network element server by measuring the physical resource occupation and software version capability, for example, for the general server and virtual network element server, if the occupation of the physical resources (such as CPU, memory, disk and network card bandwidth) of the general server or virtual network element server is higher, it means that the load of the general server or virtual network element server is higher and the health degree is lower, and the general server or virtual network element server is less capable of carrying the load of the newly added tenant. For the TGW with the same or similar load, if the software version capability corresponding to the SDN of the TGW is lower, it means that the TGW is less preferred to carry the tenant. In this way, by adding the target resource carrying value, resource consumption value and resource remaining value and the like in the design of the SDN system, the controller of the SDN will determine which general server and virtual network element server will bear the newly added tenant according to the health degrees of the general server and virtual network element server, so as to determine the target service element, which helps to build an SDN system that meets the autonomy requirement, dynamically improves the rationality of tenant resource allocation, reduces unnecessary tenant migration operations in the operation and maintenance stage, and at the same time enables higher operation and maintenance efficiency and quality, and reduces potential operation risks.
[0094] In the embodiments, the resource remaining value of each service element can be determined according to the target resource carrying value and the resource consumption value of each service element, so that the target service element can be determined from each service element according to the resource remaining value of each service element. In this way, appropriate network element resources can be allocated to tenants in combination with the service capability and health degree of each service element, and operation and maintenance suggestions can be provided regularly or on demand according to the dynamic operation of the resource pool.
[0095] In one embodiment, an implementation manner for updating the target resource carrying value of each service element is also provided, that is, the gateway management method further includes:
[0096] Obtaining version information of each service element.
[0097] In the case of determining the version information update, updating the target resource carrying value of each service element according to the updated version information.
[0098] In the related art, due to a large number of online resource pool version combinations, temporary non-standard operation configurations exist in part of the resource pool, and operation and upgrade are difficult, so that the development and operation personnel cannot quickly predict the resource pool capacity and potential problems. For the problems that have occurred in the historical period, the development personnel need to check the relevant documents of the version release and query the known problems of the version to plan the upgrade strategy and upgrade script. However, the document recording mode has various and scattered recording forms, and it is time-consuming and laborious to integrate information, and it is easy to miss and forget, which leads to the problem that the related configurations are lost after the online resource pool upgrade due to the neglect of the existing non-standard operation configuration. The non-standard operation configuration refers to some non-standard settings and operations temporarily customized by the tenant, that is, it can be understood as a temporary and informal implementation for customer needs or a temporary repair of known problems, and the non-standard operation configuration modifies the current version information of the service element.
[0099] Based on this, it is known that the bearing and forwarding capacity of the SDN system depends not only on the overall physical hard capacity of the resource pool, but also greatly on the software system architecture, operating system, middleware and other soft capacity for implementing the software defined network function. Among them, the implementation of the related components of the control plane and the data plane of the SDN system itself is the most variable aspect in the above-mentioned soft capacity, and is also an important output of the software development of the cloud network service provider, and embodies the market competition ability of the cloud network service provider. In the actual resource pool deployment and operation process, different versions of the control plane and the data plane often exist, and in the operation scene of a large number of resource pools and resource pools and a large number of physical and virtual network elements, it is difficult for the administrator to fully understand the software capacity and known defects of the related SDN.
[0100] Therefore, in the design of the SDN system, the embodiments of the present application can consider associating the version of each component of the SDN system and the defects (BUG) confirmed by the version, as a calculation basis for measuring the capacity of the controller and other system software and middleware, network element software version and other resource elements. For example, the more problems that are not solved in the confirmed problems of the current deployed version, the lower the capacity value of the related resource pool and network element; under the same tenant resource and forwarding load, the health degree of the resource pool and the network element is also lower, based on which the optimization strategy of bearing the tenant network element can be realized, that is, to avoid allocating the tenant to the service element with more problems.
[0101] In the embodiments of the present application, for example, as shown in Figure 4 Figure 4 Fig. 1 is a schematic diagram of a capability view in an embodiment. After a new version is released, the SDN system can compare the deployment version in the current system and the latest stable version to form an upgrade suggestion and a dry run step, and record defects and their solutions, result verification, etc. in the defect management system, and add updated version information and resource pool information in the defect management system for reference and evaluation by the operation personnel. The defect management system can include but is not limited to defect description, affected version, fixed version, problem severity, and quick recovery mode in the defect record information. The defect management system is of great significance for the operation personnel to understand the capability of the software version, known defects, and their recovery methods.
[0102] Thus, in combination with Figure 4 The information in the defect management system and the configuration management system can also be used for problem confirmation and data cleaning to form a knowledge base, and the knowledge base can be used to measure the software system architecture and function, operating system, middleware, etc. of the SDN system. In this way, the cloud network platform can obtain the version information of each service element from the knowledge base and determine whether the version information is updated. When it is determined that the version information is updated, the cloud network platform can update the target resource carrying value of each service element according to the updated version information. Further, the overall physical and soft capabilities of the resource pool can be analyzed to obtain the health degree of the resource pool and the capability view of the resource pool. It can be known that the health degree of the resource pool changes with the service capability of each service element and the resource consumption of the carrying tenants.
[0103] In the embodiment, the version information of each service element can be obtained, and when it is determined that the version information is updated, the target resource carrying value of each service element can be updated according to the updated version information. In this way, the knowledge base can be formed based on the defect management system and the configuration management system, and the target resource carrying value of each service element can be updated to obtain the health degree of the resource pool and the capability view of the resource pool, so that the operation team can understand the non-standard operation existing in a certain resource pool and its processing means, and prevent upgrade operation problems caused by neglecting the existence of non-standard operation.
[0104] In one embodiment, an implementation manner for expanding the virtual network element server is also provided, that is, the above-mentioned gateway management method further includes:
[0105] If the resource remaining value of the virtual network element server in the cloud network platform is not greater than the preset resource threshold, and the resource remaining value of the general server corresponding to the virtual network element server is greater than the preset resource threshold, the virtual network element server is expanded, and label information of the expanded virtual network element server is generated; the label information is used to represent that the expanded virtual network element server has not been tested.
[0106] The expanded virtual network element server is tested to obtain a test result of the expanded virtual network element server; the test result is used to represent whether the test of the expanded virtual network element server passes.
[0107] According to the capacity value of the expanded virtual network element server that passes the test, the resource bearing value of each service element is updated.
[0108] In the related art, after the network element server is expanded, the tenant can establish an association relationship with the network element server, however, the network element server at this time may not have been tested, which may lead to the risk of mutual influence between the test operation and the tenant use operation. In addition, for the expansion verification scene of the network element server or the TGW virtual machine, the current main upgrade switching window is at night, so the operation and maintenance and test personnel need to stay up for verification, which not only affects the work efficiency of the relevant personnel during the day, but also affects the speed of expanding and networking to increase the service capability of the resource pool.
[0109] Based on this, the cloud network platform in the embodiments of the present application can monitor whether the resource remaining value of the virtual network element server in the cloud network platform is not greater than the preset resource amount threshold value and whether the resource remaining value of the general server corresponding to the virtual network element server is greater than the preset resource amount threshold value in real time. In the embodiments of the present application, the specific value of the preset resource amount threshold value is not limited. If it is determined that the resource remaining value of the virtual network element server in the cloud network platform is not greater than the preset resource amount threshold value and the resource remaining value of the general server corresponding to the virtual network element server is greater than the preset resource amount threshold value, the cloud network platform can perform capacity expansion processing on the virtual network element server, obtain the expanded virtual network element server, and perform network element initialization operation on the expanded virtual network element server, set the network state of the initialized network element to "f", and generate the label information of the expanded virtual network element server. In the embodiments of the present application, the label information is used to represent that the expanded virtual network element server has not been tested, and the label information can include but is not limited to the network connection flag field, that is, the network connection flag field can be added in the library table related to the general server or the virtual network element server, at this time, the flag of the network connection flag field can be set to "f" (that is, indicating that the network connection is not connected), and the default network connection flag of the stored network element can be set to empty. In addition, the logic of the controller for allocating the tenant network element can also be modified, so that the tenant can only be allocated or migrated to the network element with the network connection flag being empty or "t" (that is, indicating that the network connection is connected). In this way, it can be ensured that only the expanded network element that has been tested, that is, the network connection, can be allocated to the tenant.
[0110] In addition, a test tenant type can be added in the SDN controller, and the tenant type can include, but is not limited to, a combination of shared or exclusive, virtual or physical tenant types, and the like, and a test flag can be added for each tenant type corresponding to the to-be-tested tenant, so that the cloud network platform can call an NFV (Network Functions Virtualization) asynchronous checking mechanism, that is, the running state of the expanded virtual network element server can be obtained from the NFV, so that the to-be-tested tenant carrying the test flag can be used to test the virtual network element server with the grid-in flag "f" in the expanded virtual network element server, so as to obtain the test result of the expanded virtual network element server. The test process can include, but is not limited to, basic function verification of the network element, tenant migration verification, performance test, and the like, and the test result is used to represent whether the test of the expanded virtual network element server passes. Therefore, the cloud network platform can determine the expanded virtual network element server that passes the test, and update the grid-in flag in the label information of the expanded virtual network element server that passes the test to "t". In addition, the resource carrying value of each service element can be updated according to the capacity value of the expanded virtual network element server that passes the test, so as to calculate and update the health degree of the virtual network element server itself and the health degree of the general physical server where the expanded virtual network element server is located. If it is determined that the test of the expanded virtual network element server does not pass, the cloud network platform can determine the subsequent processing strategy according to the error information fed back from the NFV side, for example, the processing strategy can include, but is not limited to, retry, or generating an operation and maintenance alarm due to insufficient resources and being unable to expand, so that the problem that a large amount of invalid operations and invalid data are generated due to the fact that only expansion operation is performed but no feedback checking is performed in the related art, and the expansion operation is still continuously performed in the case that there is no resource on the NFV side, can be avoided, and the night operation and verification burden of the operation and maintenance personnel can be alleviated.
[0111] In the embodiment, a grid connection flag field can be added in a library table related to a general server or a virtual network element server, and a default grid connection flag of an inventory network element can be set as null. In addition, the logic of a controller for allocating a tenant network element can be modified, so that a tenant can only be allocated or migrated to a network element with a grid connection flag of null or "t" (i.e., indicating grid connection). In this way, it can be ensured that only the expansion network element after passing the test, i.e., the grid connection, will be allocated to the tenant. In addition, according to the capacity value of the virtual network element server after expansion and passing the test, the resource carrying value of each service element can be updated, so as to calculate and update the health degree of the virtual network element server itself and the health degree of the general physical server where the virtual network element server after expansion is located in real time. Through the test on the virtual network element server after expansion, not only the problem in the related art due to only expansion operation but no feedback check can be avoided, but also the burden of night operation and verification of the operation and maintenance personnel can be relieved.
[0112] In combination with all the above embodiments, the application further provides a complete gateway management method applied to a cloud network platform, as shown in Figure 5 The method comprises the following steps.
[0113] S501, for each service element in the cloud network platform, an initial resource carrying value of the service element is obtained according to a resource carrying value of the service element and a preset first weight adjustment value;
[0114] S502, a resource carrying value of a general server is obtained according to a number of the general servers and a preset second weight adjustment value;
[0115] S503, a resource carrying value of a virtual network element server is obtained according to a number of the virtual network element servers and a preset third weight adjustment value;
[0116] S504, a sum of the initial resource carrying value, the resource carrying value of the general server and the resource carrying value of the virtual network element server is determined as a target resource carrying value;
[0117] S505, a resource residual value of each service element is determined according to a target resource carrying value and a resource consumption value of each service element;
[0118] S506, a target service element is determined from each service element according to a resource residual value of each service element;
[0119] S507, an association relationship between a to-be-allocated tenant and at least one target service element corresponding to a gateway is constructed;
[0120] S508, version information of each service element is obtained;
[0121] S509, in the case of determining that the version information is updated, updating the target resource carrying value of each service element according to the updated version information;
[0122] S510, if the resource remaining value of the virtual network element server in the cloud network platform is not greater than the preset resource threshold, and the resource remaining value of the general server corresponding to the virtual network element server is greater than the preset resource threshold, the virtual network element server is expanded, and the label information of the expanded virtual network element server is generated; the label information is used to represent that the expanded virtual network element server has not been tested;
[0123] S511, testing the expanded virtual network element server to obtain the test result of the expanded virtual network element server; the test result is used to represent whether the test of the expanded virtual network element server passes;
[0124] S512, updating the resource carrying value of each service element according to the capacity value of the expanded virtual network element server whose test passes.
[0125] In the above gateway management method, for each service element in the cloud network platform, the target resource carrying value of the service element is determined according to the resource carrying value of the service element and the number of servers in the cloud network platform; at least one target service element is determined from each service element according to the target resource carrying value and the resource consumption value of each service element; and the association relationship between the to-be-allocated tenant and the at least one target service element corresponding to the gateway is constructed. The embodiment of the application can perform index processing on each service element in the cloud network platform, that is, the target resource carrying value of the service element can be accurately determined, so that the target service element whose carrying capacity of the tenant is higher than the preset capacity threshold can be accurately determined from the service element according to the accurate target resource carrying value and the resource consumption value of each service element. In this way, the to-be-allocated tenant can be allocated only to the target service element whose carrying capacity of the tenant is higher than the preset capacity threshold, so that the tenant gateway can be allocated flexibly according to the carrying capacity of each service element.
[0126] In summary, the embodiment of the present application proposes an autonomous software-defined network design and operation improvement method, which is used to make the operation mode of the cloud network platform more flexible and autonomous, improve the utilization efficiency of network resources in the cloud, and reduce the daily work burden of operation personnel and improve the operation efficiency and quality. Specifically, by defining and calculating the service capability indexes corresponding to the physical, geographical, social and enterprise-specific related attributes of the general server of the network element and the TGW virtual machine, and dynamically calculating the health degree of each server after carrying the tenant resources, the operation personnel can timely understand the service capability, load condition and system recommended operation strategy of the resource pool, so that the operation personnel can achieve "one pool and one strategy" operation in the scene of differentiated deployment mode and deployment version. In addition, by combining the version information, special configuration information and knowledge base formed based on the existing defect management system in the resource pool, the service capability and potential problem view of the resource pool level are formed, so that the operation personnel can have a clear understanding of the capability of the resource pool before upgrading the resource pool, and some specific non-standardized configurations are not missed, so as to not affect the upgrade experience of the customer, improve the reliability of the upgrade operation, and reduce the probability of negative impact on the user. In addition, by designing and improving the automatic expansion mechanism of the network element, the problems of no feedback during creation and deployment, inability to independently verify after creation, affecting the network connection time and damaging the automatic expansion capability are solved.
[0127] It should be understood that, although each step in the flowchart involved in each of the above embodiments is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each of the above embodiments can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.
[0128] Based on the same inventive concept, the embodiment of the present application also provides a gateway management device for implementing the above-mentioned gateway management method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more gateway management device embodiments provided below can refer to the limitations of the gateway management method in the above text, which will not be repeated here.
[0129] In one exemplary embodiment, as shown in Figure 6 A gateway management device is provided, comprising a first determination module 31, a second determination module 32 and a construction module 33, wherein:
[0130] The first determining module 31 is configured to determine a target resource carrying value of each service element in the cloud network platform according to the resource carrying value of the service element and the number of servers in the cloud network platform.
[0131] The second determining module 32 is configured to determine at least one target service element from the service elements according to the target resource carrying value and the resource consumption value of each service element.
[0132] The constructing module 33 is configured to construct an association relationship between the to-be-allocated tenant and the at least one target service element.
[0133] In one embodiment, the first determining module 31 comprises:
[0134] An initial resource carrying value obtaining unit is configured to obtain an initial resource carrying value of the service element according to the resource carrying value of the service element and a preset first weight adjustment value;
[0135] A first determining unit is configured to determine the target resource carrying value according to the initial resource carrying value and the number of servers.
[0136] In one embodiment, the servers comprise general servers and virtual network element servers, and the first determining unit comprises:
[0137] A first number obtaining subunit is configured to obtain a resource carrying value of the general servers according to the number of general servers and a preset second weight adjustment value;
[0138] A second number subunit is configured to obtain a resource carrying value of the virtual network element servers according to the number of virtual network element servers and a preset third weight adjustment value;
[0139] A first determining subunit is configured to determine a sum of the initial resource carrying value, the resource carrying value of the general servers and the resource carrying value of the virtual network element servers as the target resource carrying value.
[0140] In one embodiment, the second determining module 32 comprises:
[0141] A resource residual value determining unit is configured to determine a resource residual value of each service element according to the target resource carrying value and the resource consumption value of each service element;
[0142] A second determining unit is configured to determine the target service element from the service elements according to the resource residual value of each service element.
[0143] In one embodiment, the gateway management apparatus further comprises:
[0144] The version information obtaining module is configured to obtain version information of each service element.
[0145] The first updating module is configured to update the target resource carrying value of each service element according to the updated version information in the case that it is determined that the version information is updated.
[0146] In one of the embodiments, the gateway management apparatus further comprises:
[0147] The expansion module is configured to, if the resource remaining value of the virtual network element server in the cloud network platform is not greater than the preset resource threshold, and the resource remaining value of the general server corresponding to the virtual network element server is greater than the preset resource threshold, perform expansion processing on the virtual network element server, and generate label information of the expanded virtual network element server. The label information is used to represent that the expanded virtual network element server has not been tested.
[0148] The testing module is configured to test the expanded virtual network element server to obtain a test result of the expanded virtual network element server. The test result is used to represent whether the test of the expanded virtual network element server passes.
[0149] The second updating module is configured to update the resource carrying value of each service element according to the capacity value of the expanded virtual network element server that passes the test.
[0150] Each module in the gateway management apparatus can be realized by software, hardware and a combination thereof in whole or in part. Each module can be embedded in or independent of a processor in a computer device in a hardware form, or can be stored in a memory in a computer device in a software form, so as to be called and executed by a processor to perform operations corresponding to each module.
[0151] In one exemplary embodiment, a computer device is provided, which can be a server, or the computer device can also be a terminal. An internal structure diagram of the computer device can be as shown in Figure 7The computer device shown in the figure includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capability. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner. The wireless manner can be realized through WIFI, mobile cellular network, near field communication (NFC) or other technologies. The computer program is executed by the processor to realize a gateway management method. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad or mouse, etc.
[0152] Those skilled in the art can understand that, Figure 7 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0153] In one embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps in the above method embodiments.
[0154] In one embodiment, a computer readable storage medium is provided, storing a computer program, and the computer program is executed by a processor to implement the steps in the above method embodiments.
[0155] In one embodiment, a computer program product is provided, including a computer program, and the computer program is executed by a processor to implement the steps in the above method embodiments.
[0156] It should be noted that the user information (including but not limited to the information related to any of the tenant, tenant, or administrator device, user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant regulations.
[0157] It can be understood by those skilled in the art that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiments of each method. In the embodiments provided in the present application, any reference to memory, database or other medium can include at least one of non-volatile memory and volatile memory. The non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. The volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., without being limited thereto.
[0158] Any technical features in the above embodiments can be combined, and for the sake of brevity, not all possible combinations are described above, however, any combination of these technical features is deemed to be within the scope of the present application.
[0159] The above embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation on the patent scope of the present application. It should be pointed out that, for ordinary skilled persons in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A gateway management method, characterized in that, The method is applied to a cloud network platform; the method includes: For each service element in the cloud network platform, the target resource carrying capacity of the service element is determined based on the resource carrying capacity of the service element and the number of servers in the cloud network platform. Based on the target resource carrying capacity and resource consumption value of each service element, determine the remaining resource value of each service element; Based on the remaining resource value of each of the service elements, at least one target service element is determined from the service elements. Establish the association between the tenant to be assigned and the gateway corresponding to the at least one target service element; If the remaining resource value of the virtual network element server in the cloud network platform is not greater than the preset resource threshold, and the remaining resource value of the general server corresponding to the virtual network element server is greater than the preset resource threshold, then the virtual network element server is expanded, and tag information of the expanded virtual network element server is generated; the tag information is used to indicate that the expanded virtual network element server has not been tested.
2. The method according to claim 1, characterized in that, Determining the target resource carrying capacity of the service element based on its resource carrying capacity and the number of servers in the cloud network platform includes: Based on the resource carrying capacity of the service element and the preset first weight adjustment value, obtain the initial resource carrying capacity of the service element; The target resource capacity is determined based on the initial resource capacity and the number of servers.
3. The method according to claim 2, characterized in that, The servers include general-purpose servers and virtual network element servers. Determining the target resource carrying capacity based on the initial resource carrying capacity and the number of servers includes: Based on the number of general-purpose servers and the preset second weight adjustment value, obtain the resource carrying capacity value of the general-purpose servers; Based on the number of virtual network element servers and the preset third weight adjustment value, obtain the resource carrying capacity value of the virtual network element servers; The target resource carrying capacity is determined by summing the initial resource carrying capacity, the resource carrying capacity of the general server, and the resource carrying capacity of the virtual network element server.
4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: The expanded virtual network element server is tested to obtain the test results; the test results are used to characterize whether the expanded virtual network element server passes the test. Based on the capacity value of the expanded virtual network element server that has passed the test, update the resource carrying capacity value of each service element.
5. The method according to any one of claims 1 to 3, characterized in that, The method further includes: Obtain version information for each of the service elements; If the version information is determined to be updated, the target resource carrying capacity value of each service element is updated according to the updated version information.
6. A gateway management device, characterized in that, The device includes: The first determining module is used to determine the target resource carrying capacity of each service element in the cloud network platform based on the resource carrying capacity of the service element and the number of servers in the cloud network platform. The second determining module includes: a resource remaining value determining unit, used to determine the resource remaining value of each service element based on the target resource carrying capacity and resource consumption value of each service element; and a second determining unit, used to determine at least one target service element from the service elements based on the resource remaining value of each service element. The construction module is used to construct the association between the tenant to be assigned and the gateway corresponding to the at least one target service element; The expansion module is used to expand the virtual network element server when the remaining resource value of the virtual network element server in the cloud network platform is not greater than a preset resource threshold, and the remaining resource value of the general server corresponding to the virtual network element server is greater than the preset resource threshold, and generate tag information of the expanded virtual network element server; the tag information is used to indicate that the expanded virtual network element server has not been tested.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Cloud server deployment method and device, electronic equipment and storage medium
CN114756380A
Method for allocating resources in a multi-tenant cloud computing platform
EP4227804A1