Computing power reconstruction configuration method and device

By analyzing and reconstructing the computing power of the local system cluster, combined with the introduction of edge computing resources, the problem of poor computing power scheduling in the existing technology is solved, and the computing power utilization and adaptability are improved.

CN118796451APending Publication Date: 2024-10-18CHINA MOBILE GROUP ZHEJIANG +2
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410669317.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing computing power configuration methods lack adaptation analysis of driving scenarios, resulting in poor computing power scheduling on local servers, low utilization, and waste of resources.

Method used

By analyzing the computing power of the business to be started in the local system cluster, the overall parallel computing power value is determined, and when the first computing power redundancy is less than the overall parallel computing power value, the local computing power is reconstructed, and edge computing resources are introduced for the second phase. Secondary computing power reconstruction ensures that computing power redundancy is greater than or equal to the overall parallel computing power value.

Benefits of technology

It improves the utilization rate of local computing power, improves the computing power scheduling effect and the adaptability of driving scenarios, and meets the driving needs of local system clusters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118796451A_ABST
    Figure CN118796451A_ABST
Patent Text Reader

Abstract

The invention provides a computing power reconstruction configuration method and device, and the method comprises the steps: carrying out the computing power analysis of all to-be-started services in a local system cluster, and determining an overall parallel computing power value; under the condition that the first computing power redundancy is smaller than the overall parallel computing power value, local computing power reconstruction is carried out on the started service according to the service attribute of the started service, and second computing power redundancy is determined; and under the condition that the second computing power redundancy is smaller than the overall parallel computing power value, calling the edge computing resource to perform secondary computing power reconstruction, so that the computing power redundancy after secondary computing power reconstruction is greater than or equal to the overall parallel computing power value. According to the computing power reconstruction configuration method and device provided by the invention, computing power reconstruction is carried out based on the started service in the local system cluster, so that the utilization rate of local computing power is improved. Edge computing resources are further introduced to carry out secondary computing power reconstruction on the to-be-started service, so that the driving requirement of a local system cluster is met, and the local computing power utilization rate is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a computing power reconstruction configuration method and device. Background Art

[0002] The existing demand and supply of computing power are becoming more and more diversified. Local servers are connected to multiple systems and provide computing power to multiple systems. This leads to heavy pressure on computing power scheduling for local servers. In addition, since traditional computing power configuration lacks adaptation analysis for driving scenarios, the computing power scheduling effect is poor, the utilization rate of local computing power is not high, and there is a waste of local resources.

[0003] The existing methods lack adaptation analysis for driving scenarios, resulting in poor computing power scheduling and technical problems such as low utilization of local computing power. Summary of the invention

[0004] The present invention provides a computing power reconstruction configuration method and device to improve the utilization rate of computing power scheduling.

[0005] The present invention provides a computing power reconstruction configuration method, comprising:

[0006] Performing computing power analysis on all the services to be started in the local system cluster to determine the overall parallel computing power value of all the services to be started;

[0007] In the case where the first computing power redundancy is less than the overall parallel computing power value, based on the service attributes of the started service in the local system cluster, local computing power is reconstructed for the started service, and a second computing power redundancy after the local system cluster computing power reconstruction is determined, where the first computing power redundancy is the remaining computing power resources in the local system cluster excluding the computing power resources consumed by the started service;

[0008] When the second computing power redundancy is less than the overall parallel computing power value, the edge computing resources of the local system cluster are called to perform secondary computing power reconstruction on all the services to be started, so that the computing power redundancy after the secondary computing power reconstruction is greater than or equal to the overall parallel computing power value.

[0009] According to a computing power reconstruction configuration method provided by the present invention, based on the service attributes of the started service in the local system cluster, the local computing power of the started service is reconstructed, including:

[0010] Determine non-critical services and inefficient services among the started services based on service attributes of the started services, wherein the service attributes include service resource consumption efficiency, service importance, and service urgency;

[0011] For the critical business and the inefficient business, the priority is lowered or the resource usage is restricted to reconstruct the local computing power of the started business.

[0012] According to a computing power reconstruction configuration method provided by the present invention, computing power analysis is performed on all services to be started in a local system cluster to determine the overall parallel computing power value of all services to be started, including:

[0013] Acquire the historical business operation status of all the businesses to be started, and determine the historical computing power data of all the businesses to be started based on the historical business operation status;

[0014] Performing a computing power analysis on the historical computing power data of all the services to be started, and determining the unit parallel computing power value of each service to be started;

[0015] The unit parallel computing power values ​​of the services to be started are added together to obtain the overall parallel computing power value.

[0016] According to a computing power reconstruction configuration method provided by the present invention, the historical computing power data of all the services to be started are analyzed to determine the unit parallel computing power value of each service to be started, including:

[0017] Based on the historical computing power data, construct a historical computing power demand change curve chart of all the services to be started;

[0018] Based on the historical computing power demand change curve, the unit parallel computing power value of each business to be started is determined.

[0019] According to a computing power reconstruction configuration method provided by the present invention, the edge computing resources of the local system cluster are called to perform secondary computing power reconstruction on all the services to be started, including:

[0020] A target node is determined from a plurality of edge nodes of the edge computing resources, and resources of the target node are allocated to the services to be started of the local system cluster, so as to perform secondary computing power reconstruction on all the services to be started.

[0021] According to a computing power reconstruction configuration method provided by the present invention, a target node is determined from a plurality of edge nodes of the edge computing resource, including:

