CN107688926B - Definable time task propelling method based on automatic circulation - Google Patents

Definable time task propelling method based on automatic circulation Download PDF

Info

Publication number
CN107688926B
CN107688926B CN201710737193.2A CN201710737193A CN107688926B CN 107688926 B CN107688926 B CN 107688926B CN 201710737193 A CN201710737193 A CN 201710737193A CN 107688926 B CN107688926 B CN 107688926B
Authority
CN
China
Prior art keywords
time
task
server
event
node
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
CN201710737193.2A
Other languages
Chinese (zh)
Other versions
CN107688926A (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.)
Chengdu Controller Network Technology Co.,Ltd.
Original Assignee
Chengdu Controller 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 Chengdu Controller Network Technology Co ltd filed Critical Chengdu Controller Network Technology Co ltd
Priority to CN201710737193.2A priority Critical patent/CN107688926B/en
Publication of CN107688926A publication Critical patent/CN107688926A/en
Application granted granted Critical
Publication of CN107688926B publication Critical patent/CN107688926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of automatic circulation of online tasks and discloses a definable time task propelling method based on automatic circulation. The invention provides a task flow system capable of automatically circulating and a distributed distribution system for realizing task propulsion reminding, which can automatically trigger to push corresponding task propulsion execution contents to a task attendee (such as a superior leader of a recording task executor) when finding that a recording task is not processed according to time, so that the recording task executor is prompted to process a delayed recording task or replace the recording task executor by the task attendee, and therefore, the on-line task can be continuously propelled, the interruption of task follow-up is not caused, and the normal circulation of the on-line task is ensured. In addition, the time length of the task node and the timing step length can be customized when the task is created, and the flexibility of an automatic task circulation mechanism is guaranteed.

Description

