CN110286961A - Process based on physical host processor hangs up method and relevant device - Google Patents

Process based on physical host processor hangs up method and relevant device Download PDF

Info

Publication number
CN110286961A
CN110286961A CN201910569779.1A CN201910569779A CN110286961A CN 110286961 A CN110286961 A CN 110286961A CN 201910569779 A CN201910569779 A CN 201910569779A CN 110286961 A CN110286961 A CN 110286961A
Authority
CN
China
Prior art keywords
cpu
business process
physical host
business
cpu usage
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
CN201910569779.1A
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.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething Technology Co Ltd
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 Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201910569779.1A priority Critical patent/CN110286961A/en
Publication of CN110286961A publication Critical patent/CN110286961A/en
Pending legal-status Critical Current

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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44552Conflict resolution, i.e. enabling coexistence of conflicting executables
    • 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
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • 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/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • G06F9/526Mutual exclusion algorithms

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A kind of process hang-up method based on physical host processor, which comprises obtain the CPU usage of each business process on the processor CPU overall availability and the physical host of physical host;If the CPU overall availability is greater than preset CPU overall availability threshold value, the CPU usage index of the business process is determined according to the corresponding default weight of the business process and the CPU usage for each business process;If the CPU usage index is greater than the corresponding pre-set level threshold value of the business process, determine that the business process is exceeded process;Target process is determined from the exceeded process, and the target process is hung up.The present invention also provides a kind of process hanging-up device, physical host and storage mediums based on physical host processor.The present invention can improve the runnability of the high business process of service priority.

Description

Process based on physical host processor hangs up method and relevant device
Technical field
The present invention relates to field of computer technology more particularly to a kind of process based on physical host processor to hang up method And relevant device.
Background technique
In general, the program (having multiple business process) of multiple processing business is run on physical host, however cpu resource Be limited, each business process can occupy CPU as needed and each business process can not know other business into The case where CPU of journey is occupied, and be will cause multiple business process while being seized cpu resource appearance, so as to cause service priority height Business process robbed by the low business process of service priority and account for cpu resource so that the business process fortune that service priority is high Row degraded performance, or even be unable to run.
As it can be seen that the technology that the runnability for how improving the high business process of service priority is a urgent need to resolve is asked Topic.
Summary of the invention
In view of the foregoing, it is necessary to provide that a kind of process based on physical host processor hangs up method and correlation is set It is standby, it can be improved the runnability of the high business process of service priority.
The first aspect of the present invention provides a kind of process hang-up method based on physical host processor, the method packet It includes:
The CPU for obtaining each business process on the processor CPU overall availability and the physical host of physical host makes With rate;
If the CPU overall availability is greater than preset CPU overall availability threshold value, for each business process, according to The corresponding default weight of business process and the CPU usage, determine the CPU usage index of the business process;
If the CPU usage index be greater than the corresponding pre-set level threshold value of the business process, determine the business into Journey is exceeded process;
Target process is determined from the exceeded process, and the target process is hung up.
In one possible implementation, described to be directed to each business process, it is corresponding according to the business process Default weight and the CPU usage, after the CPU usage index for determining the business process, the method is also wrapped It includes:
Obtain the mark of the business process;
According to the mark of the business process, the CPU usage and the CPU usage index, using preparatory When trained process hang-up model judges that the business process needs to be suspended, the business process is hung up.
In one possible implementation, after the determination business process is exceeded process, the method is also Include:
According to the exceeded process, warning message is generated;
Export the warning message;
It is described to determine that target process includes: from the exceeded process
Receiving process/thread suspension instruction;
The process/thread is hung up into the indicated process/thread of instruction and is determined as target process.
In one possible implementation, after the hang-up by the target process, the method also includes:
According to the first information for the process/thread being suspended, learning sample is generated;
It is trained using the learning sample, model is hung up to the process and is optimized.
In one possible implementation, described to determine that target process includes: from the exceeded process
From the exceeded process, determine that the smallest process of CPU usage index is target process;
The method also includes:
Whether the operation attribute for judging the thread that the target process includes is concurrently to execute;
It is described to include: by target process hang-up
If the operation attribute for the thread that the target process includes is concurrently to execute, any for including by the target process A thread suspension;Or
If the operation attribute for the thread that the target process includes is not concurrently to execute, the target process is hung up.
In one possible implementation, the method also includes:
Obtain current time;
The current time is input to trained process in advance and hangs up model, obtains warning information;
If the warning information is not null value, the warning information is exported.
In one possible implementation, the method also includes:
Every preset time interval, each industry on the CPU overall availability and the physical host of physical host is obtained Second information of business process;
According to the second information of the CPU overall availability and each business process, update on the physical host Virtual tables, wherein the virtual tables are for storing the second of the CPU overall availability and each business process Information.
The second aspect of the present invention provides a kind of process hanging-up device based on physical host processor, described device packet It includes:
Obtain module, each industry on the processor CPU overall availability and the physical host for obtaining physical host The CPU usage of business process;
Determining module, if being greater than preset CPU overall availability threshold value for the CPU overall availability, for each described Business process determines the business process according to the corresponding default weight of the business process and the CPU usage CPU usage index;
The determining module, if being also used to the CPU usage index greater than the corresponding pre-set level of the business process Threshold value determines that the business process is exceeded process;
The determining module is also used to determine target process from the exceeded process;
Suspension module hangs up target process for described.
The third aspect of the present invention provides a kind of physical host, and the physical host includes processor and memory, described Realized when processor is used to execute the computer program stored in the memory it is described based on physical host processor into Journey hangs up method.
The fourth aspect of the present invention provides a kind of computer readable storage medium, deposits on the computer readable storage medium Computer program is contained, the process based on physical host processor is realized when the computer program is executed by processor Hang-up method.
By above technical scheme, in the present invention, the processor CPU overall availability and the object of available physical host Manage the CPU usage of each business process on host;If the CPU overall availability is greater than preset CPU overall availability threshold value, needle The industry is determined according to the corresponding default weight of the business process and the CPU usage to each business process The CPU usage index of business process;If the CPU usage index is greater than the corresponding pre-set level threshold value of the business process, Determine that the business process is exceeded process;Target process is determined from the exceeded process, and the target process is hung up. In the present invention, present physical master is shown when the overall availability of CPU is greater than preset threshold value by the overall availability of monitoring CPU The CPU of machine may be seized by multiple business process, can the weight according to each business process and occupancy, that is, CPU to CPU Utilization rate calculates the CPU usage index of each business process, then selects CPU from exceeded business process (exceeded process) The smallest process of utilization rate index is hung up, i.e., releases the occupied cpu resource of the lower business process of service priority, These cpu resources being released can be used in the business process for making service priority high, and service priority height can be improved Business process runnability.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the stream for the preferred embodiment that a kind of process based on physical host processor disclosed by the invention hangs up method Cheng Tu.
Fig. 2 is disclosed by the invention a kind of pre- without the effect using the process hang-up method based on physical host processor Mapping.
Fig. 3 is that the present invention realizes that the process based on physical host processor hangs up the effect prediction figure of method.
Fig. 4 is a kind of function of the preferred embodiment of process hanging-up device based on physical host processor disclosed by the invention It can module map.
Fig. 5 is that the present invention realizes that the process based on physical host processor hangs up the physical host of the preferred embodiment of method Structural schematic diagram.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying example, the present invention will be described in detail.It should be noted that in the absence of conflict, the embodiment of the present invention and embodiment In feature can be combined with each other.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
The process based on physical host processor of the embodiment of the present invention is hung up method and is applied in physical host, can also be with It applies in physical host and the hardware environment being made up of the server that network and the physical host are attached, by taking Business device and physical host execute jointly.Network includes but is not limited to: wide area network, Metropolitan Area Network (MAN) or local area network.
Wherein, server, which can refer to, to provide the department of computer science of service to equipment (such as electronic equipment) other in network System.If personal computer can externally provide File Transfer Protocol (File Transfer Protocol, abbreviation FTP) clothes Business, can also be server.From narrow scope, server refers exclusively to certain high-performance computers, can externally be mentioned by network For service, for common PC, stability, safety, performance etc. require it is higher, therefore The hardware such as CPU, chipset, memory, disk system, network and common PC are different.
The physical host include it is a kind of can according to the instruction for being previously set or store, it is automatic carry out numerical value calculate with/ Or the electronic equipment of information processing, hardware include but is not limited to microprocessor, specific integrated circuit (ASIC), programmable gate array Arrange (FPGA), digital processing unit (DSP), embedded device etc..
In the present invention, a SDK can be installed in physical host, and (Software Development Kit, software are opened Send out kit), external program only needs to import SDK (integrated SDK module), so that it may the method finished writing in SDK be called to realize It calculates CPU usage index, hang-up process, the CPU usage for obtaining the corresponding process of the program and collects data and generate To the learning sample etc. of model training.
In the present invention, an Agent (agency), the available journey without integrating SDK can be installed in physical host The CPU usage of the corresponding process of sequence, can be managed data, and provides external interface and give other program inquirings its management Data.
Referring to Figure 1, Fig. 1 is that a kind of process based on physical host processor disclosed by the invention hangs up the preferable of method The flow chart of embodiment.Wherein, the sequence of step can change in the flow chart according to different requirements, and certain steps can be with It omits.
S11, physical host obtain each business on the processor CPU overall availability and the physical host of physical host The CPU usage of process.
Wherein, processor (CPU, Central Processing Unit) is one piece of ultra-large integrated circuit, is one The arithmetic core (Core) and control core (Control Unit) of platform computer.Its function is mainly interpretive machine instruction And the data in processing computer software.
Wherein, process refers to the program in computer about the primary operation activity on certain data acquisition system, be system into The basic unit of row Resource Distribution and Schedule is the basic execution entity of program.
In the embodiment of the present invention, the CPU overall availability in linux system can be obtained by top order, it can be by leading Out/proc/pid (process id)/status file statistical information gets the CPU usage of each business process.
As an alternative embodiment, the method also includes:
Every preset time interval, each industry on the CPU overall availability and the physical host of physical host is obtained Second information of business process;
According to the second information of the CPU overall availability and each business process, update on the physical host Virtual tables, wherein the virtual tables are for storing the second of the CPU overall availability and each business process Information.
Wherein, second information includes but is not limited to process id, process title, Business Name, process status and CPU Utilization rate.
Wherein, the virtual tables refer to a kind of data structure, can be used to save data.
In the optional embodiment, can every the time interval set go obtain physical host CPU overall availability And obtain the second information of each business process on physical host;The CPU overall availability and described is managed using Agent Second information can establish virtual tables and save the CPU overall availability and second information or to the virtual tables Preservation data be updated, and provide external interface to other program inquirings.Being deployed in SDK on each business procedure can be with To these data of Agent request.
If S12, the CPU overall availability are greater than preset CPU overall availability threshold value, for each business process, Physical host determines the CPU of the business process according to the corresponding default weight of the business process and the CPU usage Utilization rate index.
Wherein, the weight refers to the significance level of a certain factor or index relative to a certain things.
Wherein, the CPU usage index is an index associated with the weight of business process, for measuring business The current CPU occupancy situation of process.
In the embodiment of the present invention, the CPU overall availability threshold value of physical host, total CPU of physical host can be preset When utilization rate is greater than the CPU overall availability threshold value, determine that current physical host is in overload status, i.e. present physical master The remaining cpu resource of machine is insufficient, and all business process can hardly be assigned to new cpu resource, once there is cpu resource release Out, each business process can seize cpu resource as needed, may cause the low business process of business service priority and seize The cpu resource of the high business process of service priority, so that the runnability of the high business process of service priority is lowly very To being unable to run.Therefore it needs to be managed these business process, to improve the operation of the high business process of service priority Performance.Weight can be set to each business process in advance according to the significance level (service priority) of business process, business is excellent The value of the weight of the high business process of first grade is bigger.By the weight of business process multiplied by the business process from physics master CPU usage on machine, calculated result are the CPU usage index of the business process.For example, currently only having on physical host Two business process of A and B, the weight of A is 0.9, CPU usage 50%, and the weight of B is 0.1, CPU usage 10%, that The CPU usage index that the CPU usage index of A is 45%, B is 1%.
As an alternative embodiment, after step S12, the method also includes:
Obtain the mark of the business process;
According to the mark of the business process, the CPU usage and the CPU usage index, using preparatory When trained process hang-up model judges that the business process needs to be suspended, the business process is hung up.
Wherein, the mark includes Business Name and business process title.
It, can be by the mark of the business process, the CPU usage and described in the optional embodiment CPU usage index is input to trained process in advance and hangs up in model, hangs up model when the process and judges the business When process needs to be suspended, it can export and hang up the instruction of the business process and give the business process corresponding SDK, the SDK After receiving the instruction for hanging up the business process, the business process is hung up.Because the process hang up model be can be with Constantly learnt to optimize according to new sample, judges whether business process needs to be suspended than program according to being arranged in code The Rule of judgment such as metrics-thresholds judge whether business process needs to be suspended more accurate, and can directly export for industry The hang-up of business process instructs, and does not need SDK and requests to send hang-up instruction to Agent, reduces the performance loss of Agent.
If S13, the CPU usage index are greater than the corresponding pre-set level threshold value of the business process, physical host is true The fixed business process is exceeded process.
In the embodiment of the present invention, the metrics-thresholds of each business process can be preset.The index of each business process Threshold value is the index value that the CPU maximum that the business process allows occupies.If the CPU usage index of the business process is greater than The corresponding pre-set level threshold value of the business process, shows that the CPU of the business process has occupied over the business process institute The CPU maximum of permission occupies, i.e., the business process robs the cpu resource for accounting for other business process.Determine that the business process is Exceeded process.
As an alternative embodiment, the determination business process is after exceeded process, the method is also Include:
According to the exceeded process, warning message is generated;
Export the warning message;
It is described to determine that target process includes: from the exceeded process
Receiving process/thread suspension instruction;
The process/thread is hung up into the indicated process/thread of instruction and is determined as target process.
Wherein, the warning message can include but is not limited to the title of business process and suggest hanging up score.
Wherein, the thread refers to that operating system is able to carry out the minimum unit of operation scheduling.It is comprised in process it In, it is the actual operation unit in process.
In the optional embodiment, determine the business process be exceeded process after, SDK can be generated about The warning message of the exceeded process, for example, the warning message generated can be with are as follows: the CPU of present physical host is in overburden State, exceeded process be test1, it is proposed that hang up score be 60 points (full marks 100 divide).Wherein, it is proposed that hang up score height, indicate The CPU usage of the exceeded process is relatively high or the service priority of the exceeded process is relatively low, it is proposed that hanging up score can root It is obtained according to preset computation rule, the CPU usage of process is higher, weight is lower, it is recommended that it is higher to hang up score.How to calculate It is recommended that hanging up score, the present invention is not specifically limited in this embodiment.The warning message can be exported to the interface of physical host, be prompted User's present physical host is in extra-heavy state, shows that score is hung up in the suggestion of exceeded process and exceeded process.User Score can be hung up with reference proposition to determine the process hung up, instruction is hung up according to the process/thread of user's input, by the extension The process/thread for playing instruction instruction is hung up.Instruction hang-up process is manually entered by user or hangs up the line that some process includes Journey.
As an alternative embodiment, after the hang-up by the target process, the method also includes:
According to the first information for the process/thread being suspended, learning sample is generated;
It is trained using the learning sample, model is hung up to the process and is optimized.
Wherein, the first information include but is not limited to the title of the process, Business Name, the process CPU make The time point being suspended with rate, the process/thread, concrete condition that the process is suspended (entire process be suspended or into The thread that journey includes is suspended), if the only thread of hang-up process, will record the quantity for the thread being suspended.
In the optional embodiment, learning sample can be generated according to the first information.The study module of SDK The learning sample can be used to be trained, adjust the process and hang up condition (the various numbers that model hangs up business process According to) range, improve the process and hang up model and judge the accuracy whether business process needs to hang up, thus realization to it is described into The optimization of journey extension pattern drawing.
S14, physical host determine target process from the exceeded process, and the target process is hung up.
In the embodiment of the present invention, SDK can execute the hang-up instruction sended over from Agent, and target process is hung up.
It is disclosed by the invention a kind of without using based on physical host processor please also refer to Fig. 2 and Fig. 3, Fig. 2 The effect prediction figure of process hang-up method;Fig. 3 is that the present invention realizes that the process based on physical host processor hangs up the effect of method Fruit prognostic chart;As shown in Fig. 2, no matter the remaining cpu resource of physical host is more or few, the low business process of service priority The cpu resource of occupancy is constant, i.e., as the remaining cpu resource of the physical host is fewer and fewer, the high business of service priority Cpu resource obtained by process is also fewer and fewer, may cause the high business process of service priority because cannot obtain enough Cpu resource and runnability lowly even be unable to run.When used it is of the invention realize based on physical host processor After process hang-up method, as described in Figure 3, when the remaining cpu resource of physical host tails off, business that can be low by service priority Process is hung up, the low occupied cpu resource of business process of release service priority, so that the business process that service priority is high The cpu resource that this part is released can be obtained, to improve the runnability of the high business process of service priority.
Specifically, described determine that target process includes: from the exceeded process
From the exceeded process, determine that the smallest process of CPU usage index is target process;
The method also includes:
Whether the operation attribute for judging the thread that the target process includes is concurrently to execute;
It is described to include: by target process hang-up
If the operation attribute for the thread that the target process includes is concurrently to execute, any for including by the target process A thread suspension;Or
If the operation attribute for the thread that the target process includes is not concurrently to execute, the target process is hung up.
In the optional embodiment, it can determine that the smallest process of CPU usage index is mesh from exceeded process Mark process, for CPU usage index with weight correlation, it is minimum that the smallest process of CPU usage index is generally service priority The business priority of process, i.e., the described target process is relatively low, it may be possible to minimum.Can the target process hang up, release The cpu resource that the target process occupies uses, it is ensured that the high business process of service priority can be obtained to other business process Enough to cpu resource, the runnability of the high business process of service priority can be improved.It is hung up to the target process Before, it can be determined that whether the operation attribute for the thread that the target process includes is concurrently to execute, if the target process packet The operation attribute of the thread included be concurrently execute, any one thread suspension for including by the target process, such as: if some into Journey is for sending one piece of data, and the thread which includes all is a part for sending this segment data, and what is done is same Part thing, then the operation attribute for the thread that the process includes is concurrently to execute, any one thread that can include by the process It hangs up, which can work on, but the cpu resource that the process occupies is few, while the process can be allowed to work on Mitigate system load.Optionally, if the operation attribute for the thread that the target process includes is not concurrently to execute, by the target Process is hung up.
As an alternative embodiment, the method also includes:
Obtain current time;
The current time is input to trained process in advance and hangs up model, obtains warning information;
If the warning information is not null value, the warning information is exported.
In the optional embodiment, the available current time, the current time is input to and is trained in advance Process hang up model, i.e., using the process hang up model monitoring current time, if current time be pre-warning time within the scope of, Wherein, pre-warning time range be can be pre-set, for example, early warning in 15 minutes in advance, can export warning information.For example, if Process A needs are hung up in 6:00, export warning information in 5:45, prompt user's physical host that can need in 6:00 overburden Process A is hung up.For physical host overburden, it can give warning in advance, user is allowed to handle in time, avoid physics On host the high business process of service priority because physical host overburden and runnability is low.
In the method flow described in Fig. 1, the processor CPU overall availability and the object of available physical host Manage the CPU usage of each business process on host;If the CPU overall availability is greater than preset CPU overall availability threshold value, needle The industry is determined according to the corresponding default weight of the business process and the CPU usage to each business process The CPU usage index of business process;If the CPU usage index is greater than the corresponding pre-set level threshold value of the business process, Determine that the business process is exceeded process;Target process is determined from the exceeded process, and the target process is hung up. In the present invention, present physical master is shown when the overall availability of CPU is greater than preset threshold value by the overall availability of monitoring CPU The CPU of machine may be seized by multiple business process, can the weight according to each business process and occupancy, that is, CPU to CPU Utilization rate calculates the CPU usage index of each business process, then selects CPU from exceeded business process (exceeded process) The smallest process of utilization rate index is hung up, i.e., releases the occupied cpu resource of the lower business process of service priority, These cpu resources being released can be used in the business process for making service priority high, and service priority height can be improved Business process runnability.
The above is only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, for For those skilled in the art, without departing from the concept of the premise of the invention, improvement, but these can also be made It all belongs to the scope of protection of the present invention.
Fig. 4 is referred to, Fig. 4 is a kind of the preferable of process hanging-up device based on physical host processor disclosed by the invention The functional block diagram of embodiment.
In some embodiments, the process hanging-up device based on physical host processor is run in physical host. The process hanging-up device based on physical host processor may include multiple functional modules as composed by program code segments. The program code of each program segment in the process hanging-up device based on physical host processor can store in memory In, and as performed by least one processor, method is hung up to execute the process described in Fig. 1 based on physical host processor In some or all of step.
In the present embodiment, the function based on the process hanging-up device of physical host processor according to performed by it can To be divided into multiple functional modules.The functional module may include: to obtain module 201, determining module 202 and hang-up mould Block 203.The so-called module of the present invention refers to that one kind performed by least one processor and can complete fixed function Series of computation machine program segment, storage in memory.It in some embodiments, will be subsequent about the function of each module Embodiment in be described in detail.
Every preset time interval, each industry on the CPU overall availability and the physical host of physical host is obtained Second information of business process;
According to the second information of the CPU overall availability and each business process, update on the physical host Virtual tables, wherein the virtual tables are for storing the second of the CPU overall availability and each business process Information.
The second aspect of the present invention provides a kind of process hanging-up device based on physical host processor, described device packet It includes:
Module 201 is obtained, it is each on the processor CPU overall availability and the physical host for obtaining physical host The CPU usage of business process;
Wherein, processor (CPU, Central Processing Unit) is one piece of ultra-large integrated circuit, is one The arithmetic core (Core) and control core (Control Unit) of platform computer.Its function is mainly interpretive machine instruction And the data in processing computer software.
Wherein, process refers to the program in computer about the primary operation activity on certain data acquisition system, be system into The basic unit of row Resource Distribution and Schedule is the basic execution entity of program.
In the embodiment of the present invention, the CPU overall availability in linux system can be obtained by top order, it can be by leading Out/proc/pid (process id)/status file statistical information gets the CPU usage of each business process.
Determining module 202, if being greater than preset CPU overall availability threshold value for the CPU overall availability, for each institute Business process is stated, according to the corresponding default weight of the business process and the CPU usage, determines the business process CPU usage index;
Wherein, the weight refers to the significance level of a certain factor or index relative to a certain things.
Wherein, the CPU usage index is an index associated with the weight of business process, for measuring business The current CPU occupancy situation of process.
In the embodiment of the present invention, the CPU overall availability threshold value of physical host, total CPU of physical host can be preset When utilization rate is greater than the CPU overall availability threshold value, determine that current physical host is in overload status, i.e. present physical master The remaining cpu resource of machine is insufficient, and all business process can hardly be assigned to new cpu resource, once there is cpu resource release Out, each business process can seize cpu resource as needed, may cause the low business process of business service priority and seize The cpu resource of the high business process of service priority, so that the runnability of the high business process of service priority is lowly very To being unable to run.Therefore it needs to be managed these business process, to improve the operation of the high business process of service priority Performance.Weight can be set to each business process in advance according to the significance level (service priority) of business process, business is excellent The value of the weight of the high business process of first grade is bigger.By the weight of business process multiplied by the business process from physics master CPU usage on machine, calculated result are the CPU usage index of the business process.For example, currently only having on physical host Two business process of A and B, the weight of A is 0.9, CPU usage 50%, and the weight of B is 0.1, CPU usage 10%, that The CPU usage index that the CPU usage index of A is 45%, B is 1%.
The determining module 202, if being also used to the CPU usage index greater than the corresponding default finger of the business process Threshold value is marked, determines that the business process is exceeded process;
In the embodiment of the present invention, the metrics-thresholds of each business process can be preset.The index of each business process Threshold value is the index value that the CPU maximum that the business process allows occupies.If the CPU usage index of the business process is greater than The corresponding pre-set level threshold value of the business process, shows that the CPU of the business process has occupied over the business process institute The CPU maximum of permission occupies, i.e., the business process robs the cpu resource for accounting for other business process.Determine that the business process is Exceeded process.
The determining module 202 is also used to determine target process from the exceeded process.
Suspension module 203, for hanging up the target process.
In the embodiment of the present invention, SDK can execute the hang-up instruction sended over from Agent, and target process is hung up.
It is disclosed by the invention a kind of without using based on physical host processor please also refer to Fig. 2 and Fig. 3, Fig. 2 The effect prediction figure of process hang-up method;Fig. 3 is that the present invention realizes that the process based on physical host processor hangs up the effect of method Fruit prognostic chart;As shown in Fig. 2, no matter the remaining cpu resource of physical host is more or few, the low business process of service priority The cpu resource of occupancy is constant, i.e., as the remaining cpu resource of the physical host is fewer and fewer, the high business of service priority Cpu resource obtained by process is also fewer and fewer, may cause the high business process of service priority because cannot obtain enough Cpu resource and runnability lowly even be unable to run.When used it is of the invention realize based on physical host processor After process hang-up method, as described in Figure 3, when the remaining cpu resource of physical host tails off, business that can be low by service priority Process is hung up, the low occupied cpu resource of business process of release service priority, so that the business process that service priority is high Enough cpu resources can be obtained, to improve the runnability of the high business process of service priority.
As an alternative embodiment, the acquisition module 201, is also used to the determining module 202 for each The business process determines the business process according to the corresponding default weight of the business process and the CPU usage CPU usage index after, obtain the mark of the business process;
The suspension module 203 is also used to the mark according to the business process, the CPU usage and the CPU Utilization rate index will be described when using trained process hang-up model judges that the business process needs to be suspended in advance Business process is hung up.
Wherein, the mark includes Business Name and business process title.
It, can be by the mark of the business process, the CPU usage and described in the optional embodiment CPU usage index is input to trained process in advance and hangs up in model, hangs up model when the process and judges the business When process needs to be suspended, it can export and hang up the instruction of the business process and give the business process corresponding SDK, the SDK After receiving the instruction for hanging up the business process, the business process is hung up.Because the process hang up model be can be with Constantly learnt to optimize according to new sample, judges whether business process needs to be suspended than program according to being arranged in code The Rule of judgment such as metrics-thresholds judge whether business process needs to be suspended more accurate, and can directly export for industry The hang-up of business process instructs, and does not need SDK and requests to send hang-up instruction to Agent, reduces the performance loss of Agent.
As an alternative embodiment, the process hanging-up device based on physical host processor can also wrap It includes:
Generation module determines the business process for the determining module 202 to surpass after exceeded process according to described Mark process generates warning message;
First output module, for exporting the warning message;
The determining module 202 determines the mode of target process from the exceeded process specifically:
Receiving process/thread suspension instruction;
The process/thread is hung up into the indicated process/thread of instruction and is determined as target process.
Wherein, the warning message can include but is not limited to the title of business process and suggest hanging up score.
Wherein, the thread refers to that operating system is able to carry out the minimum unit of operation scheduling.It is comprised in process it In, it is the actual operation unit in process.
In the optional embodiment, determine the business process be exceeded process after, SDK can be generated about The warning message of the exceeded process, for example, the warning message generated can be with are as follows: the CPU of present physical host is in overburden State, exceeded process be test1, it is proposed that hang up score be 60 points (full marks 100 divide).Wherein, it is proposed that hang up score height, indicate The CPU usage of the exceeded process is relatively high or the service priority of the exceeded process is relatively low, it is proposed that hanging up score can root It is obtained according to preset computation rule, it is proposed that hanging up score can show that the CPU usage of process is got over according to preset computation rule Height, weight are lower, it is recommended that it is higher to hang up score.How to calculate suggestion and hang up score, the present invention is not specifically limited in this embodiment.Institute Stating warning message can export to the interface of physical host, and user's present physical host is prompted to be in extra-heavy state, show Score is hung up in the suggestion of exceeded process and exceeded process.User can determine the process of hang-up with reference proposition hang-up score, Instruction is hung up according to the process/thread of user's input, the process/thread for hanging up instruction instruction is hung up.I.e. by user people Work hangs up process or hangs up the thread that some process includes.
As an alternative embodiment, the generation module, be also used to the suspension module 203 by the target into After journey is hung up, according to the first information for the process/thread being suspended, learning sample is generated;
The process hanging-up device based on physical host processor can also include:
Training module is hung up model to the process and optimized for being trained using the learning sample.
Wherein, the first information include but is not limited to the title of the process, Business Name, the process CPU make The time point being suspended with rate, the process/thread, concrete condition that the process is suspended (entire process be suspended or into The thread that journey includes is suspended), if the only thread of hang-up process, will record the quantity for the thread being suspended.
In the optional embodiment, learning sample can be generated according to the first information.The study module of SDK The learning sample can be used to be trained, adjust the process and hang up condition (the various numbers that model hangs up business process According to) range, improve the process and hang up model and judge the accuracy whether business process needs to hang up, thus realization to it is described into The optimization of journey extension pattern drawing.
As an alternative embodiment, the determining module 202 determines target process from the exceeded process Mode specifically:
From the exceeded process, determine that the smallest process of CPU usage index is target process;
The process hanging-up device based on physical host processor can also include:
Judgment module, for judging whether the operation attribute of thread that the target process includes is concurrently to execute;
The mode that the suspension module 203 hangs up the target process specifically:
If the operation attribute for the thread that the target process includes is concurrently to execute, any for including by the target process A thread suspension;Or
If the operation attribute for the thread that the target process includes is not concurrently to execute, the target process is hung up.
In the optional embodiment, it can determine that the smallest process of CPU usage index is mesh from exceeded process Mark process, for CPU usage index with weight correlation, it is minimum that the smallest process of CPU usage index is generally service priority The business priority of process, i.e., the described target process is relatively low, it may be possible to minimum.Can the target process hang up, release The cpu resource that the target process occupies uses, it is ensured that the high business process of service priority can be obtained to other business process Enough to cpu resource, the runnability of the high business process of service priority can be improved.It is hung up to the target process Before, it can be determined that whether the operation attribute for the thread that the target process includes is concurrently to execute, if the target process packet The operation attribute of the thread included be concurrently execute, any one thread suspension for including by the target process, such as: if some into Journey be for sending one piece of data, the thread which includes all be for and meanwhile send a part of this segment data, then should The operation attribute for the thread that process includes is concurrently to execute, any one thread suspension that can include by the process, which can To work on, but the cpu resource that the process occupies is few, and the process can be allowed to mitigate system load while working on. Optionally, if the operation attribute for the thread that the target process includes is not concurrently to execute, the target process is hung up.
As an alternative embodiment, the acquisition module 201, is also used to obtain current time;
The process hanging-up device based on physical host processor can also include:
Input module hangs up model for the current time to be input to trained process in advance, obtains early warning letter Breath;
Second output module exports the warning information if not being null value for the warning information.
In the optional embodiment, the available current time, the current time is input to and is trained in advance Process hang up model, i.e., using the process hang up model monitoring current time, if current time be pre-warning time within the scope of, Warning information can be exported.For example, exporting warning information if process A needs are hung up in 6:00 in 5:45, prompting user's physics Host can need to hang up process A in 6:00 overburden.For physical host overburden, it can give warning in advance, allow User is handled in time, avoids service priority is high on physical host business process because of physical host overburden and runnability Lowly.
As an alternative embodiment, the acquisition module 201, is also used to obtain every preset time interval Second information of each business process on the CPU overall availability and the physical host of physical host;
The process hanging-up device based on physical host processor can also include:
Update module updates institute for the second information according to the CPU overall availability and each business process State the virtual tables on physical host, wherein the virtual tables are for storing the CPU overall availability and each industry Second information of business process.
Wherein, second information includes but is not limited to process id, process title, Business Name, process status and CPU Utilization rate.
Wherein, the virtual tables refer to a kind of data structure, can be used to save data.
In the optional embodiment, can every the time interval set go obtain physical host CPU overall availability And obtain the second information of each business process on physical host;The CPU overall availability and described is managed using Agent Second information can establish virtual tables and save the CPU overall availability and second information or to the virtual tables Preservation data be updated, and provide external interface to other program inquirings.
In the process hanging-up device based on physical host processor described in Fig. 4, the place of available physical host Manage the CPU usage of each business process on device CPU overall availability and the physical host;If the CPU overall availability is big In preset CPU overall availability threshold value, for each business process, according to the corresponding default weight of the business process with And the CPU usage, determine the CPU usage index of the business process;If the CPU usage index is greater than the industry The corresponding pre-set level threshold value of business process determines that the business process is exceeded process;Target is determined from the exceeded process Process, and the target process is hung up.In the present invention, by the overall availability of monitoring CPU, when the overall availability of CPU is greater than When preset threshold value, show that the CPU of present physical host may be seized by multiple business process, it can be according to each business process Weight and occupancy, that is, CPU usage to CPU, calculate the CPU usage index of each business process, then from exceeded industry The smallest process of selection CPU usage index is hung up in business process (exceeded process), i.e., by the lower business of service priority into The occupied cpu resource of journey releases, these CPU being released can be used in the business process for making service priority high The runnability of the high business process of service priority can be improved in resource.
As shown in figure 5, Fig. 5 is that the present invention realizes that the process based on physical host processor hangs up the preferred embodiment of method Physical host structural schematic diagram.The physical host 3 include memory 31, at least one processor 32, be stored in it is described In memory 31 and the computer program 33 and at least one communication bus 34 that can be run at least one described processor 32.
It will be understood by those skilled in the art that schematic diagram shown in fig. 5 is only the example of the physical host 3, not The restriction to the physical host 3 is constituted, may include components more more or fewer than diagram, or combine certain components, or The different component of person, such as the physical host 3 can also include input-output equipment, network access equipment etc..
Network locating for the physical host 3 include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially With network (Virtual Private Network, VPN) etc..
At least one described processor 32 can be central processing unit (Central Processing Unit, CPU), It can also be other general processors, digital signal processor (Digital Signal Processor, DSP), dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..The processor 32 can be microprocessor or the processor 32 is also possible to any conventional processor Deng the processor 32 is the control centre of the physical host 3, utilizes various interfaces and the entire physical host 3 of connection Various pieces.
The memory 31 can be used for storing the computer program 33 and/or module/unit, and the processor 32 passes through Operation executes the computer program and/or module/unit being stored in the memory 31, and calls and be stored in memory Data in 31 realize the various functions of the physical host 3.The memory 31 can mainly include storing program area and storage Data field, wherein storing program area can application program needed for storage program area, at least one function (for example sound plays Function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (such as sound according to physical host 3 Frequency evidence, phone directory etc.) etc..In addition, memory 31 may include high-speed random access memory, it can also include non-volatile Memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other Volatile solid-state part.
In conjunction with Fig. 1, it is a kind of based on physics master to realize that the memory 31 in the physical host 3 stores multiple instruction The process of machine processor hangs up method, and the multiple instruction can be performed to realize in the processor 32:
The CPU for obtaining each business process on the processor CPU overall availability and the physical host of physical host makes With rate;
If the CPU overall availability is greater than preset CPU overall availability threshold value, for each business process, according to The corresponding default weight of business process and the CPU usage, determine the CPU usage index of the business process;
If the CPU usage index be greater than the corresponding pre-set level threshold value of the business process, determine the business into Journey is exceeded process;
Target process is determined from the exceeded process, and the target process is hung up.
It is described to be directed to each business process in a kind of optional embodiment, it is corresponding according to the business process Default weight and the CPU usage, after the CPU usage index for determining the business process, the processor 32 The multiple instruction can be performed to realize:
Obtain the mark of the business process;
According to the mark of the business process, the CPU usage and the CPU usage index, using preparatory When trained process hang-up model judges that the business process needs to be suspended, the business process is hung up.
In a kind of optional embodiment, the determination business process is the processor after exceeded process 32 can be performed the multiple instruction to realize:
According to the exceeded process, warning message is generated;
Export the warning message;
It is described to determine that target process includes: from the exceeded process
Receiving process/thread suspension instruction;
The process/thread is hung up into the indicated process/thread of instruction and is determined as target process.
In a kind of optional embodiment, after the hang-up by the target process, the processor 32 is executable The multiple instruction is to realize:
According to the first information for the process/thread being suspended, learning sample is generated;
It is trained using the learning sample, model is hung up to the process and is optimized.
It is described to determine that target process includes: from the exceeded process in a kind of optional embodiment
From the exceeded process, determine that the smallest process of CPU usage index is target process;
The method also includes:
Whether the operation attribute for judging the thread that the target process includes is concurrently to execute;
It is described to include: by target process hang-up
If the operation attribute for the thread that the target process includes is concurrently to execute, any for including by the target process A thread suspension;Or
If the operation attribute for the thread that the target process includes is not concurrently to execute, the target process is hung up.
In a kind of optional embodiment, the multiple instruction is can be performed to realize in the processor 32:
Obtain current time;
The current time is input to trained process in advance and hangs up model, obtains warning information;
If the warning information is not null value, the warning information is exported.
In a kind of optional embodiment, the multiple instruction is can be performed to realize in the processor 32:
Every preset time interval, each industry on the CPU overall availability and the physical host of physical host is obtained Second information of business process;
According to the second information of the CPU overall availability and each business process, update on the physical host Virtual tables, wherein the virtual tables are for storing the second of the CPU overall availability and each business process Information.
Specifically, the processor 32 can refer to the concrete methods of realizing of above-metioned instruction related in Fig. 1 corresponding embodiment The description of step, this will not be repeated here.
In the physical host 3 described in Fig. 5, the processor CPU overall availability of available physical host and described The CPU usage of each business process on physical host;If the CPU overall availability is greater than preset CPU overall availability threshold value, For each business process, according to the corresponding default weight of the business process and the CPU usage, determine described in The CPU usage index of business process;If the CPU usage index is greater than the corresponding pre-set level threshold of the business process Value determines that the business process is exceeded process;Target process is determined from the exceeded process, and the target process is hung It rises.In the present invention, current object is shown when the overall availability of CPU is greater than preset threshold value by the overall availability of monitoring CPU The CPU of reason host may be seized by multiple business process, can the weight according to each business process and the occupancy to CPU be CPU usage calculates the CPU usage index of each business process, then the selection from exceeded business process (exceeded process) The smallest process of CPU usage index is hung up, i.e., releases the occupied cpu resource of the lower business process of service priority Come, these cpu resources being released can be used in the business process for making service priority high, and service priority can be improved The runnability of high business process.
If the integrated module/unit of the physical host 3 is realized in the form of SFU software functional unit and as independent Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention is real All or part of the process in existing above-described embodiment method, can also instruct relevant hardware come complete by computer program At the computer program can be stored in a computer readable storage medium, which is being executed by processor When, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, described Computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..The meter Calculation machine readable medium may include: can carry the computer program code any entity or device, recording medium, USB flash disk, Mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory Device (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate It is that the content that the computer-readable medium includes can be fitted according to the requirement made laws in jurisdiction with patent practice When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier wave letter Number and telecommunication signal.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module It divides, only a kind of logical function partition, there may be another division manner in actual implementation.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the present invention.Any attached associated diagram label in claim should not be considered as right involved in limitation to want It asks.Furthermore, it is to be understood that one word of " comprising " does not exclude other units or steps, odd number is not excluded for plural number.It is stated in system claims Multiple units or device can also be implemented through software or hardware by a unit or device.Second equal words are used to table Show title, and does not indicate any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. a kind of process based on physical host processor hangs up method, which is characterized in that the described method includes:
Obtain the CPU usage of each business process on the processor CPU overall availability and the physical host of physical host;
If the CPU overall availability is greater than preset CPU overall availability threshold value, for each business process, according to described The corresponding default weight of business process and the CPU usage, determine the CPU usage index of the business process;
If the CPU usage index is greater than the corresponding pre-set level threshold value of the business process, determine that the business process is Exceeded process;
Target process is determined from the exceeded process, and the target process is hung up.
2. the method according to claim 1, wherein described be directed to each business process, according to the industry The corresponding default weight of business process and the CPU usage, after the CPU usage index for determining the business process, institute State method further include:
Obtain the mark of the business process;
According to the mark of the business process, the CPU usage and the CPU usage index, training in advance is being used When good process hang-up model judges that the business process needs to be suspended, the business process is hung up.
3. according to the method described in claim 2, it is characterized in that, the determination business process be exceeded process after, The method also includes:
According to the exceeded process, warning message is generated;
Export the warning message;
It is described to determine that target process includes: from the exceeded process
Receiving process/thread suspension instruction;
The process/thread is hung up into the indicated process/thread of instruction and is determined as target process.
4. according to the method described in claim 3, it is characterized in that, it is described by the target process hang up after, the method Further include:
According to the first information for the process/thread being suspended, learning sample is generated;
It is trained using the learning sample, model is hung up to the process and is optimized.
5. the method according to claim 1, wherein described determine target process packet from the exceeded process It includes:
From the exceeded process, determine that the smallest process of CPU usage index is target process;
The method also includes:
Whether the operation attribute for judging the thread that the target process includes is concurrently to execute;
It is described to include: by target process hang-up
If the operation attribute for the thread that the target process includes is concurrently to execute, any one line for including by the target process Journey is hung up;Or
If the operation attribute for the thread that the target process includes is not concurrently to execute, the target process is hung up.
6. the method according to any one of claims 1 to 5, which is characterized in that the method also includes:
Obtain current time;
The current time is input to process trained in advance and hangs up model, obtains warning information;
If the warning information is not null value, the warning information is exported.
7. the method according to any one of claims 1 to 5, which is characterized in that the method also includes:
Every preset time interval, obtain on the CPU overall availability and the physical host of physical host each business into Second information of journey;
According to the second information of the CPU overall availability and each business process, the void on the physical host is updated Quasi- table, wherein the virtual tables are used to store the second letter of the CPU overall availability and each business process Breath.
8. a kind of process hanging-up device based on physical host processor, which is characterized in that described to be based on physical host processor Process hanging-up device include:
Obtain module, on the processor CPU overall availability and the physical host for obtaining physical host each business into The CPU usage of journey;
Determining module, if being greater than preset CPU overall availability threshold value for the CPU overall availability, for each business Process determines that the CPU of the business process makes according to the corresponding default weight of the business process and the CPU usage With rate index;
The determining module, if being also used to the CPU usage index is greater than the corresponding pre-set level threshold value of the business process, Determine that the business process is exceeded process;
The determining module is also used to determine target process from the exceeded process;
Suspension module, for hanging up the target process.
9. a kind of physical host, which is characterized in that the physical host includes processor and memory, and the processor is for holding The computer program stored in line storage is to realize as claimed in any of claims 1 to 7 in one of claims based at physical host The process for managing device hangs up method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has at least one Instruction, at least one described instruction are realized as claimed in any one of claims 1 to 7 based on physics master when being executed by processor The process of machine processor hangs up method.
CN201910569779.1A 2019-06-27 2019-06-27 Process based on physical host processor hangs up method and relevant device Pending CN110286961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910569779.1A CN110286961A (en) 2019-06-27 2019-06-27 Process based on physical host processor hangs up method and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910569779.1A CN110286961A (en) 2019-06-27 2019-06-27 Process based on physical host processor hangs up method and relevant device

Publications (1)

Publication Number Publication Date
CN110286961A true CN110286961A (en) 2019-09-27

Family

ID=68019966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910569779.1A Pending CN110286961A (en) 2019-06-27 2019-06-27 Process based on physical host processor hangs up method and relevant device

Country Status (1)

Country Link
CN (1) CN110286961A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070634A (en) * 2021-11-22 2022-02-18 安天科技集团股份有限公司 SMTP (simple message transfer protocol) -based secret stealing behavior detection method and device and electronic equipment
CN116028204A (en) * 2022-05-16 2023-04-28 荣耀终端有限公司 Process management and control method and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257481A (en) * 2008-12-23 2011-11-23 思杰系统有限公司 Systems and methods for controlling, by a hypervisor, access to physical resources
CN102946486A (en) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 Background application automatic clearing method based on mobile phone and mobile phone
CN105528052A (en) * 2015-12-09 2016-04-27 上海斐讯数据通信技术有限公司 Electronic equipment power consumption reduction method and device and electronic equipment with display screen
CN105589546A (en) * 2015-12-21 2016-05-18 北京金山安全软件有限公司 Information detection method and device
CN105955826A (en) * 2016-05-10 2016-09-21 广东睿江云计算股份有限公司 Control method and device of quality of service in cloud host system
CN107145389A (en) * 2017-03-09 2017-09-08 深圳市先河系统技术有限公司 A kind of system process monitoring method and computing device
CN107450984A (en) * 2017-07-25 2017-12-08 广东欧珀移动通信有限公司 Method for scheduling task, device, storage medium and electronic equipment
CN107526637A (en) * 2017-08-01 2017-12-29 广东欧珀移动通信有限公司 Applied program processing method, device, mobile terminal and storage medium
CN107885544A (en) * 2017-10-31 2018-04-06 广东欧珀移动通信有限公司 Application program management-control method, device, medium and electronic equipment
CN109324878A (en) * 2018-09-20 2019-02-12 郑州云海信息技术有限公司 A kind of control method and relevant device of process CPU usage

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257481A (en) * 2008-12-23 2011-11-23 思杰系统有限公司 Systems and methods for controlling, by a hypervisor, access to physical resources
CN102946486A (en) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 Background application automatic clearing method based on mobile phone and mobile phone
CN105528052A (en) * 2015-12-09 2016-04-27 上海斐讯数据通信技术有限公司 Electronic equipment power consumption reduction method and device and electronic equipment with display screen
CN105589546A (en) * 2015-12-21 2016-05-18 北京金山安全软件有限公司 Information detection method and device
CN105955826A (en) * 2016-05-10 2016-09-21 广东睿江云计算股份有限公司 Control method and device of quality of service in cloud host system
CN107145389A (en) * 2017-03-09 2017-09-08 深圳市先河系统技术有限公司 A kind of system process monitoring method and computing device
CN107450984A (en) * 2017-07-25 2017-12-08 广东欧珀移动通信有限公司 Method for scheduling task, device, storage medium and electronic equipment
CN107526637A (en) * 2017-08-01 2017-12-29 广东欧珀移动通信有限公司 Applied program processing method, device, mobile terminal and storage medium
CN107885544A (en) * 2017-10-31 2018-04-06 广东欧珀移动通信有限公司 Application program management-control method, device, medium and electronic equipment
CN109324878A (en) * 2018-09-20 2019-02-12 郑州云海信息技术有限公司 A kind of control method and relevant device of process CPU usage

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070634A (en) * 2021-11-22 2022-02-18 安天科技集团股份有限公司 SMTP (simple message transfer protocol) -based secret stealing behavior detection method and device and electronic equipment
CN114070634B (en) * 2021-11-22 2024-02-27 安天科技集团股份有限公司 SMTP protocol-based secret stealing behavior detection method and device and electronic equipment
CN116028204A (en) * 2022-05-16 2023-04-28 荣耀终端有限公司 Process management and control method and electronic equipment
CN116028204B (en) * 2022-05-16 2023-10-20 荣耀终端有限公司 Process management and control method and electronic equipment

Similar Documents

Publication Publication Date Title
US20200287961A1 (en) Balancing resources in distributed computing environments
CN112153700B (en) Network slice resource management method and equipment
CN107239336B (en) Method and device for realizing task scheduling
US20140143773A1 (en) Method and system for running a virtual appliance
CN110163474A (en) A kind of method and apparatus of task distribution
CN106385329B (en) Processing method, device and the equipment of resource pool
CN108667859A (en) A kind of method and device for realizing scheduling of resource
CN110275760A (en) Process based on fictitious host computer processor hangs up method and its relevant device
CN101595456A (en) The method and system that is used for transaction resource control
CN103473115B (en) virtual machine placement method and device
CN111124687B (en) CPU resource reservation method, device and related equipment
CN109471725A (en) Resource allocation methods, device and server
CN111143039B (en) Scheduling method and device of virtual machine and computer storage medium
CN109522090A (en) Resource regulating method and device
CN107918558A (en) Business Process Control method, apparatus and equipment based on state machine
CN106878042A (en) Container resource regulating method and system based on SLA
CN103455363B (en) Command processing method, device and physical host of virtual machine
CN110347407A (en) A kind of method, apparatus, computer equipment and medium obtaining EMS memory occupation amount
CN110286961A (en) Process based on physical host processor hangs up method and relevant device
CN108959048A (en) The method for analyzing performance of modular environment, device and can storage medium
CN111464331B (en) Control method and system for thread creation and terminal equipment
CN113626173B (en) Scheduling method, scheduling device and storage medium
US9769022B2 (en) Timeout value adaptation
CN109684033A (en) Cloud platform bare machine management method, storage medium, electronic equipment and system
CN112598135A (en) Model training processing method and device, computer equipment and medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190927

RJ01 Rejection of invention patent application after publication