CN109240827A - Determination method, apparatus, storage medium and the equipment of the occupation condition of application - Google Patents

Determination method, apparatus, storage medium and the equipment of the occupation condition of application Download PDF

Info

Publication number
CN109240827A
CN109240827A CN201810949218.XA CN201810949218A CN109240827A CN 109240827 A CN109240827 A CN 109240827A CN 201810949218 A CN201810949218 A CN 201810949218A CN 109240827 A CN109240827 A CN 109240827A
Authority
CN
China
Prior art keywords
system resource
application
resource
occupancy
value interval
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.)
Granted
Application number
CN201810949218.XA
Other languages
Chinese (zh)
Other versions
CN109240827B (en
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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201810949218.XA priority Critical patent/CN109240827B/en
Publication of CN109240827A publication Critical patent/CN109240827A/en
Application granted granted Critical
Publication of CN109240827B publication Critical patent/CN109240827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]

Abstract

This disclosure relates to a kind of determination method, apparatus, storage medium and the equipment of the occupation condition of application, this method comprises: obtaining system resource data, the system resource data includes occupancy of each application in the total occupancy and the preset period of time of the system resource in preset period of time for system resource;It include the topological relation between every kind of system resource and application in the Bayesian network secondly, generating Bayesian network according to the system resource data, which is used to indicate the application using every kind of system resource;Using bayesian network structure, and the discretization data formation condition probability tables obtained after sliding-model control are carried out to the system resource data;Determine that each application to the resource occupation score of occupied every kind of system resource, and determines according to the resource occupation score of each application the resource occupation type of each application according to the conditional probability table.It can determine the system resource occupancy situation of each application in system.

Description

Determination method, apparatus, storage medium and the equipment of the occupation condition of application
Technical field
This disclosure relates to O&M technical field, and in particular, to a kind of determination method of the occupation condition of application, dress It sets, storage medium and equipment.
Background technique
CPU (Central Processing Unit, central processing unit) resource, memory source, disk I/O (Input/ Output) resources such as resource, network I/O resource are important resource for computer system, are that respectively application operates normally in guarantee system Basis.In actual production environment, some problems are frequently encountered (for example, code quality problem or programmed algorithm itself Memory overflow caused by problem, CPU are computation-intensive etc.), therefore the operation problem of certain applications, it may sharply increase to system The consumption of resource, so that one of or several computer resources exhaust, the application for causing other in system to be currently running is obtained It cannot get required system resource, to influence the normal operation of other application, in some instances it may even be possible to lead to delay machine.
And (such as top, a kind of Linux tool, system manager can use operation top life to traditional monitoring of system resource tool Enable monitoring process and Linux overall performance) monitoring can only be provided when problem occurs, help operation maintenance personnel to find problem application. And can not determine it is how to determine whether each application is resource-hungry application since which application causes, it is to work as The problem of preceding urgent need to resolve.
Summary of the invention
Purpose of this disclosure is to provide a kind of determination method, apparatus of the occupation condition of application, storage medium and set Standby, to each application in identifying system occupation condition.
To achieve the goals above, the disclosure in a first aspect, providing a kind of determination side of the occupation condition of application Method, which comprises
System resource data is obtained, the system resource data includes total occupancy of the system resource in preset period of time, And each application in the preset period of time, for the occupancy of system resource, the system resource includes one or more;
Generate Bayesian network according to the system resource data, in the Bayesian network comprising every kind of system resource with Topological relation between, the topological relation are used to indicate the application using every kind of system resource;
Using the bayesian network structure, and to the system resource data carry out sliding-model control after obtain from Dispersion data formation condition probability tables;
Determine that each application obtains the resource occupation of occupied every kind of system resource according to the conditional probability table Point;
The resource occupation type of each application is determined according to the resource occupation score of each application.
Optionally, described to utilize the bayesian network structure, and the system resource data is carried out at discretization The discretization data formation condition probability tables obtained after reason, comprising:
Total occupancy of the system resource in the preset period of time is discrete according to the progress of preset m value interval Change processing, obtains the first discretization data;Wherein, the interval range of the m value interval is incremented by successively;
By in the preset period of time it is described it is each application for system resource occupancy according to preset n value area Between carry out sliding-model control, obtain the second discretization data;Wherein, the interval range of the n value interval is incremented by successively;
According to the first discretization data, the second discretization data, counted using the Bayesian network, It include: occupancy of the every kind of application to the first system resource to generate the conditional probability table, in the conditional probability table When i-th of value interval in the n value interval, total occupancy of the first system resource is located at the m The conditional probability of j-th of value interval in value interval;Wherein the first system resource is any system resource.
Optionally, described to determine each application to occupied every kind of system resource according to the conditional probability table Resource occupation score, comprising:
According to the conditional probability table, the first application is obtained to the occupancy of the first system resource respectively in the n The desired value of the first system resource when a value interval;Wherein first application is any application;
According to first application to the occupancy of the first system resource respectively in the n value interval described in The desired value of the first system resource obtains first application to the resource occupation score of the first system resource.
Optionally, described to be taken respectively at the n according to occupancy of first application to the first system resource It is worth the desired value of the first system resource when section, obtains first application to the resource occupation of the first system resource Score, comprising:
The first application is to the occupancy of the first system resource in institute according to the second discretization data acquisition State the probability distribution of n value interval;
According to the probability distribution in the n value interval, determine first application for the first system The maximum value interval of the probability distribution of resource;
According to first application to the occupancy of the first system resource respectively in the n value interval described in The desired value of the first system resource and described first is using the maximum value of probability distribution for the first system resource Section obtains each application using resource occupation score calculation formula and obtains to the resource occupation of occupied every kind of system resource Point;
The resource occupation score calculation formula includes:
Wherein, resourcexIndicate system resource x, AiIt indicates to be located at the n for the occupancy of system resource x using A State when i-th of value interval in a value interval, AcIt indicates to be located at the n for the occupancy of system resource x using A State when c-th of value interval in a value interval, c-th of value interval are using A for the general of system resource x Rate is distributed maximum value interval,It indicates to be located at the occupancy of system resource x when using A Desired value when i-th of value interval, E (SYSresource|Ac) indicate when the occupancy position using A for system resource x Desired value when c-th of value interval, y indicate the resource occupation score using A for system resource x.
Optionally, in the conditional probability table further include: every kind of application is located at the occupancy of the first system resource When i-th of value interval in the n value interval, other application is located at the occupancy of the first system resource described The conditional probability of k-th of value interval in n value interval;Wherein the first system resource is any system resource;Institute State method further include:
According to the conditional probability table, the first application is obtained to the occupancy of the first system resource respectively in the n When a value interval, desired value of second application about the first system resource;Wherein second application is except described the Any application outside one application;
According to first application to the occupancy of the first system resource respectively in the n value interval, the Desired value of two applications about the first system resource obtains first application and obtains to the influence degree of second application Point.
Optionally, described to be taken respectively at the n according to occupancy of first application to the first system resource When being worth section, desired value of second application about the first system resource obtains first application to second application Influence degree score, comprising:
According to first application to the occupancy of the first system resource respectively in the n value interval, the Two applications are about the desired value of the first system resource and described first using the probability for the first system resource It is distributed maximum value interval, obtains each application to occupied every kind of system resource using influence degree score calculation formula Resource occupation score;
The influence degree score calculation formula includes:
Wherein, resourcexIndicate system resource x, AiIt indicates to be located at the n for the occupancy of system resource x using A State when i-th of value interval in a value interval, BcIt indicates to be located at the n for the occupancy of system resource x using B State when c-th of value interval in a value interval, c-th of value interval are using B for the general of system resource x Rate is distributed maximum value interval,Indicate described when being located at using occupancy of the A for system resource x When i-th of value interval, desired value using B about system resource x, y indicates the influence degree score using A for application B.
Optionally, the system resource includes CPU, memory, disk I/O and/or network I/O, described to be provided according to the system Source data generates Bayesian network, includes the topological relation between every kind of system resource and application, institute in the Bayesian network Topological relation is stated for indicating the application using every kind of system resource, comprising:
According to each application respectively for the CPU, the memory, the disk I/O and/or the network I/O Occupancy, determine respectively the application using the CPU, using the memory using, using the application of the disk I/O, and/ Or the application using the network I/O.
Second aspect, provides a kind of determining device of the occupation condition of application, and described device includes:
Data acquisition module, for obtaining system resource data, the system resource data, which includes in preset period of time, is The total occupancy for resource of uniting and occupancy of each application for system resource in the preset period of time, the system money Source includes one or more;
Network struction module, for generating Bayesian network according to the system resource data, in the Bayesian network Comprising the topological relation between every kind of system resource and application, the topological relation uses every kind of system resource for indicating Application;
Conditional probability computing module, for utilize the bayesian network structure, and to the system resource data into The discretization data formation condition probability tables obtained after row sliding-model control;
First grading module, for determining each application to occupied every kind of system according to the conditional probability table The resource occupation score of resource;
Determination type module, for determining the resource of each application according to the resource occupation score of each application Occupy type.
Optionally, the conditional probability computing module, comprising:
Sliding-model control submodule, for by total occupancy of the system resource in the preset period of time according to default M value interval carry out sliding-model control, obtain the first discretization data;Wherein, the interval range of the m value interval It is incremented by successively;
The sliding-model control submodule is also used to each application in the preset period of time for system resource Occupancy according to preset n value interval carry out sliding-model control, obtain the second discretization data;Wherein, the n take The interval range for being worth section is incremented by successively;
Probability calculation submodule, for according to the first discretization data, the second discretization data, using described Bayesian network is counted, and includes: every kind of application to generate the conditional probability table, in the conditional probability table to the When the occupancy of one system resource is located at i-th of value interval in the n value interval, the first system resource it is total Occupancy is located at the conditional probability of j-th of value interval in the m value interval;Wherein the first system resource is to appoint One system resource.
Optionally, first grading module, comprising:
It is expected that acquisition submodule, for obtaining the first application to the first system resource according to the conditional probability table Occupancy respectively in the n value interval the first system resource desired value;Wherein first application is to appoint One application;
Score acquisition submodule, for applying the occupancy to the first system resource respectively in institute according to described first The desired value of the first system resource when n value interval is stated, obtains first application to the first system resource Resource occupation score.
Optionally, the score acquisition submodule, is used for:
The first application is to the occupancy of the first system resource in institute according to the second discretization data acquisition State the probability distribution of n value interval;
According to the probability distribution in the n value interval, determine first application for the first system The maximum value interval of the probability distribution of resource;
According to first application to the occupancy of the first system resource respectively in the n value interval described in The desired value of the first system resource and described first is using the maximum value of probability distribution for the first system resource Section obtains each application using resource occupation score calculation formula and obtains to the resource occupation of occupied every kind of system resource Point;
The resource occupation score calculation formula includes:
Wherein, resourcexIndicate system resource x, AiIt indicates to be located at the n for the occupancy of system resource x using A State when i-th of value interval in a value interval, AcIt indicates to be located at the n for the occupancy of system resource x using A State when c-th of value interval in a value interval, c-th of value interval are using A for the general of system resource x Rate is distributed maximum value interval,It indicates to be located at the occupancy of system resource x when using A Desired value when i-th of value interval, E (SYSresource|Ac) indicate when the occupancy position using A for system resource x Desired value when c-th of value interval, y indicate the resource occupation score using A for system resource x.
Optionally, in the conditional probability table further include: every kind of application is located at the occupancy of the first system resource When i-th of value interval in the n value interval, other application is located at the occupancy of the first system resource described The conditional probability of k-th of value interval in n value interval;Wherein the first system resource is any system resource;Institute State device further include:
It is expected that module is obtained, for obtaining the first application to the first system resource according to the conditional probability table Occupancy is respectively in the n value interval, and second using the desired value about the first system resource;Wherein described Two applications are any application in addition to first application;
Second grading module, for applying the occupancy to the first system resource respectively described according to described first When n value interval, desired value of second application about the first system resource obtains first application to described second The influence degree score of application.
Optionally, second grading module, is used for:
According to first application to the occupancy of the first system resource respectively in the n value interval, the Two applications are about the desired value of the first system resource and described first using the probability for the first system resource It is distributed maximum value interval, obtains each application to occupied every kind of system resource using influence degree score calculation formula Resource occupation score;
The influence degree score calculation formula includes:
Wherein, resourcexIndicate system resource x, AiIt indicates to be located at the n for the occupancy of system resource x using A State when i-th of value interval in a value interval, BcIt indicates to be located at the n for the occupancy of system resource x using B State when c-th of value interval in a value interval, c-th of value interval are using B for the general of system resource x Rate is distributed maximum value interval,Indicate described when being located at using occupancy of the A for system resource x When i-th of value interval, desired value using B about system resource x, y indicates the influence degree score using A for application B.
Optionally, the system resource includes CPU, memory, disk I/O and/or network I/O, and the network struction module is used In:
According to each application respectively for the CPU, the memory, the disk I/O and/or the network I/O Occupancy, determine respectively the application using the CPU, using the memory using, using the application of the disk I/O, and/ Or the application using the network I/O.
The third aspect provides a kind of computer readable storage medium, is stored thereon with computer program, the computer journey Sequence is executed by processor the step of above-mentioned first aspect the method.
Fourth aspect provides a kind of electronic equipment, comprising:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, with real above-mentioned first aspect the method The step of.
In the above-mentioned technical proposal that the disclosure provides, by obtaining system resource data first, the system resource data packet Each application in the total occupancy and the preset period of time of the system resource in preset period of time is included for the occupancy of system resource Rate, the system resource include one or more;Secondly, generating Bayesian network, the Bayesian network according to the system resource data Comprising the topological relation between every kind of system resource and application in network, which is used to indicate to use every kind of system resource Using;Then, using bayesian network structure, and the discretization obtained after sliding-model control is carried out to the system resource data Data formation condition probability tables;To determine each application to the money of occupied every kind of system resource according to the conditional probability table Source occupies score, and the resource occupation type of each application is determined according to the resource occupation score of each application.It therefore, can be true The system resource occupancy situation of each application in system is determined, so as to account for operation maintenance personnel according to the system resource of each application It is found the problem in advance with situation.
Other feature and advantage of the disclosure will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
Attached drawing is and to constitute part of specification for providing further understanding of the disclosure, with following tool Body embodiment is used to explain the disclosure together, but does not constitute the limitation to the disclosure.In the accompanying drawings:
Fig. 1 is the determination method according to a kind of occupation condition of application shown in one exemplary embodiment of the disclosure Flow chart;
Fig. 2 is the topological relation according to the application for using cpu resource in the system shown in one exemplary embodiment of the disclosure Schematic diagram;
Fig. 3 is the flow diagram for implementing a kind of conditional probability table generating method exemplified according to Fig. 1;
Fig. 4 is the flow diagram for implementing a kind of determination method of the resource occupation score exemplified according to Fig. 1;
Fig. 5 is the determination method according to the occupation condition of another application shown in one exemplary embodiment of the disclosure Flow chart;
Fig. 6 is the determining device according to the occupation condition of another application shown in one exemplary embodiment of the disclosure Block diagram;
Fig. 7 is a kind of block diagram of conditional probability computing module shown according to one exemplary embodiment of the disclosure;
Fig. 8 is the block diagram according to the first grading module of one kind shown in one exemplary embodiment of the disclosure;
Fig. 9 is the determining device according to the occupation condition of another application shown in one exemplary embodiment of the disclosure Block diagram;
Figure 10 is the block diagram according to a kind of electronic equipment shown in one exemplary embodiment of the disclosure;
Figure 11 is the block diagram according to another electronic equipment shown in one exemplary embodiment of the disclosure.
Specific embodiment
It is described in detail below in conjunction with specific embodiment of the attached drawing to the disclosure.It should be understood that this place is retouched The specific embodiment stated is only used for describing and explaining the disclosure, is not limited to the disclosure.
Fig. 1 is the determination method according to a kind of occupation condition of application shown in one exemplary embodiment of the disclosure Flow chart, as shown in Figure 1, this method may include:
Step 101, system resource data is obtained, which includes always accounting for for the system resource in preset period of time With each application in rate and the preset period of time for the occupancy of system resource, which includes one or more.
Wherein, system resource also may include: the resources such as CPU, memory, disk I/O (Input/Output), network I/O.Then Correspondingly, each application may include: CPU usage, memory usage, disk I/O occupancy for the occupancy of system resource One of rate, network I/O occupancy are a variety of, and total occupancy of system resource includes: that the total occupancy of CPU, memory always occupy One of the total occupancy of rate, disk I/O, the total occupancy of network I/O are a variety of.
It is exemplary, to obtain the total occupancy of the CPU in preset period of time, the total occupancy of memory, disk in the embodiment of the present disclosure The CPU usage of each application, memory usage, disk I/O occupy in the total occupancy of IO, the total occupancy of network I/O and system For rate, network I/O occupancy, which for example can be a hour, one day, one week etc..
Step 102, Bayesian network is generated according to the system resource data, includes every kind of system money in the Bayesian network Topological relation between source and application, the topological relation are used to indicate the application using every kind of system resource.
For example, exactly determine which application is every kind of resource in the resources such as CPU, memory, disk I/O, network I/O have It is using.It is exemplary, as shown in Fig. 2, showing in system using the topological relation schematic diagram of the application of cpu resource.Such as Fig. 2 institute Show there is tomcat, mysqld, python, sshd, solr and main using CPU application.For memory, disk I/O, network I/O Etc. resources similarly with CPU repeat no more.
Step 103, it is obtained using the bayesian network structure, and after carrying out sliding-model control to the system resource data Discretization data formation condition probability tables.
Wherein, sliding-model control refer to by system resource data obtained in step 101 according to different value intervals into Row divides.For example, can determine the CPU of each application respectively according to the occupancy value interval of preset several different range Section locating for occupancy, memory usage, disk I/O occupancy and/or network I/O occupancy similarly can also always account for CPU Identical sliding-model control is carried out with rate, the total occupancy of memory, the total occupancy of disk I/O, the total occupancy of network I/O.Correspondingly, root It include a variety of conditional probabilities in the conditional probability table determined according to the data after sliding-model control, for example including every kind of application to a certain When the occupancy of resource is located at some value interval, the condition that total occupancy of a certain system resource is located at some value interval is general Rate.For example, the total occupancy of CPU is located at the conditional probability of value interval 2 when being located at value interval 1 using occupancy of the A to CPU.
Step 104, determine each application to the resource occupation of occupied every kind of system resource according to the conditional probability table Score.
Step 105, the resource occupation type of each application is determined according to the resource occupation score of each application.
It is exemplary, according to the conditional probability in the conditional probability table, each application can be reflected to occupied every germline The influence degree of the occupancy situation for resource of uniting, therefore resource occupation can be carried out based on the conditional probability in the conditional probability table and obtained Point calculating, and judge according to the height of resource occupation score the resource occupation type of each application.Wherein, resource occupation class Type may include: resource-hungry application, non-resource consumption-type application.Or it also can according to need and thinner type stroke be set Point, such as the application of high resource-hungry, the application of medium resource-hungry and non-resource consumption-type application.
In above-mentioned technical proposal, by obtaining system resource data first, which includes in preset period of time System resource occupancy for system resource of total occupancy and each application in the preset period of time, system money Source includes one or more;It include every kind in the Bayesian network secondly, generating Bayesian network according to the system resource data Topological relation between system resource and application, the topological relation are used to indicate the application using every kind of system resource;Then, sharp With bayesian network structure, and the discretization data formation condition obtained after sliding-model control is carried out to the system resource data Probability tables;To according to the conditional probability table determine each application to the resource occupation score of occupied every kind of system resource, And the resource occupation type of each application is determined according to the resource occupation score of each application.Therefore, it can determine each in system The system resource occupancy situation of a application, so as to shift to an earlier date operation maintenance personnel according to the system resource occupancy situation of each application It finds the problem.
Fig. 3 is the flow diagram for implementing a kind of conditional probability table generating method exemplified according to Fig. 1, such as Fig. 3 It is shown, it is obtained using the bayesian network structure described in step 103, and after carrying out sliding-model control to the system resource data It the step of discretization data formation condition probability tables arrived, may comprise steps of:
Step 1031, by total occupancy of the system resource in the preset period of time according to preset m value interval into Row sliding-model control obtains the first discretization data;Wherein, the interval range of the m value interval is incremented by successively.
Exemplary, occupancy total for CPU, the total occupancy of memory, the total occupancy of disk I/O and the total occupancy of network I/O can 5 value intervals are arranged, such as: [0,0.2), (0.2,0.4], (0.4,0.6], (0.6,0.8], (0.8,1].When this is preset In section, the total occupancy of CPU, the total occupancy of memory, the total occupancy of disk I/O and the network I/O that can collect each moment are always accounted for With rate, so as to determine the total occupancy of CPU, the total occupancy of memory, magnetic of each moment acquisition according to above-mentioned value interval Which section the total occupancy of disk IO and the total occupancy of network I/O belong to.
Step 1032, each application in the preset period of time is a according to preset n for the occupancy of system resource Value interval carries out sliding-model control, obtains the second discretization data;Wherein, the interval range of the n value interval is successively passed Increase.
It is similar to the value interval of total occupancy of above-mentioned system resource, multiple values can also be divided between 0-1 Section, can be identical as the value interval divided in step 1031, can also be different.It is exemplary, 3 value areas can be set Between, such as: [0,0.1), (0.1,0.2], (0.2,01].Wherein, the numerical value of above-mentioned value interval is exemplary, including but not It is limited to this.Greater or lesser granularity of division can be set according to actual needs.
Step 1033, it according to the first discretization data, the second discretization data, is united using the Bayesian network Meter, to generate the conditional probability table.
It wherein, include: that this every kind application is located at the n value to the occupancy of the first system resource in the conditional probability table When i-th of value interval in section, be located in the m value interval j-th of total occupancy of the first system resource is taken It is worth the conditional probability in section;Wherein the first system resource is any system resource.
It for example, can be with according to the first above-mentioned discretization data, the second discretization data by taking application sshd as an example Calculate the CPU usage of sshd respectively in [0,0.1), (0.1,0.2], (0.2,01] in these sections when, the CPU of system Total occupancy in [0,0.2), (0.2,0.4], (0.4,0.6], (0.6,0.8], (0.8,1] condition in these sections is general Rate.Similarly, in available system it is each application for CPU (or memory/disk I/O/network I/O) occupancy respectively [0, 0.1), (0.1,0.2], (0.2,01] in these sections when, CPU (or memory/disk I/O/network I/O) total occupancy of system In [0,0.2), (0.2,0.4], (0.4,0.6], (0.6,0.8], (0.8,1] conditional probability in these sections.
Fig. 4 is the flow diagram for implementing a kind of determination method of the resource occupation score exemplified according to Fig. 1, such as Shown in Fig. 4, determine each application to the resource of occupied every kind of system resource according to the conditional probability table described in step 104 The step of occupying score, may comprise steps of:
Step 1041, it according to the conditional probability table, obtains the first application and exists respectively to the occupancy of the first system resource The desired value of the first system resource when n value interval;Wherein first application is any application.
Step 1042, according to this first application the first system resource occupancy respectively in the n value interval this The desired value of the first system resource obtains first application to the resource occupation score of the first system resource.
Wherein, the step 1041 may include:
Firstly, according to the second discretization data acquisition first application to the occupancy of the first system resource in the n The probability distribution of a value interval.
Secondly, determining first application for the first system resource according to the probability distribution in the n value interval The maximum value interval of probability distribution.
Finally, according to first application to the occupancy of the first system resource respectively in the n value interval this The desired value of one system resource and the first application value interval maximum for the probability distribution of the first system resource, Each application is obtained to the resource occupation score of occupied every kind of system resource using resource occupation score calculation formula.
Wherein, which includes:
Wherein, resourcexIndicate system resource x, AiIt indicates to be located at the n for the occupancy of system resource x using A State when i-th of value interval in a value interval, AcIt indicates to be located at the n for the occupancy of system resource x using A State when c-th of value interval in a value interval, c-th of value interval are using A for the general of system resource x Rate is distributed maximum value interval,It indicates to be located at the occupancy of system resource x when using A Desired value when i-th of value interval, E (SYSresource|Ac) indicate when the occupancy position using A for system resource x Desired value when c-th of value interval, y indicate the resource occupation score using A for system resource x.
Wherein, any application is higher to the resource occupation score of a certain system resource, indicates the application to the system resource Occupancy degree it is higher.Therefore, for each system resource, one or more resource occupation scores can be set for each application Threshold value, thus according to each application to the resource occupation score of the system resource and the resource occupation score threshold of setting, really Whether fixed each application is resource-hungry application.For example, resource occupation score threshold 1 and resource occupation score threshold can be set Value 2, wherein resource occupation score threshold 1 is greater than resource occupation score threshold 2, when a certain application is to the resource of a certain system resource When occupying score less than resource occupation score threshold 2, determine that the application is the application of non-resource consumption-type, when the application is to the system The resource occupation score of resource is greater than or equal to resource occupation score threshold 2, and when being less than resource occupation score threshold 1, determining should Using for medium resource-hungry application, when resource occupation score of the application to the system resource is greater than resource occupation score threshold Value 1 determines that the application is high resource-hungry application.
Further, in the conditional probability table further include: this every kind application is located at the n to the occupancy of the first system resource When i-th of value interval in a value interval, other application is located at the n value area to the occupancy of the first system resource Between in k-th of value interval conditional probability;Wherein the first system resource is any system resource.
For example, by taking application sshd and main as an example, in the conditional probability table further include: the CPU usage of sshd point Not in [0,0.1), (0.1,0.2], (0.2,01] in these sections when, the CPU usage of main respectively [0,0.1), (0.1,0.2], (and 0.2,01] conditional probability in these sections of these sections.Similarly, in the conditional probability table further include: Each application for CPU (or memory/disk I/O/network I/O) occupancy respectively in [0,0.1), (0.1,0.2], (0.2,01] this When in several sections, other each applications for CPU (or memory/disk I/O/network I/O) occupancy respectively [0,0.1), (0.1, 0.2], (0.2,01] conditional probability in these sections.
Fig. 5 is the determination method according to the occupation condition of another application shown in one exemplary embodiment of the disclosure Flow chart, as shown in figure 5, this method may include:
Step 106, according to the conditional probability table, the first application is obtained to the occupancy of the first system resource respectively at this When n value interval, desired value of second application about the first system resource;Wherein second application is except first application Outer any application.
Step 107, according to first application to the occupancy of the first system resource respectively in the n value interval, The desired value of second application about the first system resource obtains first application and obtains to the influence degree of second application Point.
The wherein step 107 may include:
According to first application to the occupancy of the first system resource respectively in the n value interval, second answers With about the first system resource desired value and this first application it is maximum for the probability distribution of the first system resource Value interval obtains each application to the resource occupation of occupied every kind of system resource using influence degree score calculation formula Score;
Wherein, which may include:
Wherein, resourcexIndicate system resource x, AiIt indicates to be located at the n for the occupancy of system resource x using A State when i-th of value interval in value interval, BcIt indicates to be located at the n for the occupancy of system resource x using B State when c-th of value interval in value interval, c-th of value interval are the probability point using B for system resource x The maximum value interval of cloth,It indicates to work as and is located at described i-th using occupancy of the A for system resource x When a value interval, desired value using B about system resource x, y indicates the influence degree score using A for application B.
Wherein, any application is higher to the influence degree score of other application, and it is right in the system resource to indicate that this is applied The influence degree of other application is higher.Therefore, it for each system resource, can be influenced for each application setting is one or more Degree score threshold, to determine that each application is to influence according to each application to the influence degree score of other each applications Other application.For example, influence degree score 1 and influence degree score 2 can be set, wherein influence degree score 1 is greater than shadow Degree score 2 is rung, influence degree score is less than about the influence degree score of system resource C to another application B using A when a certain When threshold value 2, this is determined using the B not influence by application A, when the influence degree score is greater than or equal to influence degree score Threshold value 2, be less than influence degree score threshold 1 when, determine this using B by application A influence, influence degree be it is medium, when this Influence degree score is greater than influence degree score threshold 1, determines the influence using B by application A, influence degree is serious.
In the above-mentioned technical proposal that the disclosure provides, by obtaining system resource data first, the system resource data packet Each application in the total occupancy and the preset period of time of the system resource in preset period of time is included for the occupancy of system resource Rate, the system resource include one or more;Secondly, generating Bayesian network, the Bayesian network according to the system resource data Comprising the topological relation between every kind of system resource and application in network, which is used to indicate to use every kind of system resource Using;Then, using bayesian network structure, and the discretization obtained after sliding-model control is carried out to the system resource data Data formation condition probability tables;To determine each application to the money of occupied every kind of system resource according to the conditional probability table Source occupies score, and the resource occupation type of each application is determined according to the resource occupation score of each application.It therefore, can be true The system resource occupancy situation of each application in system is determined, so as to account for operation maintenance personnel according to the system resource of each application It is found the problem in advance with situation.
Fig. 6 is the determining device according to the occupation condition of another application shown in one exemplary embodiment of the disclosure Block diagram, as shown in fig. 6, the device 600 may include:
Data acquisition module 601, for obtaining system resource data, which, which includes in preset period of time, is The total occupancy and occupancy of each application for system resource in the preset period of time for resource of uniting, the system resource packet It includes one or more;
Network struction module 602 is wrapped in the Bayesian network for generating Bayesian network according to the system resource data Containing the topological relation between every kind of system resource and application, which is used to indicate to use answering for this every kind system resource With;
Conditional probability computing module 603 is carried out for utilizing the bayesian network structure, and to the system resource data The discretization data formation condition probability tables obtained after sliding-model control;
First grading module 604, for determining each application to occupied every kind of system according to the conditional probability table The resource occupation score of resource;
Determination type module 605 determines the resource of each application for the resource occupation score according to each application Occupy type.
Fig. 7 is a kind of block diagram of conditional probability computing module shown according to one exemplary embodiment of the disclosure, such as Fig. 7 institute Show, which may include:
Sliding-model control submodule 6031, for by total occupancy of the system resource in the preset period of time according to default M value interval carry out sliding-model control, obtain the first discretization data;Wherein, the interval range of the m value interval according to It is secondary to be incremented by;
Sliding-model control submodule 6031 is also used to each application accounting for for system resource in the preset period of time Sliding-model control is carried out according to preset n value interval with rate, obtains the second discretization data;Wherein, the n value interval Interval range it is incremented by successively;
Probability calculation submodule 6032, for utilizing the shellfish according to the first discretization data, the second discretization data This network of leaf is counted, and includes: that this every kind application provides the first system to generate the conditional probability table, in the conditional probability table When the occupancy in source is located at i-th of value interval in the n value interval, total occupancy of the first system resource is located at should The conditional probability of j-th of value interval in m value interval;Wherein the first system resource is any system resource.
Optionally, Fig. 8 is such as schemed according to the block diagram of the first grading module of one kind shown in one exemplary embodiment of the disclosure Shown in 8, which may include:
It is expected that acquisition submodule 6041, for obtaining the first application to the first system resource according to the conditional probability table Occupancy respectively in the n value interval the first system resource desired value;Wherein first application is any application;
Score acquisition submodule 6042, for according to first application to the occupancy of the first system resource respectively at this The desired value of the first system resource when n value interval obtains first application to the resource occupation of the first system resource Score.
Optionally, the score acquisition submodule 6042, can be used for:
According to the second discretization data acquisition first application to the occupancy of the first system resource in the n value The probability distribution in section;
According to the probability distribution in the n value interval, determine first application for the probability of the first system resource It is distributed maximum value interval;
According to first application to the occupancy of the first system resource the first system in the n value interval respectively The desired value of resource and the first application value interval maximum for the probability distribution of the first system resource, utilize money Source occupies score calculation formula and obtains each application to the resource occupation score of occupied every kind of system resource;
The resource occupation score calculation formula includes:
Wherein, resourcexIndicate system resource x, AiIt indicates to be located at the n for the occupancy of system resource x using A State when i-th of value interval in value interval, AcIndicate that being located at the n for the occupancy of system resource x using A takes It is worth state when c-th of value interval in section, which is using A for the probability distribution of system resource x Maximum value interval,It indicates to be located at the occupancy of system resource x this i-th when using A Desired value when value interval, E (SYSresource|Ac) indicate to be located at the occupancy of system resource x this c-th when using A Desired value when value interval, y indicate the resource occupation score using A for system resource x.
Optionally, in the conditional probability table further include: this every kind application is located at the n to the occupancy of the first system resource When i-th of value interval in value interval, other application is located at the n value interval to the occupancy of the first system resource In k-th of value interval conditional probability;Wherein the first system resource is any system resource;Fig. 9 is according to the disclosure The block diagram of the determining device of the occupation condition of another application shown in one exemplary embodiment, as shown in figure 9, the device 600 can also include:
It is expected that module 606 is obtained, for obtaining the first application and accounting for the first system resource according to the conditional probability table With rate respectively in the n value interval, desired value of second application about the first system resource;Wherein this second application be Any application in addition to first application;
Second grading module 607, for a in the n respectively according to occupancy of first application to the first system resource When value interval, desired value of second application about the first system resource obtains first application to the shadow of second application Ring degree score.
Optionally, second grading module 607, can be used for:
According to first application to the occupancy of the first system resource respectively in the n value interval, second applies It maximum for the probability distribution of the first system resource is taken about the desired value of the first system resource and first application It is worth section, obtains each application using influence degree score calculation formula and the resource occupation of occupied every kind of system resource is obtained Point;
The influence degree score calculation formula includes:
Wherein, resourcexIndicate system resource x, AiIt indicates to be located at the n for the occupancy of system resource x using A State when i-th of value interval in value interval, BcIndicate that being located at the n for the occupancy of system resource x using B takes It is worth state when c-th of value interval in section, which is using B for the probability distribution of system resource x Maximum value interval,This i-th ought be located at for the occupancy of system resource x using A by, which indicating, takes When being worth section, the desired value using B about system resource x, y indicates the influence degree score using A for application B.
Wherein, which includes CPU, memory, disk I/O and/or network I/O, the network struction module 602, can be with For:
According to each application respectively for the occupancy of the CPU, the memory, the disk I/O and/or the network I/O, respectively Determine the application using the CPU, using the memory using, using the application of the disk I/O, and/or answering using the network I/O With.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
In the above-mentioned technical proposal that the disclosure provides, by obtaining system resource data first, the system resource data packet Each application in the total occupancy and the preset period of time of the system resource in preset period of time is included for the occupancy of system resource Rate, the system resource include one or more;Secondly, generating Bayesian network, the Bayesian network according to the system resource data Comprising the topological relation between every kind of system resource and application in network, which is used to indicate to use every kind of system resource Using;Then, using bayesian network structure, and the discretization obtained after sliding-model control is carried out to the system resource data Data formation condition probability tables;To determine each application to the money of occupied every kind of system resource according to the conditional probability table Source occupies score, and the resource occupation type of each application is determined according to the resource occupation score of each application.It therefore, can be true The system resource occupancy situation of each application in system is determined, so as to account for operation maintenance personnel according to the system resource of each application It is found the problem in advance with situation.
Figure 10 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.As shown in Figure 10, which sets Standby 1000 may include: processor 1001, memory 1002.The electronic equipment 1000 can also include multimedia component 1003, One or more of input/output (I/O) interface 1004 and communication component 1005.
Wherein, processor 1001 is used to control the integrated operation of the electronic equipment 1000, to complete the money of above-mentioned application All or part of the steps in the determination method of source occupancy situation.Memory 1002 is for storing various types of data to support In the operation of the electronic equipment 1000, these data for example may include any answering for what is operated on the electronic equipment 1000 With the instruction of program or method and the relevant data of application program, such as contact data, the message of transmitting-receiving, picture, sound Frequently, video etc..The memory 1002 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (Static Random Access Memory, abbreviation SRAM), electric erasable Programmable read only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read-Only Memory, abbreviation EPROM), programmable read only memory (Programmable Read-Only Memory, abbreviation PROM), read-only memory (Read-Only Memory, abbreviation ROM), magnetic memory, flash memory, disk or CD.Multimedia component 703 can wrap Include screen and audio component.Wherein screen for example can be touch screen, and audio component is used for output and/or input audio signal. For example, audio component may include a microphone, microphone is for receiving external audio signal.The received audio signal can To be further stored in memory 1002 or be sent by communication component 1005.Audio component further includes at least one loudspeaking Device is used for output audio signal.I/O interface 1004 provides interface between processor 1001 and other interface modules, it is above-mentioned its His interface module can be keyboard, mouse, button etc..These buttons can be virtual push button or entity button.Communication component 1005 for carrying out wired or wireless communication between the electronic equipment 1000 and other equipment.Wireless communication, such as Wi-Fi, it is blue Tooth, near-field communication (Near Field Communication, abbreviation NFC), 2G, 3G or 4G or they one or more of Combination, therefore the corresponding communication component 1005 may include: Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, electronic equipment 1000 can be by one or more application specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device, Abbreviation DSPD), programmable logic device (Programmable Logic Device, abbreviation PLD), field programmable gate array (Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member Part realization, the determination method of the occupation condition for executing above-mentioned application.
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should The step of determination method of the occupation condition of above-mentioned application is realized when program instruction is executed by processor.For example, the meter Calculation machine readable storage medium storing program for executing can be the above-mentioned memory 1002 including program instruction, and above procedure instruction can be by electronic equipment 1000 processor 1001 is executed to complete the determination method of the occupation condition of above-mentioned application.
Figure 11 is the block diagram of another electronic equipment shown according to an exemplary embodiment.For example, electronic equipment 1100 It may be provided as a server.Referring to Fig.1 1, electronic equipment 1100 includes processor 1122, and quantity can be one or more A and memory 1132, for storing the computer program that can be executed by processor 1122.The meter stored in memory 1132 Calculation machine program may include it is one or more each correspond to one group of instruction module.In addition, processor 1122 can To be configured as executing the computer program, to execute the determination method of the occupation condition of above-mentioned application.
In addition, electronic equipment 1100 can also include power supply module 1126 and communication component 1150, the power supply module 1126 It can be configured as the power management for executing electronic equipment 1100, which can be configured as realization electronic equipment 1100 communication, for example, wired or wireless communication.In addition, the electronic equipment 1100 can also include that input/output (I/O) connects Mouth 1158.Electronic equipment 1100 can be operated based on the operating system for being stored in memory 1132, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM etc..
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should The step of determination method of the occupation condition of above-mentioned application is realized when program instruction is executed by processor.For example, the meter Calculation machine readable storage medium storing program for executing can be the above-mentioned memory 1132 including program instruction, and above procedure instruction can be by electronic equipment 1100 processor 1122 is executed to complete the determination method of the occupation condition of above-mentioned application.
The preferred embodiment of the disclosure is described in detail in conjunction with attached drawing above, still, the disclosure is not limited to above-mentioned reality The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure Monotropic type, these simple variants belong to the protection scope of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance In the case where shield, can be combined in any appropriate way, in order to avoid unnecessary repetition, the disclosure to it is various can No further explanation will be given for the combination of energy.
In addition, any combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally Disclosed thought equally should be considered as disclosure disclosure of that.

Claims (10)

1. a kind of determination method of the occupation condition of application, which is characterized in that the described method includes:
System resource data is obtained, the system resource data includes total occupancy of the system resource in preset period of time, and For the occupancy of system resource, the system resource includes one or more for each application in the preset period of time;
Bayesian network is generated according to the system resource data, includes every kind of system resource and application in the Bayesian network Between topological relation, the topological relation be used for indicates use every kind of system resource application;
Using the bayesian network structure, and the discretization obtained after sliding-model control is carried out to the system resource data Data formation condition probability tables;
Determine each application to the resource occupation score of occupied every kind of system resource according to the conditional probability table;
The resource occupation type of each application is determined according to the resource occupation score of each application.
2. the method according to claim 1, wherein described utilize the bayesian network structure, and to institute It states system resource data and carries out the discretization data formation condition probability tables obtained after sliding-model control, comprising:
Total occupancy of the system resource in the preset period of time is carried out at discretization according to preset m value interval Reason, obtains the first discretization data;Wherein, the interval range of the m value interval is incremented by successively;
By in the preset period of time it is described it is each application for system resource occupancy according to preset n value interval into Row sliding-model control obtains the second discretization data;Wherein, the interval range of the n value interval is incremented by successively;
According to the first discretization data, the second discretization data, counted using the Bayesian network, with life It include: that every kind of application is located at the occupancy of the first system resource at the conditional probability table, in the conditional probability table When i-th of value interval in the n value interval, total occupancy of the first system resource is located at the m value The conditional probability of j-th of value interval in section;Wherein the first system resource is any system resource.
3. according to the method described in claim 2, it is characterized in that, described determined according to the conditional probability table described is each answered With the resource occupation score to occupied every kind of system resource, comprising:
According to the conditional probability table, obtains the first application and the occupancy of the first system resource is taken at the n respectively It is worth the desired value of the first system resource when section;Wherein first application is any application;
According to first application to the occupancy of the first system resource respectively in the n value interval described in first The desired value of system resource obtains first application to the resource occupation score of the first system resource.
4. according to the method described in claim 3, it is characterized in that, described provide the first system according to first application The occupancy in source respectively in the n value interval the first system resource desired value, obtain it is described first application pair The resource occupation score of the first system resource, comprising:
The first application is to the occupancy of the first system resource at the n according to the second discretization data acquisition The probability distribution of value interval;
According to the probability distribution in the n value interval, determine first application for the first system resource The maximum value interval of probability distribution;
According to first application to the occupancy of the first system resource respectively in the n value interval described in first The desired value of system resource and described first is using value area maximum for the probability distribution of the first system resource Between, each application is obtained to the resource occupation score of occupied every kind of system resource using resource occupation score calculation formula;
The resource occupation score calculation formula includes:
Wherein, resourcexIndicate system resource x, AiIndicate that being located at the n for the occupancy of system resource x using A takes It is worth state when i-th of value interval in section, AcIndicate that being located at the n for the occupancy of system resource x using A takes It is worth state when c-th of value interval in section, c-th of value interval is the probability point using A for system resource x The maximum value interval of cloth,Indicate described when being located at using occupancy of the A for system resource x Desired value when i-th of value interval, E (SYSresource|Ac) indicate to work as and A is applied to be located at institute for the occupancy of system resource x Desired value when c-th of value interval is stated, y indicates the resource occupation score using A for system resource x.
5. according to the method described in claim 4, it is characterized in that, in the conditional probability table further include: every kind of application When being located at i-th of value interval in the n value interval to the occupancy of the first system resource, other application is to described The occupancy of one system resource is located at the conditional probability of k-th of value interval in the n value interval;Wherein described first System resource is any system resource;The method also includes:
According to the conditional probability table, obtains the first application and the occupancy of the first system resource is taken at the n respectively When being worth section, desired value of second application about the first system resource;Wherein second application is except described first answers With outer any application;
According to first application to the occupancy of the first system resource respectively in the n value interval, second answers With the desired value about the first system resource, first application is obtained to the influence degree score of second application.
6. according to the method described in claim 5, it is characterized in that, described provide the first system according to first application For the occupancy in source respectively in the n value interval, desired value of second application about the first system resource obtains institute The first application is stated to the influence degree score of second application, comprising:
According to first application to the occupancy of the first system resource respectively in the n value interval, second answers With the desired value and described first about the first system resource using the probability distribution for the first system resource Maximum value interval obtains each application to the money of occupied every kind of system resource using influence degree score calculation formula Source occupies score;
The influence degree score calculation formula includes:
Wherein, resourcexIndicate system resource x, AiIndicate that being located at the n for the occupancy of system resource x using A takes It is worth state when i-th of value interval in section, BcIndicate that being located at the n for the occupancy of system resource x using B takes It is worth state when c-th of value interval in section, c-th of value interval is the probability point using B for system resource x The maximum value interval of cloth,It indicates to work as and is located at described i-th using occupancy of the A for system resource x When a value interval, desired value using B about system resource x, y indicates the influence degree score using A for application B.
7. the method according to claim 1, wherein the system resource include CPU, memory, disk I/O and/or Network I/O, it is described that Bayesian network is generated according to the system resource data, include every kind of system money in the Bayesian network Topological relation between source and application, the topological relation are used to indicate the application using every kind of system resource, comprising:
According to each application respectively for the occupancy of the CPU, the memory, the disk I/O and/or the network I/O Rate, determine respectively the application using the CPU, using the memory using, using the application of the disk I/O, and/or make With the application of the network I/O.
8. a kind of determining device of the occupation condition of application, which is characterized in that described device includes:
Data acquisition module, for obtaining system resource data, the system resource data includes the system money in preset period of time Total occupancy in source and occupancy of each application for system resource in the preset period of time, the system resource packet It includes one or more;
Network struction module is used to generate Bayesian network according to the system resource data, includes in the Bayesian network Topological relation between every kind of system resource and application, the topological relation is for indicating answering using every kind of system resource With;
Conditional probability computing module, for utilize the bayesian network structure, and to the system resource data carry out from The discretization data formation condition probability tables obtained after dispersion processing;
First grading module, for determining each application to occupied every kind of system resource according to the conditional probability table Resource occupation score;
Determination type module, for determining the resource occupation of each application according to the resource occupation score of each application Type.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The step of any one of claim 1-7 the method is realized when processor executes.
10. a kind of electronic equipment characterized by comprising
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize described in any one of claim 1-7 The step of method.
CN201810949218.XA 2018-08-20 2018-08-20 Method and device for determining resource occupation condition of application, storage medium and equipment Active CN109240827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810949218.XA CN109240827B (en) 2018-08-20 2018-08-20 Method and device for determining resource occupation condition of application, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810949218.XA CN109240827B (en) 2018-08-20 2018-08-20 Method and device for determining resource occupation condition of application, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN109240827A true CN109240827A (en) 2019-01-18
CN109240827B CN109240827B (en) 2021-01-15

Family

ID=65070097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810949218.XA Active CN109240827B (en) 2018-08-20 2018-08-20 Method and device for determining resource occupation condition of application, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN109240827B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6901446B2 (en) * 2001-02-28 2005-05-31 Microsoft Corp. System and method for describing and automatically managing resources
US20090328223A1 (en) * 2008-06-26 2009-12-31 Microsoft Corporation Evaluating the effectiveness of a threat model
CN104283717A (en) * 2014-10-24 2015-01-14 东软集团股份有限公司 Method and device for predicting virtual network resource states
CN104794058A (en) * 2015-05-07 2015-07-22 合肥云中信息科技有限公司 Testing method for cloud desktop virtual environment performance
CN106294902A (en) * 2015-05-28 2017-01-04 阿里巴巴集团控股有限公司 Method, device and the electronic equipment of prediction mobile applications page performance
CN107678858A (en) * 2017-09-30 2018-02-09 广东欧珀移动通信有限公司 application processing method, device, storage medium and electronic equipment
CN108255673A (en) * 2017-12-29 2018-07-06 东软集团股份有限公司 Application program occupies detection method, device and the storage medium of resource

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6901446B2 (en) * 2001-02-28 2005-05-31 Microsoft Corp. System and method for describing and automatically managing resources
US20090328223A1 (en) * 2008-06-26 2009-12-31 Microsoft Corporation Evaluating the effectiveness of a threat model
CN104283717A (en) * 2014-10-24 2015-01-14 东软集团股份有限公司 Method and device for predicting virtual network resource states
CN104794058A (en) * 2015-05-07 2015-07-22 合肥云中信息科技有限公司 Testing method for cloud desktop virtual environment performance
CN106294902A (en) * 2015-05-28 2017-01-04 阿里巴巴集团控股有限公司 Method, device and the electronic equipment of prediction mobile applications page performance
CN107678858A (en) * 2017-09-30 2018-02-09 广东欧珀移动通信有限公司 application processing method, device, storage medium and electronic equipment
CN108255673A (en) * 2017-12-29 2018-07-06 东软集团股份有限公司 Application program occupies detection method, device and the storage medium of resource

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡颖等: "时间和能量感知的贝叶斯虚拟网映射", 《通信学报》 *

Also Published As

Publication number Publication date
CN109240827B (en) 2021-01-15

Similar Documents

Publication Publication Date Title
US11544633B2 (en) Method for cleaning up background application, storage medium, and electronic device
US9405573B2 (en) System and method for process run-time prediction
US20180145514A1 (en) Predictive battery charge and discharge analysis
US20170372254A1 (en) Event schedule optimizer system
JP5774783B2 (en) Dynamic optimization of uplink and downlink bandwidth based on calendar data
CN107807852A (en) Application program capacity control method and equipment
CN108306936A (en) User's indicator-specific statistics method and server
CN109240822A (en) The method, apparatus and storage medium and electronic equipment of application program elastic telescopic
CN113032112A (en) Resource scheduling method and device, electronic equipment and storage medium
CN107704317B (en) Intelligent device and application management method thereof and device with storage function
CN110460647B (en) Network node scheduling method and device, electronic equipment and storage medium
US10157356B2 (en) Activity based resource allocation modeling
CN107391564A (en) Data transfer device, device and electronic equipment
CN113938919A (en) Data analysis method and device
CN107169555B (en) Gate prompting method and device, storage medium and terminal
CN113728294B (en) Power consumption control and scheme generation method, device, system and storage medium
JP2019082895A (en) Device to determine time to visit
CN109240827A (en) Determination method, apparatus, storage medium and the equipment of the occupation condition of application
US10726367B2 (en) Resource allocation forecasting
EP3683676A1 (en) Task optimization method and device in mobile robot
CN105335267A (en) Server temperature prediction method, apparatus and system
US11334707B2 (en) Method and an apparatus for displaying information flow, a storage, an electronic device
KR101981628B1 (en) Method and Apparatus for Frame Scheduling Based on Bus Communication
Manolache Schedulability analysis of real-time systems with stochastic task execution times
CN110413706A (en) Data processing method, device, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant