CN103440165B - A kind of task assignment towards individual and disposal route - Google Patents

A kind of task assignment towards individual and disposal route Download PDF

Info

Publication number
CN103440165B
CN103440165B CN201310389968.3A CN201310389968A CN103440165B CN 103440165 B CN103440165 B CN 103440165B CN 201310389968 A CN201310389968 A CN 201310389968A CN 103440165 B CN103440165 B CN 103440165B
Authority
CN
China
Prior art keywords
task
flow
server
user
execution
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.)
Active
Application number
CN201310389968.3A
Other languages
Chinese (zh)
Other versions
CN103440165A (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.)
Xidian University
Original Assignee
Xidian University
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 Xidian University filed Critical Xidian University
Priority to CN201310389968.3A priority Critical patent/CN103440165B/en
Publication of CN103440165A publication Critical patent/CN103440165A/en
Application granted granted Critical
Publication of CN103440165B publication Critical patent/CN103440165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of task assignment towards individual and disposal route, comprise task and issue and executing rule: 1) user applies to become registered user, obtains task case, obtains task design instrument simultaneously; 2) user utilizes task design instrument, carries out semanteme and syntax check by task detector, by the execution of task simulation device artificial tasks stream; 3) task dispatcher explains flow of task definition, and task is distributed to task execution client, and task execution client obtains packaging file; 4) task execution client performs this task, the value of modification process variable or carry out interacting message with task server; 5) executed of tasks carrying machine notice task server task is complete; 6) task dispatcher distributes next task to other executors, repeats 3)-6).The present invention is based on internet, distributed task scheduling distributes manner of execution, user accepts and performs arrange or distribute task, has order, concurrent, mutual exclusion and recurrence relation between task.

Description

A kind of task assignment towards individual and disposal route
Technical field
The invention belongs to software engineering application and development field, relate to a kind of task assignment towards individual and disposal route, this technology can solve the problem of the main To enterprises user of work on hand streaming system, provides a kind of opening, towards the public the task assignment of user and disposal route.
Background technology
Email is the most ancient on Internet is also the most successfully one of apply.Along with the development of internet, increasing people using Email its as topmost data communication means.The Performance And Reliability of mailing system improves constantly, and the capacity of mailbox constantly increases, and content can comprise word, figure, sound, video etc.In order to improve the diversity of service, mail service provider is proposed various new service item, as automatically replied and short message notification etc.These services can be regarded as some predefined task processes, and such as after the mailbox of certain user of envelope mail arrives, system is automatically replied according to rule or sent SMS message by Short Message Service Gateway and notifies user.
But automatically reply with the function of the task process such as short message notification too simple, and owing to being predefined, user cannot carry out expanding or add other function.Many times we wish can according to the more complicated task process of oneself own requirement processing logic relation.A such as teacher, he wants several student to fill out a form to obtain some information, then these information is done some statistical treatments.If complete this part thing with Email, teacher sends out an envelope mail can only to each student, and enclose a form, after student fills up a form, replied mail is to teacher and enclose the form filled in, after teacher receives the reply of students, download form, copy data wherein and carry out statistical treatment.If there is such system, allows teacher that student is filled up a form and be designed to a task, then this task is sent to student as mail.Student fills in and complete form is submitted to system, and system is automatically collected the data in all forms and performed the task of a statistical treatment, finally the result of statistics is sent to teacher.We claim the system providing task process processing capacity to be electronic tasks system (ElectronicTaskSystem is called for short E-Task or ET).
Electronic tasks system is a kind of based on internet, and distributed task scheduling distributes, executive system.By ET system, user can accept and perform the task of others' arrangement, and the task that also can distribute is to other people, and these tasks can be isolated, also can be associated.Order can be had between task, concurrent, mutual exclusion, the relations such as circulation.Flow of task (Taskprocess) is called to set of tasks together according to certain relational organization.Task case is an addressable storage area, for depositing task definition, and task instances and other data relevant with task.Task case is that task publisher owns, and performer need not have a task case.Flow of task defines, and is the computer representation of flow of task.
Workflow management originates from organization of production and Field of Office Automation, is the concept proposed for the activity in routine work with fixed routine.Object is by becoming to define good task, role by job analysis, perform these tasks according to certain rule and process and they are monitored, reaching the target of increasing work efficiency, reducing production cost, improving enterprise production and operation management level and enterprise competitiveness.
Workflow system is exactly the software engineering platform utilizing computer technology to realize workflow engine mechanism, can Rapid Implementation workflow management solution on this platform.The business processing of routine work or collaborative work can be flowed by the rule pre-defined and process, and this process can tracked and monitoring.Work on hand streaming system is To enterprises user mainly.
Domesticly also comparing shortcoming towards the task assignment of individual and the research of process field at present, be worth so the research and development of this respect have good engineer applied.
Summary of the invention
The object of this invention is to provide a kind of task assignment towards individual and disposal route, the present invention distributes executive system based on internet, distributed task scheduling, user can accept and perform arranging of task, also can distribute task, has order, concurrent, mutual exclusion and recurrence relation between task.The invention solves the single problem of work on hand streaming system main To enterprises user and user oriented colony, for a kind of opening, the method for user towards the public.
In order to realize technique scheme, the present invention takes following technical solution:
Towards individual's task assignment and a disposal route, comprise task and issue and executing rule, step is as follows:
The first step, user, to operator's application service, becomes registered user and obtains the task case that has certain capacity, obtaining the task design instrument comprising flow of task designer, task detector, task simulation device and task dispatcher simultaneously;
Second step, user utilizes task design instrument, and design a flow of task definition, this flow of task is defined by task detector and carries out semanteme and syntax check, by the implementation of task simulation device artificial tasks stream;
3rd step, the flow of task definition of task dispatcher interpreting user design, and according to the logical relation between defining in flow of task of task, task is distributed to corresponding task execution client, task execution client obtains the assignment file of a packing;
4th step, task execution client opens assignment file by tasks carrying machine, connects and perform this task with task server in the presence of task execution client, the value of modification process variable or carry out interacting message with task server;
5th step, this task executed of tasks carrying machine notice task server is complete;
6th step, task dispatcher distributes next task to other executors according to task correlated variables currency, repeats the 3rd step to the 6th step.
Further, described task dispatcher be responsible for task issue, described task server is responsible for task flow monitoring and alteration ruler, user by task case management tool and task server mutual; Described task execution client is responsible for executing rule.
Further, described flow of task monitoring is as follows with alteration ruler step:
The first step, user utilizes flow of task designer, issues a flow of task;
Second step, user utilizes task case management tool, proposes to check task flow implementation status to task server;
3rd step, task server is by checking task flow control variable, task flow correlated variables and log information, and the task flow implementation status of this being checked is back to task server;
4th step, user utilizes task case management tool, proposes the request of amendment task flow to task server;
5th step, task server is labeled as " amendment " by this task flow;
6th step, when tasks carrying machine activates at every turn, checks task server, if place task flow is revised, then reloads assignment file from task server.
Further, described tasks carrying machine is arranged on task execution client, and it is the agent mode based on web.
Further, described task is issued and can be made task in Internet Transmission from illegally stopping, steal and distorting puzzlement with execution.
Further, described task server completes that back work comprises log, task related data persistence is supported, time reference and condition monitoring support.
Further, the flow of task definition that described flow of task designer is produced by service primitive is distributed to corresponding task execution client task respectively, and service primitive is divided into management primitive and performs primitive two class;
Described management primitive comprises connection, disconnects, checks and delete four parts;
Described execution primitive comprises startup, suspends, recovers, fetches, establishes value primitive and message primitives.
The present invention mainly has following characteristics towards the task assignment of individual and disposal route:
1) task dispatcher be responsible for task issue, task server is responsible for task flow monitoring and alteration ruler, user by task case management tool and task server mutual; Task execution client is responsible for executing rule.
2) issue in task and only have the promoter of task to need apply for task case to operator and task definition software is installed in executing rule.He can distribute task, and to any recipient, no matter whether these recipients are users.He can the task flow issued of global monitoring, checks its executing state, cancels or revise the task flow etc. run.
3) for recipient, they are without the need to being also can perform with process user the task that others arranges towards the task assignment of individual; They can select to perform or refusal execution task, and the result refusing to execute the task will cause an execute exception or time-out, and triggering is performed predefined event handling code by this.
4) user utilizes task design instrument, designs the definition of flow of task, and this flow of task is defined by task detector and carries out semantic and syntax check, implementation by task simulation device artificial tasks stream;
5) executor has a tasks carrying machine, and it is the agent mode based on web; When tasks carrying machine activates at every turn, check task server, if place task flow is revised, then reload assignment file from task server.
Accompanying drawing explanation
Fig. 1 is system architecture diagram.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
As shown in Figure 1, the task assignment towards individual of the present invention and disposal route are undertaken by system component, and system is divided into three classes according to function: definition end assembly, service end assembly and client component.This division according to function but not implementation divide.The realization of system can have multiple choices, can adopt the realization of centralized services formula, also can adopt distributed implementation, and native system adopts distributed implementation.
Definition end assembly in the present invention comprises flow of task designer, task detector and task simulation device; Service end assembly comprises task dispatcher, task server; Client component comprises task execution client;
Task dispatcher divides according to function and belongs to service end assembly, but also can realize in client utility when system realizes, and also namely distributed task scheduling distributes.Practice shows, it is the important means of mitigation performance pressure that distributed task scheduling distributes.
Wherein, flow of task designer, being responsible for creation task and flow of task, is a patterned instrument, or the text edit tool with prompt facility, and the Output rusults of flow of task designer is flow of task definition;
Task detector, is responsible for carrying out syntax and semantics inspection to flow of task definition;
Task simulation device, is responsible for the implementation of artificial tasks stream;
Task dispatcher, is distributed to corresponding executor according to the logical relation between defining in flow of task of task task;
Task server, some back works in circulation process of being responsible for finishing the work, task server is the assembly uniquely needing to keep Persistent activity in electronic tasks system;
Task execution client, the execution environment of task, it passes through client end AP I and task server is mutual, and more new task related data is registered log information to task server and monitors executory flow of task example;
The flow of task definition that above-mentioned flow of task designer is produced by service primitive connects task simulation device, task detector and task dispatcher respectively, task dispatcher connects task execution client by task related data, and task related data connects task server by task case.
In a system of the invention, task server completes that back work comprises log, task related data persistence is supported, time reference and condition monitoring support.
Task assignment towards individual is distributed in task to disposal system, have much similar place with Workflow Management System in Row control etc., but is not Workflow Management System towards the task assignment of individual and disposal system, is also different from e-mail system.
Be divided into management primitive towards the task assignment of individual and the service primitive of disposal system and perform primitive two class.Management primitive comprises connection, disconnects, checks and delete.Perform primitive to comprise startup, suspend, recover, fetch, establish value primitive and message primitives.
Management primitive comprises:
Connect, link primitive is with task case title or register name, and password is parameter, connects with task server.Connect and will cause increasing a linkage record in user journal.
Disconnect, disconnect primitive with task case title or register name for parameter, disconnect connection that is current and task server.Disconnect and increase by user journal will be caused to disconnect record.
Check, accept different parameters to check the Obj State in current task case.As the task process example run, the current implementation status of a certain flow of task etc.
Delete, with flow of task example number for parameter, delete the flow instance performed.Delete flow of task example will cause removing flow of task running space, flow process variable, state variable.Just will be accepted the operation requests of this example in executory task, but not perform any action.
Execution primitive comprises:
Start, start primitive and be defined as parameter with flow of task and flow of task definition be uploaded to task case and start the execution of flow of task.
Suspend, suspend primitive and start primitive is defined as parameter suspended task flow instance execution with flow of task.After this just will be accepted the operation requests of this example in executory task, and perform corresponding actions, but not carry out new task and distribute.
Recover, recover primitive and recover to perform stopped task flow process.This operation will cause new task to be distributed.
Fetch, fetch primitive with process code, flow process variable is called parameter, obtains variable currency.
If value primitive, if the value that value primitive is parameter and more new technological process variable with process code, flow process variable name, variable initial value, settings.If the variable currency of the variable initial value that parameter provides and service end is not inconsistent, server will return error message (as 304.1, variable initial value is revised), and now client again should read and attempt again carrying out establishing value.This mechanism ensure that the consistance of variable synchronization of access.
Message primitives, sends message to server with task instances numbering, message code for parameter.Server receives message will cause the action corresponding with message code, as registration log record, distribute follow-up work etc.
The present invention towards the task assignment of individual and disposal route as follows:
Towards the task assignment of individual and the operation rule of disposal system:
1. task is issued and executing rule:
The first step, user, to operator's application service, becomes registered user and obtains the task case that has certain capacity, obtaining the task design instruments such as flow of task designer, task detector and task simulation device simultaneously;
Second step, user utilizes task design instrument, designs the definition of flow of task, and this flow of task is defined by task detector and carries out semantic and syntax check, implementation by task simulation device artificial tasks stream;
3rd step, the flow of task definition of task dispatcher interpreting user design, and according to the logical relation between defining in flow of task of task, task is distributed to corresponding task execution client, task execution client obtains the assignment file of a packing; Executor has a tasks carrying machine, and it is the agent mode based on web;
4th step, task execution client opens assignment file by tasks carrying machine, connects and perform this task with task server in the presence of task execution client, the value of modification process variable or carry out interacting message with task server;
5th step, this task executed of tasks carrying machine notice task server is complete;
6th step, task dispatcher distributes next task to other executors according to task correlated variables currency, repeats the 3rd step to the 6th step.
Task dispatcher be responsible for task issue, task server is responsible for task flow monitoring and alteration ruler, user by task case management tool and task server mutual; Task execution client is responsible for executing rule.
Issue in task and only have the promoter of task to need apply for task case to operator and task definition software is installed in executing rule.He can distribute task, and to any recipient, no matter whether these recipients are users.He can the task flow issued of global monitoring, checks its executing state, cancels or revise the task flow etc. run.For recipient, they are without the need to being also can perform with process user the task that others arranges towards the task assignment of individual; They can select to perform or refusal execution task, and the result refusing to execute the task will cause an execute exception or time-out, and triggering is performed predefined event handling code by this.
2. flow of task monitoring and alteration ruler:
The first step, user utilizes definition ending tool flow of task designer, issues a flow of task;
Second step, user utilizes task case management tool, proposes to check task flow implementation status to task server;
3rd step, task server is by checking task flow control variable, task flow correlated variables and log information, and the task flow implementation status of this being checked is back to task server;
4th step, user utilizes task case management tool, proposes the request of amendment task flow to task server;
5th step, task server is labeled as " amendment " by this task flow;
6th step, when tasks carrying machine activates at every turn, checks task server, if place task flow is revised, then reloads assignment file from task server.
Towards the task assignment of individual and disposal system architecturally to the consideration of safety mainly in the following aspects:
1) system adopts the mode of " task notifications " to carry out task transmission." task notifications " is the connection string of an a few crossed joint, and real task body is kept in the task case of task publisher, just downloads from task case when only having executor to receive task, and executor can select to perform or this task of refusal execution.This has just stopped the harm that rubbish task fabricator arbitrarily issues rubbish task;
2) in order to prevent task publisher from sending calculation task consuming time to executor, system does not allow publisher to send autotask to other people except self.That is carry out the autotask of statistical treatment, can only perform in task publisher this locality.In addition system assignments has not allowed function to the task of other executor;
3) access of task execution client to flow data is subject to strict restriction, and user can only access with it that authority is suitable, and is in the task data of running status.

