CN110334905A - Project fault display method, device, computer equipment and storage medium - Google Patents

Project fault display method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110334905A
CN110334905A CN201910460612.1A CN201910460612A CN110334905A CN 110334905 A CN110334905 A CN 110334905A CN 201910460612 A CN201910460612 A CN 201910460612A CN 110334905 A CN110334905 A CN 110334905A
Authority
CN
China
Prior art keywords
task
execution
menu
duration
project
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
CN201910460612.1A
Other languages
Chinese (zh)
Other versions
CN110334905B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910460612.1A priority Critical patent/CN110334905B/en
Publication of CN110334905A publication Critical patent/CN110334905A/en
Application granted granted Critical
Publication of CN110334905B publication Critical patent/CN110334905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06313Resource planning in a project environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06316Sequencing of tasks or work

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application belongs to technical research management domain, and in particular to a kind of project fault display method, device, computer equipment and storage medium.The described method includes: obtaining the execution task in the task queue and the task queue of the project when the execution failure for the project that detects;It obtains the current execution duration of each execution task and estimates execution duration;According to the current execution duration and it is described estimate execute duration generate breakdown judge as a result, and task choosing option is generated according to the project, the task queue and the execution task, multistage task menu is generated according to the task choosing option;Display is associated to the task choosing option and the corresponding breakdown judge result of the multistage task menu.User can be allowed to quickly understand the failure cause of project appearance using this method, be selectively carrying out goal task, no longer need to rerun entire project.

Description

Project fault display method, device, computer equipment and storage medium
Technical field
This application involves field of computer technology, set more particularly to a kind of project fault display method, device, computer Standby and storage medium.
Background technique
In computer systems, each project is made of multiple tasks.Each project be by it includes Different task be scheduled and execute.But when the partial task in project occurs executing failure, user can not confirm hair The task of raw failure, and then the failure of project can not be repaired, project can only be reruned.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of project event that user can be allowed to confirm failure task Hinder display methods, device, computer equipment and storage medium.
A kind of project fault display method, which comprises
When the execution failure for the project that detects, holding in the task queue and the task queue of the project is obtained Row task;
It obtains the current execution duration of each execution task and estimates execution duration;
Duration generation breakdown judge is executed as a result, and according to the item according to the current execution duration and described estimate Mesh, the task queue and the execution task generate task choosing option, generate multistage appoint according to the task choosing option Business menu;
The task choosing option and the corresponding breakdown judge result of the multistage task menu are associated Display.
It is described in one of the embodiments, that multistage task menu is generated according to the task choosing option, comprising:
Obtain the task execution link and menu hierarchy mark of the project, the task queue and the execution task;
Task execution link is associated setting with the task choosing option;
According to the classification node of the menu hierarchy identity validation multistage task menu;
The task choosing option is arranged based on the classification node to obtain multistage task menu.
In one of the embodiments, it is described according to the current execution duration and it is described estimate execute duration generate failure Judging result, comprising:
Duration generation duration comparison result is executed by comparing the current execution duration and described estimate;
Detection executes the execution processor of the task queue and the execution task and obtains testing result;
Breakdown judge result is generated according to the duration comparison result and the testing result.
The task choosing option to the multistage task menu and corresponding institute in one of the embodiments, It states breakdown judge result and is associated display, comprising:
Establish the mapping relations between the task choosing option and the breakdown judge result;
The corresponding failure of each task choosing option is shown in the multistage task menu according to the mapping relations Judging result.
The task choosing option to the multistage task menu and corresponding institute in one of the embodiments, Breakdown judge result is stated to be associated after display, comprising:
The goal task that selection executes is obtained by the multistage task menu, executes the goal task;
When detecting that the goal task executes completion, obtains the failure message of the goal task and execute message;
The failure message and the execution message are compared and generate task action result;
The task choosing option of the goal task and the task action result are associated display.
It is described in one of the embodiments, that the goal task that selection executes is obtained by the multistage task menu, it holds The row goal task, comprising:
The task choosing option chosen is obtained by the multistage task menu;
Parsing obtains goal task from the task choosing option chosen;
Starting links corresponding execution processor with the associated task execution of task choosing option chosen;
It controls the execution processor and executes the goal task.
In one of the embodiments, the method also includes:
Obtain task process inquiry instruction;
Task to be checked is extracted from job enquiry instruction;
Obtain the current implementation progress of the task to be checked;
The current implementation progress is shown in the multistage task menu.
A kind of project fault display device, described device include:
Fault detection obtain module, for when the execution failure for the project that detects, obtain the project task queue, And the execution task in the task queue;
It executes duration and obtains module, for obtaining the current execution duration of each execution task and estimating execution duration;
As a result option generation module, for being sentenced according to the current execution duration and the execution duration generation failure of estimating It is disconnected as a result, and task choosing option is generated according to the project, the task queue and the execution task, according to the task Option is selected to generate multistage task menu;
Be associated with display module, for the multistage task menu the task choosing option and the corresponding failure Judging result is associated display.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing The step of device realizes the above method when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of above method is realized when row.
Above-mentioned project fault display method, device, computer equipment and storage medium, when the execution failure for the project that detects When, according to the current execution duration of acquisition and execution duration generation breakdown judge is estimated as a result, and right in multistage task menu Task choosing option and corresponding breakdown judge result are associated display, and user can not only be allowed to quickly understand project appearance Failure cause, and user can be allowed to be selectively carrying out the goal task to break down according to breakdown judge result, without weight Newly run entire project, save project runing time, reduce user waiting time while, reduce computer system Use memory, improve the project efficiency of user.
Detailed description of the invention
Fig. 1 is the application scenario diagram of project fault display method in one embodiment;
Fig. 2 is the flow diagram of project fault display method in one embodiment;
Fig. 3 is the flow diagram of multistage task menu formation step in one embodiment;
Fig. 4 is the flow diagram of breakdown judge result generation step in another embodiment;
Fig. 5 is the flow diagram of project fault display method in another embodiment;
Fig. 6 is the structural block diagram of project fault display device in one embodiment;
Fig. 7 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Project fault display method provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, eventually End 102 is communicated by network with server 104.Wherein, terminal 102 can be, but not limited to be various personal computers, pen Remember that this computer, smart phone, tablet computer and portable intelligent device, server 104 can be with independent servers either The server cluster of multiple servers composition is realized.Terminal 102 can be to server 104 or the executive device of terminal 102 Sending item purpose executes instruction, and the executive device of server 104 or terminal 102 is according to executing instruction project implementation.With service For device 104, when server 104 detects the execution failure of project, server 104 obtains the task queue of project and appoints The execution task being engaged in queue.Server 104 obtains the current execution duration of each execution task and estimates execution duration, and according to It is current to execute duration and estimate execution duration generation breakdown judge result.Server 104 is appointed according to project, task queue and execution Business generates task choosing option, generates multistage task menu according to task choosing option.Server 104 can be to multistage task dish Single task choosing option and corresponding breakdown judge result is associated display.Server 104 is obtained by multistage task menu The goal task for taking selection to execute, performance objective task.
In one embodiment, as shown in Fig. 2, providing a kind of project fault display method, it is applied to Fig. 1 in this way In server 104 for be illustrated, comprising the following steps:
Step 202, when the execution failure for the project that detects, obtain the project task queue and the task team Execution task in column.
When server 104 detects the execution failure of project, server 104 executes failure according to the appearance being detected Project the task queue that project includes and the execution task that task queue includes are obtained from assignment database.Task data Library not only stores corresponding with project task queue and executes task, is also stored with and is set up according to the subordinate relation between three Menu hierarchy mark.Project can have the properties such as scheduling resource consumption is big, the execution time is long.Wherein, scheduling resource include but It is not limited to the resources such as CPU, GPU.Project has severability, and each project can be divided into one to multiple group of task queue, often A task queue may include one or more execution task.Each execution task is an independent thread, and thread can be The minimum order that system executes.
Step 204, it obtains the current execution duration of each execution task and estimates execution duration.
Server 104 obtains the current execution duration of each execution task and estimates execution duration.The current duration that executes is to hold The duration that row processor processing execution task actually occurs.Estimating and executing duration is that duration and theoretical execution number are executed according to history The estimation duration needed according to obtained execution task.
Step 206, it executes duration according to the current execution duration and described estimate and generates breakdown judge as a result, simultaneously basis The project, the task queue and the execution task generate task choosing option, are generated according to the task choosing option Multistage task menu.
Server 104 is according to current execution duration and estimates execution duration generation breakdown judge result.Server 104 can be with Judge currently whether execution duration is greater than and estimates execution duration, when currently executing duration greater than execution duration is estimated, server 104 generate the breakdown judge result that the execution task breaks down;When currently executing duration less than execution duration is estimated, service Device 104 generates the breakdown judge result that the execution task does not break down.Server 104 can currently holding according to the task of execution It row duration and estimates and executes duration and count to obtain the current execution duration of task queue and estimate execution duration, and obtain each task The breakdown judge result whether queue breaks down.
Server 104 is according to project, task queue and executes task generation task choosing option.Task choosing option can be with It is either statically or dynamically displayed in the display interface by forms such as icon, thumbnail or pictures.Task choosing option is can to allow use Family carries out the option of selection to the execution task, task queue or the project that need to execute again.
Server 104 generates multistage task menu according to task choosing option.Server can by project, task queue and The property of execution task sorts out task choosing option, such as the task choosing option of project is classified as one kind, by task The task choosing option of queue is classified as one kind, and the task choosing option for the task that executes is classified as one kind.Server further according to project, Subordinate relation between task queue and execution task identifies the corresponding relationship between each task choosing option, then can root To project, task queue and task progress classification display is executed according to the corresponding relationship between option.Classification display refers in difference Project, task queue are shown in the task menu of rank respectively and executes task.The task menu of different stage may be displayed on In same display interface or different display interfaces.
For example, A project includes X task queue, one of entitled P task queue of task queue, the P task queue Comprising Y execution task, X, Y are positive integer.Server can further menu show all items task choosing option, The task choosing option of A project is selected in these task choosing options.Server is again by the task choosing of X task queue Option is shown in second-level menu, and when the task choosing option of P task queue is selected, server is again by Y execution task It is shown in three-stage menu.
Step 208, the task choosing option to the multistage task menu and the corresponding breakdown judge result It is associated display.
Task choosing option and corresponding breakdown judge result in 104 pairs of server multistage task menus are associated aobvious Show, user is facilitated to understand the specific implementation of task queue each in project and execution task.Server determines task The connection between option and breakdown judge result is selected, task choosing option and event are shown in multistage task menu according to connection Hinder judging result.Server can first show task choosing option, when user selects task choosing option, then to breakdown judge As a result it is shown;Server can also show task choosing option and breakdown judge result simultaneously.
In above-mentioned project fault display method, when server detects the execution failure of project, according to the current of acquisition It executes duration and estimates and execute duration generation breakdown judge as a result, and to task choosing option and correspondence in multistage task menu Breakdown judge result be associated display, can not only allow user to quickly understand the failure cause of project appearance, but also can be with User is allowed to be selectively carrying out the goal task to break down according to breakdown judge result, without reruning entire project, The runing time of saving project, while reduce the waiting time of user, reduce computer system uses memory, improves The project efficiency of user.
In one embodiment, as shown in figure 3, generating multistage task menu according to the task choosing option, have with Lower step:
Step 302, task execution link and the menu layer of the project, the task queue and the execution task are obtained Grade mark.
Server 104 obtains project, task queue and the task execution link and menu hierarchy mark that execute task.Task It executes link and menu hierarchy mark is previously stored in assignment database.Task execution link can be and starting execution task Or the corresponding link of execution processor of task queue or project, task execution link can also be comprising executing corresponding task team Processing parameter or parameter processing mode involved in column or execution task.Different execution tasks or task queue can be by same Execute processor operation, but processing parameter involved in the different corresponding task execution links of execution task or task queue Difference, thus even if same execution processor executes multiple execution tasks or task queue, obtained processing result and will not occur Disorder.
Menu hierarchy mark can embody project, task queue and execute the subordinate relation between task three.Menu layer The regular character string that grade mark can be formed with long number and/or multiple letters, for example, when project includes multiple tasks queue, When task queue includes multiple execution tasks, the menu hierarchy mark of project can be 01, the dish of the task queue under the project Monohierarchy mark can be 011,012,013 etc., the menu hierarchy of the task under 011 task queue mark can be 0111, 0112,0113 etc..
Step 304, task execution link is associated setting with the task choosing option.
Task execution link and task choosing option are associated setting by server 104.Specifically, server 104 will The relationship of task execution link and task choosing option is stored.
Step 306, according to the classification node of the menu hierarchy identity validation multistage task menu.
Server 104 identifies the classification node for determining multistage task menu according to menu hierarchy.Server 104 is according to menu Hierarchical identification determines the mark rule that setting menu hierarchy identifies, and identifies project, task queue and execution according to mark rule Task, and subordinate relation from each other, and classification node is set up according to subordinate relation.For example, working as the menu hierarchy of project Mark is 01, and the menu hierarchy mark of the task queue under the project is 011,012,013 etc., appointing under 011 task queue Whens the menu hierarchy mark of business is 0111,0112,0113 etc., server identifies the menu hierarchy of the task of determination according to menu hierarchy Mark is by K0+K1The menu hierarchy mark of double figures value composition altogether, task queue is by K0+K1+K2Totally three bit digitals composition and It successively arranges according to size order, the menu hierarchy mark for executing task is by K0+K1+K2+K3Altogether 4-digit number composition and according to Size order is successively arranged.
That is, the menu hierarchy of M grades of task menus is identified by K0+…+KM-1+KMBit digital forms and according to size Sequence is successively arranged, and M is positive integer, K0+…+KM-1Bit digital is used to indicate the menu hierarchy mark of the parent menu of M grades of menus Knowing and having the consistent task choosing option of the mark is the classification node of multistage task menu, KMBit digital is for indicating M The position of task execution option in grade task menu.
Step 308, the task choosing option is arranged based on the classification node to obtain multistage task menu.
Server 104 is based on classification node and is arranged to obtain multistage task menu to task choosing option.Server 104 It is arranged, is constructed more in the position of blank menu based on classification node according to the corresponding menu hierarchy mark of task choosing option Grade task menu.Server 104 can first show the further menu of the task choosing option with project.It when the user clicks or will When mouse moves on to the task choosing option of project, server shows the second-level menu of the task choosing option with task queue. When moving on to the task choosing option of task queue when the user clicks or by mouse, server shows that the task with execution task is selected Select the three-stage menu of option.
In above-mentioned project fault display method, for project, task queue and the heterogeneity of task is executed in multistage times It is shown respectively in business menu, the menu bar in system is greatly reduced, so that interface becomes simple to operation.And it can be with Different display conditions is designed on the display page to meet the needs of users.
In one embodiment, as shown in figure 4, executing duration generation event according to the current execution duration and described estimate Hinder judging result, have follow steps:
Step 402, duration generation duration comparison result is executed by comparing the current execution duration and described estimate.
Server 104, which is currently executed duration by comparison and estimated, executes duration generation duration comparison result.Time length ratio pair As a result it can be the time length ratio pair of execution task as a result, being also possible to the duration comparison result of task queue.It is tied when duration compares When fruit is the duration comparison result of task queue, what the current execution duration of task queue can be under the task queue all is held The statistical value of the current execution duration of row task;What the estimating of task queue executed that duration can be under the task queue all holds Row task estimates the statistical value for executing duration.
Specifically, when server 104 can calculate current execution duration with estimating the duration difference for executing duration, and calculating Long difference executes the difference ratio of duration with estimating.Then, server generates duration comparison result according to the size of difference ratio. Generally, difference ratio is bigger, and the probability for executing task failure is also bigger, and the two is to be positively correlated.For example, the task of execution is worked as A length of 10s when preceding execution estimates a length of 20s when execution, and the duration difference that server 104 calculates is 10s, and calculates duration difference It is 50% with the difference ratio for executing duration is estimated, the duration comparison result that server generates is " to execute the current execution of task Duration is 10s with the duration difference for executing duration is estimated, and duration difference is 50% with the difference ratio for executing duration is estimated, and is executed The probability that task breaks down is 50% ".
Step 404, detection executes the execution processor of the task queue and the execution task and obtains testing result.
The detection of server 104 executes task queue and executes the execution processor of task and obtain testing result.Server Random packet instruction can be generated, and send random packet instruction to processor is executed, execute processor and referred to according to random packet It enables and generates random packet, and random packet is sent to server.Server determines whether random packet instructs with random packet It is corresponding.When random packet and random packet instruct to it is corresponding when server generate the execution normal testing result of processor;When random Message and random packet instruct not to it is corresponding when server generate the testing result of execution processor exception.
Step 406, breakdown judge result is generated according to the duration comparison result and the testing result.
Server 104 generates breakdown judge result according to duration comparison result and testing result.Server can be to duration Comparison result and testing result are integrated, and breakdown judge result is obtained.When the probability of malfunction value in duration comparison result is less than When predetermined probability value and testing result are that execution processor is normal, server, which generates, executes the trouble-free breakdown judge of task run As a result;It is that execution processor is different when the probability of malfunction value in duration comparison result is greater than in predetermined probability value and/or testing result Chang Shi, server generate the breakdown judge result for executing task run failure.For example, the duration comparison result of the task of execution is It " executes the current execution duration of task and to estimate the duration difference for executing duration is 0s, duration difference executes duration with estimating Difference ratio is 0%, and executing the probability that task breaks down is 0% ", when testing result is " it is abnormal to execute processor ", service The breakdown judge result that device generates is " executing task run failure ".
In above-mentioned project fault display method, not only by comparing the current execution duration and described estimating execution duration Time length ratio pair is generated as a result, also detecting to the execution processor for executing each execution task, obtained breakdown judge result is more Add comprehensively, user is facilitated to quickly cope with the failure of appearance, when saving the runing time again of project, shortening the waiting of user Between.
In some embodiments, the task choosing option and the corresponding failure of the multistage task menu are sentenced Disconnected result is associated display, comprising the following steps: establishes between the task choosing option and the breakdown judge result Mapping relations;The corresponding failure of each task choosing option is shown in the multistage task menu according to the mapping relations Judging result.
Server 104 is according to execution task corresponding with task choosing option and breakdown judge result or task queue or item Mesh establishes the mapping relations of task choosing option and breakdown judge result.Initial value in mapping relations is task choosing option, is reflected Penetrating value is breakdown judge result.Server shows that each task choosing option is corresponding according to mapping relations in multistage task menu Breakdown judge result.Server can in multistage task menu simultaneously show task choosing option and breakdown judge as a result, Breakdown judge result can be shown according to the needs of users.
In another embodiment, as shown in figure 5, the task choosing option to the multistage task menu and corresponding The breakdown judge result is associated after display, and method also has follow steps:
Step 502, the goal task that selection executes is obtained by the multistage task menu, executes the goal task.
Server 104 passes through multistage task menu and obtains the goal task that selection executes, and performance objective task.User can It is checked one by one with the breakdown judge result to the execution task, task queue and the project that are shown in multistage task menu, And the task choosing option in multistage task menu is chosen as needed.User can click the progress of task choosing option It chooses.Server 104 can obtain the task choosing option chosen by multistage task menu, obtain from task choosing option Goal task, and control and execute processor performance objective task.
Step 504, it when detecting that the goal task executes completion, obtains the failure message of the goal task and holds Row message.
When server 104 detect goal task execute complete when, server 104 obtain goal task failure message and Execute message.Failure message be extracted from the project message for detecting the project to break down it is corresponding with goal task Message segment.Executing message is the message generated when executing processor performance objective task.
Step 506, the failure message and the execution message are compared and generate task action result.
Server 104 is compared failure message and execution message and generates task action result.Server 104 The content that every line code that identification is out of order in message and execution message refers to, and the content that will identify that is compared one by one. When the content of the two is consistent, server generates the task action result that goal task executes failure;When the two content is inconsistent When, server generates the task action result that goal task runs succeeded.
Step 508, the task choosing option of the goal task and the task action result are associated aobvious Show.
The task choosing option and task action result of goal task are associated display by server 104.Server is true Determine the connection between task choosing option and task action result, shows that task choosing is selected in multistage task menu according to connection Item and task action result.Server can establish the mapping relations of task choosing option and task action result or correspond to and closes System etc..
In above-mentioned project fault display method, server judges the task action result of goal task, and obtains Task action result and task choosing option are associated display, not only allow user rapid by task action result, server The executive condition for solving goal task also allows user to determine individually fortune rapidly according to position of the goal task in multistage task menu The reason of row goal task and purpose improve the efficiency of project.
In another embodiment, the goal task that selection executes is obtained by the multistage task menu, described in execution Goal task, comprising: the task choosing option chosen is obtained by the multistage task menu;From the task choosing chosen Parsing obtains goal task in option;Starting links corresponding hold with the associated task execution of task choosing option chosen Row processor;It controls the execution processor and executes the goal task.
Server 104 passes through multistage task menu and obtains the task choosing option chosen, and server is not only appointed from what is chosen Parsing obtains goal task in business selection option, obtains associated task execution also according to task choosing option and links.Server The execution parameter etc. that performance objective task needs can be obtained from task execution link.Server starting is linked with task execution Corresponding execution processor, and control and execute processor according to execution parameter performance objective task.
When the goal task parsed can be independently performed, task execution link is that only starting executes the goal task Execution processor link.When the goal task can not be independently performed, there are when first or posterior associated task, task Executing link is to start the link of the execution processor of goal task and associated task.
In above-mentioned project fault display method, associated task execution chain is obtained according to selected task choosing option It connects, goal task and associated task is selectively carrying out according to task execution link, reduced because user lacks goal task Solution causes goal task to execute the case where failing again.
In some embodiments, method is further comprising the steps of: obtaining task process inquiry instruction;From the job enquiry Task to be checked is extracted in instruction;Obtain the current implementation progress of the task to be checked;In the multistage task menu Show the current implementation progress.
The available task process inquiry instruction of server 104.Task process inquiry instruction refers to in multistage task dish The order that task to be checked in list is inquired.The task process inquiry instruction that the available terminal of server is sent.Eventually The voice messaging or text information of 102 available user's inputs are held, and is gone out on missions according to voice messaging or text information identification Process inquiry instruction.Terminal 102 can also obtain task process inquiry according to the click action that user executes on the terminal 102 and refer to It enables.
Server 104 extracts task to be checked from job enquiry instruction, and acquisition is to be checked from executing processor The current implementation progress of task.Current implementation progress may include task to be checked whether executed, implementation progress, when waiting It is long etc..Server determines position of the task to be checked in multistage task menu, and at the corresponding position of multistage task menu Show current implementation progress.Above step can be implemented before the execution failure for the project that detects, can also be in performance objective Implement after task.
In above-mentioned project fault display method, user can input task to be checked at any time, understand task to be checked into Degree, so as to timely adjusted iterm.
It should be understood that although each step in the flow chart of Fig. 2-5 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-5 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in fig. 6, providing a kind of project fault display device, comprising: fault detection obtains Module 602 executes duration acquisition module 604, result option generation module 606 and is associated with display module 608, in which:
Fault detection obtains module 602, for obtaining the task team of the project when the execution failure for the project that detects Execution task in column and the task queue.
It executes duration and obtains module 604, when for obtaining the current execution duration of each execution task and estimate execution It is long.
As a result option generation module 606, for executing duration generation event according to the current execution duration and described estimate Hinder judging result, and task choosing option is generated according to the project, the task queue and the execution task, according to described Task choosing option generates multistage task menu.
It is associated with display module 608, for the task choosing option to the multistage task menu and corresponding described Breakdown judge result is associated display.
In another embodiment, menu formation module 608 includes that link and mark acquiring unit, link and option setting are single Member, node determination unit and menu arrangement unit, in which:
Link and mark acquiring unit, for obtaining the task of the project, the task queue and the execution task Execute link and menu hierarchy mark.
Link and Option setting unit are set for task execution link to be associated with the task choosing option It sets.
Node determination unit, for the classification node according to the menu hierarchy identity validation multistage task menu.
Menu arrangement unit obtains multistage appoint for being arranged based on the classification node to the task choosing option Business menu.
In another embodiment, judging result generation module 606 includes duration comparing unit, processor detection unit and sentences Disconnected result generation unit, in which:
Duration comparing unit, for executing duration generation time length ratio by comparing the current execution duration and described estimate To result.
Processor detection unit, for detecting the execution processor of the execution task queue and the execution task and obtaining To testing result.
Judging result generation unit, for generating breakdown judge knot according to the duration comparison result and the testing result Fruit.
In some embodiments, association display module 610 includes that unit and option fault display unit are established in mapping, In:
Unit is established in mapping, and the mapping for establishing between the task choosing option and the breakdown judge result is closed System.
Option fault display unit, for showing each described in the multistage task menu according to the mapping relations The corresponding breakdown judge result of business selection option.
In another embodiment, device further includes goal task execution module, Receive message module, message comparison analysis mould Block and option execute display module, in which:
Goal task execution module is executed for obtaining the goal task that selection executes by the multistage task menu The goal task.
Receive message module, for obtaining the event of the goal task when detecting that the goal task executes completion Hinder message and executes message.
Message compares analysis module, appoints for being compared and generating to the failure message and the execution message Business implementing result.
Option executes display module, for by the task choosing option and the task execution knot of the goal task Fruit is associated display.
In some embodiments, goal task execution module includes that option acquiring unit, task resolution unit, processor open Moving cell and task executing units, in which:
Option acquiring unit, for obtaining the task choosing option chosen by the multistage task menu.
Task resolution unit obtains goal task for parsing from the task choosing option chosen.
Processor start unit, for start linked with the associated task execution of task choosing option chosen it is corresponding Execution processor.
Task executing units execute the goal task for controlling the execution processor.
In some embodiments, device further includes that inquiry instruction obtains module, task extraction module to be checked, implementation progress Obtain module and implementation progress display module, in which:
Inquiry instruction obtains module, for obtaining task process inquiry instruction.
Task extraction module to be checked, for extracting task to be checked from job enquiry instruction.
Implementation progress obtains module, for obtaining the current implementation progress of the task to be checked.
Implementation progress display module, for showing the current implementation progress in the multistage task menu.
Specific about project fault display device limits the limit that may refer to above for project fault display method Fixed, details are not described herein.Modules in above-mentioned project fault display device can fully or partially through software, hardware and its Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding Operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 7.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment is assignment database, executes data, such as storage task queue corresponding with project for store tasks With the task of execution, it is also stored with menu hierarchy mark, each the executing task of the task set up according to the subordinate relation between three Execute link.The network interface of the computer equipment is used to communicate with external terminal by network connection.The computer program To realize a kind of project fault display method when being executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 7, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with Computer program, the processor perform the steps of when executing computer program
When the execution failure for the project that detects, holding in the task queue and the task queue of the project is obtained Row task;
It obtains the current execution duration of each execution task and estimates execution duration;
Duration generation breakdown judge is executed as a result, and according to the item according to the current execution duration and described estimate Mesh, the task queue and the execution task generate task choosing option, generate multistage appoint according to the task choosing option Business menu;
The task choosing option and the corresponding breakdown judge result of the multistage task menu are associated Display.
In one embodiment, it is realized when processor executes computer program and multistage is generated according to the task choosing option It when the step of task menu, is also used to: obtaining the task execution link of the project, the task queue and the execution task It is identified with menu hierarchy;Task execution link is associated setting with the task choosing option;According to the menu Hierarchical identification confirms the classification node of multistage task menu;It is arranged based on the classification node to the task choosing option Obtain multistage task menu.
In one embodiment, it realizes when processor executes computer program according to the current execution duration and described pre- Estimate when executing duration and generating the step of breakdown judge result, be also used to: by comparing the current execution duration and described estimating It executes duration and generates duration comparison result;Detection executes the execution processor of the task queue and the execution task and obtains Testing result;Breakdown judge result is generated according to the duration comparison result and the testing result.
In one embodiment, the task to the multistage task menu is realized when processor executes computer program When selection option and the corresponding breakdown judge result are associated the step of display, it is also used to: establishes the task choosing Mapping relations between option and the breakdown judge result;It is shown in the multistage task menu according to the mapping relations The corresponding breakdown judge result of each task choosing option.
In one embodiment, it realizes and is executed to described in the multistage task menu when processor executes computer program After the step of task choosing option and the corresponding breakdown judge result are associated display, it is also used to: by described more Grade task menu obtains the goal task that selection executes, and executes the goal task;When detecting that the goal task executed Cheng Shi obtains the failure message of the goal task and executes message;The failure message and the execution message are compared To analyzing and generate task action result;By the task choosing option of the goal task and the task action result into Row association display.
In one embodiment, it is realized when processor executes computer program and selection is obtained by the multistage task menu The goal task of execution is also used to when executing the step of the goal task: being chosen by the multistage task menu acquisition Task choosing option;Parsing obtains goal task from the task choosing option chosen;Starting and choosing for the task The associated task execution of option is selected to link corresponding execution processor;It controls the execution processor and executes the target times Business.
In one embodiment, it is also performed the steps of when processor executes computer program and obtains task process inquiry Instruction;Task to be checked is extracted from job enquiry instruction;Obtain the current implementation progress of the task to be checked;? The current implementation progress is shown in the multistage task menu.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
When the execution failure for the project that detects, holding in the task queue and the task queue of the project is obtained Row task;
It obtains the current execution duration of each execution task and estimates execution duration;
Duration generation breakdown judge is executed as a result, and according to the item according to the current execution duration and described estimate Mesh, the task queue and the execution task generate task choosing option, generate multistage appoint according to the task choosing option Business menu;
The task choosing option and the corresponding breakdown judge result of the multistage task menu are associated Display.
In one embodiment, it is realized when computer program is executed by processor more according to task choosing option generation It is also used to when the step of grade task menu: obtaining the task execution chain of the project, the task queue and the execution task It connects and is identified with menu hierarchy;Task execution link is associated setting with the task choosing option;According to the dish The classification node of monohierarchy identity validation multistage task menu;The task choosing option is arranged based on the classification node Cloth obtains multistage task menu.
In one embodiment, computer program is realized when being executed by processor according to the current execution duration and described It estimates to execute when duration generates the step of breakdown judge result and be also used to: by comparing the current execution duration and described estimating It executes duration and generates duration comparison result;Detection executes the execution processor of the task queue and the execution task and obtains Testing result;Breakdown judge result is generated according to the duration comparison result and the testing result.
In one embodiment, it realizes when computer program is executed by processor and appoints to described in the multistage task menu Business selection option and the corresponding breakdown judge result are also used to when being associated the step of display: establishing the task choosing Mapping relations between option and the breakdown judge result;It is shown in the multistage task menu according to the mapping relations The corresponding breakdown judge result of each task choosing option.
In one embodiment, it realizes when computer program is executed by processor and appoints to described in the multistage task menu It is also used to after the step of business selection option and the corresponding breakdown judge result are associated display: by described multistage Business menu obtains the goal task that selection executes, and executes the goal task;When detecting that the goal task executes completion, It obtains the failure message of the goal task and executes message;The failure message and the execution message are compared And generate task action result;The task choosing option of the goal task and the task action result are associated Display.
In one embodiment, it is realized when computer program is executed by processor and choosing is obtained by the multistage task menu The goal task for selecting execution is also used to when executing the step of the goal task: being chosen by the multistage task menu acquisition Task choosing option;Parsing obtains goal task from the task choosing option chosen;Starting and times chosen The associated task execution of business selection option links corresponding execution processor;It controls the execution processor and executes the target times Business.
In one embodiment, acquisition task process is also performed the steps of when computer program is executed by processor to look into Ask instruction;Task to be checked is extracted from job enquiry instruction;Obtain the current implementation progress of the task to be checked; The current implementation progress is shown in the multistage task menu.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of project fault display method, which comprises
When the execution failure for the project that detects, the execution obtained in the task queue and the task queue of the project is appointed Business;
It obtains the current execution duration of each execution task and estimates execution duration;
Duration generation breakdown judge is executed as a result, and according to the project, institute according to the current execution duration and described estimate It states task queue and the execution task generates task choosing option, multistage task dish is generated according to the task choosing option It is single;
Display is associated to the task choosing option and the corresponding breakdown judge result of the multistage task menu.
2. the method according to claim 1, wherein described generate multistage task according to the task choosing option Menu, comprising:
Obtain the task execution link and menu hierarchy mark of the project, the task queue and the execution task;
Task execution link is associated setting with the task choosing option;
According to the classification node of the menu hierarchy identity validation multistage task menu;
The task choosing option is arranged based on the classification node to obtain multistage task menu.
3. the method according to claim 1, wherein described hold according to the current execution duration and described estimate Row duration generates breakdown judge result, comprising:
Duration generation duration comparison result is executed by comparing the current execution duration and described estimate;
Detection executes the execution processor of the task queue and the execution task and obtains testing result;
Breakdown judge result is generated according to the duration comparison result and the testing result.
4. the method according to claim 1, wherein the task choosing to the multistage task menu Option and the corresponding breakdown judge result are associated display, comprising:
Establish the mapping relations between the task choosing option and the breakdown judge result;
The corresponding breakdown judge of each task choosing option is shown in the multistage task menu according to the mapping relations As a result.
5. the method according to claim 1, wherein the task choosing to the multistage task menu Option and the corresponding breakdown judge result are associated after display, comprising:
The goal task that selection executes is obtained by the multistage task menu, executes the goal task;
When detecting that the goal task executes completion, obtains the failure message of the goal task and execute message;
The failure message and the execution message are compared and generate task action result;
The task choosing option of the goal task and the task action result are associated display.
6. according to the method described in claim 5, it is characterized in that, described obtain selection execution by the multistage task menu Goal task, execute the goal task, comprising:
The task choosing option chosen is obtained by the multistage task menu;
Parsing obtains goal task from the task choosing option chosen;
Starting links corresponding execution processor with the associated task execution of task choosing option chosen;
It controls the execution processor and executes the goal task.
7. the method according to claim 1, wherein the method also includes:
Obtain task process inquiry instruction;
Task to be checked is extracted from job enquiry instruction;
Obtain the current implementation progress of the task to be checked;
The current implementation progress is shown in the multistage task menu.
8. a kind of project fault display device, which is characterized in that described device includes:
Fault detection obtains module, for when the execution failure for the project that detects, obtaining task queue and the institute of the project State the execution task in task queue;
It executes duration and obtains module, for obtaining the current execution duration of each execution task and estimating execution duration;
As a result option generation module, for executing duration generation breakdown judge knot according to the current execution duration and described estimate Fruit, and task choosing option is generated according to the project, the task queue and the execution task, according to the task choosing Option generates multistage task menu;
It is associated with display module, for the task choosing option and the corresponding breakdown judge to the multistage task menu As a result it is associated display.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201910460612.1A 2019-05-30 2019-05-30 Project fault display method, device, computer equipment and storage medium Active CN110334905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910460612.1A CN110334905B (en) 2019-05-30 2019-05-30 Project fault display method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910460612.1A CN110334905B (en) 2019-05-30 2019-05-30 Project fault display method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110334905A true CN110334905A (en) 2019-10-15
CN110334905B CN110334905B (en) 2023-06-23

