CN107402752A - The clocked flip method and apparatus of application - Google Patents
The clocked flip method and apparatus of application Download PDFInfo
- Publication number
- CN107402752A CN107402752A CN201710432879.0A CN201710432879A CN107402752A CN 107402752 A CN107402752 A CN 107402752A CN 201710432879 A CN201710432879 A CN 201710432879A CN 107402752 A CN107402752 A CN 107402752A
- Authority
- CN
- China
- Prior art keywords
- task
- configuration information
- triggering
- condition
- program
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Abstract
The invention discloses a kind of clocked flip method and apparatus of application.Wherein, this method includes:Obtain the first task data and the second task data for the application for treating clocked flip;One-level trigger is loaded, wherein, one-level trigger is used to send first task data according to first condition clocked flip first task;Two-stage triggering program is triggered when loading one-level trigger;Using two-stage triggering program the second task data is sent according to the task of second condition clocked flip second.The present invention solves the low technical problem of efficiency comparison of triggering task.
Description
Technical field
The present invention relates to computer realm, in particular to a kind of clocked flip method and apparatus of application.
Background technology
Post Financial intermediate business platform refers to deposit bank of China Post and realizes that the concentration of platform application is disposed to build
It is centrally stored with data, using the inter-account contained by the billing and accounting systems such as savings system, corporate business system, external accounts and
Fund remittance and transfer function, uniformly focusing on for national and regional intermediary service is provided for client and user, it is main real
Modern times are received, pay out business function, and including enterprise generation receipt and payment, the non-tax of finance is withheld, personal withhold the application of business such as pays and be
System.
In clocked flip task, generally use hardware configuration is controlled prior art to triggering, but this triggering
Mode is higher to hardware requirement, and the efficiency comparison for triggering task is low.
For it is above-mentioned the problem of, not yet propose effective solution at present.
The content of the invention
The embodiments of the invention provide a kind of clocked flip method and apparatus of application, at least to solve the effect of triggering task
Rate is than relatively low technical problem.
One side according to embodiments of the present invention, there is provided a kind of clocked flip method of application, including:Obtain undetermined
When the first task data and the second task data of the application that trigger;One-level trigger is loaded, wherein, one-level trigger is used
In sending first task data according to first condition clocked flip first task;Two level is triggered when loading one-level trigger
Trigger;Using two-stage triggering program the second task data is sent according to the task of second condition clocked flip second.
Further, the second task is performed to send second according to second condition clocked flip using two-stage triggering program
Business data include:The target configuration information of the two-stage triggering required by task of two-stage triggering program is retrieved, wherein, target configuration information
Including second condition;Judge whether conditions present meets second condition;When conditions present meets second condition, second is performed
It is engaged in send the second task data.
Further, before the target configuration information of the two-stage triggering required by task of retrieval two-stage triggering program, method
Also include:Obtain the first configuration information for configuring two-stage triggering program and original configuration that two-stage triggering program has been configured
Information;Utilize the first configuration information update original configuration information;The first configuration information is loaded, wherein, in the configuration information of loading
Middle searched targets configuration information.
Further, target configuration information also includes triggering pattern, performs the second task to send the second task data bag
Include:The second task is performed to send the second task data according to triggering pattern and second condition.
Further, the second task is being sent according to the task of second condition clocked flip second using two-stage triggering program
After data, method also includes:The second task is registered, is performed via two-stage triggering program with the task of mark second.
Another aspect according to embodiments of the present invention, a kind of timing springing unit of application is additionally provided, including:Obtain single
Member, for obtaining the first task data and the second task data of the application for treating clocked flip;Loading unit, for loading one-level
Trigger, wherein, one-level trigger is used to send first task data according to first condition clocked flip first task;
Trigger element, for triggering two-stage triggering program when loading one-level trigger;Transmitting element, for utilizing two-stage triggering journey
Sequence sends the second task data according to the task of second condition clocked flip second.
Further, transmitting element includes:Module is retrieved, for retrieving the two-stage triggering required by task of two-stage triggering program
Target configuration information, wherein, target configuration information includes second condition;Judge module, for judging whether conditions present is full
Sufficient second condition;Execution module, for when conditions present meets second condition, performing the second task to send the second number of tasks
According to.
Further, the device also includes:Acquisition module, for the two-stage triggering task institute in retrieval two-stage triggering program
Before the target configuration information needed, the first configuration information for configuring two-stage triggering program and two-stage triggering program have been obtained
The original configuration information of configuration;Update module, for utilizing the first configuration information update original configuration information;Load-on module, use
In loading the first configuration information, wherein, the searched targets configuration information in the configuration information of loading.
Further, target configuration information also includes triggering pattern, and execution module includes:Implementation sub-module, for according to
Triggering pattern and second condition perform the second task to send the second task data.
Further, device also includes:Registration unit, for being touched using two-stage triggering program according to second condition timing
The second task is sent out after sending the second task data, the second task is registered, with the task of mark second via two-stage triggering journey
Sequence performs.
In embodiments of the present invention, two-stage triggering program can be started using one-level trigger, in one-level trigger
During clocked flip first task, two-stage triggering program can also simultaneously the task of clocked flip second, be also achieved that parallel execution
First task and the second task, and first task data and the second task data are sent simultaneously, improve touching for task data
Efficiency is sent out, solves the low technical problem of the efficiency comparison of triggering task in the prior art.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair
Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the clocked flip method of application according to embodiments of the present invention;
Fig. 2 is one-level trigger according to embodiments of the present invention and the structural representation of two-stage triggering program;
Fig. 3 is the functional schematic of one-level trigger according to embodiments of the present invention;
Fig. 4 is the flow chart that two-stage triggering program according to embodiments of the present invention performs task;
Fig. 5 is the schematic diagram of the timing springing unit of application according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects
Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use
Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or
Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment
Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product
Or the intrinsic other steps of equipment or unit.
According to embodiments of the present invention, there is provided the embodiment of the method for a kind of clocked flip method of application is, it is necessary to explanation
It is that can be performed the step of the flow of accompanying drawing illustrates in the computer system of such as one group computer executable instructions,
Also, although logical order is shown in flow charts, in some cases, can be with different from order execution herein
Shown or described step.
Fig. 1 is the flow chart of the clocked flip method of application according to embodiments of the present invention, as shown in figure 1, this method bag
Include following steps:
Step S102, obtain the first task data and the second task data of the application for treating clocked flip.
Step S104, one-level trigger is loaded, wherein, one-level trigger is used for according to first condition clocked flip the
One task sends first task data.
Step S106, two-stage triggering program is triggered when loading one-level trigger.
Step S108, the second number of tasks is sent according to the task of second condition clocked flip second using two-stage triggering program
According to.
One-level trigger can start two-stage triggering program, in one-level trigger clocked flip first task, two
Level trigger can also the task of clocked flip second simultaneously, be also achieved that it is parallel perform first task and the second task, with
And first task data and the second task data are sent simultaneously, the Trigger Efficiency of task data is improved, solves prior art
The low technical problem of the efficiency comparison of middle triggering task.
As shown in Fig. 2 application service layer is provided with one-level trigger, and after one-level trigger is loaded, triggering two
Level trigger.The two-stage triggering program shown in two-stage triggering framework shown in Fig. 2 includes two-stage triggering service and triggering operation
The two parts of public service are handled, two-stage triggering program is mainly responsible for retrieval triggering configuration information, calculates trigger condition, be asynchronous
Call service, registration process task;Trigger operation processing public service to be mainly responsible for performing triggering task, wait end to be triggered simultaneously
Record result.Application service layer shown in Fig. 2 also includes merchant service program, one-level trigger and two-stage triggering program
Triggering can be timed to merchant service program.For example, two-stage triggering program is carried out to businessman's program 1 and businessman's program 2
Clocked flip, one-level trigger are timed triggering to businessman's program 3.
Include one-level triggering framework in the technological frame layer shown in Fig. 2, middleware, operating system are set in basic platform
And database.The framework of technological frame layer is as shown in Figure 3.One-level triggering framework, which includes multistage, to be seized triggering and controls sets of threads, more
Level parallel trigger control sets of threads, multistage mutual exclusion triggering control sets of threads and configuration information buffering area.Multistage seizes triggering control
Sets of threads is used for the one-level triggering service for handling contention mode;Multistage parallel triggering control sets of threads is used to handle burse mode
One-level triggering service;Multistage mutual exclusion triggering control sets of threads is used for the one-level triggering service for handling exclusive mode;
It can be seen from Fig. 2 and Fig. 3, after one-level trigger triggers two-stage triggering program, one-level trigger can be by
Triggering is timed according to itself original logic, two-stage triggering program can also be timed triggering according to the logic of itself,
The two can be with parallel processing task data, and the logic of one-level trigger and two-stage triggering program is separate.Just because of one
Level trigger and two-stage triggering program have separate characteristic so that one-level trigger and two-stage triggering program can be with
The trigger condition of oneself is respectively configured, realizes asynchronism and concurrency data.
Alternatively, the second task is performed to send the second task according to second condition clocked flip using two-stage triggering program
Data include:The target configuration information of the two-stage triggering required by task of two-stage triggering program is retrieved, wherein, target configuration information bag
Include second condition;Judge whether conditions present meets second condition;When conditions present meets second condition, the second task is performed
To send the second task data.
Two-stage triggering program performs the second task when conditions present meets second condition, and second condition can be in advance
The condition of two-stage triggering program configuration.Under normal circumstances, after one-level trigger triggers two-stage triggering program, two-stage triggering journey
Sequence first detects the target configuration information being configured.Second condition is configured with target configuration information, therefore, in detection target
Can obtains the second condition wherein configured during configuration information, and continues to judge whether conditions present meets second condition, with
Determine whether to perform the second task.
As can be seen here, it is that can be configured alone on two-stage triggering program to trigger the second required by task second condition to be met
, it is not necessary to rely on one-level trigger.Meanwhile it can also be touched in target configuration information according to different business demand flexible configuration
Clockwork spring part, triggering operational mode etc., are sent by the information control data transmitted traffic and data that are configured in target configuration information
Control etc., increases the flexibility of the information configuration of different business.
Alternatively, before the target configuration information of the two-stage triggering required by task of retrieval two-stage triggering program, method is also
Including:Obtain the first configuration information for configuring two-stage triggering program and original configuration letter that two-stage triggering program has been configured
Breath;Utilize the first configuration information update original configuration information;The first configuration information is loaded, wherein, in the configuration information of loading
Searched targets configuration information.
The configuration information of two-stage triggering program can need to modify and update according to different business, for example, when two
Level trigger is used to use original configuration information when withholding the payment for goods of company A, when two-stage triggering program is by withholding the goods of company A
Money is changed to withhold the payment for goods of B companies, then the configuration information for reconfiguring two-stage triggering program is the first configuration information, and with
One configuration information update original configuration information, so as to which two-stage triggering program can match somebody with somebody confidence according to the target in the first configuration information
Cease to determine to perform the condition of the second required by task to send the second task data.The configuration information of the present embodiment can be realized dynamic
State load, configuration information can dynamic load come into force immediately.
Alternatively, second condition also includes triggering pattern, and second task of execution includes to send the second task data:According to
Triggering pattern and second condition perform the second task to send the second task data.Triggering pattern refer mainly to trigger period type and
Trigger interval, triggering period type mainly include:Year, month, day, season, when, minute, second.
Alternatively, the second number of tasks is being sent according to the task of second condition clocked flip second using two-stage triggering program
According to afterwards, method also includes:The second task is registered, is performed via two-stage triggering program with the task of mark second.
In order to avoid same task is repeatedly executed simultaneously, the task of execution is stepped on after some task is performed
Note, so as to mark the task to have been carried out.
Passing through above-mentioned steps, it is possible to achieve asynchronous call supports high concurrent, and triggering task is asynchronous call, task triggers,
Task processing, task result are fed back to parallel work-flow and are independent of each other, and can trigger thousands of individual triggering tasks simultaneously.Also, performing
, can the pending next task such as Resource recovery automatically after some complete task.Flexible configuration, can be according to different business demand
Flexible configuration triggering rule, triggering operational mode, have flow and big data con current control function;And configuration information dynamic adds
Carry, triggering configuration information can dynamic load come into force immediately.
The present embodiment is illustrated below in conjunction with Fig. 4.
401, trigger two-stage triggering flow, i.e. one-level trigger triggering two-stage triggering program.
402, retrieval triggering configuration information, that is, retrieve the target configuration information in two-stage triggering program.By performing 408,
Retrieval triggers configuration information to obtain target configuration information in configuration information.
403, trigger condition is calculated, that is, judges whether conditions present meets the second condition of target configuration information.
404, judge whether to trigger, that is, judge whether two-stage triggering program has performed the second task.
405,404 judged result in the case of being, asynchronism and concurrency processing, i.e. one-level trigger and two-stage triggering
The concurrent first task of program and the second task.
406, registration process task.Having handled for task is registered, avoids repeating same task.
407, when the asynchronism and concurrency for performing 405 handles task, that is, businessman's task is handled, such as withholds payment.
409, refresh configuration.If the renewal of configuration information, then 410 are performed, renewal configuration.
The embodiment of the present invention additionally provides a kind of timing springing unit of application.Fig. 5 is according to embodiments of the present invention answers
The schematic diagram of timing springing unit.As shown in figure 5, the timing springing unit of the application includes:Acquiring unit 10, loading are single
Member 20, trigger element 30 and transmitting element 40.
Acquiring unit 10 is used for the first task data and the second task data for obtaining the application for treating clocked flip;Loading is single
Member 20 is used to load one-level trigger, wherein, one-level trigger is used to come according to first condition clocked flip first task
Send first task data;Trigger element 30 is used to trigger two-stage triggering program when loading one-level trigger;Transmitting element
40 are used to send the second task data according to the task of second condition clocked flip second using two-stage triggering program.
One-level trigger can start two-stage triggering program, in one-level trigger clocked flip first task, two
Level trigger can also the task of clocked flip second simultaneously, be also achieved that it is parallel perform first task and the second task, with
And first task data and the second task data are sent simultaneously, the Trigger Efficiency of task data is improved, solves prior art
The low technical problem of the efficiency comparison of middle triggering task.
As shown in Fig. 2 application service layer is provided with one-level trigger, and after one-level trigger is loaded, triggering two
Level trigger.The two-stage triggering program shown in two-stage triggering framework shown in Fig. 2 includes two-stage triggering service and triggering operation
Handle the two parts of public service.Application service layer shown in Fig. 2 also includes merchant service program, one-level trigger and two
Level trigger can be timed triggering to merchant service program.For example, two-stage triggering program is to businessman's program 1 and businessman
Program 2 is timed triggering, and one-level trigger is timed triggering to businessman's program 3.
Include one-level triggering framework in the technological frame layer shown in Fig. 2, middleware, operating system are set in basic platform
And database.The framework of technological frame layer is as shown in Figure 3.One-level triggering framework, which includes multistage, to be seized triggering and controls sets of threads, more
Level parallel trigger control sets of threads, multistage mutual exclusion triggering control sets of threads and configuration information buffering area.
It can be seen from Fig. 2 and Fig. 3, after one-level trigger triggers two-stage triggering program, one-level trigger can be by
Triggering is timed according to itself original logic, two-stage triggering program can also be timed triggering according to the logic of itself,
The two can be with parallel processing task data, and the logic of one-level trigger and two-stage triggering program is separate.Just because of one
Level trigger and two-stage triggering program have separate characteristic so that one-level trigger and two-stage triggering program can be with
The trigger condition of oneself is respectively configured, realizes asynchronism and concurrency data.
Further, transmitting element includes:Module is retrieved, for retrieving the two-stage triggering required by task of two-stage triggering program
Target configuration information, wherein, target configuration information includes second condition;Judge module, for judging whether conditions present is full
Sufficient second condition;Execution module, for when conditions present meets second condition, performing the second task to send the second number of tasks
According to.
Two-stage triggering program performs the second task when conditions present meets second condition, and second condition can be in advance
The condition of two-stage triggering program configuration.Under normal circumstances, after one-level trigger triggers two-stage triggering program, two-stage triggering journey
Sequence first detects the target configuration information being configured.Second condition is configured with target configuration information, therefore, in detection target
Can obtains the second condition wherein configured during configuration information, and continues to judge whether conditions present meets second condition, with
Determine whether to perform the second task.
As can be seen here, it is that can be configured alone on two-stage triggering program to trigger the second required by task second condition to be met
, it is not necessary to rely on one-level trigger.Meanwhile it can also be touched in target configuration information according to different business demand flexible configuration
Clockwork spring part, triggering operational mode etc., are sent by the information control data transmitted traffic and data that are configured in target configuration information
Control etc., increases the flexibility of the information configuration of different business.
Further, the device also includes:Acquisition module, for the two-stage triggering task institute in retrieval two-stage triggering program
Before the target configuration information needed, the first configuration information for configuring two-stage triggering program and two-stage triggering program have been obtained
The original configuration information of configuration;Update module, for utilizing the first configuration information update original configuration information;Load-on module, use
In loading the first configuration information, wherein, the searched targets configuration information in the configuration information of loading.
The configuration information of two-stage triggering program can need to modify and update according to different business, for example, when two
Level trigger is used to use original configuration information when withholding the payment for goods of company A, when two-stage triggering program is by withholding the goods of company A
Money is changed to withhold the payment for goods of B companies, then the configuration information for reconfiguring two-stage triggering program is the first configuration information, and with
One configuration information update original configuration information, so as to which two-stage triggering program can match somebody with somebody confidence according to the target in the first configuration information
Cease to determine to perform the condition of the second required by task to send the second task data.The configuration information of the present embodiment can be realized dynamic
State load, configuration information can dynamic load come into force immediately.
Further, target configuration information also includes triggering pattern, and execution module includes:Implementation sub-module, for according to
Triggering pattern and second condition perform the second task to send the second task data.
Further, the device also includes:Registration unit, for utilizing two-stage triggering program according to second condition timing
The second task is triggered after sending the second task data, the second task is registered, with the task of mark second via two-stage triggering
Program performs.
In order to avoid same task is repeatedly executed simultaneously, the task of execution is stepped on after some task is performed
Note, so as to mark the task to have been carried out.
Passing through above-mentioned steps, it is possible to achieve asynchronous call supports high concurrent, and triggering task is asynchronous call, task triggers,
Task processing, task result are fed back to parallel work-flow and are independent of each other, and can trigger thousands of individual triggering tasks simultaneously.Also, performing
, can the pending next task such as Resource recovery automatically after some complete task.Flexible configuration, can be according to different business demand
Flexible configuration triggering rule, triggering operational mode, have flow and big data con current control function;And configuration information dynamic adds
Carry, triggering configuration information can dynamic load come into force immediately.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment
The part of detailed description, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, others can be passed through
Mode is realized.Wherein, device embodiment described above is only schematical, such as the division of the unit, Ke Yiwei
A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module
Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, server or network equipment etc.) perform each embodiment methods described of the present invention whole or
Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes
Medium.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of clocked flip method of application, it is characterised in that including:
Obtain the first task data and the second task data for the application for treating clocked flip;
One-level trigger is loaded, wherein, the one-level trigger is used to come according to first condition clocked flip first task
Send the first task data;
Two-stage triggering program is triggered when loading the one-level trigger;
Second task data is sent according to the task of second condition clocked flip second using the two-stage triggering program.
2. according to the method for claim 1, it is characterised in that using the two-stage triggering program according to second condition timing
Triggering performs the second task to be included to send second task data:
The target configuration information of the two-stage triggering required by task of the two-stage triggering program is retrieved, wherein, the target matches somebody with somebody confidence
Breath includes the second condition;
Judge whether conditions present meets the second condition;
When conditions present meets the second condition, second task is performed to send second task data.
3. according to the method for claim 2, it is characterised in that retrieving the two-stage triggering task of the two-stage triggering program
Before required target configuration information, methods described also includes:
Obtain the first configuration information for configuring the two-stage triggering program and original that the two-stage triggering program has been configured
Beginning configuration information;
Utilize original configuration information described in first configuration information update;
First configuration information is loaded, wherein, the target configuration information is retrieved in the configuration information of loading.
4. according to the method for claim 2, it is characterised in that the target configuration information also includes triggering pattern, performs
Second task includes to send second task data:
Second task is performed to send second task data according to the triggering pattern and the second condition.
5. according to the method for claim 1, it is characterised in that determine using the two-stage triggering program according to second condition
When trigger the second task come after sending second task data, methods described also includes:
Second task is registered, to mark second task to be performed via the two-stage triggering program.
A kind of 6. timing springing unit of application, it is characterised in that including:
Acquiring unit, for obtaining the first task data and the second task data of the application for treating clocked flip;
Loading unit, for loading one-level trigger, wherein, the one-level trigger is used to touch according to first condition timing
First task is sent out to send the first task data;
Trigger element, for triggering two-stage triggering program when loading the one-level trigger;
Transmitting element, for sending described according to the task of second condition clocked flip second using the two-stage triggering program
Two task datas.
7. device according to claim 6, it is characterised in that the transmitting element includes:
Retrieval module, the target configuration information of the two-stage triggering required by task for retrieving the two-stage triggering program, wherein, institute
Stating target configuration information includes the second condition;
Judge module, for judging whether conditions present meets the second condition;
Execution module, for when conditions present meets the second condition, performing second task to send described second
Task data.
8. device according to claim 7, it is characterised in that described device also includes:
Acquisition module, for before the target configuration information of two-stage triggering required by task of the two-stage triggering program is retrieved,
Obtain the first configuration information for configuring the two-stage triggering program and the two-stage triggering program has been configured original matches somebody with somebody
Confidence ceases;
Update module, for utilizing original configuration information described in first configuration information update;
Load-on module, for loading first configuration information, wherein, the target configuration is retrieved in the configuration information of loading
Information.
9. device according to claim 7, it is characterised in that the target configuration information also includes triggering pattern, described
Execution module includes:
Implementation sub-module, described the is sent for performing second task according to the triggering pattern and the second condition
Two task datas.
10. device according to claim 6, it is characterised in that described device also includes:
Registration unit, for sent using the two-stage triggering program according to the task of second condition clocked flip second it is described
After second task data, second task is registered, to mark second task to be held via the two-stage triggering program
OK.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710432879.0A CN107402752B (en) | 2017-06-09 | 2017-06-09 | Timing triggering method and device for application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710432879.0A CN107402752B (en) | 2017-06-09 | 2017-06-09 | Timing triggering method and device for application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107402752A true CN107402752A (en) | 2017-11-28 |
CN107402752B CN107402752B (en) | 2021-07-27 |
Family
ID=60405086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710432879.0A Active CN107402752B (en) | 2017-06-09 | 2017-06-09 | Timing triggering method and device for application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107402752B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112434952A (en) * | 2020-11-26 | 2021-03-02 | 北京嘀嘀无限科技发展有限公司 | Business data rule judgment method, device, equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104267977A (en) * | 2014-09-16 | 2015-01-07 | 小米科技有限责任公司 | Application program running method and device |
CN105700943A (en) * | 2015-12-31 | 2016-06-22 | 上海百事通信息技术股份有限公司 | Distributed task scheduling method and system |
-
2017
- 2017-06-09 CN CN201710432879.0A patent/CN107402752B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104267977A (en) * | 2014-09-16 | 2015-01-07 | 小米科技有限责任公司 | Application program running method and device |
CN105700943A (en) * | 2015-12-31 | 2016-06-22 | 上海百事通信息技术股份有限公司 | Distributed task scheduling method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112434952A (en) * | 2020-11-26 | 2021-03-02 | 北京嘀嘀无限科技发展有限公司 | Business data rule judgment method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107402752B (en) | 2021-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106603708B (en) | A kind of method for processing business and device | |
CN106355784B (en) | A kind of clear account checking method and system for atm device | |
CN107563881A (en) | Bookkeeping methods and device, server | |
CN107943577A (en) | Method and apparatus for scheduler task | |
CN108446974A (en) | Data processing equipment, method and computer readable storage medium | |
CN107369012A (en) | A kind of method for processing payment information and system and the prepaid card processing method with performance bond insurance mechanism | |
CN105405049A (en) | Intelligent accounting method and intelligent accounting system | |
CN101373474A (en) | Magnanimity data real time processing structure and real time processing platform following with necessaries for the same | |
CN109472656B (en) | Virtual article display method and device and storage medium | |
CN108038679A (en) | Send the method and polymerization payment platform of payment message | |
CN107656968A (en) | High-volume business datum deriving method and system | |
CN104867250B (en) | A kind of processing method and processing device of business handling data | |
CN105094572B (en) | Menu self-adjusting roll screen display control method, server and portable terminal | |
CN110390584A (en) | A kind of recognition methods of abnormal user, identification device and readable storage medium storing program for executing | |
CN111240812A (en) | Task execution method and device | |
CN107808206A (en) | It is a kind of to pay out processing method, server and passenger terminal with car order | |
CN108921680A (en) | Financial data accreditation method, apparatus, computer equipment and storage medium | |
CN109685336A (en) | Collection task distribution method, device, computer equipment and storage medium | |
CN108764876A (en) | A kind of transaction processing method and server | |
CN110322337A (en) | A kind of inquiry business looks into multiple method and device automatically | |
CN109816517A (en) | Based on method for processing business, device, computer equipment and the storage medium for increasing letter | |
CN107273192A (en) | A kind of propulsion method of product trading, server and system | |
CN109598575B (en) | Bill generation method and device, electronic equipment and medium | |
CN109710679A (en) | Data pick-up method and device | |
CN107402752A (en) | The clocked flip method and apparatus of application |
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 |