CN110941479B - Task data execution method, server, and computer storage medium - Google Patents

Task data execution method, server, and computer storage medium Download PDF

Info

Publication number
CN110941479B
CN110941479B CN201811115271.6A CN201811115271A CN110941479B CN 110941479 B CN110941479 B CN 110941479B CN 201811115271 A CN201811115271 A CN 201811115271A CN 110941479 B CN110941479 B CN 110941479B
Authority
CN
China
Prior art keywords
task
execution
task data
data
time information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811115271.6A
Other languages
Chinese (zh)
Other versions
CN110941479A (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.)
Guangzhou Huya Information Technology Co Ltd
Original Assignee
Guangzhou Huya Information 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 Guangzhou Huya Information Technology Co Ltd filed Critical Guangzhou Huya Information Technology Co Ltd
Priority to CN201811115271.6A priority Critical patent/CN110941479B/en
Publication of CN110941479A publication Critical patent/CN110941479A/en
Application granted granted Critical
Publication of CN110941479B publication Critical patent/CN110941479B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4825Interrupt from clock, e.g. time of day
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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)
  • Computer And Data Communications (AREA)

Abstract

The application provides a task data execution method, a server and a computer storage medium, wherein the task data execution method comprises the following steps: acquiring an execution mark corresponding to current time, wherein the execution mark at least comprises task address information and execution time information; judging whether the execution time information in the execution mark is matched with the current time or not; if the matching is successful, acquiring task data according to the task address information; the task data is executed at the current time. By the task data execution method, the pertinence and the efficiency of multi-task execution are improved.

Description

Task data execution method, server, and computer storage medium
Technical Field
The present application relates to the field of computer application technologies, and in particular, to a task data execution method, a server, and a computer storage medium.
Background
As computer software becomes more widely and persistently available, people increasingly rely on software to improve work efficiency and standardize enterprise process management. Under such a trend and pressure, the software industry is constantly developing and innovating to meet more and more social requirements. Meanwhile, the technology of software development is greatly developed, and a plurality of special processing technologies are generated according to various requirements, wherein the special processing technologies comprise timer processing technologies.
In the prior art, businesses related to revenue-service systems, member renewal, regular settlement and the like are numerous. Conventional timed task systems tend to produce a large number of timers and require a single maintenance and result in a large number of data calculations. The traditional timing task system needs to check all tasks once when running every time, and has poor pertinence to the tasks needing to be executed; the timed task system needs to build a plurality of timers, and each timer is used for calculating the execution time of a single task, so that the efficiency is low, and the cost is high.
Disclosure of Invention
The application provides a task data execution method, a server and a computer storage medium, and mainly solves the technical problem of how to improve the pertinence and the efficiency of multi-task execution in a timed task system.
In order to solve the above technical problem, the present application provides a task data execution method, where the task data execution method includes:
acquiring an execution mark corresponding to current time, wherein the execution mark at least comprises task address information and execution time information;
judging whether the execution time information in the execution mark is matched with the current time or not;
if the matching is successful, task data are obtained according to the task address information;
executing the task data at the current time.
In order to solve the above technical problem, the present application further provides a server, where the server includes a communicator and a processor, where the communicator is coupled to the processor;
the processor is used for acquiring an execution mark corresponding to current time, wherein the execution mark at least comprises task address information and execution time information;
the processor is further configured to determine whether execution time information in the execution flag matches a current time;
if the matching is successful, the communicator is used for acquiring task data according to the task address information;
the processor is further configured to execute the task data at the current time.
In order to solve the above technical problem, the present application also proposes a computer storage medium storing program data that can be executed to implement the above task data execution method.
Compared with the prior art, the beneficial effects of this application are: acquiring an execution mark corresponding to current time, wherein the execution mark at least comprises task address information and execution time information, and the execution mark displays the information of a task; judging whether the execution time information in the execution mark is matched with the current time or not; if the matching is successful, acquiring task data according to the task address information; executing the task data at the current time; by the task data execution method, the timing task system can execute the task corresponding to the successfully matched execution time information by matching the current time with the execution time information in the task execution marks; by means of matching the execution time information, the complex process of extracting multiple groups of task data is replaced, the workload of a timing task system is reduced, and the pertinence and the efficiency of multi-task execution are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
FIG. 1 is a schematic flow chart diagram of a first embodiment of a task data execution method of the present application;
FIG. 2 is a schematic diagram of the configuration of the timed task system of FIG. 1;
FIG. 3 is a flowchart illustrating a task data executing method according to a second embodiment of the present application;
FIG. 4 is a flowchart illustrating a task data executing method according to a third embodiment of the present application;
FIG. 5 is a schematic structural diagram of an embodiment of a server of the present application;
FIG. 6 is a schematic structural diagram of another embodiment of a server of the present application;
FIG. 7 is a schematic structural diagram of an embodiment of a computer storage medium according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The present application provides a task data execution method, and please refer to fig. 1 and fig. 2 specifically, fig. 1 is a schematic flow diagram of a first embodiment of the task data execution method of the present application; fig. 2 is a schematic diagram of the structure of the timed task system in fig. 1.
The timed task system 20 includes at least a client 21 and a server 22. Wherein the client 21 establishes a communication connection with the server 22.
The client 21 is configured to write task data of a timing task into the server 22; the server 22 is used for storing task data of the timing task and also for periodically extracting and executing the task data so that the timing task is implemented on the client 21.
The task data execution method comprises the following steps:
s11: and acquiring an execution mark corresponding to the current time, wherein the execution mark at least comprises task address information and execution time information.
The server 22 obtains the corresponding execution flag in the timed task system 20 according to the current time. The execution flag is used as a flag of the timing task, and the server 22 determines whether to execute the timing task corresponding to the execution flag by verifying the execution flag according to the verification result. The server 22 can avoid extracting task data of a plurality of timed tasks for verification, thereby improving the working efficiency of the timed task system 20.
The execution flag includes at least task address information and execution time information. Wherein, the task address information can include the task ring position of the stored task data; the execution time information may include a time at which the timed task is to be executed.
S12: and judging whether the execution time information in the execution mark is matched with the current time.
Wherein the server 22 obtains the execution time information in the execution flag and matches the execution time information with the current time of the timed task system 20. When the matching is successful, the server 22 executes the timing task corresponding to the execution flag, specifically refer to step S13 and step S14. The timing task is determined by verifying the execution time information, and the mode avoids processing invalid data, processes valid task data each time and has high execution efficiency.
S13: and acquiring task data according to the task address information.
Wherein the server 22 obtains the task address information in the execution flag, that is, the server 22 obtains the task ring location storing the task data. The server 22 obtains task data and logic needed to execute the timed task from the task ring.
Specifically, the server 22 may set the task ring according to the actual scene. For example, a plurality of renewal tasks are stored in the server 22, and the server 22 establishes a task pool including a first-level task ring and a second-level task ring. The first layer task ring stores specific recharging tasks, and the second layer task ring correspondingly stores task data and logic for executing the specific recharging tasks.
When the server 22 executes the timing task, the server 22 obtains a specific task of a first layer task ring in the task pool on the current day according to the execution flag; after acquiring the specific task, the server 22 executes the specific recharging logic corresponding to the specific task, where the specific recharging logic is stored in the second-layer task ring.
By the above task ring setting manner, the timed task system 20 can implement a function that one timer executes a plurality of timed tasks, thereby improving the resource utilization rate. Different from the single scheduling of the conventional timing task, the task data execution method of the embodiment can accurately identify the specific data for executing the task. The server 22 can simply configure the execution logic of multiple timing tasks through background configuration, support multi-timing task configuration, and simplify the conventional timing task coding logic. Compared with the traditional timer in the prior art, the timed task system 20 establishes tasks of the same type to avoid recoding, only needs to write specific tasks in the first layer task ring and access execution logic in the second layer task ring, is simpler in maintenance and expansion, and can be used as a micro server to be rapidly deployed.
S14: the task data is executed at the current time.
After extracting the task data and logic in the second layer task ring, the server executes the task data according to the execution logic, thereby implementing a corresponding timing task on the client 21.
With the task data execution method of the above embodiment, the server 22 matches the current time with the execution time information in the execution flag; when the matching is successful, the server 22 acquires task data according to the task address information in the execution flag, and executes the task data to realize a corresponding timing task. Compared with the prior art, the task data execution method of the embodiment only needs to verify the execution time information, avoids obtaining specific task data for verification, and can effectively improve pertinence and efficiency of timing task execution.
Further, the server 22 sets a task pool having two layers of task rings, where a first layer of task ring is used for storing specific tasks, and a second layer of task ring is used for storing task data and logic; when the server 22 expands or maintains the timing task, only the specific task of the first layer task ring needs to be updated, and then the execution logic in the second layer task ring is accessed, so that the whole process is simple, and the server 22 can be conveniently and rapidly deployed as a micro server.
The present application further provides another task data execution method, and specifically please refer to fig. 3, where fig. 3 is a schematic flowchart of a second embodiment of the task data execution method of the present application.
The task data executing method of the present embodiment is also applied to the timed task system 20, and please refer to fig. 2 for details, which are not described herein again.
The first embodiment of the task data execution method described above reveals how to execute a timed task, before the timed task is executed, the timed task system 20 adds the timed task to the server 22 through the client 21.
As shown in fig. 3, on the basis of the task data executing method disclosed in the first embodiment, before step 11, the task data executing method of this embodiment further includes the following steps:
s31: task data is received.
Among them, the server 22 receives task data of the client 21. Specifically, when receiving a user instruction, the client 21 generates corresponding task data according to the user instruction and sends the task data to the server 22.
S32: and acquiring task creating time according to the task data.
After receiving the task data, the server 22 obtains the task creation time according to the task data. Specifically, the task creation time represents the date on which the timed task was first executed, i.e., the date on which the timed task was written to the server 22 by the timed task system 20.
The execution mark of the timing task at least comprises task creating time, task address information and execution time information. The server 22 sets task address information and execution time information of the timed task according to the task creation time, specifically refer to step S33 and step S34.
S33: and setting task address information according to a first result of performing difference modulo on the task execution period and the task creation time.
The server 22 further obtains a task execution period according to the task data, where the task execution period represents a period in which the timed task is repeatedly executed. The server 22 performs a modulo calculation according to the task execution period and the task creation time to obtain a first result, and sets task address information according to the first result. A plurality of data grids are arranged in the first layer task ring, and the number of the data grids in the task ring is related to the task execution period of the timing task.
For example, the server 22 establishes the renewal task, the task execution period acquired by the server 22 based on the task data of the renewal task is 12 days, and the task creation time acquired based on the task data of the renewal task is 6 days. And the first result of taking the difference modulo of the task execution period and the task creation time of the renewal task is 6, and the server 22 sets the task address information according to the first result, wherein the task address information is the address information of the fifth data grid in the first layer task ring.
The task address information of the timed task is the first core point of data segmentation, and the task address information cannot be changed after being set by the server 22, and runs through the life cycle of the whole task ring.
S34: and setting execution time information according to a second result of adding the task creation time and the task execution period.
The server 22 adds the task creation time and the task execution period to obtain a second result, and sets the execution time information according to the second result. The execution time information includes a time at which the timed task is to be executed.
For example, the server 22 establishes the renewal task, the task execution period acquired by the server 22 based on the task data of the renewal task is 12 days, and the task creation time acquired based on the task data of the renewal task is 6 days. If the second result of the addition of the task creation time and the task execution period of the renewal task is 18, the server 22 sets the execution time information based on the second result, and the execution time information is 18 days, that is, the server 22 re-executes the renewal task on 18 days.
S35: and storing the task data in a database in a distributed manner according to the task address information.
After the task address information is set in step S33, the server 22 stores task data of the timed task in a database (not shown) according to the task address information.
Specifically, the server 22 stores the task data of the timed task in a plurality of storage areas of one database, or a plurality of databases, or a plurality of computer devices in a distributed manner according to the task address information. The task data execution method of the embodiment supports distributed storage, is beneficial to improving the storage capacity and the execution capacity of the timed task system 20, and can also improve the safety and the stability of data storage.
In this embodiment, the database is a Redis database. In other embodiments, the database may also be a Hbase database, a Mysql database, a Sybase database, or the like.
In this embodiment, the timed task system 20 uses a Redis database to store data of the task ring, and these data exist as redundancy of Mysql persistent data. The redundant data form a regular task ring, and the Redis database can flexibly deploy the Rdeis cluster according to the specific task data volume, so that the expansibility and flexibility of the task data execution method are improved.
By the task data execution method of the above embodiment, the server 22 receives the task data of the client 21, and determines the execution flag according to the content of the task data, so that the pertinence and the efficiency of task execution are improved; the server 22 stores the task data in the database cluster in a distributed manner according to the task address information in the execution flag, and the storage manner of distributed storage is favorable for improving the storage capacity and execution capacity of the timed task system 20.
The present application further provides another task data execution method, please refer to fig. 4 specifically, and fig. 4 is a schematic flowchart of a third embodiment of the task data execution method of the present application.
The method for quickly generating an instruction according to the present embodiment is also applied to the timed task system 20, and please refer to fig. 2 for details, which are not described herein again.
During the execution of the timed task, the timed task system 20 cannot normally execute the timed task within the execution time due to equipment failure or other reasons. In this embodiment, the tasking system 20 is configured with a compensation mechanism to ensure that the tasking system 20 can operate normally.
As shown in fig. 4, on the basis of the task data executing method disclosed in the first embodiment, the task data executing method of this embodiment further includes the following steps:
s41: and judging whether the first execution time information in the execution mark is matched with the current time.
Wherein the server 22 determines whether the first execution time information in the execution flag matches the current time. When it is determined that the first execution time information fails to match the current time, the process proceeds to step S42.
S42: and acquiring first task data corresponding to the first execution time information, and executing the first task data.
The server 22 periodically reads the execution flag of the timing task, and implements a compensation mechanism for the case that the execution time information does not match the current time, so as to ensure that the timing task system 20 can normally operate.
For example, when the server 22 executes a timing task in the task ring every day, the execution flag of the timing task is read first, and the execution time information and the task address information are read out. And if the execution time information is successfully matched with the current time, the task ring is normal, the task data of the corresponding data grid in the task ring is read, and the specific timing task is executed. If the matching between the execution time information and the current time fails, an error occurs in the task ring, and the server 22 starts to perform the supplementary execution from the data grid corresponding to the execution time information, so as to ensure the integrity of the task execution.
When it is determined that the first execution time information fails to match the current time, the server 22 starts the supplementary execution from the data cell corresponding to the first execution time information. Specifically, the server 22 acquires first task data corresponding to the first execution time information, and executes the timed task according to the first task data.
S43: and judging whether the second execution time information in the execution mark is matched with the current time.
After the server 22 performs the timing task corresponding to the first execution time information, it determines whether the second execution time information matches the current time. Wherein the second execution time is a next execution time after the first execution time.
When the server 22 determines that the second execution time information is successfully matched with the current time, step S45 is performed; when the server 22 determines that the second execution time information fails to match the current time, the process proceeds to step S44.
S44: and acquiring second task data corresponding to the second execution time information, and executing the second task data.
The second execution time information fails to match the current time, that is, the server 22 needs to perform a timing task corresponding to the second execution time information in a supplementary manner. Specifically, the server 22 acquires the second task data corresponding to the second execution time information, and executes the second task data.
In the compensation mechanism of the task data execution method in this embodiment, the server 22 needs to sequentially supplement the timed tasks corresponding to all the execution time information from the interrupt time to the current time, so as to ensure the normal operation of the timed task system 20.
For example, when the server 22 executes the renewal task, the execution time information acquired by the server 22 is 5 days, and the current time of the scheduled task system 20 is 8 days. The server 22 needs to execute the time charging task corresponding to 5 days, then execute the time charging task corresponding to 6 days, then execute the time charging task corresponding to 7 days, and finally execute the time charging task corresponding to 8 days.
In other embodiments, the scale of the execution time information may be seconds, minutes, hours, days, etc., and will not be described herein.
According to the description of the compensation mechanism, after executing the timing task corresponding to the second execution time information, the server 22 further needs to determine whether the third execution time information matches the current time; if the matching fails, the server 22 executes the timing task corresponding to the third execution time information, and determines whether the fourth execution time information matches the current time, until it is determined that the execution time information in the execution flag matches the current time, then step S45 is performed.
S45: the task data is executed at the current time.
Step S45 of the present embodiment is the same as step S13 of the above embodiment, and is not described herein again.
S46: and updating the execution time information in the execution mark corresponding to the task data.
Wherein, the server 22 updates the execution flag after the task data of the timed task is executed.
Specifically, the server 22 updates the execution time information in the execution flag according to the task execution cycle. For example, the execution time information of the renewal task is 5 days, the task execution cycle is 12 days, and the server 22 executes the renewal task when the current time of the timed task system 20 is 5 days. The server 22 updates the execution time information of the renewal task to 17 days.
By the task data execution method of the above embodiment, the server 22 performs the supplementary execution from the data grid corresponding to the interrupt time according to the compensation mechanism, so as to ensure the complete task execution and improve the stability of the timed task system 20. Further, after executing the timing task, the server 22 updates the execution time information of the timing task, thereby ensuring the scalability of the task data execution method.
The present application further provides a server, please refer to fig. 5 specifically, and fig. 5 is a schematic structural diagram of an embodiment of the server according to the present application.
The server 500 is the server 22 disclosed in the above embodiment, and the server 500 establishes a communication connection with the client 21. As shown in fig. 5, the server 500 includes a transceiver module 51 and a processing module 52, wherein the transceiver module 51 establishes a connection with the processing module 52.
The processing module 52 is configured to obtain an execution flag corresponding to current time, where the execution flag at least includes task address information and execution time information;
the processing module 52 is further configured to determine whether the execution time information in the execution flag matches the current time;
if the matching is successful, the transceiver module 51 is configured to obtain task data according to the task address information;
the processing module 52 is further configured to execute the task data at the current time.
The present application further provides another server, specifically please refer to fig. 6, and fig. 6 is a schematic structural diagram of another embodiment of the server of the present application.
The server 600 is the server 22 disclosed in the above embodiment, and the server 600 establishes a communication connection with the client 21. As shown in fig. 6, the server 600 includes a communicator 61 and a processor 62, wherein the communicator 61 establishes a connection with the processor 62.
The processor 62 is configured to obtain an execution flag corresponding to current time, where the execution flag at least includes task address information and execution time information;
the processor 62 is further configured to determine whether the execution time information in the execution flag matches the current time;
if the matching is successful, the communicator 61 is used for acquiring task data according to the task address information;
the processor 62 is further operable to execute the task data at the current time.
In the present embodiment, the processor 62 may also be referred to as a CPU (Central Processing Unit). The processor 62 may be an integrated circuit chip having signal processing capabilities. The processor 62 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor 62 may be any conventional processor or the like.
The present application also proposes a computer storage medium, as shown in fig. 7, a computer storage medium 700 storing program data that can be executed to implement the method as described in the embodiments of the task data execution method of the present application.
The method involved in the embodiments of the method for quickly generating instructions may be stored in a device, for example, a computer-readable storage medium, when the method is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the present application, which are essential or contributing to the prior art, or all or part of the technical solutions may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (7)

1. A task data execution method, characterized in that the task data execution method comprises:
receiving task data;
acquiring task creation time and a task execution period according to the task data;
setting task address information according to a first result of difference modulo of the task execution period and the task creation time;
setting execution time information according to a second result of the addition of the task creation time and the task execution period;
acquiring an execution mark corresponding to current time, wherein the execution mark at least comprises the task address information and the execution time information;
judging whether the execution time information in the execution mark is matched with the current time or not;
if the matching is successful, task data are obtained according to the task address information; executing the task data at the current time.
2. The task data execution method of claim 1, further comprising:
and storing the task data in a database in a distributed manner according to the task address information.
3. The task data execution method of claim 1, wherein the execution time information includes at least first execution time information and second execution time information;
after the step of determining whether the execution time information in the execution flag matches the current time, the task data execution method further includes:
if the first execution time information is judged to be unsuccessfully matched with the current time and the second execution time information is judged to be successfully matched with the current time, first task data corresponding to the first execution time information is obtained, and the first task data is executed.
4. The task data execution method of claim 3, further comprising:
and after the first task data is executed, acquiring second task data corresponding to the second execution time information, and executing the second task data.
5. The task data execution method of claim 1, wherein after the step of executing the task data at the current time, the task data execution method further comprises:
and updating the execution time information in the execution mark corresponding to the task data.
6. A server, comprising a communicator and a processor, wherein the communicator is coupled to the processor;
the processor is used for receiving task data; acquiring task creating time and a task execution period according to the task data; setting task address information according to a first result of difference modulo of the task execution period and the task creation time; setting execution time information according to a second result of the addition of the task creation time and the task execution period; acquiring an execution mark corresponding to current time, wherein the execution mark at least comprises task address information and execution time information;
the processor is further configured to determine whether the execution time information in the execution flag matches the current time;
if the matching is successful, the communicator is used for acquiring task data according to the task address information;
the processor is further configured to execute the task data at the current time.
7. A computer storage medium characterized in that the computer storage medium stores program data executable to implement the task data execution method of any one of claims 1-5.
CN201811115271.6A 2018-09-25 2018-09-25 Task data execution method, server, and computer storage medium Active CN110941479B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811115271.6A CN110941479B (en) 2018-09-25 2018-09-25 Task data execution method, server, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811115271.6A CN110941479B (en) 2018-09-25 2018-09-25 Task data execution method, server, and computer storage medium

Publications (2)

Publication Number Publication Date
CN110941479A CN110941479A (en) 2020-03-31
CN110941479B true CN110941479B (en) 2023-04-07

Family

ID=69905002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811115271.6A Active CN110941479B (en) 2018-09-25 2018-09-25 Task data execution method, server, and computer storage medium

Country Status (1)

Country Link
CN (1) CN110941479B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760476B (en) * 2020-06-04 2024-02-09 广州虎牙信息科技有限公司 Task dependency processing method and related device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834564A (en) * 2015-05-20 2015-08-12 百度在线网络技术(北京)有限公司 Task scheduling method and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542379B (en) * 2010-12-20 2015-03-11 中国移动通信集团公司 Method, system and device for processing scheduled tasks
CN102262562A (en) * 2011-07-18 2011-11-30 李建成 Task processing method and system
US9400682B2 (en) * 2012-12-06 2016-07-26 Hewlett Packard Enterprise Development Lp Ranking and scheduling of monitoring tasks
CN104598214B (en) * 2013-11-01 2018-01-05 中国石油天然气股份有限公司 The timing task management method and device of oil-gas pipeline system applied business
CN104216836B (en) * 2014-08-28 2018-01-23 华为技术有限公司 A kind of concurrent reading and concurrent writing method and apparatus of storage system
CN104536809B (en) * 2014-11-26 2018-01-19 上海瀚之友信息技术服务有限公司 A kind of distributed timing task scheduling system based on client, server system
CN107748695B (en) * 2017-10-24 2020-11-24 平安科技(深圳)有限公司 Timed task processing method and device, storage medium and computer equipment
CN107908486A (en) * 2017-11-06 2018-04-13 山东浪潮通软信息科技有限公司 A kind of cycle performs the method and device of task
CN108399572A (en) * 2018-03-22 2018-08-14 深圳市网心科技有限公司 block chain transaction processing method, device and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834564A (en) * 2015-05-20 2015-08-12 百度在线网络技术(北京)有限公司 Task scheduling method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
代理集群的负载均衡系统设计与实现;石瑞;《中国优秀硕士学位论文全文数据库 信息科技辑》;20120515;I139-59 *

Also Published As

Publication number Publication date
CN110941479A (en) 2020-03-31

Similar Documents

Publication Publication Date Title
Mohammed et al. Failover strategy for fault tolerance in cloud computing environment
CN106575244B (en) Patching process to ensure high availability of cloud applications
Zhao et al. Exploring reliability of exascale systems through simulations.
CN112286905A (en) Data migration method and device, storage medium and electronic equipment
CN110825495A (en) Container cloud platform recovery method, device, equipment and readable storage medium
US11175947B2 (en) Microservices change management and analytics
US11567756B2 (en) Causality determination of upgrade regressions via comparisons of telemetry data
CN110162344A (en) A kind of method, apparatus, computer equipment and readable storage medium storing program for executing that current limliting is isolated
EP3467670A1 (en) Light weight redundancy tool for performing transactions
CN107203437B (en) Method, device and system for preventing memory data from being lost
CN110941479B (en) Task data execution method, server, and computer storage medium
CN109445800A (en) A kind of version automatic deployment method and system based on distributed system
CN107391539B (en) Transaction processing method, server and storage medium
CN111736874A (en) Application updating method and device
CN107220897B (en) Income posting processing method and device and processing system
CN114996057A (en) Data backup method and device, electronic equipment and computer readable storage medium
CN116974983A (en) Data processing method, device, computer readable medium and electronic equipment
CN113297318A (en) Data processing method and device, electronic equipment and storage medium
CN110677469A (en) Security disaster recovery backup system and disaster recovery backup implementation method
Singh et al. Survey on Fault Tolerant Techniques in Scientific Applications
CN114900531B (en) Data synchronization method, device and system
CN114265563B (en) Object storage method and device based on cloud computing and storage medium
CN114546705B (en) Operation response method, operation response device, electronic apparatus, and storage medium
US20240160517A1 (en) Alert aggregation and health issues processing in a cloud environment
CN116821250B (en) Distributed graph data processing method and system

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