Family

ID=68140610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910460612.1A Active CN110334905B (en) 2019-05-30 2019-05-30 Project fault display method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110334905B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101198037A (en) * 2008-01-03 2008-06-11 中兴通讯股份有限公司 Method for managing monitor video
CN101593137A (en) * 2008-05-28 2009-12-02 英业达股份有限公司 Error-detecting method
CN106293975A (en) * 2015-05-26 2017-01-04 联想(北京)有限公司 Information processing method, information processor and information processing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101198037A (en) * 2008-01-03 2008-06-11 中兴通讯股份有限公司 Method for managing monitor video
CN101593137A (en) * 2008-05-28 2009-12-02 英业达股份有限公司 Error-detecting method
CN106293975A (en) * 2015-05-26 2017-01-04 联想(北京)有限公司 Information processing method, information processor and information processing system

Also Published As

Publication number Publication date
CN110334905B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN110209652B (en) Data table migration method, device, computer equipment and storage medium
CN108874926A (en) Mass data inquiry method, device, computer equipment and storage medium
CN109542428A (en) Method for processing business, device, computer equipment and storage medium
CN108933993A (en) Short message buffer queue selection method, device, computer equipment and storage medium
CN110738389A (en) Workflow processing method and device, computer equipment and storage medium
CN104951340A (en) Information processing method and device
CN111176767B (en) Table data processing method, apparatus, computer device and storage medium
CN110689232A (en) Workflow configuration optimization processing method and device and computer equipment
CN105335224A (en) Application switching method and apparatus
CN110908837B (en) Application program exception handling method and device, electronic equipment and storage medium
CN110717647A (en) Decision flow construction method and device, computer equipment and storage medium
CN110471585A (en) Function of application icon methods of exhibiting, device and computer equipment
CN107688488A (en) A kind of optimization method and device of the task scheduling based on metadata
CN112612988A (en) Page processing method and device, computer equipment and storage medium
CN109325010A (en) Log inspection method, device, computer equipment and storage medium
CN109542719A (en) Thread state monitoring method and device, computer equipment and storage medium
CN111190727B (en) Asynchronous memory destructor method and device, computer equipment and storage medium
CN111459796B (en) Automated testing method, apparatus, computer device and storage medium
CN110334905A (en) Project fault display method, device, computer equipment and storage medium
CN116126719A (en) Interface testing method and device, electronic equipment and storage medium
CN109299910A (en) Data summarization method, device, computer equipment and storage medium
Dai et al. An improved straggler identification scheme for data-intensive computing on cloud platforms
CN114756468A (en) Test data creating method, device, equipment and storage medium
CN111680478B (en) Report generation method, device, equipment and storage medium based on configuration software
CN111966506B (en) Content sharing method based on different application programs and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant