CN110413332A - Timed task executes method, apparatus, terminal and computer-readable medium - Google Patents

Timed task executes method, apparatus, terminal and computer-readable medium Download PDF

Info

Publication number
CN110413332A
CN110413332A CN201810385831.3A CN201810385831A CN110413332A CN 110413332 A CN110413332 A CN 110413332A CN 201810385831 A CN201810385831 A CN 201810385831A CN 110413332 A CN110413332 A CN 110413332A
Authority
CN
China
Prior art keywords
observer
timed task
timer
parameter
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810385831.3A
Other languages
Chinese (zh)
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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201810385831.3A priority Critical patent/CN110413332A/en
Publication of CN110413332A publication Critical patent/CN110413332A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a kind of timed tasks to execute method, apparatus, terminal and computer-readable medium, wherein this method comprises: timed task parameter is received, according to timed task parameter and predefined observer's model creation observer's object;According to the distribution interval of timer, control timer is to each observer's object dispatch messages, so that observer's object carries out timing according to dispatch messages;The timing result of object and timed task parameter execute timed task according to the observation.A kind of timed task provided in an embodiment of the present invention executes method, apparatus, terminal and computer-readable medium, realizes the scheme for executing at least one timed task using single timer, reduces resource loss, improve application performance.

Description

Timed task executes method, apparatus, terminal and computer-readable medium
Technical field
The present embodiments relate to computer technologies more particularly to a kind of timed task to execute method, apparatus, terminal and meter Calculation machine readable medium.
Background technique
It in terminal applies development process, needs to create timer and carries out timing, to complete to execute certain in setting time The timed task of operation, or at interval of the timed task for executing certain operation for a period of time.In general, every execute timing times Business, it is necessary to create a timer and carry out timing.Which results in mobile terminal application in there are a large amount of timers, thus There is the case where timer abuse, increases resource loss;And the case where being likely to occur multiple timers while running, significantly Reduce application performance.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of timed tasks to execute method, apparatus, terminal and computer-readable Medium is realized the scheme for being executed at least one timed task using single timer, reduces resource loss, improve application Performance.
In a first aspect, the embodiment of the invention provides a kind of timed tasks to execute method, comprising:
Timed task parameter is received, according to the timed task parameter and predefined observer's model creation observer Object;
According to the distribution interval of timer, the timer is controlled to each observer's object dispatch messages, so that institute It states observer's object and carries out timing according to the dispatch messages;
Timed task is executed according to the timing result of observer's object and the timed task parameter.
Second aspect, the embodiment of the invention provides a kind of timed task executive devices, comprising:
Observer's Object Creation module according to the timed task parameter and makes a reservation for for receiving timed task parameter Observer's model creation observer's object of justice;
Message distribution module controls the timer to each observer couple for the distribution interval according to timer As dispatch messages, so that observer's object carries out timing according to the dispatch messages;
Task execution module, it is fixed for being executed according to the timing result of observer's object and the timed task parameter When task.
The third aspect, the embodiment of the invention provides a kind of terminals, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes that the timed task as described in any embodiment of the present invention executes method.
Fourth aspect, the embodiment of the invention provides a kind of computer-readable mediums, are stored thereon with computer program, should Realize that the timed task as described in any embodiment of the present invention executes method when program is executed by processor.
A kind of timed task provided in an embodiment of the present invention executes method, apparatus, terminal and computer-readable medium, according to The corresponding observer's object of timed task parameter creation timed task of acquisition;Single timer is spaced by distribution at least one Observer's object dispatch messages, so that each observer's object carries out timing according to dispatch messages;Appointed according to timing result and timing Parameter of being engaged in executes timed task, to realize the scheme for executing at least one timed task using single timer, reduces Resource loss improves application performance.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is that a kind of timed task that the embodiment of the present invention one provides executes method flow diagram;
Fig. 2 is a kind of timed task executive device structural schematic diagram provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram for terminal that the embodiment of the present invention three provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, hereinafter with reference to attached in the embodiment of the present invention Figure, clearly and completely describes technical solution of the present invention by embodiment, it is clear that described embodiment is the present invention one Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is that a kind of timed task that the embodiment of the present invention one provides executes method flow diagram, and the present embodiment is applicable to The case where application execution timed task, this method can realize by terminal, specifically can by the software and/or hardware in terminal come Implement.Referring to Fig. 1, which executes method and includes the following steps:
S110, timed task parameter is received, is observed according to timed task parameter and predefined observer's model creation Person's object.
Wherein, timed task parameter is it is to be understood that the parameter being arranged to execute timed task.Wherein, timed task Parameter may include executing image parameter, executing method parameter, execution interval parameter, loop parameter and task names.Wherein, Can be according to the object for executing the determining execution timed task of image parameter, i.e. task execution object, such as can be controller, It can be view etc..Wherein it is possible to determine the task executing method that task execution object is called, example according to execution method parameter It such as can be method for page jump, touch event monitoring method etc..Wherein it is possible to determine that task is held according to execution interval parameter The adjacent time interval called between task executing method twice of row object, and the type of execution interval parameter can be Assign, unit can be the second.Wherein it is possible to determine whether timed task needs to repeat according to loop parameter.Wherein, appoint Business title can identify unique timed task, can be convenient by task names and find corresponding timed task.
Wherein, observer's model pre-defines, and observer's model can inherit NS Object class, and observe The attribute of person's model may include object properties target, method attribute selector, time interval attribute interval, circulation Attribute is Repeat and name attribute timer Name.Wherein, each attribute of observer's model and timed task parameter be one by one Corresponding, i.e. object properties target is corresponding with image parameter is executed;Method attribute selector is corresponding with method parameter is executed;When Between interval properties interval it is corresponding with execution interval parameter;Cycle attribute is Repeat is corresponding with loop parameter;Title category Property timer Name is corresponding with task names.
After pre-defining observer's model, incoming timing parameters can be assigned to observer's model, to create Build observer's object.Multiple observer's objects can be created using the corresponding multiple groups timing parameters of multiple timed tasks, thus side Just unified data processing is carried out to timed task, is laid the foundation to execute at least one timed task using single timer.
Optionally, timed task parameter is received, is created according to the timed task parameter and predefined observer's model Build observer's object, comprising:
Predefined task registration function is called to be passed to timed task parameter;By timed task parameter assignment to Observer Corresponding attribute in type, to complete the creation of observer's object.
Wherein, task registration function is pre-defined, and task registration function name can be add Subscriber Timer With Time Interval calls task registration function to be passed to timed task parameter and is understood that For the registration for completing timed task.Image parameter will be executed and be assigned to object properties target, method parameter assignment will be executed Method attribute selector is given, execution interval parameter assignment is given to time interval attribute interval, loop parameter is assigned to Task names are assigned to name attribute timer Name, so as to complete the wound of observer's object by cycle attribute is Repeat It builds.
S120, the distribution interval according to timer, control timer is to each observer's object dispatch messages, so that observer Object carries out timing according to dispatch messages.
Wherein, timer can be understood as applying in unique existing timer.Wherein, distribution interval can influence terminal The precision of execution method, the precision that distribution is spaced smaller execution method is higher, otherwise distribution is spaced the precision of bigger execution method Lower, developer can preset according to distribution interval of the terminal actual demand to timer, such as can be 0.1s is also possible to 0.01s, it is not limited here.Wherein, timer carries out primary readjustment every a distribution interval, To at least one observer's object dispatch messages after readjustment, at least one observer offsets can count according to dispatch messages When.
Each observer can be made to carry out to each observer's object dispatch messages by distribution interval by single timer Timing monitors corresponding timed task by timing, multiple using the execution of single timer so as to realize The scheme of timed task.
Optionally, observer's object carries out timing according to dispatch messages, comprising:
When receiving dispatch messages, the stored counts of observer's object is added one, wherein the initial value of stored counts is 0;Timing is carried out according to updated stored counts and distribution interval.
Wherein, after the completion of observer's Object Creation, the stored counts that observer's object can be set is 0.Wherein, it accumulates Counting can be used to record the number that observer's object receives dispatch messages, every dispatch messages for receiving a timer and sending, Stored counts is then added one.Timing can be carried out according to stored counts and distribution interval, specifically can be, for example, stored counts For N, t, timing duration T are divided between distribution, then T=N*t.
The timing result and timed task parameter of S130, according to the observation object execute timed task.
Wherein, timing result can be understood as the timing duration that observer's object carries out timing according to dispatch messages, can be with Timing duration is compared with the execution interval parameter in timed task parameter, i.e. executable timing is appointed when both are equal Business.
Optionally, the timing result of object and timed task parameter execute timed task according to the observation, comprising:
When timing result is equal to the execution interval parameter in timed task parameter, according to the execution in timed task parameter Image parameter determines task execution object, determines task executing method according to the execution method parameter in timed task parameter, with Task execution object is set to execute timed task according to task executing method.
Illustratively, if being divided into 1s between timer distribution, timed task is that the every 60s of controller refreshes a lower page, then appoints It is controller that business, which executes object, and execution method is refresh page, and execution interval parameter is 60s.When the accumulation meter of observer's object When number is 60, timing duration T=60*1=60s, timing duration is equal to execution interval parameter, then controller executes page furbishing, So as to complete the execution of timed task.
Optionally, after task execution object executes timed task according to task executing method, further includes:
Determine whether timed task recycles execution according to the loop parameter in timed task parameter;If so, by observer The stored counts of object resets to 0, so that observer's object continues to the dispatch messages of timer, is appointed with executing timing again Business;If it is not, then destroying observer's object.
Wherein, it if timed task is circulation execution task, needs the accumulation of the corresponding observer's object of timed task Counting resets to 0, so that observer's object carries out timing according to the message of timer distribution again, holds when timing duration is equal to When row interval parameter, task execution object executes task executing method again.If timed task is the execution task not recycled, Task execution object can destroy observer, after once executing task executing method so that task no longer executes.
Optionally, after according to timed task parameter and predefined observer's model creation observer's object, also Include:
Observer's object is stored into variable data array;
Correspondingly, control timer is to each observer's object dispatch messages, comprising:
Observer's object in variable data array is traversed, control timer is to observer's object dispatch messages.
Wherein, variable data array type can be NS Mutable Array, and attribute can be Strong, and variable data array can To store and delete at least one observer's object.When the storage of observer's object is into variable data array, variable data array is then utilized Strong pointer specifies observer's object, in order to which each observer model distribution of the timer into variable data array disappears Breath.Wherein, timer can traverse the variable data array, and to each observer's object dispatch messages stored in variable data array, So as to complete the distribution of message.
By pre-defined variable data array, observer's object can be added or deleted in variable data array at any time, in order to Timer carries out the distribution of message to observer's object corresponding to the timed task being carrying out, to realize using single fixed When device execute the scheme of at least one timed task, improve the accuracy of message distribution.
Optionally, at the distribution interval according to timer, control timer is to before each observer's object dispatch messages, also Include:
Defining a type is NS Timer, and attribute is the timer of Strong;Judge that timer whether there is;If it is not, Timer creation function is called, then to create timer;Wherein, creation timer includes that the distribution interval of timer is arranged and returns Tune method, and timer is set and is repeated.
Wherein, timer can just have existed before receiving timed task parameter, can also obtain first timing It is created after task parameters, therefore, before timer dispatch messages step, can be prejudged with the presence or absence of defined attribute Timer.If it exists, then the distribution of message is distributed using already existing timer, if it does not exist, then using fixed When device creation function created, thus ensure that application in uniquely exist a timer, avoid the abuse of timer, from And resource loss is reduced, while also avoiding multiple timers while running, to improve application performance.
Wherein, creation timing implement body may is that the creation method scheduled that timer is called using NS Timer Timer With Time Interval creates timer, and call statement can be (NSTimer*) scheduledTimerWithTimeInterval:(NSTimeInterval)titarget:(id)aTargets elector: (SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)yesOrNo.It wherein, is the raising side of execution Can suitably it reduce when the time interval NSTimeInterval that the precision of method is arranged herein;Wherein, setting executes object target It can be current controller;Wherein callback method selector can be dispatch messages;Wherein, setting repeats is yes, As repeat.
Timed task provided in this embodiment executes method, and it is corresponding to create timed task according to the timed task parameter of acquisition Observer's object;Single timer is spaced by distribution at least one observer's object dispatch messages, so that each observer couple As carrying out timing according to dispatch messages;Timed task is executed according to timing result and timed task parameter, to realize use Single timer executes the scheme of at least one timed task, reduces resource loss, improves application performance.
Embodiment two
Fig. 2 is a kind of timed task executive device structural schematic diagram provided by Embodiment 2 of the present invention, and the present embodiment can fit It is executed for timed task.
Referring to fig. 2, timed task executive device in the present embodiment, comprising:
Observer's Object Creation module 210 according to timed task parameter and is predefined for receiving timed task parameter Observer's model creation observer's object;
Message distribution module 220, for the distribution interval according to timer, control timer is distributed to each observer's object Message, so that observer's object carries out timing according to dispatch messages;
Task execution module 230, timing result and timed task parameter for object according to the observation execute timing and appoint Business.
Optionally, observer's Object Creation module 210, comprising:
Timed task parameter is passed to submodule, for calling predefined task registration function to be passed to timed task parameter;
Observer's Object Creation submodule, for by timed task parameter assignment to corresponding attribute in observer's model, To complete the creation of observer's object.
Optionally, observer's object carries out timing according to dispatch messages, comprising:
When receiving dispatch messages, the stored counts of observer's object is added one, wherein the initial value of stored counts is 0;Timing is carried out according to updated stored counts and distribution interval.
Optionally, task execution module 230 are specifically used for:
When timing result is equal to the execution interval parameter in timed task parameter, according to the execution in timed task parameter Image parameter determines task execution object, determines task executing method according to the execution method parameter in timed task parameter, with Task execution object is set to execute timed task according to task executing method.
Optionally, task execution module 230 are also used to:
After task execution object executes timed task according to task executing method, according to following in timed task parameter Ring parameter determines whether timed task recycles execution;If so, the stored counts of observer's object is reset to 0, so that observation Person's object continues to the dispatch messages of timer, to execute timed task again;If it is not, then destroying observer's object.
Optionally, timed task executive device, further includes:
Variable data array module, for according to timed task parameter and predefined observer's model creation observer couple As later, observer's object is stored into variable data array.
Correspondingly, message distribution module 220, is specifically used for:
Observer's object in variable data array is traversed, control timer is to observer's object dispatch messages.
Optionally, timed task executive device, further includes:
Timer creation module is NS Timer for defining a type, and attribute is the timer of Strong;Judgement is fixed When device whether there is;If it is not, calling timer creation function, then to create timer;Wherein, creation timer includes that setting is fixed When device distribution interval and callback method, and timer is set and is repeated.
Timed task executive device provided in this embodiment, the timed task proposed with embodiment one execute method and belong to together One inventive concept, the technical detail of detailed description not can be found in embodiment one, and the present embodiment and implementation in the present embodiment The beneficial effect having the same of example one.
Embodiment three
A kind of terminal is present embodiments provided, can be used for application execution timed task.Fig. 3 is that the embodiment of the present invention three mentions A kind of structural schematic diagram of the terminal supplied.Referring to Fig. 3, which includes:
One or more processors 310;
Memory 320, for storing one or more programs;
When one or more of programs are executed by one or more of processors 310, so that one or more of Processor 310 realizes that the timed task proposed such as embodiment one executes method.
In Fig. 3 by taking a processor 310 as an example;Processor 310 and memory 320 can be connected by bus or other modes It connects, in Fig. 3 for being connected by bus.
Memory 320 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module, as the timed task in the embodiment of the present invention executes the corresponding program instruction/module of method.Processor 310 is logical Cross the operation software program, instruction and the module that are stored in memory 320, thereby executing terminal various function application and Data processing realizes that above-mentioned timed task executes method.
Memory 320 can mainly include storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.This Outside, memory 320 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 320 can be into one Step includes the memory remotely located relative to processor 310, these remote memories can pass through network connection to terminal.On The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
The timed task that the terminal and embodiment one that the present embodiment proposes propose executes method and belongs to same inventive concept, not The technical detail of detailed description can be found in embodiment one in the present embodiment, and the present embodiment and embodiment one are having the same Beneficial effect.
Example IV
The present embodiment provides a kind of computer-readable mediums, are stored thereon with computer program, which is held by processor Realize that the timed task proposed such as embodiment one executes method when row.
The computer-readable medium that the present embodiment proposes belongs to same with the timed task execution method that embodiment one proposes Inventive concept, the technical detail of detailed description not can be found in embodiment one, and the present embodiment and embodiment in the present embodiment One beneficial effect having the same.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) executes method described in each embodiment of the present invention.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of timed task executes method characterized by comprising
Timed task parameter is received, according to the timed task parameter and predefined observer's model creation observer couple As;
According to the distribution interval of timer, the timer is controlled to each observer's object dispatch messages, so that the sight The person's of examining object carries out timing according to the dispatch messages;
Timed task is executed according to the timing result of observer's object and the timed task parameter.
2. the method according to claim 1, wherein the reception timed task parameter, appoints according to the timing Parameter of being engaged in and predefined observer's model creation observer's object, comprising:
Predefined task registration function is called to be passed to timed task parameter;
By the timed task parameter assignment to corresponding attribute in observer's model, to complete the creation of observer's object.
3. the method according to claim 1, wherein observer's object is counted according to the dispatch messages When, comprising:
When receiving the dispatch messages, the stored counts of observer's object is added one, wherein the stored counts Initial value is 0;
Timing is carried out according to updated stored counts and distribution interval.
4. according to the method described in claim 3, it is characterized in that, the timing result and institute according to observer's object It states timed task parameter and executes timed task, comprising:
When the timing result is equal to the execution interval parameter in timed task parameter, according to the execution in timed task parameter Image parameter determines task execution object, determines task executing method according to the execution method parameter in timed task parameter, with The task execution object is set to execute timed task according to the task executing method.
5. according to the method described in claim 4, it is characterized in that, in the task execution object according to the task execution side Method executes after timed task, further includes:
Determine whether the timed task recycles execution according to the loop parameter in timed task parameter;
If so, the stored counts of observer's object is reset to 0 so that observer's object continue to it is described fixed When device dispatch messages, to execute the timed task again;
If it is not, then destroying observer's object.
6. the method according to claim 1, wherein described according to the timed task parameter and predefined Observer's model creation observer's object after, further includes:
Observer's object is stored into variable data array;
Correspondingly, controlling the timer to each observer's object dispatch messages, comprising:
Observer's object in the variable data array is traversed, controls the timer to observer's object dispatch messages.
7. the method according to claim 1, wherein at the distribution interval according to timer, described in control Timer is to before each observer's object dispatch messages, further includes:
Defining a type is NS Timer, and attribute is the timer of Strong;
Judge that the timer whether there is;
If it is not, calling timer creation function, then to create timer;
Wherein, the creation timer includes distribution interval and the callback method that timer is arranged, and the timing is arranged and thinks highly of It is multiple to execute.
8. a kind of timed task executive device characterized by comprising
Observer's Object Creation module, for receiving timed task parameter, according to the timed task parameter and predefined Observer's model creation observer's object;
Message distribution module controls the timer to each observer's object point for the distribution interval according to timer Message is sent out, so that observer's object carries out timing according to the dispatch messages;
Task execution module is appointed for executing timing according to the timing result of observer's object and the timed task parameter Business.
9. a kind of terminal, which is characterized in that the terminal includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now the timed task as described in any in claim 1-7 executes method.
10. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that the program is executed by processor Timed task of the Shi Shixian as described in any in claim 1-7 executes method.
CN201810385831.3A 2018-04-26 2018-04-26 Timed task executes method, apparatus, terminal and computer-readable medium Pending CN110413332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810385831.3A CN110413332A (en) 2018-04-26 2018-04-26 Timed task executes method, apparatus, terminal and computer-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810385831.3A CN110413332A (en) 2018-04-26 2018-04-26 Timed task executes method, apparatus, terminal and computer-readable medium

Publications (1)

Publication Number Publication Date
CN110413332A true CN110413332A (en) 2019-11-05

Family

ID=68346071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810385831.3A Pending CN110413332A (en) 2018-04-26 2018-04-26 Timed task executes method, apparatus, terminal and computer-readable medium

Country Status (1)

Country Link
CN (1) CN110413332A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306577A (en) * 2020-11-03 2021-02-02 珠海格力电器股份有限公司 Timing method of HMI configuration software control and computer readable storage medium
CN114428531A (en) * 2022-01-25 2022-05-03 上海中通吉网络技术有限公司 Method for unified timing on App

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101320337A (en) * 2008-07-16 2008-12-10 北京中星微电子有限公司 Timer and its implementing method
CN106886450A (en) * 2015-12-16 2017-06-23 阿里巴巴集团控股有限公司 Method for scheduling task and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101320337A (en) * 2008-07-16 2008-12-10 北京中星微电子有限公司 Timer and its implementing method
CN106886450A (en) * 2015-12-16 2017-06-23 阿里巴巴集团控股有限公司 Method for scheduling task and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
佚名: ""面向对象设计模式——观察者(OBSERVER)模式"", 《HTTPS://WWW.BBSMAX.COM/A/N2D9M2VBDD 》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306577A (en) * 2020-11-03 2021-02-02 珠海格力电器股份有限公司 Timing method of HMI configuration software control and computer readable storage medium
CN114428531A (en) * 2022-01-25 2022-05-03 上海中通吉网络技术有限公司 Method for unified timing on App

Similar Documents

Publication Publication Date Title
CN108132833A (en) A kind of distributed timing method for scheduling task and device based on zookeeper technologies
CN106815066B (en) Timed task scheduling method, device and system
CN106155780B (en) node election method and device based on time
CN109968352B (en) Robot control method, robot and device with storage function
CN109298951A (en) The execution method and terminal device of Celery task
CN106557369A (en) A kind of management method and system of multithreading
CN110427253A (en) Robot resource tasks period management-control method and device
CN110413332A (en) Timed task executes method, apparatus, terminal and computer-readable medium
CN106708608A (en) Distributed lock service method and acquisition method, and corresponding device
CN112667383B (en) Task execution and scheduling method, system, device, computing equipment and medium
CN109871273A (en) A kind of adaptive task moving method and device
CN112748993A (en) Task execution method and device, storage medium and electronic equipment
Frincu et al. Self-healing distributed scheduling platform
CN116991949B (en) Data synchronization method, device, equipment, server and readable storage medium
CN111163140A (en) Method, apparatus and computer readable storage medium for resource acquisition and allocation
CN111143063B (en) Task resource reservation method and device
CN111752716A (en) Model using method, data processing method and device
CN103761106A (en) Process control method and process engine
CN106598726A (en) Multi-task management system and distributed deployment method thereof
CN114840347A (en) MPC platform, calculation power pool allocation method and electronic equipment
CN106919488A (en) The determination method and device of the responsive state of application program
CN114201284A (en) Timed task management method and system
CN112257885A (en) Intelligent conference room allocation method and device, computer equipment and storage medium
CN109064531A (en) Android animation executes method, apparatus, terminal and readable medium
CN110618863A (en) Operation scheduling method based on Raft algorithm

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191105

RJ01 Rejection of invention patent application after publication