CN107463391A - Task processing method, device and equipment - Google Patents

Task processing method, device and equipment Download PDF

Info

Publication number
CN107463391A
CN107463391A CN201610391199.4A CN201610391199A CN107463391A CN 107463391 A CN107463391 A CN 107463391A CN 201610391199 A CN201610391199 A CN 201610391199A CN 107463391 A CN107463391 A CN 107463391A
Authority
CN
China
Prior art keywords
target
processing
processing module
process chain
task
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
CN201610391199.4A
Other languages
Chinese (zh)
Other versions
CN107463391B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610391199.4A priority Critical patent/CN107463391B/en
Publication of CN107463391A publication Critical patent/CN107463391A/en
Application granted granted Critical
Publication of CN107463391B publication Critical patent/CN107463391B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a kind of task processing method, device and equipment, and this method includes:Reception task handles request message, and the task processing request message includes the mark of waiting task;According to the task requests message, target process chain corresponding to the mark of the waiting task is determined;According to target processing template corresponding to the target process chain, the target process chain is initialized;By the target process chain after the initialization, the waiting task is handled.To improve the maintenance efficiency to process chain.

Description

Task processing method, device and equipment
Technical field
The application is related to Internet technical field, more particularly to a kind of task processing method, device and equipment.
Background technology
With the continuous improvement of development and the IT application in enterprise of Internet technology, most enterprises are using at task Reason device is to needing task to be processed to handle.
In actual application, can according to being actually needed in Task Processing Unit addition or delete processing chain, When increasing a process chain in Task Processing Unit, the function of realizing first is needed according to the process chain, it is corresponding to write the process chain Software code, and software code is increased into Task Processing Unit, during to manage chain operation in this place, passes through tune Function corresponding to software code realization process chain corresponding to the process chain.However, working as needs in Task Processing Unit When the function of process chain is modified, then need to modify to software code corresponding to the process chain, and restart task processing Device, during Task Processing Unit is restarted, all process chains in Task Processing Unit are required for pause to use so that The process safeguarded in the prior art to the process chain in Task Processing Unit is complicated, causes the maintenance efficiency to process chain low.
The content of the invention
The application provides a kind of task processing method, device and equipment, to improve the maintenance efficiency to process chain.
On the one hand, the application provides a kind of task processing method, and the executive agent of this method is Task Processing Unit, in office Business processing unit receive the mark including waiting task task processing request message after, Task Processing Unit according to times Business request message, determines target process chain corresponding to the mark of waiting task, and according to corresponding to target process chain at target Template is managed, target process chain is initialized, then according to the target process chain after initialization, at waiting task Reason.
In this process, due to before being handled according to target process chain waiting task, being required to first to mesh Mark process chain is initialized so that target process chain possesses the processing function of target processing template, therefore, is handled to target After template is safeguarded, without restarting to Task Processing Unit, you can complete the maintenance to target process chain, simplify to task The maintenance process of the process chain of processing unit, and then improve the maintenance efficiency to process chain.
In a kind of possible embodiment, according to target processing template corresponding to target process chain, to target process chain Initialized, including:
Obtain configuration information corresponding to target process chain;
According to configuration information, multiple target processing modules corresponding to target process chain and each target processing module are determined Corresponding target processing template;
According to target processing template corresponding to each target processing module, each target processing module is initialized.
In alternatively possible embodiment, according to configuration information, determine that target corresponding to target processing module is handled Template, including:
According to configuration information, judge whether target processing template corresponding to target processing module is self-defined processing template;
If so, the then plug-in unit according to corresponding to configuration information obtains target processing module, and target processing is obtained in plug-in unit Self-defined processing module corresponding to module, self-defined processing module is defined as target processing template;
If it is not, public processing mould corresponding to then obtaining target processing module in public processing template storehouse according to configuration information Plate, public processing template is defined as target processing template.
In alternatively possible embodiment, target processing template is self-defined processing template, and mould is handled according to target Target processing template corresponding to block, is initialized to target processing module, including:
Obtain Classloader corresponding to plug-in unit;
Category information is obtained in target processing template by Classloader;
According to category information, target processing module is initialized.
In alternatively possible embodiment, target processing template is public processing template, according to target processing module Corresponding target processing template, is initialized to target processing module, including:
Obtain in target processing template and obtain category information;
According to category information, target processing module is initialized.
In alternatively possible embodiment, category information includes realizing class and configuration class, according to category information, at target Reason module is initialized, including:
Reflection realizes constructed fuction in class and carries out JSON unserializings to configuration class, to realize to target processing Module is initialized;
Category information includes realizing class, and according to category information, target processing module is initialized, including:
The constructed fuction in class is realized in reflection, and target processing module is initialized with realizing.
In alternatively possible embodiment, according to the target process chain after initialization, at waiting task Reason, including:
According to configuration information, the execution sequence of each target processing module is obtained;
According to execution sequence, waiting task is handled according to each target processing module successively.
In alternatively possible embodiment, before the task of reception processing request message, in addition to:
The process chain request to create of user's input is received, process chain request to create includes the mark of target process chain;
Configuration information corresponding to the target process chain of user's input is received, configuration information is included corresponding to target process chain The identifying of multiple target processing modules, the mark of processing template corresponding to the execution sequence of each target processing module, each processing module Know;
According to process chain request to create and configuration information, target process chain is created.
On the other hand, the application provides a kind of Task Processing Unit, including:
First receiving module, for receiving task processing request message, task processing request message includes waiting task Mark;
Determining module, for according to task requests message, determining target process chain corresponding to the mark of waiting task;
Initialization module, for the target processing template according to corresponding to target process chain, target process chain is carried out initial Change;
Processing module, for according to the target process chain after initialization, handling waiting task.
In a kind of possible embodiment, initialization module includes acquiring unit, determining unit and initialization unit, Wherein,
Acquiring unit is used for, and obtains configuration information corresponding to target process chain;
Determining unit is used for, and according to configuration information, determines multiple target processing modules corresponding to target process chain and each Target processing template corresponding to target processing module;
Initialization unit is used for, according to target processing template corresponding to each target processing module, to each target processing module Initialized.
In alternatively possible embodiment, determining unit is specifically used for:
According to configuration information, judge whether target processing template corresponding to target processing module is self-defined processing template;
If so, the then plug-in unit according to corresponding to configuration information obtains target processing module, and target processing is obtained in plug-in unit Self-defined processing module corresponding to module, self-defined processing module is defined as target processing template;
If it is not, public processing mould corresponding to then obtaining target processing module in public processing template storehouse according to configuration information Plate, public processing template is defined as target processing template.
In alternatively possible embodiment, target processing template is self-defined processing template, and initialization unit is specific For:
Obtain Classloader corresponding to plug-in unit;
Category information is obtained in target processing template by Classloader;
According to category information, target processing module is initialized.
In alternatively possible embodiment, target processing template is public processing template, and initialization unit is specifically used In:
Obtain in target processing template and obtain category information;
According to category information, target processing module is initialized.
In alternatively possible embodiment, category information includes realizing class and configuration class, and initialization unit is specifically used for, Reflection realizes constructed fuction in class and carries out JSON unserializings to configuration class, and target processing module is carried out with realizing Initialization;
Category information includes realizing class, and initialization unit is specifically used for, and the constructed fuction in class is realized in reflection, to realize to mesh Mark processing module is initialized.
In alternatively possible embodiment, processing module is specifically used for:
According to configuration information, the execution sequence of each target processing module is obtained;
According to execution sequence, waiting task is handled according to each target processing module successively.
In alternatively possible embodiment, device also includes the second receiving module and creation module, wherein,
Second receiving module is used for, and before the first receiving module receives task processing request message, receives user's input Process chain request to create, process chain request to create includes the mark of target process chain;
Second receiving module is additionally operable to, configuration information corresponding to the target process chain of reception user's input, in configuration information Identifying including multiple target processing modules corresponding to target process chain, the execution sequence of each target processing module, respectively handle mould The mark of processing template corresponding to block;
Creation module is used for, and according to process chain request to create and configuration information, creates target process chain.
On the other hand, the application provides a kind of task processing equipment, including processor, memory and COM1, deposits Reservoir is used for storage program, and processor is used to read the program in memory, performs following operation:
Task is received by COM1 and handles request message, task processing request message includes the mark of waiting task Know;
According to task requests message, target process chain corresponding to the mark of waiting task is determined;
According to target processing template corresponding to the configuration information of target process chain and target process chain, target process chain is entered Row initialization;
According to the target process chain after initialization, waiting task is handled.
In a kind of possible embodiment, the processor is specifically used for:
Obtain configuration information corresponding to the target process chain;
According to the configuration information, multiple target processing modules corresponding to the target process chain and each described are determined Target processing template corresponding to target processing module;
According to target processing template corresponding to each target processing module, each target processing module is carried out initial Change.
In alternatively possible embodiment, the processor is specifically used for:
According to the configuration information, judge whether target processing template corresponding to the target processing module is self-defined place Manage template;
If so, the then plug-in unit according to corresponding to the configuration information obtains the target processing module, and in the plug-in unit Self-defined processing module corresponding to the target processing module is obtained, the self-defined processing module is defined as at the target Manage template;
It is if it is not, public corresponding to then obtaining the target processing module in public processing template storehouse according to the configuration information With processing template, the public processing template is defined as the target processing template.
In alternatively possible embodiment, when the target processing template is the self-defined processing template, institute Processor is stated to be specifically used for:
Obtain Classloader corresponding to the plug-in unit;
Category information is obtained in the target processing template by the Classloader;
According to the category information, the target processing module is initialized.
It is described when the target processing template is the public processing template in alternatively possible embodiment Processor is specifically used for:
Obtain in the target processing template and obtain category information;
According to the category information, the target processing module is initialized.
In alternatively possible embodiment, when the category information includes realizing class and configuration class, the processor It is specifically used for:Reflect the constructed fuction realized in class and JSON unserializings are carried out to the configuration class, with realization pair The target processing module is initialized;
When the category information includes realizing class, the processor is specifically used for:Reflect the construction letter realized in class Number, the target processing module is initialized with realizing.
In alternatively possible embodiment, the processor is specifically used for:
According to the configuration information, the execution sequence of each target processing module of acquisition;
According to the execution sequence, the waiting task is handled according to each target processing module successively.
In alternatively possible embodiment, the equipment also includes input equipment, wherein,
The processor is additionally operable to, before task is received by the COM1 and handles request message, by described Input equipment receives the process chain request to create of user's input, and the process chain request to create includes the target process chain Mark;
The processor is additionally operable to, and institute corresponding to the target process chain of user's input is received by the input equipment State configuration information, the configuration information include the mark of the multiple target processing module corresponding to the target process chain, The mark of processing template corresponding to the execution sequence of each target processing module, each processing module;
The processor is additionally operable to, and according to the process chain request to create and the configuration information, is created at the target Manage chain.
In this application, the mark including waiting task being received in Task Processing Unit of the task handles request message Afterwards, Task Processing Unit is according to task requests message, determines target process chain corresponding to the mark of waiting task, and according to Target processing template corresponding to target process chain, is initialized to target process chain, then according to the target after initialization at Chain is managed, waiting task is handled;In actual application, when needing to safeguard target process chain, only need Target processing template corresponding to target process chain is safeguarded, due to entering according to target process chain to waiting task Before row processing, it is required to first initialize target process chain so that target process chain possesses the place of target processing template Function is managed, therefore, after being safeguarded to target processing template, without restarting to Task Processing Unit, is made without pause With the process chain in Task Processing Unit, you can complete the maintenance to target process chain, and then improve the maintenance effect to process chain Rate.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the application scenarios schematic diagram of task processing method provided by the invention;
Fig. 2 is the schematic flow sheet of task processing method provided by the invention;
Fig. 3 is the schematic flow sheet provided by the invention that initial method is carried out to target process chain;
Fig. 4 is the structural representation of process chain provided by the invention;
Fig. 5 is the adduction relationship schematic diagram of Classloader provided by the invention;
Fig. 6 is the schematic flow sheet of establishment target process chain method provided by the invention;
Fig. 7 is interactive interface schematic diagram one provided by the invention;
Fig. 8 is interactive interface schematic diagram two provided by the invention;
Fig. 9 is the structural representation one of Task Processing Unit provided by the invention;
Figure 10 is the structural representation two of Task Processing Unit provided by the invention;
Figure 11 is the structural representation one of task processing equipment provided by the invention;
Figure 12 is the structural representation two of task processing equipment provided by the invention.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is the application scenarios schematic diagram of task processing method provided by the invention, refer to Fig. 1, is filled in task processing Putting includes client 101 and Task Processing Unit 102, and client 101 can be with request task processing unit 102 to needing to handle Task handled;Task Processing Unit 102 includes processing template storehouse 1021 and multiple process chains (1022-1 to 1022- N), processing template storehouse 1021 includes multiple processing templates, and each process chain can handle a kind of task, and in process chain to appointing Before business processing, first according in ATL 1021, processing template corresponding with process chain initializes to the process chain so that Process chain possesses the function of its corresponding processing template.Below, the technical scheme shown in the application is entered by specific embodiment Row describes in detail.
It should be noted that these specific embodiments can be combined with each other below, for same or analogous concept Or process may repeat no more in certain embodiments.
Fig. 2 is the schematic flow sheet of task processing method provided by the invention, and the executive agent of this method is task processing Device, refer to Fig. 2, and this method can include:
S201, task processing request message is received, task processing request message includes the mark of waiting task;
S202, according to task requests message, determine target process chain corresponding to the mark of waiting task;
S203, the target processing template according to corresponding to target process chain, are initialized to target process chain;
S204, according to the target process chain after initialization, waiting task is handled.
In embodiments of the present invention, multiple process chains are provided with Task Processing Unit, different process chains is used for not Same task is handled, and after Task Processing Unit receives task processing request, task processing request is for indicating Waiting task is handled, can be at task for the ease of determining that waiting task is carried out to handle target process chain Reason dress centers the corresponding relation of the mark of task and the mark of process chain, so that Task Processing Unit can be according to pending The mark of task and the corresponding relation, determine target process chain corresponding to the mark of waiting task;Optionally, this is corresponding Relation can be as shown in table 1:
Table 1
The mark of task The mark of process chain
Task 1 Process chain 1
Task 2 Process chain 2
Task 3 Process chain 3
…… ……
Because Task Processing Unit is similar to the processing procedure of all tasks, below, with Task Processing Unit to pending Exemplified by the process that task is handled, the method shown in Fig. 2 embodiments is described in detail.
In actual application, the task processing that the mark including waiting task is received in Task Processing Unit please After seeking message, Task Processing Unit obtains target process chain corresponding to the mark of waiting task, optionally, task processing dress Putting can determine that target corresponding to the mark of waiting task is handled according to the mark of waiting task and the corresponding relation Chain.
After Task Processing Unit determines to obtain target process chain, Task Processing Unit is obtained corresponding to target process chain Target processing template, and initialization process is carried out to target process chain according to target processing template, wherein, target process chain is corresponding Target processing template number may be it is multiple, because each processing template is provided with a kind of function, handled according to target Template is initialized to target process chain, and target process chain can be caused to possess the processing function of target processing template, work as mesh When target processing template corresponding to mark process chain is multiple, target process chain is carried out according to the plurality of target processing template initial Change, target process chain can be caused to possess the processing function of the plurality of target processing template.
After Task Processing Unit initializes to target process chain, the target process chain possesses target processing mould The processing function of plate, Task Processing Unit are handled waiting task according to the target process chain after initialization.
Below, by specific example, the method shown in Fig. 2 embodiments is described in detail.
Exemplary, it is assumed that Task Processing Unit includes the multiple process chains handled microblog data.
After user logs in microblogging by client, when user carries out clicking operation to " hot issue ranking list " label Afterwards, client sends task processing request message 1 to Task Processing Unit, and task processing request message 1 includes waiting to locate The mark (hot issue ranking list) of reason task.
After Task Processing Unit receives task processing request 1, Task Processing Unit can be according to " hot issue is arranged Row list " (mark of waiting task) and default corresponding relation, it is determined that " hot issue ranking list " (mark of waiting task Know) corresponding to target process chain, it is assumed that the target process chain that Task Processing Unit determines to obtain is process chain 1.
After Task Processing Unit determines to obtain target process chain as process chain 1, Task Processing Unit obtains process chain 1 Corresponding target processing template, it is assumed that the corresponding 3 target processing templates of process chain 1, the mark of 3 target processing templates, with And the processing function of each target processing template is as shown in table 2:
Table 2
The mark of processing template The function of processing template
Processing template 1 Data are extracted
Processing template 2 Data desensitize
Processing template 3 Data sorting
After 3 processing templates that Task Processing Unit acquires shown in table 2, Task Processing Unit is according to processing mould Plate 1- processing templates 3 initialize to process chain 1 so that process chain 1 possesses " data extraction ", " data desensitization " and " number According to sequence " processing function, then, Task Processing Unit is according to the process chain 1 after initialization to waiting task (hot issue Ranking list) handled, specifically, data corresponding to hot issue are extracted by process chain 1, and the data to extracting are carried out Data are desensitized, and the data after then being desensitized to data are ranked up, and optionally, are completed task in Task Processing Unit and are handled it Afterwards, the hot issue after sequence can be sent to client.
Task processing method provided in an embodiment of the present invention, the mark including waiting task is received in Task Processing Unit After the task processing request message of knowledge, Task Processing Unit determines the mark pair of waiting task according to task requests message The target process chain answered, and the target processing template according to corresponding to target process chain, are initialized, then to target process chain According to the target process chain after initialization, waiting task is handled;In actual application, when needing at target When reason chain is safeguarded, target processing template corresponding to target process chain need to only be safeguarded, due to according to target Before process chain handles waiting task, it is required to first initialize target process chain so that target process chain Possesses the processing function of target processing template, therefore, after being safeguarded to target processing template, without entering to Task Processing Unit Row is restarted, and uses the process chain in Task Processing Unit without pause, you can complete the maintenance to target process chain, Jin Erti The high maintenance efficiency to process chain.
On the basis of embodiment illustrated in fig. 2, optionally, it can be handled by following feasible implementation according to target Target processing template corresponding to chain, (S203 in embodiment illustrated in fig. 2) is initialized to target process chain, specifically, please Embodiment shown in Figure 3.
Fig. 3 is the schematic flow sheet provided by the invention that initial method is carried out to target process chain, refers to Fig. 3, should Method can include:
S301, obtain configuration information corresponding to target process chain;
S302, according to configuration information, determine multiple target processing modules corresponding to target process chain and the processing of each target Target processing template corresponding to module;
S303, the target processing template according to corresponding to each target processing module, are initialized to each target processing module.
For the ease of the understanding to embodiment illustrated in fig. 3, first with reference to Fig. 4, the structure of process chain is described in detail.
Fig. 4 is the structural representation of process chain provided by the invention, refers to Fig. 4, including processing template storehouse 401 and processing Chain 402, wherein,
Processing template storehouse 401 includes public processing template storehouse and multiple plug-in units, public processing template storehouse and each plug-in unit Including at least one processing template, plug-in unit is user according to being actually needed upload, during practical application, Yong Huke Being actually needed with basis in processing template storehouse increases new plug-in unit, already present plug-in unit can also be deleted and updated Operation;Each processing template has a kind of processing function, can be by the processing template in processing template storehouse to processing module Initialized, can be to difference by same processing module to cause processing module to possess the processing function of the processing template Processing module initialized.
Process chain 402 includes multiple processing modules, when needing to handle a task by process chain, the plurality of processing Module according to default order handle task to realize, the corresponding processing template of each processing module, , it is necessary to be initialized by processing template corresponding to processing module to the processing module, to cause before processing module operation Processing module possesses corresponding processing function.
In actual application, part processing template may include configuration item, by same processing template to difference When processing module is initialized, different configurations can be carried out to the configuration item of processing template, to cause by same processing There is function difference between the different disposal module that template is initialized.
For example, it is assumed that processing template 1 has following function:Preset function computing is carried out to obtain to N number of parameter of input One reference value, the decimal place that the reference value retains are what be can configure, processing module 1 are being carried out by the processing template 1 just During beginningization, decimal place can be arranged to 3, to cause processing module 1 to possess the function of processing template 1, and by handling mould The decimal place for the reference value that the computing of block 1 obtains is 3;, can when being initialized by the processing template 1 to processing module 2 So that decimal place is arranged into 2, to cause processing module 2 to possess the function of processing template 1, and obtained by the computing of processing module 2 The decimal place of the reference value arrived is 2.
Below, the method shown in Fig. 3 embodiments is described in detail.
In actual application, during user creates process chain, user can be that the process chain created sets phase The configuration information answered, the configuration information include the identifying of multiple processing modules corresponding to process chain, the execution of each processing module Sequentially, the mark of processing template corresponding to each processing module, therefore, when Task Processing Unit needs to carry out just target process chain During beginningization, Task Processing Unit obtains configuration information corresponding to target process chain, and determines that the target is handled according to configuration information Multiple target processing modules corresponding to chain, then target handles mould according to corresponding to configuration information determines each target processing module Plate, because target processing template can be located at public processing template storehouse, it is also possible in plug-in unit, optionally, for multiple mesh Any one target processing module in processing module is marked, Task Processing Unit can be obtained by following feasible implementation Target processing template corresponding to target processing module, specifically:
Task Processing Unit judges whether target processing template corresponding to target processing module is to make by oneself according to configuration information Adopted processing template;If so, the then plug-in unit according to corresponding to configuration information obtains target processing module, and being obtained in plug-in unit at target Self-defined processing module corresponding to managing module, is defined as target processing template by self-defined processing module;If it is not, then according to configuration Information obtains public processing template corresponding to target processing module in public processing template storehouse, and public processing template is defined as Target processing template.
After task configuration device determines to obtain target processing template corresponding to each target processing module, task processing dress The target processing template according to corresponding to each target processing module is put, each target processing module is initialized, it is each to cause Target processing module possesses the processing function of its corresponding target processing template, during specific implementation, is handled according to target The difference of the type (self-defined processing template or public processing template) of template, mould is handled to target according to target processing template The process that block is initialized also differs, and optionally, can include the feasible implementation of the following two kinds:
A kind of feasible implementation:Target processing template is self-defined processing template;
Task Processing Unit first obtains Classloader corresponding to plug-in unit, and Classloader obtains class letter in target processing template Breath, according to category information, is initialized to target processing module.
In this kind of feasible implementation, the adduction relationship figure of the Classloader first with reference to shown in Fig. 5 can to this kind Capable implementation is described in detail.
Fig. 5 is the adduction relationship schematic diagram of Classloader provided by the invention, refers to Fig. 5, including Classloader management Device 501 and Classloader 502-507, wherein,
After user uploads plug-in unit into processing template storehouse, Classloader manager associates one certainly for the plug-in unit uploaded Classloader 502 is defined, the parent of the self defined class loader 502 is followed successively by module Classloader 504, application class loading Device 505, extension Classloader 506 and guiding Classloader 507, self defined class loader 502 inherit URL Classloaders 503, URL Classloaders 503 can be from the URL for pointing to jar file and target searching route loading classes and resource, due to plug-in unit Usually jar file, therefore, customization type loading 502 can obtain plug-in unit by URL Classloaders 503.
During being initialized to target processing module, Task Processing Unit is first retrieved as making by oneself for plug-in unit association Adopted Classloader so that self defined class loader obtains in plug-in unit the class letter in target processing template by URL Classloaders Breath, and newly target processing module is initialized according to the type acquired, wherein, the category information can include realizing Class, or category information can include realizing class and configuration class, specifically:
When category information includes realizing class and configuration class, during according to category information, the structure in class is realized in Task Processing Unit reflection Make function and JSON unserializings are carried out to configuration class, target processing module is initialized with realizing;
When category information includes realizing class, during according to category information, the constructed fuction in class is realized in Task Processing Unit reflection, with Realization initializes to target processing module.
Another feasible implementation:Target processing template is public processing template;
In this kind of feasible implementation, Task Processing Unit obtains in target processing template and obtains category information, and root According to category information, target processing module is initialized.
It should be noted that in this kind of feasible implementation, target processing module is carried out according to category information initial The process phase initialized in the process of change, with a kind of upper feasible implementation according to category information to target processing module Together, no longer repeated herein.
Below, by specific example, the method shown in Fig. 3 embodiments is described in detail.
Exemplary, when needing to initialize target process chain, first obtain corresponding to target process chain and match somebody with somebody confidence Breath, corresponding 3 target processing modules of target process chain can be determined according to configuration information corresponding to target process chain, be designated as respectively Processing module 1- processing modules 3, the type of processing template and each processing module corresponding to 3 processing modules is respectively such as table 3 It is shown:
Table 3
The mark of processing module The mark of processing template The type of processing module
Processing module 1 Processing template 1 Public processing template
Processing module 2 Processing template 2 Public processing template
Processing module 3 Processing template 3 Self-defined processing template (plug-in unit 1)
After Task Processing Unit determines to obtain the corresponding relation shown in table 3, Task Processing Unit judges processing template 1 It is common process module with processing template 1, then Task Processing Unit obtains the He of processing template 1 directly in common process module storehouse Processing template 2, and processing module 1 is initialized by processing template 1, so that processing module 1 possesses the place of processing template 1 Function is managed, Task Processing Unit is initialized by processing template 2 to processing module 2, so that processing module 2 possesses processing mould The processing function of plate 2.
Task Processing Unit judges processing template 3 for self-defined processing template, then Task Processing Unit first determines the processing Template 3 is located in plug-in unit 1, then processing template 3 is obtained in plug-in unit 1, and processing module 3 is carried out initially by processing template 3 Change, so that processing module 3 possesses the processing function of processing template 3;Complete to handle mould to processing module 1- in Task Processing Unit After the initialization of block 3, that is, complete the initialization to target process chain.
On the basis of any one above-mentioned embodiment, during process chain is run, in order to obtain process chain in real time Operation conditions, the running status of process chain can be monitored in real time, specifically:Each processing mould in process chain can be obtained in real time The operation information of block, the execution time of such as each processing module, context is performed, detected according to the operation information collected Each processing module whether normal operation, and generate diagnostic message, the operation shape of each processing module checked for the ease of user Condition, for example, when processing module normal operation, it can be given birth to by the operation conditions of the font ID processing module of different colours Into diagnostic message can by green represent, when processing module operation exception, the diagnostic message of generation can pass through red Represent, when processing module operation exception, user can also be according to operation feelings of the operation information collected to processing module Condition is analyzed, with localization process module failure;This kind of mode simple, intuitive, it is easy to the operation shape that user knows processing module Condition, and in processing module operation exception, user can easily localization process module failure, and then improve according to operation information Maintenance efficiency of the user to processing module.
On the basis of any one above-mentioned embodiment, in Task Processing Unit according to target process chain to waiting task Before processing, Task Processing Unit needs first to create target process chain, below, introduce a kind of create with reference to embodiment illustrated in fig. 6 The method of target process chain, specifically, embodiment shown in Figure 6.
Fig. 6 is the schematic flow sheet of establishment target process chain method provided by the invention, refers to Fig. 6, and this method can be with Including:
S601, the process chain request to create for receiving user's input, process chain request to create include the mark of target process chain Know;
S602, configuration information corresponding to the target process chain of user's input is received, configuration information includes target process chain Corresponding multiple target processing modules identify, mould are handled corresponding to the execution sequence of each target processing module, each processing module The mark of plate;
S603, according to process chain request to create and configuration information, create target process chain.
It should be noted that in actual application, can be according to the target after completion target process chain is created Process chain carries out more subtask processing, therefore, before Fig. 1-embodiment illustrated in fig. 5, it is only necessary to performs and implements shown in a Fig. 6 Example, without the embodiment being carried out before Fig. 1-embodiment illustrated in fig. 5 is performed every time shown in Fig. 6.
In actual application, when user needs to create new process chain, user can be in Task Processing Unit Input processing chain creation is asked, and optionally, user can input predetermined registration operation (for example, click is handled in Task Processing Unit Chain creation button).
After the request of user's input processing chain creation, user can also input target process chain in Task Processing Unit Corresponding configuration information, the configuration information include the identifying of multiple target processing modules corresponding to target process chain, each target The mark of processing template corresponding to the execution sequence of processing module, each processing module, specifically, Task Processing Unit includes place Manage module library, processing module storehouse includes multiple processing modules, user can in processing module storehouse selection target process chain pair The target processing module answered, in actual application, the relation of processing module and processing template in processing module storehouse is usual It is configured good, therefore, while user determines target processing module, also determine corresponding to target processing module at target Template is managed, after user selects to complete target processing module, user needs the association inputted between each target processing module Relation, to determine the execution sequence between each target processing module.
Inputted in user after the configuration information for completing target process chain, Task Processing Unit is according to process chain request to create And configuration information, create target process chain.
In the embodiment shown in fig. 6, when user needs to create new process chain in Task Processing Unit, user is only The configuration information corresponding to input processing chain in Task Processing Unit is needed, without to each processing mould in process chain Block write software code, and then improve the efficiency of processing chain creation.
On the basis of embodiment illustrated in fig. 6, Task Processing Unit can be received by a variety of feasible implementations and used The configuration information of family input, because configuration information includes identifying, respectively for multiple target processing modules corresponding to target process chain The execution sequence of the mark of processing template corresponding to processing module and each target processing module, below, respectively in connection with Fig. 7-figure Terminal interface schematic diagram shown in 8, to receive user input target process chain corresponding to multiple target processing modules mark, And the process of the execution sequence of each target processing module is described in detail, specifically, refer to the implementation shown in Fig. 7-Fig. 8 Example.
Fig. 7 is interactive interface schematic diagram one provided by the invention, refer to Fig. 7, including interface 701- interfaces 703, specifically 's:
After the process chain request to create that Task Processing Unit receives user's input, Task Processing Unit is on interaction circle Display interface 701 in face.
In interface 701, including selection region M and configuring area N, selection region M include all places in module library The mark of module is managed, the mark of all processing modules arranges in the form of a list, the mark corresponding one of each processing module Individual check boxes, when initial, each check boxes are in unselected state;Configuring area N is used to show the target that user chooses The mark of processing module, when initial, the mark of any target processing module is not included in configuring area N.When user needs In selection region M during selection target processing module, user can carry out choosing operation to the check boxes in selection region M, specifically , refer to interface 702.
In interface 702, user can be according to the processing module required for the process chain newly created, in selection region M Corresponding check boxes are carried out to choose operation, after user selects to complete processing module in processing module list, Ke Yitong Cross to " it is determined that " button carries out clicking operation, to realize that the mark of processing module for choosing user is defined as target processing module Mark.For example, it is assumed that need the process chain that creates to need processing module 2, processing module 4 and processing module 5, then user Respectively check boxes corresponding to processing module 2, processing module 4 and processing module 5 choose with operation, and to " it is determined that " press Button carries out clicking operation so that the mark of display target processing module in configuring area, specifically, referring to interface 703.
In interface 703, user is received to processing module 2, processing module 4 and processing mould in Task Processing Unit The check boxes input of block 5 choose operation and to " it is determined that " after the clicking operation of button, by processing module 2, processing module 4 and the mark of processing module 5 be defined as the mark of target processing module, and by processing module 2, processing module 4 and place The mark of reason module 5 is shown in the N of region.
While user determines target processing module corresponding to target process chain by the embodiment shown in Fig. 7, also really Determine target processing template corresponding to each target processing module, below, inputted by the embodiment shown in Fig. 8 to receiving user Execution sequence be described in detail.
Fig. 8 is interactive interface schematic diagram two provided by the invention, refer to Fig. 8, including interface 801 and interface 802, specifically 's:
In interface 801, including selection region M and configuring area N, wherein, selection region M is used for institute in display module storehouse There is the mark of processing module, configuring area N is used for the mark for showing the target processing module that user chooses, in configuring area N Also include instrument list, instrument list includes multiple associated tools, can be by the plurality of associated tool in configuring area N Target processing module be associated operation, optionally, associated tool can include fastening means (arrow in instrument list), Attribute node instrument (" beginning " and " end " node in instrument list);When user is needed at the target in configuring area N When reason module is associated operation, user can select associated tool to enter each target processing module in associated tool list Row is operation associated, specifically, referring to interface 802.
In interface 802, it is assumed that in the process chain newly created between processing module 2, processing module 4 and processing module 5 Processing sequence be:Processing module 2, processing module 4, processing module 5, due to the first processing that processing module 2 is the process chain Module, processing module 5 are last processing module, then user can use " beginning " node before processing module 2, handle " end " node is used after module 5, and in " beginning " node, processing module 2, processing module 4, processing module 5, " end " section Fastening means is used successively between point, to represent the processing sequence of each processing module in the process chain, is completed in user to each Individual target processing module it is operation associated after, can in configuring area N " completion " button carry out clicking operation so that appoint Processing unit of being engaged in can be inputted according to user it is operation associated, generation processing module 2, processing module 4 and processing module 5 it Between execution sequence.
In the embodiment shown in Fig. 7-Fig. 8, user can be determined corresponding to process chain by visual operation interface Execution sequence between multiple processing modules and the plurality of processing module so that Task Processing Unit inputs according to user Configuration information quickly creates process chain, and aforesaid operations process is simple and convenient, further improves the efficiency for creating process chain.
Fig. 9 is the structural representation one of Task Processing Unit provided by the invention, refers to Fig. 9, the device can include:
First receiving module 11, for receiving task processing request message, task processing request message includes pending The mark of business;
Determining module 12, for according to task requests message, determining target process chain corresponding to the mark of waiting task;
Initialization module 13, for the target processing template according to corresponding to target process chain, target process chain is carried out just Beginningization;
Processing module 14, for according to the target process chain after initialization, handling waiting task.
Task Processing Unit shown in the embodiment of the present invention can perform the technical scheme shown in above method embodiment, its Realization principle and beneficial effect are similar, are no longer repeated herein.
Figure 10 is the structural representation two of Task Processing Unit provided by the invention, on the basis of embodiment illustrated in fig. 9, Figure 10 is referred to, initialization module 13 includes acquiring unit 131, determining unit 132 and initialization unit 133, wherein,
Acquiring unit 131 is used for, and obtains configuration information corresponding to target process chain;
Determining unit 132 is used for, according to configuration information, determine multiple target processing modules corresponding to target process chain, with And target processing template corresponding to each target processing module;
Initialization unit 133 is used for, and according to target processing template corresponding to each target processing module, mould is handled to each target Block is initialized.
In a kind of feasible implementation, determining unit 132 is specifically used for:
According to configuration information, judge whether target processing template corresponding to target processing module is self-defined processing template;
If so, the then plug-in unit according to corresponding to configuration information obtains target processing module, and target processing is obtained in plug-in unit Self-defined processing module corresponding to module, self-defined processing module is defined as target processing template;
If it is not, public processing mould corresponding to then obtaining target processing module in public processing template storehouse according to configuration information Plate, public processing template is defined as target processing template.
In another feasible implementation, when target processing template is self-defined processing template, initialization unit 133 are specifically used for:
Obtain Classloader corresponding to plug-in unit;
Category information is obtained in target processing template by Classloader;
According to category information, target processing module is initialized.
In another feasible implementation, when target processing template is public processing template, initialization unit 133 It is specifically used for:
Obtain in target processing template and obtain category information;
According to category information, target processing module is initialized.
In another feasible implementation, when category information includes realizing class and configuration class, initialization unit 133 has Body is used for, and reflection realizes constructed fuction in class and carries out JSON unserializings to configuration class, and mould is handled to target to realize Block is initialized;
When category information includes realizing class, initialization unit 133 is specifically used for, and the constructed fuction in class is realized in reflection, with Realization initializes to target processing module.
In another feasible implementation, processing module 14 is specifically used for:
According to configuration information, the execution sequence of each target processing module is obtained;
According to execution sequence, waiting task is handled according to each target processing module successively.
In another feasible implementation, the device also includes the second receiving module 15 and creation module 16, wherein,
Second receiving module 15 is used for, and before the first receiving module receives task processing request message, it is defeated to receive user The process chain request to create entered, process chain request to create include the mark of target process chain;
Second receiving module 15 is additionally operable to, and receives configuration information corresponding to the target process chain of user's input, configuration information Include the identifying of multiple target processing modules corresponding to target process chain, the execution sequence of each target processing module, each processing The mark of processing template corresponding to module;
Creation module 16 is used for, and according to process chain request to create and configuration information, creates target process chain.
Task Processing Unit shown in the embodiment of the present invention can perform the technical scheme shown in above method embodiment, its Realization principle and beneficial effect are similar, are no longer repeated herein.
Figure 11 is the structural representation one of task processing equipment provided by the invention, refers to Figure 11, including processor 21, Memory 22, COM1 23 and communication bus 24, communication bus 24 are used to realize the communication connection between element, storage Device 22 is used for storage program, and processor 21 is used to read the program in memory 22, performs following operation:
Task is received by COM1 23 and handles request message, task processing request message includes the mark of waiting task Know;
According to task requests message, target process chain corresponding to the mark of waiting task is determined;
According to target processing template corresponding to the configuration information of target process chain and target process chain, target process chain is entered Row initialization;
According to the target process chain after initialization, waiting task is handled.
Task processing equipment shown in the embodiment of the present invention can perform the technical scheme shown in above method embodiment, its Realization principle and beneficial effect are similar, are no longer repeated herein.
In a kind of possible embodiment, processor 21 is specifically used for:
Obtain configuration information corresponding to the target process chain;
According to the configuration information, multiple target processing modules corresponding to the target process chain and each described are determined Target processing template corresponding to target processing module;
According to target processing template corresponding to each target processing module, each target processing module is carried out initial Change.
In alternatively possible embodiment, processor 21 is specifically used for:
According to the configuration information, judge whether target processing template corresponding to the target processing module is self-defined place Manage template;
If so, the then plug-in unit according to corresponding to the configuration information obtains the target processing module, and in the plug-in unit Self-defined processing module corresponding to the target processing module is obtained, the self-defined processing module is defined as at the target Manage template;
It is if it is not, public corresponding to then obtaining the target processing module in public processing template storehouse according to the configuration information With processing template, the public processing template is defined as the target processing template.
In alternatively possible embodiment, when the target processing template is the self-defined processing template, place Reason device 21 is specifically used for:
Obtain Classloader corresponding to the plug-in unit;
Category information is obtained in the target processing template by the Classloader;
According to the category information, the target processing module is initialized.
In alternatively possible embodiment, when the target processing template is the public processing template, processing Device 21 is specifically used for:
Obtain in the target processing template and obtain category information;
According to the category information, the target processing module is initialized.
In alternatively possible embodiment, when the category information includes realizing class and configuration class, processor 21 has Body is used for:Reflect the constructed fuction realized in class and JSON unserializings are carried out to the configuration class, to realize to institute Target processing module is stated to be initialized;
When the category information includes realizing class, processor 21 is specifically used for:The constructed fuction realized in class is reflected, The target processing module is initialized with realizing.
In alternatively possible embodiment, processor 21 is specifically used for:
According to the configuration information, the execution sequence of each target processing module of acquisition;
According to the execution sequence, the waiting task is handled according to each target processing module successively.
Figure 12 is the structural representation two of task processing equipment provided by the invention, on the basis of embodiment illustrated in fig. 11 On, Figure 12 is referred to, the equipment also includes input equipment 25, wherein,
Processor 21 is additionally operable to, and before task is received by the COM1 23 and handles request message, passes through input Equipment 25 receives the process chain request to create of user's input, and the process chain request to create includes the mark of the target process chain Know;
Processor 21 is additionally operable to, and institute corresponding to the target process chain of user's input is received by the input equipment 25 State configuration information, the configuration information include the mark of the multiple target processing module corresponding to the target process chain, The mark of processing template corresponding to the execution sequence of each target processing module, each processing module;
Processor 21 is additionally operable to, and according to the process chain request to create and the configuration information, creates the target processing Chain.
Task processing equipment shown in the embodiment of the present invention can perform the technical scheme shown in above method embodiment, its Realization principle and beneficial effect are similar, are no longer repeated herein.
Finally it should be noted that:Various embodiments above is only to illustrate the technical scheme of the application, rather than its limitations;To the greatest extent The application is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from each embodiment technology of the application The scope of scheme.

Claims (17)

  1. A kind of 1. task processing method, it is characterised in that including:
    Reception task handles request message, and the task processing request message includes the mark of waiting task;
    According to the task requests message, target process chain corresponding to the mark of the waiting task is determined;
    According to target processing template corresponding to the target process chain, the target process chain is initialized;
    According to the target process chain after the initialization, the waiting task is handled.
  2. 2. according to the method for claim 1, it is characterised in that mould is handled according to target corresponding to the target process chain Plate, the target process chain is initialized, including:
    Obtain configuration information corresponding to the target process chain;
    According to the configuration information, multiple target processing modules corresponding to the target process chain and each target are determined Target processing template corresponding to processing module;
    According to target processing template corresponding to each target processing module, each target processing module is initialized.
  3. 3. according to the method for claim 2, it is characterised in that according to the configuration information, determine the target processing mould Target processing template corresponding to block, including:
    According to the configuration information, judge whether target processing template corresponding to the target processing module is self-defined processing mould Plate;
    If so, the then plug-in unit according to corresponding to the configuration information obtains the target processing module, and being obtained in the plug-in unit Self-defined processing module corresponding to the target processing module, the self-defined processing module is defined as the target and handles mould Plate;
    If it is not, public place corresponding to then obtaining the target processing module in public processing template storehouse according to the configuration information Template is managed, the public processing template is defined as the target processing template.
  4. 4. according to the method for claim 3, it is characterised in that the target processing template is the self-defined processing mould Plate, according to target processing template corresponding to the target processing module, the target processing module is initialized, including:
    Obtain Classloader corresponding to the plug-in unit;
    Category information is obtained in the target processing template by the Classloader;
    According to the category information, the target processing module is initialized.
  5. 5. according to the method for claim 3, it is characterised in that the target processing template is the public processing template, According to target processing template corresponding to the target processing module, the target processing module is initialized, including:
    Obtain in the target processing template and obtain category information;
    According to the category information, the target processing module is initialized.
  6. 6. the method according to claim 4 or 5, it is characterised in that
    The category information includes realizing class and configuration class, and according to the category information, the target processing module is initialized, Including:
    Reflect the constructed fuction realized in class and JSON unserializings are carried out to the configuration class, to realize to described Target processing module is initialized;
    The category information includes realizing class, and according to the category information, the target processing module is initialized, including:
    The constructed fuction realized in class is reflected, the target processing module is initialized with realizing.
  7. 7. according to the method described in claim any one of 2-5, it is characterised in that handled according to the target after the initialization Chain, the waiting task is handled, including:
    According to the configuration information, the execution sequence of each target processing module of acquisition;
    According to the execution sequence, the waiting task is handled according to each target processing module successively.
  8. 8. according to the method described in claim any one of 1-5, it is characterised in that before the task of reception processing request message, Also include:
    The process chain request to create of user's input is received, the process chain request to create includes the mark of the target process chain Know;
    The configuration information corresponding to the target process chain of user's input is received, the configuration information includes the target The identifying of the multiple target processing module corresponding to process chain, the execution sequence of each target processing module, each place Manage the mark of processing template corresponding to module;
    According to the process chain request to create and the configuration information, the target process chain is created.
  9. A kind of 9. Task Processing Unit, it is characterised in that including:
    First receiving module, for receiving task processing request message, the task processing request message includes waiting task Mark;
    Determining module, for according to the task requests message, determining that target corresponding to the mark of the waiting task is handled Chain;
    Initialization module, for the target processing template according to corresponding to the target process chain, the target process chain is carried out Initialization;
    Processing module, for according to the target process chain after the initialization, handling the waiting task.
  10. 10. device according to claim 9, it is characterised in that the initialization module includes acquiring unit, determines list Member and initialization unit, wherein,
    The acquiring unit is used for, and obtains configuration information corresponding to the target process chain;
    The determining unit is used for, and according to the configuration information, determines multiple target processing moulds corresponding to the target process chain Target processing template corresponding to block and each target processing module;
    The initialization unit is used for, according to target processing template corresponding to each target processing module, to each target Processing module is initialized.
  11. 11. device according to claim 10, it is characterised in that the determining unit is specifically used for:
    According to the configuration information, judge whether target processing template corresponding to the target processing module is self-defined processing mould Plate;
    If so, the then plug-in unit according to corresponding to the configuration information obtains the target processing module, and being obtained in the plug-in unit Self-defined processing module corresponding to the target processing module, the self-defined processing module is defined as the target and handles mould Plate;
    If it is not, public place corresponding to then obtaining the target processing module in public processing template storehouse according to the configuration information Template is managed, the public processing template is defined as the target processing template.
  12. 12. device according to claim 11, it is characterised in that the target processing template is the self-defined processing mould Plate, the initialization unit are specifically used for:
    Obtain Classloader corresponding to the plug-in unit;
    Category information is obtained in the target processing template by the Classloader;
    According to the category information, the target processing module is initialized.
  13. 13. device according to claim 11, it is characterised in that the target processing template is the public processing mould Plate, the initialization unit are specifically used for:
    Obtain in the target processing template and obtain category information;
    According to the category information, the target processing module is initialized.
  14. 14. the device according to claim 12 or 13, it is characterised in that
    The category information includes realizing class and configuration class, and the initialization unit is specifically used for, and reflects the structure realized in class Make function and JSON unserializings are carried out to the configuration class, the target processing module is initialized with realizing;
    The category information includes realizing class, and the initialization unit is specifically used for, and reflects the constructed fuction realized in class, with Realization initializes to the target processing module.
  15. 15. according to the device described in claim any one of 10-13, it is characterised in that the processing module is specifically used for:
    According to the configuration information, the execution sequence of each target processing module of acquisition;
    According to the execution sequence, the waiting task is handled according to each target processing module successively.
  16. 16. according to the device described in claim any one of 9-13, it is characterised in that described device also includes the second receiving module And creation module, wherein,
    Second receiving module is used for, and before first receiving module receives task processing request message, receives user The process chain request to create of input, the process chain request to create include the mark of the target process chain;
    Second receiving module is additionally operable to, and receives the configuration information corresponding to the target process chain of user's input, institute Stating configuration information includes the identifying of the multiple target processing module corresponding to the target process chain, each target processing The mark of processing template corresponding to the execution sequence of module, each processing module;
    The creation module is used for, and according to the process chain request to create and the configuration information, creates the target process chain.
  17. A kind of 17. task processing equipment, it is characterised in that including processor, memory and COM1, the memory For storage program, the processor is used to read the program in the memory, performs following operation:
    Task is received by the COM1 and handles request message, the task processing request message includes waiting task Mark;
    According to the task requests message, target process chain corresponding to the mark of the waiting task is determined;
    According to target processing template corresponding to the configuration information of the target process chain and the target process chain, to the target Process chain is initialized;
    According to the target process chain after the initialization, the waiting task is handled.
CN201610391199.4A 2016-06-03 2016-06-03 Task processing method, device and equipment Active CN107463391B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610391199.4A CN107463391B (en) 2016-06-03 2016-06-03 Task processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610391199.4A CN107463391B (en) 2016-06-03 2016-06-03 Task processing method, device and equipment

Publications (2)

Publication Number Publication Date
CN107463391A true CN107463391A (en) 2017-12-12
CN107463391B CN107463391B (en) 2020-11-10

Family

ID=60544978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610391199.4A Active CN107463391B (en) 2016-06-03 2016-06-03 Task processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN107463391B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733472A (en) * 2018-03-21 2018-11-02 北京猎户星空科技有限公司 A kind of task creation method and device
CN109286558A (en) * 2018-10-09 2019-01-29 武汉斗鱼网络科技有限公司 Message distributing method, device, electronic equipment and storage medium
CN110069295A (en) * 2019-05-06 2019-07-30 百度在线网络技术(北京)有限公司 Block chain processing method, device, equipment and medium
CN111443959A (en) * 2020-03-27 2020-07-24 北京金山云网络技术有限公司 Task execution method and device and server
CN111480144A (en) * 2017-12-19 2020-07-31 法国大陆汽车公司 Method for managing multiple tasks by multi-core motor vehicle computer

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050283766A1 (en) * 2000-12-06 2005-12-22 Microsoft Corporation Interface and related methods for dynamically generating a filter graph in a development system
US8104032B1 (en) * 2004-02-09 2012-01-24 Symantec Corporation System state rollback after modification failure
CN102402427A (en) * 2010-09-09 2012-04-04 阿里巴巴集团控股有限公司 Method and device for updating Java application program
CN102681894A (en) * 2011-03-09 2012-09-19 中兴通讯股份有限公司 Method and system for multitask concurrent scheduling
CN103207789A (en) * 2012-01-16 2013-07-17 阿里巴巴集团控股有限公司 Method and system for dynamically updating constant values of application server
CN104092591A (en) * 2014-08-04 2014-10-08 飞狐信息技术(天津)有限公司 Task monitoring method and system
CN104462605A (en) * 2014-12-31 2015-03-25 迈普通信技术股份有限公司 Database persistent layer frame configuration and modification method and system
CN104991824A (en) * 2015-08-03 2015-10-21 上海斐讯数据通信技术有限公司 Method and system for dynamically switching application program data sources

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050283766A1 (en) * 2000-12-06 2005-12-22 Microsoft Corporation Interface and related methods for dynamically generating a filter graph in a development system
US8104032B1 (en) * 2004-02-09 2012-01-24 Symantec Corporation System state rollback after modification failure
CN102402427A (en) * 2010-09-09 2012-04-04 阿里巴巴集团控股有限公司 Method and device for updating Java application program
CN102681894A (en) * 2011-03-09 2012-09-19 中兴通讯股份有限公司 Method and system for multitask concurrent scheduling
CN103207789A (en) * 2012-01-16 2013-07-17 阿里巴巴集团控股有限公司 Method and system for dynamically updating constant values of application server
CN104092591A (en) * 2014-08-04 2014-10-08 飞狐信息技术(天津)有限公司 Task monitoring method and system
CN104462605A (en) * 2014-12-31 2015-03-25 迈普通信技术股份有限公司 Database persistent layer frame configuration and modification method and system
CN104991824A (en) * 2015-08-03 2015-10-21 上海斐讯数据通信技术有限公司 Method and system for dynamically switching application program data sources

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘昱: "ONCEPI工作流系统服务集成框架与监视技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111480144A (en) * 2017-12-19 2020-07-31 法国大陆汽车公司 Method for managing multiple tasks by multi-core motor vehicle computer
CN111480144B (en) * 2017-12-19 2023-10-17 纬湃科技有限责任公司 Method for managing multiple tasks by multi-core motor vehicle computer
CN108733472A (en) * 2018-03-21 2018-11-02 北京猎户星空科技有限公司 A kind of task creation method and device
CN109286558A (en) * 2018-10-09 2019-01-29 武汉斗鱼网络科技有限公司 Message distributing method, device, electronic equipment and storage medium
CN110069295A (en) * 2019-05-06 2019-07-30 百度在线网络技术(北京)有限公司 Block chain processing method, device, equipment and medium
CN111443959A (en) * 2020-03-27 2020-07-24 北京金山云网络技术有限公司 Task execution method and device and server

Also Published As

Publication number Publication date
CN107463391B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN107463391A (en) Task processing method, device and equipment
US9990411B2 (en) Platform for visually configuring a process flow across multiple discrete processes
EP3472766A1 (en) Workflow visualization platform
CN109818848B (en) Session display method and device, storage medium and electronic device
CN111639027B (en) Test method and device and electronic equipment
US11176169B2 (en) Recommending visual and execution templates to enable automation of control and data exploration across systems
US10083061B2 (en) Cloud embedded process tenant system for big data processing
CN110224899B (en) TCP application call chain acquisition method and device
US20170206483A1 (en) Workflow storage, processing, management, and task creation system
CN108665129A (en) A kind of Workflow Custom method and device
CN112669110A (en) Server label management method and related equipment
US20200342025A1 (en) Interactive and non-interactive execution and rendering of templates to automate control and exploration across systems
US10365925B2 (en) Merging applications
CN111798161A (en) Flow configuration method, device, equipment and storage medium
JP2018092344A (en) Data processing apparatus, data processing method, and data processing program
US11907878B2 (en) System and method of running an agent guide script-flow in an employee desktop web client
WO2017097103A1 (en) Recommendation system, apparatus and method thereof to guide self-service analytic
CN116578497A (en) Automatic interface testing method, system, computer equipment and storage medium
US20200134523A1 (en) Systems and methods for distributed risk analysis
CN116166556A (en) Code analysis method, device and system
US11227005B2 (en) Gesture-based database actions
CN109120783A (en) Information acquisition method and device, mobile terminal and computer readable storage medium
CN113032209A (en) Operation monitoring method, device, server and medium
CN113923250A (en) Method, device and system for assisting network service arrangement
CN114281849B (en) Data query method and device

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