CN113934614A - PaaS platform resource utilization assessment method and system - Google Patents

PaaS platform resource utilization assessment method and system Download PDF

Info

Publication number
CN113934614A
CN113934614A CN202111294386.8A CN202111294386A CN113934614A CN 113934614 A CN113934614 A CN 113934614A CN 202111294386 A CN202111294386 A CN 202111294386A CN 113934614 A CN113934614 A CN 113934614A
Authority
CN
China
Prior art keywords
evaluation
resource utilization
paragraph node
module
data
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202111294386.8A
Other languages
Chinese (zh)
Inventor
侯晓东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202111294386.8A priority Critical patent/CN113934614A/en
Publication of CN113934614A publication Critical patent/CN113934614A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3452Performance evaluation by statistical analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3495Performance evaluation by tracing or monitoring for systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Probability & Statistics with Applications (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a PaaS platform resource utilization assessment method, which comprises the following steps: the method comprises the steps that a PaaS platform is subjected to subsection marking according to a preset subsection evaluation range; acquiring performance index data of each device in each paragraph node in the PaaS platform; collecting resource utilization data in each paragraph node in the PaaS platform; sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node into a preset evaluation model to generate sectional evaluation information of the corresponding paragraph node; and generating resource utilization evaluation information according to the preset comprehensive evaluation parameters and the sectional evaluation information of each paragraph node. The invention also discloses a PaaS platform resource utilization evaluation system. Relates to the technical field of platform resource utilization evaluation. The method can effectively and reasonably evaluate the resource condition of the existing equipment in combination with the output capability of the PaaS component, and provides effective reference for subsequent resource allocation of enterprises.

Description

PaaS platform resource utilization assessment method and system
Technical Field
The invention relates to the technical field of platform resource utilization evaluation, in particular to a PaaS platform resource utilization evaluation method and system.
Background
Computing resource utilization assessment has been an important aspect of enterprises in measuring the construction results of IT departments. With the development of cloud computing and micro-service technologies, container and container arrangement technologies are gradually mature, and especially when a Docker is used as a container to run, a PaaS platform (platform as a service) with K8S as an organizer begins to fall on the ground in enterprise production environments of various industries, so that the utilization rate of computing resources is perceptually improved.
The general enterprise group has a requirement on the utilization of the PaaS platform host, generally requires that the memory is not less than 70% and the CPU is not less than 20%, but in actual use, services and services are multiplexed and sometimes mutually influence each other. The resource utilization assessment method is particularly important, how to effectively assess the resource condition of the existing equipment and combine the PaaS component output capability is realized, the mutual influence of services is minimized, the system resource utilization rate is maximized, the cost is reduced, and the efficiency is improved, and the method becomes a difficult point to be considered and solved by enterprises at present.
Disclosure of Invention
In order to overcome the above problems or at least partially solve the above problems, embodiments of the present invention provide a method and a system for evaluating PaaS platform resource utilization, which can effectively and reasonably evaluate the resource condition of the existing device in combination with the output capability of a PaaS component, and provide an effective evaluation reference for subsequent resource allocation of an enterprise, so that the mutual influence of services is minimized, the utilization rate of system resources can be maximized, and cost and efficiency are reduced.
The embodiment of the invention is realized by the following steps:
in a first aspect, an embodiment of the present invention provides a PaaS platform resource utilization evaluation method, including the following steps:
the method comprises the steps that a PaaS platform is subjected to subsection marking according to a preset subsection evaluation range, and subsection marking information is generated;
acquiring performance index data of each device in each paragraph node in the PaaS platform according to the segmented marking information;
acquiring resource utilization data in each paragraph node in the PaaS platform according to a preset acquisition period;
sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model to generate sectional evaluation information of the corresponding paragraph node;
and generating resource utilization evaluation information according to the preset comprehensive evaluation parameters and the sectional evaluation information of each paragraph node.
In order to ensure that the resource utilization effect of the PaaS platform is effectively and accurately evaluated, different segmental evaluation ranges are set, and the PaaS platform is segmented and marked, so that equipment information in the PaaS platform can be acquired in a subsequent segmentation manner, performance index data of equipment in each node can be acquired, and the performance of the equipment can be subsequently evaluated; the equipment performance index data comprises information such as equipment power, running time, service life, service power and the like; in order to ensure real-time effectiveness of data acquisition and avoid overlarge data volume, a data acquisition period is preset, and resource utilization data in each paragraph node in the PaaS platform are acquired in a time-sharing and segmented mode according to the data acquisition period, wherein the resource utilization data comprise CPU utilization data and memory utilization data. Sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model, generating sectional evaluation information of the corresponding paragraph node, and evaluating the resource utilization effect of each paragraph node through the evaluation model; the evaluation model is a mathematical model for generating evaluation information according to comparison between the equipment performance data and the resource utilization and the pre-input normal standard data; the segment evaluation information includes CPU utilization efficiency evaluation information and memory utilization efficiency evaluation information. And after the resource utilization evaluation information of each paragraph node is obtained, calculating the comprehensive and accurate resource utilization evaluation information according to the weight of each paragraph node.
The method can effectively and reasonably evaluate the resource condition of the existing equipment by combining the output capability of the PaaS component, provides effective evaluation reference for subsequent resource allocation of enterprises, minimizes mutual influence of services, and can maximize the utilization rate of system resources, reduce cost and improve efficiency.
Based on the first aspect, in some embodiments of the present invention, the above method for sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model, and generating the segment evaluation information of the corresponding paragraph node includes the following steps:
sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model;
comparing the performance index data of each device in each paragraph node with the corresponding normal device performance parameters through an evaluation model to generate device performance evaluation information of each paragraph node;
comparing the resource utilization data in each paragraph node with a preset resource utilization threshold value through an evaluation model to generate resource utilization evaluation information of each paragraph node;
and generating the subsection evaluation information of the corresponding paragraph node according to the equipment performance evaluation information and the resource utilization evaluation information of each paragraph node.
Based on the first aspect, in some embodiments of the present invention, the method for generating resource utilization evaluation information according to a preset comprehensive evaluation parameter and segmented evaluation information of each paragraph node includes the following steps:
acquiring and setting evaluation weight of each paragraph node according to equipment information of each paragraph node in the PaaS platform so as to establish comprehensive evaluation parameters;
calculating the product of the weight of each paragraph node in the comprehensive evaluation parameter and the evaluation value in the segmentation evaluation information of the corresponding paragraph node to obtain the resource evaluation proportion data of each paragraph node;
and generating resource utilization evaluation information according to the resource evaluation proportion data of each paragraph node.
Based on the first aspect, in some embodiments of the present invention, the PaaS platform resource utilization evaluating method further includes the following steps:
acquiring and establishing an initial evaluation model according to the resource evaluation parameters;
and obtaining and importing the historical resource utilization evaluation information into an initial evaluation model for model training to obtain an evaluation model.
In a second aspect, an embodiment of the present invention provides a PaaS platform resource utilization evaluation system, including a segmentation module, a performance module, a utilization data module, a segmentation evaluation module, and a resource evaluation module, where:
the segmentation module is used for carrying out segmentation marking on the PaaS platform according to a preset segmentation evaluation range to generate segmentation marking information;
the performance module is used for acquiring performance index data of each device in each paragraph node in the PaaS platform according to the segmented marking information;
the utilization data module is used for acquiring resource utilization data in each paragraph node in the PaaS platform according to a preset acquisition period;
the system comprises a subsection evaluation module, a data processing module and a data processing module, wherein the subsection evaluation module is used for sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model to generate subsection evaluation information of the corresponding paragraph node;
and the resource evaluation module is used for generating resource utilization evaluation information according to the preset comprehensive evaluation parameters and the sectional evaluation information of each paragraph node.
In order to ensure that the resource utilization effect of the PaaS platform is effectively and accurately evaluated, different subsection evaluation ranges are set through a subsection module, and the PaaS platform is subjected to subsection marking so as to obtain equipment information in the PaaS platform in a subsequent subsection mode, obtain performance index data of equipment in each node through a performance module, and evaluate the performance of the equipment subsequently; the equipment performance index data comprises information such as equipment power, running time, service life, service power and the like; in order to ensure real-time effectiveness of data acquisition and avoid overlarge data volume, a data acquisition period is preset by using a data module, and resource utilization data in each paragraph node in the PaaS platform are acquired in a time-sharing and segmented mode according to the acquisition period, wherein the resource utilization data comprise CPU utilization data and memory utilization data. Sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model through a segmentation evaluation module to generate segmentation evaluation information of the corresponding paragraph node, and evaluating the resource utilization effect of each paragraph node through the evaluation model; the evaluation model is a mathematical model for generating evaluation information according to comparison between the equipment performance data and the resource utilization and the pre-input normal standard data; the segment evaluation information includes CPU utilization efficiency evaluation information and memory utilization efficiency evaluation information. After the resource utilization evaluation information of each paragraph node is obtained, the resource evaluation module calculates the comprehensive and accurate resource utilization evaluation information according to the weight of each paragraph node.
The system can effectively and reasonably evaluate the resource condition of the existing equipment by combining the output capability of the PaaS component, provides effective evaluation reference for subsequent resource allocation of enterprises, minimizes service mutual influence, maximizes the utilization rate of system resources, reduces cost and improves efficiency.
Based on the second aspect, in some embodiments of the present invention, the segment evaluation module includes a data importing sub-module, a performance evaluation sub-module, a resource utilization sub-module, and an evaluation sub-module, where:
the data import sub-module is used for sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model;
the performance evaluation submodule is used for comparing the performance index data of each device in each paragraph node with the corresponding normal device performance parameters through the evaluation model to generate device performance evaluation information of each paragraph node;
the resource utilization submodule is used for comparing the resource utilization data in each paragraph node with a preset resource utilization threshold value through the evaluation model to generate resource utilization evaluation information of each paragraph node;
and the evaluation submodule is used for generating the subsection evaluation information of the corresponding paragraph node according to the equipment performance evaluation information and the resource utilization evaluation information of each paragraph node.
Based on the second aspect, in some embodiments of the present invention, the resource evaluation module includes a weight setting sub-module, a proportion sub-module, and a comprehensive evaluation sub-module, wherein:
the weight setting submodule is used for acquiring and setting the evaluation weight of each paragraph node according to the equipment information of each paragraph node in the PaaS platform so as to establish a comprehensive evaluation parameter;
the occupation ratio sub-module is used for calculating the product of the weight of each paragraph node in the comprehensive evaluation parameter and the evaluation value in the segmented evaluation information of the corresponding paragraph node to obtain the resource evaluation occupation ratio data of each paragraph node;
and the comprehensive evaluation submodule is used for generating resource utilization evaluation information according to the resource evaluation proportion data of each paragraph node.
Based on the second aspect, in some embodiments of the present invention, the PaaS platform resource utilization evaluation system further includes an initial model module and a model training module, wherein:
the initial model module is used for acquiring and establishing an initial evaluation model according to the resource evaluation parameters;
and the model training module is used for acquiring and importing the historical resource utilization evaluation information into the initial evaluation model for model training to obtain the evaluation model.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory for storing one or more programs; a processor. The program or programs, when executed by a processor, implement the method of any of the first aspects as described above.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method according to any one of the first aspect described above.
The embodiment of the invention at least has the following advantages or beneficial effects:
the embodiment of the invention provides a method and a system for evaluating resource utilization of a PaaS platform, which are used for setting different segmental evaluation ranges and carrying out segmental marking on the PaaS platform so as to ensure that the resource utilization effect of the PaaS platform is effectively and accurately evaluated, and equipment information in the PaaS platform can be acquired in a subsequent segmental manner. The method can effectively and reasonably evaluate the resource condition of the existing equipment by combining the output capability of the PaaS component, provides effective evaluation reference for subsequent resource allocation of enterprises, minimizes mutual influence of services, and can maximize the utilization rate of system resources, reduce cost and improve efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart of a PaaS platform resource utilization evaluation method according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of a PaaS platform resource utilization evaluation system according to an embodiment of the present invention;
fig. 3 is a block diagram of an electronic device according to an embodiment of the present invention.
Icon: 100. a segmentation module; 200. a performance module; 300. utilizing a data module; 400. a segment evaluation module; 410. a data import submodule; 420. a performance evaluation submodule; 430. a resource utilization submodule; 440. an evaluation submodule; 500. a resource evaluation module; 510. a weight setting submodule; 520. a proportion submodule; 530. a comprehensive evaluation submodule; 600. an initial model module; 700. a model training module; 101. a memory; 102. a processor; 103. a communication interface.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Examples
As shown in fig. 1, in a first aspect, an embodiment of the present invention provides a PaaS platform resource utilization evaluation method, including the following steps:
s1, carrying out segmentation marking on the PaaS platform according to a preset segmentation evaluation range to generate segmentation marking information;
in some embodiments of the present invention, in order to ensure that the resource utilization effect of the PaaS platform is effectively and accurately evaluated, different segment evaluation ranges are set, and the PaaS platform is segment-marked, so that the device information in the PaaS platform can be acquired in subsequent segments. The PaaS platform comprises a plurality of infrastructures, relates to division of labor in a plurality of scenes, forms a complete platform through a plurality of communication application nodes, and evaluates the resource utilization efficiency in an evaluation section by taking one or more nodes as the evaluation section. The start node and the end node of the evaluation segment are marked, for example: the start node and the end node of the first evaluation segment are marked as 001, the start node and the end node of the second evaluation segment are marked as 002, and so on, and the same mark is used as a complete evaluation segment.
S2, acquiring performance index data of each device in each paragraph node in the PaaS platform according to the segmentation mark information;
in some embodiments of the present invention, performance index data of devices in each node is obtained, and the performance of the devices is subsequently evaluated; the device performance index data includes information such as device power, operation time, service life, service power, etc.
S3, acquiring resource utilization data in each paragraph node in the PaaS platform according to a preset acquisition period;
in some embodiments of the present invention, in order to ensure real-time effectiveness of data acquisition and avoid an excessive data volume, a data acquisition cycle is preset, and resource utilization data in each paragraph node in a PaaS platform is acquired in a time-division and segmented manner according to the data acquisition cycle, where the resource utilization data includes CPU utilization data and memory utilization data.
S4, sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model, and generating sectional evaluation information of the corresponding paragraph node;
in some embodiments of the present invention, performance index data of each device in each paragraph node in a PaaS platform and resource utilization data in a corresponding paragraph node are sequentially imported into a preset evaluation model, so as to generate segment evaluation information of the corresponding paragraph node, and the resource utilization effect of each paragraph node is evaluated through the evaluation model; the evaluation model is a mathematical model for generating evaluation information according to comparison between the equipment performance data and the resource utilization and the pre-input normal standard data; the segment evaluation information includes CPU utilization efficiency evaluation information and memory utilization efficiency evaluation information.
And S5, generating resource utilization evaluation information according to the preset comprehensive evaluation parameters and the segmented evaluation information of each paragraph node.
In some embodiments of the present invention, after the resource utilization evaluation information of each paragraph node is obtained, the comprehensive and accurate resource utilization evaluation information is calculated according to the weight of each paragraph node. The comprehensive evaluation parameters comprise resource data in each paragraph node, the utilization weight of the resource data, and various resources in each paragraph node and the utilization evaluation weight thereof. The comprehensive evaluation parameter is only a noun for distinguishing each evaluation parameter conveniently, so that the comprehensive evaluation parameter is used, and the comprehensive evaluation is not independent.
The method can effectively and reasonably evaluate the resource condition of the existing equipment by combining the output capability of the PaaS component, provides effective evaluation reference for subsequent resource allocation of enterprises, minimizes mutual influence of services, and can maximize the utilization rate of system resources, reduce cost and improve efficiency.
Based on the first aspect, in some embodiments of the present invention, the above method for sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model, and generating the segment evaluation information of the corresponding paragraph node includes the following steps:
sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model;
comparing the performance index data of each device in each paragraph node with the corresponding normal device performance parameters through an evaluation model to generate device performance evaluation information of each paragraph node;
comparing the resource utilization data in each paragraph node with a preset resource utilization threshold value through an evaluation model to generate resource utilization evaluation information of each paragraph node;
and generating the subsection evaluation information of the corresponding paragraph node according to the equipment performance evaluation information and the resource utilization evaluation information of each paragraph node.
And sequentially importing the data of each paragraph node into an evaluation model, effectively evaluating the equipment performance and the resource utilization through the evaluation model, and evaluating the resource utilization efficiency of each node of the PaaS platform by combining the equipment performance.
Based on the first aspect, in some embodiments of the present invention, the method for generating resource utilization evaluation information according to a preset comprehensive evaluation parameter and segmented evaluation information of each paragraph node includes the following steps:
acquiring and setting evaluation weight of each paragraph node according to equipment information of each paragraph node in the PaaS platform so as to establish comprehensive evaluation parameters; the number of devices and the types of devices included in each paragraph node are different, the division work of each device is different, and the requirement for efficiency utilization is also different, so that in order to ensure the accuracy of evaluation, the weight distribution is performed on the evaluation data of each paragraph node to form a reasonable evaluation parameter, i.e. a comprehensive evaluation parameter. For example, the PaaS platform is divided into 3 evaluation segments for segment evaluation, including a first evaluation segment, a second evaluation segment and a third evaluation segment, the total resource utilization rate is set to be S, the resource utilization rate of the first evaluation segment is a, the weight of the first evaluation segment is set to be 0.3, the resource utilization rate of the second evaluation segment is b, the weight of the second evaluation segment is set to be 0.4, and the resource utilization rate of the third evaluation segment is c, the weight of the third evaluation segment is set to be 0.3+ b 0.4+ c 0.3.
Calculating the product of the weight of each paragraph node in the comprehensive evaluation parameter and the evaluation value in the segmentation evaluation information of the corresponding paragraph node to obtain the resource evaluation proportion data of each paragraph node;
and generating resource utilization evaluation information according to the resource evaluation proportion data of each paragraph node.
In order to ensure accurate evaluation of the resource utilization efficiency of the PaaS platform, the proportion weights of different nodes are set according to the equipment configuration condition of each node, and then resource utilization evaluation information is generated according to the resource evaluation proportion data of each paragraph node.
Based on the first aspect, in some embodiments of the present invention, the PaaS platform resource utilization evaluating method further includes the following steps:
acquiring and establishing an initial evaluation model according to the resource evaluation parameters;
and obtaining and importing the historical resource utilization evaluation information into an initial evaluation model for model training to obtain an evaluation model.
In order to ensure that the subsequent quick and effective evaluation can be carried out on the resource utilization of the PaaS platform, an initial evaluation model is established, and the initial evaluation model is trained through historical resource utilization evaluation information to obtain an effective evaluation model.
As shown in fig. 2, in a second aspect, an embodiment of the present invention provides a PaaS platform resource utilization evaluation system, which includes a segmentation module 100, a performance module 200, a utilization data module 300, a segmentation evaluation module 400, and a resource evaluation module 500, where:
the segmentation module 100 is configured to perform segmentation marking on the PaaS platform according to a preset segmentation evaluation range, and generate segmentation marking information;
the performance module 200 is configured to obtain performance index data of each device in each paragraph node in the PaaS platform according to the segment marking information;
the utilization data module 300 is configured to acquire resource utilization data in each paragraph node in the PaaS platform according to a preset acquisition period;
the segment evaluation module 400 is configured to sequentially import performance index data of each device in each paragraph node and resource utilization data in a corresponding paragraph node in the PaaS platform into a preset evaluation model, and generate segment evaluation information of the corresponding paragraph node;
the resource evaluation module 500 is configured to generate resource utilization evaluation information according to preset comprehensive evaluation parameters and the segmental evaluation information of each paragraph node.
In order to ensure that the resource utilization effect of the PaaS platform is effectively and accurately evaluated, different segmentation evaluation ranges are set through the segmentation module 100, the PaaS platform is subjected to segmentation marking, so that equipment information in the PaaS platform can be acquired in a subsequent segmentation mode, performance index data of equipment in each node is acquired through the performance module 200, and the performance of the equipment is subsequently evaluated; the equipment performance index data comprises information such as equipment power, running time, service life, service power and the like; in order to ensure real-time effectiveness of data acquisition and avoid excessive data volume, a data acquisition cycle is preset by using the data module 300, and resource utilization data in each paragraph node in the PaaS platform is acquired in a time-sharing and segmented manner according to the acquisition cycle, wherein the resource utilization data comprises CPU utilization data and memory utilization data. Sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model through a segmentation evaluation module 400, generating segmentation evaluation information of the corresponding paragraph node, and evaluating the resource utilization effect of each paragraph node through the evaluation model; the evaluation model is a mathematical model for generating evaluation information according to comparison between the equipment performance data and the resource utilization and the pre-input normal standard data; the segment evaluation information includes CPU utilization efficiency evaluation information and memory utilization efficiency evaluation information. After obtaining the resource utilization evaluation information of each paragraph node, the resource evaluation module 500 calculates the comprehensive and accurate resource utilization evaluation information according to the weight of each paragraph node.
The system can effectively and reasonably evaluate the resource condition of the existing equipment by combining the output capability of the PaaS component, provides effective evaluation reference for subsequent resource allocation of enterprises, minimizes service mutual influence, maximizes the utilization rate of system resources, reduces cost and improves efficiency.
As shown in fig. 2, according to the second aspect, in some embodiments of the present invention, the segmentation evaluation module 400 includes a data importing sub-module 410, a performance evaluation sub-module 420, a resource utilization sub-module 430, and an evaluation sub-module 440, where:
the data import sub-module 410 is configured to sequentially import performance index data of each device in each paragraph node in the PaaS platform and resource utilization data in the corresponding paragraph node into a preset evaluation model;
the performance evaluation submodule 420 is configured to compare, by using the evaluation model, performance index data of each device in each paragraph node with a corresponding normal device performance parameter, and generate device performance evaluation information of each paragraph node;
the resource utilization submodule 430 is configured to compare, by using the evaluation model, the resource utilization data in each paragraph node with a preset resource utilization threshold, and generate resource utilization evaluation information of each paragraph node;
and the evaluation sub-module 440 is configured to generate segment evaluation information of the corresponding paragraph node according to the device performance evaluation information and the resource utilization evaluation information of each paragraph node.
And sequentially importing the data of each paragraph node into an evaluation model, effectively evaluating the equipment performance and the resource utilization through the evaluation model, and evaluating the resource utilization efficiency of each node of the PaaS platform by combining the equipment performance.
Based on the second aspect, in some embodiments of the present invention, as shown in fig. 2, the resource evaluation module 500 includes a weight setting sub-module 510, a proportion sub-module 520, and a comprehensive evaluation sub-module 530, wherein:
the weight setting sub-module 510 is configured to obtain and set an evaluation weight of each paragraph node according to the device information of each paragraph node in the PaaS platform, so as to establish a comprehensive evaluation parameter;
the occupation ratio sub-module 520 is configured to calculate a product of the weight of each paragraph node in the comprehensive evaluation parameter and an evaluation value in the segment evaluation information of the corresponding paragraph node, so as to obtain resource evaluation occupation ratio data of each paragraph node;
and the comprehensive evaluation submodule 530 is configured to generate resource utilization evaluation information according to the resource evaluation duty data of each paragraph node.
In order to ensure accurate evaluation of the resource utilization efficiency of the PaaS platform, the weight setting sub-module 510 sets the proportion weight of different nodes according to the device configuration condition of each node, and then the comprehensive evaluation sub-module 530 generates resource utilization evaluation information according to the resource evaluation proportion data of each paragraph node.
As shown in fig. 2, according to the second aspect, in some embodiments of the present invention, the PaaS platform resource utilization evaluation system further includes an initial model module 600 and a model training module 700, wherein:
an initial model module 600, configured to obtain and establish an initial evaluation model according to the resource evaluation parameter;
and the model training module 700 is configured to obtain and import the historical resource utilization evaluation information into the initial evaluation model for model training, so as to obtain an evaluation model.
In order to ensure that the subsequent quick and effective evaluation on the resource utilization of the PaaS platform can be performed, the initial model module 600 establishes an initial evaluation model, and the model training module 700 trains the initial evaluation model through the historical resource utilization evaluation information to obtain an effective evaluation model.
As shown in fig. 3, in a third aspect, an embodiment of the present application provides an electronic device, which includes a memory 101 for storing one or more programs; a processor 102. The one or more programs, when executed by the processor 102, implement the method of any of the first aspects as described above.
Also included is a communication interface 103, and the memory 101, processor 102 and communication interface 103 are electrically connected to each other, directly or indirectly, to enable transfer or interaction of data. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The memory 101 may be used to store software programs and modules, and the processor 102 executes the software programs and modules stored in the memory 101 to thereby execute various functional applications and data processing. The communication interface 103 may be used for communicating signaling or data with other node devices.
The Memory 101 may be, but is not limited to, a Random Access Memory 101 (RAM), a Read Only Memory 101 (ROM), a Programmable Read Only Memory 101 (PROM), an Erasable Read Only Memory 101 (EPROM), an electrically Erasable Read Only Memory 101 (EEPROM), and the like.
The processor 102 may be an integrated circuit chip having signal processing capabilities. The Processor 102 may be a general-purpose Processor 102, including a Central Processing Unit (CPU) 102, a Network Processor 102 (NP), and the like; but may also be a Digital Signal processor 102 (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware components.
In the embodiments provided in the present application, it should be understood that the disclosed method and system and method can be implemented in other ways. The method and system embodiments described above are merely illustrative, for example, the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which, when executed by the processor 102, implements the method according to any one of the first aspect described above. The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory 101 (ROM), a Random Access Memory 101 (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (10)

1. A PaaS platform resource utilization assessment method is characterized by comprising the following steps:
the method comprises the steps that a PaaS platform is subjected to subsection marking according to a preset subsection evaluation range, and subsection marking information is generated;
acquiring performance index data of each device in each paragraph node in the PaaS platform according to the segmented marking information;
acquiring resource utilization data in each paragraph node in the PaaS platform according to a preset acquisition period;
sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model to generate sectional evaluation information of the corresponding paragraph node;
and generating resource utilization evaluation information according to the preset comprehensive evaluation parameters and the sectional evaluation information of each paragraph node.
2. The method for evaluating resource utilization of a PaaS platform according to claim 1, wherein the method for sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model to generate the segment evaluation information of the corresponding paragraph node comprises the following steps:
sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model;
comparing the performance index data of each device in each paragraph node with the corresponding normal device performance parameters through an evaluation model to generate device performance evaluation information of each paragraph node;
comparing the resource utilization data in each paragraph node with a preset resource utilization threshold value through an evaluation model to generate resource utilization evaluation information of each paragraph node;
and generating the subsection evaluation information of the corresponding paragraph node according to the equipment performance evaluation information and the resource utilization evaluation information of each paragraph node.
3. The PaaS platform resource utilization evaluation method according to claim 1, wherein the method for generating resource utilization evaluation information according to preset comprehensive evaluation parameters and sectional evaluation information of each paragraph node comprises the following steps:
acquiring and setting evaluation weight of each paragraph node according to equipment information of each paragraph node in the PaaS platform so as to establish comprehensive evaluation parameters;
calculating the product of the weight of each paragraph node in the comprehensive evaluation parameter and the evaluation value in the segmentation evaluation information of the corresponding paragraph node to obtain the resource evaluation proportion data of each paragraph node;
and generating resource utilization evaluation information according to the resource evaluation proportion data of each paragraph node.
4. The method for assessing resource utilization of the PaaS platform according to claim 1, further comprising the steps of:
acquiring and establishing an initial evaluation model according to the resource evaluation parameters;
and obtaining and importing the historical resource utilization evaluation information into an initial evaluation model for model training to obtain an evaluation model.
5. A PaaS platform resource utilization evaluation system is characterized by comprising a segmentation module, a performance module, a utilization data module, a segmentation evaluation module and a resource evaluation module, wherein:
the segmentation module is used for carrying out segmentation marking on the PaaS platform according to a preset segmentation evaluation range to generate segmentation marking information;
the performance module is used for acquiring performance index data of each device in each paragraph node in the PaaS platform according to the segmented marking information;
the utilization data module is used for acquiring resource utilization data in each paragraph node in the PaaS platform according to a preset acquisition period;
the system comprises a subsection evaluation module, a data processing module and a data processing module, wherein the subsection evaluation module is used for sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model to generate subsection evaluation information of the corresponding paragraph node;
and the resource evaluation module is used for generating resource utilization evaluation information according to the preset comprehensive evaluation parameters and the sectional evaluation information of each paragraph node.
6. The PaaS platform resource utilization evaluation system according to claim 5, wherein the segment evaluation module comprises a data import sub-module, a performance evaluation sub-module, a resource utilization sub-module, and an evaluation sub-module, wherein:
the data import sub-module is used for sequentially importing the performance index data of each device in each paragraph node and the resource utilization data in the corresponding paragraph node in the PaaS platform into a preset evaluation model;
the performance evaluation submodule is used for comparing the performance index data of each device in each paragraph node with the corresponding normal device performance parameters through the evaluation model to generate device performance evaluation information of each paragraph node;
the resource utilization submodule is used for comparing the resource utilization data in each paragraph node with a preset resource utilization threshold value through the evaluation model to generate resource utilization evaluation information of each paragraph node;
and the evaluation submodule is used for generating the subsection evaluation information of the corresponding paragraph node according to the equipment performance evaluation information and the resource utilization evaluation information of each paragraph node.
7. The PaaS platform resource utilization evaluation system according to claim 5, wherein the resource evaluation module comprises a weight setting sub-module, a proportion sub-module and a comprehensive evaluation sub-module, wherein:
the weight setting submodule is used for acquiring and setting the evaluation weight of each paragraph node according to the equipment information of each paragraph node in the PaaS platform so as to establish a comprehensive evaluation parameter;
the occupation ratio sub-module is used for calculating the product of the weight of each paragraph node in the comprehensive evaluation parameter and the evaluation value in the segmented evaluation information of the corresponding paragraph node to obtain the resource evaluation occupation ratio data of each paragraph node;
and the comprehensive evaluation submodule is used for generating resource utilization evaluation information according to the resource evaluation proportion data of each paragraph node.
8. The PaaS platform resource utilization evaluation system of claim 5, further comprising an initial model module and a model training module, wherein:
the initial model module is used for acquiring and establishing an initial evaluation model according to the resource evaluation parameters;
and the model training module is used for acquiring and importing the historical resource utilization evaluation information into the initial evaluation model for model training to obtain the evaluation model.
9. An electronic device, comprising:
a memory for storing one or more programs;
a processor;
the one or more programs, when executed by the processor, implement the method of any of claims 1-4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202111294386.8A 2021-11-03 2021-11-03 PaaS platform resource utilization assessment method and system Pending CN113934614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111294386.8A CN113934614A (en) 2021-11-03 2021-11-03 PaaS platform resource utilization assessment method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111294386.8A CN113934614A (en) 2021-11-03 2021-11-03 PaaS platform resource utilization assessment method and system

Publications (1)

Publication Number Publication Date
CN113934614A true CN113934614A (en) 2022-01-14

Family

ID=79285415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111294386.8A Pending CN113934614A (en) 2021-11-03 2021-11-03 PaaS platform resource utilization assessment method and system

Country Status (1)

Country Link
CN (1) CN113934614A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629910A (en) * 2022-04-15 2022-06-14 安徽安联云服务有限公司 Intelligent PaaS cloud service platform

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629910A (en) * 2022-04-15 2022-06-14 安徽安联云服务有限公司 Intelligent PaaS cloud service platform

Similar Documents

Publication Publication Date Title
EP2643753B1 (en) Method to measure software reuse and corresponding computer program product
CN110471821B (en) Abnormality change detection method, server, and computer-readable storage medium
CN109739742B (en) Service data checking method, device and equipment
CN101311898B (en) Software element reliability evaluation method and system
CN105608517B (en) Business transaction performance management and visualization method and device based on flow
CN113934614A (en) PaaS platform resource utilization assessment method and system
CN110766232B (en) Dynamic prediction method and system thereof
CN113254472A (en) Parameter configuration method, device, equipment and readable storage medium
CN112650898A (en) Industrial chain visual analysis method, device and equipment
CN113268403A (en) Time series analysis and prediction method, device, equipment and storage medium
CN106897282A (en) The sorting technique and equipment of a kind of customer group
CN109344255B (en) Label filling method and terminal equipment
CN108197347B (en) method for detecting geographic space distribution uniformity of continuous irregular area sampling points
CN111428197B (en) Data processing method, device and equipment
CN113568952A (en) Internet of things resource data analysis method
CN112506901A (en) Data quality measuring method, device and medium
CN116777256A (en) Enterprise compliance management quantitative evaluation system and method
CN110069379B (en) Screening method and screening device for monitoring indexes
CN110472118A (en) A kind of method for evaluating quality, equipment, server and readable storage medium storing program for executing
CN110213123A (en) A kind of flux monitoring method, device and equipment
CN111400129A (en) Distributed application performance monitoring and bottleneck positioning system, method and equipment
CN114111730B (en) Method and system for predicting downstream hydrological information
CN111984519A (en) Test method and device for service system
CN113127333B (en) Data processing method and device, electronic equipment and storage medium
CN114938339A (en) Data processing method and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20220114