Task creating method and system
A task and task type technology, applied in the field of task creation, can solve the problems of long development cycle, high difficulty and low portability of software applications.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0102] Corresponding to the method provided in Embodiment 1 of a task creation method of the present application, see Image 6, the present application also provides a task creation system embodiment 1, in this embodiment, the system includes:
[0103] A development unit 601, configured to apply OSGi technology to develop a task type plug-in corresponding to the target task;
[0104] An import unit 602, configured to import the task type plug-in into the target platform according to preset import rules;
[0105] The judging unit 603 is used to judge whether the task type plug-in is successfully imported, and if so, judge whether the creation instruction of the target task is received, and if so, select the task type plug-in corresponding to the target task creation instruction. task type identifier;
[0106] The creating unit 604 is configured to create the target task according to the task type identifier.
Embodiment 2
[0107] see Figure 7 , the present application also provides Embodiment 2 of a system for task creation. In this embodiment, the system further includes:
[0108] The first definition unit 701 is configured to define a business unit.
[0109] The second defining unit 702 is configured to define a task type.
[0110] The third defining unit 703 is configured to define an executor, and the executor includes the execution sequence of the business units.
[0111] In this application, also include:
[0112] An adding unit, configured to add the target task to a queue to be executed.
Embodiment 3
[0113] see Figure 8 , the present application also provides a task creation system embodiment 3, in this embodiment, the system also includes:
[0114] The query unit 801 is configured to sequentially query all tasks to be executed in the queue to be executed.
[0115] The extraction unit 802 is configured to extract the currently to-be-executed task from the task list when the queried task currently to be executed satisfies a preset execution condition.
[0116] To sum up, in the method and system for creating a task provided by the present application, the task type plug-in is developed using the dynamic modularization method of OSGi, which can make the task type independent of other plug-ins. According to the dependence of the actual application on the task type, the plug-in is imported and exported to realize the pluggability of the task type plug-in.
[0117] Using the task type plug-in can shield the differences of task types, realize zero programming for the definiti...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com