Claims (5)

1. towards individual's task assignment and a disposal route, it is characterized in that, comprise task and issue and executing rule, step is as follows:
The first step, user, to operator's application service, becomes registered user and obtains the task case that has certain capacity, obtaining the task design instrument comprising flow of task designer, task detector, task simulation device and task dispatcher simultaneously;
Second step, user utilizes task design instrument, and design a flow of task definition, this flow of task is defined by task detector and carries out semanteme and syntax check, by the implementation of task simulation device artificial tasks stream;
3rd step, the flow of task definition of task dispatcher interpreting user design, and according to the logical relation between defining in flow of task of task, task is distributed to corresponding task execution client, task execution client obtains the assignment file of a packing;
4th step, task execution client opens assignment file by tasks carrying machine, connects and perform this task with task server in the presence of task execution client, the value of modification process variable or carry out interacting message with task server;
5th step, this task executed of tasks carrying machine notice task server is complete;
6th step, task dispatcher distributes next task to other executors according to task correlated variables currency, repeats the 3rd step to the 6th step;
Described task dispatcher be responsible for task issue, described task server is responsible for task flow monitoring and alteration ruler, user by task case management tool and task server mutual; Described task execution client is responsible for executing rule;
Described flow of task monitoring is as follows with alteration ruler step:
The first step, user utilizes flow of task designer, issues a flow of task;
Second step, user utilizes task case management tool, proposes to check task flow implementation status to task server;
3rd step, task server is by checking task flow control variable, task flow correlated variables and log information, and the task flow implementation status of this being checked is back to task server;
4th step, user utilizes task case management tool, proposes the request of amendment task flow to task server;
5th step, task server is labeled as " amendment " by this task flow;
6th step, when tasks carrying machine activates at every turn, checks task server, if place task flow is revised, then reloads assignment file from task server.
2. a kind of task assignment towards individual according to claim 1 and disposal route, is characterized in that, described tasks carrying machine is arranged on task execution client, and it is the agent mode based on web.
3. a kind of task assignment towards individual according to claim 1 and 2 and disposal route, is characterized in that, described task is issued and can be made task in Internet Transmission from illegally stopping, steal and distorting puzzlement with execution.
4. a kind of task assignment towards individual according to claim 1 and disposal route, is characterized in that, described task server completes back work and comprises log, the support of task related data persistence, time reference and condition monitoring support.
5. a kind of task assignment towards individual according to claim 1 and disposal route, it is characterized in that, the flow of task definition that described flow of task designer is produced by service primitive is distributed to corresponding task execution client task respectively, and service primitive is divided into management primitive and performs primitive two class;
Described management primitive comprises connection, disconnects, checks and delete four parts;
Described execution primitive comprises startup, suspends, recovers, fetches, establishes value primitive and message primitives.
CN201310389968.3A 2013-08-30 2013-08-30 A kind of task assignment towards individual and disposal route Active CN103440165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310389968.3A CN103440165B (en) 2013-08-30 2013-08-30 A kind of task assignment towards individual and disposal route

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310389968.3A CN103440165B (en) 2013-08-30 2013-08-30 A kind of task assignment towards individual and disposal route

Publications (2)

Publication Number Publication Date
CN103440165A CN103440165A (en) 2013-12-11
CN103440165B true CN103440165B (en) 2016-04-27

Family

ID=49693855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310389968.3A Active CN103440165B (en) 2013-08-30 2013-08-30 A kind of task assignment towards individual and disposal route

Country Status (1)

Country Link
CN (1) CN103440165B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573988A (en) * 2015-01-28 2015-04-29 数据堂(北京)科技股份有限公司 Task outsourcing method and system
CN106651291A (en) * 2016-09-30 2017-05-10 北京奇虎科技有限公司 Task processing method and device
CN107909344B (en) * 2017-11-21 2020-07-17 杭州电子科技大学 Workflow log repeated task identification method based on relation matrix
CN109214770A (en) * 2018-07-24 2019-01-15 武汉空心科技有限公司 Development approach, platform and system based on design original text metering
CN109408213A (en) * 2018-10-09 2019-03-01 佛山市蠢材科技有限公司 Cotasking processing method, system and storage medium
CN110334918B (en) * 2019-06-18 2022-04-19 中国船舶工业系统工程研究院 Police collaborative plan planning system
CN114527962A (en) * 2020-11-23 2022-05-24 中国移动通信集团重庆有限公司 Flow automation processing device and method and computing equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5692192A (en) * 1994-07-19 1997-11-25 Canon Kabushiki Kaisha Load distribution method and system for distributed threaded task operation in network information processing apparatuses with virtual shared memory
CN101359295A (en) * 2007-08-01 2009-02-04 阿里巴巴集团控股有限公司 Batch task scheduling and allocating method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5692192A (en) * 1994-07-19 1997-11-25 Canon Kabushiki Kaisha Load distribution method and system for distributed threaded task operation in network information processing apparatuses with virtual shared memory
CN101359295A (en) * 2007-08-01 2009-02-04 阿里巴巴集团控股有限公司 Batch task scheduling and allocating method and system

