WO2020052151A1 - Service node management method, apparatus and device, and computer readable storage medium - Google Patents

Service node management method, apparatus and device, and computer readable storage medium Download PDF

Info

Publication number
WO2020052151A1
WO2020052151A1 PCT/CN2018/122637 CN2018122637W WO2020052151A1 WO 2020052151 A1 WO2020052151 A1 WO 2020052151A1 CN 2018122637 W CN2018122637 W CN 2018122637W WO 2020052151 A1 WO2020052151 A1 WO 2020052151A1
Authority
WO
WIPO (PCT)
Prior art keywords
service node
parameters
real
capacity
rated
Prior art date
Application number
PCT/CN2018/122637
Other languages
French (fr)
Chinese (zh)
Inventor
徐欣
Original Assignee
深圳壹账通智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2020052151A1 publication Critical patent/WO2020052151A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload

Definitions

  • the present application mainly relates to the technical field of network communications, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for managing a service node.
  • the current hybrid cloud architecture where the traditional IDC network environment and the cloud platform network environment jointly provide services to the outside cannot accurately obtain the load and bandwidth occupation status information of each service node; making it impossible to achieve automatic elastic scaling of service nodes based on real-time traffic That is, it is not possible to automatically add or delete service nodes; as a result of a sudden increase in access requests, it is impossible to accurately and automatically deploy service nodes to respond to access requests, requiring manual repeated operations for management, increasing operation and maintenance costs, and without Conducive to high availability of hybrid cloud architecture.
  • the main purpose of this application is to provide a service node management method, device, device, and computer-readable storage medium.
  • the purpose is to solve the problem that the existing hybrid cloud architecture cannot accurately and automatically deploy service nodes in response to changes in the number of access requests. High and low availability issues.
  • the present application provides a method for managing a service node.
  • the method for managing a service node includes the following steps:
  • the present application also proposes a management device for a service node, where the management device for the service node includes:
  • the reading module is configured to read multiple rated parameters of the service node and parameter coefficients corresponding to the rated parameters, and determine multiple values of the service node according to the rated parameters and the parameter coefficients. Performance parameters, and the ultimate capacity of the service node;
  • a determining module configured to read multiple real-time parameters of the service node, and determine the real-time capacity of the service node according to each of the real-time parameters and the performance parameter;
  • a management module configured to determine the redundancy of the service node according to the limit capacity and the real-time capacity, and perform increase and decrease management on the service node according to the relationship between the redundancy and a preset threshold interval .
  • the present application also proposes a management device of a service node.
  • the management device of the service node includes: a memory, a processor, a communication bus, and a management program of the service node stored on the memory;
  • the communication bus is used to implement connection and communication between the processor and the memory
  • the processor is configured to execute a management program of the service node to implement the following steps:
  • the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs can be processed by one or more processors. Performed for:
  • the method for managing a service node of this embodiment determines multiple performance parameters and limit capacities of a service node according to the read multiple rated parameters of the service node and parameter coefficients corresponding to the rated parameters;
  • the multiple real-time parameters of the server and the determined multiple performance parameters further determine the real-time capacity of the server, and then determine the redundancy of the service node according to the limit capacity and real-time capacity; because the real-time capacity represents the real-time use of resources in the service node
  • the degree of redundancy can reflect the amount of access services that the service node can provide in real time through the redundancy; and the preset threshold interval characterizes the reasonable range of the amount of access services provided by the service node.
  • the relationship between the redundancy and the preset threshold interval is used to judge Whether the amount of service provided by the service node in real time is reasonable, and then increase or decrease the management of the service node based on the rationality; avoid manual repeated operations to increase or decrease the management, and realize the automatic increase and decrease management deployment of the service node, reducing the operation and maintenance cost and improving
  • the high availability of each service node in the hybrid cloud architecture is described.
  • FIG. 1 is a schematic flowchart of a first embodiment of a management method of a service node according to the present application
  • FIG. 2 is a schematic diagram of functional modules of a first embodiment of a management device for a service node of the present application
  • FIG. 3 is a schematic diagram of a device structure of a hardware operating environment involved in a method according to an embodiment of the present application.
  • This application provides a method for managing a service node.
  • FIG. 1 is a schematic flowchart of a first embodiment of a management method for a service node of this application.
  • the method for managing a service node includes:
  • Step S10 reading a plurality of rated parameters of the service node and parameter coefficients corresponding to each of the rated parameters, and determining a plurality of performance parameters of the service node according to each of the rated parameters and each of the parameter coefficients, And the limit capacity of the service node;
  • the service node management method of the present application is applied to a control center of a network environment platform, and is applicable to realize the management of each service node in the network environment platform through the control center.
  • the network environment of this embodiment is a hybrid cloud architecture that provides services to both the traditional IDC network environment and the cloud platform network environment, such as the hybrid cloud architecture of anti-fraud platforms in financial institutions; the service nodes include the traditional IDC network environment and the cloud platform.
  • external access initiates an access request to the service node, accesses the network environment through the service node, and obtains the resources of the network environment.
  • the network environment includes a large number of service nodes.
  • each service node While providing different types of services, the load of each service node is shared; there are differences in hardware resources between different service nodes, making each service node's ability to provide services different, such as 8 The difference between a core 8G service node and a 4-core 8G service node. That is, different hardware resources indicate that the service node has different performance.
  • the parameters of the hardware resources of the service node are used as the rated parameters of the service node, including the number of cores, frequency, memory type, storage size value, disk type value, IO bandwidth value, The network bandwidth value allocated by this service node.
  • multiple rated parameters of the service node and parameter coefficients corresponding to each of the rated parameters are read to determine the performance of the service node. Because different rated parameters characterize the performance of the service node in different aspects, multiple performance parameters of the service node can be determined according to different rated parameters and corresponding parameter coefficients.
  • the performance parameters determined by the number of cores and frequency of the CPU (Central Processing Unit) in the service node determined by the number of cores, frequency, and their corresponding parameter coefficients; and the value of the memory type, memory size, and Corresponding parameter coefficients, performance parameters determined by memory type and memory size in the determined service node; performance determined by disk type and IO bandwidth in the service node determined by disk type value, IO bandwidth value, and corresponding parameter coefficients Parameter; the value of the network bandwidth allocated by the serving node and its corresponding parameter coefficient, and the performance value parameter of the determined network bandwidth.
  • the performance parameters determined by the number of cores and frequency of the CPU Central Processing Unit
  • the performance of the service node as a whole can be reflected by the performance parameters; the capacity of the overall service can be determined by the limit capacity, that is, the limit capacity of the service node is determined according to the performance parameters to characterize The maximum access that a service node can provide when all hardware resources are fully used.
  • Step S20 Read multiple real-time parameters of the service node, and determine the real-time capacity of the service node according to each of the real-time parameters and the performance parameter;
  • real-time capacity is used to characterize the access capability provided by the service node in real time.
  • the real-time parameters can include real-time CPU usage, real-time occupancy of memory, real-time IO occupancy of disk, and actual occupancy of network bandwidth. The influence of various performance parameters determines the real-time capacity of the service node.
  • Step S30 Determine the redundancy of the service node according to the limit capacity and the real-time capacity, and perform increase and decrease management on the service node according to the relationship between the redundancy and a preset threshold interval.
  • the redundancy of the serving node can be determined according to both, that is, the remaining accessible access amount of the serving node; among which the redundancy is the largest
  • the limit value is close to 1, and the minimum limit value is close to 0;
  • the maximum limit value represents the maximum access amount that the service node can access, and
  • the minimum limit value represents the minimum access amount that the service node can access. Because the service node is used to provide services to the outside, the bandwidth and response speed of the service node need to be considered; under a certain bandwidth, the response speed is related to the traffic; if the traffic is too large, the response speed may be lowered.
  • a preset threshold interval is set in advance, and the amount of access of the service node is determined according to the relationship between the redundancy and the preset threshold interval; Management to ensure that the number of visits to service nodes is within a certain range.
  • the preset threshold interval is determined through multiple experiments, including the numerical interval of the upper boundary threshold and the lower boundary threshold; the upper boundary threshold represents greater redundancy, the number of service node visits is small, and the resource consumption is small; and the lower boundary
  • the threshold indicates that the redundancy is small, the number of accesses to the service node is large, and the resource consumption is large.
  • the set lower boundary threshold value is smaller than the limit capacity value.
  • the lower boundary threshold is determined through stress test experiments.
  • the service node has an interface exposed to the outside, and the access test of the service node is implemented by means of the interface call; the frequency of the call to the interface can reflect the number of access requests of the service node; the interface is called using different call frequencies to Perform stress test on the service node to determine the time it takes for the stress test to reach the inflection point, where the inflection point is the sharp consumption point of the service node resources; the time consumption can also reflect the sufficient condition of the service node resources, and the shorter the time consumption, the richer the service node resources; Therefore, the inflection point of the balance between call frequency and time consumption is tested. At this inflection point, the call frequency is high and the time consumption is high.
  • the steps of increasing or decreasing the service node include:
  • Step S31 comparing the redundancy with a preset threshold interval to determine whether the redundancy is within a preset threshold interval;
  • the redundancy is compared with a preset threshold interval to determine whether the redundancy is within the preset threshold interval, that is, whether the access amount of the serving node is within an appropriate range. Compare the redundancy with the upper boundary threshold and the lower boundary threshold of the preset threshold interval to determine whether the redundancy is larger than the lower boundary threshold and smaller than the upper boundary threshold.
  • Step S32 when the redundancy is less than a lower boundary value of a preset threshold interval, adding a new service node corresponding to the service node;
  • Step S33 When the redundancy is greater than the upper boundary value of a preset threshold interval, perform a delete operation on the serving node.
  • the service node When it is determined that the redundancy of the serving node is greater than the upper boundary value of the preset threshold interval, it indicates that the remaining access requests of the serving node are large, the current access volume is small, and the resources are not fully utilized. Therefore, the service node is automatically deleted to release and recycle system resources. At the same time, the access request of this service node is connected to other service nodes that provide similar services provided by this service node, so that while providing services to the outside world, Make full use of system resources.
  • the method for managing a service node of this embodiment determines multiple performance parameters and limit capacities of a service node according to the read multiple rated parameters of the service node and parameter coefficients corresponding to the rated parameters;
  • the multiple real-time parameters of the server and the determined multiple performance parameters further determine the real-time capacity of the server, and then determine the redundancy of the service node according to the limit capacity and real-time capacity; because the real-time capacity represents the real-time use of resources in the service node
  • the degree of redundancy can reflect the amount of access services that the service node can provide in real time through the redundancy; and the preset threshold interval characterizes the reasonable range of the amount of access services provided by the service node.
  • the relationship between the redundancy and the preset threshold interval is used to judge Whether the amount of service provided by the service node in real time is reasonable, and then increase or decrease the management of the service node based on the rationality; avoid manual repeated operations to increase or decrease the management, and realize the automatic increase and decrease management deployment of the service node, reducing the operation and maintenance cost and improving
  • the high availability of each service node in the hybrid cloud architecture is described.
  • the plurality of performance parameters of the service node and the limit of the service node are determined according to each of the rated parameters and each of the parameter coefficients.
  • the steps for capacity include:
  • Step S11 group each of the rated parameters and each of the parameter coefficients based on parameter attributes, and generate multiple performance parameters of the service node according to the rated parameters and the parameter coefficients in each group;
  • different rated parameters have different parameter attributes, which characterize the performance of the service node in different aspects; thus, the rated parameters can be grouped according to the parameter attributes, and the rated parameters with the same parameter attributes can be divided into the same group; The rated parameters characterize the performance of the service node in the same respect. Because the performance is also related to the parameter coefficients, while grouping the rated parameters, the parameter coefficients corresponding to the rated parameters are also divided into groups corresponding to the rated parameters to reflect the rated parameters and parameter coefficients in each group. Multiple performance parameters for service node performance.
  • the performance parameters of the service node on the CPU are determined by the number of cores and frequency, the number of cores and frequency are set to have the same parameter attributes, and the two and their corresponding parameter coefficients are divided into the same group.
  • the performance parameters of the service node in memory are determined by the memory type value and the memory size, the memory type value and the memory size are set to have the same parameter attributes, and the two and their corresponding parameter coefficients are divided into the same group.
  • the performance parameters of the service node in terms of disk type are determined by the disk type value and the IO bandwidth value.
  • the disk type value and the IO bandwidth value are set to have the same parameter attributes, and the two and their corresponding parameter coefficients are divided into the same group. .
  • the performance parameters of the service node in terms of network bandwidth are determined by the network bandwidth value allocated by the service node, and the network bandwidth value allocated by the service node and its corresponding parameter coefficient are divided into a group. After grouping each of the rated parameters and their parameter coefficients, according to the rated parameters and their parameter coefficients in each group, performance parameters reflecting the performance of the service node in each group can be generated.
  • preset formulas are set through multiple experiments in advance; the rated parameters in each group and their corresponding The coefficients of each parameter are input into the preset formula and are calculated instead of the independent variables therein. The result obtained by the calculation is the performance parameter. Because the rated parameters in each group are different, which characterizes the performance of the server node in different aspects, the rated parameters in each group and their corresponding parameter coefficients are entered into a preset formula during calculation to obtain different performance parameters. Specifically, the preset formula is:
  • y is a performance parameter
  • x1, x2 are each rated parameter
  • m1, m2 are parameter coefficients corresponding to the rated parameter.
  • the performance parameters are different due to the different values of x1, x2 and m1, m2. Specifically, when determining the performance parameter y determined by the number of CPU cores and frequency in the service node, that is, the performance parameter of the service node in terms of CPU, x1 and x2 are the number of cores and frequency (GHZ), and m1 and m2 are respectively It is a parameter coefficient corresponding to the number of cores and frequency.
  • x1 and x2 are the memory type value and memory size value (GB), and m1 and m2 are respectively Parameter coefficient corresponding to the memory type value and memory size value;
  • the memory type value is a parameter value set according to different memory types, such as ddr2 (Double-Data-RateTwoSynchronousDynamicRandomAccessMemory, the second generation double data rate synchronous dynamic random storage
  • ddr2 Double-Data-RateTwoSynchronousDynamicRandomAccessMemory, the second generation double data rate synchronous dynamic random storage The value of the memory type is lower than that of the ddr3 type.
  • x1 and x2 are the disk type value and the IO bandwidth value (MB), and m1 and m2 are Parameter coefficients corresponding to the disk type value and the IO bandwidth value respectively; wherein the disk type value is a parameter value set according to different disk types, such as ssd (Solid State Drives, solid state hard disk) disks whose disk type values are more than mechanical disks The disk type value is high.
  • ssd Solid State Drives, solid state hard disk
  • the network bandwidth is determined only by the network bandwidth value allocated by the serving node, so x1 is used as the network bandwidth value allocated by the serving node, and k1 is the same as The parameter coefficient corresponding to the network bandwidth value assigned by the serving node; and the value of x2 is 0, which is related to only x1 and k1.
  • the rated parameters in each group and their corresponding parameter coefficients are respectively input into preset formulas according to the above combination to obtain multiple performance parameters that characterize the performance of each aspect of the service node.
  • Step S12 Read a preset weight value corresponding to each of the performance parameters, and input each of the preset weight value and each of the performance parameters into a first preset formula to calculate a limit capacity of the service node. ;
  • ValX k 1 lgA 1 + k 2 lgA 2 + k 3 lgA 3 + k 4 lgA 4
  • ValX is the limit capacity
  • A1, A2, A3, and A4 are each of the performance parameters
  • k1, k2, k3, and k4 are each the preset weight value
  • lg is a logarithmic value.
  • the impact of the performance of each aspect on the overall performance of the service node varies. ; Some performance parameters have a greater impact on the ability of the service node to provide services as a whole, while other performance parameters have a smaller impact on the ability of the service nodes to provide services as a whole.
  • different preset weight values are set in advance for performance parameters reflecting various aspects of performance. The preset weight values are determined through multiple experiments or historical data statistics to characterize each performance parameter. Impact on overall performance.
  • ValX is the limit capacity
  • A1 is the performance parameter determined by the number of CPU cores and frequency
  • A2 is the performance parameter determined by the memory type and memory size
  • A3 is the performance parameter determined by the disk type and IO bandwidth
  • A4 is the network bandwidth
  • the determined performance value parameters, k1, k2, k3, and k4 are preset weight values corresponding to A1, A2, A3, and A4, respectively
  • lg is a logarithmic value.
  • the performance parameters determined by the number and frequency of CPU cores and their corresponding preset weight values calculated by the preset formula will be replaced by A1 and k1 in this first preset formula, respectively, and the memory type calculated by the preset formula will be The performance parameters determined by the memory size and their corresponding preset weight values replace A2 and k2 in this first preset formula, respectively.
  • the performance parameters determined by the disk type and IO bandwidth and their corresponding calculations will be calculated by the preset formula.
  • the preset weight values of A1 and K3 are replaced in this first preset formula, respectively.
  • the performance value parameters determined by the network bandwidth calculated by the preset formula and their corresponding preset weight values are used to replace the first preset values. Let A4 and k4 in the formula be used to calculate the first preset formula after the replacement operation.
  • the obtained calculation result is the limit capacity, which represents the maximum access amount that the service node can withstand.
  • the step of determining the real-time capacity of the service node according to each of the real-time parameters and the performance parameters includes:
  • ValY k 1 lgA 1 * Q 1 + k 2 lgA 2 * Q 2 + k 3 lgA 3 * Q 3 + k 4 lgA 4 * Q 4
  • ValY is real-time capacity
  • A1 A2, A3, and A4 are each of the performance parameters
  • k1, k2, k3, and k4 are each of the preset weight values
  • Q1, Q2, Q3, and Q4 are real-time parameters
  • lg is a logarithmic value.
  • a second preset formula is set in advance; each real-time parameter, each performance parameter, and each preset weight corresponding to each performance parameter are read.
  • the value is input into the second preset formula, which is calculated instead of the independent variables.
  • the result of the calculation is the real-time capacity of the service node.
  • ValY is the real-time capacity
  • Q1 is the real-time CPU usage
  • Q2 is the real-time occupancy of memory
  • Q3 is the real-time IO occupancy of the disk
  • Q4 is the actual occupancy of network bandwidth
  • A1 is the performance determined by the number of CPU cores and frequency.
  • A2 is a performance parameter determined by the memory type and memory size
  • A3 is a performance parameter determined by the disk type and IO bandwidth
  • A4 is a performance value parameter determined by the network bandwidth
  • k1, k2, k3, and k4 are the same as A1, respectively.
  • the read real-time CPU usage rate and the performance parameters determined by the number and frequency of CPU cores and their corresponding preset weight values calculated from the preset formula are used to replace Q1, A1 and k1; will read the real-time occupancy of the memory, and the performance parameters determined by the memory type and memory size and their corresponding preset weight values calculated from the preset formula, respectively replacing Q2 in this second preset formula , A2, and k2; the real-time IO occupancy of the disk to be read, and the performance parameters determined by the disk type and IO bandwidth and their corresponding preset weight values calculated by the preset formula, respectively, replace this second preset Q3, A3, and k3 in the formula; the actual occupancy of the network bandwidth read, and the performance value parameter determined by the network bandwidth calculated from the preset formula and its corresponding preset weight value, respectively replace this second preset Set Q4, A4, and k4 in the formula; calculate the second preset formula after the replacement operation, and the calculation result obtained is the real-time capacity, which represents the access amount that the service node currently
  • the step of determining the redundancy of the service node according to the limit capacity and the real-time capacity includes:
  • a third preset formula is set in advance through experiments; the determined limit capacity and real-time capacity are Transfer it to the third preset formula and calculate it instead of the independent variables.
  • the obtained result is the redundancy of the service node.
  • R redundancy
  • ValY real-time capacity
  • ValX limit capacity
  • the limit capacity calculated by the first preset formula and the real-time capacity calculated by the second preset formula are used to replace ValX and ValY in the third preset formula, respectively; After calculation, the obtained calculation result is the redundancy of the service node; it represents the currently accessible access amount of the service node, and the service node is managed and added or deleted through this redundancy.
  • after the step of adding a new service node corresponding to the service node includes:
  • Step S34 Read the newly added rated parameters corresponding to the new service node, compare the newly added rated parameters with the rated parameters of other service nodes, and determine that among the rated parameters of the other service nodes and the newly added Target rated parameters matching the rated parameters;
  • each service node has different resources and different service capabilities, for example, the service capability of an 8-core 8G service node is better than that of a 4-core 8G service node.
  • the access request should be preferentially accessed to a service node with a good service capability.
  • this embodiment provides a mechanism for allocating access weights to each service node according to the resources possessed by each service node, and the higher the resource allocation, the greater the access weight allocated. . Therefore, after adding a new service node, it is necessary to assign an access weight to this new service node.
  • the rated parameters corresponding to the new service node are read, and the rated parameters that it has are used as the new rated parameters to distinguish it from the rated parameters of other service nodes;
  • the new rated parameters are compared with the rated parameters of other service nodes to determine the target rated parameters that match the new rated parameters among the rated parameters of other service nodes.
  • the rated parameter determines the rated parameter with the least difference from this newly added rated parameter, and uses the rated parameter with the least difference as the target rated parameter.
  • Step S35 Determine a service node to which the target rated parameter belongs, and allocate an access weight to the new service node according to the access weight owned by the homed service node.
  • the access weight of the service node is related to the resource configuration of the service node, and the resource configuration is characterized by the rated parameters; after the target rated parameter is determined, the target rated parameter is completely consistent with the newly added rated parameter, or the difference is small, so that The resource configuration characterized by the target rated parameter is the same as or similar to the resource configuration characterized by the new rated parameter; thus, the access weight of the new service node can be determined by the access weight of the service node corresponding to the target rated parameter.
  • the service node from which the target rated parameter is derived that is, the service node to which the target rated parameter belongs; can be determined according to the comparison process;
  • the access weight of the new service node can be set to be the same as the access weight of the owned service node; and when the new rated parameter represents a service capability higher than the target rating Parameter, the access weight of the new service node is set to be higher than the access weight of the owned service node; when the service capability represented by the newly added rated parameter is lower than the target rated parameter, the access weight of the new service node is set to Lower access weight than the home service node.
  • Assigning access weights to the new service node according to the access weights of the service nodes with similar rating parameters can make the access weight of the new service node more accurate; it is convenient for subsequent access requests to each service node according to the access weight to provide more Excellent service.
  • after the step of assigning an access weight to the new service node includes:
  • Step S36 When a service request is received, determine a target service node corresponding to the service request according to the type of the service request, and determine whether there are multiple target service nodes;
  • the user can send a service request through a terminal connected to the network environment; and for different network resources, the identifier carried in the sent service request is not same.
  • the identifier carried in the sent service request When receiving this service request, read the identifier carried in it, and compare this identifier with each identifier in the preset identification type table to determine the identifier corresponding to the carried identifier in the identification type table. According to the type corresponding to the corresponding identifier in the identification type table, the type of the service request can be determined.
  • the service node that provides this type of service can be further determined in each service node, and this service node is used as the target service node corresponding to the service request. Because for some service requests with a large number of requests, in order to provide better services, multiple service nodes are usually set up; after determining the target service node, it is necessary to further determine whether there are multiple target service nodes in order to increase Among the target service nodes, a service node serving the service request is determined.
  • Step S37 if there are multiple target service nodes, determine the size relationship of the target access weights of the target service nodes, and call the target access node with the maximum target access weight to respond to the service request .
  • the same identifier is set for service nodes of the same type. After the target service node is determined, the identifier carried in it is read, and it is determined whether other service nodes also carry this identifier. If no other service node also carries this identifier, it means that there are no multiple target service nodes, and this target service node is determined as the service node providing the service request service, and it will respond to the service request. If other service nodes also carry this identifier, it means that there are multiple target service nodes, then the target access weights of each target service node are read, and the target access weights are compared to determine their respective size relationships.
  • the maximum value of the target access weight is determined from the size relationship, and the target access node with this maximum target access weight is determined as the service request service
  • the service node calls it to respond to the service request to optimize the service of the service request.
  • this application provides a management device for a service node.
  • the management device for the service node includes:
  • the reading module 10 is configured to read a plurality of rated parameters of a service node and parameter coefficients corresponding to each of the rated parameters, and determine the multiplicity of the service node according to each of the rated parameters and each of the parameter coefficients. Performance parameters, and the maximum capacity of the service node;
  • a determining module 20 configured to read multiple real-time parameters of the service node, and determine the real-time capacity of the service node according to each of the real-time parameters and the performance parameter;
  • the management module 30 is configured to determine the redundancy of the service node according to the limit capacity and the real-time capacity, and increase or decrease the service node according to the relationship between the redundancy and a preset threshold interval. management.
  • the reading module 10 determines multiple performance parameters and limit capacities of the service node according to the read multiple rated parameters of the service node and parameter coefficients corresponding to the rated parameters;
  • the determination module 20 further determines the real-time capacity of the server according to the read real-time parameters of the server and the determined multiple performance parameters, and then the management module 30 determines the redundancy of the service node according to the limit capacity and real-time capacity;
  • the capacity represents the real-time usage of each resource in the service node, so that the redundancy can reflect the amount of access services that the service node can provide in real time;
  • the preset threshold interval characterizes the reasonable range of the amount of access services provided by the service node, using redundancy
  • the relationship between the degree and the preset threshold interval is used to determine whether the service volume provided by the service node is reasonable in real time, and then to increase or decrease the service node based on the rationality; avoiding manual repeated operations for increase or decrease management, and to automatically increase or decrease the service node
  • Each virtual function module of the management device of the service node is stored in the memory 1005 of the management device of the service node shown in FIG. 3.
  • the processor 1001 executes the management program of the service node, each module in the embodiment shown in FIG. 2 is implemented. Functions.
  • the above-mentioned storage media may be a read-only memory, a magnetic disk, or an optical disk.
  • FIG. 3 is a schematic diagram of a device structure of a hardware operating environment involved in the method according to the embodiment of the present application.
  • the management device of the service node in the embodiment of the present application may be a personal computer (PC), or a terminal device such as a smart phone, a tablet computer, an e-book reader, or a portable computer.
  • PC personal computer
  • terminal device such as a smart phone, a tablet computer, an e-book reader, or a portable computer.
  • the management device of the service node may include a processor 1001, such as a CPU (Central Processing Unit, central processing unit), a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection and communication between the processor 1001 and the memory 1005.
  • the memory 1005 may be a high-speed RAM (random access memory), or a non-volatile memory (for example, a magnetic disk memory).
  • the memory 1005 may optionally be a storage device independent of the foregoing processor 1001.
  • the management device of the service node may further include a user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi (Wireless Fidelity) module, and the like.
  • the user interface may include a display, an input unit such as a keyboard, and the optional user interface may further include a standard wired interface and a wireless interface.
  • the network interface may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • management device structure of the service node shown in FIG. 3 does not constitute a limitation on the management device of the service node, and may include more or fewer components than shown, or a combination of certain components. Or different component arrangements.
  • the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, and a management program of a service node.
  • the operating system is a program that manages and controls the hardware and software resources of the management device of the service node, and supports the management program of the service node and other software and / or programs.
  • the network communication module is used to implement communication between components in the memory 1005 and to communicate with other hardware and software in the management device of the service node.
  • the processor 1001 is configured to execute a management program of the service node stored in the memory 1005, and implement steps in the embodiments of the management method of the service node described above.
  • the present application provides a computer-readable storage medium.
  • the computer-readable storage medium stores one or more programs, and the one or more programs can also be executed by one or more processors for implementing the foregoing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A service node management method, apparatus and device, and a computer readable storage medium. The method comprises: reading a plurality of rated parameters of a service node and a parameter coefficient corresponding to each rated parameter, and determining a plurality of performance parameters of the service node and the limit capacity of the service node according to each rated parameter and each parameter coefficient (S10); reading a plurality of real-time parameters of the service node, and determining the real-time capacity of the service node according to each real-time parameter and the performance parameter (S20); and determining the redundancy degree of the service node according to the limit capacity and the real-time capacity, and performing increase and decrease management on the service node according to a relationship between the redundancy degree and a preset threshold interval (S30). According to the method, the increase and decrease management of the service node can be automatically and accurately performed on the basis of the relationship between the redundancy degree that reflects the access traffic currently provided by the service node and the preset threshold interval, so that the process of performing increase and decrease management by manual repeated operations can be avoided, the operation and maintenance costs can be reduced, and the high availability of each service node in a hybrid cloud architecture can be improved.

Description

服务节点的管理方法、装置、设备及计算机可读存储介质Management method, device, device and computer-readable storage medium of service node
本申请要求于2018年09月13日提交中国专利局、申请号为201811071652.9、发明名称为“服务节点的管理方法、装置、设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application claims the priority of a Chinese patent application filed on September 13, 2018, with the Chinese Patent Office, application number 201811071652.9, and the invention name "Management method, device, device, and computer-readable storage medium for service nodes". The contents are incorporated in the application by reference.
技术领域Technical field
本申请主要涉及网络通信技术领域,具体地说,涉及一种服务节点的管理方法、装置、设备及计算机可读存储介质。The present application mainly relates to the technical field of network communications, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for managing a service node.
背景技术Background technique
随着云技术的发展,很多互联网公司在使用传统IDC(Internet Data Center,互联网数据中心)网络环境的同时增加了云平台网络环境;而传统IDC网络环境的服务器节点运行着公司至关重要的服务,如果迁入到云平台网络环境存在巨大的迁移风险;从而需要将传统IDC网络环境和云平台网络环境以混合云架构的方式使用。With the development of cloud technology, many Internet companies have increased the cloud platform network environment while using the traditional IDC (Internet Data Center) network environment; and the server nodes of the traditional IDC network environment run the company's vital services If there is a huge migration risk when moving to a cloud platform network environment, the traditional IDC network environment and cloud platform network environment need to be used in a hybrid cloud architecture.
但是目前对于传统IDC网络环境和云平台网络环境共同向外提供服务的混合云架构,无法准确获取各服务节点的负载和带宽占用状态信息;而使得无法根据实时流量对服务节点实现自动的弹性伸缩,即无法自动增加或删减服务节点;导致在访问请求剧增的情况下,无法准确自动部署服务节点来应对访问请求,而需要人工多次重复操作进行管理,增加了运维成本,且不利于混合云架构的高可用性。However, the current hybrid cloud architecture where the traditional IDC network environment and the cloud platform network environment jointly provide services to the outside cannot accurately obtain the load and bandwidth occupation status information of each service node; making it impossible to achieve automatic elastic scaling of service nodes based on real-time traffic That is, it is not possible to automatically add or delete service nodes; as a result of a sudden increase in access requests, it is impossible to accurately and automatically deploy service nodes to respond to access requests, requiring manual repeated operations for management, increasing operation and maintenance costs, and without Conducive to high availability of hybrid cloud architecture.
发明内容Summary of the Invention
本申请的主要目的是提供一种服务节点的管理方法、装置、设备及计算机可读存储介质,旨在解决现有技术混合云架构无法针对访问请求量的变化准确自动 部署服务节点,运维成本高,可用性低的问题。The main purpose of this application is to provide a service node management method, device, device, and computer-readable storage medium. The purpose is to solve the problem that the existing hybrid cloud architecture cannot accurately and automatically deploy service nodes in response to changes in the number of access requests. High and low availability issues.
为实现上述目的,本申请提供一种服务节点的管理方法,所述服务节点的管理方法包括以下步骤:In order to achieve the above object, the present application provides a method for managing a service node. The method for managing a service node includes the following steps:
读取服务节点的多个额定参数,以及与各所述额定参数对应的参数系数,并根据各所述额定参数和各所述参数系数,确定所述服务节点的多个性能参数,以及所述服务节点的极限容量;Reading a plurality of rated parameters of a service node and parameter coefficients corresponding to each of the rated parameters, and determining a plurality of performance parameters of the service node according to each of the rated parameters and each of the parameter coefficients, and the Service node capacity;
读取所述服务节点的多个实时参数,并根据各所述实时参数以及所述性能参数确定所述服务节点的实时容量;Read a plurality of real-time parameters of the service node, and determine the real-time capacity of the service node according to each of the real-time parameters and the performance parameter;
根据所述极限容量和所述实时容量,确定所述服务节点的冗余度,并根据所述冗余度与预设阈值区间的关系,对所述服务节点进行增减管理。Determine the redundancy of the service node according to the limit capacity and the real-time capacity, and perform increase and decrease management on the service node according to the relationship between the redundancy and a preset threshold interval.
此外,为实现上述目的,本申请还提出一种服务节点的管理装置,所述服务节点的管理装置包括:In addition, in order to achieve the foregoing object, the present application also proposes a management device for a service node, where the management device for the service node includes:
读取模块,用于读取服务节点的多个额定参数,以及与各所述额定参数对应的参数系数,并根据各所述额定参数和各所述参数系数,确定所述服务节点的多个性能参数,以及所述服务节点的极限容量;The reading module is configured to read multiple rated parameters of the service node and parameter coefficients corresponding to the rated parameters, and determine multiple values of the service node according to the rated parameters and the parameter coefficients. Performance parameters, and the ultimate capacity of the service node;
确定模块,用于读取所述服务节点的多个实时参数,并根据各所述实时参数以及所述性能参数确定所述服务节点的实时容量;A determining module, configured to read multiple real-time parameters of the service node, and determine the real-time capacity of the service node according to each of the real-time parameters and the performance parameter;
管理模块,用于根据所述极限容量和所述实时容量,确定所述服务节点的冗余度,并根据所述冗余度与预设阈值区间的关系,对所述服务节点进行增减管理。A management module, configured to determine the redundancy of the service node according to the limit capacity and the real-time capacity, and perform increase and decrease management on the service node according to the relationship between the redundancy and a preset threshold interval .
此外,为实现上述目的,本申请还提出一种服务节点的管理设备,所述服务节点的管理设备包括:存储器、处理器、通信总线以及存储在所述存储器上的 服务节点的管理程序;In addition, in order to achieve the foregoing object, the present application also proposes a management device of a service node. The management device of the service node includes: a memory, a processor, a communication bus, and a management program of the service node stored on the memory;
所述通信总线用于实现处理器和存储器之间的连接通信;The communication bus is used to implement connection and communication between the processor and the memory;
所述处理器用于执行所述服务节点的管理程序,以实现以下步骤:The processor is configured to execute a management program of the service node to implement the following steps:
读取服务节点的多个额定参数,以及与各所述额定参数对应的参数系数,并根据各所述额定参数和各所述参数系数,确定所述服务节点的多个性能参数,以及所述服务节点的极限容量;Reading a plurality of rated parameters of a service node and parameter coefficients corresponding to each of the rated parameters, and determining a plurality of performance parameters of the service node according to each of the rated parameters and each of the parameter coefficients, and the Service node capacity;
读取所述服务节点的多个实时参数,并根据各所述实时参数以及所述性能参数确定所述服务节点的实时容量;Read a plurality of real-time parameters of the service node, and determine the real-time capacity of the service node according to each of the real-time parameters and the performance parameter;
根据所述极限容量和所述实时容量,确定所述服务节点的冗余度,并根据所述冗余度与预设阈值区间的关系,对所述服务节点进行增减管理。Determine the redundancy of the service node according to the limit capacity and the real-time capacity, and perform increase and decrease management on the service node according to the relationship between the redundancy and a preset threshold interval.
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序可被一个或者一个以上的处理器执行以用于:In addition, in order to achieve the above object, the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs can be processed by one or more processors. Performed for:
读取服务节点的多个额定参数,以及与各所述额定参数对应的参数系数,并根据各所述额定参数和各所述参数系数,确定所述服务节点的多个性能参数,以及所述服务节点的极限容量;Reading a plurality of rated parameters of a service node and parameter coefficients corresponding to each of the rated parameters, and determining a plurality of performance parameters of the service node according to each of the rated parameters and each of the parameter coefficients, and the Service node capacity;
读取所述服务节点的多个实时参数,并根据各所述实时参数以及所述性能参数确定所述服务节点的实时容量;Read a plurality of real-time parameters of the service node, and determine the real-time capacity of the service node according to each of the real-time parameters and the performance parameter;
根据所述极限容量和所述实时容量,确定所述服务节点的冗余度,并根据所述冗余度与预设阈值区间的关系,对所述服务节点进行增减管理。Determine the redundancy of the service node according to the limit capacity and the real-time capacity, and perform increase and decrease management on the service node according to the relationship between the redundancy and a preset threshold interval.
本实施例的服务节点的管理方法,根据所读取的服务节点的多个额定参数以及与各额定参数对应的各参数系数,确定服务节点的多个性能参数以及极限容 量;同时还根据所读取的服务器的多个实时参数以及所确定的多个性能参数进一步确定服务器的实时容量,进而根据极限容量和实时容量确定服务节点的冗余度;因实时容量表征服务节点中各资源的实时使用程度,从而通过冗余度可反映服务节点实时所能提供的访问服务量;而预设阈值区间表征服务节点所提供访问服务量的合理范围,用冗余度和预设阈值区间的关系,判断服务节点实时所提供服务量是否合理,进而根据合理性对服务节点进行增减管理;避免了人工重复操作进行增减管理,实现对服务节点的自动增减管理部署,降低了运维成本,提高了混合云架构中各服务节点的高可用性。The method for managing a service node of this embodiment determines multiple performance parameters and limit capacities of a service node according to the read multiple rated parameters of the service node and parameter coefficients corresponding to the rated parameters; The multiple real-time parameters of the server and the determined multiple performance parameters further determine the real-time capacity of the server, and then determine the redundancy of the service node according to the limit capacity and real-time capacity; because the real-time capacity represents the real-time use of resources in the service node The degree of redundancy can reflect the amount of access services that the service node can provide in real time through the redundancy; and the preset threshold interval characterizes the reasonable range of the amount of access services provided by the service node. The relationship between the redundancy and the preset threshold interval is used to judge Whether the amount of service provided by the service node in real time is reasonable, and then increase or decrease the management of the service node based on the rationality; avoid manual repeated operations to increase or decrease the management, and realize the automatic increase and decrease management deployment of the service node, reducing the operation and maintenance cost and improving The high availability of each service node in the hybrid cloud architecture is described.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请的服务节点的管理方法第一实施例的流程示意图;FIG. 1 is a schematic flowchart of a first embodiment of a management method of a service node according to the present application; FIG.
图2是本申请的服务节点的管理装置第一实施例的功能模块示意图;2 is a schematic diagram of functional modules of a first embodiment of a management device for a service node of the present application;
图3是本申请实施例方法涉及的硬件运行环境的设备结构示意图。FIG. 3 is a schematic diagram of a device structure of a hardware operating environment involved in a method according to an embodiment of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the purpose of this application will be further described with reference to the embodiments and the drawings.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application.
本申请提供一种服务节点的管理方法。This application provides a method for managing a service node.
请参照图1,图1为本申请服务节点的管理方法第一实施例的流程示意图。在本实施例中,所述服务节点的管理方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a first embodiment of a management method for a service node of this application. In this embodiment, the method for managing a service node includes:
步骤S10,读取服务节点的多个额定参数,以及与各所述额定参数对应的参数系数,并根据各所述额定参数和各所述参数系数,确定所述服务节点的多个性能参数,以及所述服务节点的极限容量;Step S10, reading a plurality of rated parameters of the service node and parameter coefficients corresponding to each of the rated parameters, and determining a plurality of performance parameters of the service node according to each of the rated parameters and each of the parameter coefficients, And the limit capacity of the service node;
本申请的服务节点的管理方法应用于网络环境平台的控制中心,适用于通过控制中心实现对网络环境平台中各服务节点的管理。本实施例的网络环境为由传统IDC网络环境和云平台网络环境共同向外提供服务的混合云架构,如金融机 构中反欺诈平台的混合云架构;服务节点则包括传统IDC网络环境和云平台网络环境中所有向外提供服务的节点,外部的访问通过向服务节点发起访问请求,通过服务节点接入到网络环境,获得网络环境的资源。网络环境中包括大量服务节点,在提供不同类型服务的同时,分担各服务节点的负载量;不同服务节点之间所具有的硬件资源存在差异性,使得各服务节点提供服务的能力不同,如8核8G的服务节点与4核8G服务节点之间的差异性。即不同硬件资源表征服务节点具有不同的性能,将服务节点所具有硬件资源的参数作为服务节点额定参数,包括核心数、频率、内存类型值、类存大小值、磁盘类型值、IO带宽值、该服务节点所分配的网络带宽值。此外,考虑到不同的额定参数对服务节点的性能影响程度存在差异,从而针对各个额定参数预先设定不同的参数系数,通过参数系数的不同来体现各个额定参数对服务节点性能的影响;其中参数系数经试验确定,设定多个不同参数系数进行试验,拟合确定最佳的参数系数。The service node management method of the present application is applied to a control center of a network environment platform, and is applicable to realize the management of each service node in the network environment platform through the control center. The network environment of this embodiment is a hybrid cloud architecture that provides services to both the traditional IDC network environment and the cloud platform network environment, such as the hybrid cloud architecture of anti-fraud platforms in financial institutions; the service nodes include the traditional IDC network environment and the cloud platform. In the network environment, for all nodes that provide services to the outside, external access initiates an access request to the service node, accesses the network environment through the service node, and obtains the resources of the network environment. The network environment includes a large number of service nodes. While providing different types of services, the load of each service node is shared; there are differences in hardware resources between different service nodes, making each service node's ability to provide services different, such as 8 The difference between a core 8G service node and a 4-core 8G service node. That is, different hardware resources indicate that the service node has different performance. The parameters of the hardware resources of the service node are used as the rated parameters of the service node, including the number of cores, frequency, memory type, storage size value, disk type value, IO bandwidth value, The network bandwidth value allocated by this service node. In addition, considering the difference in the degree of influence of different rated parameters on the performance of the service node, different parameter coefficients are set for each rated parameter in advance, and the effect of each rated parameter on the performance of the service node is reflected by the different parameter coefficients; The coefficients are determined through experiments. A number of different parameter coefficients are set for experiments, and the best parameter coefficients are determined by fitting.
在对服务节点管理过程中,读取服务节点的多个额定参数,以及与各个额定参数对应的参数系数,以确定服务节点所具有的性能。而因不同额定参数表征服务节点在不同方面的性能,从而根据不同的额定参数及对应参数系数,可确定服务节点的多个性能参数。如由核心数、频率及其对应参数系数,所确定的服务节点中由CPU(Central Processing Unit,中央处理器)的核数和频率决定的性能参数;而由内存类型值、内存大小值及其对应参数系数,所确定的服务节点中由内存类型和内存大小决定的性能参数;由磁盘类型值、IO带宽值及其对应参数系数,所确定的服务节点中由磁盘类型及IO带宽决定的性能参数;由服务节点分配的网络带宽值及其对应参数系数,所确定的网络带宽的性能值参数。在确定各个性能参数后,通过各个性能参数可反映服务节点整体所能提供服务的能力;此整 体所能提供服务的能力用极限容量确定,即根据各性能参数确定服务节点的极限容量,以表征服务节点在所有硬件资源均充分使用的情况下,其所能提供的最大访问量。In the process of managing a service node, multiple rated parameters of the service node and parameter coefficients corresponding to each of the rated parameters are read to determine the performance of the service node. Because different rated parameters characterize the performance of the service node in different aspects, multiple performance parameters of the service node can be determined according to different rated parameters and corresponding parameter coefficients. For example, the performance parameters determined by the number of cores and frequency of the CPU (Central Processing Unit) in the service node determined by the number of cores, frequency, and their corresponding parameter coefficients; and the value of the memory type, memory size, and Corresponding parameter coefficients, performance parameters determined by memory type and memory size in the determined service node; performance determined by disk type and IO bandwidth in the service node determined by disk type value, IO bandwidth value, and corresponding parameter coefficients Parameter; the value of the network bandwidth allocated by the serving node and its corresponding parameter coefficient, and the performance value parameter of the determined network bandwidth. After determining the performance parameters, the performance of the service node as a whole can be reflected by the performance parameters; the capacity of the overall service can be determined by the limit capacity, that is, the limit capacity of the service node is determined according to the performance parameters to characterize The maximum access that a service node can provide when all hardware resources are fully used.
步骤S20,读取所述服务节点的多个实时参数,并根据各所述实时参数以及所述性能参数确定所述服务节点的实时容量;Step S20: Read multiple real-time parameters of the service node, and determine the real-time capacity of the service node according to each of the real-time parameters and the performance parameter;
可理解地,因不同用户对服务节点的访问时间不一样,使得服务节点在不同时间所接收到的访问量不相同,本实施例用实时容量表征服务节点实时所提供的访问能力。读取服务节点的多个实时参数,实时参数可包括CPU实时使用率、内存的实时占有率、磁盘的实时IO占用率和网络带宽实际占用率等;通过服务节点实际使用过程中的实时参数对各性能参数的影响,确定服务节点的实时容量。Understandably, because different users access the service node at different times, the service nodes receive different amounts of access at different times. In this embodiment, real-time capacity is used to characterize the access capability provided by the service node in real time. Read multiple real-time parameters of the service node. The real-time parameters can include real-time CPU usage, real-time occupancy of memory, real-time IO occupancy of disk, and actual occupancy of network bandwidth. The influence of various performance parameters determines the real-time capacity of the service node.
步骤S30,根据所述极限容量和所述实时容量,确定所述服务节点的冗余度,并根据所述冗余度与预设阈值区间的关系,对所述服务节点进行增减管理。Step S30: Determine the redundancy of the service node according to the limit capacity and the real-time capacity, and perform increase and decrease management on the service node according to the relationship between the redundancy and a preset threshold interval.
进一步地,在确定服务节点最大所能提供的访问量以及实际提供的访问量之后,可根据两者确定服务节点的冗余度,即服务节点剩余可接入的访问量;其中冗余度最大极限值接近于1,而最小极限值接近于0;最大极限值表征服务节点可接入的最大访问量,最小极限值表征服务节点可接入的最小访问量。因服务节点用于对外提供服务,需要考虑到服务节点的带宽、响应速度等;在带宽一定的情况下,响应速度与访问量相关;若访问量过大,可能会拉低响应速度。从而需要控制访问量在一定范围内,具体地,预先设定预设阈值区间,根据冗余度与此预设阈值区间的大小关系,确定服务节点的访问量大小;进而对服务节点进行增减管理,以确保服务节点的访问量在一定范围内。Further, after determining the maximum amount of access that the serving node can provide and the actual amount of access provided, the redundancy of the serving node can be determined according to both, that is, the remaining accessible access amount of the serving node; among which the redundancy is the largest The limit value is close to 1, and the minimum limit value is close to 0; the maximum limit value represents the maximum access amount that the service node can access, and the minimum limit value represents the minimum access amount that the service node can access. Because the service node is used to provide services to the outside, the bandwidth and response speed of the service node need to be considered; under a certain bandwidth, the response speed is related to the traffic; if the traffic is too large, the response speed may be lowered. Therefore, it is necessary to control the amount of access within a certain range. Specifically, a preset threshold interval is set in advance, and the amount of access of the service node is determined according to the relationship between the redundancy and the preset threshold interval; Management to ensure that the number of visits to service nodes is within a certain range.
预设阈值区间为通过多次试验所确定,包括上边界阈值和下边界阈值的数 值区间;上边界阈值表征冗余度较大,服务节点的访问量较小,资源消耗较小;而下边界阈值表征冗余度较小,服务节点的访问量较大,资源消耗较大。对于访问量较大的下边界阈值,考虑到服务节点的极限容量为其理论上所能接入的最大访问量,在实际使用过程中,因外界环境因素的影响可能并不能达到此理论值,从而所设定的下边界阈值为比极限容量数值小的数值。而为了准确反映服务节点的资源即将被消耗殆尽,通过压力测试的实验确定此下边界阈值。具体地,服务节点对外暴露有接口,通过接口调用的方式实现对服务节点的访问测试;对接口的调用频度可反映服务节点的访问请求次数;使用不同的调用频度对接口进行调用,以对服务节点进行压力测试,确定压力测试达到拐点的耗时,其中拐点为服务节点资源急剧消耗点;因耗时也可体现服务节点资源的充足情况,耗时越短说明服务节点资源较丰富;从而试验调用频度和耗时平衡的拐点,在此平衡的拐点,调用频度较高且耗时也较高,表示服务节点访问量大,资源即将消耗殆尽,而将此拐点的数值作为下边界阈值。其中根据冗余度与预设阈值区间的关系,对服务节点进行增减管理的步骤包括:The preset threshold interval is determined through multiple experiments, including the numerical interval of the upper boundary threshold and the lower boundary threshold; the upper boundary threshold represents greater redundancy, the number of service node visits is small, and the resource consumption is small; and the lower boundary The threshold indicates that the redundancy is small, the number of accesses to the service node is large, and the resource consumption is large. For the lower boundary threshold of a large number of visits, considering that the limit capacity of the service node is the theoretical maximum access that can be accessed, in actual use, due to the influence of external environmental factors, this theoretical value may not be reached. Therefore, the set lower boundary threshold value is smaller than the limit capacity value. In order to accurately reflect that the service node's resources are about to be exhausted, the lower boundary threshold is determined through stress test experiments. Specifically, the service node has an interface exposed to the outside, and the access test of the service node is implemented by means of the interface call; the frequency of the call to the interface can reflect the number of access requests of the service node; the interface is called using different call frequencies to Perform stress test on the service node to determine the time it takes for the stress test to reach the inflection point, where the inflection point is the sharp consumption point of the service node resources; the time consumption can also reflect the sufficient condition of the service node resources, and the shorter the time consumption, the richer the service node resources; Therefore, the inflection point of the balance between call frequency and time consumption is tested. At this inflection point, the call frequency is high and the time consumption is high. It means that the service node is accessed a lot and the resources are about to be exhausted. The value of this inflection point is used as Lower boundary threshold. According to the relationship between the redundancy and the preset threshold interval, the steps of increasing or decreasing the service node include:
步骤S31,将所述冗余度和预设阈值区间对比,判断所述冗余度是否在预设阈值区间内;Step S31: comparing the redundancy with a preset threshold interval to determine whether the redundancy is within a preset threshold interval;
更进一步地,在确定服务节点的冗余度后,将冗余度和预设阈值区间对比,判断冗余度是否在预设阈值区间内,即服务节点的访问量是否在合适的范围内。将冗余度分别和预设阈值区间的上边界阈值、下边界阈值对比,判断冗余度是否大于下边界阈值,并小于上边界阈值。Furthermore, after determining the redundancy of the serving node, the redundancy is compared with a preset threshold interval to determine whether the redundancy is within the preset threshold interval, that is, whether the access amount of the serving node is within an appropriate range. Compare the redundancy with the upper boundary threshold and the lower boundary threshold of the preset threshold interval to determine whether the redundancy is larger than the lower boundary threshold and smaller than the upper boundary threshold.
步骤S32,当所述冗余度小于预设阈值区间下边界数值时,增加与所述服务节点对应的新服务节点;Step S32: when the redundancy is less than a lower boundary value of a preset threshold interval, adding a new service node corresponding to the service node;
当判断出服务节点的冗余度小于预设阈值区间的下边界数值时,说明服务节点剩余可接入的访问请求数量很少,当前的访问量很大,可能影响其响应速度。从而自动增加与服务节点对应的新服务节点,两者的对应关系在于新增的服务节点与原服务节点所提供的服务类型一致。为新增的服务节点分配IP地址、CPU核数、内存大小值、带宽值等资源,以使用新增服务节点提供服务,分担原服务节点的访问压力。When it is determined that the redundancy of the serving node is less than the lower boundary value of the preset threshold interval, it indicates that the remaining number of accessible access requests of the serving node is small, and the current amount of access is large, which may affect its response speed. Thereby, a new service node corresponding to the service node is automatically added, and the corresponding relationship between the two is that the new service node is consistent with the type of service provided by the original service node. Allocate resources such as IP addresses, CPU cores, memory size values, and bandwidth values to the newly added service nodes to use the newly added service nodes to provide services and share the access pressure of the original service nodes.
步骤S33,当所述冗余度大于预设阈值区间上边界数值时,对所述服务节点进行删除操作。Step S33: When the redundancy is greater than the upper boundary value of a preset threshold interval, perform a delete operation on the serving node.
当判断出服务节点的冗余度大于预设阈值区间的上边界数值时,说明服务节点剩余可接入的访问请求数量很大,当前的访问量很小,资源没有得到充分利用。从而对此服务节点进行自动删除操作,以释放并回收系统资源;同时将对此服务节点的访问请求接入到其他与此服务节点所提供类似服务的服务节点上,以在对外提供服务的同时,充分利用系统资源。When it is determined that the redundancy of the serving node is greater than the upper boundary value of the preset threshold interval, it indicates that the remaining access requests of the serving node are large, the current access volume is small, and the resources are not fully utilized. Therefore, the service node is automatically deleted to release and recycle system resources. At the same time, the access request of this service node is connected to other service nodes that provide similar services provided by this service node, so that while providing services to the outside world, Make full use of system resources.
本实施例的服务节点的管理方法,根据所读取的服务节点的多个额定参数以及与各额定参数对应的各参数系数,确定服务节点的多个性能参数以及极限容量;同时还根据所读取的服务器的多个实时参数以及所确定的多个性能参数进一步确定服务器的实时容量,进而根据极限容量和实时容量确定服务节点的冗余度;因实时容量表征服务节点中各资源的实时使用程度,从而通过冗余度可反映服务节点实时所能提供的访问服务量;而预设阈值区间表征服务节点所提供访问服务量的合理范围,用冗余度和预设阈值区间的关系,判断服务节点实时所提供服务量是否合理,进而根据合理性对服务节点进行增减管理;避免了人工重复操作进行增减管理,实现对服务节点的自动增减管理部署,降低了运维成本,提高了混 合云架构中各服务节点的高可用性。The method for managing a service node of this embodiment determines multiple performance parameters and limit capacities of a service node according to the read multiple rated parameters of the service node and parameter coefficients corresponding to the rated parameters; The multiple real-time parameters of the server and the determined multiple performance parameters further determine the real-time capacity of the server, and then determine the redundancy of the service node according to the limit capacity and real-time capacity; because the real-time capacity represents the real-time use of resources in the service node The degree of redundancy can reflect the amount of access services that the service node can provide in real time through the redundancy; and the preset threshold interval characterizes the reasonable range of the amount of access services provided by the service node. The relationship between the redundancy and the preset threshold interval is used to judge Whether the amount of service provided by the service node in real time is reasonable, and then increase or decrease the management of the service node based on the rationality; avoid manual repeated operations to increase or decrease the management, and realize the automatic increase and decrease management deployment of the service node, reducing the operation and maintenance cost and improving The high availability of each service node in the hybrid cloud architecture is described.
进一步地,在本申请服务器节点的管理方法另一实施例中,所述根据各所述额定参数和各所述参数系数,确定所述服务节点的多个性能参数,以及所述服务节点的极限容量的步骤包括:Further, in another embodiment of the method for managing server nodes of the present application, the plurality of performance parameters of the service node and the limit of the service node are determined according to each of the rated parameters and each of the parameter coefficients. The steps for capacity include:
步骤S11,将各所述额定参数和各所述参数系数基于参数属性进行分组,并根据各组中的所述额定参数和所述参数系数,生成所述服务节点的多个性能参数;Step S11: group each of the rated parameters and each of the parameter coefficients based on parameter attributes, and generate multiple performance parameters of the service node according to the rated parameters and the parameter coefficients in each group;
更进一步地,不同额定参数具有不同的参数属性,表征服务节点在不同方面的性能;从而可按照参数属性对额定参数进行分组,将具有相同参数属性的额定参数划分为同一组;通过同一组内额定参数表征服务节点在同一方面的性能。因性能还与参数系数相关,从而在将额定参数进行分组的同时,还将与额定参数对应的参数系数划分到与额定参数对应的组内,以通过各组内的额定参数和参数系数生成反映服务节点性能的多个性能参数。具体地,因服务节点在CPU方面的性能参数由核心数和频率决定,将核心数和频率设定为具有同样的参数属性,而将两者及其对应的参数系数划分到同一组。因服务节点在内存方面的性能参数由内存类型值和内存大小决定,将内存类型值和内存大小设定为具有同样的参数属性,而将两者及其对应的参数系数划分到同一组。服务节点在磁盘类型方面的性能参数由磁盘类型值和IO带宽值决定,将磁盘类型值和IO带宽值设定为具有同样的参数属性,而将两者及其对应的参数系数划分到同一组。服务节点在网络带宽方面的性能参数由服务节点分配的网络带宽值决定,将服务节点分配的网络带宽值及其对应的参数系数划分为一组。在将各额定参数及其各参数系数进行分组后,根据各组中所具有的额定参数及其参数系数,可生成各组中反映服务节点性能的性能参数。Furthermore, different rated parameters have different parameter attributes, which characterize the performance of the service node in different aspects; thus, the rated parameters can be grouped according to the parameter attributes, and the rated parameters with the same parameter attributes can be divided into the same group; The rated parameters characterize the performance of the service node in the same respect. Because the performance is also related to the parameter coefficients, while grouping the rated parameters, the parameter coefficients corresponding to the rated parameters are also divided into groups corresponding to the rated parameters to reflect the rated parameters and parameter coefficients in each group. Multiple performance parameters for service node performance. Specifically, since the performance parameters of the service node on the CPU are determined by the number of cores and frequency, the number of cores and frequency are set to have the same parameter attributes, and the two and their corresponding parameter coefficients are divided into the same group. Because the performance parameters of the service node in memory are determined by the memory type value and the memory size, the memory type value and the memory size are set to have the same parameter attributes, and the two and their corresponding parameter coefficients are divided into the same group. The performance parameters of the service node in terms of disk type are determined by the disk type value and the IO bandwidth value. The disk type value and the IO bandwidth value are set to have the same parameter attributes, and the two and their corresponding parameter coefficients are divided into the same group. . The performance parameters of the service node in terms of network bandwidth are determined by the network bandwidth value allocated by the service node, and the network bandwidth value allocated by the service node and its corresponding parameter coefficient are divided into a group. After grouping each of the rated parameters and their parameter coefficients, according to the rated parameters and their parameter coefficients in each group, performance parameters reflecting the performance of the service node in each group can be generated.
具体地,为了根据各组中额定参数及其对应的各参数系数,确定服务节点的多个性能参数,预先通过多次试验设定有预设公式;将各组中的额定参数及其对应的各参数系数输入到预设公式中,代替其中的自变量进行计算,计算所得到的结果即为性能参数。因各组中所具有的额定参数不相同,表征服务器节点在不同方面的性能,计算时将各组中的额定参数及其对应参数系数输入到预设公式中,得到不同的性能参数。具体地预设公式为:Specifically, in order to determine multiple performance parameters of the service node according to the rated parameters in each group and their corresponding parameter coefficients, preset formulas are set through multiple experiments in advance; the rated parameters in each group and their corresponding The coefficients of each parameter are input into the preset formula and are calculated instead of the independent variables therein. The result obtained by the calculation is the performance parameter. Because the rated parameters in each group are different, which characterizes the performance of the server node in different aspects, the rated parameters in each group and their corresponding parameter coefficients are entered into a preset formula during calculation to obtain different performance parameters. Specifically, the preset formula is:
y=m 1*x 1+m 2*x 2 y = m 1 * x 1 + m 2 * x 2
其中y为性能参数,x1、x2为各额定参数,m1、m2为与额定参数对应的参数系数。Among them, y is a performance parameter, x1, x2 are each rated parameter, and m1, m2 are parameter coefficients corresponding to the rated parameter.
性能参数因x1、x2以及m1、m2取值的不同而不同。具体地,当在确定服务节点中由CPU核数和频率决定的性能参数y,即服务节点在CPU方面的性能参数时,x1和x2分别为核心数和频率(GHZ),m1、m2则分别为与核心数和频率对应的参数系数。当在确定服务节点中由内存类型和内存大小决定的性能参数y,即服务节点在内存方面的性能参数时,x1和x2分别为内存类型值和内存大小值(GB),m1、m2分别为与内存类型值和内存大小值对应的参数系数;其中内存类型值为依据不同的内存类型而设定的参数值,如ddr2(Double-Data-RateTwoSynchronousDynamicRandomAccessMemory,第二代双倍数据率同步动态随机存取存储器)型的内存类型值比ddr3型的内存类型值低。当在确定服务节点中由磁盘类型及IO带宽决定的性能参数y,即服务节点在磁盘类型方面的性能参数时,x1和x2分别为磁盘类型值和IO带宽值(MB),m1、m2则分别为与磁盘类型值和IO带宽值对应的参数系数;其中磁盘类型值为依据不同的磁盘类型而设定的参数值,如ssd(Solid State Drives,固态硬盘)盘的磁盘类 型值比机械盘的磁盘类型值高。当在确定服务节点中由网络带宽决定的性能值参数y时,因网络带宽仅与服务节点所分配的网络带宽值确定,从而将x1作为由服务节点分配的网络带宽值,k1则为与由服务节点分配的网络带宽值对应的参数系数;而x2的取值为0,使得与仅与x1、k1相关。将各组中的额定参数及其对应的参数系数,按照上述组合分别输入到预设公式中,得到表征服务节点各个方面性能的多个性能参数。The performance parameters are different due to the different values of x1, x2 and m1, m2. Specifically, when determining the performance parameter y determined by the number of CPU cores and frequency in the service node, that is, the performance parameter of the service node in terms of CPU, x1 and x2 are the number of cores and frequency (GHZ), and m1 and m2 are respectively It is a parameter coefficient corresponding to the number of cores and frequency. When determining the performance parameter y determined by the memory type and memory size in the service node, that is, the performance parameter of the service node in terms of memory, x1 and x2 are the memory type value and memory size value (GB), and m1 and m2 are respectively Parameter coefficient corresponding to the memory type value and memory size value; where the memory type value is a parameter value set according to different memory types, such as ddr2 (Double-Data-RateTwoSynchronousDynamicRandomAccessMemory, the second generation double data rate synchronous dynamic random storage The value of the memory type is lower than that of the ddr3 type. When determining the performance parameter y determined by the disk type and IO bandwidth in the service node, that is, the performance parameter of the service node in terms of disk type, x1 and x2 are the disk type value and the IO bandwidth value (MB), and m1 and m2 are Parameter coefficients corresponding to the disk type value and the IO bandwidth value respectively; wherein the disk type value is a parameter value set according to different disk types, such as ssd (Solid State Drives, solid state hard disk) disks whose disk type values are more than mechanical disks The disk type value is high. When determining the performance value parameter y determined by the network bandwidth in the serving node, the network bandwidth is determined only by the network bandwidth value allocated by the serving node, so x1 is used as the network bandwidth value allocated by the serving node, and k1 is the same as The parameter coefficient corresponding to the network bandwidth value assigned by the serving node; and the value of x2 is 0, which is related to only x1 and k1. The rated parameters in each group and their corresponding parameter coefficients are respectively input into preset formulas according to the above combination to obtain multiple performance parameters that characterize the performance of each aspect of the service node.
步骤S12,读取与各所述性能参数对应的预设权重值,并将各所述预设权重值和各所述性能参数输入到第一预设公式中,计算所述服务节点的极限容量;Step S12: Read a preset weight value corresponding to each of the performance parameters, and input each of the preset weight value and each of the performance parameters into a first preset formula to calculate a limit capacity of the service node. ;
其中第一预设公式:ValX=k 1lgA 1+k 2lgA 2+k 3lgA 3+k 4lgA 4,ValX为极限容量,A1、A2、A3和A4为各所述性能参数,k1、k2、k3和k4为各所述预设权重值,lg为取对数值。 The first preset formula: ValX = k 1 lgA 1 + k 2 lgA 2 + k 3 lgA 3 + k 4 lgA 4 , ValX is the limit capacity, A1, A2, A3, and A4 are each of the performance parameters, k1, k2, k3, and k4 are each the preset weight value, and lg is a logarithmic value.
进一步地,在确定表征服务节点各个方面性能的多个性能参数后,虽然通过各个性能参数可反映服务节点整体所能提供服务的能力,但各个方面的性能对服务节点整体性能的影响程度存在差异;某些性能参数对服务节点整体提供服务的能力影响较大,而另一些性能参数对服务节点整体提供服务的能力影响较小。为了表征各性能参数对服务节点整体性能的影响,预先针对反映各个方面性能的性能参数设定不同的预设权重值,预设权重值通过多次试验或历史数据统计确定,以表征各个性能参数对整体性能的影响。在确定各个性能参数后,结合与各性能参数对应的预设权重值,确定反映服务节点整体性能的极限容量。具体地,预先通过多次试验设定有第一预设公式,将各性能参数及其对应的预设权重值输入到第一预设公式中,代替其中的自变量进行计算,计算所得到的结果即为服务节点的极限容量,其中,第一预设公式为:ValX=k 1lgA 1+k 2lgA 2+k 3lgA 3+k 4lgA 4 Further, after determining a plurality of performance parameters that characterize the performance of each aspect of the service node, although the performance capabilities of the service node as a whole can be reflected by the performance parameters, the impact of the performance of each aspect on the overall performance of the service node varies. ; Some performance parameters have a greater impact on the ability of the service node to provide services as a whole, while other performance parameters have a smaller impact on the ability of the service nodes to provide services as a whole. In order to characterize the impact of various performance parameters on the overall performance of the service node, different preset weight values are set in advance for performance parameters reflecting various aspects of performance. The preset weight values are determined through multiple experiments or historical data statistics to characterize each performance parameter. Impact on overall performance. After determining each performance parameter, combined with a preset weight value corresponding to each performance parameter, a limit capacity that reflects the overall performance of the service node is determined. Specifically, a first preset formula is set through multiple experiments in advance, and each performance parameter and its corresponding preset weight value are input into the first preset formula, and the independent variables therein are calculated and calculated. The result is the limit capacity of the service node, where the first preset formula is: ValX = k 1 lgA 1 + k 2 lgA 2 + k 3 lgA 3 + k 4 lgA 4
其中,ValX为极限容量,A1为由CPU核数和频率决定的性能参数、A2由内存类型和内存大小决定的性能参数、A3为由磁盘类型及IO带宽决定的性能参数、A4为由网络带宽决定的性能值参数,k1、k2、k3和k4分别为与A1、A2、A3和A4对应的预设权重值,lg为取对数值。Among them, ValX is the limit capacity, A1 is the performance parameter determined by the number of CPU cores and frequency, A2 is the performance parameter determined by the memory type and memory size, A3 is the performance parameter determined by the disk type and IO bandwidth, and A4 is the network bandwidth The determined performance value parameters, k1, k2, k3, and k4 are preset weight values corresponding to A1, A2, A3, and A4, respectively, and lg is a logarithmic value.
将由预设公式计算得到的由CPU核数和频率决定的性能参数及其对应的预设权重值,分别替换此第一预设公式中的A1和k1,将由预设公式计算得到的由内存类型和内存大小决定的性能参数及其对应的预设权重值,分别替换此第一预设公式中的A2和k2,将由预设公式计算得到的由磁盘类型及IO带宽决定的性能参数及其对应的预设权重值,分别替换此第一预设公式中的A3和k3,将由预设公式计算得到的由网络带宽决定的性能值参数及其对应的预设权重值,分别替换此第一预设公式中的A4和k4,对此经替换操作的第一预设公式进行计算,所得到的计算结果即为极限容量,表征服务节点所能承受的最大访问量。The performance parameters determined by the number and frequency of CPU cores and their corresponding preset weight values calculated by the preset formula will be replaced by A1 and k1 in this first preset formula, respectively, and the memory type calculated by the preset formula will be The performance parameters determined by the memory size and their corresponding preset weight values replace A2 and k2 in this first preset formula, respectively. The performance parameters determined by the disk type and IO bandwidth and their corresponding calculations will be calculated by the preset formula. The preset weight values of A1 and K3 are replaced in this first preset formula, respectively. The performance value parameters determined by the network bandwidth calculated by the preset formula and their corresponding preset weight values are used to replace the first preset values. Let A4 and k4 in the formula be used to calculate the first preset formula after the replacement operation. The obtained calculation result is the limit capacity, which represents the maximum access amount that the service node can withstand.
进一步地,在本申请服务器节点的管理方法另一实施例中,所述根据各所述实时参数以及所述性能参数确定所述服务节点的实时容量的步骤包括:Further, in another embodiment of the method for managing server nodes of this application, the step of determining the real-time capacity of the service node according to each of the real-time parameters and the performance parameters includes:
将各所述实时参数、各所述性能参数以及各所述预设权重值输入到第二预设公式中,计算所述服务节点的实时容量;Inputting each of the real-time parameters, each of the performance parameters, and each of the preset weight values into a second preset formula to calculate a real-time capacity of the service node;
其中所述第二预设公式:ValY=k 1lgA 1*Q 1+k 2lgA 2*Q 2+k 3lgA 3*Q 3+k 4lgA 4*Q 4,ValY为实时容量,A1、A2、A3和A4为各所述性能参数,k1、k2、k3和k4为各所述预设权重值,Q1、Q2、Q3和Q4为各实时参数,lg为取对数值。 The second preset formula: ValY = k 1 lgA 1 * Q 1 + k 2 lgA 2 * Q 2 + k 3 lgA 3 * Q 3 + k 4 lgA 4 * Q 4 , ValY is real-time capacity, A1 A2, A3, and A4 are each of the performance parameters, k1, k2, k3, and k4 are each of the preset weight values, Q1, Q2, Q3, and Q4 are real-time parameters, and lg is a logarithmic value.
本实施例为了对服务节点实时所接入访问请求的实时容量进行计数,预先设置有第二预设公式;将读取的各实时参数,各性能参数以及与各性能参数对应 的各预设权重值输入到第二预设公式中,代替其中的自变量进行计算,计算所得到的结果即为服务节点的实时容量,具体地,第二预设公式为:ValY=k 1lgA 1*Q 1+k 2lgA 2*Q 2+k 3lgA 3*Q 3+k 4lgA 4*Q 4 In this embodiment, in order to count the real-time capacity of the access requests accessed by the service nodes in real time, a second preset formula is set in advance; each real-time parameter, each performance parameter, and each preset weight corresponding to each performance parameter are read. The value is input into the second preset formula, which is calculated instead of the independent variables. The result of the calculation is the real-time capacity of the service node. Specifically, the second preset formula is: ValY = k 1 lgA 1 * Q 1 + k 2 lgA 2 * Q 2 + k 3 lgA 3 * Q 3 + k 4 lgA 4 * Q 4
其中,ValY为实时容量,Q1为CPU实时使用率、Q2为内存的实时占有率、Q3为磁盘的实时IO占用率、Q4为网络带宽实际占用率,A1为由CPU核数和频率决定的性能参数、A2由内存类型和内存大小决定的性能参数、A3为由磁盘类型及IO带宽决定的性能参数、A4为由网络带宽决定的性能值参数,k1、k2、k3和k4分别为与A1、A2、A3和A4对应的预设权重值,lg为取对数值。Among them, ValY is the real-time capacity, Q1 is the real-time CPU usage, Q2 is the real-time occupancy of memory, Q3 is the real-time IO occupancy of the disk, Q4 is the actual occupancy of network bandwidth, and A1 is the performance determined by the number of CPU cores and frequency. Parameter, A2 is a performance parameter determined by the memory type and memory size, A3 is a performance parameter determined by the disk type and IO bandwidth, A4 is a performance value parameter determined by the network bandwidth, k1, k2, k3, and k4 are the same as A1, respectively. The preset weights corresponding to A2, A3, and A4, where lg is the logarithmic value.
将读取的CPU实时使用率,以及由预设公式计算得到的由CPU核数和频率决定的性能参数及其对应的预设权重值,分别替换此第二预设公式中的Q1、A1和k1;将读取的内存的实时占有率,以及由预设公式计算得到的由内存类型和内存大小决定的性能参数及其对应的预设权重值,分别替换此第二预设公式中的Q2、A2和k2;将读取的磁盘的实时IO占用率,以及由预设公式计算得到的由磁盘类型及IO带宽决定的性能参数及其对应的预设权重值,分别替换此第二预设公式中的Q3、A3和k3;将读取的网络带宽实际占用率,以及由预设公式计算得到的由网络带宽决定的性能值参数及其对应的预设权重值,分别替换此第二预设公式中的Q4、A4和k4;对此经替换操作的第二预设公式进行计算,所得到的计算结果即为实时容量,表征服务节点当前实时所接入的访问量。The read real-time CPU usage rate and the performance parameters determined by the number and frequency of CPU cores and their corresponding preset weight values calculated from the preset formula are used to replace Q1, A1 and k1; will read the real-time occupancy of the memory, and the performance parameters determined by the memory type and memory size and their corresponding preset weight values calculated from the preset formula, respectively replacing Q2 in this second preset formula , A2, and k2; the real-time IO occupancy of the disk to be read, and the performance parameters determined by the disk type and IO bandwidth and their corresponding preset weight values calculated by the preset formula, respectively, replace this second preset Q3, A3, and k3 in the formula; the actual occupancy of the network bandwidth read, and the performance value parameter determined by the network bandwidth calculated from the preset formula and its corresponding preset weight value, respectively replace this second preset Set Q4, A4, and k4 in the formula; calculate the second preset formula after the replacement operation, and the calculation result obtained is the real-time capacity, which represents the access amount that the service node currently accesses in real time.
进一步地,在本申请服务器节点的管理方法另一实施例中,所述根据所述极限容量和所述实时容量,确定所述服务节点的冗余度的步骤包括:Further, in another embodiment of the method for managing server nodes of the present application, the step of determining the redundancy of the service node according to the limit capacity and the real-time capacity includes:
将所述极限容量和所述实时容量输入到第三预设公式中,计算所述服务节点的冗余度;Inputting the limit capacity and the real-time capacity into a third preset formula to calculate the redundancy of the service node;
其中所述第三预设公式:R=1-ValY/ValX,R为冗余度,ValY为实时容量,ValX为极限容量。The third preset formula is: R = 1-ValY / ValX, R is redundancy, ValY is real-time capacity, and ValX is limit capacity.
更进一步地,在确定服务节点的极限容量和实时容量后,为了根据极限容量和实时容量确定服务节点的冗余度,预先通过实验设置有第三预设公式;将确定的极限容量和实时容量传输到第三预设公式中,代替其中的自变量进行计算,所得到的结果即为服务节点的冗余度,具体地,第三预设公式为:R=1-ValY/ValXFurthermore, after determining the limit capacity and real-time capacity of the service node, in order to determine the redundancy of the service node according to the limit capacity and real-time capacity, a third preset formula is set in advance through experiments; the determined limit capacity and real-time capacity are Transfer it to the third preset formula and calculate it instead of the independent variables. The obtained result is the redundancy of the service node. Specifically, the third preset formula is: R = 1-ValY / ValX
其中,R为冗余度、ValY为实时容量、ValX为极限容量。Among them, R is redundancy, ValY is real-time capacity, and ValX is limit capacity.
将经第一预设公式计算得到极限容量,以及经第二预设公式计算得到的实时容量分别替换此第三预设公式中的ValX、ValY;对此经替换操作的第三预设公式进行计算,所得到的计算结果即为服务节点的冗余度;表征服务节点当前可接入的访问量,以通过此冗余度对服务节点管理,进行增加或删除操作。The limit capacity calculated by the first preset formula and the real-time capacity calculated by the second preset formula are used to replace ValX and ValY in the third preset formula, respectively; After calculation, the obtained calculation result is the redundancy of the service node; it represents the currently accessible access amount of the service node, and the service node is managed and added or deleted through this redundancy.
进一步地,在本申请服务器节点的管理方法另一实施例中,所述增加与所述服务节点对应的新服务节点的步骤之后包括:Further, in another embodiment of the method for managing server nodes of the present application, after the step of adding a new service node corresponding to the service node includes:
步骤S34,读取与所述新服务节点对应的新增额定参数,并将所述新增额定参数与其他服务节点的额定参数对比,确定所述其他服务节点的额定参数中与所述新增额定参数匹配的目标额定参数;Step S34: Read the newly added rated parameters corresponding to the new service node, compare the newly added rated parameters with the rated parameters of other service nodes, and determine that among the rated parameters of the other service nodes and the newly added Target rated parameters matching the rated parameters;
可理解地,因各服务节点所具有的资源不同,所提供服务能力不同,如8核8G的服务节点的服务能力优于4核8G服务节点的服务能力。为了更好的对访问请求进行响应,应将访问请求优先接入到服务能力好的服务节点。而为了表征各服务节点的服务能力的优劣,本实施例设置有根据各服务节点所具有的资源,对各服务节点分配访问权重的机制,且其中资源配置越高所分配的访问权重越大。从而在新增服务节点后,相应的需要对此新服务节点分配访问权重。具体地,在 新增服务节点后,读取此新服务节点所对应具有的额定参数,并将其具有的额定参数作为新增额定参数,以和其他服务节点的额定参数进行区分;再将此新增的额定参数和其他服务节点所具有的额定参数对比,确定其他服务节点的额定参数中与此新增额定参数匹配的目标额定参数。其中在匹配的过程中优先确定与新增额定参数完全一致的额定参数,将此完全一致的额定参数作为目标额定参数;若其他服务节点的额定参数中不存在与此新增额定参数完全一致的额定参数,则确定与此新增额定参数差异最少的额定参数,而将此差异最少的额定参数作为目标额定参数。Understandably, because each service node has different resources and different service capabilities, for example, the service capability of an 8-core 8G service node is better than that of a 4-core 8G service node. In order to better respond to the access request, the access request should be preferentially accessed to a service node with a good service capability. In order to characterize the pros and cons of the service capabilities of each service node, this embodiment provides a mechanism for allocating access weights to each service node according to the resources possessed by each service node, and the higher the resource allocation, the greater the access weight allocated. . Therefore, after adding a new service node, it is necessary to assign an access weight to this new service node. Specifically, after a new service node is added, the rated parameters corresponding to the new service node are read, and the rated parameters that it has are used as the new rated parameters to distinguish it from the rated parameters of other service nodes; The new rated parameters are compared with the rated parameters of other service nodes to determine the target rated parameters that match the new rated parameters among the rated parameters of other service nodes. Among them, during the matching process, priority is given to the rated parameter that is completely consistent with the newly added rated parameter, and this completely consistent rated parameter is used as the target rated parameter; if there are no rated parameters of other service nodes that are completely consistent with the newly added rated parameter, The rated parameter determines the rated parameter with the least difference from this newly added rated parameter, and uses the rated parameter with the least difference as the target rated parameter.
步骤S35,确定所述目标额定参数归属的服务节点,并根据所述归属的服务节点所具有的访问权重,为所述新服务节点分配访问权重。Step S35: Determine a service node to which the target rated parameter belongs, and allocate an access weight to the new service node according to the access weight owned by the homed service node.
进一步地,因服务节点的访问权重与服务节点的资源配置相关,而资源配置由额定参数表征;在确定目标额定参数后,因目标额定参数与新增额定参数完全一致,或差异很小,使得目标额定参数所表征的资源配置与新增额定参数所表征的资源配置相同或类似;从而可由目标额定参数对应服务节点所具有的访问权重,来确定新服务节点的访问权重。因目标额定参数与新增额定参数与其他服务节点的额定参数对比确定,从而可根据对比过程确定目标额定参数所来源的服务节点,即目标额定参数所归属的服务节点;进而读取此所归属的服务节点所具有的访问权重,以此访问权重为依据,为新服务节点分配访问权重。当新增额定参数与目标额定参数完全一致时,可将新服务节点的访问权重设置为与归属的服务节点所具有的访问权重相同;而当新增额定参数所表征的服务能力高于目标额定参数,则将新服务节点的访问权重设置为高于归属的服务节点所具有的访问权重;当新增额定参数所表征的服务能力低于目标额定参数,则将新服务节点的访问权 重设置为低于归属的服务节点所具有的访问权重。根据具有类似额定参数的服务节点的访问权重为新服务节点分配访问权重,可使新服务节点的访问权重更为准确;便于后续根据访问权重将访问请求接入到各服务节点,以提供更为优质的服务。Further, because the access weight of the service node is related to the resource configuration of the service node, and the resource configuration is characterized by the rated parameters; after the target rated parameter is determined, the target rated parameter is completely consistent with the newly added rated parameter, or the difference is small, so that The resource configuration characterized by the target rated parameter is the same as or similar to the resource configuration characterized by the new rated parameter; thus, the access weight of the new service node can be determined by the access weight of the service node corresponding to the target rated parameter. Because the target rated parameter and the newly-added rated parameter are compared with the rated parameters of other service nodes, the service node from which the target rated parameter is derived, that is, the service node to which the target rated parameter belongs; can be determined according to the comparison process; The access weight that the service node has, based on this access weight, assigns an access weight to the new service node. When the new rated parameter is completely consistent with the target rated parameter, the access weight of the new service node can be set to be the same as the access weight of the owned service node; and when the new rated parameter represents a service capability higher than the target rating Parameter, the access weight of the new service node is set to be higher than the access weight of the owned service node; when the service capability represented by the newly added rated parameter is lower than the target rated parameter, the access weight of the new service node is set to Lower access weight than the home service node. Assigning access weights to the new service node according to the access weights of the service nodes with similar rating parameters can make the access weight of the new service node more accurate; it is convenient for subsequent access requests to each service node according to the access weight to provide more Excellent service.
进一步地,在本申请服务器节点的管理方法另一实施例中,所述为所述新服务节点分配访问权重的步骤之后包括:Further, in another embodiment of the method for managing server nodes of the present application, after the step of assigning an access weight to the new service node includes:
步骤S36,当接收到服务请求时,根据所述服务请求的类型确定与所述服务请求对应的目标服务节点,并判断所述目标服务节点是否存在多个;Step S36: When a service request is received, determine a target service node corresponding to the service request according to the type of the service request, and determine whether there are multiple target service nodes;
更进一步地,当用户有访问网络环境,获取网络资源的需求时,可通过接入到网络环境的终端发送服务请求;且对于不同的网络资源,所发送的服务请求中所携带的标识符不一样。当接收到此服务请求时,读取其中所携带的标识符,并将此标识符与预先设置的标识类型表中各标识符对比,确定标识类型表中与携带的标识符对应的标识符,进而根据标识类型表中与此对应标识符对应的类型,即可确定此服务请求的类型。因不同服务节点所对应的服务类型不相同,在确定服务请求的类型后,可进一步确定各服务节点中提供此类型服务的服务节点,并将此服务节点作为与服务请求对应的目标服务节点。因对于某些请求量很大的服务请求,为了提供更好的服务,通常设置有多个服务节点;从而在确定目标服务节点后,需要进一步判断此目标服务节点是否存在多个,以从多个目标服务节点中确定为服务请求提供服务的服务节点。Furthermore, when a user needs to access the network environment and obtain network resources, the user can send a service request through a terminal connected to the network environment; and for different network resources, the identifier carried in the sent service request is not same. When receiving this service request, read the identifier carried in it, and compare this identifier with each identifier in the preset identification type table to determine the identifier corresponding to the carried identifier in the identification type table. According to the type corresponding to the corresponding identifier in the identification type table, the type of the service request can be determined. Because the service types corresponding to different service nodes are different, after determining the type of service request, the service node that provides this type of service can be further determined in each service node, and this service node is used as the target service node corresponding to the service request. Because for some service requests with a large number of requests, in order to provide better services, multiple service nodes are usually set up; after determining the target service node, it is necessary to further determine whether there are multiple target service nodes in order to increase Among the target service nodes, a service node serving the service request is determined.
步骤S37,若存在多个所述目标服务节点,则判断各所述目标服务节点所具有目标访问权重的大小关系,并调用具有最大所述目标访问权重的目标访问节点对所述服务请求进行响应。Step S37: if there are multiple target service nodes, determine the size relationship of the target access weights of the target service nodes, and call the target access node with the maximum target access weight to respond to the service request .
本实施中对于同一类型的服务节点设置有相同的标识,在确定目标服务节点后,读取其中所携带的标识,并判断是否还存在其他服务节点也携带有此标识。若不存在其他服务节点也携带有此标识,则说明不存在多个目标服务节点,将此目标服务节点确定为服务请求提供服务的服务节点,由其对服务请求进行响应。若存在其他服务节点也携带有此标识,则说明存在多个目标服务节点,则读取各个目标服务节点所具有的目标访问权重,并将各个目标访问权重进行对比,确定各自的大小关系。因目标访问权重越大,则目标服务节点所能提供的服务越好;从而从大小关系中确定目标访问权重的最大值,将具有此最大目标访问权重的目标访问节点确定为服务请求提供服务的服务节点,并调用其对服务请求进行响应,以使服务请求的服务最优。In this implementation, the same identifier is set for service nodes of the same type. After the target service node is determined, the identifier carried in it is read, and it is determined whether other service nodes also carry this identifier. If no other service node also carries this identifier, it means that there are no multiple target service nodes, and this target service node is determined as the service node providing the service request service, and it will respond to the service request. If other service nodes also carry this identifier, it means that there are multiple target service nodes, then the target access weights of each target service node are read, and the target access weights are compared to determine their respective size relationships. Because the larger the target access weight, the better the service provided by the target service node; the maximum value of the target access weight is determined from the size relationship, and the target access node with this maximum target access weight is determined as the service request service The service node calls it to respond to the service request to optimize the service of the service request.
此外,请参照图2,本申请提供一种服务节点的管理装置,在本申请服务节点的管理装置第一实施例中,所述服务节点的管理装置包括:In addition, referring to FIG. 2, this application provides a management device for a service node. In a first embodiment of a management device for a service node in this application, the management device for the service node includes:
读取模块10,用于读取服务节点的多个额定参数,以及与各所述额定参数对应的参数系数,并根据各所述额定参数和各所述参数系数,确定所述服务节点的多个性能参数,以及所述服务节点的极限容量;The reading module 10 is configured to read a plurality of rated parameters of a service node and parameter coefficients corresponding to each of the rated parameters, and determine the multiplicity of the service node according to each of the rated parameters and each of the parameter coefficients. Performance parameters, and the maximum capacity of the service node;
确定模块20,用于读取所述服务节点的多个实时参数,并根据各所述实时参数以及所述性能参数确定所述服务节点的实时容量;A determining module 20, configured to read multiple real-time parameters of the service node, and determine the real-time capacity of the service node according to each of the real-time parameters and the performance parameter;
管理模块30,用于根据所述极限容量和所述实时容量,确定所述服务节点的冗余度,并根据所述冗余度与预设阈值区间的关系,对所述服务节点进行增减管理。The management module 30 is configured to determine the redundancy of the service node according to the limit capacity and the real-time capacity, and increase or decrease the service node according to the relationship between the redundancy and a preset threshold interval. management.
本实施例的服务节点的管理装置,读取模块10根据所读取的服务节点的多个额定参数以及与各额定参数对应的各参数系数,确定服务节点的多个性能参数 以及极限容量;同时确定模块20还根据所读取的服务器的多个实时参数以及所确定的多个性能参数进一步确定服务器的实时容量,进而管理模块30根据极限容量和实时容量确定服务节点的冗余度;因实时容量表征服务节点中各资源的实时使用程度,从而通过冗余度可反映服务节点实时所能提供的访问服务量;而预设阈值区间表征服务节点所提供访问服务量的合理范围,用冗余度和预设阈值区间的关系,判断服务节点实时所提供服务量是否合理,进而根据合理性对服务节点进行增减管理;避免了人工重复操作进行增减管理,实现对服务节点的自动增减管理部署,降低了运维成本,提高了混合云架构中各服务节点的高可用性。In the management device of the service node in this embodiment, the reading module 10 determines multiple performance parameters and limit capacities of the service node according to the read multiple rated parameters of the service node and parameter coefficients corresponding to the rated parameters; The determination module 20 further determines the real-time capacity of the server according to the read real-time parameters of the server and the determined multiple performance parameters, and then the management module 30 determines the redundancy of the service node according to the limit capacity and real-time capacity; The capacity represents the real-time usage of each resource in the service node, so that the redundancy can reflect the amount of access services that the service node can provide in real time; and the preset threshold interval characterizes the reasonable range of the amount of access services provided by the service node, using redundancy The relationship between the degree and the preset threshold interval is used to determine whether the service volume provided by the service node is reasonable in real time, and then to increase or decrease the service node based on the rationality; avoiding manual repeated operations for increase or decrease management, and to automatically increase or decrease the service node Managed deployment, reduced operation and maintenance costs, and improved High availability of service nodes.
其中,上述服务节点的管理装置的各虚拟功能模块存储于图3所示服务节点的管理设备的存储器1005中,处理器1001执行服务节点的管理程序时,实现图2所示实施例中各个模块的功能。Each virtual function module of the management device of the service node is stored in the memory 1005 of the management device of the service node shown in FIG. 3. When the processor 1001 executes the management program of the service node, each module in the embodiment shown in FIG. 2 is implemented. Functions.
需要说明的是,本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。It should be noted that a person of ordinary skill in the art can understand that all or part of the steps for implementing the foregoing embodiments may be completed by hardware, or may be performed by a program instructing related hardware. The program may be stored in a computer-readable format. Among the storage media, the above-mentioned storage media may be a read-only memory, a magnetic disk, or an optical disk.
参照图3,图3是本申请实施例方法涉及的硬件运行环境的设备结构示意图。Referring to FIG. 3, FIG. 3 is a schematic diagram of a device structure of a hardware operating environment involved in the method according to the embodiment of the present application.
本申请实施例服务节点的管理设备可以是PC(personal computer,个人计算机),也可以是智能手机、平板电脑、电子书阅读器、便携计算机等终端设备。The management device of the service node in the embodiment of the present application may be a personal computer (PC), or a terminal device such as a smart phone, a tablet computer, an e-book reader, or a portable computer.
如图3所示,该服务节点的管理设备可以包括:处理器1001,例如CPU(Central Processing Unit,中央处理器),存储器1005,通信总线1002。其中,通信总线1002用于实现处理器1001和存储器1005之间的连接通信。存储器1005可以是高速RAM(random access memory,随机存取存储器),也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 3, the management device of the service node may include a processor 1001, such as a CPU (Central Processing Unit, central processing unit), a memory 1005, and a communication bus 1002. The communication bus 1002 is used to implement connection and communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM (random access memory), or a non-volatile memory (for example, a magnetic disk memory). The memory 1005 may optionally be a storage device independent of the foregoing processor 1001.
可选地,该服务节点的管理设备还可以包括用户接口、网络接口、摄像头、 RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi(Wireless Fidelity,无线宽带)模块等等。用户接口可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口还可以包括标准的有线接口、无线接口。网络接口可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。Optionally, the management device of the service node may further include a user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi (Wireless Fidelity) module, and the like. The user interface may include a display, an input unit such as a keyboard, and the optional user interface may further include a standard wired interface and a wireless interface. The network interface may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
本领域技术人员可以理解,图3中示出的服务节点的管理设备结构并不构成对服务节点的管理设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the management device structure of the service node shown in FIG. 3 does not constitute a limitation on the management device of the service node, and may include more or fewer components than shown, or a combination of certain components. Or different component arrangements.
如图3所示,作为一种计算机计算机可读存储介质的存储器1005中可以包括操作系统、网络通信模块以及服务节点的管理程序。操作系统是管理和控制服务节点的管理设备硬件和软件资源的程序,支持服务节点的管理程序以及其它软件和/或程序的运行。网络通信模块用于实现存储器1005内部各组件之间的通信,以及与服务节点的管理设备中其它硬件和软件之间通信。As shown in FIG. 3, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, and a management program of a service node. The operating system is a program that manages and controls the hardware and software resources of the management device of the service node, and supports the management program of the service node and other software and / or programs. The network communication module is used to implement communication between components in the memory 1005 and to communicate with other hardware and software in the management device of the service node.
在图3所示的服务节点的管理设备中,处理器1001用于执行存储器1005中存储的服务节点的管理程序,实现上述服务节点的管理方法各实施例中的步骤。In the management device of the service node shown in FIG. 3, the processor 1001 is configured to execute a management program of the service node stored in the memory 1005, and implement steps in the embodiments of the management method of the service node described above.
本申请提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序还可被一个或者一个以上的处理器执行以用于实现上述服务节点的管理方法各实施例中的步骤。The present application provides a computer-readable storage medium. The computer-readable storage medium stores one or more programs, and the one or more programs can also be executed by one or more processors for implementing the foregoing. The steps in the embodiments of the method for managing a service node.
还需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should also be noted that in this article, the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements And includes other elements not explicitly listed, or elements inherent to such a process, method, article, or device. Without more restrictions, an element limited by the sentence "including a ..." does not exclude that there are other identical elements in the process, method, article, or device that includes the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the superiority or inferiority of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个计算机可读存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better. Implementation. Based on such an understanding, the technical solution of this application that is essentially or contributes to the existing technology may be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as The ROM / RAM, magnetic disk, and optical disc) include several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the embodiments of the present application.
以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是在本申请的构思下,利用本申请说明书及附图内容所作的等效结构变换,或直接/间接运用在其他相关的技术领域均包括在本申请的专利保护范围内。The above is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structural transformation made by using the description and drawings of the present application under the concept of the present application, or directly / indirectly used in Other related technical fields are included in the patent protection scope of this application.

Claims (20)

  1. 一种服务节点的管理方法,其特征在于,所述服务节点的管理方法包括以下步骤:A method for managing a service node, wherein the method for managing a service node includes the following steps:
    读取服务节点的多个额定参数,以及与各所述额定参数对应的参数系数,并根据各所述额定参数和各所述参数系数,确定所述服务节点的多个性能参数,以及所述服务节点的极限容量;Reading a plurality of rated parameters of a service node and parameter coefficients corresponding to each of the rated parameters, and determining a plurality of performance parameters of the service node according to each of the rated parameters and each of the parameter coefficients, and the Service node capacity;
    读取所述服务节点的多个实时参数,并根据各所述实时参数以及所述性能参数确定所述服务节点的实时容量;Read a plurality of real-time parameters of the service node, and determine the real-time capacity of the service node according to each of the real-time parameters and the performance parameter;
    根据所述极限容量和所述实时容量,确定所述服务节点的冗余度,并根据所述冗余度与预设阈值区间的关系,对所述服务节点进行增减管理。Determine the redundancy of the service node according to the limit capacity and the real-time capacity, and perform increase and decrease management on the service node according to the relationship between the redundancy and a preset threshold interval.
  2. 如权利要求1所述的服务节点的管理方法,其特征在于,所述根据各所述额定参数和各所述参数系数,确定所述服务节点的多个性能参数,以及所述服务节点的极限容量的步骤包括:The method for managing a service node according to claim 1, wherein, according to each of the rated parameters and each of the parameter coefficients, a plurality of performance parameters of the service node and a limit of the service node are determined. The steps for capacity include:
    将各所述额定参数和各所述参数系数基于参数属性进行分组,并根据各组中的所述额定参数和所述参数系数,生成所述服务节点的多个性能参数;Grouping each of the rated parameters and each of the parameter coefficients based on parameter attributes, and generating a plurality of performance parameters of the service node according to the rated parameters and the parameter coefficients in each group;
    读取与各所述性能参数对应的预设权重值,并将各所述预设权重值和各所述性能参数输入到第一预设公式中,计算所述服务节点的极限容量;Reading a preset weight value corresponding to each of the performance parameters, and inputting each of the preset weight value and each of the performance parameters into a first preset formula to calculate a limit capacity of the service node;
    其中所述第一预设公式:ValX=k 1lgA 1+k 2lgA 2+k 3lgA 3+k 4lgA 4,ValX为极限容量,A1、A2、A3和A4为各所述性能参数,k1、k2、k3和k4为各所述预设权重值,lg为取对数值。 The first preset formula is: ValX = k 1 lgA 1 + k 2 lgA 2 + k 3 lgA 3 + k 4 lgA 4 , ValX is a limit capacity, and A1, A2, A3, and A4 are each of the performance parameters, k1, k2, k3, and k4 are each the preset weight value, and lg is a logarithmic value.
  3. 如权利要求2所述的服务节点的管理方法,其特征在于,所述根据各所 述实时参数以及所述性能参数确定所述服务节点的实时容量的步骤包括:The method for managing a service node according to claim 2, wherein the step of determining the real-time capacity of the service node according to each of the real-time parameters and the performance parameter comprises:
    将各所述实时参数、各所述性能参数以及各所述预设权重值输入到第二预设公式中,计算所述服务节点的实时容量;Inputting each of the real-time parameters, each of the performance parameters, and each of the preset weight values into a second preset formula to calculate a real-time capacity of the service node;
    其中所述第二预设公式:ValY=k 1lgA 1*Q 1+k 2lgA 2*Q 2+k 3lgA 3*Q 3+k 4lgA 4*Q 4,ValY为实时容量,A1、A2、A3和A4为各所述性能参数,k1、k2、k3和k4为各所述预设权重值,Q1、Q2、Q3和Q4为各实时参数,lg为取对数值。 The second preset formula: ValY = k 1 lgA 1 * Q 1 + k 2 lgA 2 * Q 2 + k 3 lgA 3 * Q 3 + k 4 lgA 4 * Q 4 , ValY is real-time capacity, A1 A2, A3, and A4 are each of the performance parameters, k1, k2, k3, and k4 are each of the preset weight values, Q1, Q2, Q3, and Q4 are real-time parameters, and lg is a logarithmic value.
  4. 如权利要求3所述的服务节点的管理方法,其特征在于,所述根据所述极限容量和所述实时容量,确定所述服务节点的冗余度的步骤包括:The method for managing a service node according to claim 3, wherein the step of determining the redundancy of the service node according to the limit capacity and the real-time capacity comprises:
    将所述极限容量和所述实时容量输入到第三预设公式中,计算所述服务节点的冗余度;Inputting the limit capacity and the real-time capacity into a third preset formula to calculate the redundancy of the service node;
    其中所述第三预设公式:R=1-ValY/ValX,R为冗余度,ValY为实时容量,ValX为极限容量。The third preset formula is: R = 1-ValY / ValX, R is redundancy, ValY is real-time capacity, and ValX is limit capacity.
  5. 如权利要求1所述的服务节点的管理方法,其特征在于,所述根据所述冗余度与预设阈值区间的关系,对所述服务节点进行增减管理的步骤包括:The method for managing a service node according to claim 1, wherein the step of increasing or decreasing the service node according to the relationship between the redundancy and a preset threshold interval comprises:
    将所述冗余度和预设阈值区间对比,判断所述冗余度是否在预设阈值区间内;Comparing the redundancy with a preset threshold interval to determine whether the redundancy is within a preset threshold interval;
    当所述冗余度小于预设阈值区间下边界数值时,增加与所述服务节点对应的新服务节点;When the redundancy is less than a lower boundary value of a preset threshold interval, adding a new service node corresponding to the service node;
    当所述冗余度大于预设阈值区间上边界数值时,对所述服务节点进行删除操作。When the redundancy is greater than the upper boundary value of the preset threshold interval, the service node is deleted.
  6. 如权利要求5所述的服务节点的管理方法,其特征在于,所述增加与所 述服务节点对应的新服务节点的步骤之后包括:The method for managing a service node according to claim 5, wherein after the step of adding a new service node corresponding to the service node comprises:
    读取与所述新服务节点对应的新增额定参数,并将所述新增额定参数与其他服务节点的额定参数对比,确定所述其他服务节点的额定参数中与所述新增额定参数匹配的目标额定参数;Read the new rated parameters corresponding to the new service node, and compare the new rated parameters with the rated parameters of other service nodes to determine that the rated parameters of the other service nodes match the new rated parameters Target rated parameters
    确定所述目标额定参数归属的服务节点,并根据所述归属的服务节点所具有的访问权重,为所述新服务节点分配访问权重。Determining a service node to which the target rated parameter belongs, and assigning an access weight to the new service node according to the access weight of the home service node.
  7. 如权利要求6所述的服务节点的管理方法,其特征在于,所述为所述新服务节点分配访问权重的步骤之后包括:The method for managing a service node according to claim 6, wherein after the step of allocating an access weight to the new service node comprises:
    当接收到服务请求时,根据所述服务请求的类型确定与所述服务请求对应的目标服务节点,并判断所述目标服务节点是否存在多个;When a service request is received, determining a target service node corresponding to the service request according to the type of the service request, and determining whether there are multiple target service nodes;
    若存在多个所述目标服务节点,则判断各所述目标服务节点所具有目标访问权重的大小关系,并调用具有最大所述目标访问权重的目标访问节点对所述服务请求进行响应。If there are multiple target service nodes, determine the size relationship of the target access weights of the target service nodes, and call the target access node with the maximum target access weight to respond to the service request.
  8. 一种服务节点的管理装置,其特征在于,所述服务节点的管理装置包括:A management device for a service node, characterized in that the management device for the service node includes:
    读取模块,用于读取服务节点的多个额定参数,以及与各所述额定参数对应的参数系数,并根据各所述额定参数和各所述参数系数,确定所述服务节点的多个性能参数,以及所述服务节点的极限容量;The reading module is configured to read multiple rated parameters of the service node and parameter coefficients corresponding to the rated parameters, and determine multiple values of the service node according to the rated parameters and the parameter coefficients. Performance parameters, and the ultimate capacity of the service node;
    确定模块,用于读取所述服务节点的多个实时参数,并根据各所述实时参数以及所述性能参数确定所述服务节点的实时容量;A determining module, configured to read multiple real-time parameters of the service node, and determine the real-time capacity of the service node according to each of the real-time parameters and the performance parameter;
    管理模块,用于根据所述极限容量和所述实时容量,确定所述服务节点的冗余度,并根据所述冗余度与预设阈值区间的关系,对所述服务节点进行增减管理。A management module, configured to determine the redundancy of the service node according to the limit capacity and the real-time capacity, and perform increase and decrease management on the service node according to the relationship between the redundancy and a preset threshold interval .
  9. 一种服务节点的管理设备,其特征在于,所述服务节点的管理设备包括:存储器、处理器、通信总线以及存储在所述存储器上的服务节点的管理程序;A management device of a service node, characterized in that the management device of the service node includes: a memory, a processor, a communication bus, and a management program of the service node stored on the memory;
    所述通信总线用于实现处理器和存储器之间的连接通信;The communication bus is used to implement connection and communication between the processor and the memory;
    所述处理器用于执行所述服务节点的管理程序,以实现以下步骤:The processor is configured to execute a management program of the service node to implement the following steps:
    读取服务节点的多个额定参数,以及与各所述额定参数对应的参数系数,并根据各所述额定参数和各所述参数系数,确定所述服务节点的多个性能参数,以及所述服务节点的极限容量;Reading a plurality of rated parameters of a service node and parameter coefficients corresponding to each of the rated parameters, and determining a plurality of performance parameters of the service node according to each of the rated parameters and each of the parameter coefficients, and the Service node capacity;
    读取所述服务节点的多个实时参数,并根据各所述实时参数以及所述性能参数确定所述服务节点的实时容量;Read a plurality of real-time parameters of the service node, and determine the real-time capacity of the service node according to each of the real-time parameters and the performance parameter;
    根据所述极限容量和所述实时容量,确定所述服务节点的冗余度,并根据所述冗余度与预设阈值区间的关系,对所述服务节点进行增减管理。Determine the redundancy of the service node according to the limit capacity and the real-time capacity, and perform increase and decrease management on the service node according to the relationship between the redundancy and a preset threshold interval.
  10. 如权利要求9所述的服务节点的管理设备,其特征在于,所述根据各所述额定参数和各所述参数系数,确定所述服务节点的多个性能参数,以及所述服务节点的极限容量的步骤包括:The management device of a service node according to claim 9, characterized in that, according to each of the rated parameters and each of the parameter coefficients, a plurality of performance parameters of the service node and a limit of the service node are determined The steps for capacity include:
    将各所述额定参数和各所述参数系数基于参数属性进行分组,并根据各组中的所述额定参数和所述参数系数,生成所述服务节点的多个性能参数;Grouping each of the rated parameters and each of the parameter coefficients based on parameter attributes, and generating a plurality of performance parameters of the service node according to the rated parameters and the parameter coefficients in each group;
    读取与各所述性能参数对应的预设权重值,并将各所述预设权重值和各所述性能参数输入到第一预设公式中,计算所述服务节点的极限容量;Reading a preset weight value corresponding to each of the performance parameters, and inputting each of the preset weight value and each of the performance parameters into a first preset formula to calculate a limit capacity of the service node;
    其中所述第一预设公式:ValX=k 1lgA 1+k 2lgA 2+k 3lgA 3+k 4lgA 4,ValX为极限容量,A1、A2、A3和A4为各所述性能参数,k1、k2、k3和k4为各所述预设权重值,lg为取对数值。 The first preset formula is: ValX = k 1 lgA 1 + k 2 lgA 2 + k 3 lgA 3 + k 4 lgA 4 , ValX is a limit capacity, and A1, A2, A3, and A4 are each of the performance parameters, k1, k2, k3, and k4 are each the preset weight value, and lg is a logarithmic value.
  11. 如权利要求10所述的服务节点的管理设备,其特征在于,所述根据各 所述实时参数以及所述性能参数确定所述服务节点的实时容量的步骤包括:The management device of a service node according to claim 10, wherein the step of determining the real-time capacity of the service node according to each of the real-time parameters and the performance parameter comprises:
    将各所述实时参数、各所述性能参数以及各所述预设权重值输入到第二预设公式中,计算所述服务节点的实时容量;Inputting each of the real-time parameters, each of the performance parameters, and each of the preset weight values into a second preset formula to calculate a real-time capacity of the service node;
    其中所述第二预设公式:ValY=k 1lgA 1*Q 1+k 2lgA 2*Q 2+k 3lgA 3*Q 3+k 4lgA 4*Q 4,ValY为实时容量,A1、A2、A3和A4为各所述性能参数,k1、k2、k3和k4为各所述预设权重值,Q1、Q2、Q3和Q4为各实时参数,lg为取对数值。 The second preset formula: ValY = k 1 lgA 1 * Q 1 + k 2 lgA 2 * Q 2 + k 3 lgA 3 * Q 3 + k 4 lgA 4 * Q 4 , ValY is real-time capacity, A1 A2, A3, and A4 are each of the performance parameters, k1, k2, k3, and k4 are each of the preset weight values, Q1, Q2, Q3, and Q4 are real-time parameters, and lg is a logarithmic value.
  12. 如权利要求11所述的服务节点的管理设备,其特征在于,所述根据所述极限容量和所述实时容量,确定所述服务节点的冗余度的步骤包括:The management device of a service node according to claim 11, wherein the step of determining the redundancy of the service node according to the limit capacity and the real-time capacity comprises:
    将所述极限容量和所述实时容量输入到第三预设公式中,计算所述服务节点的冗余度;Inputting the limit capacity and the real-time capacity into a third preset formula to calculate the redundancy of the service node;
    其中所述第三预设公式:R=1-ValY/ValX,R为冗余度,ValY为实时容量,ValX为极限容量。The third preset formula is: R = 1-ValY / ValX, R is redundancy, ValY is real-time capacity, and ValX is limit capacity.
  13. 如权利要求9所述的服务节点的管理设备,其特征在于,所述根据所述冗余度与预设阈值区间的关系,对所述服务节点进行增减管理的步骤包括:The management device of a service node according to claim 9, wherein the step of performing increase or decrease management on the service node according to the relationship between the redundancy and a preset threshold interval comprises:
    将所述冗余度和预设阈值区间对比,判断所述冗余度是否在预设阈值区间内;Comparing the redundancy with a preset threshold interval to determine whether the redundancy is within a preset threshold interval;
    当所述冗余度小于预设阈值区间下边界数值时,增加与所述服务节点对应的新服务节点;When the redundancy is less than a lower boundary value of a preset threshold interval, adding a new service node corresponding to the service node;
    当所述冗余度大于预设阈值区间上边界数值时,对所述服务节点进行删除操作。When the redundancy is greater than the upper boundary value of the preset threshold interval, the service node is deleted.
  14. 如权利要求13所述的服务节点的管理设备,其特征在于,所述增加与 所述服务节点对应的新服务节点的步骤之后,所述处理器用于执行所述服务节点的管理程序,以实现以下步骤:The management device of a service node according to claim 13, wherein after the step of adding a new service node corresponding to the service node, the processor is configured to execute a management program of the service node to implement The following steps:
    读取与所述新服务节点对应的新增额定参数,并将所述新增额定参数与其他服务节点的额定参数对比,确定所述其他服务节点的额定参数中与所述新增额定参数匹配的目标额定参数;Read the new rated parameters corresponding to the new service node, and compare the new rated parameters with the rated parameters of other service nodes to determine that the rated parameters of the other service nodes match the new rated parameters Target rated parameters
    确定所述目标额定参数归属的服务节点,并根据所述归属的服务节点所具有的访问权重,为所述新服务节点分配访问权重。Determining a service node to which the target rated parameter belongs, and assigning an access weight to the new service node according to the access weight of the home service node.
  15. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有服务节点的管理程序,所述服务节点的管理程序被处理器执行,实现以下步骤:A computer-readable storage medium is characterized in that a management program of a service node is stored on the computer-readable storage medium, and the management program of the service node is executed by a processor to implement the following steps:
    读取服务节点的多个额定参数,以及与各所述额定参数对应的参数系数,并根据各所述额定参数和各所述参数系数,确定所述服务节点的多个性能参数,以及所述服务节点的极限容量;Reading a plurality of rated parameters of a service node and parameter coefficients corresponding to each of the rated parameters, and determining a plurality of performance parameters of the service node according to each of the rated parameters and each of the parameter coefficients, and the Service node capacity;
    读取所述服务节点的多个实时参数,并根据各所述实时参数以及所述性能参数确定所述服务节点的实时容量;Read a plurality of real-time parameters of the service node, and determine the real-time capacity of the service node according to each of the real-time parameters and the performance parameter;
    根据所述极限容量和所述实时容量,确定所述服务节点的冗余度,并根据所述冗余度与预设阈值区间的关系,对所述服务节点进行增减管理。Determine the redundancy of the service node according to the limit capacity and the real-time capacity, and perform increase and decrease management on the service node according to the relationship between the redundancy and a preset threshold interval.
  16. 如权利要求15所述的计算机可读存储介质,其特征在于,所述根据各所述额定参数和各所述参数系数,确定所述服务节点的多个性能参数,以及所述服务节点的极限容量的步骤包括:The computer-readable storage medium of claim 15, wherein the determining of a plurality of performance parameters of the service node and a limit of the service node are based on each of the rated parameters and each of the parameter coefficients. The steps for capacity include:
    将各所述额定参数和各所述参数系数基于参数属性进行分组,并根据各组中的所述额定参数和所述参数系数,生成所述服务节点的多个性能参数;Grouping each of the rated parameters and each of the parameter coefficients based on parameter attributes, and generating a plurality of performance parameters of the service node according to the rated parameters and the parameter coefficients in each group;
    读取与各所述性能参数对应的预设权重值,并将各所述预设权重值和各所述性能参数输入到第一预设公式中,计算所述服务节点的极限容量;Reading a preset weight value corresponding to each of the performance parameters, and inputting each of the preset weight value and each of the performance parameters into a first preset formula to calculate a limit capacity of the service node;
    其中所述第一预设公式:ValX=k 1lgA 1+k 2lgA 2+k 3lgA 3+k 4lgA 4,ValX为极限容量,A1、A2、A3和A4为各所述性能参数,k1、k2、k3和k4为各所述预设权重值,lg为取对数值。 The first preset formula is: ValX = k 1 lgA 1 + k 2 lgA 2 + k 3 lgA 3 + k 4 lgA 4 , ValX is a limit capacity, and A1, A2, A3, and A4 are each of the performance parameters, k1, k2, k3, and k4 are each the preset weight value, and lg is a logarithmic value.
  17. 如权利要求16所述的计算机可读存储介质,其特征在于,所述根据各所述实时参数以及所述性能参数确定所述服务节点的实时容量的步骤包括:The computer-readable storage medium of claim 16, wherein the step of determining the real-time capacity of the service node according to each of the real-time parameters and the performance parameters comprises:
    将各所述实时参数、各所述性能参数以及各所述预设权重值输入到第二预设公式中,计算所述服务节点的实时容量;Inputting each of the real-time parameters, each of the performance parameters, and each of the preset weight values into a second preset formula to calculate a real-time capacity of the service node;
    其中所述第二预设公式:ValY=k 1lgA 1*Q 1+k 2lgA 2*Q 2+k 3lgA 3*Q 3+k 4lgA 4*Q 4,ValY为实时容量,A1、A2、A3和A4为各所述性能参数,k1、k2、k3和k4为各所述预设权重值,Q1、Q2、Q3和Q4为各实时参数,lg为取对数值。 The second preset formula: ValY = k 1 lgA 1 * Q 1 + k 2 lgA 2 * Q 2 + k 3 lgA 3 * Q 3 + k 4 lgA 4 * Q 4 , ValY is real-time capacity, A1 A2, A3, and A4 are each of the performance parameters, k1, k2, k3, and k4 are each of the preset weight values, Q1, Q2, Q3, and Q4 are real-time parameters, and lg is a logarithmic value.
  18. 如权利要求17所述的计算机可读存储介质,其特征在于,所述根据所述极限容量和所述实时容量,确定所述服务节点的冗余度的步骤包括:The computer-readable storage medium of claim 17, wherein the step of determining the redundancy of the service node according to the limit capacity and the real-time capacity comprises:
    将所述极限容量和所述实时容量输入到第三预设公式中,计算所述服务节点的冗余度;Inputting the limit capacity and the real-time capacity into a third preset formula to calculate the redundancy of the service node;
    其中所述第三预设公式:R=1-ValY/ValX,R为冗余度,ValY为实时容量,ValX为极限容量。The third preset formula is: R = 1-ValY / ValX, R is redundancy, ValY is real-time capacity, and ValX is limit capacity.
  19. 如权利要求15所述的计算机可读存储介质,其特征在于,所述根据所述冗余度与预设阈值区间的关系,对所述服务节点进行增减管理的步骤包括:The computer-readable storage medium of claim 15, wherein the step of adding or subtracting the service node according to the relationship between the redundancy and a preset threshold interval comprises:
    将所述冗余度和预设阈值区间对比,判断所述冗余度是否在预设阈值区间 内;Comparing the redundancy with a preset threshold interval to determine whether the redundancy is within a preset threshold interval;
    当所述冗余度小于预设阈值区间下边界数值时,增加与所述服务节点对应的新服务节点;When the redundancy is less than a lower boundary value of a preset threshold interval, adding a new service node corresponding to the service node;
    当所述冗余度大于预设阈值区间上边界数值时,对所述服务节点进行删除操作。When the redundancy is greater than the upper boundary value of the preset threshold interval, the service node is deleted.
  20. 如权利要求15所述的计算机可读存储介质,其特征在于,所述增加与所述服务节点对应的新服务节点的步骤之后,所述服务节点的管理程序被处理器执行,实现以下步骤:The computer-readable storage medium of claim 15, wherein after the step of adding a new service node corresponding to the service node, a management program of the service node is executed by a processor to implement the following steps:
    读取与所述新服务节点对应的新增额定参数,并将所述新增额定参数与其他服务节点的额定参数对比,确定所述其他服务节点的额定参数中与所述新增额定参数匹配的目标额定参数;Read the new rated parameters corresponding to the new service node, and compare the new rated parameters with the rated parameters of other service nodes to determine that the rated parameters of the other service nodes match the new rated parameters Target rated parameters
    确定所述目标额定参数归属的服务节点,并根据所述归属的服务节点所具有的访问权重,为所述新服务节点分配访问权重。Determining a service node to which the target rated parameter belongs, and assigning an access weight to the new service node according to the access weight of the home service node.
PCT/CN2018/122637 2018-09-13 2018-12-21 Service node management method, apparatus and device, and computer readable storage medium WO2020052151A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811071652.9A CN109413147B (en) 2018-09-13 2018-09-13 Service node management method, device, equipment and computer readable storage medium
CN201811071652.9 2018-09-13

Publications (1)

Publication Number Publication Date
WO2020052151A1 true WO2020052151A1 (en) 2020-03-19

Family

ID=65464278

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/122637 WO2020052151A1 (en) 2018-09-13 2018-12-21 Service node management method, apparatus and device, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN109413147B (en)
WO (1) WO2020052151A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115080363A (en) * 2022-08-23 2022-09-20 中国中金财富证券有限公司 System capacity evaluation method and device based on service log

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110289994B (en) * 2019-06-06 2022-04-08 厦门网宿有限公司 Cluster capacity adjusting method and device
CN110417596B (en) * 2019-07-29 2023-07-28 北京百度网讯科技有限公司 Capacity expansion method and device for available area
CN110769272A (en) * 2019-11-19 2020-02-07 深圳市网心科技有限公司 Node adjusting method and related equipment thereof
CN112333010B (en) * 2020-10-23 2022-06-21 苏州浪潮智能科技有限公司 Method and device for supporting automatic configuration of high-availability environment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130046885A1 (en) * 2004-06-28 2013-02-21 Ca, Inc. System and Method for Performing Capacity Planning for Enterprise Applications
CN104010028A (en) * 2014-05-04 2014-08-27 华南理工大学 Dynamic virtual resource management strategy method for performance weighting under cloud platform
CN106533839A (en) * 2016-11-30 2017-03-22 郑州云海信息技术有限公司 Application node monitoring method and apparatus of hybrid cloud
CN105393518B (en) * 2014-06-24 2019-03-19 华为技术有限公司 Distributed cache control method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9847907B2 (en) * 2012-11-26 2017-12-19 Amazon Technologies, Inc. Distributed caching cluster management
US9442968B2 (en) * 2014-03-31 2016-09-13 Sap Se Evaluation of variant configuration using in-memory technology
CN104811397B (en) * 2015-03-24 2016-02-24 中国人民解放军国防科学技术大学 A kind of complex network node importance appraisal procedure developed based on node state
CN107608796B (en) * 2017-09-29 2020-08-04 武汉斗鱼网络科技有限公司 Storage resource control method, storage resource control device and processor
CN107948293A (en) * 2017-11-29 2018-04-20 重庆邮电大学 One kind is based on MongoDB load balance optimization system and methods

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130046885A1 (en) * 2004-06-28 2013-02-21 Ca, Inc. System and Method for Performing Capacity Planning for Enterprise Applications
CN104010028A (en) * 2014-05-04 2014-08-27 华南理工大学 Dynamic virtual resource management strategy method for performance weighting under cloud platform
CN105393518B (en) * 2014-06-24 2019-03-19 华为技术有限公司 Distributed cache control method and device
CN106533839A (en) * 2016-11-30 2017-03-22 郑州云海信息技术有限公司 Application node monitoring method and apparatus of hybrid cloud

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115080363A (en) * 2022-08-23 2022-09-20 中国中金财富证券有限公司 System capacity evaluation method and device based on service log

Also Published As

Publication number Publication date
CN109413147A (en) 2019-03-01
CN109413147B (en) 2021-09-21

Similar Documents

Publication Publication Date Title
WO2020052151A1 (en) Service node management method, apparatus and device, and computer readable storage medium
KR102154446B1 (en) Method for fast scheduling for resource balanced allocation on distributed and collaborative container platform environment
KR102021631B1 (en) Managing data transfers over network connections based on priority and a data usage plan
US10481935B2 (en) Management system, overall management node, and management method for managing virtualization resources in a mobile communication network
US10481953B2 (en) Management system, virtual communication-function management node, and management method for managing virtualization resources in a mobile communication network
US20140223427A1 (en) System, Method and Apparatus for Determining Virtual Machine Performance
CN113641457A (en) Container creation method, device, apparatus, medium, and program product
US20190166001A1 (en) Network function nf management method and nf management device
CN110740057B (en) Service deployment method and block chain platform
CN108874502B (en) Resource management method, device and equipment of cloud computing cluster
WO2021032100A1 (en) Network element allocation method and apparatus
WO2019170071A1 (en) Electronic device, method, and computer readable storage medium for wireless communication
WO2019080593A1 (en) Management, maintenance and control method for virtual network element and related device
WO2023045552A1 (en) Service deployment method, service deployment system, electronic device, and storage medium
JP2016110248A (en) Virtualization execution apparatus, virtualization system, and resource optimization method
KR101085744B1 (en) Enterprise platform system and server based cloud computing, and method for sevice the same
CN114595167A (en) Distributed cache system, method and device
CN110795202A (en) Resource allocation method and device of virtualized cluster resource management system
US20220383219A1 (en) Access processing method, device, storage medium and program product
US11729708B2 (en) Automated matching of applications to predefined slice types in 5G networks
CN115378879A (en) Data control method and related device
US11340950B2 (en) Service band management system
CN112889247B (en) VNF service instantiation method and device
US10459741B2 (en) Automatic load balancing for resource allocations
CN118201025B (en) Networking method, device, equipment and storage medium of Wi-Fi-based mesh network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18933713

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 24/06/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18933713

Country of ref document: EP

Kind code of ref document: A1