CN104391696A - Automatic task processing method and device - Google Patents

Automatic task processing method and device Download PDF

Info

Publication number
CN104391696A
CN104391696A CN201410640075.6A CN201410640075A CN104391696A CN 104391696 A CN104391696 A CN 104391696A CN 201410640075 A CN201410640075 A CN 201410640075A CN 104391696 A CN104391696 A CN 104391696A
Authority
CN
China
Prior art keywords
autotask
service
name
treatment
aftertreatment
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
CN201410640075.6A
Other languages
Chinese (zh)
Other versions
CN104391696B (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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201410640075.6A priority Critical patent/CN104391696B/en
Publication of CN104391696A publication Critical patent/CN104391696A/en
Application granted granted Critical
Publication of CN104391696B publication Critical patent/CN104391696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an automatic task processing method and device. The method comprises the following steps: receiving automatic task data uploaded by an online transaction application through a preset automatic task defining interface, and storing the automatic task data in a database; instantiating the automatic task data to be instantiated in the database into an automatic task instance in response to a first trigger command of a Quartz frame, and storing the automatic task instance in the database; calling the automatic task instantiate to be implemented in the database in response to a second trigger command of the Quartz frame; calling the Job of a Spring-batch frame to implement the automatic task instance to be implemented. According to the method, the automatic task defining interface is preset, a user can upload automatic task data by using the online transaction application without repeatedly writing code files, and the automatic task define interface is used for automatically processing and integrating the automatic task data and storing the integrated data in the database, so that the working efficiency is increased greatly.

Description

A kind of autotask disposal route and device
Technical field
The application relates to software technology field, more particularly, relates to a kind of autotask disposal route and device.
Background technology
Autotask be at the appointed time put or in date range with the cycle of specifying by the frequency of specifying automatically by having adjusted of task, its scheduled for executing is without the need to manual intervention, by sources mainly be divided into two classes, according to the task of trading environment reservation when one class is on-line transaction, a class is the task that project is directly embedded in database when reaching the standard grade.
Existing autotask processing mode comprises Spring-batch framework and the process of Quartz framework, and these two frameworks itself are outstanding Open Frameworks, but in Large-Scale Projects exploitation, directly uses two frameworks comparatively complicated for application developer.And Quartz itself can not support that reservation is executed the task well; Comparatively complicated to operational definition time Spring-batch relates to, and configuration is all defined in configuration file, if be each autotask application configuration Job, deal with and will bother very much.
Summary of the invention
In view of this, this application provides a kind of autotask disposal route and device, for solving the comparatively complicated problem of traditional autotask processing mode.
To achieve these goals, the existing scheme proposed is as follows:
A kind of autotask disposal route, comprising:
Receive the autotask data that on-line transaction application is uploaded by the autotask defining interface preset, and described autotask data are stored to database, described autotask data comprise duty cycle data, pre-treatment Service name, aftertreatment Service name and applied logic Service name;
First triggering command of response Quartz framework, turns to autotask example by autotask data instance to be instantiated in database, and is stored to database;
Second triggering command of response Quartz framework, has adjusted autotask example pending in database;
The Job calling Spring-batch framework performs described pending autotask example.
Preferably, if described pending autotask example allows concurrence performance, then the Job calling Spring-batch framework described in performs the process of described pending autotask example, comprising:
By the pre-treatment interface preset, to the pre-treatment service of on-line transaction application call service pre-treatment Service name by name, and pre-treatment service is utilized to carry out pre-treatment to autotask example;
By the applied business logic interfacing preset, to the applied logic service of on-line transaction application call service applied logic Service name by name, and applied logic service is utilized to carry out applied logic process to autotask example;
By the post-process interface preset, to the aftertreatment service of on-line transaction application call service aftertreatment by name, and aftertreatment service is utilized to carry out aftertreatment to autotask example.
Preferably, if described pending autotask example does not allow concurrence performance, then the Job calling Spring-batch framework described in performs the process of described pending autotask example, comprising:
Judge currently whether there is the autotask example performed;
If so, then stop performing described pending autotask example, until when determining the current autotask example do not performed, enter step a;
If not, then step a is entered;
Wherein, step a is:
By the pre-treatment interface preset, to the pre-treatment service of on-line transaction application call service pre-treatment Service name by name, and pre-treatment service is utilized to carry out pre-treatment to autotask example;
By the applied business logic interfacing preset, to the applied logic service of on-line transaction application call service applied logic Service name by name, and applied logic service is utilized to carry out applied logic process to autotask example;
By the post-process interface preset, to the aftertreatment service of on-line transaction application call service aftertreatment by name, and aftertreatment service is utilized to carry out aftertreatment to autotask example.
Preferably, describedly autotask data instance to be instantiated in database turned to autotask example comprise:
With reference to duty cycle data and current time in system, generate autotask example.
Preferably, if described pending autotask example allows multithreading to perform, then described pre-treatment service is for be divided into N number of district by the data of pending autotask example according to number of threads N, delimits the data performed by each thread; Described aftertreatment service is for gather the result after each thread process.
A kind of autotask treating apparatus, comprising:
Autotask data receipt unit, for receiving the autotask data that on-line transaction application is uploaded by the autotask defining interface preset, and described autotask data are stored to database, described autotask data comprise duty cycle data, pre-treatment Service name, aftertreatment Service name and applied logic Service name;
Instantiating unit, for responding the first triggering command of Quartz framework, turning to autotask example by autotask data instance to be instantiated in database, and being stored to database;
Task has adjusted unit, for responding the second triggering command of Quartz framework, has adjusted autotask example pending in database;
Task executing units, performs described pending autotask example for the Job calling Spring-batch framework.
Preferably, if described pending autotask example allows concurrence performance, then described task executing units comprises:
Task pretreatment unit, for the pre-treatment interface by presetting, to the pre-treatment service of on-line transaction application call service pre-treatment Service name by name, and utilizes pre-treatment service to carry out pre-treatment to autotask example;
Logical processing unit, for the applied business logic interfacing by presetting, to the applied logic service of on-line transaction application call service applied logic Service name by name, and utilizes applied logic service to carry out applied logic process to autotask example;
Task post-processing unit, for the post-process interface by presetting, to the aftertreatment service of on-line transaction application call service aftertreatment by name, and utilizes aftertreatment service to carry out aftertreatment to autotask example.
Preferably, if described pending autotask example does not allow concurrence performance, then described task executing units comprises:
Whether judging unit, currently exist the autotask example performed for judging;
Stop element, for when the judged result of described judging unit is for being, stops performing described pending autotask example;
Processing unit, for when the judged result of described judging unit is no, performs following process:
By the pre-treatment interface preset, to the pre-treatment service of on-line transaction application call service pre-treatment Service name by name, and pre-treatment service is utilized to carry out pre-treatment to autotask example;
By the applied business logic interfacing preset, to the applied logic service of on-line transaction application call service applied logic Service name by name, and applied logic service is utilized to carry out applied logic process to autotask example;
By the post-process interface preset, to the aftertreatment service of on-line transaction application call service aftertreatment by name, and aftertreatment service is utilized to carry out aftertreatment to autotask example.
Preferably, described instantiating unit, specifically for the first triggering command of response Quartz framework, with reference to duty cycle data and current time in system, generates autotask example, and is stored to database.
Preferably, if described pending autotask example allows multithreading to perform, then described pre-treatment service is for be divided into N number of district by the data of pending autotask example according to number of threads N, delimits the data performed by each thread; The aftertreatment service that described task post-processing unit calls is for gather the result after each thread process.
As can be seen from above-mentioned technical scheme, the autotask disposal route that the embodiment of the present application provides, receive the autotask data that on-line transaction application is uploaded by the autotask defining interface preset, and autotask data are stored to database, described autotask data comprise duty cycle data, pre-treatment Service name, aftertreatment Service name and applied logic Service name; First triggering command of response Quartz framework, turns to autotask example by autotask data instance to be instantiated in database, and is stored to database; Second triggering command of response Quartz framework, has adjusted autotask example pending in database; The Job calling Spring-batch framework performs described pending autotask example.The application is by pre-setting autotask defining interface, user uses during on-line transaction application uploading data at every turn and writes code file without the need to repeating, only need autotask data upload, autotask data can be carried out process and be integrated by autotask defining interface automatically, and be stored to database, substantially increase work efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only the embodiment of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 is a kind of autotask process flow figure disclosed in the embodiment of the present application;
Fig. 2 is a kind of autotask treating apparatus structural representation disclosed in the embodiment of the present application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
See Fig. 1, Fig. 1 a kind of autotask process flow figure disclosed in the embodiment of the present application.
As shown in Figure 1, the method comprises:
The autotask data that step S100, the application of reception on-line transaction are uploaded by the autotask defining interface preset, and described autotask data are stored to database;
Particularly, described autotask data comprise duty cycle data, pre-treatment Service name, aftertreatment Service name and applied logic Service name.Wherein, duty cycle data are task execution time, if task is periodic task, then duty cycle data also comprise the tasks carrying cycle.
Autotask defining interface is developed in advance in the application, user only needs to upload duty cycle data, pre-process and post-process Service name and applied logic Service name by on-line transaction application, these task datas can be carried out process according to the mode pre-defined and be integrated by task definition interface automatically that develop in advance, and are stored to database.
First triggering command of step S110, response Quartz framework, turns to autotask example by autotask data instance to be instantiated in database, and is stored to database;
Particularly, the trigger condition of described Quartz framework is: according to the scan period of presetting, whether there are autotask data in scan database, if find to there are autotask data, then determines satisfied first triggering command.
Autotask data are only instantiated as concrete autotask example subbranch can carry out follow-up process.In the process of autotask instantiation, need, with reference to duty cycle data and current time in system, to generate an autotask example, and the autotask example of generation is stored in database.Such as one-period task is 17 batch payments every day, and current time is point in 1 day 8 November, then generate the autotask example that an execution time is November 1 17.
Second triggering command of step S120, response Quartz framework, has adjusted autotask example pending in database;
Particularly, similar to above-mentioned first triggering command, whether Quartz framework, according to the scan period of presetting, exists autotask example in scan database, if find to there is autotask example, then determines satisfied second triggering command.
Step S130, call Spring-batch framework Job perform described pending autotask example.
The autotask disposal route that the embodiment of the present application provides, receive the autotask data that on-line transaction application is uploaded by the autotask defining interface preset, and autotask data are stored to database, described autotask data comprise duty cycle data, pre-treatment Service name, aftertreatment Service name and applied logic Service name; First triggering command of response Quartz framework, turns to autotask example by autotask data instance to be instantiated in database, and is stored to database; Second triggering command of response Quartz framework, has adjusted autotask example pending in database; The Job calling Spring-batch framework performs described pending autotask example.The application is by pre-setting autotask defining interface, user uses during on-line transaction application uploading data at every turn and writes code file without the need to repeating, only need autotask data upload, autotask data can be carried out process and be integrated by autotask defining interface automatically, and be stored to database, substantially increase work efficiency.
Optionally, if described pending autotask example allows concurrence performance, then above-mentioned steps S130, the Job that calls Spring-batch framework perform the process of described pending autotask example and are:
By the pre-treatment interface preset, to the pre-treatment service of on-line transaction application call service pre-treatment Service name by name, and pre-treatment service is utilized to carry out pre-treatment to autotask example;
By the applied business logic interfacing preset, to the applied logic service of on-line transaction application call service applied logic Service name by name, and applied logic service is utilized to carry out applied logic process to autotask example;
By the post-process interface preset, to the aftertreatment service of on-line transaction application call service aftertreatment by name, and aftertreatment service is utilized to carry out aftertreatment to autotask example.
Particularly, this process is divided into above-mentioned pre-treatment, applied logic process and aftertreatment three steps.We develop pre-treatment interface, applied business logic interfacing and post-process interface in advance, be respectively used to the service to on-line transaction application call service pre-treatment Service name, applied logic Service name and aftertreatment Service name by name, and utilize the service of calling to process accordingly autotask example, complete the implementation of autotask example.
Optionally, if described pending autotask example does not allow concurrence performance, then above-mentioned steps S130, the Job that calls Spring-batch framework perform the process of described pending autotask example and are:
Judge currently whether there is the autotask example performed;
If so, then stop performing described pending autotask example, until when determining the current autotask example do not performed, enter step a;
If not, then step a is entered;
Wherein, step a is:
By the pre-treatment interface preset, to the pre-treatment service of on-line transaction application call service pre-treatment Service name by name, and pre-treatment service is utilized to carry out pre-treatment to autotask example;
By the applied business logic interfacing preset, to the applied logic service of on-line transaction application call service applied logic Service name by name, and applied logic service is utilized to carry out applied logic process to autotask example;
By the post-process interface preset, to the aftertreatment service of on-line transaction application call service aftertreatment by name, and aftertreatment service is utilized to carry out aftertreatment to autotask example.
It should be noted that, above-mentionedly judge whether the process that there is the autotask example performed, judgement be the autotask example performing the pre-treatment of step a, applied logic process and aftertreatment.
Known, allow the process of concurrence performance compared to task instances, this process adds a deterministic process.
Such as, if it is to be understood that an autotask example allows multithreading to perform, a batch payment may have the even thousands of pen of hundreds of pen, and each pen does not conflict between transferring accounts mutually, and the mode therefore adopting multithreading to perform can promote execution speed.Pre-treatment service in above-mentioned autotask instance processes process is and the data of autotask example is divided into N number of district according to number of threads N, delimits the data performed by each thread.Multithreading actuating logic needs to ensure that data are neither repeatedly executed and are not also missed execution, this time adopts the mode of Data Division, transfer data is evenly divided into several parts by number of threads N, and all in each thread execution part are transferred accounts.Meanwhile, the process of above-mentioned aftertreatment service is the result after by each thread process and gathers, such as, and each successful stroke count, failed stroke count, the successful amount of money, the failed amount of money performed of statistics.
By the processing mode of multithreading, considerably increase tasks carrying efficiency.
Be described the autotask treating apparatus that the embodiment of the present application provides below, autotask treating apparatus described below can mutual corresponding reference with above-described autotask disposal route.
See Fig. 2, Fig. 2 a kind of autotask treating apparatus structural representation disclosed in the embodiment of the present application.
As shown in Figure 2, this device comprises:
Autotask data receipt unit 21, for receiving the autotask data that on-line transaction application is uploaded by the autotask defining interface preset, and described autotask data are stored to database, described autotask data comprise duty cycle data, pre-treatment Service name, aftertreatment Service name and applied logic Service name;
Instantiating unit 22, for responding the first triggering command of Quartz framework, turning to autotask example by autotask data instance to be instantiated in database, and being stored to database;
Task has adjusted unit 23, for responding the second triggering command of Quartz framework, has adjusted autotask example pending in database;
Task executing units 24, performs described pending autotask example for the Job calling Spring-batch framework.
Optionally, if described pending autotask example allows concurrence performance, then described task executing units 24 comprises:
Task pretreatment unit, for the pre-treatment interface by presetting, to the pre-treatment service of on-line transaction application call service pre-treatment Service name by name, and utilizes pre-treatment service to carry out pre-treatment to autotask example;
Logical processing unit, for the applied business logic interfacing by presetting, to the applied logic service of on-line transaction application call service applied logic Service name by name, and utilizes applied logic service to carry out applied logic process to autotask example;
Task post-processing unit, for the post-process interface by presetting, to the aftertreatment service of on-line transaction application call service aftertreatment by name, and utilizes aftertreatment service to carry out aftertreatment to autotask example.
Optionally, if described pending autotask example does not allow concurrence performance, then described task executing units 24 comprises:
Whether judging unit, currently exist the autotask example performed for judging;
Stop element, for when the judged result of described judging unit is for being, stops performing described pending autotask example;
Processing unit, for when the judged result of described judging unit is no, performs following process:
By the pre-treatment interface preset, to the pre-treatment service of on-line transaction application call service pre-treatment Service name by name, and pre-treatment service is utilized to carry out pre-treatment to autotask example;
By the applied business logic interfacing preset, to the applied logic service of on-line transaction application call service applied logic Service name by name, and applied logic service is utilized to carry out applied logic process to autotask example;
By the post-process interface preset, to the aftertreatment service of on-line transaction application call service aftertreatment by name, and aftertreatment service is utilized to carry out aftertreatment to autotask example.
Optionally, described instantiating unit, specifically for the first triggering command of response Quartz framework, with reference to duty cycle data and current time in system, generates autotask example, and is stored to database.
Optionally, if described pending autotask example allows multithreading to perform, the pre-treatment that then described task pretreatment unit calls is served as pending autotask example data are then divided into N number of district according to number of threads N, delimits the data performed by each thread; The aftertreatment service that described task post-processing unit calls is for gather the result after each thread process.
The autotask treating apparatus that the embodiment of the present application provides, receive the autotask data that on-line transaction application is uploaded by the autotask defining interface preset, and autotask data are stored to database, described autotask data comprise duty cycle data, pre-treatment Service name, aftertreatment Service name and applied logic Service name; First triggering command of response Quartz framework, turns to autotask example by autotask data instance to be instantiated in database, and is stored to database; Second triggering command of response Quartz framework, has adjusted autotask example pending in database; The Job calling Spring-batch framework performs described pending autotask example.The application is by pre-setting autotask defining interface, user uses during on-line transaction application uploading data at every turn and writes code file without the need to repeating, only need autotask data upload, autotask data can be carried out process and be integrated by autotask defining interface automatically, and be stored to database, substantially increase work efficiency.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the application.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein when not departing from the spirit or scope of the application, can realize in other embodiments.Therefore, the application can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. an autotask disposal route, is characterized in that, comprising:
Receive the autotask data that on-line transaction application is uploaded by the autotask defining interface preset, and described autotask data are stored to database, described autotask data comprise duty cycle data, pre-treatment Service name, aftertreatment Service name and applied logic Service name;
First triggering command of response Quartz framework, turns to autotask example by autotask data instance to be instantiated in database, and is stored to database;
Second triggering command of response Quartz framework, has adjusted autotask example pending in database;
The Job calling Spring-batch framework performs described pending autotask example.
2. autotask disposal route according to claim 1, it is characterized in that, if described pending autotask example allows concurrence performance, then the Job calling Spring-batch framework described in performs the process of described pending autotask example, comprising:
By the pre-treatment interface preset, to the pre-treatment service of on-line transaction application call service pre-treatment Service name by name, and pre-treatment service is utilized to carry out pre-treatment to autotask example;
By the applied business logic interfacing preset, to the applied logic service of on-line transaction application call service applied logic Service name by name, and applied logic service is utilized to carry out applied logic process to autotask example;
By the post-process interface preset, to the aftertreatment service of on-line transaction application call service aftertreatment by name, and aftertreatment service is utilized to carry out aftertreatment to autotask example.
3. autotask disposal route according to claim 1, it is characterized in that, if described pending autotask example does not allow concurrence performance, then the Job calling Spring-batch framework described in performs the process of described pending autotask example, comprising:
Judge currently whether there is the autotask example performed;
If so, then stop performing described pending autotask example, until when determining the current autotask example do not performed, enter step a;
If not, then step a is entered;
Wherein, step a is:
By the pre-treatment interface preset, to the pre-treatment service of on-line transaction application call service pre-treatment Service name by name, and pre-treatment service is utilized to carry out pre-treatment to autotask example;
By the applied business logic interfacing preset, to the applied logic service of on-line transaction application call service applied logic Service name by name, and applied logic service is utilized to carry out applied logic process to autotask example;
By the post-process interface preset, to the aftertreatment service of on-line transaction application call service aftertreatment by name, and aftertreatment service is utilized to carry out aftertreatment to autotask example.
4. autotask disposal route according to claim 1, is characterized in that, describedly autotask data instance to be instantiated in database is turned to autotask example comprises:
With reference to duty cycle data and current time in system, generate autotask example.
5. the autotask disposal route according to Claims 2 or 3, it is characterized in that, if described pending autotask example allows multithreading to perform, then described pre-treatment service is for be divided into N number of district by the data of pending autotask example according to number of threads N, delimits the data performed by each thread; Described aftertreatment service is for gather the result after each thread process.
6. an autotask treating apparatus, is characterized in that, comprising:
Autotask data receipt unit, for receiving the autotask data that on-line transaction application is uploaded by the autotask defining interface preset, and described autotask data are stored to database, described autotask data comprise duty cycle data, pre-treatment Service name, aftertreatment Service name and applied logic Service name;
Instantiating unit, for responding the first triggering command of Quartz framework, turning to autotask example by autotask data instance to be instantiated in database, and being stored to database;
Task has adjusted unit, for responding the second triggering command of Quartz framework, has adjusted autotask example pending in database;
Task executing units, performs described pending autotask example for the Job calling Spring-batch framework.
7. autotask treating apparatus according to claim 6, is characterized in that, if described pending autotask example allows concurrence performance, then described task executing units comprises:
Task pretreatment unit, for the pre-treatment interface by presetting, to the pre-treatment service of on-line transaction application call service pre-treatment Service name by name, and utilizes pre-treatment service to carry out pre-treatment to autotask example;
Logical processing unit, for the applied business logic interfacing by presetting, to the applied logic service of on-line transaction application call service applied logic Service name by name, and utilizes applied logic service to carry out applied logic process to autotask example;
Task post-processing unit, for the post-process interface by presetting, to the aftertreatment service of on-line transaction application call service aftertreatment by name, and utilizes aftertreatment service to carry out aftertreatment to autotask example.
8. autotask treating apparatus according to claim 6, is characterized in that, if described pending autotask example does not allow concurrence performance, then described task executing units comprises:
Whether judging unit, currently exist the autotask example performed for judging;
Stop element, for when the judged result of described judging unit is for being, stops performing described pending autotask example;
Processing unit, for when the judged result of described judging unit is no, performs following process:
By the pre-treatment interface preset, to the pre-treatment service of on-line transaction application call service pre-treatment Service name by name, and pre-treatment service is utilized to carry out pre-treatment to autotask example;
By the applied business logic interfacing preset, to the applied logic service of on-line transaction application call service applied logic Service name by name, and applied logic service is utilized to carry out applied logic process to autotask example;
By the post-process interface preset, to the aftertreatment service of on-line transaction application call service aftertreatment by name, and aftertreatment service is utilized to carry out aftertreatment to autotask example.
9. autotask treating apparatus according to claim 6, it is characterized in that, described instantiating unit specifically for the first triggering command of response Quartz framework, with reference to duty cycle data and current time in system, generate autotask example, and be stored to database.
10. the autotask treating apparatus according to claim 7 or 8, it is characterized in that, if described pending autotask example allows multithreading to perform, then described pre-treatment service is for be divided into N number of district by the data of pending autotask example according to number of threads N, delimits the data performed by each thread; The aftertreatment service that described task post-processing unit calls is for gather the result after each thread process.
CN201410640075.6A 2014-11-13 2014-11-13 A kind of autotask processing method and processing device Active CN104391696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410640075.6A CN104391696B (en) 2014-11-13 2014-11-13 A kind of autotask processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410640075.6A CN104391696B (en) 2014-11-13 2014-11-13 A kind of autotask processing method and processing device

Publications (2)

Publication Number Publication Date
CN104391696A true CN104391696A (en) 2015-03-04
CN104391696B CN104391696B (en) 2017-10-24

Family

ID=52609604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410640075.6A Active CN104391696B (en) 2014-11-13 2014-11-13 A kind of autotask processing method and processing device

Country Status (1)

Country Link
CN (1) CN104391696B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651567A (en) * 2016-12-26 2017-05-10 中国建设银行股份有限公司 Credit card application approval method and system
CN106775985A (en) * 2016-12-26 2017-05-31 中国建设银行股份有限公司 A kind of batch processing task dispatching method and device
CN107908486A (en) * 2017-11-06 2018-04-13 山东浪潮通软信息科技有限公司 A kind of cycle performs the method and device of task
CN107943574A (en) * 2017-12-04 2018-04-20 山东中创软件工程股份有限公司 A kind of task management method and device
CN109472681A (en) * 2018-11-22 2019-03-15 泰康保险集团股份有限公司 A kind of enterprise's batch mode of payment and device
CN110597605A (en) * 2019-08-13 2019-12-20 武汉联影医疗科技有限公司 Job scheduling method and device, computer equipment and readable storage medium
CN111210340A (en) * 2020-01-03 2020-05-29 中国建设银行股份有限公司 Automatic task processing method and device, server and storage medium
CN113590036A (en) * 2021-07-26 2021-11-02 浪潮云信息技术股份公司 Optimization method for writing in batch group serialization logic

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887381A (en) * 2010-06-22 2010-11-17 北京伟库电子商务科技有限公司 Method and device for configuring timing tasks based on Quartz frame
US8627328B2 (en) * 2008-11-14 2014-01-07 Oracle International Corporation Operation control for deploying and managing software service in a virtual environment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8627328B2 (en) * 2008-11-14 2014-01-07 Oracle International Corporation Operation control for deploying and managing software service in a virtual environment
CN101887381A (en) * 2010-06-22 2010-11-17 北京伟库电子商务科技有限公司 Method and device for configuring timing tasks based on Quartz frame

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
丁振凡,李馨梅: "Spring的任务定时调度方法的研究比较", 《智能计算机与应用》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651567A (en) * 2016-12-26 2017-05-10 中国建设银行股份有限公司 Credit card application approval method and system
CN106775985A (en) * 2016-12-26 2017-05-31 中国建设银行股份有限公司 A kind of batch processing task dispatching method and device
CN107908486A (en) * 2017-11-06 2018-04-13 山东浪潮通软信息科技有限公司 A kind of cycle performs the method and device of task
CN107943574A (en) * 2017-12-04 2018-04-20 山东中创软件工程股份有限公司 A kind of task management method and device
CN109472681A (en) * 2018-11-22 2019-03-15 泰康保险集团股份有限公司 A kind of enterprise's batch mode of payment and device
CN109472681B (en) * 2018-11-22 2022-03-04 泰康保险集团股份有限公司 Enterprise batch payment method and device
CN110597605A (en) * 2019-08-13 2019-12-20 武汉联影医疗科技有限公司 Job scheduling method and device, computer equipment and readable storage medium
CN111210340A (en) * 2020-01-03 2020-05-29 中国建设银行股份有限公司 Automatic task processing method and device, server and storage medium
CN111210340B (en) * 2020-01-03 2023-08-18 中国建设银行股份有限公司 Automatic task processing method, device, server and storage medium
CN113590036A (en) * 2021-07-26 2021-11-02 浪潮云信息技术股份公司 Optimization method for writing in batch group serialization logic
CN113590036B (en) * 2021-07-26 2024-03-29 上海沄熹科技有限公司 Optimization method for writing batch group serialization logic

Also Published As

Publication number Publication date
CN104391696B (en) 2017-10-24

Similar Documents

Publication Publication Date Title
CN104391696A (en) Automatic task processing method and device
US8863131B2 (en) Transaction load reduction for process completion
CN103793223A (en) Rule creating method and system
CN105260248B (en) A kind of task scheduling system and dispatching method being dynamically adapted
CN104216768A (en) Data processing method and device
CN103605498A (en) Method and system for multi-thread execution of single-thread task
CN102663543A (en) Scheduling system used for enterprise data unification platform
CN104461562A (en) Task creating method and system
CN105761058A (en) Multi-type task control method and device in plan management
KR102569415B1 (en) Service platform system for generating workflow and workflow generating method
Nikolakis et al. On a shared human-robot task scheduling and online re-scheduling
Grzybowska et al. Logistics Process Modelling in Supply Chain–algorithm of coordination in the supply chain–contracting
CN105446812A (en) Multitask scheduling configuration method
CN108694556A (en) Workflow engine circulation method based on micro-kernel
Tyrin et al. Multi-agent system “Smart Factory” for real-time workshop management: Results of design & implementation for Izhevsk Axion-Holding Factory
CN109284194A (en) Collecting method, reference main equipment, computer equipment and storage medium
CN104977906A (en) Controlling A Manufacturing Plant With A Mes System
CN106201692A (en) A kind of timing task processing system and method
CN116627609A (en) Hive batch processing-based scheduling method and device
CN102214094A (en) Executing operations via asynchronous programming model
CN102147750A (en) Method and system for processing operation
CN104484226A (en) Map Reduce job processing system, Map Reduce job processing server and processing method
Nisar et al. Resource-Dependent Critical Path Method for Identifying the Critical Path and the “Real Floats” in Resource-Constrained Project Scheduling
CN107315385A (en) Embedded PLC engine implementing method and engine
Dharmapal et al. Applying Lean on agile Scrum development methodology

Legal Events

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