[0022] Determine a target node from the plurality of edge nodes based on a distance evaluation function;

[0023] The distance evaluation function is:

[0024]

[0025] Where D(X,Y) represents the distance between two edge node scheduling schemes, X = (x1,…,xi ,…,x L ), Y=(y1,…,y j ,…,y Q ), X represents a scheduling scheme of one edge node among multiple edge nodes, Y represents another scheduling scheme of multiple edge nodes, x1,…,x i ,…,x L represents the specific L edge nodes of X, y1,…,y j ,…,y Q represents the specific Q edge nodes of Y, count[x i (X) = y j (Y)] indicates the same number of edge nodes in two edge node scheduling schemes.

[0026] The present invention also provides a computing power reconstruction configuration device, comprising:

[0027] A computing power analysis module is used to analyze the computing power of all the services to be started in the local system cluster and determine the overall parallel computing power value of all the services to be started;

[0028] A computing power reconstruction module is used to, when the first computing power redundancy is less than the overall parallel computing power value, based on the business attributes of the started business in the local system cluster, reconstruct the local computing power of the started business, and determine the second computing power redundancy of the local system cluster after the computing power reconstruction, wherein the first computing power redundancy is the remaining computing power resources in the local system cluster excluding the computing power resources consumed by the started business;

[0029] The secondary computing power reconstruction module is used to call the edge computing resources of the local system cluster to perform secondary computing power reconstruction on all the services to be started when the second computing power redundancy is less than the overall parallel computing power value, so that the computing power redundancy after the secondary computing power reconstruction is greater than or equal to the overall parallel computing power value.

[0030] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements any one of the computing power reconstruction configuration methods described above.

[0031] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the computing power reconstruction configuration method as described in any one of the above is implemented.

[0032] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the computing power reconstruction configuration methods described above.

[0033] The computing power reconstruction configuration method and device provided by the present invention improves the local computing power utilization rate by performing computing power reconstruction based on the started services in the local system cluster when the first computing power redundancy is less than the overall parallel computing power value. When the second computing power redundancy is less than the overall parallel computing power value, edge computing resources are introduced to perform secondary computing power reconstruction on the services to be started, so as to meet the driving requirements of the local system cluster, improve the local computing power utilization rate, and further improve the computing power reconstruction effect and the adaptability of the computing power scheduling scheme to the driving scenario. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 It is a flowchart of the computing power reconstruction configuration method provided by the present invention;

[0036] Figure 2 It is a flowchart of applying the computing power reconstruction configuration method provided by the present invention;

[0037] Figure 3 It is a schematic diagram of the structure of a device applying the computing power reconstruction configuration method provided by the present invention;

[0038] Figure 4 It is a structural schematic diagram of the computing power reconstruction configuration device provided by the present invention;

[0039] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] The present invention provides a computing power reconstruction configuration method. Figure 1 This is a flow chart of the computing power reconstruction configuration method provided by the present invention. Figure 1 The computing power reconstruction configuration method provided by the present invention may include:

[0042] Step 110, performing computing power analysis on all the services to be started in the local system cluster to determine the overall parallel computing power value of all the services to be started;

[0043] Step 120: When the first computing power redundancy is less than the overall parallel computing power value, based on the service attributes of the started service in the local system cluster, perform local computing power reconstruction on the started service, and determine a second computing power redundancy after the local system cluster computing power reconstruction, where the first computing power redundancy is the remaining computing power resources in the local system cluster excluding the computing power resources consumed by the started service;

[0044] Step 130, when the second computing power redundancy is less than the overall parallel computing power value, call the edge computing resources of the local system cluster to perform secondary computing power reconstruction on all the services to be started, so that the computing power redundancy after the secondary computing power reconstruction is greater than or equal to the overall parallel computing power value.

[0045] The execution subject of the computing power reconstruction configuration method provided by the present invention can be an electronic device, a component in an electronic device, an integrated circuit, or a chip. The electronic device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), or a personal computer (PC), etc., which is not specifically limited by the present invention.

[0046] The following takes a computer executing the computing power reconstruction configuration method provided by the present invention as an example to explain the technical solution of the present invention in detail.

[0047] In step 110, computing power analysis is performed on all the services to be started in the local system cluster to determine the overall parallel computing power value of all the services to be started.

[0048] A local system cluster refers to a collection of hardware modules or virtual modules that occupy local computing power and are connected to the computer or server being used. For example, various game apps, social software, web pages, and other software deployed on mobile phones or computers that occupy local computing power for data interaction.

[0049] The local system cluster contains running services that have been started and services that have not yet been started. When services are running in the local system cluster, they consume computing resources in the local system cluster.

[0050] All services to be started in the local system cluster are obtained, and computing power analysis is performed on all services to be started to determine the overall parallel computing power value of all services to be started, where the overall parallel computing power value is the sum of the computing power values ​​of the services to be started.

[0051] In step 120, when the first computing power redundancy is less than the overall parallel computing power value, local computing power is reconstructed for the started business based on the business attributes of the started business in the local system cluster, and a second computing power redundancy after the local system cluster computing power reconstruction is determined, where the first computing power redundancy is the remaining computing power resources in the local system cluster excluding the computing power resources consumed by the started business.

[0052] Read each started service in the local system cluster, that is, the driving status of each service. The driving status is the startup status of each service. Each service can be connected and read directly to obtain the driving status of all started services in the local system cluster.

[0053] After obtaining the driver status of all started services in the local system cluster, each started service can be analyzed to determine the computing resources consumed by each started service.

[0054] It is understandable that for a local system cluster with a fixed configuration, the computing power resources therein are determined. Based on the computing power resources of the local system cluster and the computing power resources consumed by each started service, the first computing power redundancy can be determined. The first computing power redundancy is the remaining computing power resources in the local system cluster excluding the computing power resources consumed by the started service.

[0055] The first computing power redundancy refers to the idle computing power resources in the current local system cluster, that is, the remaining computing power resources excluding the computing power resources consumed by the started business. When the first computing power redundancy is less than the overall parallel computing power value, it means that the remaining computing power resources are insufficient to start the business to be started. Therefore, it is necessary to reconstruct the local computing power of the started business, that is, the started business may have the situation of starting but not executing the business, so it can be closed to free up more computing power resources to start the business to be started. The second computing power redundancy is the idle computing power resources obtained after the computing power of the started business is reconstructed.

[0056] Optionally, a list of started services may be constructed based on all started services, and a list of services to be started may be constructed based on the unstarted services.

[0057] Traverse the started service list, extract the started service activation status of the first started service, wherein the started service activation status includes a computing power occupancy fluctuation monitoring curve of a preset time zone; perform a volatility evaluation on the computing power occupancy fluctuation monitoring curve, and generate a curve fluctuation evaluation coefficient, wherein the curve fluctuation evaluation coefficient is the product of the fluctuation frequency and the fluctuation amplitude mean; when the curve fluctuation evaluation coefficient is less than or equal to the fluctuation evaluation coefficient threshold, perform a steady-state evaluation on the computing power occupancy fluctuation monitoring curve, and generate a curve steady-state computing power occupancy, wherein the curve steady-state computing power occupancy The usage is the result obtained by calculating the mean value after removing the discrete computing power usage; the computing power usage log is retrieved for backtracking, and the computing power usage curve group of the first started business is counted to perform computing power usage valley value fitting, and the computing power valley value of the first started business is generated, wherein the computing power usage valley value fitting and the computing power usage peak value fitting algorithm are the same, but the fitting parameters are different; when the steady-state computing power usage of the curve is less than the computing power valley value of the first started business, the first started business is added to the list of requested closed businesses, sent to the user end, the selected closed business is obtained, the local computing power is reconstructed, and the second computing power redundancy is generated.

[0058] Specifically, the activated service list is traversed, any service in the activated service list is extracted and recorded as the first activated service, and the activated service activation status of the first activated service is read, wherein the activated service activation status includes a computing power occupation fluctuation monitoring curve of a preset time zone, wherein the preset time zone refers to the time period from the current moment to a certain moment in the past when the first activated service is activated, which needs to be determined in combination with actual conditions. After the service is activated, the computing power occupied by it is recorded in real time, and the curve of computing power change is drawn according to the recording result, so as to obtain the computing power occupation fluctuation monitoring curve of the preset time zone. The computing power occupation fluctuation monitoring curve is evaluated for volatility, and a curve fluctuation evaluation coefficient is generated, wherein the curve fluctuation evaluation coefficient is the product of the mean value of the fluctuation frequency and the fluctuation amplitude, wherein the fluctuation frequency refers to the number of fluctuations of the computing power occupation fluctuation monitoring curve in a unit time, and the fluctuation amplitude refers to the amplitude of each change of the computing power occupation fluctuation monitoring curve. The fluctuation frequency and fluctuation amplitude of the computing power occupation fluctuation monitoring curve are extracted, and multiple fluctuation frequencies and multiple fluctuation amplitudes at different times can be obtained, and the curve fluctuation evaluation coefficient can be obtained by calculating the mean value and multiplying them.

[0059] The fluctuation evaluation coefficient threshold is set by the technical personnel based on actual experience. When the fluctuation evaluation coefficient of the curve is less than or equal to the fluctuation evaluation coefficient threshold, a steady-state evaluation is performed on the computing power occupancy fluctuation monitoring curve to generate a steady-state computing power occupancy of the curve, wherein the steady-state computing power occupancy of the curve is the result of the mean calculation after removing the discrete computing power occupancy, that is, the discrete values ​​in the computing power occupancy fluctuation monitoring curve are eliminated. The specific method is: extract the computing power occupancy data in the computing power occupancy fluctuation monitoring curve, sort the computing power occupancy data from small to large, obtain the data with the sorting sequence number in the first 25% and the last 25% as the discrete computing power occupancy, and remove the discrete computing power occupancy from the computing power occupancy data to obtain the steady-state computing power occupancy of the curve.

[0060] The computing power usage log is retrieved for backtracking. Each time the first started business is started, its computing power usage curve is recorded to form a computing power usage log. Based on this, the computing power usage curve when the first started business is statistically analyzed to obtain the computing power usage curve group of the first started business, and the computing power usage valley value fitting is performed to generate the computing power valley value of the first started business. The computing power usage valley value fitting algorithm is the same as the computing power usage peak value fitting algorithm, but the fitting parameters are different. Specifically, the trough value is extracted from the computing power usage curve group of the first started business, and a computing power usage valley value set is constructed. The computing power usage valley value set is traversed, and cluster analysis is performed in combination with the computing power consistency deviation to construct the computing power usage valley value of the first started business. Neighborhood group, traverse the neighborhood group of the first started business computing power occupancy valley to perform valley support analysis, and generate a valley support label set, wherein the valley support analysis is to calculate the proportion of the number of neighborhood valleys in the total number of valleys, and serialize and adjust the computing power occupancy valley set from small to large according to the computing power occupancy valley, and generate a computing power occupancy valley sorting result, according to the computing power occupancy valley sorting result, combined with the valley support label set, extract the small occupied valley whose valley support label is greater than or equal to the valley support threshold, and set it as the first started business computing power valley of the first started business, and the first started business computing power valley is the computing power occupancy support after the first started business is started.

[0061] When the steady-state computing power occupancy of the curve is less than the valley value of the computing power of the first started business, it means that the first started business has not executed the process. At this time, the first started business is added to the list of requested closed businesses and sent to the user end to obtain the selected closed business, and the computing power occupied by the selected closed business and the first computing power redundancy are superimposed, that is, the local computing power is reconstructed to obtain the second computing power redundancy.

[0062] In step 130, when the second computing power redundancy is less than the overall parallel computing power value, the edge computing resources of the local system cluster are called to perform secondary computing power reconstruction on all the services to be started, so that the computing power redundancy after the secondary computing power reconstruction is greater than or equal to the overall parallel computing power value.

[0063] After performing a computing power reconstruction on the started business, there may still be a situation where the second computing power redundancy after reconstruction is less than the overall parallel computing power value. In this case, a second computing power reconstruction is required.

[0064] When the second computing power redundancy is less than the overall parallel computing power value, the edge computing resources of the local system cluster are activated, and the joint computing power reconstruction and optimization are performed on the startup business to generate the third computing power redundancy, so that the third computing power redundancy is greater than or equal to the overall parallel computing power value. After shutting down the system that is in an activated state but has not executed a process, the computing power resources obtained still cannot meet the overall parallel computing power value. At this time, the edge computing resources of the local system cluster are called, and the edge computing resources contain multiple edge nodes, so as to perform computing power scheduling and obtain the third computing power redundancy.

[0065] Optionally, the services to be started can be allocated according to the second computing power redundancy to generate the local computing power drive system, and the second computing power redundancy can be set as the local computing power redundancy. The local computing power drive system is deleted from the list of services to be started to generate the edge computing power drive system, wherein the edge computing power drive system has an edge unit parallel computing power threshold sublist in the unit parallel computing power threshold list; based on the edge computing resources, an edge node set is obtained, wherein the edge node set has an edge node stability coefficient set and an edge node computing power redundancy set; according to the edge node computing power redundancy set and the edge node stability coefficient set, combined with the edge unit parallel computing power threshold sublist, the edge node set is scheduled and optimized to generate a computing power scheduling plan; according to the computing power scheduling plan, the edge computing resources are configured, and the lightweight interface of the edge computing power drive system to access the edge computing resources is activated; the computing power redundancy of the edge nodes of the computing power scheduling plan is added to generate the edge computing power redundancy; the edge computing power redundancy and the local computing power redundancy are added to generate the third computing power redundancy.

[0066] The computing power reconstruction configuration method provided in the embodiment of the present invention improves the local computing power utilization rate by performing computing power reconstruction based on the started services in the local system cluster when the first computing power redundancy is less than the overall parallel computing power value. When the second computing power redundancy is less than the overall parallel computing power value, edge computing resources are introduced to perform secondary computing power reconstruction on the services to be started, so as to meet the driving requirements of the local system cluster, improve the local computing power utilization rate, and further improve the computing power reconstruction effect and the adaptability of the computing power scheduling scheme to the driving scenario.

[0067] In one embodiment, based on the business attributes of the started business in the local system cluster, local computing power is reconstructed for the started business, including: determining non-critical business and inefficient business in the started business based on the business attributes of the started business, the business attributes including business resource consumption efficiency, business importance and business urgency; for the critical business and the inefficient business, lowering priority or restricting resource usage to reconstruct local computing power for the started business.

[0068] The business attribute data of each started business is collected, and the business attributes include business resource consumption efficiency, business importance, and business urgency.

[0069] The efficiency of business resource consumption can be evaluated by monitoring the actual use of resources such as CPU, memory, storage and network by each business and comparing them with business needs. Business importance is usually determined by the impact of the business on the organization or users, such as mission-critical business, support business, etc. Business urgency depends on the urgency of business processing needs, such as real-time transactions, data analysis, etc.

[0070] These business attribute data are analyzed to determine which businesses are non-critical and inefficient. Non-critical businesses usually refer to businesses that are relatively low in business importance and can tolerate delays or interruptions within a certain period of time. Inefficient businesses refer to businesses with low resource consumption efficiency, that is, businesses with resource usage that is not proportional to business needs.

[0071] For non-critical and inefficient businesses, you can reduce the system computing power usage by lowering their processing priority. You can also limit resource usage by setting resource caps (such as CPU usage, memory usage, etc.).

[0072] In one embodiment, a computing power analysis is performed on all the businesses to be started in the local system cluster to determine the overall parallel computing power value of all the businesses to be started, including: obtaining the historical business operation status of all the businesses to be started, and determining the historical computing power data of all the businesses to be started based on the historical business operation status; performing a computing power analysis on the historical computing power data of all the businesses to be started to determine the unit parallel computing power value of each business to be started; adding the unit parallel computing power values ​​of each business to be started to obtain the overall parallel computing power value.

[0073] Obtain the historical business operation status of all businesses to be started. These status data may include the operation efficiency, resource usage, processing time, etc. of the business at different time points.

[0074] Based on the historical business operation status obtained, the historical computing power data of all businesses to be started can be further determined. The computing power data usually reflects the processing capacity of the business under specific configuration and load. By analyzing the historical business operation status, the computing power requirements of the business under different situations can be estimated.

[0075] Perform a detailed analysis of the historical computing power data obtained. The goal of this step is to determine the unit parallel computing power value of each business to be launched. The unit parallel computing power value refers to the processing capacity of a single business in a parallel computing environment. It may be affected by many factors, such as the algorithm complexity of the business, data scale, hardware configuration, etc.

[0076] After determining the unit parallel computing power value of each service to be started, these values ​​are added together to obtain the overall parallel computing power value.

[0077] In one embodiment, a computing power analysis is performed on the historical computing power data of all the businesses to be started to determine the unit parallel computing power value of each business to be started, including: constructing a historical computing power demand change curve chart of all the businesses to be started based on the historical computing power data; and determining the unit parallel computing power value of each business to be started based on the historical computing power demand change curve chart.

[0078] For each business to be started, draw a curve of its historical computing power demand changes over time, and build a curve chart of historical computing power demand changes.

[0079] Based on the historical computing power demand change curve, find the highest computing power demand point (peak value) of each business in history. This peak value can be used as the maximum computing power demand of the business under specific conditions. Combining the peak computing power and the average computing power, the unit parallel computing power value of each business to be started can be determined.

[0080] Optionally, after constructing the historical computing power demand change curve, mathematical models such as peak fitting can be used to predict the extreme computing power demand that may be reached in the future. This helps to plan and schedule resources more accurately.

[0081] In one embodiment, the edge computing resources of the local system cluster are called to perform secondary computing power reconstruction on all the businesses to be started, including: determining a target node from multiple edge nodes of the edge computing resources, and allocating resources of the target node to the businesses to be started of the local system cluster, so as to perform secondary computing power reconstruction on all the businesses to be started.

[0082] In the local system cluster, in order to optimize resource utilization and improve business processing performance, edge computing resources can be used to perform secondary computing power reconstruction

[0083] Based on the evaluation results of business requirements and node resources, the edge node that best meets the requirements can be selected as the target node. After the target node is determined, its resources need to be allocated to the services to be started in the local system cluster to perform secondary computing power reconstruction on all services to be started.

[0084] In one embodiment, determining a target node from a plurality of edge nodes of the edge computing resource includes:

[0085] Determining a target node from the plurality of edge nodes based on a distance evaluation function;

[0086] The distance evaluation function is:

[0087]

[0088] Where D(X,Y) represents the distance between two edge node scheduling schemes, X = (x1,…,x i ,…,x L ), Y=(y1,…,y j ,…,y Q ), X represents a scheduling scheme of one edge node among multiple edge nodes, Y represents another scheduling scheme of multiple edge nodes, x1,…,x i ,…,x L represents the specific L edge nodes of X, y1,…,y j ,…,y Q represents the specific Q edge nodes of Y, count[x i (X) = y j (Y)] indicates the same number of edge nodes in two edge node scheduling schemes.

[0089] Optionally, when the distance between any two edge node scheduling schemes of N edge node scheduling schemes is less than or equal to the scheduling scheme distance threshold determined by the distance evaluation function, the N edge node scheduling schemes are updated to generate N edge node scheduling scheme adjustment results, wherein the distance between any two edge node scheduling schemes of the N edge node scheduling scheme adjustment results is greater than the scheduling scheme distance threshold; construct an optimization fitness function, wherein the optimization fitness function is a maximum value optimization function, and the output value of the optimization fitness function is positively correlated with the edge node stability coefficient and the number of edge node schedulings; according to the optimization fitness function, the N edge node scheduling scheme adjustment results are optimized to generate the computing power scheduling plan.

[0090] According to the second computing power redundancy, combined with the unit parallel computing power threshold list, the list of services to be started is allocated, that is, the unit parallel computing power threshold list is randomly combined so that the sum of the unit parallel computing power thresholds in the combination result is the same as the second computing power redundancy, and the combination result is used as the local computing power drive system, and the second computing power redundancy is set as the local computing power redundancy. The local computing power drive system is deleted from the list of services to be started, and the services in the list of services to be started obtained after the deletion are the edge computing power drive system, wherein the edge computing power drive system has an edge unit parallel computing power threshold sub-list in the unit parallel computing power threshold list, that is, the unit parallel computing power threshold corresponding to the edge computing power drive system is extracted from the unit parallel computing power threshold list to form an edge unit parallel computing power threshold sub-list.

[0091] Specifically, according to the second computing power redundancy and in combination with the unit parallel computing power threshold list, the list of services to be started is allocated, and the process of generating the local computing power drive system is as follows: according to the second computing power redundancy and in combination with the unit parallel computing power threshold list, unit parallel computing power thresholds are enumerated and combined, that is, the data in the unit parallel computing power threshold list is combined, and the random combination result includes more than two unit parallel computing power thresholds, which is used as a local drive system combination scheme. Among them, the local drive system combination scheme has a combination support, and the combination support is the sum of the unit parallel computing power thresholds of the local drive system combination scheme and the second computing power redundancy ratio. The combination support is less than 1, which means that the sum of the unit parallel computing power thresholds of the local drive system combination scheme is less than the second computing power redundancy ratio. Then the second computing power redundancy ratio can meet the computing power requirements of the local drive system combination scheme. Therefore, the local drive system combination scheme with the maximum support whose combination support is less than 1 is extracted, and the corresponding sum of the unit parallel computing power thresholds is less than the second computing power redundancy and is closest to the second computing power redundancy. The system corresponding to the local drive system combination scheme is used as the local computing power driving system, thereby realizing the computing power scheduling of the local computing power driving system, improving the local computing power utilization rate, and reducing the scheduling pressure of the edge node.

[0092] Based on the cloud computing module, an edge node set is obtained, wherein the edge node set has an edge node stability coefficient set and an edge node computing power redundancy set. The edge node stability coefficient is used to measure the stable state of the edge node when performing a task. Specifically, the operation data of the edge node can be obtained, including indicators such as the response time and packet loss rate of the edge node, and stability analysis is performed on indicators such as the response time and packet loss rate, that is, the change frequency and change amplitude of indicators such as the response time and packet loss rate are calculated to form the edge node stability coefficient set. The edge node computing power redundancy set contains the available computing power corresponding to each edge node, which needs to be determined in combination with the actual situation. According to the edge node computing power redundancy set and the edge node stability coefficient set, combined with the edge unit parallel computing power threshold sub-list, the edge node set is scheduled and optimized to generate a computing power scheduling plan.

[0093] The present invention also provides a flow chart of the method for reconfiguring the computing power provided by the present invention, as shown in FIG. Figure 2 As shown, including:

[0094] Step 210: obtaining the local system cluster drive state, wherein the local system cluster drive state includes a started service list and a to-be-started service list.

[0095] Step 220, traversing the list of services to be started to perform computing power analysis, and generating an overall parallel computing power threshold and a unit parallel computing power threshold list, wherein the unit parallel computing power threshold list and the list of services to be started have a one-to-one correspondence;

[0096] Step 230: When the first computing power redundancy is less than the overall parallel computing power threshold, traverse the started service list to perform local computing power reconstruction and generate a second computing power redundancy;

[0097] Step 240: When the second computing power redundancy is less than the overall parallel computing power threshold, activate the cloud computing module, and perform joint computing power reconstruction optimization on the list of services to be started according to the unit parallel computing power threshold list to generate a third computing power redundancy, wherein the third computing power redundancy is greater than or equal to the overall parallel computing power threshold;

[0098] Step 250, determining that the third computing power redundancy includes local computing power redundancy and edge computing power redundancy, wherein the local computing power redundancy has a local computing power drive system, and the edge computing power redundancy has an edge computing power drive system;

[0099] Step 260: Perform conventional driving on the local computing power driving system and perform lightweight cloud driving on the edge computing power driving system.

[0100] The present invention also provides a schematic diagram of a device structure for applying the computing power reconstruction configuration method provided by the present invention, such as Figure 3As shown, it includes: a driving state acquisition module 310, a computing power analysis module 320, a local computing power reconstruction module 330, a joint computing power reconstruction optimization module 340 and a computing power system driving module 350.

[0101] Driver status acquisition module 310: This module is responsible for collecting and acquiring the current driver status in the local system cluster, including which services have been started (building a list of started services) and which services are to be started (building a list of services to be started). It is used to provide basic data for subsequent computing power analysis and reconstruction.

[0102] Computing power analysis module 320: This module is responsible for traversing the list of services to be started) and performing computing power analysis. The analysis includes generating an overall parallel computing power threshold and a list of unit parallel computing power thresholds corresponding to each service to be started. In addition, the module will also trace back the computing power occupancy log, obtain a list of computing power occupancy curve groups, and perform peak fitting to accurately calculate the unit parallel computing power threshold. It is used to determine whether computing power reconstruction is needed and how to reconstruct it.

[0103] Local computing power reconstruction module 330: This module is responsible for traversing the list of started services when the first computing power redundancy analysis shows that the overall parallel computing power threshold is not met, and evaluating and reconstructing the computing power usage volatility of the services to generate new computing power redundancy. It is used to meet computing power requirements as much as possible and reduce dependence on external resources by optimizing local resource usage.

[0104] Joint computing power reconstruction optimization module 340: This module is responsible for activating the cloud computing module when the local computing power reconstruction still cannot meet the overall parallel computing power threshold. This module combines the unit parallel computing power threshold list to perform joint computing power reconstruction optimization on the request startup system list. This includes finding the optimal computing power configuration solution from cloud computing resources and edge computing resources to generate a third computing power redundancy that meets or exceeds the overall parallel computing power threshold. Function: To achieve the optimal combination of local computing power and cloud or edge computing resources to ensure the maximization of system performance and efficiency.

[0105] Computing system driver module 350: This module is responsible for performing regular driver operations on local computing driver services and lightweight cloud driver operations on edge computing driver services. It is used to ensure that all computing resources are properly utilized and operate efficiently through appropriate driver mechanisms.

[0106] Figure 4 is a schematic diagram of the structure of the computing power reconstruction configuration device provided by the present invention, such as Figure 4 The device comprises:

[0107] The computing power analysis module 410 is used to analyze the computing power of all the services to be started in the local system cluster to determine the overall parallel computing power value of all the services to be started;

[0108] The computing power reconstruction module 420 is used to, when the first computing power redundancy is less than the overall parallel computing power value, based on the business attributes of the started business in the local system cluster, reconstruct the local computing power of the started business, and determine the second computing power redundancy of the local system cluster after the computing power reconstruction, where the first computing power redundancy is the remaining computing power resources in the local system cluster excluding the computing power resources consumed by the started business;

[0109] The secondary computing power reconstruction module 430 is used to call the edge computing resources of the local system cluster to perform secondary computing power reconstruction on all the services to be started when the second computing power redundancy is less than the overall parallel computing power value, so that the computing power redundancy after the secondary computing power reconstruction is greater than or equal to the overall parallel computing power value.

[0110] The computing power reconstruction configuration device provided in the embodiment of the present invention improves the local computing power utilization rate by performing computing power reconstruction based on the started services in the local system cluster when the first computing power redundancy is less than the overall parallel computing power value. When the second computing power redundancy is less than the overall parallel computing power value, edge computing resources are introduced to perform secondary computing power reconstruction on the services to be started, so as to meet the driving requirements of the local system cluster, improve the local computing power utilization rate, and further improve the computing power reconstruction effect and the adaptability of the computing power scheduling scheme to the driving scenario.

[0111] In one embodiment, the computing power reconstruction module 420 is specifically used to:

[0112] Based on the service attributes of the started service in the local system cluster, reconstructing the started service with local computing power includes:

[0113] Determine non-critical services and inefficient services among the started services based on service attributes of the started services, wherein the service attributes include service resource consumption efficiency, service importance, and service urgency;

[0114] For the critical business and the inefficient business, the priority is lowered or the resource usage is restricted to reconstruct the local computing power of the started business.

[0115] In one embodiment, the computing power analysis module 410 is specifically used to:

[0116] Perform a computing power analysis on all the services to be started in the local system cluster to determine the overall parallel computing power value of all the services to be started, including:

[0117] Acquire the historical business operation status of all the businesses to be started, and determine the historical computing power data of all the businesses to be started based on the historical business operation status;

[0118] Performing a computing power analysis on the historical computing power data of all the services to be started, and determining the unit parallel computing power value of each service to be started;

[0119] The unit parallel computing power values ​​of the services to be started are added together to obtain the overall parallel computing power value.

[0120] In one embodiment, the computing power analysis module 410 is further specifically used for:

[0121] Performing a computing power analysis on the historical computing power data of all the services to be started to determine the unit parallel computing power value of each service to be started, including:

[0122] Based on the historical computing power data, construct a historical computing power demand change curve chart of all the services to be started;

[0123] Based on the historical computing power demand change curve, the unit parallel computing power value of each business to be started is determined.

[0124] In one embodiment, the secondary computing power reconstruction module 430 is specifically used to:

[0125] Calling the edge computing resources of the local system cluster to perform secondary computing power reconstruction on all the services to be started, including:

[0126] A target node is determined from a plurality of edge nodes of the edge computing resources, and resources of the target node are allocated to the services to be started of the local system cluster, so as to perform secondary computing power reconstruction on all the services to be started.

[0127] In one embodiment, the secondary computing power reconstruction module 430 is further specifically used for:

[0128] Determining a target node from a plurality of edge nodes of the edge computing resource includes:

[0129] Determining a target node from the plurality of edge nodes based on a distance evaluation function;

[0130] The distance evaluation function is:

[0131]

[0132] Where D(X,Y) represents the distance between two edge node scheduling schemes, X = (x1,…,x i ,…,x L ), Y=(y1,…,y j ,…,y Q ), X represents a scheduling scheme of one edge node among multiple edge nodes, Y represents another scheduling scheme of multiple edge nodes, x1,…,x i ,…,x Lrepresents the specific L edge nodes of X, y1,…,y j ,…,y Q represents the specific Q edge nodes of Y, count[x i (X) = y j (Y)] indicates the same number of edge nodes in two edge node scheduling schemes.

[0133] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the computing power reconstruction configuration method, which includes:

[0134] Performing computing power analysis on all the services to be started in the local system cluster to determine the overall parallel computing power value of all the services to be started;

[0135] In the case where the first computing power redundancy is less than the overall parallel computing power value, based on the service attributes of the started service in the local system cluster, local computing power is reconstructed for the started service, and a second computing power redundancy after the local system cluster computing power reconstruction is determined, where the first computing power redundancy is the remaining computing power resources in the local system cluster excluding the computing power resources consumed by the started service;

[0136] When the second computing power redundancy is less than the overall parallel computing power value, the edge computing resources of the local system cluster are called to perform secondary computing power reconstruction on all the services to be started, so that the computing power redundancy after the secondary computing power reconstruction is greater than or equal to the overall parallel computing power value.

[0137] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0138] On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, and when the program instructions are executed by a computer, the computer can execute the computing power reconstruction configuration method provided by the above methods, the method comprising:

[0139] Performing computing power analysis on all the services to be started in the local system cluster to determine the overall parallel computing power value of all the services to be started;

[0140] In the case where the first computing power redundancy is less than the overall parallel computing power value, based on the service attributes of the started service in the local system cluster, local computing power is reconstructed for the started service, and a second computing power redundancy after the local system cluster computing power reconstruction is determined, where the first computing power redundancy is the remaining computing power resources in the local system cluster excluding the computing power resources consumed by the started service;

[0141] When the second computing power redundancy is less than the overall parallel computing power value, the edge computing resources of the local system cluster are called to perform secondary computing power reconstruction on all the services to be started, so that the computing power redundancy after the secondary computing power reconstruction is greater than or equal to the overall parallel computing power value.

[0142] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to perform the above-mentioned computing power reconstruction configuration method, the method comprising:

[0143] Performing computing power analysis on all the services to be started in the local system cluster to determine the overall parallel computing power value of all the services to be started;

[0144] In the case where the first computing power redundancy is less than the overall parallel computing power value, based on the service attributes of the started service in the local system cluster, local computing power is reconstructed for the started service, and a second computing power redundancy after the local system cluster computing power reconstruction is determined, where the first computing power redundancy is the remaining computing power resources in the local system cluster excluding the computing power resources consumed by the started service;

[0145] When the second computing power redundancy is less than the overall parallel computing power value, the edge computing resources of the local system cluster are called to perform secondary computing power reconstruction on all the services to be started, so that the computing power redundancy after the secondary computing power reconstruction is greater than or equal to the overall parallel computing power value.

[0146] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0147] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0148] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A computing power reconstruction configuration method, characterized in that: The method comprises: Performing computing power analysis on all the services to be started in the local system cluster to determine the overall parallel computing power value of all the services to be started; In the case where the first computing power redundancy is less than the overall parallel computing power value, based on the service attributes of the started service in the local system cluster, local computing power is reconstructed for the started service, and a second computing power redundancy after the local system cluster computing power reconstruction is determined, where the first computing power redundancy is the remaining computing power resources in the local system cluster excluding the computing power resources consumed by the started service; When the second computing power redundancy is less than the overall parallel computing power value, the edge computing resources of the local system cluster are called to perform secondary computing power reconstruction on all the services to be started, so that the computing power redundancy after the secondary computing power reconstruction is greater than or equal to the overall parallel computing power value.

2. The computing power reconstruction configuration method according to claim 1, characterized in that: The reconstructing the local computing power of the started business based on the business attributes of the started business in the local system cluster includes: Determine non-critical services and inefficient services among the started services based on service attributes of the started services, wherein the service attributes include service resource consumption efficiency, service importance, and service urgency; For the critical business and the inefficient business, the priority is lowered or the resource usage is restricted to reconstruct the local computing power of the started business.

3. The computing power reconstruction configuration method according to claim 1, characterized in that: The performing of computing power analysis on all the services to be started in the local system cluster to determine the overall parallel computing power value of all the services to be started includes: Acquire the historical business operation status of all the businesses to be started, and determine the historical computing power data of all the businesses to be started based on the historical business operation status; Performing a computing power analysis on the historical computing power data of all the services to be started, and determining the unit parallel computing power value of each service to be started; The unit parallel computing power values ​​of the services to be started are added together to obtain the overall parallel computing power value.

4. The computing power reconstruction configuration method according to claim 3, characterized in that: The performing computing power analysis on the historical computing power data of all the services to be started to determine the unit parallel computing power value of each service to be started includes: Based on the historical computing power data, construct a historical computing power demand change curve chart of all the services to be started; Based on the historical computing power demand change curve, the unit parallel computing power value of each business to be started is determined.

5. The computing power reconstruction configuration method according to claim 1, characterized in that: The calling of the edge computing resources of the local system cluster to perform secondary computing power reconstruction on all the services to be started includes: A target node is determined from a plurality of edge nodes of the edge computing resources, and resources of the target node are allocated to the services to be started of the local system cluster, so as to perform secondary computing power reconstruction on all the services to be started.

6. The computing power reconstruction configuration method according to claim 5, characterized in that: The determining of the target node from the plurality of edge nodes of the edge computing resource comprises: Determining a target node from the plurality of edge nodes based on a distance evaluation function; The distance evaluation function is: Where D(X,Y) represents the distance between two edge node scheduling schemes, X = (x1,…,x i ,…,x L ), Y=(y1,…,y j ,…,y Q ), X represents a scheduling scheme of one edge node among multiple edge nodes, Y represents another scheduling scheme of multiple edge nodes, x1,…,x i ,…,x L represents the specific L edge nodes of X, y1,…,y j ,…,y Q represents the specific Q edge nodes of Y, count[x i (X) = y j (Y)] indicates the same number of edge nodes in two edge node scheduling schemes.

7. A computing power reconstruction configuration device, characterized in that: include: A computing power analysis module is used to perform computing power analysis on all the services to be started in the local system cluster to determine the overall parallel computing power value of all the services to be started; A computing power reconstruction module is used to, when the first computing power redundancy is less than the overall parallel computing power value, based on the business attributes of the started business in the local system cluster, reconstruct the local computing power of the started business, and determine the second computing power redundancy of the local system cluster after the computing power reconstruction, wherein the first computing power redundancy is the remaining computing power resources in the local system cluster excluding the computing power resources consumed by the started business; The secondary computing power reconstruction module is used to call the edge computing resources of the local system cluster to perform secondary computing power reconstruction on all the services to be started when the second computing power redundancy is less than the overall parallel computing power value, so that the computing power redundancy after the secondary computing power reconstruction is greater than or equal to the overall parallel computing power value.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the computing power reconstruction configuration method as described in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computing power reconstruction configuration method as described in any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the computing power reconstruction configuration method as described in any one of claims 1 to 6 is implemented.

Citation Information

Cited By

  • Game operation management system based on kubernetes CRD

    CN119909370A

  • Game operation management system based on kubernetes crd

    CN119909370B