CN107678861A - The method and apparatus that processing function performs request - Google Patents

The method and apparatus that processing function performs request Download PDF

Info

Publication number
CN107678861A
CN107678861A CN201710959786.3A CN201710959786A CN107678861A CN 107678861 A CN107678861 A CN 107678861A CN 201710959786 A CN201710959786 A CN 201710959786A CN 107678861 A CN107678861 A CN 107678861A
Authority
CN
China
Prior art keywords
objective function
function interface
current
state parameter
health status
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
CN201710959786.3A
Other languages
Chinese (zh)
Other versions
CN107678861B (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201710959786.3A priority Critical patent/CN107678861B/en
Publication of CN107678861A publication Critical patent/CN107678861A/en
Application granted granted Critical
Publication of CN107678861B publication Critical patent/CN107678861B/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
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5013Request control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/508Monitor

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure is directed to the method and apparatus that a kind of processing function performs request, belong to electronic technology field.Methods described includes:Obtain the current occupancy of processor, the current state parameter of objective function interface, and the historic state parameter of the objective function interface prestored;Based on the occupancy, the current state parameter and the historic state parameter, the current health status grade of the objective function interface is determined;Request processing mode corresponding to the current health status grade of the objective function interface is determined, wherein, the request processing mode includes performing and refusal performs;Request is performed based on the request processing mode to function corresponding to the objective function interface to handle.Using the disclosure, can solve the problems, such as during functional interface exception using being unable to normal use.

Description

The method and apparatus that processing function performs request
Technical field
The disclosure is directed to electronic technology field, the method and apparatus that request is performed especially with respect to a kind of processing function.
Background technology
With the development of electronic technology, the visit capacity that the server in network can be supported is increasing, can support more People accesses simultaneously.
For a certain application, can there is multiple functional interfaces on the server of application, for example, log in interface, upload interface, Comment on interface, submit order interface etc..The corresponding difference in functionality that server can receive terminal transmission during operation connects The function of mouth performs request, and is handled accordingly.
During the disclosure is realized, inventor has found problems with least be present:
All functional interfaces of one application perform processing using same thread pool, and there is number of threads in thread pool Limit.Increase suddenly if the function of some functional interface performs request, more threads can be taken and performed to perform the function Request, may be such that other functional interfaces can not normally perform respective handling.For example, for shopping application, lived in promotion During dynamic, many users submit order simultaneously, submit the submission order request of order interface to increase suddenly, it is possible that other User can not log in the situation of the shopping application.Normal use is unable to so as to cause to apply.
The content of the invention
The disclosure provides the method and apparatus that a kind of processing function performs request, can solve to apply during functional interface exception The problem of being unable to normal use.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of processing function performs the method for request, methods described bag Include:
The current occupancy of processor, the current state parameter of objective function interface are obtained, and is prestored described The historic state parameter of objective function interface;
Based on the occupancy, the current state parameter and the historic state parameter, determine that the objective function connects The current health status grade of mouth;
Request processing mode corresponding to the current health status grade of the objective function interface is determined, wherein, it is described to ask Processing mode is asked to include performing and refuse to perform;
Request is performed based on the request processing mode to function corresponding to the objective function interface to handle.
Optionally, it is described to be based on the occupancy, the current state parameter and the historic state parameter, it is determined that described The current health status grade of objective function interface, including:
By the occupancy, the current state parameter and the historic state parameter, the healthy shape of training in advance is inputted State grade separation model, obtain the current health status grade of the objective function interface.
Optionally, methods described also includes:
Obtain the occupancy of multiple processors at different moments, the state of the multiple objective function interface described at different moments Parameter, the historic state parameter of the multiple objective function interface stored at different moments;
Based on the state parameter of the multiple objective function interface described at different moments, and the multiple deposit at different moments The historic state parameter of the objective function interface of storage, determine the state of the multiple objective function interface described at different moments Running parameter;
Obtain second corresponding to the first weights corresponding to the occupancy prestored and the state change parameter Weights, according to first weights, second weights, correspondence is multiple at different moments, determines the occupancy of the processor respectively The weighted value of rate and the state change parameter, as the multiple health status at different moments of objective function interface Value, according to the multiple health status value at different moments of the objective function interface, is determined described in the objective function interface Multiple health status grades at different moments;
By the occupancy of the multiple processor at different moments, the shape of the multiple objective function interface described at different moments State parameter, the historic state parameter of the multiple objective function interface stored at different moments, and the multiple difference The health status grade at moment, as training sample, the health status grade separation model is trained.
Optionally, the health status grade comprises at least high Health Category or low Health Category;
Request processing mode corresponding to the health status grade for determining that the objective function interface is current, including:
If the current health status grade of the objective function interface is high Health Category, it is determined that the objective function The request processing mode that function corresponding to interface performs request is execution;
If the current health status grade of the objective function interface is low Health Category, it is determined that the objective function The request processing mode that function corresponding to interface performs request performs for refusal.
Optionally, the health status grade comprises at least high Health Category, middle Health Category or low Health Category;
Request processing mode corresponding to the health status grade for determining that the objective function interface is current, including:
If the current health status grade of the objective function interface is high Health Category or middle Health Category, it is determined that The request processing mode that function corresponding to the objective function interface performs request is execution;
If the current health status grade of the objective function interface is low Health Category, it is determined that the objective function The request processing mode that function corresponding to interface performs request performs for refusal;
If the current health status grade of the objective function interface is middle health status, methods described also includes:
The health status alarm notification of the objective function interface is sent to management terminal.
Optionally, the current state parameter of the objective function interface includes one or more of:The objective function The current thread average response time of interface, the current thread maximum response time of the objective function interface, the target work( The current thread Best-case Response Time of energy interface, the current occupancy Thread Count of the objective function interface;
The current thread for including the objective function interface when the current state parameter of the objective function interface is averagely rung When between seasonable, the historic state parameter of the objective function interface includes:The history thread of the objective function interface averagely rings Between seasonable;
When the current state parameter of the objective function interface includes the maximum sound of current thread of the objective function interface When between seasonable, the historic state parameter of the objective function interface includes:The history thread of the objective function interface is maximum to be rung Between seasonable;
When the current state parameter of the objective function interface includes the minimum sound of current thread of the objective function interface When between seasonable, the historic state parameter of the objective function interface includes:The history thread of the objective function interface is minimum to be rung Between seasonable;
When the current state parameter of the objective function interface includes the current occupancy Thread Count of the objective function interface When, the historic state parameter of the objective function interface includes:The history of the objective function interface averagely takes Thread Count.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of processing function performs the device of request, described device bag Include:
First acquisition module, the occupancy current for obtaining processor, the current state parameter of objective function interface, with And the historic state parameter of the objective function interface prestored;
First determining module, for based on the occupancy, the current state parameter and the historic state parameter, really The current health status grade of the fixed objective function interface;
Second determining module, request corresponding to the health status grade current for determining the objective function interface are handled Mode, wherein, the request processing mode includes performing and refusal performs;
Processing module, for performing request to function corresponding to the objective function interface based on the request processing mode Handled.
Optionally, first determining module is used for:
By the occupancy, the current state parameter and the historic state parameter, the healthy shape of training in advance is inputted State grade separation model, obtain the current health status grade of the objective function interface.
Optionally, described device also includes:
Second acquisition module, it is the multiple described at different moments for obtaining the occupancy of multiple processors at different moments The state parameter of objective function interface, the historic state parameter of the multiple objective function interface stored at different moments;
3rd determining module, for the state parameter based on the multiple objective function interface described at different moments, and The historic state parameter of the multiple objective function interface stored at different moments, is determined the multiple described at different moments The state change parameter of objective function interface;
4th determining module, for obtaining the first weights and the state corresponding to the occupancy prestored Second weights corresponding to running parameter, according to first weights, second weights, correspondence is multiple at different moments, true respectively The occupancy of the fixed processor and the weighted value of the state change parameter, it is the multiple not as the objective function interface Health status value in the same time, according to the multiple health status value at different moments of the objective function interface, it is determined that described The multiple health status grade at different moments of objective function interface;
Training module, for by the occupancy of the multiple processor at different moments, the multiple mesh described at different moments The state parameter of mark functional interface, the historic state parameter of the multiple objective function interface stored at different moments, with And the multiple health status grade at different moments, as training sample, the health status grade separation model is carried out Training.
Optionally, the health status grade comprises at least high Health Category or low Health Category;
Second determining module is used for:
If the current health status grade of the objective function interface is high Health Category, it is determined that the objective function The request processing mode that function corresponding to interface performs request is execution;
If the current health status grade of the objective function interface is low Health Category, it is determined that the objective function The request processing mode that function corresponding to interface performs request performs for refusal.
Optionally, the health status grade comprises at least high Health Category, middle Health Category or low Health Category;
Second determining module is used for:
If the current health status grade of the objective function interface is high Health Category or middle Health Category, it is determined that The request processing mode that function corresponding to the objective function interface performs request is execution;
If the current health status grade of the objective function interface is low Health Category, it is determined that the objective function The request processing mode that function corresponding to interface performs request performs for refusal;
If the current health status grade of the objective function interface is middle health status, methods described also includes:
The health status alarm notification of the objective function interface is sent to management terminal.
Optionally, the current state parameter of the objective function interface includes one or more of:The objective function The current thread average response time of interface, the current thread maximum response time of the objective function interface, the target work( The current thread Best-case Response Time of energy interface, the current occupancy Thread Count of the objective function interface;
The current thread for including the objective function interface when the current state parameter of the objective function interface is averagely rung When between seasonable, the historic state parameter of the objective function interface includes:The history thread of the objective function interface averagely rings Between seasonable;
When the current state parameter of the objective function interface includes the maximum sound of current thread of the objective function interface When between seasonable, the historic state parameter of the objective function interface includes:The history thread of the objective function interface is maximum to be rung Between seasonable;
When the current state parameter of the objective function interface includes the minimum sound of current thread of the objective function interface When between seasonable, the historic state parameter of the objective function interface includes:The history thread of the objective function interface is minimum to be rung Between seasonable;
When the current state parameter of the objective function interface includes the current occupancy Thread Count of the objective function interface When, the historic state parameter of the objective function interface includes:The history of the objective function interface averagely takes Thread Count.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of server, the server include processor and storage Device, at least one instruction is stored with the memory, and the instruction is loaded by the processor and performed to realize such as first The method that processing function described in aspect performs request.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, it is characterised in that described At least one instruction is stored with storage medium, the instruction is loaded by processor and performed to realize as described in relation to the first aspect The method that processing function performs request.
In the embodiment of the present disclosure, server obtains the current occupancy of processor, the current state ginseng of objective function interface Number, and the historic state parameter of the objective function interface prestored, based on occupancy, current state parameter and historic state Parameter, the current health status grade of objective function interface is determined, determine the current health status grade pair of objective function interface The request processing mode answered, wherein, request processing mode includes performing and refusal performs, based on the request processing mode to target Function corresponding to functional interface performs request and handled.So, when objective function interface occurs abnormal, can refuse to perform The function of objective function interface performs request, to ensure the normal operation of other functional interfaces so that application can normal use.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.In the accompanying drawings:
Fig. 1 is that a kind of processing function according to an exemplary embodiment performs the method flow diagram asked;
Fig. 2 is that a kind of function of server reception multiple client according to an exemplary embodiment performs request Schematic diagram;
Fig. 3 is the corresponding relation of a kind of health status grade and request processing mode according to an exemplary embodiment Schematic diagram;
Fig. 4 is the corresponding relation of a kind of health status grade and request processing mode according to an exemplary embodiment Schematic diagram;
Fig. 5 is that a kind of processing function according to an exemplary embodiment performs the schematic device asked;
Fig. 6 is that a kind of processing function according to an exemplary embodiment performs the schematic device asked;
Fig. 7 is a kind of structural representation of server according to an exemplary embodiment.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings It is not intended to limit the scope of disclosure design by any mode with word description, but is by reference to specific embodiment Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
The exemplary embodiment of the disclosure one provides a kind of method that processing function performs request, and this method can apply to Server.
Server can include the parts such as processor, memory, transceiver.Processor, can be CPU (Central Processing Unit, CPU) etc., it can be used for obtaining the data needed for processing procedure, determine functional interface Health status grade, processing function perform request etc. processing.Memory, can be RAM (Random Access Memory, Random access memory), Flash (flash memory) etc., it can be used for storing the data received, the data needed for processing procedure, place Data generated during reason etc., the state parameter of occupancy, functional interface such as processor, the historic state ginseng of functional interface Number etc..Transceiver, it can be used for carrying out data transmission with client or management terminal, for example, receiving the function that client is sent Perform request, health status alarm notification etc. is sent to management terminal, transceiver can include antenna, match circuit, modulatedemodulate Adjust device etc..
As shown in figure 1, the handling process of this method can include the steps:
In a step 101, the current occupancy of acquisition processor, the current state parameter of objective function interface, and in advance The historic state parameter of the objective function interface first stored.
Wherein, the current state parameter of objective function interface can include one or more of:Objective function interface Current thread average response time, the current thread maximum response time of objective function interface, objective function interface work as front Journey Best-case Response Time, the current occupancy Thread Count of objective function interface.
Corresponding, the current thread that objective function interface is included when the current state parameter of objective function interface is averagely rung When between seasonable, the historic state parameter of objective function interface can include:During the history thread average response of objective function interface Between;When the current state parameter of objective function interface includes the current thread maximum response time of objective function interface, target The historic state parameter of functional interface can include:The history thread maximum response time of objective function interface;Work as objective function When the current state parameter of interface includes the current thread Best-case Response Time of objective function interface, the history of objective function interface State parameter can include:The history thread Best-case Response Time of objective function interface;When the current state of objective function interface When parameter includes the current occupancy Thread Count of objective function interface, the historic state parameter of objective function interface can include:Mesh The history of mark functional interface averagely takes Thread Count.
In force, for an application, there is the operation that corresponding server supports each function on its backstage.Each Function has corresponding functional interface on the server, and the function of same function, which performs request, can be referred to One function interface On.When the function that server receives client transmission performs request, it may be determined that the function performs function corresponding to request Interface, determine unappropriated thread in thread pool.And then unappropriated thread can be distributed to function execution and asked Ask so that processor can perform request to the function and handle, and after processing is completed can feed back result To client.Response time can be at the time of receiving some function from server to perform request, to be asked to the function is performed At the time of the result asked feeds back to client, the spent time.As shown in Fig. 2 server can receive each make The function of being sent with the client of the application performs request, and each function may have more than one function to perform request, therefore, clothes Business device can be that each functional interface distributes at least one thread, and can detect the Thread Count that each functional interface takes, The response time that each function performs request is counted, is stored.
Whenever predetermined period is reached, server can detect the occupancy of current time processor, obtain each function The current state parameter of interface.Optionally, obtaining the current state parameter of each functional interface can be, detection current time is every The Thread Count that individual functional interface takes, is counted to the response time in the nearest a cycle of each functional interface of storage, Thread maximum response time corresponding to each functional interface, thread Best-case Response Time are obtained, and to each functional interface cycle Interior all response times calculate average value, obtain thread average response time corresponding to each functional interface.Then, server The historic state parameter of each functional interface stored before current time can be read out.Optionally, each functional interface Historic state parameter comprises at least one or more of:The history thread average response time of each functional interface, Mei Gegong The history thread maximum response time of energy interface, the history thread Best-case Response Time of each functional interface, each functional interface History averagely take Thread Count.Can be to current period for the history thread average response time of each functional interface The response time of each functional interface stored before calculates average value, obtains the history thread average response of each functional interface Time;History thread maximum response time, history thread Best-case Response Time for each functional interface, can be to current The response time of each functional interface stored before cycle is counted, and obtains the maximum sound of history thread of each functional interface Between seasonable, history thread Best-case Response Time;Thread Count is averagely taken for the history of each functional interface, can be to current The Thread Count that each functional interface stored before cycle takes calculates average value, and the history for obtaining each functional interface averagely accounts for Use Thread Count.
Server can be stored after the current state parameter of each functional interface is obtained, and according to working as Preceding state parameter recalculates the historic state parameter of each functional interface, so that next cycle uses.
In a step 102, based on occupancy, current state parameter and historic state parameter, determine that objective function interface is worked as Preceding health status grade.
Wherein, health status grade can have the classification of following two modes:Mode one, health status grade can include High Health Category, low Health Category;Mode two, health status grade can include high Health Category, middle Health Category, low health Grade.Health status grade can also have the classification of other modes, not be restricted herein.
In force, server get the current occupancy of processor, the current state parameter of each functional interface, And after the historic state parameter of each functional interface prestored, according to occupancy, current state parameter and it can go through History state parameter, it is determined that the current health status grade of each functional interface.And then can be to each functional interface each pre- If the health status grade in cycle is monitored.For example, can be occupancy, current state parameter and historic state parameter setting Corresponding weight, based on traditional linear algorithm, the weighted value of occupancy, current state parameter and historic state parameter is calculated, And then determine the current health status grade of each functional interface;Or can the algorithm based on machine learning, utilize each work( Occupancy, current state parameter and the historic state parameter of energy interface, divide the health status grade of each functional interface Class.
Optionally, the health status grade of functional interface can be classified using machine training pattern, corresponding place Reason can be as follows:By occupancy, current state parameter and historic state parameter, the health status grade separation of training in advance is inputted Model, obtain the current health status grade of objective function interface.
Wherein, health status grade separation model is the model established based on machine learning algorithm, can be based on decision-making The model that tree algorithm is established, before its functional interface to unknown health status grade carries out health status grade separation, need The model is trained, corresponding processing can be as follows:Obtain the occupancy of multiple processors at different moments, multiple differences The state parameter of moment objective function interface, the historic state parameter of multiple objective function interfaces stored at different moments;It is based on The state parameter of multiple interfaces of objective function at different moments, and the history shape of multiple objective function interfaces stored at different moments State parameter, determine the state change parameter of multiple interfaces of objective function at different moments;Obtain corresponding to the occupancy prestored Second weights corresponding to first weights and state change parameter, according to the first weights, the second weights, when corresponding multiple different Carve, determine the occupancy of processor and the weighted value of state change parameter respectively, it is multiple at different moments as objective function interface Health status value, according to the multiple health status values at different moments of objective function interface, determine that objective function interface is multiple not Health status grade in the same time;By the occupancy of multiple processors at different moments, multiple interfaces of objective function at different moments State parameter, the historic state parameter of multiple objective function interfaces stored at different moments, and multiple health at different moments State grade, as training sample, health status grade separation model is trained.
In force, occupancy, the shape of each functional interface of processor are engraved when can be stored with multiple in server State parameter, the historic state parameter of each functional interface, above-mentioned parameter can be read out handled.For it is each when Carve, the state parameter of each functional interface and historic state parameter can be taken ratio by server, obtain each functional interface State change parameter.For example, can be by the thread average response time of sometime upper each functional interface than the above moment pair The history thread average response time for each functional interface answered, respectively obtain the thread average response time of each functional interface Running parameter;Can be by the occupancy Thread Count of sometime upper each functional interface than each functional interface corresponding to the above moment History averagely take Thread Count, respectively obtain the occupancy Thread Count running parameter of each functional interface.
Technical staff can be pre-set and stored to the weights of occupancy and state change parameter, optionally, right In state change parameter corresponding to different state parameters, different weights can be provided with.For it is multiple when engrave it is each Functional interface, server can read out the first weights corresponding to occupancy, the second weights corresponding to state change parameter, and divide The first weights the numerical value of occupancy is not multiplied by, the second weights are multiplied by the parameter value of state change parameter, obtained results added The weighted value of occupancy and state change parameter is obtained, the health status value as functional interface.
The health status value may be in default number range, and can be divided into the number range and healthy shape The corresponding subrange of state grade.For example, health status value can be the numerical value between [0,100], for above-mentioned health status Mode one in grade separation mode, [0,100] can be divided into [0,40), [40,100] two subranges, wherein, sub- model Enclose [0,40) corresponding to health status grade be high Health Category, health status grade corresponding to subrange [40,100] is low strong Health grade;For mode two, [0,100] can be divided into [0,30), [30,60), [60,100] three subranges, wherein, Subrange [0,30) corresponding to health status grade be high Health Category, subrange [30,60) corresponding to health status grade be Middle Health Category, health status grade corresponding to subrange [60,100] are low Health Category.When the occupancy of processor is higher When, processor is busier, it may be possible to caused by handling function execution request corresponding to the functional interface;When state change is joined When number is higher, state parameter of the functional interface at the moment is more than corresponding historic state parameter, during such as thread average response Between be more than history thread average response time, take Thread Count be more than history take Thread Count, the functional interface may occur different Normal situation, the function that may influence other functional interfaces perform the processing of request.Therefore, health status value is higher, and function connects The health status of mouth is poorer, and corresponding health status lower grade;Health status value is lower, and the health status of functional interface is got over Good, corresponding health status higher grade.
And then, it can be determined that the subrange that health status value belongs to, health status grade corresponding to the subrange is determined, can With by determine under health status grade, the health status grade as corresponding functional interface.
After determining health status grade corresponding to each functional interface of multiple moment, it can be corresponded to multiple at different moments The occupancy of processor, the state parameter of each functional interface, the historic state parameter of each functional interface and each work( The health status grade of energy interface, as training sample, is trained to health status grade separation model.
And then server can be by the current occupancy of processor, the current state parameter of each functional interface and pre- The health status grade separation model that the historic state parameter input of each functional interface first stored trains, output obtains every The current health status grade of individual functional interface, health status grade is carried out to the functional interface of each unknown health status grade Classification.
In step 103, request processing mode corresponding to the current health status grade of objective function interface is determined.
Wherein, processing mode is asked to include performing and refuse to perform.
Optionally, for aforesaid way one, if the current health status grade of objective function interface is high Health Category, It can then determine that the request processing mode that function corresponding to objective function interface performs request is execution;If objective function interface Current health status grade is low Health Category, then can determine that function corresponding to objective function interface performs the request of request Processing mode performs for refusal.For mode one, health status grade is as shown in Figure 3 with asking the corresponding relation of processing mode.
For aforesaid way two, if the current health status grade of objective function interface is high Health Category or middle health Grade, then it can determine that the request processing mode that function corresponding to objective function interface performs request is execution;If target work( The current health status grade of energy interface is low Health Category, then can determine that function corresponding to objective function interface performs request Request processing mode for refusal perform.If the current health status grade of objective function interface is middle health status, also The health status alarm notification to management terminal transmission objective function interface can be determined.For mode two, health status grade With asking the corresponding relation of processing mode as shown in Figure 4.
At step 104, request is performed to function corresponding to objective function interface based on request processing mode to handle.
In force, for determining that lower request processing mode is the functional interface performed, corresponding work(can be continued with Request can be performed, and result can be fed back to client.The work(performed for determining lower request processing mode for refusal Energy interface, it temporarily can not perform corresponding function and perform request, and can be after preset duration, for the functional interface point Multiple preset number thread is assigned to, and then, the request processing mode of the functional interface can be redefined, is redefined at request The processing of reason mode and above-mentioned processing are same or like, and here is omitted.If the request processing mode redefined out is still Performed for refusal, then do not perform corresponding function temporarily and perform request, redefined again after preset duration;If again The request processing mode determined then continues with corresponding function and performs request, and can feed back result to perform To client.
Optionally, can also be to management if the current health status grade of objective function interface is middle health status Terminal sends the health status alarm notification of objective function interface, for sending alarm to the technical staff using management terminal. Health status alarm notification can carry the mark for the functional interface that health status grade is middle health status grade.Management is eventually End is receiving health status alarm notification, can determine that health status grade is good in being according to the health status alarm notification The functional interface of health state grade, the functional interface can be reminded to be in middle health status to technical staff, alerting pattern can be with It is shown in screen, is not restricted herein.And then technical staff can the state current to the functional interface investigate, Find out so that the functional interface is in middle health status reason, and is handled accordingly, to avoid the health of the functional interface State grade is reduced to low health status grade, influences other functional interfaces.
In the embodiment of the present disclosure, server obtains the current occupancy of processor, the current state ginseng of objective function interface Number, and the historic state parameter of the objective function interface prestored, based on occupancy, current state parameter and historic state Parameter, the current health status grade of objective function interface is determined, determine the current health status grade pair of objective function interface The request processing mode answered, wherein, request processing mode includes performing and refusal performs, based on the request processing mode to target Function corresponding to functional interface performs request and handled.So, when objective function interface occurs abnormal, can refuse to perform The function of objective function interface performs request, to ensure the normal operation of other functional interfaces so that application can normal use.
Disclosure further example embodiment provides the device that a kind of processing function performs request, as shown in figure 5, the dress Put including:
First acquisition module 510, the occupancy current for obtaining processor, the current state ginseng of objective function interface Number, and the historic state parameter of the objective function interface prestored;
First determining module 520, for being joined based on the occupancy, the current state parameter and the historic state Number, determines the current health status grade of the objective function interface;
Second determining module 530, request corresponding to the health status grade current for determining the objective function interface Processing mode, wherein, the request processing mode includes performing and refusal performs;
Processing module 540, for being performed based on the request processing mode to function corresponding to the objective function interface Request is handled.
Optionally, first determining module 520 is used for:
By the occupancy, the current state parameter and the historic state parameter, the healthy shape of training in advance is inputted State grade separation model, obtain the current health status grade of the objective function interface.
Optionally, as shown in fig. 6, described device also includes:
Second acquisition module 550, for obtaining the occupancy of multiple processors at different moments, the multiple institute at different moments State the state parameter of objective function interface, the historic state ginseng of the multiple objective function interface stored at different moments Number;
3rd determining module 560, for the state parameter based on the multiple objective function interface described at different moments, with And the historic state parameter of the multiple objective function interface stored at different moments, determine the multiple institute at different moments State the state change parameter of objective function interface;
4th determining module 570, for obtaining the first weights and the shape corresponding to the occupancy prestored Second weights corresponding to state running parameter, according to first weights, second weights, correspondence is multiple at different moments, respectively The occupancy of the processor and the weighted value of the state change parameter are determined, it is the multiple as the objective function interface Health status value at different moments, according to the multiple health status value at different moments of the objective function interface, determine institute State the multiple health status grade at different moments of objective function interface;
Training module 580, it is the multiple described at different moments for by the occupancy of the multiple processor at different moments The state parameter of objective function interface, the historic state parameter of the multiple objective function interface stored at different moments, And the multiple health status grade at different moments, as training sample, the health status grade separation model is entered Row training.
Optionally, the health status grade comprises at least high Health Category or low Health Category;
Second determining module 530 is used for:
If the current health status grade of the objective function interface is high Health Category, it is determined that the objective function The request processing mode that function corresponding to interface performs request is execution;
If the current health status grade of the objective function interface is low Health Category, it is determined that the objective function The request processing mode that function corresponding to interface performs request performs for refusal.
Optionally, the health status grade comprises at least high Health Category, middle Health Category or low Health Category;
Second determining module 530 is used for:
If the current health status grade of the objective function interface is high Health Category or middle Health Category, it is determined that The request processing mode that function corresponding to the objective function interface performs request is execution;
If the current health status grade of the objective function interface is low Health Category, it is determined that the objective function The request processing mode that function corresponding to interface performs request performs for refusal;
If the current health status grade of the objective function interface is middle health status, methods described also includes:
The health status alarm notification of the objective function interface is sent to management terminal.
Optionally, the current state parameter of the objective function interface includes one or more of:The objective function The current thread average response time of interface, the current thread maximum response time of the objective function interface, the target work( The current thread Best-case Response Time of energy interface, the current occupancy Thread Count of the objective function interface;
The current thread for including the objective function interface when the current state parameter of the objective function interface is averagely rung When between seasonable, the historic state parameter of the objective function interface includes:The history thread of the objective function interface averagely rings Between seasonable;
When the current state parameter of the objective function interface includes the maximum sound of current thread of the objective function interface When between seasonable, the historic state parameter of the objective function interface includes:The history thread of the objective function interface is maximum to be rung Between seasonable;
When the current state parameter of the objective function interface includes the minimum sound of current thread of the objective function interface When between seasonable, the historic state parameter of the objective function interface includes:The history thread of the objective function interface is minimum to be rung Between seasonable;
When the current state parameter of the objective function interface includes the current occupancy Thread Count of the objective function interface When, the historic state parameter of the objective function interface includes:The history of the objective function interface averagely takes Thread Count.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In the embodiment of the present disclosure, server obtains the current occupancy of processor, the current state ginseng of objective function interface Number, and the historic state parameter of the objective function interface prestored, based on occupancy, current state parameter and historic state Parameter, the current health status grade of objective function interface is determined, determine the current health status grade pair of objective function interface The request processing mode answered, wherein, request processing mode includes performing and refusal performs, based on the request processing mode to target Function corresponding to functional interface performs request and handled.So, when objective function interface occurs abnormal, can refuse to perform The function of objective function interface performs request, to ensure the normal operation of other functional interfaces so that application can normal use.
It should be noted that:The device that the processing function that above-described embodiment provides performs request performs request in processing function When, only with the division progress of above-mentioned each functional module for example, in practical application, above-mentioned function can be divided as needed With by different functional module completions, i.e., the internal structure of server is divided into different functional modules, to complete to retouch above The all or part of function of stating.In addition, the device that the processing function that above-described embodiment provides performs request is held with processing function The embodiment of the method for row request belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Disclosure further example embodiment provides a kind of server.Reference picture 7, server 700 include processing component 722, it further comprises one or more processors, and as the memory resource representated by memory 732, can for storing By the instruction of the execution of processing component 722, such as application program.The application program stored in memory 732 can include one Or it is more than one each correspond to the module of one group of instruction.In addition, processing component 722 is configured as execute instruction, to hold The method that the above-mentioned processing function of row performs request.
Server 700 can also include a power supply module 726 and be configured as the power management of execute server 700, and one Individual wired or wireless network interface 750 is configured as server 700 being connected to network, and input and output (I/O) interface 758.Server 700 can be operated based on the operating system for being stored in memory 732, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Server 700 can include a kind of computer-readable recording medium, and one or more than one program, One of them or more than one program storage in computer-readable recording medium, and be configured to by one or one with Upper computing device is one or more than one program bag contains the instruction for being used for being operated below:
The current occupancy of processor, the current state parameter of objective function interface are obtained, and is prestored described The historic state parameter of objective function interface;
Based on the occupancy, the current state parameter and the historic state parameter, determine that the objective function connects The current health status grade of mouth;
Request processing mode corresponding to the current health status grade of the objective function interface is determined, wherein, it is described to ask Processing mode is asked to include performing and refuse to perform;
Request is performed based on the request processing mode to function corresponding to the objective function interface to handle.
Optionally, it is described to be based on the occupancy, the current state parameter and the historic state parameter, it is determined that described The current health status grade of objective function interface, including:
By the occupancy, the current state parameter and the historic state parameter, the healthy shape of training in advance is inputted State grade separation model, obtain the current health status grade of the objective function interface.
Optionally, methods described also includes:
Obtain the occupancy of multiple processors at different moments, the state of the multiple objective function interface described at different moments Parameter, the historic state parameter of the multiple objective function interface stored at different moments;
Based on the state parameter of the multiple objective function interface described at different moments, and the multiple deposit at different moments The historic state parameter of the objective function interface of storage, determine the state of the multiple objective function interface described at different moments Running parameter;
Obtain second corresponding to the first weights corresponding to the occupancy prestored and the state change parameter Weights, according to first weights, second weights, correspondence is multiple at different moments, determines the occupancy of the processor respectively The weighted value of rate and the state change parameter, as the multiple health status at different moments of objective function interface Value, according to the multiple health status value at different moments of the objective function interface, is determined described in the objective function interface Multiple health status grades at different moments;
By the occupancy of the multiple processor at different moments, the shape of the multiple objective function interface described at different moments State parameter, the historic state parameter of the multiple objective function interface stored at different moments, and the multiple difference The health status grade at moment, as training sample, the health status grade separation model is trained.
Optionally, the health status grade comprises at least high Health Category or low Health Category;
Request processing mode corresponding to the health status grade for determining that the objective function interface is current, including:
If the current health status grade of the objective function interface is high Health Category, it is determined that the objective function The request processing mode that function corresponding to interface performs request is execution;
If the current health status grade of the objective function interface is low Health Category, it is determined that the objective function The request processing mode that function corresponding to interface performs request performs for refusal.
Optionally, the health status grade comprises at least high Health Category, middle Health Category or low Health Category;
Request processing mode corresponding to the health status grade for determining that the objective function interface is current, including:
If the current health status grade of the objective function interface is high Health Category or middle Health Category, it is determined that The request processing mode that function corresponding to the objective function interface performs request is execution;
If the current health status grade of the objective function interface is low Health Category, it is determined that the objective function The request processing mode that function corresponding to interface performs request performs for refusal;
If the current health status grade of the objective function interface is middle health status, methods described also includes:
The health status alarm notification of the objective function interface is sent to management terminal.
Optionally, the current state parameter of the objective function interface includes one or more of:The objective function The current thread average response time of interface, the current thread maximum response time of the objective function interface, the target work( The current thread Best-case Response Time of energy interface, the current occupancy Thread Count of the objective function interface;
The current thread for including the objective function interface when the current state parameter of the objective function interface is averagely rung When between seasonable, the historic state parameter of the objective function interface includes:The history thread of the objective function interface averagely rings Between seasonable;
When the current state parameter of the objective function interface includes the maximum sound of current thread of the objective function interface When between seasonable, the historic state parameter of the objective function interface includes:The history thread of the objective function interface is maximum to be rung Between seasonable;
When the current state parameter of the objective function interface includes the minimum sound of current thread of the objective function interface When between seasonable, the historic state parameter of the objective function interface includes:The history thread of the objective function interface is minimum to be rung Between seasonable;
When the current state parameter of the objective function interface includes the current occupancy Thread Count of the objective function interface When, the historic state parameter of the objective function interface includes:The history of the objective function interface averagely takes Thread Count.
In the embodiment of the present disclosure, server obtains the current occupancy of processor, the current state ginseng of objective function interface Number, and the historic state parameter of the objective function interface prestored, based on occupancy, current state parameter and historic state Parameter, the current health status grade of objective function interface is determined, determine the current health status grade pair of objective function interface The request processing mode answered, wherein, request processing mode includes performing and refusal performs, based on the request processing mode to target Function corresponding to functional interface performs request and handled.So, when objective function interface occurs abnormal, can refuse to perform The function of objective function interface performs request, to ensure the normal operation of other functional interfaces so that application can normal use.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (14)

1. a kind of method that processing function performs request, it is characterised in that methods described includes:
Obtain the current occupancy of processor, the current state parameter of objective function interface, and the target prestored The historic state parameter of functional interface;
Based on the occupancy, the current state parameter and the historic state parameter, determine that the objective function interface is worked as Preceding health status grade;
Request processing mode corresponding to the current health status grade of the objective function interface is determined, wherein, at the request Reason mode includes performing and refusal performs;
Request is performed based on the request processing mode to function corresponding to the objective function interface to handle.
2. according to the method for claim 1, it is characterised in that described based on the occupancy, the current state parameter With the historic state parameter, the current health status grade of the objective function interface is determined, including:
By the occupancy, the current state parameter and the historic state parameter, health status of training in advance etc. is inputted Level disaggregated model, obtains the current health status grade of the objective function interface.
3. according to the method for claim 2, it is characterised in that methods described also includes:
Obtain the occupancy of multiple processors at different moments, the state ginseng of the multiple objective function interface described at different moments Number, the historic state parameter of the multiple objective function interface stored at different moments;
Based on the state parameter of the multiple objective function interface described at different moments, and the multiple store at different moments The historic state parameter of the objective function interface, determine the state change of the multiple objective function interface described at different moments Parameter;
Obtain the second power corresponding to the first weights corresponding to the occupancy prestored and the state change parameter Value, according to first weights, second weights, correspondence is multiple at different moments, determines the occupancy of the processor respectively With the weighted value of the state change parameter, as the multiple health status value at different moments of the objective function interface, According to the multiple health status value at different moments of the objective function interface, determine that the objective function interface is the multiple Health status grade at different moments;
By the occupancy of the multiple processor at different moments, the state of the multiple objective function interface described at different moments is joined Number, the historic state parameter of the multiple objective function interface stored at different moments, and it is the multiple at different moments Health status grade, as training sample, the health status grade separation model is trained.
4. according to the method for claim 1, it is characterised in that the health status grade comprise at least high Health Category or Low Health Category;
Request processing mode corresponding to the health status grade for determining that the objective function interface is current, including:
If the current health status grade of the objective function interface is high Health Category, it is determined that the objective function interface The request processing mode that corresponding function performs request is execution;
If the current health status grade of the objective function interface is low Health Category, it is determined that the objective function interface The request processing mode that corresponding function performs request performs for refusal.
5. according to the method for claim 1, it is characterised in that the health status grade comprise at least high Health Category, Middle Health Category or low Health Category;
Request processing mode corresponding to the health status grade for determining that the objective function interface is current, including:
If the current health status grade of the objective function interface is high Health Category or middle Health Category, it is determined that described The request processing mode that function corresponding to objective function interface performs request is execution;
If the current health status grade of the objective function interface is low Health Category, it is determined that the objective function interface The request processing mode that corresponding function performs request performs for refusal;
If the current health status grade of the objective function interface is middle health status, methods described also includes:
The health status alarm notification of the objective function interface is sent to management terminal.
6. according to the method for claim 1, it is characterised in that the current state parameter of the objective function interface include with Lower one or more:The current thread average response time of the objective function interface, the objective function interface work as front Journey maximum response time, the current thread Best-case Response Time of the objective function interface, the objective function interface it is current Take Thread Count;
When the current state parameter of the objective function interface includes the current thread average response of the objective function interface Between when, the historic state parameter of the objective function interface includes:During the history thread average response of the objective function interface Between;
When the current state parameter of the objective function interface includes the current thread peak response of the objective function interface Between when, the historic state parameter of the objective function interface includes:During the history thread peak response of the objective function interface Between;
When the current state parameter of the objective function interface includes the current thread minimum response of the objective function interface Between when, the historic state parameter of the objective function interface includes:During the history thread minimum response of the objective function interface Between;
When the current state parameter of the objective function interface includes the current occupancy Thread Count of the objective function interface, institute Stating the historic state parameter of objective function interface includes:The history of the objective function interface averagely takes Thread Count.
7. a kind of processing function performs the device of request, it is characterised in that described device includes:
First acquisition module, the occupancy current for obtaining processor, the current state parameter of objective function interface, and in advance The historic state parameter of the objective function interface first stored;
First determining module, for based on the occupancy, the current state parameter and the historic state parameter, determining institute State the current health status grade of objective function interface;
Second determining module, request processing side corresponding to the health status grade current for determining the objective function interface Formula, wherein, the request processing mode includes performing and refusal performs;
Processing module, carried out for performing request to function corresponding to the objective function interface based on the request processing mode Processing.
8. device according to claim 7, it is characterised in that first determining module is used for:
By the occupancy, the current state parameter and the historic state parameter, health status of training in advance etc. is inputted Level disaggregated model, obtains the current health status grade of the objective function interface.
9. device according to claim 8, it is characterised in that described device also includes:
Second acquisition module, for obtaining the occupancy of multiple processors at different moments, the multiple target described at different moments The state parameter of functional interface, the historic state parameter of the multiple objective function interface stored at different moments;
3rd determining module, for the state parameter based on the multiple objective function interface described at different moments, and it is described The historic state parameter of multiple objective function interfaces stored at different moments, determines the multiple target described at different moments The state change parameter of functional interface;
4th determining module, for obtaining the first weights and the state change corresponding to the occupancy prestored Second weights corresponding to parameter, according to first weights, second weights, correspondence is multiple at different moments, determines institute respectively State the occupancy of processor and the weighted value of the state change parameter, as the objective function interface it is the multiple different when The health status value at quarter, according to the multiple health status value at different moments of the objective function interface, determine the target The multiple health status grade at different moments of functional interface;
Training module, for by the occupancy of the multiple processor at different moments, the multiple target work(described at different moments The state parameter of energy interface, the historic state parameter of the multiple objective function interface stored at different moments, Yi Jisuo Multiple health status grades at different moments are stated, as training sample, the health status grade separation model is trained.
10. device according to claim 7, it is characterised in that the health status grade comprises at least high Health Category Or low Health Category;
Second determining module is used for:
If the current health status grade of the objective function interface is high Health Category, it is determined that the objective function interface The request processing mode that corresponding function performs request is execution;
If the current health status grade of the objective function interface is low Health Category, it is determined that the objective function interface The request processing mode that corresponding function performs request performs for refusal.
11. device according to claim 7, it is characterised in that the health status grade comprise at least high Health Category, Middle Health Category or low Health Category;
Second determining module is used for:
If the current health status grade of the objective function interface is high Health Category or middle Health Category, it is determined that described The request processing mode that function corresponding to objective function interface performs request is execution;
If the current health status grade of the objective function interface is low Health Category, it is determined that the objective function interface The request processing mode that corresponding function performs request performs for refusal;
If the current health status grade of the objective function interface is middle health status, methods described also includes:
The health status alarm notification of the objective function interface is sent to management terminal.
12. device according to claim 7, it is characterised in that the current state parameter of the objective function interface includes One or more of:The current thread average response time of the objective function interface, the objective function interface it is current Thread maximum response time, the current thread Best-case Response Time of the objective function interface, the objective function interface are worked as Preceding occupancy Thread Count;
When the current state parameter of the objective function interface includes the current thread average response of the objective function interface Between when, the historic state parameter of the objective function interface includes:During the history thread average response of the objective function interface Between;
When the current state parameter of the objective function interface includes the current thread peak response of the objective function interface Between when, the historic state parameter of the objective function interface includes:During the history thread peak response of the objective function interface Between;
When the current state parameter of the objective function interface includes the current thread minimum response of the objective function interface Between when, the historic state parameter of the objective function interface includes:During the history thread minimum response of the objective function interface Between;
When the current state parameter of the objective function interface includes the current occupancy Thread Count of the objective function interface, institute Stating the historic state parameter of objective function interface includes:The history of the objective function interface averagely takes Thread Count.
13. a kind of server, it is characterised in that the server includes processor and memory, is stored with the memory At least one instruction, the instruction are loaded by the processor and performed to realize the processing as described in claim 1 to 6 is any The method that function performs request.
14. a kind of computer-readable recording medium, it is characterised in that at least one instruction, institute are stored with the storage medium Instruction is stated to be loaded by processor and performed to realize that the processing function as described in claim 1 to 6 is any performs the method asked.
CN201710959786.3A 2017-10-16 2017-10-16 Method and device for processing function execution request Active CN107678861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710959786.3A CN107678861B (en) 2017-10-16 2017-10-16 Method and device for processing function execution request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710959786.3A CN107678861B (en) 2017-10-16 2017-10-16 Method and device for processing function execution request

Publications (2)

Publication Number Publication Date
CN107678861A true CN107678861A (en) 2018-02-09
CN107678861B CN107678861B (en) 2020-11-24

Family

ID=61141229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710959786.3A Active CN107678861B (en) 2017-10-16 2017-10-16 Method and device for processing function execution request

Country Status (1)

Country Link
CN (1) CN107678861B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271290A (en) * 2018-07-27 2019-01-25 广州华多网络科技有限公司 A kind of method, apparatus and storage device monitoring thread utilization rate

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110131659A1 (en) * 2006-11-10 2011-06-02 Microsoft Corporation Extensible framework for system security state reporting and remediation
CN103701709A (en) * 2013-12-13 2014-04-02 北京京东尚科信息技术有限公司 Flow rate control method and system
CN105335231A (en) * 2014-08-15 2016-02-17 阿里巴巴集团控股有限公司 Dynamic distribution method and device for server threads
CN107247649A (en) * 2016-10-12 2017-10-13 北京奇虎科技有限公司 Method, device and the gateway of detecting system health status

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110131659A1 (en) * 2006-11-10 2011-06-02 Microsoft Corporation Extensible framework for system security state reporting and remediation
CN103701709A (en) * 2013-12-13 2014-04-02 北京京东尚科信息技术有限公司 Flow rate control method and system
CN105335231A (en) * 2014-08-15 2016-02-17 阿里巴巴集团控股有限公司 Dynamic distribution method and device for server threads
CN107247649A (en) * 2016-10-12 2017-10-13 北京奇虎科技有限公司 Method, device and the gateway of detecting system health status

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271290A (en) * 2018-07-27 2019-01-25 广州华多网络科技有限公司 A kind of method, apparatus and storage device monitoring thread utilization rate

Also Published As

Publication number Publication date
CN107678861B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
CN107908803A (en) The response method and device, storage medium, terminal of question and answer interaction
CN108667850A (en) A kind of artificial intelligence service system and its method for realizing artificial intelligence service
CN109586952A (en) Method of server expansion, device
CN110163368A (en) Deep learning model training method, apparatus and system based on mixed-precision
CN111507552A (en) Deep learning method, system, server and readable storage medium
CN109894383B (en) Article sorting method and device, storage medium and electronic equipment
CN108234247A (en) A kind of method and system for detecting network quality
CN110968512B (en) Software quality evaluation method, device, equipment and computer readable storage medium
CN107203883A (en) A kind of risk control method and equipment
CN107025228A (en) A kind of method for recommending problem and equipment
CN104270362B (en) request processing method and device
CN108969980A (en) Treadmill and step counting method, device and storage medium thereof
CN107678861A (en) The method and apparatus that processing function performs request
CN106713388A (en) Emergent business processing method and device
KR20220071665A (en) Anomaly detection system and method in smart manufacturing environment using multiple AI techniques
CN104679791A (en) Processing method and device for acquiring data packets
CN111860568A (en) Method and device for balanced distribution of data samples and storage medium
CN106610832A (en) Page asynchronous rendering method and device
CN115794570A (en) Pressure testing method, device, equipment and computer readable storage medium
CN106961490A (en) A kind of resource monitoring method and system, a kind of home server
CN111124710A (en) Data processing method and electronic equipment
US20050246298A1 (en) Device for context-dependent data analysis
CN116306311A (en) Automatic spraying equipment control method and system
CN114549392B (en) Color difference detection method, device and equipment for solar cell and computer medium
CN110262950A (en) Abnormal movement detection method and device based on many index

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