Definable time task propelling method based on automatic circulation
Technical Field
The invention relates to the technical field of automatic circulation of online tasks, in particular to a definable time task propelling method based on automatic circulation.
Background
At present, in various OA (Office Automation) and team cooperation technologies, basic implementation ideas about task modules are only used as record carriers, that is, tasks that need to be executed by themselves or teams are recorded in corresponding system modules. There is no effective engine or system to advance the execution of the recording task, and once the recording task performer forgets the recorded content or because other work takes effort, the planned task is put aside, resulting in the problems that the recording task cannot advance and the task follow-up is interrupted. Such a task management method in a record form cannot well advance the execution of tasks, and an effective task advancing method or system for meeting the task advancing requirement is not available in the market at present.
Disclosure of Invention
Aiming at the problems that the existing on-line tasks cannot be pushed and task follow-up interruption is easily caused, the invention provides a definable time task pushing method based on automatic circulation.
The technical scheme adopted by the invention provides a definable time task propelling method based on automatic circulation, which comprises the following steps:
s101, after receiving a newly created recording task, a task server registers a task node timer for a task node of the recording task according to a user-defined task node time length and a user-defined timing step length in the recording task, configures a natural time timer according to the user-defined timing step length, and then synchronously starts the task node timer and the natural time timer;
s102, when finding that a task executor still does not process the recording task when the timing of the task node timer is reached, the task server takes the instant natural time of the natural time timer as a dequeue time node, and then adds the dequeue time node into a dequeue time node list queue;
s103, when the streaming server monitors that a new dequeue time node appears in the dequeue time node list queue without clearance, generating a corresponding task propulsion event, accessing the information server according to a corresponding recorded task, and acquiring the execution content of the corresponding task propulsion event and the receiving address of a task attendee to be reminded;
and S104, the flow server takes the task propulsion event as an event processing thread, adds the event processing thread into an event processing thread pool, and dispatches the execution content of the task propulsion event to the task followers corresponding to the receiving addresses of the task followers according to the early and late sequence of the dequeuing time nodes corresponding to the task propulsion event.
Preferably, after the step S103, the flow server determines a priority dispatch level of the corresponding task propulsion event according to the task propulsion event execution content, and after the step of adding the task propulsion event as an event processing thread to the event processing thread pool, the flow server further includes the following steps:
according to the priority dispatching level and the dequeuing time node of the task propulsion event, all the event processing threads which are not dispatched in the event processing thread pool are sequenced as follows by an event level weight thread pool: and arranging the event processing thread with the highest priority dispatching level at the forefront of the thread queue, and arranging the event processing thread with the earliest dequeuing time node at the forefront of the thread queue with the same priority dispatching level. Preferably, the event level weight thread pool communicates with the event processing thread pool via pipeline threads.
Preferably, before the step S101, the task server, the streaming server and the information server are time-synchronized according to the following steps:
s201, the time publishing server periodically sends a first time T to the time subscribing server according to a predefined time publishing periodSDTThe time service issuing message of (1), wherein the time subscription server is a task server, a circulation server or an information server, and the first time T isSDTThe calculation formula of (a) is as follows:
TSDT=T1+tFPSAB+t′COR
in the formula, T1Is the instant local system time t of the time issuing server when sending the first bit code of the time service issuing messageFPSABIs the sending time length, t 'of the time service release message'CORThe time distribution server obtains corrected transmission delay after the previous time service;
s202, after receiving the time service release message, the time subscription server updates the local server time to the first time TSDTAnd feeds back the time release server including the second time TREINThe time service confirmation message of (2), wherein the second time TREINThe calculation formula of (a) is as follows:
TREIN=TSDT+tR+tFSPBA
in the formula, tRResponse delay for time subscription server, tFSPBAConfirming the sending duration of the message for the time service;
s203, after receiving the time service confirmation message, the time release server calculates the corrected transmission delay t after the time service according to the following formulaCOR
tCOR=(TRDT-T1-tFPSAB-tR-tFSPBA)/2
In the formula, TRDTThe time distribution server is the instant local system time when receiving the last bit code of the time service confirmation message;
s204, the time release server updates and stores the corrected transmission delay t obtained after the time service is carried out for the timeCOR
Further preferably, before the step S201, the method further includes the following steps:
s200, the time publishing server periodically accesses the NTP time server according to a predefined time updating period to acquire NTP time, and then local system time is updated to the NTP time.
Preferably, the time distribution server and the time subscription server transmit the time service distribution message and the time service confirmation message through an SSH (secure Shell) information tunnel established between the time distribution server and the time subscription server.
Further preferably, the first time TSDTThe time precision of (a) may be set to be a nanosecond, a microsecond, a millisecond, or a second in advance, as defined.
Preferably, the task node timer is a counter-clockwise countdown timer, and the natural time timer is a clockwise timer.
Optimally, the time unit of the self-defined timing step is nanosecond, microsecond, millisecond, second, minute or hour.
In summary, the definable time task propelling method based on automatic circulation provided by the invention has the following beneficial effects: (1) the invention provides a task flow system capable of automatically circulating and a distributed distribution system for realizing task propulsion reminding, which can automatically trigger to push corresponding task propulsion execution contents to a task attendee (such as a superior leader of a task performer) when finding that a recording task is not processed according to time, so that the task attendee can prompt the task performer to process a delayed recording task or replace the recording task performer, thereby enabling an on-line task to continue to be propelled, avoiding interruption of task follow-up and ensuring normal circulation of the on-line task; (2) in the task propelling method provided by the invention, the task node time length and the timing step length can be customized when the task is created, so that the flexibility of an automatic task circulation mechanism is ensured; (3) automatic grading can be carried out according to the execution content of the task propulsion event so as to preferentially carry out task propulsion reminding with time being urgent and ensure the timeliness of the task propulsion; (4) the invention also provides a subscription compensation type system time service method, a system time synchronization algorithm and a time node listing algorithm, thereby not only ensuring the time precision and flexibility of internal transmission of the system in the time service process, but also giving consideration to the accuracy of time synchronization, further ensuring the pushing flexibility and accuracy of task propulsion events, and particularly being capable of accurately setting the time service to microsecond level or nanosecond level according to the pre-customization; (5) the invention creates an original time node dequeuing algorithm, can meet the requirement of recording dequeuing of task nodes, obtains first-in first-out and pipelined single-item circulating data, has original flexibility and meets the requirement of changeability of recording tasks; (6) the invention creates an original subscription compensation type system time service method, which can meet the requirements of the synchronization precision and the flexibility of the recording time, the accuracy of the time synchronization and the timeliness of a countdown type recording task; (7) the invention can combine the precise and safe characteristics of NTP and SSH, and can ensure the high safety and precision of internal time information transmission by establishing a message transmission mode which is packaged by an information tunnel and comprises compensation time, thereby being convenient for practical popularization and application.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a definable time task advancing method provided by the present invention.
FIG. 2 is a schematic diagram of inter-server system time service in a definable time task pushing method according to the present invention.
FIG. 3 is a schematic diagram of a system architecture for implementing a definable time task propelling method according to the present invention.
Detailed Description
The definable time task advancing method based on automatic flow forwarding provided by the present invention will be described in detail below by way of embodiments with reference to the accompanying drawings. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, B exists alone, and A and B exist at the same time, and the term "/and" is used herein to describe another association object relationship, which means that two relationships may exist, for example, A/and B, may mean: a alone, and both a and B alone, and further, the character "/" in this document generally means that the former and latter associated objects are in an "or" relationship.
Example one
Fig. 1 is a schematic flow diagram illustrating a definable time task propelling method provided by the present invention, fig. 2 is a schematic diagram illustrating a system time service between servers in the definable time task propelling method provided by the present invention, and fig. 3 is a schematic diagram illustrating a system structure for implementing the definable time task propelling method provided by the present invention. The definable time task propelling method based on automatic circulation provided by the embodiment comprises the following steps.
S101, after receiving a newly created recording task, a task server registers a task node timer for a task node of the recording task according to a user-defined task node time length and a user-defined timing step length in the recording task, configures a natural time timer according to the user-defined timing step length, and then synchronously starts the task node timer and the natural time timer.
In the step S101, the recording task may be, but is not limited to, created by a task performer or a task attendee (e.g., a superior leader of the task performer), and transmitted to the task server after being created, and then automatically supervised by the task server. Meanwhile, in the recording task creating process, besides creating necessary recording task content, a custom task node time length and a custom timing step length can be preset for a task node of a recording task, wherein the time unit of the custom timing step length can be but is not limited to nanosecond, microsecond, millisecond, second, minute or hour, and the like, so that the former is, for example, a natural day, and the latter is, for example, a quarter (namely, 15 minutes).
In step S101, the task node timer is configured to perform timing of processing progress on a task node that records a task, so as to determine whether the task node is not processed after an expiration. And the natural time timer is used for timing for recording the natural time. Optimally, in order to more intuitively show the processing progress of the recording task on the display page, the task node timer can be preferably a counter-clockwise countdown timer, and the natural time timer can be preferably a clockwise timer. In addition, the natural time timer can be further designed into a large-inner-diameter annular structure, and the task node timer is designed into a small-outer-diameter annular structure which is built in the natural time timer, so that the display effect of recording the processing progress of the task is more visual.
In order to ensure high accuracy of timing and time keeping accuracy, it is necessary to synchronize the time of the task server in the following steps before step S101.
S201, the time publishing server periodically sends a first time T to the time subscribing server according to a predefined time publishing periodSDTThe time service of (1) issuing the message, wherein the time subscription server is a task server, and the first time T isSDTThe calculation formula of (a) is as follows:
TSDT=T1+tFPSAB+t′COR
in the formula, T1Publishing servers for timeThe instant local system time t when the first bit code of the time service release message is sentFPSABIs the sending time length, t 'of the time service release message'CORThe corrected transmission delay obtained after the previous time service is provided for the time release server, and if the previous time service is not provided, the corrected transmission delay is a default value or 0.
In step S201, the task server needs to complete an automatic registration subscription in the time distribution server according to the configuration information in advance, and becomes a time subscription server, so as to periodically receive the time service distribution packet. After the registration subscription is completed, in order to ensure the transmission timeliness and security of the time service release message and the subsequent time service confirmation message, an SSH (Secure Shell protocol) information tunnel needs to be established between the time release server and the time subscription server in advance, and then the time service release message and the subsequent time service confirmation message are transmitted through the SSH information tunnels established between every two servers. In addition, the predefined time distribution period can be manually set in advance, for example, set to an hour level capable of meeting the requirement of low-precision time service time, or set to a microsecond level capable of meeting the requirement of high-precision time service time. Also the first time TSDTThe time accuracy of (d) may be set to be predefined in nanoseconds, microseconds, milliseconds, seconds, or the like.
Before the step S201, in order to make the time distribution server have a high-accuracy local system time, the method further includes the following steps: s200, the Time publishing server periodically accesses an NTP (Network Time Protocol) Time server according to a predefined Time updating period, acquires NTP Time and then updates local system Time into the NTP Time. The NTP time server is a special time server which is authoritative to the Internet and used for timing aiming at a computer, a control device and the like in an automation system.
S202, after receiving the time service release message, the time subscription server updates the local server time to the first time TSDTAnd feeds back the time release server including the second time TREINThe time service confirmation message of (2), wherein the second time TREINThe calculation formula of (a) is as follows:
TREIN=TSDT+tR+tFSPBA
in the formula, tRResponse delay for time subscription server, tFSPBAAnd confirming the sending time length of the message for the time service.
S203, after receiving the time service confirmation message, the time release server calculates the corrected transmission delay t after the time service according to the following formulaCOR
tCOR=(TRDT-T1-tFPSAB-tR-tFSPBA)/2
In the formula, TRDTThe time distribution server is the instant local system time when receiving the last bit code of the time service confirmation message;
s204, the time release server updates and stores the corrected transmission delay t obtained after the time service is carried out for the timeCOR
As shown in fig. 2, the corrected transmission delay tCORI.e. the transmission delay t of the time service release messageDABAnd time service confirmation message transmission delay tDBAAverage value of, i.e. tCOR=(tDAB+tDBA) (ii)/2, reflecting the level of transmission delay between the most recent time-publishing server and the time-subscribing server, thereby passing through the aforementioned steps S201-S204, and at the first time TSDTTakes the corrected transmission delay t 'of the previous time service into consideration'CORThe time synchronization accuracy of the time subscription server and the time publishing server after time service can be ensured.
S102, when the task server finds that the task executor still does not process the recording task when the timing of the task node timer is reached, the instant natural time of the natural time timer is used as a dequeue time node, and then the dequeue time node is added into a dequeue time node list queue.
And S103, when the streaming server monitors that a new dequeuing time node appears in the dequeuing time node list queue without clearance, generating a corresponding task propulsion event, accessing the information server according to the corresponding recorded task, and acquiring the execution content of the corresponding task propulsion event and the receiving address of a task attendee to be reminded.
In the step S103, the task pushing event execution content, the receiving address of the to-be-reminded task attendee, and the mapping relationship between the to-be-reminded task attendee and the corresponding recorded task need to be stored in the information server in advance (which may be earlier than the creation time of the corresponding recorded task), where the task pushing event execution content may be, but is not limited to, "call-reminding task performer", "skip task performer", "delay task node duration", or "change task performer", and the receiving address of the to-be-reminded task attendee may be, but is not limited to, a computer IP address, an email address, or a contact phone number of the task attendee. Thus, after the step S103, the flow server may further determine the priority level of the corresponding task promoting event according to the task promoting event execution content, so as to flexibly adjust the dispatching order of the task promoting event execution content according to the actual situation, for example, for the task promoting event execution content being "change task performer", the priority level of the corresponding task promoting event may be determined to be 1 level; for the task propulsion event execution content of 'delaying task node duration', the priority dispatching level of the corresponding task propulsion event can be determined to be 2 level; for task push event execution content that is a "phone-reminded task performer" or a "skip task performer," the priority assignment level for the corresponding task push event can be determined to be level 3 (i.e., the highest level). In addition, the time synchronization method between the circulation server and the information server and the time distribution server may also be, but is not limited to, the manner described in steps S201 to S204, that is, the circulation server and the information server are respectively used as time subscription servers to perform subscription-type service, and details thereof are not repeated herein.
And S104, the flow server takes the task propulsion event as an event processing thread, adds the event processing thread into an event processing thread pool, and dispatches the execution content of the task propulsion event to the task followers corresponding to the receiving addresses of the task followers according to the early and late sequence of the dequeuing time nodes corresponding to the task propulsion event.
In the step S104, the event processing thread pool is used for being responsible for dispatching task pushing events, and if a priority dispatching level of task pushing events is determined, after the step of adding the task pushing events into the event processing thread pool as an event processing thread, the method further includes the following steps: according to the priority dispatching level and the dequeuing time node of the task propulsion event, all the event processing threads which are not dispatched in the event processing thread pool are sequenced as follows by an event level weight thread pool: and arranging the event processing thread with the highest priority dispatching level at the forefront of the thread queue, and arranging the event processing thread with the earliest dequeuing time node at the forefront of the thread queue with the same priority dispatching level. The event level weight thread pool is used for adjusting the dispatching sequence of all the event processing threads which are not dispatched in the event processing thread pool, so that task propulsion reminding can be carried out according to priority and early, and the timeliness of task propulsion is ensured. Preferably, the event level weight thread pool communicates with the event processing thread pool via pipeline threads. The pipeline thread is used for realizing the communication between the event level weight thread pool and the event processing thread pool so as to adjust the dispatching sequence of all the event processing threads.
Therefore, through the steps S101 to S104, a task flow system capable of automatically circulating and a distributed distribution system for realizing task push reminding can be provided, and further, when the situation that the recording task is not processed according to the schedule is found, the pushing of corresponding task push execution content to a task attention person (for example, a superior leader of a recording task performer) can be automatically triggered, so that the recording task performer is prompted to process a delayed recording task or replace the recording task performer through the task attention person, and therefore, the on-line task can be continuously pushed, the interruption of task follow-up is not caused, and the normal circulation of the on-line task is ensured. In addition, the time length of the task node and the timing step length can be customized when the task is created, and the flexibility of an automatic task circulation mechanism is guaranteed.
In summary, the definable time task propelling method based on automatic circulation provided by the embodiment has the following beneficial effects: (1) the invention provides a task flow system capable of automatically circulating and a distributed distribution system for realizing task propulsion reminding, which can automatically trigger to push corresponding task propulsion execution contents to a task attendee (such as a superior leader of a task performer) when finding that a recording task is not processed according to time, so that the task attendee can prompt the task performer to process a delayed recording task or replace the recording task performer, thereby enabling an on-line task to continue to be propelled, avoiding interruption of task follow-up and ensuring normal circulation of the on-line task; (2) in the task propelling method provided by the invention, the task node time length and the timing step length can be customized when the task is created, so that the flexibility of an automatic task circulation mechanism is ensured; (3) automatic grading can be carried out according to the execution content of the task propulsion event so as to preferentially carry out task propulsion reminding with time being urgent and ensure the timeliness of the task propulsion; (4) the invention also provides a subscription compensation type system time service method, a system time synchronization algorithm and a time node listing algorithm, thereby not only ensuring the time precision and flexibility of internal transmission of the system in the time service process, but also giving consideration to the accuracy of time synchronization, further ensuring the pushing flexibility and accuracy of task propulsion events, and particularly being capable of accurately setting the time service to microsecond level or nanosecond level according to the pre-customization; (5) the invention creates an original time node dequeuing algorithm, can meet the requirement of recording dequeuing of task nodes, obtains first-in first-out and pipelined single-item circulating data, has original flexibility and meets the requirement of changeability of recording tasks; (6) the invention creates an original subscription compensation type system time service method, which can meet the requirements of the synchronization precision and the flexibility of the recording time, the accuracy of the time synchronization and the timeliness of a countdown type recording task; (7) the invention can combine the precise and safe characteristics of NTP and SSH, and can ensure the high safety and precision of internal time information transmission by establishing a message transmission mode which is packaged by an information tunnel and comprises compensation time, thereby being convenient for practical popularization and application.
As described above, the present invention can be preferably realized. It would be obvious to those skilled in the art that the inventive labor is not required to devise different forms of the automatic flow-based definable time task pushing method in accordance with the teachings of the present invention. Variations, modifications, substitutions, integrations and variations of these embodiments may be made without departing from the principle and spirit of the invention, and still fall within the scope of the invention.

Claims (8)

1. A definable time task propelling method based on automatic circulation is characterized by comprising the following steps:
s101, after receiving a newly created recording task, a task server registers a task node timer for a task node of the recording task according to a user-defined task node time length and a user-defined timing step length in the recording task, configures a natural time timer according to the user-defined timing step length, and then synchronously starts the task node timer and the natural time timer;
s102, when finding that a task executor still does not process the recording task when the timing of the task node timer is reached, the task server takes the instant natural time of the natural time timer as a dequeue time node, and then adds the dequeue time node into a dequeue time node list queue;
s103, when the streaming server monitors that a new dequeue time node appears in the dequeue time node list queue without clearance, generating a corresponding task propulsion event, accessing the information server according to a corresponding recorded task, and acquiring the execution content of the corresponding task propulsion event and the receiving address of a task attendee to be reminded;
s104, the circulation server takes the task propulsion event as an event processing thread, adds the event processing thread into an event processing thread pool, and dispatches the execution content of the task propulsion event to a task attention person corresponding to the receiving address for reminding the task attention person according to the early-late sequence of the dequeuing time node corresponding to the task propulsion event;
before the step S101, time synchronization is performed on the task server, the streaming server, and the information server according to the following steps:
s201, the time publishing server periodically sends a first time T to the time subscribing server according to a predefined time publishing periodSDTThe time service issuing message of (1), wherein the time subscription server is a task server, a circulation server or an information server, and the first time T isSDTThe calculation formula of (a) is as follows:
TSDT=T1+tFPSAB+t′COR
in the formula, T1Is the instant local system time t of the time issuing server when sending the first bit code of the time service issuing messageFPSABIs the sending time length, t 'of the time service release message'CORThe time distribution server obtains corrected transmission delay after the previous time service;
s202, after receiving the time service release message, the time subscription server updates the local server time to the first time TSDTAnd feeds back the time release server including the second time TREINThe time service confirmation message of (2), wherein the second time TREINThe calculation formula of (a) is as follows:
TREIN=TSDT+tR+tFSPBA
in the formula, tRResponse delay for time subscription server, tFSPBAConfirming the sending duration of the message for the time service;
s203, after receiving the time service confirmation message, the time release server calculates the corrected transmission delay t after the time service according to the following formulaCOR
tCOR=(TRDT-T1-tFPSAB-tR-tFSPBA)/2
In the formula, TRDTThe time distribution server is the instant local system time when receiving the last bit code of the time service confirmation message;
s204, the time release server updates and stores the corrected transmission delay t obtained after the time service is carried out for the timeCOR
2. The definable time task propelling method based on automatic circulation according to claim 1, wherein after the step S103, the circulation server determines a priority dispatching level of the corresponding task propelling event according to the task propelling event executing content, and after the step of adding the task propelling event as an event processing thread into the event processing thread pool, further comprising the following steps:
according to the priority dispatching level and the dequeuing time node of the task propulsion event, all the event processing threads which are not dispatched in the event processing thread pool are sequenced as follows by an event level weight thread pool: and arranging the event processing thread with the highest priority dispatching level at the forefront of the thread queue, and arranging the event processing thread with the earliest dequeuing time node at the forefront of the thread queue with the same priority dispatching level.
3. The definable time task pushing method based on automatic flow according to claim 2, wherein the event level weight thread pool communicates with the event processing thread pool through a pipe thread.
4. The definable time task propelling method based on automatic circulation according to claim 1, characterized in that, before the step S201, the method further comprises the following steps:
s200, the time publishing server periodically accesses the NTP time server according to a predefined time updating period to acquire NTP time, and then local system time is updated to the NTP time.
5. The definable time task propelling method based on automatic flow according to claim 1, wherein the time publishing server and the time subscribing server transmit the time service publishing message and the time service confirming message through an SSH information tunnel established between each two time publishing servers and the time subscription servers.
6. The definable time-task-advancing method based on automatic flow according to claim 1, characterized in that the time precision of the first time TSDT is predefinably set to nanosecond, microsecond, millisecond or second.
7. The definable time task advancing method based on automatic flow according to claim 1, wherein the task node timer is a counter-clockwise countdown timer, and the natural time timer is a clockwise timer.
8. The definable time-task-advancing method based on automatic flow according to claim 1, characterized in that the time unit of the custom timing step is nanosecond, microsecond, millisecond, second, minute or hour.
CN201710737193.2A 2017-08-24 2017-08-24 Definable time task propelling method based on automatic circulation Active CN107688926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710737193.2A CN107688926B (en) 2017-08-24 2017-08-24 Definable time task propelling method based on automatic circulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710737193.2A CN107688926B (en) 2017-08-24 2017-08-24 Definable time task propelling method based on automatic circulation

Publications (2)

Publication Number Publication Date
CN107688926A CN107688926A (en) 2018-02-13
CN107688926B true CN107688926B (en) 2021-06-08

Family

ID=61154993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710737193.2A Active CN107688926B (en) 2017-08-24 2017-08-24 Definable time task propelling method based on automatic circulation

Country Status (1)

Country Link
CN (1) CN107688926B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306657A (en) * 2020-10-30 2021-02-02 上海二三四五网络科技有限公司 Control method and device for realizing linear countdown of multiple events based on priority sequencing
CN113238735A (en) * 2021-05-27 2021-08-10 欧冶云商股份有限公司 Project delivery task creation method, platform and system capable of defining flow

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557255A (en) * 2009-05-11 2009-10-14 华为技术有限公司 Time synchronization method, system thereof and time synchronous communication equipment
CN102722800A (en) * 2012-07-05 2012-10-10 甘肃银光聚银化工有限公司 Event routing management system based on client terminal
CN103457714A (en) * 2013-08-19 2013-12-18 国家电网公司 Method and system for synchronizing server time
CN105787697A (en) * 2016-02-02 2016-07-20 成都市泰牛科技股份有限公司 System and method for alerting and supervising employee's each work node
CN107070772A (en) * 2016-02-29 2017-08-18 艾威梯科技(北京)有限公司 The based reminding method of mission bit stream in a kind of collaborative work based on instant messaging

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557255A (en) * 2009-05-11 2009-10-14 华为技术有限公司 Time synchronization method, system thereof and time synchronous communication equipment
CN102722800A (en) * 2012-07-05 2012-10-10 甘肃银光聚银化工有限公司 Event routing management system based on client terminal
CN103457714A (en) * 2013-08-19 2013-12-18 国家电网公司 Method and system for synchronizing server time
CN105787697A (en) * 2016-02-02 2016-07-20 成都市泰牛科技股份有限公司 System and method for alerting and supervising employee's each work node
CN107070772A (en) * 2016-02-29 2017-08-18 艾威梯科技(北京)有限公司 The based reminding method of mission bit stream in a kind of collaborative work based on instant messaging

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
iteye_5291.任务提醒功能的实现.《https://blog.csdn.net/iteye_5291/article/details/82334819》.2012, *
任务提醒功能的实现;iteye_5291;《https://blog.csdn.net/iteye_5291/article/details/82334819》;20120524;1-5 *

Also Published As

Publication number Publication date
CN107688926A (en) 2018-02-13

Similar Documents

Publication Publication Date Title
CN104077671B (en) A kind of stored method and system of sync vault
US7792153B2 (en) Sequencing multi-source messages for delivery as partial sets to multiple destinations
CN107688926B (en) Definable time task propelling method based on automatic circulation
CN102546796B (en) Data updating system and method of service server
US20140289428A1 (en) Dynamic Intervals for Synchronizing Data
CN103092959B (en) Task time zone processing method and processing device
CN102868731A (en) Method and device for software online updating and downloading acceleration
CN106453625B (en) Information synchronization method and high availability cluster system
JP2019125916A (en) Master control device and synchronous communication system using the same
US20160147568A1 (en) Method and apparatus for data transfer to the cyclic tasks in a distributed real-time system at the correct time
CN111324046B (en) Method and system for performing cooperative operation on distributed simulation system
CN103401782A (en) MAC (Media Access Control) address synchronizing method and equipment
CA2306013A1 (en) Method for causal ordering in a distributed network
CN109918116A (en) O&M object support method and system
US20150078399A1 (en) Method and Apparatus for Consistent Modification of the Schedules in a Time-Controlled Switch
CN107844369A (en) A kind of method that big data transformation task cutting is realized in task based access control scheduling
CN104202137A (en) IEEE1588 clock synchronization method, system and device based on E1 link
CN114679481A (en) Robot control method and device, storage medium and robot cluster
CN103580887A (en) Clients, updating method and updating system
JP2013251878A (en) Communication device, control device, and program
JP2017228977A (en) Log information creation device, log information creation method, log information creation program, and information processing system
Gross et al. RTP and Leap Seconds
CN102694838A (en) Network system and communication device
CN105162687A (en) WEB-based real-time message push method
US10237594B2 (en) Device control in backup media-broadcast 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210521

Address after: No. 1201, 12 / F, unit 1, building 4, No. 14, Jiuxing Avenue, high tech Zone, Chengdu, Sichuan 610000

Applicant after: Chengdu Controller Network Technology Co.,Ltd.

Address before: No.10, gaoshengqiao Road, Wuhou District, Chengdu, Sichuan 610000

Applicant before: CHENGDU HAIPU TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant