CN110427253A - Robot resource tasks period management-control method and device - Google Patents

Robot resource tasks period management-control method and device Download PDF

Info

Publication number
CN110427253A
CN110427253A CN201910598875.9A CN201910598875A CN110427253A CN 110427253 A CN110427253 A CN 110427253A CN 201910598875 A CN201910598875 A CN 201910598875A CN 110427253 A CN110427253 A CN 110427253A
Authority
CN
China
Prior art keywords
pending task
task
robot resource
robot
resource
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
CN201910598875.9A
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.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech 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 China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN201910598875.9A priority Critical patent/CN110427253A/en
Publication of CN110427253A publication Critical patent/CN110427253A/en
Priority to PCT/CN2020/097592 priority patent/WO2021000758A1/en
Priority to TW109122028A priority patent/TW202102952A/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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • 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/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • 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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Numerical Control (AREA)
  • Manipulator (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of robot resource tasks period management-control method and devices, this method comprises: obtaining pending task, and the pending task are placed in the real-time queue of storage system REDIS;When the pending task is located at mission thread pond, the pending task is handled according to the result for checking whether available free robot resource using Lua script.The present invention provides a kind of methods using QUARTZ and REDIS management role life cycle, and task is accurately controlled, and ensure the integrality, clarity and feasibility of task Life Cycle Process.

Description

Robot resource tasks period management-control method and device
Technical field
The present invention relates to artificial intelligence fields, especially robot process automation technology, and in particular to a kind of robot Resource tasks period management-control method and device.
Background technique
RPA (Robotic Process Automation, robot process automation) i.e. automated software tool, it can The existing application of enterprise is used and understood by user interface, rule-based routine operation is automated, substitution people is counting The office workflow for having rule high with repeatability is executed before calculation machine.
The life cycle of task is required to undergo following process: initialization (INITIALIZATION) waits operation (WAITING), (PROCESSING), successfully/failure (SUCCESS/FAILURE), suspension (INTERRUPT) in operation.If Only one task owner can execute task, and the life cycle of that task will become simply, as shown in Figure 1.For machine In the not unique situation of device people resource (RPA) task owner, (such as system user, thread pool and timing script etc.), task Owner is possible to issue the signal of suspension of task at any time.In such cases the life cycle of task will become complex and It is unstable.
Summary of the invention
For the problems of the prior art, the present invention can establish a kind of controllable resource tasks period control side, robot Method, this method can provide the safety of a set of robot resource tasks life cycle, accurate management-control method, to ensure machine The integrality of people's resource tasks Life Cycle Process.
In order to solve the above technical problems, the present invention the following technical schemes are provided:
In a first aspect, the present invention provides a kind of robot resource tasks period management-control method, comprising:
Pending task is obtained, and pending task is placed in the real-time queue of storage system REDIS;
When pending task is located at mission thread pond, check whether that available free robot provides according to using Lua script The result in source handles pending task.
In one embodiment, before pending task is placed in the real-time queue of storage system REDIS, further includes:
Pending task is placed in the timing queue of open source job scheduling frame QUARTZ;
The corresponding pending task of preset time point is transferred in real-time queue.
In one embodiment, according to checking whether the result of available free robot resource to pending using Lua script Business is handled, comprising:
If not idle robot resource, pending task is placed in the delay queue SortedSet of REDIS.
In one embodiment, robot resource tasks period management-control method further include:
Judge whether the pending task in SortedSet has stopped default waiting time;
If so, pending task is transferred in real-time queue using Lua script.
In one embodiment, robot resource tasks period management-control method further include: utilize the periodic duty period of QUARTZ Property the pending task of refreshing locating for queue.
In one embodiment, robot resource tasks period management-control method further include:
At that time after the completion of pending task processing, the INCRBYkeyincremet order of counter RedisConter is utilized Increase the number of idle robot resource.
In one embodiment, robot resource tasks period management-control method further include:
Pending task was distributed to idle robot resource at that time, utilized RedisConter's DECRBYkeydecrement order reduces the number of idle robot resource.
Second aspect, the present invention provide a kind of robot resource tasks period control device, which includes:
Pending task acquiring unit is placed in storage system REDIS for obtaining pending task, and by pending task Real-time queue in;
Robot resource inspection unit, for according to the knot for checking whether available free robot resource using Lua script Fruit handles pending task.
In one embodiment, robot resource tasks period control device further include:
Pending task setting unit, for pending task to be placed in the timing team of open source job scheduling frame QUARTZ In column;
Pending task buanch unit, for the corresponding pending task of preset time point to be transferred in real-time queue.
In one embodiment, robot resource tasks period control device further include: robot resource inspection unit includes:
Pending task setup module, for being placed in pending task in the delay queue SortedSet of REDIS.
In one embodiment, robot resource tasks period control device further include:
SortedSet judging unit, when whether the pending task for judging in SortedSet has stopped default waiting It is long;
Lua script buanch unit, for pending task to be transferred in real-time queue using Lua script.
In one embodiment, robot resource tasks period control device further include:
Pending task refresh unit, periodically refreshes locating for pending task for the periodic duty using QUARTZ Queue.
In one embodiment, robot resource tasks period control device further include:
Robot resource adding unit, for being increased using the INCRBYkeyincremet order of counter RedisConter Add the number of idle robot resource.
In one embodiment, robot resource tasks period control device further include:
Robot resource reduces unit, reduces the free time using the DECRBYkeydecrement order of RedisConter The number of robot resource.
The third aspect, the present invention provides a kind of electronic equipment, including memory, processor and storage are on a memory and can The computer program run on a processor, processor realize the step of robot resource tasks period management-control method when executing program Suddenly.
Fourth aspect, the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, the calculating The step of robot resource tasks period management-control method is realized when machine program is executed by processor.
As can be seen from the above description, the present invention provides robot resource tasks period management-control method and device, pass through Lua script It checks whether available free robot resource, and pending task is put into real-time queue according to inspection result, in addition, this hair Bright also proposed using the counter RedisConter with atomic operation increases and decreases or reduces idle robot resource Number, the method that the present invention uses QUARTZ and REDIS management role life cycle, controls task accurately, And ensure the integrality, clarity and feasibility of task Life Cycle Process, and by using REDIS control robot money The duty cycle in source, the repetition for preventing resource occupy, repeat the problems such as discharging, and allow robot resource is safe to be made With.To sum up, the present invention provides one kind can cancel the complete cancellation strategy that pending task must possess, specific definition Cancel the implementation of operation, time and cancel content, both how the task is cancelled in (How) request, and when is task (When) it checks whether and has requested that cancellation, and which (What) operation should be executed in echo canceling request, thus The problem of shared data result can be made to be in inconsistent state when avoiding cancellation task.
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 be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is the life cycle schematic diagram of task in background technique of the invention;
Fig. 2 is the flow diagram one of the robot resource tasks period management-control method in the embodiment of the present invention;
Fig. 3 is the embodiment of the present invention Integral Thought flow diagram;
Fig. 4 is the flow diagram two of the robot resource tasks period management-control method in the embodiment of the present invention;
Fig. 5 is the flow diagram three of the robot resource tasks period management-control method in the embodiment of the present invention;
Fig. 6 is the flow diagram four of the robot resource tasks period management-control method in the embodiment of the present invention;
Fig. 7 is the flow diagram five of the robot resource tasks period management-control method in the embodiment of the present invention;
Fig. 8 is the flow diagram six of the robot resource tasks period management-control method in the embodiment of the present invention;
Fig. 9 is the flow diagram of robot resource tasks period management-control method in specific application example of the invention;
Figure 10 is the structural schematic diagram of the robot resource tasks period control device in the embodiment of the present invention;
Figure 11 is the structural schematic diagram of the electronic equipment in the embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The thread of Java contains a set of complete interrupt strategy.This set interrupt strategy provides a kind of coordination mechanism, energy Enough make the work at present of Thread Termination another thread.Correct understanding to interrupt operation is: it can't veritably in Break a thread being currently running, and only issues interrupt requests, then interrupts oneself at the time of next suitable by thread, These moment also referred to as cancel point.Based on this, the embodiment of the present invention provides a kind of robot resource tasks period control side The specific embodiment of method, referring to fig. 2 and Fig. 3, this method specifically include following content:
Step 100: obtaining pending task, and pending task is placed in the real-time queue of storage system REDIS.
It is understood that the band execution task in step 100 is the pending task of robot, which is sent out by client It rises, is executed by robot.
REDIS in step 100 is a key-value storage system, it supports the value type of storage very much, packet Include string (character string), list (chained list), set (set), zset (sorted set-- ordered set) and hash (Hash class Type).These data types all support push/pop, add/remove and take intersection union and difference set and richer operation, and And these operations are all atomicities.On this basis, REDIS supports the sequence of various different modes.With memcached mono- Sample, for guaranteed efficiency, data are all to cache in memory.REDIS can periodically the data of update be written disk or Modification is operated the additional record file of write-in, and it is synchronous to realize master-slave (principal and subordinate) on this basis.In addition, REDIS is a high performance key-value database, it provides Java, C/C++, C#, PHP, JavaScript, Perl, The clients such as Object-C, Python, Ruby, Erlang.
Step 200: available free according to being checked whether using Lua script when pending task is located at mission thread pond The result of robot resource handles pending task.
By the Lua interpreter built in REDIS, EVAL order can be used, evaluation is carried out to Lua script.Redis is used Single Lua interpreter goes to run all scripts, and Redis guarantees that script can be executed in a manner of atomicity (atomic): when When some script is currently running, other scripts are not had or Redis order is performed.Above-mentioned atomicity refers to atomic operation (atomic operation) refers to the operation that will not be interrupted by thread scheduling mechanism;This operation is once just transporting always For row to end, centre does not have any switching (being switched to another thread).
It is understood that can interrupt the task before some when there is the higher task of priority to occur, need at this time As soon as creating a schedule of tasks in the database (as long as the request of suspension of task is whenever received, toward in schedule of tasks A data is inserted into face).It should be noted that can't really interrupt being currently running for a task at this time, and only issue Then interrupt requests interrupt oneself at the time of next suitable by task, these moment also referred to as cancel point.Table 1 is shown Cancellation point and each cancellation point corresponding movement in task life-cycle processes.
1 task of table cancels point table
Cancel point (When) It acts (What)
Quartz timed task Directly end task
Real-time queue consuming thread Directly end task
Task execution pond Directly end task
Quartz periodic duty Resource is discharged, is ended task
As can be seen from the above description, the present invention provides robot resource tasks period management-control method, it is by Lua script inspection No available free robot resource, and pending task is put into real-time queue according to inspection result, in addition, the present invention also mentions Go out using the counter RedisConter with atomic operation and increased and decreased or reduce the number of idle robot resource, The method that the present invention uses QUARTZ and REDIS management role life cycle, controls task accurately, and really Integrality, clarity and the feasibility of guarantor's task Life Cycle Process, and appointing by using REDIS control robot resource It is engaged in the period, the repetition for preventing resource occupies, repeats the problems such as discharging, and allows robot resource is safe to be used.To sum up, The present invention provides one kind can cancel the complete cancellation strategy that pending task must possess, and has determined to cancel operation in detail Implementation, the time and cancel content, both how (How) request cancel the task, when (When) is checked whether task It has requested that cancellation, and which (What) operation should be executed in echo canceling request, so as to avoid task is cancelled When the problem of shared data result can be made to be in inconsistent state.
In one embodiment, referring to fig. 4, before step 100, robot resource tasks period management-control method further include:
Step 80: the corresponding pending task of preset time point is transferred in real-time queue.
Step 80 when implementing, specifically: the time (is specified by user) at the appointed time by QUARTZ automatic starting The task, and the task is put into the LIST (real-time queue) of REDIS, the state of task is etc. pending at this time (WAITING)。
Step 90: pending task being placed in the timing queue of open source job scheduling frame QUARTZ.
QUARTZ is the open source job scheduling frame write by java in step 90.The core of QUARTZ is scheduler.It adjusts Degree device is responsible for managing QUARTZ application runtime environment.To ensure that scalability, QUARTZ use the framework based on multithreading. When starting, a set of worker thread of framework initialization, this set thread is scheduled device for executing scheduled operation.
Step 90 in the specific implementation, is accomplished by the following way: the real execution time gone out on missions is calculated, this Business is put into QUARTZ, which is a timed task of QUARTZ, and the state of task is initial at this time (INITIALIZATION).It is understood that the execution sequence of step 80 and step 90 is without successive point.
In one embodiment, according to the result pair for checking whether available free robot resource using Lua script in step 200 Pending task is handled, comprising: if pending task, is placed in the delay of REDIS by not idle robot resource In queue SortedSet.
In step 200, available free robot resource is checked whether using Lua script, if so, i.e. task obtains money Source success, then normally processing task, the state of task is in processing (PROCESSING) at this time.If instead no, that is, appointing Business obtains resource failure, then task is put into the SortedSet of REDIS.Here this SortedSet of REDIS Referred to as be delayed queue.
In one embodiment, referring to Fig. 5, robot resource tasks period management-control method further include:
Step 300: judging whether the pending task in SortedSet has stopped default waiting time;If so, utilizing Pending task is transferred in real-time queue by Lua script.
It is understood that in step 300, if it is judged that not stopping for the pending task in SortedSet Default waiting time is stayed, then the band execution task continues waiting in SortedSet delay queue.
In one embodiment, referring to Fig. 6, robot resource tasks period management-control method further include:
Step 400: periodically refreshing queue locating for pending task using the periodic duty of QUARTZ.
The periodic duty that a QUARTZ is set is needed periodically to refresh locating for pending task if realizing step 300 Queue (state), step 400 implement when, specifically: setting one trigger condition (time), arrived the time point, trigger phase The thread execution task answered.
In one embodiment, referring to Fig. 7, robot resource tasks period management-control method further include:
Step 500: at that time after the completion of pending task processing, utilizing counter RedisConter's INCRBYkeyincremet order increases the number of idle robot resource.
In one embodiment, referring to Fig. 8, robot resource tasks period management-control method further include:
Step 600: pending task was distributed to idle robot resource at that time, utilized RedisConter's DECRBYkeydecrement order reduces the number of idle robot resource.
In step 500 and step 600, pretreatment counter (Counter) is the atomicity increment operator of Redis, often When some operation occurs, an INCR order is sent to Redis.The management that resource is carried out using RedisConter, is passed through INCRBYkeyincremet increases resource.So the value of key can first be initialized to 0, then execute INCRBY order again. So the pretreatment of resource can also be carried out directly using INCRBY.Likewise, being subtracted by DECRBYkeydecrement Few resource.
To further explain this programme, the present invention provides the control of robot resource tasks period by taking specific code as an example The specific application example of method, which specifically includes following content, referring to Fig. 9.
S0: pending task is placed in the timing queue of QUARTZ.
It is understood that the state of pending task is original state (INITIALIZATION) at this time.
S1: in preset time point, corresponding pending task is transferred in real-time queue.
It is understood that at this time the state of pending task be etc. pending (WAITING).Start a line of JAVA Journey consumes the task of real-time queue.Here this thread of JAVA is called real-time queue consuming thread.Real-time queue consumption Thread can be sent to task in task execution pond and be handled.Task execution pond is managed by JAVA.
S2: at checking whether the result of available free robot resource to pending task using Lua script Reason.
Specifically: available free robot resource is checked whether using Lua script, if so, i.e. task obtain resource at Function, then normally processing task, the state of task is in processing (PROCESSING) at this time.If instead no, i.e., task obtains Resource is taken to fail, then task is put into the SortedSet of REDIS.The SCORE of the task of the delay queue is to be put into collection The time of conjunction+expection waiting time.In addition, task execution pond, which can distribute a thread, specially handles a pending task, To improve the treatment effeciency of task.
S3: pending task is transferred in real-time queue using Lua script.
Specifically: judging whether the pending task in SortedSet has stopped default waiting time;If so, utilizing Pending task is transferred in real-time queue by Lua script.
Problem needs there are two task is transferred in real-time queue (List) from delay queue thread (SortedSet) Processing:
1. for SortedSet, without providing such a order in REDIS, the order so that client is blocked, until SCORE is less than current time, and available to one task of client is handled.
2. REDIS makees also without such a order is provided so that executing following two in an atomic operation: will First task pop-up in SortedSet, and return to client;The SortedSet element popped up is inserted into List, is made For the head element of List.
Since REDIS 2.6.0 version, by built-in Lua interpreter, can be used EVAL order to Lua script into Row evaluation.REDIS goes to run all scripts using single Lua interpreter, and REDIS guarantees that script can be with atomicity simultaneously (atomic) mode executes: when some script is currently running, not having other scripts or Redis order is performed. Specific embodiment is as follows: DelayedSetToLiveQueue.lua
Localdelayed_task=redis.call (' zrange', ' DELAYED_TASK', 0,0, ' WITHSCORES')
Localunix_time=tonumber (KEYS [1])
Localtask_id=delayed_task [1]
Localdelayed_time=tonumber (delayed_task [2])
If (task_id==nil) or (delayed_time==nil) then
returnnil
else
if(unix_time>delayed_time)then
Localrem_count=redis.call (' zrem', ' DELAYED_TASK', task_id)
returntask_id
else
returnnil
end
end
S4: periodically refresh queue locating for pending task using the periodic duty of QUARTZ.
It is understood that step S5 can cover complete life cycle for all pending tasks.Have following three Kind situation will lead to task and not be run correctly:
1. all worker (robot resource) threads (may execute appointing for higher priority all in busy condition Business).
2. the scheduler of Quartz has hung (may be system failure).
3. the Starting Executing Time of this task is some past time point.It (is configured when may be creation It is wrong).
In 3 kinds of situations above, MisfireInstructions is set, so that still can there is task after system is restored Chance is run.In conjunction with the function of the Quartz Unschedule provided, as long as meeting one of 3 kinds of situations, this Business should be just moved to end:
A task has run succeeded or failure.
B task has arrived at automatic recovery time.
C task is stopped by the external world.
S5: increase idle robot resource using the INCRBYkeyincremet order of counter RedisConter Number.
Specifically: at that time after the completion of pending task processing, utilizing counter RedisConter's INCRBYkeyincremet order increases the number of idle robot resource.The value of key can first be initialized to 0, then again Execute INCRBY order.So the pretreatment of resource can also be carried out directly using INCRBY.
S6: the number of idle robot resource is reduced using the DECRBYkeydecrement order of RedisConter.
Specifically: pending task was distributed to idle robot resource at that time, utilized RedisConter's DECRBYkeydecrement order reduces the number of idle robot resource.
In S6 into S7, occupying the included order of resource RedisCounter is all atomicity, for occupying resource, is Use the resource of safety, system only in the case where robot resource is sufficient, just allow occupancy resource.If resource not In the case where foot, client still is possible to occupy to resource, may bring the consequence of whole system avalanche.
For using Lua foot as " first check and execute afterwards " (check-then-actoperations) this composition operation Originally it constructed the composition operation: when inadequate resource, directly returning to -1;When resource abundance, reduce by a resource Quantity, and return to the quantity (be greater than 0) of Current resource.Specific embodiment is as follows:
DelayedSetToLiveQueue.lua
1.localstorage_value=redis.call (' get', KEYS [1])
2.if (storage_value==false) or (storage_value==" 0 ") then
3.return-1
4.else
5.localremain_storage_value=redis.call (' decr', KEYS [1])
6.returnremain_storage_value
7.end
The process of release resource is directly realized by INCRBYkey1.
As can be seen from the above description, the present invention provides robot resource tasks period management-control method, it is by Lua script inspection No available free robot resource, and pending task is put into real-time queue according to inspection result, in addition, the present invention also mentions Go out using the counter RedisConter with atomic operation and increased and decreased or reduce the number of idle robot resource, The method that the present invention uses QUARTZ and REDIS management role life cycle, controls task accurately, and really Integrality, clarity and the feasibility of guarantor's task Life Cycle Process, and appointing by using REDIS control robot resource It is engaged in the period, the repetition for preventing resource occupies, repeats the problems such as discharging, and allows robot resource is safe to be used.To sum up, The present invention provides one kind can cancel the complete cancellation strategy that pending task must possess, and has determined to cancel operation in detail Implementation, the time and cancel content, both how (How) request cancel the task, when (When) is checked whether task It has requested that cancellation, and which (What) operation should be executed in echo canceling request, so as to avoid task is cancelled When can make shared data.
It based on the same inventive concept, can be with the embodiment of the present application also provides robot resource tasks period control device For realizing method described in above-described embodiment, as described in the following examples.Since the robot resource tasks period is managed The principle that device solves the problems, such as is similar to robot resource tasks period management-control method, therefore the robot resource tasks period is managed The implementation of device may refer to the implementation of robot resource tasks period management-control method, and overlaps will not be repeated.It is following to be used , the combination of the software and/or hardware of predetermined function may be implemented in term " unit " or " module ".Although following embodiment institute The system of description preferably realized with software, but the combined realization of hardware or software and hardware be also may and quilt Conception.
The embodiment of the present invention provides a kind of robot resource that can be realized robot resource tasks period management-control method The specific embodiment of duty cycle control device, referring to Figure 10, robot resource tasks period control device specifically include as Lower content:
Pending task acquiring unit 10 is placed in storage system for obtaining pending task, and by the pending task Pore structure exponent calculation unit 20 in the real-time queue of system REDIS, for calculating hole knot using equivalent hole cross-section index Structure index.
Robot resource inspection unit 20, for according to checking whether available free robot resource using Lua script As a result the pending task is handled.
In one embodiment, robot resource tasks period control device further include:
Pending task setting unit, for pending task to be placed in the timing team of open source job scheduling frame QUARTZ In column;
Pending task buanch unit, for the corresponding pending task of preset time point to be transferred in real-time queue.
In one embodiment, robot resource tasks period control device further include: robot resource inspection unit includes:
Pending task setup module, for being placed in pending task in the delay queue SortedSet of REDIS.
In one embodiment, robot resource tasks period control device further include:
SortedSet judging unit, when whether the pending task for judging in SortedSet has stopped default waiting It is long;
Lua script buanch unit, for pending task to be transferred in real-time queue using Lua script.
In one embodiment, robot resource tasks period control device further include:
Pending task refresh unit, periodically refreshes locating for pending task for the periodic duty using QUARTZ Queue.
In one embodiment, robot resource tasks period control device further include:
Robot resource adding unit, for being increased using the INCRBYkeyincremet order of counter RedisConter Add the number of idle robot resource.
In one embodiment, robot resource tasks period control device further include:
Robot resource reduces unit, reduces the free time using the DECRBYkeydecrement order of RedisConter The number of robot resource.
As can be seen from the above description, the present invention provides robot resource tasks period control device, it is by Lua script inspection No available free robot resource, and pending task is put into real-time queue according to inspection result, in addition, the present invention also mentions Go out using the counter RedisConter with atomic operation and increased and decreased or reduce the number of idle robot resource, The method that the present invention uses QUARTZ and REDIS management role life cycle, controls task accurately, and really Integrality, clarity and the feasibility of guarantor's task Life Cycle Process, and appointing by using REDIS control robot resource It is engaged in the period, the repetition for preventing resource occupies, repeats the problems such as discharging, and allows robot resource is safe to be used.To sum up, The present invention provides one kind can cancel the complete cancellation strategy that pending task must possess, and has determined to cancel operation in detail Implementation, the time and cancel content, both how (How) request cancel the task, when (When) is checked whether task It has requested that cancellation, and which (What) operation should be executed in echo canceling request, so as to avoid task is cancelled When the problem of shared data result can be made to be in inconsistent state.
Embodiments herein also provides the robot resource tasks period management-control method that can be realized in above-described embodiment The specific embodiment of a kind of electronic equipment of middle Overall Steps, referring to Figure 11, electronic equipment specifically includes following content:
Processor (processor) 1201, memory (memory) 1202, communication interface (Communications Interface) 1203 and bus 1204;
Wherein, processor 1201, memory 1202, communication interface 1203 complete mutual communication by bus 1204; Communication interface 1203 passes for realizing the information between server-side devices, the acquisition relevant devices such as equipment and ustomer premises access equipment It is defeated.
Processor 1201 is used to call the computer program in memory 1202, and processor is realized when executing computer program The Overall Steps in robot resource tasks period management-control method in above-described embodiment, for example, processor executes computer journey Following step is realized when sequence:
Step 100: obtaining pending task, and pending task is placed in the real-time queue of storage system REDIS.
Step 200: available free according to being checked whether using Lua script when pending task is located at mission thread pond The result of robot resource handles pending task.
As can be seen from the above description, the electronic equipment in the embodiment of the present application, available free machine is checked whether by Lua script Device people's resource, and pending task is put into real-time queue according to inspection result, in addition, the invention also provides utilize to have The counter RedisConter of atomic operation increases and decreases or reduces the number of idle robot resource, and the present invention uses The method of QUARTZ and REDIS management role life cycle, controls task accurately, and ensures task life Integrality, clarity and the feasibility of cyclic flow, and by using the duty cycle of REDIS control robot resource, Du The repetition of exhausted resource occupies, repeats the problems such as discharging, and allows robot resource is safe to be used.To sum up, the present invention mentions A kind of realization side that can cancel the complete cancellation strategy that pending task must possess, determine to cancel operation in detail is supplied Formula, time and cancel content, both how the task was cancelled in (How) request, and when (When) is checked whether task has requested that Cancel, and should execute which (What) operation in echo canceling request, can make altogether when task so as to avoid cancelling The data result enjoyed is in the problem of inconsistent state.
Embodiments herein also provides the robot resource tasks period management-control method that can be realized in above-described embodiment A kind of computer readable storage medium of middle Overall Steps is stored with computer program on computer readable storage medium, the meter Calculation machine program realizes the Overall Steps of the robot resource tasks period management-control method in above-described embodiment when being executed by processor, For example, processor realizes following step when executing computer program:
Step 100: obtaining pending task, and pending task is placed in the real-time queue of storage system REDIS.
Step 200: available free according to being checked whether using Lua script when pending task is located at mission thread pond The result of robot resource handles pending task.
As can be seen from the above description, the computer readable storage medium in the embodiment of the present application, is checked whether by Lua script Available free robot resource, and pending task is put into real-time queue according to inspection result, in addition, the present invention also proposes Increase and decrease or reduce the number of idle robot resource using the counter RedisConter with atomic operation, The method that invention uses QUARTZ and REDIS management role life cycle, controls task accurately, and ensure Integrality, clarity and the feasibility of task Life Cycle Process, and by using the task of REDIS control robot resource Period, the repetition for preventing resource occupy, repeat the problems such as discharging, and allow robot resource is safe to be used.To sum up, originally Invention, which provides one kind, can cancel the complete cancellation strategy that pending task must possess, and determine to cancel operation in detail Implementation, time and cancellation content, both how the task is cancelled in (How) request, and when (When) is checked whether task Cancellation is requested, and which (What) operation should be executed in echo canceling request, when so as to avoid cancelling task The problem of shared data result can be made to be in inconsistent state.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for hardware+ For program class embodiment, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to side The part of method embodiment illustrates.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can With or may be advantageous.
Although this application provides the method operating procedure as described in embodiment or flow chart, based on conventional or noninvasive The labour for the property made may include more or less operating procedure.The step of enumerating in embodiment sequence is only numerous steps One of execution sequence mode, does not represent and unique executes sequence.It, can when device or client production in practice executes To execute or parallel execute (such as at parallel processor or multithreading according to embodiment or method shown in the drawings sequence The environment of reason).
Although this specification embodiment provides the method operating procedure as described in embodiment or flow chart, based on conventional It may include either more or less operating procedure without creative means.The step of being enumerated in embodiment sequence be only One of numerous step execution sequence mode does not represent and unique executes sequence.Device or end product in practice is held When row, can be executed according to embodiment or method shown in the drawings sequence or it is parallel execute (such as parallel processor or The environment of multiple threads, even distributed data processing environment).The terms "include", "comprise" or its any other change Body is intended to non-exclusive inclusion, so that process, method, product or equipment including a series of elements are not only wrapped Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, product Or the element that equipment is intrinsic.In the absence of more restrictions, being not precluded is including process, the side of the element There is also other identical or equivalent elements in method, product or equipment.
For convenience of description, it is divided into various modules when description apparatus above with function to describe respectively.Certainly, implementing this The function of each module can be realized in the same or multiple software and or hardware when specification embodiment, it can also be by reality Show the module of same function by the combination realization etc. of multiple submodule or subelement.Installation practice described above is only Schematically, for example, the division of the unit, only a kind of logical function partition, can there is other draw in actual implementation The mode of dividing, such as multiple units or components can be combined or can be integrated into another system, or some features can be ignored, Or it does not execute.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be by one The indirect coupling or communication connection of a little interfaces, device or unit can be electrical property, mechanical or other forms.
It is also known in the art that other than realizing controller in a manner of pure computer readable program code, it is complete Entirely can by by method and step carry out programming in logic come so that controller with logic gate, switch, specific integrated circuit, programmable Logic controller realizes identical function with the form for being embedded in microcontroller etc..Therefore this controller is considered one kind Hardware component, and the structure that the device for realizing various functions that its inside includes can also be considered as in hardware component.Or Person even, can will be considered as realizing the device of various functions either the software module of implementation method can be hardware again Structure in component.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or Any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, computer Readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It will be understood by those skilled in the art that the embodiment of this specification can provide as the production of method, system or computer program Product.Therefore, in terms of this specification embodiment can be used complete hardware embodiment, complete software embodiment or combine software and hardware Embodiment form.Moreover, it wherein includes computer available programs that this specification embodiment, which can be used in one or more, Implement in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of code The form of computer program product.
This specification embodiment can describe in the general context of computer-executable instructions executed by a computer, Such as program module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, journey Sequence, object, component, data structure etc..This specification embodiment can also be practiced in a distributed computing environment, in these points Cloth calculates in environment, by executing task by the connected remote processing devices of communication network.In distributed computing ring In border, program module can be located in the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", The description of " specific example " or " some examples " etc. means specific features described in conjunction with this embodiment or example, structure, material Or feature is contained at least one embodiment or example of this specification embodiment.In the present specification, to above-mentioned term Schematic representation be necessarily directed to identical embodiment or example.Moreover, description specific features, structure, material or Person's feature may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, in not conflicting feelings Under condition, those skilled in the art by different embodiments or examples described in this specification and different embodiment or can show The feature of example is combined.
The foregoing is merely the embodiments of this specification embodiment, are not limited to this specification embodiment.It is right For those skilled in the art, this specification embodiment can have various modifications and variations.It is all in this specification embodiment Any modification, equivalent replacement, improvement and so within spirit and principle, the right that should be included in this specification embodiment are wanted Within the scope of asking.

Claims (16)

1. a kind of robot resource tasks period management-control method characterized by comprising
Pending task is obtained, and the pending task is placed in the real-time queue of storage system REDIS;
When the pending task is located at mission thread pond, check whether that available free robot provides according to using Lua script The result in source handles the pending task.
2. robot resource tasks period management-control method as described in claim 1, which is characterized in that by described pending Before business is placed in the real-time queue of storage system REDIS, further includes:
The pending task is placed in the timing queue of open source job scheduling frame QUARTZ;
The corresponding pending task of preset time point is transferred in the real-time queue.
3. robot resource tasks period management-control method as described in claim 1, which is characterized in that it is described according to utilize Lua Script checks whether that the result of available free robot resource handles the pending task, comprising:
If the pending task, is placed in the delay queue SortedSet of the REDIS by not idle robot resource In.
4. robot resource tasks period management-control method as claimed in claim 3, which is characterized in that further include:
Judge whether the pending task in SortedSet has stopped default waiting time;
If so, the pending task is transferred in the real-time queue using the Lua script.
5. robot resource tasks period management-control method as claimed in claim 2, which is characterized in that further include: described in utilization The periodic duty of QUARTZ periodically refreshes queue locating for pending task.
6. robot resource tasks period management-control method as described in claim 1, which is characterized in that further include:
After the completion of the pending task processing described at that time, the INCRBYkeyincremet order of counter RedisConter is utilized Increase the number of idle robot resource.
7. robot resource tasks period management-control method as claimed in claim 6, which is characterized in that further include:
The pending task described at that time is distributed to idle robot resource, utilizes the RedisConter's DECRBYkeydecrement order reduces the number of idle robot resource.
8. a kind of robot resource tasks period control device characterized by comprising
Pending task acquiring unit is placed in storage system REDIS for obtaining pending task, and by the pending task Real-time queue in;
Robot resource inspection unit, for according to the result pair for checking whether available free robot resource using Lua script The pending task is handled.
9. robot resource tasks period control device as claimed in claim 8, which is characterized in that further include:
Pending task setting unit, for the pending task to be placed in the timing team of open source job scheduling frame QUARTZ In column;
Pending task buanch unit, for the corresponding pending task of preset time point to be transferred in the real-time queue.
10. robot resource tasks period control device as claimed in claim 8, which is characterized in that further include: the machine People's resource inspection unit includes:
Pending task setup module, for the pending task to be placed in the delay queue SortedSet of the REDIS In.
11. robot resource tasks period control device as claimed in claim 8, which is characterized in that further include:
Whether SortedSet judging unit, the pending task for judging in SortedSet have stopped default waiting time;
Lua script buanch unit, for the pending task to be transferred in the real-time queue using the Lua script.
12. robot resource tasks period control device as claimed in claim 9, which is characterized in that further include:
Pending task refresh unit, periodically refreshes locating for pending task for the periodic duty using the QUARTZ Queue.
13. robot resource tasks period control device as claimed in claim 8, which is characterized in that further include:
Robot resource adding unit increases empty for the INCRBYkeyincremet order using counter RedisConter The number of not busy robot resource.
14. robot resource tasks period control device as claimed in claim 13, which is characterized in that further include:
Robot resource reduces unit, reduces the free time using the DECRBYkeydecrement order of the RedisConter The number of robot resource.
15. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor realizes any one of claim 1 to 7 robot money when executing described program The step of originating task period management-control method.
16. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The step of any one of claim 1 to the 7 robot resource tasks period management-control method is realized when processor executes.
CN201910598875.9A 2019-07-04 2019-07-04 Robot resource tasks period management-control method and device Pending CN110427253A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201910598875.9A CN110427253A (en) 2019-07-04 2019-07-04 Robot resource tasks period management-control method and device
PCT/CN2020/097592 WO2021000758A1 (en) 2019-07-04 2020-06-23 Robotic resource task cycle management and control method and apparatus
TW109122028A TW202102952A (en) 2019-07-04 2020-06-30 Robotic resource task cycle management and control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910598875.9A CN110427253A (en) 2019-07-04 2019-07-04 Robot resource tasks period management-control method and device

Publications (1)

Publication Number Publication Date
CN110427253A true CN110427253A (en) 2019-11-08

Family

ID=68408938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910598875.9A Pending CN110427253A (en) 2019-07-04 2019-07-04 Robot resource tasks period management-control method and device

Country Status (3)

Country Link
CN (1) CN110427253A (en)
TW (1) TW202102952A (en)
WO (1) WO2021000758A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045804A (en) * 2019-11-26 2020-04-21 泰康保险集团股份有限公司 Task allocation method, device, medium and electronic equipment
CN111098311A (en) * 2019-12-27 2020-05-05 上海智殷自动化科技有限公司 Method for improving working beat of robot
CN111459163A (en) * 2020-04-07 2020-07-28 三一汽车制造有限公司 Control method and control system for cooperative work of unmanned road roller group
CN111597018A (en) * 2020-04-21 2020-08-28 清华大学 Robot job scheduling method and device
WO2021000758A1 (en) * 2019-07-04 2021-01-07 中国建设银行股份有限公司 Robotic resource task cycle management and control method and apparatus
CN112667385A (en) * 2021-01-15 2021-04-16 北京金和网络股份有限公司 Cloud service system, task execution method and device thereof, and server
CN113050574A (en) * 2021-03-26 2021-06-29 北京云迹科技有限公司 Robot scheduling method and device
CN113139081A (en) * 2021-04-27 2021-07-20 中山亿联智能科技有限公司 Method for reporting and reading user online playing information with high efficiency and low delay

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902589A (en) * 2012-08-31 2013-01-30 浪潮电子信息产业股份有限公司 Method for managing and scheduling cluster MIS (Many Integrated Core) job
WO2013117225A1 (en) * 2012-02-09 2013-08-15 Telefonaktiebolaget L M Ericsson (Publ) Distributed mechanism for minimizing resource consumption
CN104935658A (en) * 2015-06-17 2015-09-23 交通银行股份有限公司 Bank task allocation method and device
CN105718315A (en) * 2016-02-17 2016-06-29 中国农业银行股份有限公司 Task processing method and server
CN107168779A (en) * 2017-03-31 2017-09-15 咪咕互动娱乐有限公司 A kind of task management method and system
CN108701285A (en) * 2017-08-23 2018-10-23 深圳蓝胖子机器人有限公司 Robot dispatching method, server, electronic equipment and readable storage medium storing program for executing
CN109656690A (en) * 2017-10-11 2019-04-19 阿里巴巴集团控股有限公司 Scheduling system, method and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10089307B2 (en) * 2014-12-31 2018-10-02 International Business Machines Corporation Scalable distributed data store
CN104754052A (en) * 2015-04-01 2015-07-01 贵州电网公司信息通信分公司 Message pushing method based on Websocket
CN108762900A (en) * 2018-05-21 2018-11-06 平安科技(深圳)有限公司 High frequency method for scheduling task, system, computer equipment and storage medium
CN108958948A (en) * 2018-06-19 2018-12-07 北京云枢网络科技有限公司 A kind of timer event processing method, database and timer
CN108829504A (en) * 2018-06-28 2018-11-16 泰康保险集团股份有限公司 A kind of method for scheduling task, device, medium and electronic equipment
CN110427253A (en) * 2019-07-04 2019-11-08 中国建设银行股份有限公司 Robot resource tasks period management-control method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013117225A1 (en) * 2012-02-09 2013-08-15 Telefonaktiebolaget L M Ericsson (Publ) Distributed mechanism for minimizing resource consumption
CN102902589A (en) * 2012-08-31 2013-01-30 浪潮电子信息产业股份有限公司 Method for managing and scheduling cluster MIS (Many Integrated Core) job
CN104935658A (en) * 2015-06-17 2015-09-23 交通银行股份有限公司 Bank task allocation method and device
CN105718315A (en) * 2016-02-17 2016-06-29 中国农业银行股份有限公司 Task processing method and server
CN107168779A (en) * 2017-03-31 2017-09-15 咪咕互动娱乐有限公司 A kind of task management method and system
CN108701285A (en) * 2017-08-23 2018-10-23 深圳蓝胖子机器人有限公司 Robot dispatching method, server, electronic equipment and readable storage medium storing program for executing
CN109656690A (en) * 2017-10-11 2019-04-19 阿里巴巴集团控股有限公司 Scheduling system, method and storage medium

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021000758A1 (en) * 2019-07-04 2021-01-07 中国建设银行股份有限公司 Robotic resource task cycle management and control method and apparatus
CN111045804A (en) * 2019-11-26 2020-04-21 泰康保险集团股份有限公司 Task allocation method, device, medium and electronic equipment
CN111045804B (en) * 2019-11-26 2024-03-19 泰康保险集团股份有限公司 Task allocation method, device, medium and electronic equipment
CN111098311A (en) * 2019-12-27 2020-05-05 上海智殷自动化科技有限公司 Method for improving working beat of robot
CN111098311B (en) * 2019-12-27 2023-08-22 上海智殷自动化科技有限公司 Method for improving working beat of robot
CN111459163A (en) * 2020-04-07 2020-07-28 三一汽车制造有限公司 Control method and control system for cooperative work of unmanned road roller group
CN111597018A (en) * 2020-04-21 2020-08-28 清华大学 Robot job scheduling method and device
CN112667385A (en) * 2021-01-15 2021-04-16 北京金和网络股份有限公司 Cloud service system, task execution method and device thereof, and server
CN113050574A (en) * 2021-03-26 2021-06-29 北京云迹科技有限公司 Robot scheduling method and device
CN113050574B (en) * 2021-03-26 2022-09-09 北京云迹科技股份有限公司 Robot scheduling method and device
CN113139081A (en) * 2021-04-27 2021-07-20 中山亿联智能科技有限公司 Method for reporting and reading user online playing information with high efficiency and low delay
CN113139081B (en) * 2021-04-27 2023-10-27 中山亿联智能科技有限公司 Method for reporting online playing information of reading user with high efficiency and low delay

Also Published As

Publication number Publication date
TW202102952A (en) 2021-01-16
WO2021000758A1 (en) 2021-01-07

Similar Documents

Publication Publication Date Title
CN110427253A (en) Robot resource tasks period management-control method and device
US9501319B2 (en) Method and apparatus for scheduling blocking tasks
Jensen Asynchronous decentralized realtime computer systems
US10365626B2 (en) Extending the functionality of a programmable logic controller (PLC) with apps without changing the PLC programming
US9477521B2 (en) Method and system for scheduling repetitive tasks in O(1)
US8713571B2 (en) Asynchronous task execution
CN109614170B (en) Controlling tasks performed by a computing system
US8549524B2 (en) Task scheduler for cooperative tasks and threads for multiprocessors and multicore systems
CN108694199A (en) Data synchronization unit, method, storage medium and electronic equipment
CN108319495B (en) Task processing method and device
Ueter et al. Reservation-based federated scheduling for parallel real-time tasks
US9778962B2 (en) Method for minimizing lock contention among threads when tasks are distributed in multithreaded system and apparatus using the same
US20190347129A1 (en) User space pre-emptive real-time scheduler
CN112748993A (en) Task execution method and device, storage medium and electronic equipment
Beckert et al. Zero-time communication for automotive multi-core systems under SPP scheduling
CN110134506A (en) Based on the dynamic real-time Dynamic Critical Path multi-core dispatching method of processor cores
EP3401784A1 (en) Multicore processing system
CN106598726A (en) Multi-task management system and distributed deployment method thereof
CN112015528A (en) Industrial control system software control flow construction and analysis method
CN114035926A (en) Application thread scheduling method and device, storage medium and electronic equipment
Pinho et al. Real-time fine-grained parallelism in ada
KR20180082560A (en) Method and apparatus for time-based scheduling of tasks
CN110046809B (en) Job scheduling method and device
Jensen A timeliness model for asychronous decentralized computer systems
JP2019194847A (en) Method and device for error processing in communication between distributed software components

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

Application publication date: 20191108