CN109725785A - Task execution situation method for tracing, device, equipment and readable storage medium storing program for executing - Google Patents

Task execution situation method for tracing, device, equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109725785A
CN109725785A CN201810441205.1A CN201810441205A CN109725785A CN 109725785 A CN109725785 A CN 109725785A CN 201810441205 A CN201810441205 A CN 201810441205A CN 109725785 A CN109725785 A CN 109725785A
Authority
CN
China
Prior art keywords
task
execution
dependence
goal task
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810441205.1A
Other languages
Chinese (zh)
Inventor
丁家琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201810441205.1A priority Critical patent/CN109725785A/en
Publication of CN109725785A publication Critical patent/CN109725785A/en
Pending legal-status Critical Current

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a kind of task execution situation method for tracing, device, equipment and readable storage medium storing program for executing, the method comprising the steps of: when detect obtain insurance reserve correspond to the acquisition instruction of goal task executive condition after, goal task is obtained according to acquisition instruction, and there are the dependence task of dependence with goal task for acquisition;Determine goal task and the dependence task corresponding display figure in display interface;The goal task and the dependence task are connected by the display figure according to the dependence between the goal task and the dependence task;It obtains goal task corresponding first and executes state and the corresponding second execution state of dependence task;According to the display pattern for showing figure in the first execution state and the second corresponding control display interface of execution state, so that user checks.The present invention improves the accuracy rate for calculating resulting insurance reserve, and improves the efficiency for calculating insurance reserve.

Description

Task execution situation method for tracing, device, equipment and readable storage medium storing program for executing
Technical field
The present invention relates to financial technology field more particularly to a kind of task execution situation method for tracing, device, equipment and can Read storage medium.
Background technique
Insurance reserve refers to that insurance artificially guarantees that it such as from about fulfils insurance indemnity or payment obligation, according to the related method of government Rule regulation or business specific needs, that extracts from premium incomes or surplus is corresponding with the insurance responsibility that it is undertaken certain The fund of quantity.The calculating of insurance reserve be monthly the beginning of the month calculated according to the executive condition that last month declaration form corresponds to task, The calculating of insurance reserve is related to the autotask on many backstages, is related to the data of disparate databases, may between each task There can be dependence.It is after needing to calculate separately the corresponding each task of declaration form, just during calculating insurance reserve It can obtain final insurance reserve.But the executive condition of each task needed for calculating process requires manually to go data Library background query then by processing of manually summarizing, and can not manually determine the dependence between each task, to lead Cause the accuracy rate for calculating resulting insurance reserve low.
Summary of the invention
The main purpose of the present invention is to provide a kind of task execution situation method for tracing, device, equipment and readable storages Medium, it is intended to solve existing during calculating insurance reserve, need manually to go inquiry declaration form to correspond to holding for each task Market condition can not determine the dependence between each task, low so as to cause the accuracy rate for calculating resulting insurance reserve Under technical problem.
To achieve the above object, the present invention provides a kind of task execution situation method for tracing, and the task execution situation chases after Track method comprising steps of
When detect obtain insurance reserve correspond to the acquisition instruction of goal task executive condition after, according to it is described obtain refer to It enables and obtains the goal task, and there are the dependence task of dependence with the goal task for acquisition;
Determine the goal task and the dependence task corresponding display figure in display interface;
Institute is connected by the display figure according to the dependence between the goal task and the dependence task State goal task and the dependence task;
Obtain the corresponding first execution state of the goal task and the corresponding second execution state of the dependence task;
State and described second, which is executed, according to described first executes display described in the corresponding control display interface of state The display pattern of figure, so that user checks.
Preferably, described to execute institute in state and the second execution state control display interface according to described first After the step of stating the display pattern for showing figure, being checked for user, further includes:
Obtain corresponding first execution journal of the goal task and corresponding second execution journal of the dependence task;
The goal task and the dependence are determined according to first execution journal and second execution journal are corresponding Execution duration, implementing result and execution data volume of the task in preset duration;
The execution duration, implementing result and execution data volume are displayed in the display interface, so that user checks.
Preferably, described to obtain corresponding first execution journal of goal task and the dependence task corresponding second After the step of execution journal, further includes:
It detects whether to detect the analysis instruction for analyzing first execution journal and second execution journal;
If detecting the analysis instruction, first execution journal and second execution journal are analyzed, is divided Analyse result;
If being determined in the goal task and/or the dependence task according to the analysis result there are abnormal task, The executive plan of the abnormal task is generated, to re-execute the abnormal task.
Preferably, it is described when detect obtain insurance reserve correspond to the acquisition instruction of goal task executive condition after, root The goal task is obtained according to the acquisition instruction, and there are the steps of the dependence task of dependence with the goal task for acquisition Suddenly include:
When detect obtain insurance reserve correspond to the acquisition instruction of goal task executive condition after, according to it is described obtain refer to It enables and obtains the goal task;
The dependence mark that the goal task carries is obtained, is obtained according to dependence mark and is existed with the goal task The dependence task of dependence.
Preferably, described the step of obtaining the goal task corresponding first execution state, includes:
It detects whether to get corresponding first execution journal of the goal task;
If first execution journal has not been obtained, it is determined that the goal task is in and is not carried out state;
If getting first execution journal, the status indicator in first execution journal is obtained;
If the status indicator is end of identification, it is determined that the goal task is in end state;
If the status indicator is abnormal mark, it is determined that the goal task is in abnormality;
If the status indicator is origin identification, it is determined that the goal task is in state in execution.
Preferably, if the status indicator is origin identification, it is determined that the goal task is in state in execution The step of include:
If the status indicator is origin identification, the session identification of the goal task is obtained;
If determining that the goal task is in active state according to the session identification, it is determined that the goal task is in State in execution.
Preferably, the display mould of figure is shown according to the corresponding control display interface of the first execution state Formula, the step of checking for user include:
If the first execution state is to be not carried out state, it is corresponding to control goal task described in the display interface Display graphical display is the first color, so that user checks;
If described first executes state as state in execution, it is corresponding to control goal task described in the display interface Display graphical display is the second color, so that user checks;
If described first executes state as end state, it is corresponding aobvious to control goal task described in the display interface Diagram shape is shown as third color, so that user checks;
If described first executes state as abnormality, it is corresponding aobvious to control goal task described in the display interface Diagram shape is shown as the 4th color, so that user checks.
In addition, to achieve the above object, the present invention also provides a kind of task execution situation follow-up mechanism, the task executions Situation follow-up mechanism includes:
Obtain module, for when detect acquisition insurance reserve correspond to the acquisition instruction of goal task executive condition after, The goal task is obtained according to the acquisition instruction, and there are the dependence task of dependence with the goal task for acquisition;
Determining module, for determining the goal task and the dependence task corresponding display figure in display interface Shape;
Link block, for being shown by described according to the dependence between the goal task and the dependence task Diagram shape connects the goal task and the dependence task;
The acquisition module is also used to obtain the corresponding first execution state of the goal task and the dependence task pair The the second execution state answered;
Control module executes corresponding control display circle of state for executing state and described second according to described first The display pattern of figure is shown described in face, so that user checks.
In addition, to achieve the above object, the present invention also provides a kind of task execution situation tracing equipment, the task executions Situation tracing equipment includes memory, processor and is stored in can running on the memory and on the processor for task Executive condition tracing program, the task execution situation tracing program realize task as described above when being executed by the processor The step of executive condition method for tracing.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium Task execution situation tracing program is stored on storage medium, it is real when the task execution situation tracing program is executed by processor Now the step of task execution situation method for tracing as described above.
The present invention is by the corresponding goal task of acquisition insurance reserve declaration form, and obtains to exist with goal task and rely on The dependence task of relationship, according to display figure in display interface of goal task and dependence task and goal task and according to Rely task between dependence linking objective task and dependence task, and according to goal task it is corresponding first execute state and The display module of figure is shown in the corresponding second execution state control display interface of dependence, so that user checks.It realizes Dependence between the execution state and each task of the corresponding each task of declaration form is displayed in the display interface, In order to which the executive condition that user can correspond to task with fast track declaration form is not required to very important person during calculating insurance reserve Work goes the executive condition of the corresponding each task of inquiry declaration form manually, improves the accuracy rate for calculating resulting insurance reserve, And improve the efficiency for calculating insurance reserve.
Detailed description of the invention
Fig. 1 is the flow diagram of task execution situation method for tracing first embodiment of the present invention;
Fig. 2 is the flow diagram of task execution situation method for tracing second embodiment of the present invention;
Fig. 3 is the flow diagram of task execution situation method for tracing 3rd embodiment of the present invention;
Fig. 4 is the functional schematic module map of task execution situation follow-up mechanism preferred embodiment of the present invention;
Fig. 5 is the structural schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of task execution situation method for tracing, and referring to Fig.1, Fig. 1 is that task execution situation of the present invention chases after The flow diagram of track method first embodiment.
The embodiment of the invention provides the embodiments of task execution situation method for tracing, it should be noted that although flowing Logical order is shown in journey figure, but in some cases, it can be to be different from shown or described by sequence execution herein The step of.
Task execution situation method for tracing can be applied in terminal, and terminal may include such as mobile phone, tablet computer, notes This computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), etc. mobile terminals, and The fixed terminals such as number TV, desktop computer.In each embodiment of task executive condition method for tracing, for the ease of Description, is illustrated each embodiment by executing subject of terminal.Task execution situation method for tracing includes:
Step S10, when detect obtain insurance reserve correspond to the acquisition instruction of goal task executive condition after, according to institute It states acquisition instruction and obtains the goal task, and there are the dependence task of dependence with the goal task for acquisition.
After terminal, which detects acquisition insurance reserve, corresponds to the acquisition instruction of goal task executive condition of declaration form, terminal Goal task is obtained according to the acquisition instruction, and there are the dependence task of dependence with goal task for acquisition.Wherein, this is obtained Instruction fetch can be triggered manually as needed by terminal user, can also be by the timed task automatic trigger in terminal.Goal task and The corresponding declaration form task of dependence task withholds premium etc. such as collection premium.
Terminal according to acquisition instruction obtain with goal task there are the processes of the dependence task of dependence can are as follows: terminal obtains The input data and output data of each task are taken, and detects the incidence relation between each input data and output data.When The output data of goal task is the input data of another task or the output data of another task is goal task It when input data, that is, can determine the missions and goals task there are dependence, determine that the task is corresponding with goal task Dependence task.
It should be noted that in the present embodiment, definable and dependence task is also target there are the task of dependence The dependence task of task.Such as when goal task is A1, the output data of A1 is the input data of task A2, the output number of task A2 According to the input data for task A3, terminal then determines that task A2 and A3 are the dependence task of goal task A1.
Further, when needing to calculate different types of insurance reserve, user can select in terminal display interface The executive condition that different type insurance reserve corresponds to task is obtained, to check that different type insurance reserve declaration form corresponds to task Executive condition.The type of insurance reserve includes but is not limited to required reserve and financial Reserve Fund.
Further, step S10 includes:
Step a, when detect obtain insurance reserve correspond to the acquisition instruction of goal task executive condition after, according to described Acquisition instruction obtains the goal task.
After terminal, which detects acquisition insurance reserve declaration form, corresponds to the acquisition instruction of goal task executive condition, terminal root Goal task is obtained according to acquisition instruction.Wherein, goal task is currently needing to be implemented for task.
Step b obtains the dependence mark that the goal task carries, is obtained according to dependence mark and appointed with the target There are the dependence task of dependence for business.
After terminal gets goal task, terminal obtains the dependence mark that goal task carries.Wherein, which identifies To pre-set.It should be noted that the dependence between each task is pre-set, therefore relied on existing In each task of relationship, all identified containing identical dependence.The specific manifestation form for relying on mark is not done in the present embodiment Concrete restriction.
After terminal gets the dependence mark of goal task carrying, terminal detection, which exists, carries appointing for dependence mark Business, and obtain the carrying dependence mark of the task.It is understood that carrying dependence mark task is to deposit with goal task In the dependence task of dependence.Wherein, in relying on mark, first character representation is there are the mark of dependence, and second The character representation task in position executes sequence in dependence.Such as when the dependence that goal task carries is identified as A1, terminal is then examined Survey the carrying mark " A " of the task.It is respectively such as " A2 " and " A3 " task when terminal detects two dependence task, terminal then determines this Two tasks are with goal task there are the dependence task of dependence, and holding between goal task and the two dependence task Row sequence is A1 → A2 → A3, that is, first carries out task A1, then execute task A2, finally executes task A3.
Step S20 determines the goal task and the dependence task corresponding display figure in display interface.
After terminal gets goal task and corresponding dependence task, terminal determines goal task and dependence task aobvious Show corresponding display figure in interface.Wherein, it shows that the concrete shape of figure is arranged according to specific needs, such as may be configured as Circle, or be set as rectangle etc..In the present embodiment, the corresponding display figure of goal task and dependence task can be set to Same figure, is such as both configured to circle;Different display figures can also be set for goal task and dependence task, such as by target The display figure of task is provided in round, and sets rectangle for the corresponding display figure of dependence task.It is understood that in order to It is checked convenient for user, shows that the size of figure can be arranged according to the display area of display interface, in the present embodiment to display The size of figure is not particularly limited.
Step S30 is schemed according to the dependence between the goal task and the dependence task by the display Shape connects the goal task and the dependence task.
After terminal determines goal task and dependence task corresponding display figure, terminal is appointed according to goal task and relying on Dependence linking objective task and dependence task between business.Appoint it should be noted that terminal determines goal task and relies on It after dependence between business, is determined according to the dependence and executes sequence between goal task and dependence task, according to holding Row sequence linking objective task and dependence task from front to back, i.e., be placed on front for first carrying out for task, by the task of rear execution It puts behind and is attached.During linking objective task and dependence task, in display interface, by goal task and dependence The corresponding display figure of task connects in a particular manner, such as can be corresponding by goal task and dependence task by arrow Display figure connects, or is connected the corresponding display figure of goal task and dependence task by connecting line.? During being connected the corresponding display figure of goal task and dependence task by arrow, it can be indicated by the arrow The sequencing that goal task and dependence task execute.
Step S40, obtains the corresponding first execution state of the goal task and the dependence task corresponding second is held Row state.
Terminal obtains goal task corresponding first and executes state and the corresponding second execution state of dependence task.Wherein, Terminal monitors the execution state of each task in real time.Execution state includes the state that is not carried out, state in execution, end state and different Normal state.Being not carried out state indicates that corresponding task is also inactive;State indicates that corresponding task is carrying out in execution;End state Indicate that corresponding task is successfully finished;Abnormality indicates that corresponding task execution is abnormal.
Further, obtaining the step of goal task corresponding first executes state includes:
Step c detects whether to get corresponding first execution journal of the goal task.
Further, it obtains goal task corresponding first in terminal to execute in state procedure, terminal is first in its memory In detect whether to get corresponding first execution journal of goal task.It should be noted that during performance objective task, The first execution journal corresponding with goal task can be generated, in the first execution journal, corresponding status indicator is carried, passes through The status indicator can determine the execution state of goal task.
Step d, if first execution journal has not been obtained, it is determined that the goal task is in and is not carried out state.
If terminal is had not been obtained in its memory to the first execution journal, the determining goal task of terminal, which is in, is not carried out shape State.Wherein, each task has corresponding identity, in execution journal, can carry the identity of corresponding task.Cause This terminal can find in memory the first execution journal by the corresponding identity of goal task.In the present embodiment not The form of expression for limiting identity, as long as different task can be distinguished.It is understood that when goal task is not held When row, then there is no corresponding first execution journal.
Step e obtains the status indicator in first execution journal if getting first execution journal.
If terminal gets the first execution journal, terminal obtains the status indicator in the first execution journal.Wherein, it is holding In row log, there is specific character string to be used to indicate status indicator.In the present embodiment, there are three types status indicators, respectively For end of identification, abnormal mark and origin identification.If available " 00 " indicates end of identification, " 11 " indicate origin identification, " 10 " table Show abnormal mark.
Step f, if the status indicator is end of identification, it is determined that the goal task is in end state.
After terminal gets status indicator, terminal judges the type of status indicator.If status indicator is end of identification, eventually End then determines that goal task is in end state.
Step g, if the status indicator is abnormal mark, it is determined that the goal task is in abnormality.
If terminal determines status indicator as abnormal mark, terminal determines that goal task is in abnormality.
Step h, if the status indicator is origin identification, it is determined that the goal task is in state in execution.
If terminal determines that status indicator is origin identification, terminal determines that goal task is in state in execution.
It should be noted that when performance objective task, terminal can generate corresponding with goal task in starting goal task First execution journal, at this point, the corresponding state of execution journal can be arranged to carry out to middle state, corresponding status indicator is set as Origin identification;After goal task successful execution, status modifier in execution is end state by terminal, and corresponding status indicator is repaired It is changed to end of identification;When goal task is abnormal in the process of implementation, status modifier in execution can be abnormality by terminal, right The status indicator answered is revised as abnormal mark.
Further, step h includes:
Step h1 obtains the session identification of the goal task if the status indicator is origin identification.
Further, when goal task stopped in the process of implementation halfway, the status indicator in the first execution journal is Origin identification.It therefore, is that midway stopped to distinguish goal task in the process of implementation, during being still carrying out, when Terminal determines that status indicator is after origin identification, and the corresponding session identification of terminal acquisition goal task is determining according to session identification Goal task is that state is in halted state in executing.Wherein, session identification be between terminal and server not Therefore the request response sequence of interruption can determine that goal task is that state is in executing by session identification Halted state.
Step h2, if determining that the goal task is in active state according to the session identification, it is determined that the target Task is in state in execution.
If terminal determines that goal task is in active state according to session identification, terminal determines that goal task is in and executes Middle state.Further, if terminal determines that goal task is in halted state according to session identification, terminal determines goal task In halted state, determine that goal task is in abnormality.Wherein, the form of expression of session identification can be preset.Such as may be used It is set as indicating that goal task is in active state when session identification is " 1 ";When session identification is " 0 ", indicate that target is appointed Business is in halted state.
It executes the process of state it should be noted that terminal obtains dependence task corresponding second and obtains goal task pair The process that first answered executes state is similar, repeats no more in the present embodiment.
Step S50 executes state and described second according to described first and executes in the corresponding control display interface of state The display pattern of the display figure, so that user checks.
After terminal gets the corresponding first execution state of goal task and dependence task corresponding second execution state, The display pattern that terminal executes the corresponding display figure of goal task in state control display interface according to first, and according to second Execution state controls the display pattern of the corresponding display figure of dependence task in display interface, so that user checks.In this implementation In example, display pattern be the display color for showing figure, and a kind of display color is a kind of display pattern.Further, it can also incite somebody to action Display pattern is set as the display shape of display figure, and a kind of display shape is a kind of display pattern.
Further, step S50 includes:
Step i controls goal task described in the display interface if the first execution state is to be not carried out state Corresponding display graphical display is the first color, so that user checks.
If terminal determines that the first execution state is to be not carried out state, it is corresponding that terminal controls goal task in display interface Display graphical display is the first color, so that user checks.In the present embodiment, the first color is grey.
Step j controls goal task described in the display interface if described first executes state as state in execution Corresponding display graphical display is the second color, so that user checks.
If terminal determines the first execution state as state in execution, it is corresponding that terminal controls goal task in display interface Display graphical display is the second color, so that user checks.In the present embodiment, the second color is blue.
Step k controls goal task pair described in the display interface if described first executes state as end state The display graphical display answered is third color, so that user checks.
If terminal determines the first execution state as state in execution, it is corresponding that terminal controls goal task in display interface Display graphical display is third color, so that user checks.In the present embodiment, third color is green.
Step l controls goal task pair described in the display interface if described first executes state as abnormality The display graphical display answered is the 4th color, so that user checks.
If terminal determines that the first execution state is abnormality, it is corresponding aobvious that terminal controls goal task in display interface Diagram shape is shown as the 4th color, so that user checks.In the present embodiment, the 4th color is red.
Wherein, the first color, the second color, third color and the corresponding specific color of the 4th color are not restricted to above-mentioned Described four kinds of colors.The present embodiment does not do the specific color of the first color, the second color, third color and the 4th color Limitation.It is understood that can also have four kinds of differences when different display modes correspond to the display figure of different display shapes Shape display figure, such as corresponding four kinds of states are respectively present rectangle, circle, triangle and oval four kinds of display figures.
It should be noted that terminal executes the corresponding display figure of dependence task in state control display interface according to second The process of display pattern and the display pattern for executing the corresponding display figure of goal task in state control display interface according to first Process it is similar, repeat no more in the present embodiment.
The present embodiment by obtaining the corresponding goal task of insurance reserve declaration form, and obtain with goal task exist according to The dependence task for the relationship of relying, according to display figure in display interface of goal task and dependence task and goal task and Dependence linking objective task and dependence task between dependence task, and state is executed according to goal task corresponding first The display module of figure is shown in the second execution state control display interface corresponding with dependence, so that user checks.It is real Show and has shown the dependence between the execution state and each task of the corresponding each task of declaration form in display interface In, in order to which the executive condition that user can correspond to task with fast track declaration form does not need during calculating insurance reserve The executive condition for manually going the corresponding each task of inquiry declaration form, improves and calculates the accurate of resulting insurance reserve Rate, and improve the efficiency for calculating insurance reserve.
Further, task execution situation method for tracing second embodiment of the present invention is proposed.
The task execution situation method for tracing second embodiment and the task execution situation method for tracing first are implemented The difference of example is, referring to Fig. 2, task execution situation method for tracing further include:
Step S60, obtains corresponding first execution journal of the goal task and the dependence task corresponding second is held Row log.
Corresponding first execution journal of goal task and dependence task corresponding second execution day are obtained when terminal detects After the acquisition instruction of will, terminal obtains the identity of goal task according to the acquisition instruction, according to the identity mark of goal task Know and obtain the first execution journal, and obtain the identity of dependence task, obtains second according to the identity of dependence task and hold Row log.In the present embodiment, after terminal generates execution journal, execution journal can be stored to dedicated for the storage execution day In the database of will.When needing to be implemented log, terminal can obtain the corresponding execution day according to identity from the database Will.It should be noted that in the database, there may be multiple execution journal for a task.Therefore, terminal can be appointed by target Business identity corresponding with dependence task determines goal task and the corresponding execution journal of dependence task.Acquisition instruction can by with Family is triggered as needed, also by terminal according to timed task clocked flip.
Step S70, according to first execution journal and second execution journal it is corresponding determine the goal task and Execution duration, implementing result and execution data volume of the dependence task in preset duration.
After terminal gets the first execution journal and the second execution journal, the first execution journal of terminal analysis, first Execution duration, execution data volume and implementing result of the goal task in preset duration are obtained in execution journal;And analyze second Execution journal obtains execution duration, execution data volume and execution of the dependence task in preset duration in the second execution journal As a result.Wherein, preset duration is arranged according to specific needs.It such as may be configured as 5 days, 10 days or 30 days etc..Implementing result Including two kinds, respectively executes normally and execute exception.When some corresponding task of declaration form is in state or end in execution When state, it is normal to execute to show the corresponding implementing result of the task;When some corresponding task of declaration form be in abnormality or When person's halted state, show that the corresponding implementing result of the task is to execute exception.Executing data volume is the target in preset duration The number that task and dependence task are performed.What a length of goal task and dependence task were performed in preset duration when execution is total Duration, and the duration being performed each time.
Further, if finding the first execution journal that goal task is in end state, but target is not found and is appointed Business is in the first execution journal of initial state, and determines that goal task has been in taboo according to the corresponding session identification of goal task Only state, terminal then determine that goal task is in abnormality, and corresponding implementing result is to execute exception.It should be noted that Determine whether the corresponding implementing result of dependence task is to execute abnormal principle implementing result corresponding with goal task is determined to be It is no consistent to execute abnormal principle, it repeats no more in the present embodiment.
The execution duration, implementing result and execution data volume are displayed in the display interface, for user by step S80 It checks.
When terminal determines the execution duration and implementing result of goal task and dependence task in preset duration, and determination After executing data volume in preset duration, terminal will execute duration, implementing result and execute data volume and is displayed in the display interface, So that user checks.
The present embodiment determines certain according to the execution journal by obtaining goal task and the corresponding execution journal of dependence task The corresponding execution duration of goal task and dependence task, implementing result and execution data volume in a period, and be shown in aobvious Show in interface, is checked for user.It is corresponding convenient for declaration form in user's quick obtaining set time during calculating insurance reserve The executive condition of task further increases the computational efficiency for calculating insurance reserve.
Further, task execution situation method for tracing 3rd embodiment of the present invention is proposed.
The task execution situation method for tracing 3rd embodiment and the task execution situation method for tracing second are implemented The difference of example is, referring to Fig. 3, task execution situation method for tracing further include:
Step S90 detects whether that the analysis for detecting analysis first execution journal and second execution journal refers to It enables.
When terminal gets corresponding first execution journal of goal task, and gets dependence task corresponding second and hold After row log, terminal detects whether to detect the analysis instruction of analysis the first execution journal and the second execution journal.Wherein, this point Analysis instruction can be triggered according to specific needs by user, or timed task is arranged in the terminal, automatic by the timed task Trigger the analysis instruction.
Step S110 analyzes first execution journal and second execution day if detecting the analysis instruction Will obtains analysis result.
If terminal detects the analysis instruction, terminal is analyzed the first execution journal and second according to the analysis instruction and is executed Log obtains analysis result.It wherein, include the analysis result of the first execution journal and the second execution journal in analysis result.
Further, if terminal does not detect the analysis instruction, terminal continues to test whether detect analysis target times The analysis instruction of corresponding first execution journal of being engaged in and corresponding second execution journal of dependence task.
Step S120, if determining that there are different in the goal task and/or the dependence task according to the analysis result Permanent business then generates the executive plan of the abnormal task, to re-execute the abnormal task.
If terminal determines that the implementing result of goal task and/or dependence task is to execute exception, terminal based on the analysis results Then determine that executing abnormal corresponding task is abnormal task, generates the executive plan of abnormal task, according to the executive plan weight Newly execute the abnormal task.It is understood that terminal can correspond to determination according to the first execution journal and the second execution journal The implementing result of goal task and dependence task.Wherein, in executive plan, when the execution re-executed provided with abnormal task Between.
It is understood that terminal can also according to second embodiment in goal task and dependence task is corresponding executes knot Fruit determines whether there is abnormal task.
Further, when terminal is during executing abnormal task, goal task and dependence task, terminal can be according to default The execution swimming lane of regular partition execution task.Each swimming lane can be performed simultaneously one or more according to its current occupied resource A task.48 swimming lanes or 24 are divided into as terminal can be corresponded to 24 hours of one day as unit of 0.5 hour or 1 hour Each task is divided on corresponding swimming lane by a swimming lane then according to the starting time of each task.
The present embodiment is analyzed by analysis goal task and the corresponding execution journal of dependence task as a result, according to dividing Analysis result determines in goal task and/or dependence task there are the executive plan for after task, generating abnormal task, re-executes this Abnormal task.It realizes after declaration form corresponds to task execution failure, re-executes the task of the failure automatically, improve declaration form pair Answer the rate that runs succeeded of task.
In addition, the present invention also provides a kind of task execution situation follow-up mechanism, the task execution situation chases after referring to Fig. 4 Track device includes:
Module 10 is obtained, for working as the acquisition instruction for detecting and obtaining insurance reserve and corresponding to goal task executive condition Afterwards, the goal task is obtained according to the acquisition instruction, and there are the dependences of dependence to appoint with the goal task for acquisition Business;
Determining module 20, for determining the goal task and the dependence task corresponding display figure in display interface Shape;
Link block 30, for according to the dependence between the goal task and the dependence task, by described It shows figure, connects the goal task and the dependence task;
The acquisition module 10 is also used to obtain the corresponding first execution state of the goal task and the dependence task Corresponding second executes state;
Control module 40 executes the corresponding control display of state for executing state and described second according to described first The display pattern of figure is shown described in interface, so that user checks.
The present embodiment by obtaining the corresponding goal task of insurance reserve declaration form, and obtain with goal task exist according to The dependence task for the relationship of relying, according to display figure in display interface of goal task and dependence task and goal task and Dependence linking objective task and dependence task between dependence task, and state is executed according to goal task corresponding first The display module of figure is shown in the second execution state control display interface corresponding with dependence, so that user checks.It is real Show and has shown the dependence between the execution state and each task of the corresponding each task of declaration form in display interface In, in order to which the executive condition that user can correspond to task with fast track declaration form does not need during calculating insurance reserve The executive condition for manually going the corresponding each task of inquiry declaration form, improves and calculates the accurate of resulting insurance reserve Rate, and improve the efficiency for calculating insurance reserve.
Further, the acquisition module 10 is also used to obtain corresponding first execution journal of the goal task and described Corresponding second execution journal of dependence task;
The determining module 20 is also used to determine institute according to first execution journal and second execution journal are corresponding State execution duration, implementing result and the execution data volume of goal task and the dependence task in preset duration;
The task execution situation follow-up mechanism further include:
Display module, for the execution duration, implementing result and execution data volume to be displayed in the display interface, for User checks.
Further, the task execution situation follow-up mechanism further include:
Detection module, for detecting whether detecting point for analyzing first execution journal and second execution journal Analysis instruction;
Analysis module, if analyzing first execution journal and described second for detecting the analysis instruction and holding Row log obtains analysis result;
Generation module, if being deposited for being determined in the goal task and/or the dependence task according to the analysis result In abnormal task, then the executive plan of the abnormal task is generated, to re-execute the abnormal task.
Further, the acquisition module 10 is also used to detect acquisition insurance reserve and corresponds to goal task execution feelings After the acquisition instruction of condition, the goal task is obtained according to the acquisition instruction;Obtain the dependence mark that the goal task carries Know, according to the acquisition of dependence mark, there are the dependence task of dependence with the goal task.
Further, the acquisition module includes:
Detection unit, for detecting whether getting corresponding first execution journal of the goal task;
Determination unit, if for first execution journal to have not been obtained, it is determined that the goal task is in and is not carried out State;
Acquiring unit, if obtaining the state in first execution journal for getting first execution journal Mark;
The determination unit, if being end of identification for the status indicator, it is determined that the goal task, which is in, to be terminated State;If the status indicator is abnormal mark, it is determined that the goal task is in abnormality;If the status indicator is Origin identification, it is determined that the goal task is in state in execution.
Further, the determination unit includes:
Subelement is obtained, if being origin identification for the status indicator, obtains the session identification of the goal task;
Subelement is determined, if for determining that the goal task is in active state according to the session identification, it is determined that The goal task is in state in execution.
Further, if it is to be not carried out state that the control module 40, which is also used to the first execution state, institute is controlled Stating the corresponding display graphical display of goal task described in display interface is the first color, so that user checks;If described first Execution state is state in executing, then controlling the corresponding display graphical display of goal task described in the display interface is second Color, so that user checks;If described first executes state as end state, controls target described in the display interface and appoint Corresponding display graphical display of being engaged in is third color, so that user checks;If described first executes state as abnormality, control Making the corresponding display graphical display of goal task described in the display interface is the 4th color, so that user checks.
Task execution situation follow-up mechanism specific embodiment of the present invention and above-mentioned each reality of task execution situation method for tracing It is essentially identical to apply example, details are not described herein.
In addition, the present invention also provides a kind of task execution situation tracing equipments.As shown in figure 5, Fig. 5 is the embodiment of the present invention The structural schematic diagram for the hardware running environment that scheme is related to.
It should be noted that Fig. 5 can be the structural schematic diagram of the hardware running environment of task execution situation tracing equipment. Task execution situation tracing equipment of the embodiment of the present invention can be PC, the terminal devices such as portable computer.
As shown in figure 5, the task execution situation tracing equipment may include: processor 1001, such as CPU, memory 1005, user interface 1003, network interface 1004, communication bus 1002.Wherein, communication bus 1002 is for realizing these components Between connection communication.User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 is optional May include standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, It is also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally may be used also To be independently of the storage device of aforementioned processor 1001.
Optionally, task execution situation tracing equipment can also include camera, RF (Radio Frequency, radio frequency) Circuit, sensor, voicefrequency circuit, WiFi module etc..
It will be understood by those skilled in the art that task execution situation tracing equipment structure shown in Fig. 5 is not constituted pair The restriction of task execution situation tracing equipment may include components more more or fewer than diagram, or combine certain components, or The different component layout of person.
As shown in figure 5, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, Subscriber Interface Module SIM and task execution situation tracing program.Wherein, operating system is to manage and control task execution The program of situation tracing equipment hardware and software resource supports task execution situation tracing program and other softwares or program Operation.
In task execution situation tracing equipment shown in Fig. 5, user interface 1003 be mainly used for obtain invite instruction and Detecting purchase instruction etc.;Network interface 1004 is mainly used for obtaining essential information and payment information of client to be invited etc.;Processing Device 1001 can be used for calling the task execution situation tracing program stored in memory 1005, and execute task as described above The step of executive condition method for tracing.
Task execution situation tracing equipment specific embodiment of the present invention and above-mentioned each reality of task execution situation method for tracing It is essentially identical to apply example, details are not described herein.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with task execution situation tracing program, the task execution situation tracing program realizes institute as above when being executed by processor The step of task execution situation method for tracing stated.
Computer readable storage medium specific embodiment of the present invention is respectively implemented with above-mentioned task execution situation method for tracing Example is essentially identical, and details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of task execution situation method for tracing, which is characterized in that the task execution situation method for tracing includes following step It is rapid:
When detect obtain insurance reserve correspond to the acquisition instruction of goal task executive condition after, obtained according to the acquisition instruction The goal task is taken, and there are the dependence task of dependence with the goal task for acquisition;
Determine the goal task and the dependence task corresponding display figure in display interface;
The mesh is connected by the display figure according to the dependence between the goal task and the dependence task Mark task and the dependence task;
Obtain the corresponding first execution state of the goal task and the corresponding second execution state of the dependence task;
Figure is shown described in the display interface according to the first execution state and the second execution state corresponding control Display pattern, so that user checks.
2. task execution situation method for tracing as described in claim 1, which is characterized in that described to execute shape according to described first State and the second execution state control the display pattern that figure is shown described in the display interface, the step checked for user After rapid, further includes:
Obtain corresponding first execution journal of the goal task and corresponding second execution journal of the dependence task;
The goal task and the dependence task are determined according to first execution journal and second execution journal are corresponding Execution duration, implementing result and execution data volume in preset duration;
The execution duration, implementing result and execution data volume are displayed in the display interface, so that user checks.
3. task execution situation method for tracing as claimed in claim 2, which is characterized in that described to obtain the goal task pair After the step of the first execution journal and the dependence task answered corresponding second execution journal, further includes:
It detects whether to detect the analysis instruction for analyzing first execution journal and second execution journal;
If detecting the analysis instruction, first execution journal and second execution journal are analyzed, obtains analysis knot Fruit;
If determining that there are abnormal tasks in the goal task and/or the dependence task, generate according to the analysis result The executive plan of the abnormal task, to re-execute the abnormal task.
4. task execution situation method for tracing as described in claim 1, which is characterized in that described quasi- when detecting acquisition insurance After the acquisition instruction of the standby corresponding goal task executive condition of gold, the goal task is obtained according to the acquisition instruction, and obtain There are the step of dependence task of dependence to include: with the goal task
When detect obtain insurance reserve correspond to the acquisition instruction of goal task executive condition after, obtained according to the acquisition instruction Take the goal task;
The dependence mark that the goal task carries is obtained, is existed according to dependence mark acquisition with the goal task and is relied on The dependence task of relationship.
5. task execution situation method for tracing as described in claim 1, which is characterized in that described to obtain the goal task pair Answer first execution state the step of include:
It detects whether to get corresponding first execution journal of the goal task;
If first execution journal has not been obtained, it is determined that the goal task is in and is not carried out state;
If getting first execution journal, the status indicator in first execution journal is obtained;
If the status indicator is end of identification, it is determined that the goal task is in end state;
If the status indicator is abnormal mark, it is determined that the goal task is in abnormality;
If the status indicator is origin identification, it is determined that the goal task is in state in execution.
6. task execution situation method for tracing as claimed in claim 5, which is characterized in that if the status indicator is Begin mark, it is determined that the goal task be in execute in state the step of include:
If the status indicator is origin identification, the session identification of the goal task is obtained;
If determining that the goal task is in active state according to the session identification, it is determined that the goal task, which is in, to be executed Middle state.
7. such as task execution situation method for tracing as claimed in any one of claims 1 to 6, which is characterized in that according to described first Execution state corresponding the step of controlling the display pattern for showing figure described in the display interface, checking for user includes:
If the first execution state is to be not carried out state, the corresponding display of goal task described in the display interface is controlled Graphical display is the first color, so that user checks;
If described first executes state as state in execution, the corresponding display of goal task described in the display interface is controlled Graphical display is the second color, so that user checks;
If described first executes state as end state, the corresponding display figure of goal task described in the display interface is controlled Shape is shown as third color, so that user checks;
If described first executes state as abnormality, the corresponding display figure of goal task described in the display interface is controlled Shape is shown as the 4th color, so that user checks.
8. a kind of task execution situation follow-up mechanism, which is characterized in that the task execution situation follow-up mechanism includes:
Obtain module, for when detect acquisition insurance reserve correspond to the acquisition instruction of goal task executive condition after, according to The acquisition instruction obtains the goal task, and there are the dependence task of dependence with the goal task for acquisition;
Determining module, for determining the goal task and the dependence task corresponding display figure in display interface;
Link block, for being schemed by the display according to the dependence between the goal task and the dependence task Shape connects the goal task and the dependence task;
The acquisition module is also used to obtain the corresponding first execution state of the goal task and the dependence task is corresponding Second executes state;
Control module executes in the corresponding control display interface of state for executing state and described second according to described first The display pattern of the display figure, so that user checks.
9. a kind of task execution situation tracing equipment, which is characterized in that the task execution situation tracing equipment include memory, Processor and the task execution situation tracing program that is stored on the memory and can run on the processor, described Business executive condition tracing program realizes the task execution as described in any one of claims 1 to 7 when being executed by the processor The step of situation method for tracing.
10. a kind of computer readable storage medium, which is characterized in that be stored with task on the computer readable storage medium and hold Market condition tracing program is realized when the task execution situation tracing program is executed by processor as any in claim 1 to 7 The step of task execution situation method for tracing described in item.
CN201810441205.1A 2018-05-08 2018-05-08 Task execution situation method for tracing, device, equipment and readable storage medium storing program for executing Pending CN109725785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810441205.1A CN109725785A (en) 2018-05-08 2018-05-08 Task execution situation method for tracing, device, equipment and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810441205.1A CN109725785A (en) 2018-05-08 2018-05-08 Task execution situation method for tracing, device, equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109725785A true CN109725785A (en) 2019-05-07

Family

ID=66293809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810441205.1A Pending CN109725785A (en) 2018-05-08 2018-05-08 Task execution situation method for tracing, device, equipment and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109725785A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825391A (en) * 2019-10-31 2020-02-21 北京金山云网络技术有限公司 Service management method, device, electronic equipment and storage medium
CN111209167A (en) * 2020-01-10 2020-05-29 深圳震有科技股份有限公司 Task state display method, storage medium and display terminal
CN111522630A (en) * 2020-04-30 2020-08-11 北京江融信科技有限公司 Method and system for executing planned tasks based on batch dispatching center

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076783A (en) * 2004-03-08 2007-11-21 Ab开元软件公司 Controlling task execution
CN101567068A (en) * 2009-05-18 2009-10-28 北京方正春元科技发展有限公司 Data-processing system used for financial information management
CN102981904A (en) * 2011-09-02 2013-03-20 阿里巴巴集团控股有限公司 Task scheduling method and system
CN103942034A (en) * 2014-03-21 2014-07-23 深圳华大基因科技服务有限公司 Task scheduling method and electronic device implementing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076783A (en) * 2004-03-08 2007-11-21 Ab开元软件公司 Controlling task execution
CN101567068A (en) * 2009-05-18 2009-10-28 北京方正春元科技发展有限公司 Data-processing system used for financial information management
CN102981904A (en) * 2011-09-02 2013-03-20 阿里巴巴集团控股有限公司 Task scheduling method and system
CN103942034A (en) * 2014-03-21 2014-07-23 深圳华大基因科技服务有限公司 Task scheduling method and electronic device implementing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825391A (en) * 2019-10-31 2020-02-21 北京金山云网络技术有限公司 Service management method, device, electronic equipment and storage medium
CN110825391B (en) * 2019-10-31 2023-10-13 北京金山云网络技术有限公司 Service management method, device, electronic equipment and storage medium
CN111209167A (en) * 2020-01-10 2020-05-29 深圳震有科技股份有限公司 Task state display method, storage medium and display terminal
CN111209167B (en) * 2020-01-10 2023-09-15 深圳震有科技股份有限公司 Task state showing method, storage medium and display terminal
CN111522630A (en) * 2020-04-30 2020-08-11 北京江融信科技有限公司 Method and system for executing planned tasks based on batch dispatching center
CN111522630B (en) * 2020-04-30 2021-04-06 北京江融信科技有限公司 Method and system for executing planned tasks based on batch dispatching center

Similar Documents

Publication Publication Date Title
CN112884092B (en) AI model generation method, electronic device, and storage medium
CN110377520B (en) Transaction scenario testing method and device, electronic equipment and readable storage medium
CN109725785A (en) Task execution situation method for tracing, device, equipment and readable storage medium storing program for executing
CN111858296B (en) Interface testing method, device, equipment and storage medium
CN109032850B (en) Field device debugging system and field device debugging method
CN111078579A (en) Monkey testing method and device and terminal equipment
US7797680B2 (en) Method and framework for test case management
CN109543891A (en) Method for building up, equipment and the computer readable storage medium of capacity prediction model
CN110096430A (en) Third party's SDK entry test method, apparatus, terminal and storage medium
CN109543073A (en) Enterprise's supply and marketing relation map generation method, device and computer equipment
CN114168565B (en) Backtracking test method, device and system of business rule model and decision engine
CN113778878A (en) Interface testing method and device, electronic equipment and storage medium
CN118193389A (en) Test case generation method, device, equipment, storage medium and product
CN114912764A (en) Platform value measurement method, system, equipment and medium
CN107250979B (en) Application event tracking
CN109685636A (en) Wage number generation method, device, system and computer storage medium
CN115660660A (en) Payment processing method and device, computer equipment and storage medium
CN116304211A (en) Information interception method, device and equipment based on graph calculation and readable storage medium
CN110134581A (en) Method for testing software, device, computer equipment and storage medium
CN115587048A (en) Regression testing method, terminal device and computer readable storage medium
CN115656788A (en) Chip testing system, method, equipment and storage medium
CN109684205A (en) System detection method, device, electronic equipment and storage medium
CN109840213B (en) Test data creating method, device, terminal and storage medium for GUI test
CN113986753A (en) Interface test method, device, equipment and storage medium
CN106169158A (en) A kind of finance account assets information analysis and Control system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190507