Also Published As

Publication number Publication date
CN103440165A (en) 2013-12-11

Similar Documents

Publication Publication Date Title
CN103440165B (en) A kind of task assignment towards individual and disposal route
CN103559118B (en) A kind of method for auditing safely based on AOP and annotating information system
Adams et al. Dynamic, extensible and context-aware exception handling for workflows
US8166130B2 (en) Methods and systems for exchanging data between a command and control information system and an enterprise resource planning system
CN102375731A (en) Coding-free integrated application platform system
CN103412745A (en) Development and application platform
CN107103064A (en) Data statistical approach and device
CN103455369A (en) Task assigning and processing system facing to individual
GB2461774A (en) Data approval system
CN112365220A (en) Informationized dynamic supervision platform
CN115016960B (en) Configurable RPA robot full-flow information notification processing method and system
US8136087B2 (en) In-line processing of standardized text values
CN112988705A (en) Data middlebox construction method for enterprise-level production
Geist et al. Towards functional safety and security for adaptive and flexible business processes
Vera et al. Technological architecture to consume On-Premise ERP services from a hybrid cloud platform
CN110569026A (en) Service-oriented system architecture method based on J2EE framework
Ortiz et al. Akka Cookbook
Baude et al. Towards a flexible data stream analytics platform based on the GCM autonomous software component technology
Sheng Research on multi-dimensional reconstruction mechanism of cloud native full link in the metaverse scenario
Silva Filho et al. Corba based architecture for large scale workflow
EP4020217A1 (en) Performance monitoring for osgi application with bundles
Sunmola HYPERSCALING LARGE DATA INFORMATION SYSTEM: THE BLOGTRACKER USE CASE
Wang et al. Policy-based exception handling for BPEL processes
Zhang et al. Optimization Design of Privacy Protection System Based on Cloud Native
Zhang et al. Overview of Information System Testing Technology Under the “CLOUD+ MIcroservices” Mode

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant